[ 
https://issues.apache.org/jira/browse/GERONIMO-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833019#action_12833019
 ] 

Ashish Jain commented on GERONIMO-4844:
---------------------------------------

Hi David,

I see some issues with the modified patch where we are using 
kernel.getGbean(ConfigurationManager.class). I see the following error 

2010-02-12 20:02:51,768 INFO  [BasicClusterConfigurationStoreClient] Ignoring 
error while uninstalling [default/ClusterTestWARFile5/1.0/car]from 
[org.apache.geronimo.farm.config.basicnodei...@65b265b2]
java.io.IOException: See nested
        at 
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.uninstall(BasicClusterConfigurationStoreClient.java:141)
        at 
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.uninstall(BasicClusterConfigurationStoreClient.java:100)
        at 
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.uninstall(BasicClusterConfigurationStoreClient.java:94)
        at 
org.apache.geronimo.farm.deployment.MasterConfigurationStore.uninstall(MasterConfigurationStore.java:175)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.uninstallConfiguration(SimpleConfigurationManager.java:1283)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
        at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at 
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at 
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1423)
        at 
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:96)
        at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1260)
        at 
java.security.AccessController.doPrivileged(AccessController.java:275)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1363)
        at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:797)
        at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:309)
        at sun.rmi.transport.Transport$1.run(Transport.java:168)
        at 
java.security.AccessController.doPrivileged(AccessController.java:275)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:164)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:506)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:838)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:912)
        at java.lang.Thread.run(Thread.java:801)
Caused by: 
org.apache.geronimo.kernel.InternalKernelException: 
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
        java.io.WriteAbortedException: writing aborted; 
java.io.NotSerializableException: 
org.apache.geronimo.kernel.config.EditableKernelConfigurationManager
        at 
org.apache.geronimo.system.jmx.KernelDelegate.getGBean(KernelDelegate.java:111)
        at 
org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient.uninstall(BasicClusterConfigurationStoreClient.java:135)
        ... 42 more
Caused by: 
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
        java.io.WriteAbortedException: writing aborted; 
java.io.NotSerializableException: 
org.apache.geronimo.kernel.config.EditableKernelConfigurationManager
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:172)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(RMIConnectionImpl_Stub.java:400)
        at 
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:984)
        at 
org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:890)
        at 
org.apache.geronimo.system.jmx.KernelDelegate.getGBean(KernelDelegate.java:105)
        ... 43 more
Caused by: 
java.io.WriteAbortedException: writing aborted; 
java.io.NotSerializableException: 
org.apache.geronimo.kernel.config.EditableKernelConfigurationManager
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:362)
        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:305)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154)
        ... 48 more
Caused by: 
java.io.NotSerializableException: 
org.apache.geronimo.kernel.config.EditableKernelConfigurationManager
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1108)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:324)
        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:273)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:319)
        ... 7 more



> There is an error after undeploy the application and  deploy the application 
> again when configure WADI clustering,
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4844
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4844
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4, 2.2
>         Environment: windows:sp2
> jdk1.6
>            Reporter: liangkun
>            Assignee: Shawn Jiang
>             Fix For: 2.1.5, 2.2.1, 3.0
>
>         Attachments: GERONIMO-4844.patch
>
>
> I deploy the application cviewer.war after undeploy it when configure the 
> WADI clustering ,the there is an error:
> org.apache.geronimo.common.DeploymentException: Unable to deploy 
> cviewer-2.1.1.2.war: Module com.ibm.wasce.samples/cviewer/2.1.1.2/car already 
> exists in the server.  Try to undeploy it first or use the redeploy command.
>       at 
> org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45)
>       at 
> org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:139)
>       at 
> org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
>       at 
> org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>       at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>       at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>       at 
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
> However,actually,there are no any module in the server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to