Re: problems when deploy ejb in eclipse
Hi beyondjusitn, I have a few things you might want to try: First, ensure that you have all the prerequisites install for the Geronimo Eclipse Plugin 2.0.0 to function correctly. They are listed here: http://geronimo.apache.org/development-tools.html If you already have the Apache Geronimo v2.0 server installed and working fine on your local machine there is no need to again install the server in Eclipse. When you define a new server in Eclipse, just select the Apache Geronimo v2.0 and browse to the directory where you already have Geronimo installed. You should then see Geronimo in the Servers view of the Java EE perspective. Then ensure that it starts okay within Eclipse. Then try to deploy your EJB again using the Add and Remove projects dialog in Eclipse. If that still doesn't work export your EJB out of Eclipse as an EAR file and see if that same EAR file will deploy to Geronimo without errors and without using the Eclipse plugin (just to ensure that you don't have some problem with the EJB). If your EJB deploys fine to Geronimo outside of Eclipse it will should deploy fine within Eclipse. If not, please attach the Eclipse and Geronimo log files (and if possible your EAR file) so that we can diagnose your problem. Thanks much beyondjusitn wrote: Thanks a lot. I've send this question to the mail-list. Additionally, I'm using: Eclipse-3.3.0 Web Standard Tools-Version: 2.0.1 geronimo-jetty6-jee5-2.0.1 linux-Red had Enterprise 7.0(server installed on it) xDoclet-1.2.3 Jacek Laskowski wrote: On 11/6/07, beyondjusitn [EMAIL PROTECTED] wrote: I setup a app server on a machine, say A. And I test it, it works fine. In eclipse I install the server environment, apache Geronimo v2.0. The steps are as follows. Could you tell us about the versions you're working with? Without Eclipse, the plugin and Geronimo versions it's nearly impossible to work it out. BTW, I think you'd be better off sending the question to the [EMAIL PROTECTED] mailing list as that's the place where Geronimo users share their experiences and help each other (they see things a mere committer sometimes couldn't even notice ;-)). Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl -- Thanks, Tim McConnell
Re: problems when deploy ejb in eclipse
On 11/6/07, beyondjusitn [EMAIL PROTECTED] wrote: I setup a app server on a machine, say A. And I test it, it works fine. In eclipse I install the server environment, apache Geronimo v2.0. The steps are as follows. Could you tell us about the versions you're working with? Without Eclipse, the plugin and Geronimo versions it's nearly impossible to work it out. BTW, I think you'd be better off sending the question to the [EMAIL PROTECTED] mailing list as that's the place where Geronimo users share their experiences and help each other (they see things a mere committer sometimes couldn't even notice ;-)). Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
Re: problems when deploy ejb in eclipse
Thanks a lot. I've send this question to the mail-list. Additionally, I'm using: Eclipse-3.3.0 Web Standard Tools-Version: 2.0.1 geronimo-jetty6-jee5-2.0.1 linux-Red had Enterprise 7.0(server installed on it) xDoclet-1.2.3 Jacek Laskowski wrote: On 11/6/07, beyondjusitn [EMAIL PROTECTED] wrote: I setup a app server on a machine, say A. And I test it, it works fine. In eclipse I install the server environment, apache Geronimo v2.0. The steps are as follows. Could you tell us about the versions you're working with? Without Eclipse, the plugin and Geronimo versions it's nearly impossible to work it out. BTW, I think you'd be better off sending the question to the [EMAIL PROTECTED] mailing list as that's the place where Geronimo users share their experiences and help each other (they see things a mere committer sometimes couldn't even notice ;-)). Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl -- View this message in context: http://www.nabble.com/problems-when-deploy-ejb-in-eclipse-tf4756403s134.html#a13605393 Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
problems when deploy ejb in eclipse
) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.geronimo.kernel.proxy.DeadProxyException: Proxy is no longer valid to gbean: org.apache.geronimo.configs/webconsole-jetty6/2.0.1/car?J2EEApplication=org.apache.geronimo.configs/webconsole-jetty6/2.0.1/car,j2eeType=WebModule,name=standard.war at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:87) at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$1187ad47.newInstance(generated) at org.apache.geronimo.jetty6.InternalJettyServletHolder.newInstance(InternalJettyServletHolder.java:81) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:253) at org.apache.geronimo.jetty6.InternalJettyServletHolder.internalDoStart(InternalJettyServletHolder.java:119) at org.apache.geronimo.jetty6.InternalJettyServletHolder.access$000(InternalJettyServletHolder.java:38) at org.apache.geronimo.jetty6.InternalJettyServletHolder$StartCommand.lifecycleMethod(InternalJettyServletHolder.java:130) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:54) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleCommand(ThreadClassloaderHandler.java:57) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:52) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCommand(InstanceContextHandler.java:81) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:52) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.lifecycleCommand(UserTransactionHandler.java:63) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:52) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCommand(ComponentContextHandler.java:57) at org.apache.geronimo.jetty6.InternalJettyServletHolder.doStart(InternalJettyServletHolder.java:106) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612) at org.mortbay.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:980) ... 199 more Can someone tell me what's the matter? I really appreciate your help. -- View this message in context: http://www.nabble.com/problems-when-deploy-ejb-in-eclipse-tf4756403s134.html#a13601695 Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.