users@glassfish.java.net

Re: Throwing exception when deploying ear with availability true

From: <Satyajit.Tripathi_at_Sun.COM>
Date: Wed, 15 Apr 2009 16:23:15 +0530

Hello Ram,

I read through your both the posts completely, at
http://forums.java.net/jive/thread.jspa?messageID=341618.

I have tested this myself with GlassFish V2.1 build 60e
(glassfish-installer-v2.1-b60e-sunos.jar) on Solaris10 SPARC system. I
could deploy the clusterjsp.ear successfully on both the instances and
also on the single admin-server instance without any problem using
browser based Admin Console. Yes, with the option
'availabilityEnabled=true'. I have created the setup on a single system.

I am not sure if there is anything specific to SUSE Linux. I do not have
another system right now to test with Linux but would like you to review
the existing Issue reported at
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6995. The Issue
was report on the previous build 60d and with two machine setup.

If you can provide more details we can proceed with the further
investigation.

Thanks & regards
--Satya
 
 

On 04/10/09 17:48, glassfish_at_javadesktop.org wrote:
> Seems it is problem with v2.1 (9.1.1) (build b60e-fcs)
>
> I tried with v2ur2 by deploying sample application clusterjsp.ear with availabilityEnabled=true option.. it is deploying successfully .
>
> but in v2.1, when i deployed sample application clusterjsp.ear with availabilityEnabled=true option its throwing same exception.
>
>
> [#|2009-04-10T17:36:38.518+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(9)-172.16.69.140;_RequestID=3ee52ea9-237c-407a-a6d0-d4fd1c1e7257;|WEB0123: WebModule [clusterjsp:clusterjsp.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:
>
>
> Thanks,
> Ram
> [Message sent by forum member 'legend_ram' (legend_ram)]
>
> http://forums.java.net/jive/thread.jspa?messageID=341618
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~