geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newbie-gero <chongm...@e7tech.com>
Subject How to deploy in Geronimo?
Date Thu, 20 Mar 2008 15:23:01 GMT

Hi lists,
I have a ejb program and it working under jboss. Currently, i'm trying out
the geronimo an i did not manage to deploy and run the ejb codes
successfully.

My ejb file was Loan.ear. I copy the LoanApp.ear into
/home/Ken/geronimoV2.1/deploy ( the deploy folder inside gernimo). 
Runni ng of the file in localhost is unsuccessful.

Next step i try this command:
# java -jar deployer.jar --user system --password manager deploy
/home/chongming/geronimo/deploy/LoanApp.ear

It gives this error.:

org.apache.geronimo.kernel.config.LifecycleException: start of
default/LoanApp/1206026374359/car failed
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:551)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
        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
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.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
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: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
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 java.security.AccessController.doPrivileged(Native Method)
        at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
        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)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
        ... 40 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration default/LoanApp/1206026374359/car failed to start due to the
following reasons:
  The service
EJBModule=ejb-jar-ic.jar,J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=StatelessSessionBean,name=LoanBean
did not start because
default/LoanApp/1206026374359/car?J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=EJBModule,name=ejb-jar-ic.jar
did not start.
  The service
J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=EJBModule,name=ejb-jar-ic.jar
did not start because Application cannot be deployed as it contains
deployment-ids which are in use: app:
/home/chongming/geronimo/var/temp/geronimo-deploymentUtil50627.jar
    ejb-jar-ic.jar/LoanBean

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
        ... 42 more
    Error: Operation failed: start of default/LoanApp/1206026374359/car
    failed

        Unknown start exception

        Configuration default/LoanApp/1206026374359/car failed to start due
    to the following reasons:

      The service
   
EJBModule=ejb-jar-ic.jar,J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=StatelessSessionBean,name=LoanBean
    did not start because
   
default/LoanApp/1206026374359/car?J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=EJBModule,name=ejb-jar-ic.jar
    did not start.

      The service
   
J2EEApplication=default/LoanApp/1206026374359/car,j2eeType=EJBModule,name=ejb-jar-ic.jar
    did not start because Application cannot be deployed as it contains
    deployment-ids which are in use: app:
    /home/chongming/geronimo/var/temp/geronimo-deploymentUtil50627.jar

        ejb-jar-ic.jar/LoanBean
How i i deploy the ear file succesfully? 
Thanks in advance
-- 
View this message in context: http://www.nabble.com/How-to-deploy-in-Geronimo--tp16181101s134p16181101.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message