Running 3.0.1RC1 in Eclipse Working, but...
danny.robinson Jul 9, 2002 4:45 PMI'm running running JBoss301rc1 within Eclipse2, and it's working well. Rather than use Easie I've just configured a start and stop under the run/debug dropdowns, using 'bin' as the start directory etc.
Everything's working well except for deploying my entity beans under CMP2.0 (reg. EJB's and MDB's all work fine). Outside of Eclipse they deploy perfectly.
The only jar I have in the classpath is run.jar, plus my project. I'm using a directory structure for my jar that contains only the META-INF directory.
The class it can't find is within jboss.jar so I guess it must have accessed other classes within it, as it's listed as deployed earlier in the trace.
Inside Eclipse I get the following.
...
20:52:15,579 INFO main [EjbModule] Creating
20:52:15,589 INFO main [EjbModule] Deploying FlowEJB
20:52:15,859 INFO main [EjbModule] Deploying ActivityEJB
20:52:15,979 INFO main [EjbModule] Created
20:52:15,979 INFO main [EjbModule] Starting
20:52:17,171 ERROR main [MainDeployer] could not start deployment: file:/D:/java/appservers/jboss-3.0.1RC1/server/workflow/deploy/workflowxmp.jar/
java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClass(ClassLoader.java:423)
at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:68)
at org.jboss.proxy.compiler.ProxyCompiler.(ProxyCompiler.java:76)
at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.(JDBCCreateBeanClassInstanceCommand.java:52)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
at org.jboss.ejb.Container.invoke(Container.java:793)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
at $Proxy6.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:384)
at java.lang.reflect.Method.invoke(Native Method)
...
Help please...
Danny