geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hernan Cunico <hcun...@gmail.com>
Subject re-deployment fails
Date Sat, 22 Oct 2005 03:33:23 GMT
Hi all,
when I deploy an application from a command line, then I uninstall it 
from the console and then try to re-deploy, again from the console, I 
get an error saying the application already exists.

I double check from the Geronimo Console and there are no traces of the 
application there. Run the deployer list-modules from command line and 
is the same result, no app there.

After this, when I restart Geronimo I get a second error which I 
attached at the end of this note.

I used to have this problem before M5 when using day-to-day builds. Now 
I'm using last stable M5.

Cheers
Hernan

#####################################################################
#                       Deployment error                            #
#####################################################################
Deployer operation failed: Module CustomerEJB already exists in the 
server.  Try to undeploy it first or use the redeploy command.
org.apache.geronimo.common.DeploymentException: Module CustomerEJB 
already exists in the server.  Try to undeploy it first or use the 
redeploy command.
         at 
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:156)
         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:87)
         at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
         at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
         at 
org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
         at 
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
         at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
         at 
org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
         at 
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
         at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at 
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
         at $Proxy0.invoke(Unknown Source)
         at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
         at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
Module CustomerEJB already exists in the server.  Try to undeploy it 
first or use the redeploy command.
org.apache.geronimo.common.DeploymentException: Module CustomerEJB 
already exists in the server.  Try to undeploy it first or use the 
redeploy command.
         at 
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:156)
         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:87)
         at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
         at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
         at 
org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
         at 
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
         at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
         at 
org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
         at 
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
         at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at 
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
         at 
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
         at $Proxy0.invoke(Unknown Source)
         at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
         at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
#####################################################################






#####################################################################
#                       Restarting error                            #
#####################################################################
E:\geronimo\bin>startup
Booting Geronimo Kernel (in Java 1.4.2_09)...
Starting Geronimo Application Server
[*****>          ] 34%  14s Starting org/apache/geronimo/Console 
23:22:21,909 ERROR [GBeanInstanceState] Error while starting; GBean is 
now in the FAILED state: 
objectName="geronimo.server:J2EEApplication=org/apache/geronimo/Console,J2
EEModule=null,J2EEServer=geronimo,j2eeType=JACCManager,name=JACCManager"
java.lang.ClassNotFoundException: Property 
javax.security.jacc.PolicyConfigurationFactory.provider not set
         at 
javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:81)
         at java.security.AccessController.doPrivileged(Native Method)
         at 
javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:75)
         at 
org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:53)
         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:274)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:856)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
         at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
         at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
         at 
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:233)
         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:316)
[****************] 100%  18s Startup complete
   Listening on Ports:
     1099 0.0.0.0 RMI Naming
     1527 0.0.0.0 Derby Connector
     4201 0.0.0.0 ActiveIO Connector EJB
     4242 0.0.0.0 Remote Login Listener
     8019 0.0.0.0 Tomcat Connector AJP
     8080 0.0.0.0 Jetty Connector HTTP
     8090 0.0.0.0 Tomcat Connector HTTP
     8443 0.0.0.0 Jetty Connector HTTPS
     8453 0.0.0.0 Tomcat Connector HTTPS
    61616 0.0.0.0 ActiveMQ Message Broker Connector
   Started Application Modules:
     EAR: org/apache/geronimo/Console
     WAR: org/apache/geronimo/applications/Welcome
   Web Applications:
     http://hcunico:8080/
     http://hcunico:8080/console
     http://hcunico:8080/console-standard
   WARNING: Some GBeans were not started successfully:
     JACCManager (failed)
     jsp (starting)
     geronimo-console-framework-1.0-SNAPSHOT.war (starting)
     se-console (starting)
     default (starting)
Geronimo Application Server started
#####################################################################

Mime
View raw message