users@glassfish.java.net

deployment problem on cluster PWC1409

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Oct 2008 12:29:57 PDT

I am deploying a application onto a cluster with two members. I have two servers- one with the DAS,node agent, and one member/instance, and the other with a node agent and the other member/instance.

The member that is on the same server as the DAS throws these errors during start up/deployment of the app. The other member starts without error. Any idea on why this might be?

[#|2008-10-03T13:10:45.580-0600|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;38087;|WEB0712: Starting Su
n-Java-System/Application-Server HTTP/1.1 on 38087|#]

[#|2008-10-03T13:10:46.205-0600|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;38188;|WEB0712: Starting Su
n-Java-System/Application-Server HTTP/1.1 on 38188|#]

[#|2008-10-03T13:10:50.277-0600|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=14;_ThreadName=pool-1-thread-3;
|JAXRPCSERVLET12: JAX-RPC context listener initializing|#]

[#|2008-10-03T13:10:52.837-0600|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=14;_ThreadName=pool-1-thread-3;
|JAXRPCSERVLET14: JAX-RPC servlet initializing|#]

[#|2008-10-03T13:10:54.201-0600|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=pool-1-thread-3;|PWC1412: WebMod
ule[/enrollment] ServletContext.log():PWC1409: Marking servlet dwr-invoker as unavailable|#]

[#|2008-10-03T13:10:54.206-0600|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=pool-1-thread-3;_RequestID=4c4
3f675-c1db-4f91-929d-2eda6a1a3277;|WebModule[/enrollment]PWC1396: Servlet /enrollment threw load() exception
java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4808)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
        at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [L
java.lang.Class;@a91155 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused
 by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@a91155 for org.apache.commons.logging.impl.L
og4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at uk.ltd.getahead.dwr.util.CommonsLoggingOutput.<init>(CommonsLoggingOutput.java:35)
        at uk.ltd.getahead.dwr.util.Logger.<init>(Logger.java:46)
        at uk.ltd.getahead.dwr.util.Logger.getLogger(Logger.java:33)
        at uk.ltd.getahead.dwr.AbstractDWRServlet.<clinit>(AbstractDWRServlet.java:246)
        ... 27 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@a91155 for org.apache.commons.logging
.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 34 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.getConstructor(Class.java:1629)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
        ... 35 more
[Message sent by forum member 'jfaldmo' (jfaldmo)]

http://forums.java.net/jive/thread.jspa?messageID=303251