[
http://nagoya.apache.org/jira/browse/GERONIMO-501?page=comments#action_55835 ]
Bill Brown commented on GERONIMO-501:
-------------------------------------
Greetings:
here is the text of the openejb-jar.xml file:
<?xml version="1.0"?>
<openejb-jar
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
configId="com/gocsc/busObjs/Product"
parentId="org/apache/geronimo/Server">
<enterprise-beans>
<session>
<ejb-name>Product</ejb-name>
<jndi-name>client/test/simple/Product</jndi-name>
</session>
</enterprise-beans>
</openejb-jar>
here is the text of the ejb-jar.xml file:
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<description>CSC core business objects</description>
<display-name>Business Objects</display-name>
<enterprise-beans>
<session>
<description>the root of the Item
heirarchy</description>
<display-name>Product</display-name>
<ejb-name>Product</ejb-name>
<local-home>com.gocsc.busObjs.ProductHome</local-home>
<local>com.gocsc.busObjs.ProductObj</local>
<ejb-class>com.gocsc.busObjs.Product</ejb-class>
<session-type>Statefull</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<relationships></relationships>
<assembly-descriptor></assembly-descriptor>
<ejb-client-jar></ejb-client-jar>
</ejb-jar>
Let me know if you need anything else.
> could not deploy an ejb-jar archive with M3
> -------------------------------------------
>
> Key: GERONIMO-501
> URL: http://nagoya.apache.org/jira/browse/GERONIMO-501
> Project: Apache Geronimo
> Type: Bug
> Components: deployment
> Versions: 1.0-M3
> Environment: 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)
> Reporter: Bill Brown
>
> 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
> [EMAIL PROTECTED] ~/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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira