Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-501

could not deploy an ejb-jar archive with M3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M3
    • 1.0-M4
    • deployment
    • None
    • OS: Windows XP pro SP2
      JDK: java version "1.4.2_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
      Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

    Description

      Greetings:

      I was unsuccessful in attempting to deploy an archive from the M3 build of Geronimo. I was able to start the server from the README.txt instructions "C:\geronimo> java -jar bin\server.jar org/apache/geronimo/DebugConsole".

      I then tried to deploy my ejb-jar with the following instructions from the README.txt example (It is also listed in the WIKI) "$ java jar bin/deployer.jar --install --module ../dev/GOCSC/ejb/busObjs/busObjs.jar". This did not work because of the syntax "-install --module" which is not recognized from by deployer.jar.

      I then tried to deploy with command below and got the following output

      wbrown@99T0449 ~/geronimo-1.0-M3
      $ java -jar bin/deployer.jar deploy ../dev/GOCSC/ejb/busObjs/busObjs.jar
      Username: system
      Password: manager
      Deployment failed
      Server reports: No deployer found:, moduleFilec:\geronimo-1.0-M3\..\dev\GOCSC\
      ejb\busObjs\busObjs.jar
      org.apache.geronimo.deployment.DeploymentException: No deployer found:, moduleFi
      lec:\geronimo-1.0-M3\..\dev\GOCSC\ejb\busObjs\busObjs.jar
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:60)
      at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
      nvoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
      at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvo
      ker.java:38)
      at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOp
      eration.java:142)
      at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:844)
      at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerM
      BeanServerInterceptor.java:218)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(Securit
      yMBeanServerInterceptor.java:86)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invo
      ke(ContextClassLoaderMBeanServerInterceptor.java:205)
      at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
      at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:288)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at mx4j.server.ReflectionMBeanInvoker.invokeImpl(ReflectionMBeanInvoker.
      java:152)
      at mx4j.server.ReflectionMBeanInvoker.doInvoke(ReflectionMBeanInvoker.ja
      va:119)
      at mx4j.server.ReflectionMBeanInvoker.invoke(ReflectionMBeanInvoker.java
      :54)
      at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerM
      BeanServerInterceptor.java:235)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(Securit
      yMBeanServerInterceptor.java:86)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:121)
      at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invo
      ke(ContextClassLoaderMBeanServerInterceptor.java:205)
      at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
      at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java
      :222)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:36)

      at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjec
      tInvoker.java:98)
      at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionS
      ubjectInvoker.java:32)
      at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjec
      tInvoker.java:89)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
      at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:151)
      at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnecti
      onSubjectInvoker.java:85)
      at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubje
      ctInvoker.java:79)
      at $Proxy0.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp
      l.java:224)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
      ce)
      at java.lang.Thread.run(Unknown Source)

      let me know if there is any more information I can provide to help with this. Also, is the --install --module command working for the deployer?

      Thanks.
      Bill.

      Attachments

        1. openejb-jar.xsd
          6 kB
          Bill Brown

        Activity

          People

            gianny Gianny Damour
            wbrown338 Bill Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: