Re: [enhydra] enhydra 6.4

Slobodan Vujasinovic <[email protected]> Tue, 26 Jul 2005 16:17:09 +0200
Newsgroups gmane.comp.java.enhydra.general
Organization PROZONE
Message-ID <[email protected]>
Hi,

problem is in fact that EAF is (for some reason) not able load your 
application configuration. Application looger is first initialized and 
that is the reason for 'LogFile not found' message.

Could you, please, send me your 'web.xml' content?

Complete operation is rather simple (don't know what could go wrong)!?

Also, regarding "Server/AppClass" parameter reconfiguration, I've just 
tried to change application class to unexisting implementation and got 
my self 'java.lang.ClassNotFoundException'.

Do you have some other context descriptor files defined (other than 
'web.xml')?
Options are 'context.xml' file placed in META-INF directory of you 
application WAR file (or App directory) and/or <App_Name>.xml file 
placed in 
'<enhydra_root>/multiserver/Catalina[engine_name]/localhost[host_name]' 
directory.

Regards,
  Slobodan Vujasinovic
Enhydra Development Team



[email protected] wrote:

>I am currently porting enhydra to 6.4. I am about to give up. The error msg I got was always LogFile not found. Then I changed the StandardLogger.java to hard code in the LogFile and LogToFile and LogToStderr. Then the next error I got was - Server.AppClass was not define. 
>
>Now, I am wonder. I set up my application to read the parameter from web.xml file. I think it is not reading from the file. I read the document to make sure I have all the syntax correct. It should read from web.xml to get all the parameters. I looked at the HttpPresentationServlet.java code, it read in the init parameter for ConfFile and its conf reader class.
>
>My concern is - it is not reading from the web.xml file. The reason was - I changed the discRack web.xml file. In there, I changed the Server/AppClass from discRack/DiscRack to notExist/notExist. Then I brought up Enhydra server, the discRack application still register successfully? This is wrong. 
>
>Can someone please help. I read the document that talk about if one use log4j as its logger, then I don't need to define LogFile, LogToFile, LogToStderr. What's wrong here?
>
>Please help....
>
>thanks
>
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>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