Seems like you get some MethodNotFoundError on those apache bcel
classes? Could this be some kind of classpath related issue?

I'm running the sample on MySQL4.0.12 and JBoss-3.2.1.. Works fine. Maybe
you could try a different version of JBoss, instead of running on a RC?

.eivind

On Wed, 1 Oct 2003, Trieu, Danny wrote:

> Hi all,
> 
> I am new to middlegen.  I was successfully builded the sample build on
> MiddleGen2.0b1 release, with MySQL4.0.15 and was trying to deploy to
> Jboss-3.2.2RC4.  I got the following exception when I was trying start
> Jboss.  My method of deployment was copying the airline.ear file into
> %JBOSS_HOME%\server\default\deploy directory and then start Jboss.
> 
> Please help if you know what I did wrong ....
> 
> Thanks,
> 
> --danny
> 
> 15:29:25,406 WARN  [ServiceController] Problem starting service
> jboss.j2ee:jndiName=airline.PersonLocalHome,service=EJB
> java.lang.NoSuchMethodError:
> org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/g
> eneric/Type;S)Lorg/apache/bcel/generic/Instruction;
>         at
> org.jboss.proxy.compiler.ProxyImplementationFactory.createProxyMethod(ProxyI
> mplementationFactory.java:319)
>         at
> org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:167)
>         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:66)
>         at
> org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
>         at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:603)
>         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:78)
>         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDB
> CCreateBeanClassInstanceCommand.java:62)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInsta
> nceCommand(JDBCCommandFactory.java:106)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreM
> anager.java:484)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:
> 411)
>         at
> org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java
> :152)
>         at
> org.jboss.ejb.EntityContainer.startService(EntityContainer.java:343)
>         at
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:976)
>         at $Proxy12.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:394)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>         at $Proxy31.start(Unknown Source)
>         at org.jboss.ejb.EjbModule.startService(EjbModule.java:330)
>         at
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:976)
>         at $Proxy12.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:394)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>         at $Proxy10.start(Unknown Source)
>         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:543)
>         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
>         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:816)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
>         at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>         at $Proxy6.deploy(Unknown Source)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
> r.java:302)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
> java:476)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
> AbstractDeploymentScanner.java:201)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abstract
> DeploymentScanner.java:274)
>         at
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:976)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:394)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>         at $Proxy4.start(Unknown Source)
>         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
>         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
>         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:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
> cher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>         at $Proxy5.deploy(Unknown Source)
>         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
>         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
>         at org.jboss.Main.boot(Main.java:150)
>         at org.jboss.Main$1.run(Main.java:388)
>         at java.lang.Thread.run(Thread.java:536)
> 15:29:25,656 INFO  [StatelessSessionContainer] Starting
> 15:29:25,781 INFO  [StatelessSessionInstancePool] Starting
> 15:29:35,703 INFO  [StatelessSessionInstancePool] Started
> 15:29:35,703 INFO  [StatelessSessionContainer] Started
> 15:29:35,703 INFO  [EjbModule] Started
> 15:29:35,703 INFO  [EJBDeployer] Deployed:
> file:/D:/jboss/jboss-3.2.2RC4/server/default/tmp/deploy/tmp60090airline.ear-
> contents/airline-ejb.jar
> <file:/D:/jboss/jboss-3.2.2RC4/server/default/tmp/deploy/tmp60090airline.ear
> -contents/airline-ejb.jar> 
> 15:29:35,750 INFO  [EmbeddedTomcatService] deploy, ctxPath=/airline,
> warUrl=file:/D:/jboss/jboss-3.2.2RC4/server/default/tmp/deploy/tmp60090airli
> ne.ear-contents
> /airline-web.war/
> 15:29:35,796 INFO  [EmbeddedTomcatService] ClusteredHTTPSessionService not
> found
> 15:29:35,796 ERROR [EmbeddedTomcatService] Failed to setup clustering,
> clustering disabled
> 15:29:35,984 INFO  [Engine] ContextConfig[/airline]: Added certificates ->
> request attribute Valve
> 15:29:36,015 WARN  [EmbeddedTomcatService] Unable to invoke setDelegate on
> class loader:[EMAIL PROTECTED]
> 15:29:36,015 INFO  [Engine] StandardManager[/airline]: Seeding random number
> generator class java.security.SecureRandom
> 15:29:36,015 INFO  [Engine] StandardManager[/airline]: Seeding of random
> number generator has been completed
> 15:29:36,015 INFO  [Engine] StandardWrapper[/airline:default]: Loading
> container servlet default
> 15:29:36,171 INFO  [Engine] StandardWrapper[/airline:invoker]: Loading
> container servlet invoker
> 15:29:36,281 INFO  [EARDeployer] Started J2EE application:
> file:/D:/jboss/jboss-3.2.2RC4/server/default/deploy/airline.ear
> <file:/D:/jboss/jboss-3.2.2RC4/server/default/deploy/airline.ear> 
> 15:29:36,281 INFO  [MainDeployer] Deployed package:
> file:/D:/jboss/jboss-3.2.2RC4/server/default/deploy/airline.ear
> <file:/D:/jboss/jboss-3.2.2RC4/server/default/deploy/airline.ear> 
> 15:29:36,281 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean
> operation 'checkIncompleteDeployments()'
> Cause: Incomplete Deployment listing:
> Packages waiting for a deployer:
>   <none>
> Incompletely deployed packages:
>   <none>
> MBeans waiting for classes:
>   <none>
> MBeans waiting for other MBeans:
> [ObjectName: jboss.j2ee:jndiName=airline.PersonLocalHome,service=EJB
>  state: FAILED
>  I Depend On:
>  Depends On Me: java.lang.NoSuchMethodError:
> org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/g
> eneric/Type;S)Lorg/apache/bcel/generic/
> Instruction;]
> 15:29:36,281 INFO  [URLDeploymentScanner] Started
> 15:29:36,343 INFO  [MainDeployer] Deployed package:
> file:/D:/jboss/jboss-3.2.2RC4/server/default/conf/jboss-service.xml
> <file:/D:/jboss/jboss-3.2.2RC4/server/default/conf/jboss-service.xml> 
> 15:29:36,343 INFO  [Server] JBoss (MX MicroKernel) [3.2.2RC4 (build:
> CVSTag=JBoss_3_2_2_RC4 date=200309172341)] Started in 26s:875ms
> 
> 
> This message and any attachments are for the intended recipient(s) only and may 
> contain privileged, confidential and/or proprietary information about Downey Savings 
> or its customers, which Downey Savings does not intend to disclose to the public. If 
> you received this message by mistake, please notify the sender by reply e-mail and 
> delete the message and attachments.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to