Re: [enhydra] enhydra 6.4

Slobodan Vujasinovic <[email protected]> Wed, 27 Jul 2005 17:31:15 +0200
Newsgroups gmane.comp.java.enhydra.general
Organization PROZONE
Message-ID <[email protected]>
Hi,

the write way would be to replace '.' with '/' (just to follow proper 
naming convention). I think that you can even leave dots ('.') - Config 
should be initialized properly but I don't recommend this.

Any way, I recommend you to use '/' as separator!

<env-entry>
   <env-entry-name>Setnet/Url/Cereplex</env-entry-name>
   <env-entry-value>http://www.cereplex.com</env-entry-value>
   <env-entry-type>java.lang.String</env-entry-type>
</env-entry>

One more thing, you don't have to migrate your application parameters 
(from conf to web.xml) manually. We have developed 'conf2xml' conversion 
tool for that purposes.
To start this conversion tool just open command prompt and issue 
'conf2xml' command (setup process puts 
'<enhydra_root>/multiserver/enhydra/bin' directory in your PATH 
environment variable).
Help dialog should be displayed automatically.

Hope this helps!

Regards,
  Slobodan Vujasinovic
Enhydra Development Team



Phoebe Whitefield wrote:

>Hi,
>
>I am not out of the wood yet. I have a not so intelligent
>question for you -
>
>In the old app.conf, if we define a parameter such as 
>        Setnet.Url.Cereplex="http://www.cereplex.com"
>
>Should I define this parameter in the web.xml as 
>        <env-entry>
>    	
>   <env-entry-name>Setnet/Url/Cereplex</env-entry-name>
>    	
>   <env-entry-value>http://www.cereplex.com</env-entry-value>
>    	    <env-entry-type>java.lang.String</env-entry-type>
>  	</env-entry>
>
>or should I define this as 
>        <env-entry>
>    	
>   <env-entry-name>Setnet.Url.Cereplex</env-entry-name>
>    	
>   <env-entry-value>http://www.cereplex.com</env-entry-value>
>    	    <env-entry-type>java.lang.String</env-entry-type>
>  	</env-entry>
>
>My ultimate question is - should I replace all the "." with
>"/" in the web.xml? 
>
>I am porting the old app.conf to use the web.xml.
>
>thanks 
>
>Phoebe
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [email protected] mailing list.
>To unsubscribe: mailto:[email protected]
>For general help: mailto:[email protected]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>
message-footer.txt (text/plain, 275 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws