users@glassfish.java.net

Throwing exception when deploying ear with availability true

From: <glassfish_at_javadesktop.org>
Date: Fri, 10 Apr 2009 02:19:09 PDT

Hi,

Can anyone please help me to resolve this issue.


I Installed glassfish v2.1 (Version = Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)) in Suse Linux and created a domain with Cluster profile with 2 Instances.

I deployed the ear with availability false, that time its deploying successfully and we able to access our application.

But when I tried to deploy the ear with availability true.. Its throwing the following exception in Instance server.log.


[#|2009-04-09T18:35:08.979+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=RMI TCP Connection(105)-172.16.69.61;_RequestID=7e1d66ea-6c7a-478f-bbca-9cd2f4527ca7;|WEB0123: WebModule [test:test-client.war] failed to deploy and has been disabled
java.lang.NullPointerException
        at com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationSender.putPipeWrapper(JxtaReplicationSender.java:885)
        at com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationSender.sendReplicationStateHC(JxtaReplicationSender.java:483)
        at com.sun.enterprise.ee.web.sessmgmt.ReplicationHealthChecker.doTransmit(ReplicationHealthChecker.java:454)
        at com.sun.enterprise.ee.web.sessmgmt.ReplicationHealthChecker.doPipeTest(ReplicationHealthChecker.java:432)
        at com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper.areCurrentPipesOk(JxtaBiDiPipeWrapper.java:1512)
        at com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper.testStartupAndReshapeIfNecessary(JxtaBiDiPipeWrapper.java:256)
        at com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper.start(JxtaBiDiPipeWrapper.java:223)
        at com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver.doPipeInitialization(JxtaReplicationReceiver.java:338)
        at com.sun.enterprise.ee.web.initialization.ReplicatedWebmethodSessionStrategyBuilder.initializePersistenceStrategy(ReplicatedWebmethodSessionStrategyBuilder.java:169)
        at com.sun.enterprise.web.WebModule.configureSessionManager(WebModule.java:1087)
        at com.sun.enterprise.web.WebModule.configureSessionSettings(WebModule.java:1041)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1562)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
        at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1159)
        at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
        at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
        at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
        at com.sun.enterprise.ee.admin.mbeans.ServerRuntimeMBean.forwardEvent(ServerRuntimeMBean.java:95)
        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:585)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
        at com.sun.enterprise.admin.runtime.BaseRuntimeMBean.invoke(BaseRuntimeMBean.java:468)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
                at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
        at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1343)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
        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:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
|#]


Thanks in Advance
Ram
[Message sent by forum member 'legend_ram' (legend_ram)]

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