ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | July 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] enhydra 6.4


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 enhydra@xxxxxxxxxxxxx mailing 
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.