logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Muthukumarasamy, Shanmugam" <shanmugam.muthukumaras...@21st.com>
Subject RE: log4j and WSAD 5.0 problems
Date Fri, 02 Jun 2006 21:57:55 GMT
Yes I do have this folder structure in my C: drive. Also I have enough permission on these.

Thanks,
Shan 

-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]
Sent: Friday, June 02, 2006 2:26 PM
To: Log4J Users List
Subject: Re: log4j and WSAD 5.0 problems



Does the directory "/usr/wasapps/css/logs/" exist?  Log4j won't attempt to
create it if it doesn't already exist.  You must make sure that the full path
exists.  If it does, Log4j will write the file there just fine (as long as the
user that started the JVM has proper permissions).  Otherwise, this error is to
be expected.

Jake

Quoting "Muthukumarasamy, Shanmugam" <shanmugam.muthukumarasamy@21st.com>:

>
> > 	Hi,
> >
> > 	I am getting the following issue, When I try to start my WAS 5.0 Local
> server in WSAD 5.0.1 Integration Edition. Please let me know if you have any
> guess on it.
> >
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R log4j:ERROR
> setFile(null,true) call failed.
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R
> java.io.FileNotFoundException: /usr/wasapps/css/logs/fnol-log4j-daily.log
> (The system cannot find the path specified)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> java.io.FileOutputStream.openAppend(Native Method)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> java.io.FileOutputStream.<init>(FileOutputStream.java:114)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
>
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
>
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
> > 	[6/2/06 10:42:33:542 PDT] 6540e3f1 SystemErr     R 	at
>
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
> org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:340)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
> com.i21.claims.action.Log4jInitSrvlt.init(Log4jInitSrvlt.java:96)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:175)
> > 	[6/2/06 10:42:33:558 PDT] 6540e3f1 SystemErr     R 	at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:761)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:257)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:453)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1233)>
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950)
> > 	[6/2/06 10:42:33:589 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:743)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:337)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:232)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
> > 	[6/2/06 10:42:33:605 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
> > 	[6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr     R 	at
> java.lang.reflect.Method.invoke(Native Method)
> > 	[6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr     R 	at
> com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
> > 	[6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr     R 	at
>
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
> > 	[6/2/06 10:42:33:620 PDT] 6540e3f1 SystemErr     R log4j:ERROR Either File
> or DatePattern options are not set for appender [daily].
> >
> >
> > 	Thanks,
> > 	Shan Muthukumarasamy
> > 	Information Services
> > 	Programmer/Analyst Sr.
> > 	Tel : (818) 715-6581
> > 	Fax: (818) 715-6123
> > 	shanmugam.muthukumarasamy@21st.com
> >
> >
> >
>
> ***********************************************************************
> This e-mail and any files transmitted with it are intended
> solely for the use of the addressee.  This e-mail may
> contain confidential and/or legally privileged information.
> Any review, transmission, disclosure, copying, or any action
> taken or not taken, by other than the intended recipient, in
> reliance on the information, is prohibited.  If you received
> this e-mail in error, notify the sender and delete this e-mail
> (and any accompanying material) from your computer and
> network. In addition, please be advised that 21st Century
> Insurance Group reserves the right to monitor, access and
> review all messages, data and images transmitted through
> our electronic mail system. By using our e-mail system, you
> consent to this monitoring.
> ***********************************************************************
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>




---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org



***********************************************************************
This e-mail and any files transmitted with it are intended 
solely for the use of the addressee.  This e-mail may 
contain confidential and/or legally privileged information.  
Any review, transmission, disclosure, copying, or any action 
taken or not taken, by other than the intended recipient, in 
reliance on the information, is prohibited.  If you received 
this e-mail in error, notify the sender and delete this e-mail 
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century 
Insurance Group reserves the right to monitor, access and 
review all messages, data and images transmitted through 
our electronic mail system. By using our e-mail system, you 
consent to this monitoring. 
***********************************************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message