here's a link to their archives. i don't use jboss, so i can't help much myself. hope this helps instead: http://www.mail-archive.com/[email protected]/
On 2/27/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
You might consider searching the archives of the jboss-user list or asking them directly. This doesn't appear to be an issue with Velocity specifically, but rather about how Jboss handles jars/classpaths. On 2/27/07, Harish Hirasave <[EMAIL PROTECTED]> wrote: > I tried Velocity 1.5 beta but it did not help. > > -----Original Message----- > From: Will Glass-Husain [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 22, 2007 5:26 PM > To: Velocity Users List > Subject: Re: Jboss 4.0.5 error > > You might try Velocity 1.5 beta2, or Velocity 1.5 when it is released. > (see if that helps). > > WILL > > On 2/22/07, Harish Hirasave <[EMAIL PROTECTED]> wrote: > > We have the velocity jars in the META-INF/lib directory inside the ear > > as it is required by the ejb. > > > > -----Original Message----- > > From: Will Glass-Husain [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 22, 2007 4:41 PM > > To: Velocity Users List > > Subject: Re: Jboss 4.0.5 error > > > > Velocity 1.4 and previous versions require the velocity jar to be in > > the same classloader context as the webapp. Possibly the JBoss > > upgrade changed the class loader mechanism and highlighted this issue. > > > > Can you confirm that the Velocity jar is in your WEB-INF/lib > directory? > > > > You may want to switch to Velocity 1.5 beta2 (full release due > > momentarily) as this allows you to put the velocity jar in a different > > classloader context. (e.g. at the container level). > > > > WILL > > > > On 2/22/07, Harish Hirasave <[EMAIL PROTECTED]> wrote: > > > Velocity 1.3.1. > > > > > > -----Original Message----- > > > From: Will Glass-Husain [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, February 22, 2007 4:30 PM > > > To: Velocity Users List > > > Subject: Re: Jboss 4.0.5 error > > > > > > What version of Velocity? > > > > > > WILL > > > > > > On 2/22/07, Harish Hirasave <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I am working on upgrading from Jboss-3.2.3 to Jboss-4.0.5. I get a > > > > NoClassDefFound exception when I start my server while deploying > > EJBs > > > > which have velocity classes in them. The jar has the Velocity jars > > > and > > > > this works for Jboss-3.2.3 but does not work for Jboss-4.0.5.The > > error > > > I > > > > get is below. Do we need any extra configuration settings for the > > > > velocity classes to load? > > > > > > > > Thanks > > > > Harish > > > > > > > > java.lang.NoClassDefFoundError: > org/apache/velocity/context/Context > > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > > at > > java.lang.Class.privateGetDeclaredMethods(Class.java:1655) > > > > at > java.lang.Class.privateGetPublicMethods(Class.java:1778) > > > > at java.lang.Class.getMethods(Class.java:832) > > > > at > > > > > > > > > > org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(Abstract > > > > Verifier.java:687) > > > > at > > > > > > > > > > org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier2 > > > > 0.java:848) > > > > at > > > > > > > > > > org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.jav > > > > a:78) > > > > at > > > org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181) > > > > at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > at > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > > > > a:39) > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > > Impl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher. > > > > java:155) > > > > at > > org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor. > > > > java:133) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea > > > > nOperationInterceptor.java:142) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.ja > > > > va:97) > > > > at > > > > > > > > > > org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorSe > > > > rviceMBeanSupport.java:238) > > > > at > > > > > > > > > > org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterc > > > > eptor.java:74) > > > > at > > > > > > > > > > org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInt > > > > erceptorEJB.java:44) > > > > at > > > > > > > > > > org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.cre > > > > ate(SubDeployerInterceptorSupport.java:180) > > > > at > > > > > > > > > > org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercepto > > > > r.java:91) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav > > > > a:264) > > > > at > > > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > > > at > > > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > > > at $Proxy26.create(Unknown Source) > > > > at > > > > org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) > > > > at > > > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) > > > > at > > > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > > > at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown > > > Source) > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > > Impl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher. > > > > java:155) > > > > at > > org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor. > > > > java:133) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea > > > > nOperationInterceptor.java:142) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav > > > > a:264) > > > > at > > > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > > > at > > > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > > > at $Proxy8.deploy(Unknown Source) > > > > at > > > > > > > > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc > > > > anner.java:421) > > > > at > > > > > > > > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan > > > > ner.java:634) > > > > at > > > > > > > > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS > > > > can(AbstractDeploymentScanner.java:263) > > > > at > > > > > > > > > > org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abst > > > > ractDeploymentScanner.java:336) > > > > at > > > > > > > > > > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp > > > > ort.java:289) > > > > at > > > > > > > > > > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean > > > > Support.java:245) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > at > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > > > > a:39) > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > > Impl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher. > > > > java:155) > > > > at > > org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > > > at > > > > > > > > > > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav > > > > a:264) > > > > at > > > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > > > at > > > > > > > > > > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController > > > > .java:978) > > > > at $Proxy0.start(Unknown Source) > > > > at > > > > > org.jboss.system.ServiceController.start(ServiceController.java:417) > > > > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown > > Source) > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > > Impl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher. > > > > java:155) > > > > at > > org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > > > > at > > > > > > > > > > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav > > > > a:264) > > > > at > > > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > > > at > > > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > > > at $Proxy4.start(Unknown Source) > > > > at > > > org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) > > > > at > > > > org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > > > > at > > > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > > > > at > > > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > > > > at > > > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > at > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > > > > a:39) > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > > Impl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher. > > > > java:155) > > > > at > > org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor. > > > > java:133) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea > > > > nOperationInterceptor.java:142) > > > > at > org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > > > > at > > > > > > > > > > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav > > > > a:264) > > > > at > > > > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > > > > at > > > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > > > > at $Proxy5.deploy(Unknown Source) > > > > at > > > > org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) > > > > at > > > org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) > > > > at org.jboss.Main.boot(Main.java:200) > > > > at org.jboss.Main$1.run(Main.java:490) > > > > at java.lang.Thread.run(Thread.java:534) > > > > 16:22:06,568 ERROR [MainDeployer] Could not create deployment: > > > > file:/C:/jboss-4.0.5.GA/server/rrt/deploy/rrt_common_ejb.jar > > > > org.jboss.deployment.DeploymentException: Verification of > Enterprise > > > > Beans failed, see above for error messages. > > > > at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610) > > > > - > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Forio Business Simulations > > > > > > Will Glass-Husain > > > [EMAIL PROTECTED] > > > www.forio.com > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Forio Business Simulations > > > > Will Glass-Husain > > [EMAIL PROTECTED] > > www.forio.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Forio Business Simulations > > Will Glass-Husain > [EMAIL PROTECTED] > www.forio.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
