0 Replies Latest reply on Apr 13, 2004 6:03 AM by 807581

    Logging gives errors

    807581
      I can't get Sun Application Server 8 to log anything except server.log. When I specify log-file from the admin client->virtual servers I only get this error in the server.log:

      [#|2004-04-08T16:05:19.343+0300|INFO|sun-appserver-pe8.0|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server-PE-8.0|#]

      [#|2004-04-08T16:05:19.359+0300|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
      java.lang.NullPointerException
           at java.io.File.<init>(File.java:180)
           at org.apache.catalina.logger.FileLogger.open(FileLogger.java:321)
           at org.apache.catalina.logger.FileLogger.log(FileLogger.java:280)
           at org.apache.catalina.logger.LoggerBase.createObjectName(LoggerBase.java:458)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1100)
           at org.apache.catalina.core.StandardHost.start(StandardHost.java:803)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1132)
           at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:510)
           at org.apache.catalina.startup.Embedded.start(Embedded.java:1030)
           at com.sun.enterprise.web.WebContainer.start(WebContainer.java:490)
           at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:506)
           at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
           at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:220)
           at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

      Please help me.