logo       

Re: [enhydra] enhydra 6.4: msg#00026

java.enhydra.general

Subject: Re: [enhydra] enhydra 6.4

On Tue, 26 Jul 2005 16:17:09 +0200
Slobodan Vujasinovic <slobodan@xxxxxxxxxxxxx> wrote:
> 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
>
>
>
> pwhitefield@xxxxxxxxxxxx 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
> 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
> >
> >
>

Hi,

I am very impress, I thought I will never get any help from
you at all. Here is my web.xml file. Please take a look why
I am not reading the parameters from web.xml. I thought it
may be related to path problem. I tried to use absolutely
path, but failed. Please help.......

Also, I changed all the application source code to use
log4j directly instead of the LogChannel. The problem for
LogFile still exist, that's the time I decided to change
the StandardLogger to use hard coded LogFile.....

Thanks a million

Phoebe

Attachment: web.xml
Description: Text Data


--
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
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise