You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Harish Hirasave <ha...@parago.com> on 2007/02/22 23:27:58 UTC

Jboss 4.0.5 error


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: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Re: Jboss 4.0.5 error

Posted by Henning Schmiedehausen <hp...@intermeta.de>.
Hi,

you must log in first (if you do not have a JIRA account, you can create
a new one), then select "Create new issue" from the top menu.

	Thanks
		Henning


On Fri, 2007-03-16 at 09:36 -0500, Harish Hirasave wrote:
> I did not find a way to create a new Jira in the link below.
> 
> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
> Sent: Wednesday, March 07, 2007 6:41 PM
> To: user@velocity.apache.org
> Subject: Re: Jboss 4.0.5 error
> 
> "Harish Hirasave" <ha...@parago.com> writes:
> 
> Sounds like a bug. Could you please open an issue for this in the
> issue tracker @
> 
> https://issues.apache.org/jira/browse/VELOCITY
> 
> I might even get a JBoss 4.0.5 for that. ;-) 
> 
> 	Best regards
> 		Henning
> 
> 
> >With Jboss - 4.0.5 the velocity jars have to be in the root of the jar.
> >We had it under Meta-INF/lib and hence the error. Once we moved the
> >velocity jars to the root of the jar the problem got resolved.
> 
> >-----Original Message-----
> >From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
> >Sent: Tuesday, February 27, 2007 2:44 PM
> >To: Velocity Users List
> >Subject: Re: Jboss 4.0.5 error
> 
> >If you do figure it out, please let us know - thanks!
> 
> >WILL
> 
> >On 2/27/07, Nathan Bubna <nb...@gmail.com> wrote:
> >> 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/jboss-user@lists.jboss.org/
> >>
> >> On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
> >> > > I tried Velocity 1.5 beta but it did not help.
> >> > >
> >> > > -----Original Message-----
> >> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> >> > > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> >> > > > 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 <ha...@parago.com> wrote:
> >> > > > > Velocity 1.3.1.
> >> > > > >
> >> > > > > -----Original Message-----
> >> > > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> >> > > > > 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 <ha...@parago.com>
> >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(Abstrac
> t
> >> > > > > > Verifier.java:687)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier
> 2
> >> > > > > > 0.java:848)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.ja
> v
> >> > > > > > 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.ja
> v
> >> > > > > > a:39)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> r
> >> > > > > > 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(ModelMBe
> a
> >> > > > > > nOperationInterceptor.java:142)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.j
> a
> >> > > > > > va:97)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorS
> e
> >> > > > > > rviceMBeanSupport.java:238)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInter
> c
> >> > > > > > eptor.java:74)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerIn
> t
> >> > > > > > erceptorEJB.java:44)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.cr
> e
> >> > > > > > ate(SubDeployerInterceptorSupport.java:180)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercept
> o
> >> > > > > > r.java:91)
> >> > > > > >         at
> >> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
> v
> >> > > > > > 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(DelegatingMethodAccesso
> r
> >> > > > > > 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(ModelMBe
> a
> >> > > > > > nOperationInterceptor.java:142)
> >> > > > > >         at
> >> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
> v
> >> > > > > > 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(URLDeploymentS
> c
> >> > > > > > anner.java:421)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentSca
> n
> >> > > > > > ner.java:634)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.do
> S
> >> > > > > > can(AbstractDeploymentScanner.java:263)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abs
> t
> >> > > > > > ractDeploymentScanner.java:336)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSup
> p
> >> > > > > > ort.java:289)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBea
> n
> >> > > > > > Support.java:245)
> >> > > > > >         at
> >sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> > > > Method)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> v
> >> > > > > > a:39)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> r
> >> > > > > > 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.ja
> v
> >> > > > > > a:264)
> >> > > > > >         at
> >> > > > > >
> >> > >
> >org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControlle
> r
> >> > > > > > .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(DelegatingMethodAccesso
> r
> >> > > > > > 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.ja
> v
> >> > > > > > 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.ja
> v
> >> > > > > > a:39)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> r
> >> > > > > > 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(ModelMBe
> a
> >> > > > > > nOperationInterceptor.java:142)
> >> > > > > >         at
> >> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> >> > > > > >         at
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
> v
> >> > > > > > 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:
> user-unsubscribe@velocity.apache.org
> >> > > > > > For additional commands, e-mail:
> >user-help@velocity.apache.org
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > > Forio Business Simulations
> >> > > > >
> >> > > > > Will Glass-Husain
> >> > > > > wglass@forio.com
> >> > > > > www.forio.com
> >> > > > >
> >> > > > >
> >> > >
> >---------------------------------------------------------------------
> >> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > > > For additional commands, e-mail:
> user-help@velocity.apache.org
> >> > > > >
> >> > > > >
> >> > > > >
> >> > >
> >---------------------------------------------------------------------
> >> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > > > For additional commands, e-mail:
> user-help@velocity.apache.org
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Forio Business Simulations
> >> > > >
> >> > > > Will Glass-Husain
> >> > > > wglass@forio.com
> >> > > > www.forio.com
> >> > > >
> >> > > >
> >---------------------------------------------------------------------
> >> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > > For additional commands, e-mail: user-help@velocity.apache.org
> >> > > >
> >> > > >
> >> > > >
> >---------------------------------------------------------------------
> >> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > > For additional commands, e-mail: user-help@velocity.apache.org
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > > Forio Business Simulations
> >> > >
> >> > > Will Glass-Husain
> >> > > wglass@forio.com
> >> > > www.forio.com
> >> > >
> >> > >
> >---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > For additional commands, e-mail: user-help@velocity.apache.org
> >> > >
> >> > >
> >> > >
> >---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> > > For additional commands, e-mail: user-help@velocity.apache.org
> >> > >
> >> > >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> For additional commands, e-mail: user-help@velocity.apache.org
> >>
> >>
> 
> 
> >-- 
> >Forio Business Simulations
> 
> >Will Glass-Husain
> >wglass@forio.com
> >www.forio.com
> 
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >For additional commands, e-mail: user-help@velocity.apache.org
> 
> 
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >For additional commands, e-mail: user-help@velocity.apache.org
> 
> 
-- 
Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,               |gls
91054 Buckenhof, Germany   -- +49 9131 506540  | Apache person              |eau
Open Source Consulting, Development, Design    | Velocity - Turbine guy     |rwc
                                                                            |m k
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH - RG Fuerth, HRB 7350     |a s
Sitz der Gesellschaft: Buckenhof. Geschaeftsfuehrer: Henning Schmiedehausen |n



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Re: Jboss 4.0.5 error

Posted by Harish Hirasave <ha...@parago.com>.
I did not find a way to create a new Jira in the link below.

-----Original Message-----
From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
Sent: Wednesday, March 07, 2007 6:41 PM
To: user@velocity.apache.org
Subject: Re: Jboss 4.0.5 error

"Harish Hirasave" <ha...@parago.com> writes:

Sounds like a bug. Could you please open an issue for this in the
issue tracker @

https://issues.apache.org/jira/browse/VELOCITY

I might even get a JBoss 4.0.5 for that. ;-) 

	Best regards
		Henning


>With Jboss - 4.0.5 the velocity jars have to be in the root of the jar.
>We had it under Meta-INF/lib and hence the error. Once we moved the
>velocity jars to the root of the jar the problem got resolved.

>-----Original Message-----
>From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
>Sent: Tuesday, February 27, 2007 2:44 PM
>To: Velocity Users List
>Subject: Re: Jboss 4.0.5 error

>If you do figure it out, please let us know - thanks!

>WILL

>On 2/27/07, Nathan Bubna <nb...@gmail.com> wrote:
>> 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/jboss-user@lists.jboss.org/
>>
>> On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
>> > > I tried Velocity 1.5 beta but it did not help.
>> > >
>> > > -----Original Message-----
>> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
>> > > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
>> > > > 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 <ha...@parago.com> wrote:
>> > > > > Velocity 1.3.1.
>> > > > >
>> > > > > -----Original Message-----
>> > > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
>> > > > > 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 <ha...@parago.com>
>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(Abstrac
t
>> > > > > > Verifier.java:687)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier
2
>> > > > > > 0.java:848)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.ja
v
>> > > > > > 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.ja
v
>> > > > > > a:39)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
>> > > > > > 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(ModelMBe
a
>> > > > > > nOperationInterceptor.java:142)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.j
a
>> > > > > > va:97)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorS
e
>> > > > > > rviceMBeanSupport.java:238)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInter
c
>> > > > > > eptor.java:74)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerIn
t
>> > > > > > erceptorEJB.java:44)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.cr
e
>> > > > > > ate(SubDeployerInterceptorSupport.java:180)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercept
o
>> > > > > > r.java:91)
>> > > > > >         at
>> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
v
>> > > > > > 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(DelegatingMethodAccesso
r
>> > > > > > 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(ModelMBe
a
>> > > > > > nOperationInterceptor.java:142)
>> > > > > >         at
>> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
v
>> > > > > > 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(URLDeploymentS
c
>> > > > > > anner.java:421)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentSca
n
>> > > > > > ner.java:634)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.do
S
>> > > > > > can(AbstractDeploymentScanner.java:263)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abs
t
>> > > > > > ractDeploymentScanner.java:336)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSup
p
>> > > > > > ort.java:289)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBea
n
>> > > > > > Support.java:245)
>> > > > > >         at
>sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> > > > Method)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
>> > > > > > a:39)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
>> > > > > > 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.ja
v
>> > > > > > a:264)
>> > > > > >         at
>> > > > > >
>> > >
>org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControlle
r
>> > > > > > .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(DelegatingMethodAccesso
r
>> > > > > > 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.ja
v
>> > > > > > 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.ja
v
>> > > > > > a:39)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
>> > > > > > 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(ModelMBe
a
>> > > > > > nOperationInterceptor.java:142)
>> > > > > >         at
>> > > org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.ja
v
>> > > > > > 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:
user-unsubscribe@velocity.apache.org
>> > > > > > For additional commands, e-mail:
>user-help@velocity.apache.org
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Forio Business Simulations
>> > > > >
>> > > > > Will Glass-Husain
>> > > > > wglass@forio.com
>> > > > > www.forio.com
>> > > > >
>> > > > >
>> > >
>---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > > For additional commands, e-mail:
user-help@velocity.apache.org
>> > > > >
>> > > > >
>> > > > >
>> > >
>---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > > For additional commands, e-mail:
user-help@velocity.apache.org
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Forio Business Simulations
>> > > >
>> > > > Will Glass-Husain
>> > > > wglass@forio.com
>> > > > www.forio.com
>> > > >
>> > > >
>---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > >
>> > > >
>> > > >
>---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Forio Business Simulations
>> > >
>> > > Will Glass-Husain
>> > > wglass@forio.com
>> > > www.forio.com
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > For additional commands, e-mail: user-help@velocity.apache.org
>> > >
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > For additional commands, e-mail: user-help@velocity.apache.org
>> > >
>> > >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>


>-- 
>Forio Business Simulations

>Will Glass-Husain
>wglass@forio.com
>www.forio.com

>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>For additional commands, e-mail: user-help@velocity.apache.org


>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>For additional commands, e-mail: user-help@velocity.apache.org


-- 
Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,
|gls
91054 Buckenhof, Germany   -- +49 9131 506540  | Apache person
|eau
Open Source Consulting, Development, Design    | Velocity - Turbine guy
|rwc
 
|m k
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH - RG Fuerth, HRB 7350
|a s
Sitz der Gesellschaft: Buckenhof. Geschaeftsfuehrer: Henning
Schmiedehausen |n

	       "Save the cheerleader. Save the world."

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Harish Hirasave" <ha...@parago.com> writes:

Sounds like a bug. Could you please open an issue for this in the
issue tracker @

https://issues.apache.org/jira/browse/VELOCITY

I might even get a JBoss 4.0.5 for that. ;-) 

	Best regards
		Henning


>With Jboss - 4.0.5 the velocity jars have to be in the root of the jar.
>We had it under Meta-INF/lib and hence the error. Once we moved the
>velocity jars to the root of the jar the problem got resolved.

>-----Original Message-----
>From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
>Sent: Tuesday, February 27, 2007 2:44 PM
>To: Velocity Users List
>Subject: Re: Jboss 4.0.5 error

>If you do figure it out, please let us know - thanks!

>WILL

>On 2/27/07, Nathan Bubna <nb...@gmail.com> wrote:
>> 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/jboss-user@lists.jboss.org/
>>
>> On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
>> > > I tried Velocity 1.5 beta but it did not help.
>> > >
>> > > -----Original Message-----
>> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
>> > > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
>> > > > 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 <ha...@parago.com> wrote:
>> > > > > Velocity 1.3.1.
>> > > > >
>> > > > > -----Original Message-----
>> > > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
>> > > > > 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 <ha...@parago.com>
>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: user-unsubscribe@velocity.apache.org
>> > > > > > For additional commands, e-mail:
>user-help@velocity.apache.org
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Forio Business Simulations
>> > > > >
>> > > > > Will Glass-Husain
>> > > > > wglass@forio.com
>> > > > > www.forio.com
>> > > > >
>> > > > >
>> > >
>---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > > >
>> > > > >
>> > > > >
>> > >
>---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Forio Business Simulations
>> > > >
>> > > > Will Glass-Husain
>> > > > wglass@forio.com
>> > > > www.forio.com
>> > > >
>> > > >
>---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > >
>> > > >
>> > > >
>---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > > For additional commands, e-mail: user-help@velocity.apache.org
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Forio Business Simulations
>> > >
>> > > Will Glass-Husain
>> > > wglass@forio.com
>> > > www.forio.com
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > For additional commands, e-mail: user-help@velocity.apache.org
>> > >
>> > >
>> > >
>---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> > > For additional commands, e-mail: user-help@velocity.apache.org
>> > >
>> > >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>


>-- 
>Forio Business Simulations

>Will Glass-Husain
>wglass@forio.com
>www.forio.com

>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>For additional commands, e-mail: user-help@velocity.apache.org


>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>For additional commands, e-mail: user-help@velocity.apache.org


-- 
Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,               |gls
91054 Buckenhof, Germany   -- +49 9131 506540  | Apache person              |eau
Open Source Consulting, Development, Design    | Velocity - Turbine guy     |rwc
                                                                            |m k
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH - RG Fuerth, HRB 7350     |a s
Sitz der Gesellschaft: Buckenhof. Geschaeftsfuehrer: Henning Schmiedehausen |n

	       "Save the cheerleader. Save the world."

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Jboss 4.0.5 error

Posted by Harish Hirasave <ha...@parago.com>.
With Jboss - 4.0.5 the velocity jars have to be in the root of the jar.
We had it under Meta-INF/lib and hence the error. Once we moved the
velocity jars to the root of the jar the problem got resolved.

-----Original Message-----
From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
Sent: Tuesday, February 27, 2007 2:44 PM
To: Velocity Users List
Subject: Re: Jboss 4.0.5 error

If you do figure it out, please let us know - thanks!

WILL

On 2/27/07, Nathan Bubna <nb...@gmail.com> wrote:
> 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/jboss-user@lists.jboss.org/
>
> On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
> > > I tried Velocity 1.5 beta but it did not help.
> > >
> > > -----Original Message-----
> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> > > > 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 <ha...@parago.com> wrote:
> > > > > Velocity 1.3.1.
> > > > >
> > > > > -----Original Message-----
> > > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > > > 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 <ha...@parago.com>
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: user-unsubscribe@velocity.apache.org
> > > > > > For additional commands, e-mail:
user-help@velocity.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Forio Business Simulations
> > > > >
> > > > > Will Glass-Husain
> > > > > wglass@forio.com
> > > > > www.forio.com
> > > > >
> > > > >
> > >
---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > >
> > > > >
> > > > >
> > >
---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Forio Business Simulations
> > > >
> > > > Will Glass-Husain
> > > > wglass@forio.com
> > > > www.forio.com
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Forio Business Simulations
> > >
> > > Will Glass-Husain
> > > wglass@forio.com
> > > www.forio.com
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Will Glass-Husain <wg...@gmail.com>.
If you do figure it out, please let us know - thanks!

WILL

On 2/27/07, Nathan Bubna <nb...@gmail.com> wrote:
> 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/jboss-user@lists.jboss.org/
>
> On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
> > > I tried Velocity 1.5 beta but it did not help.
> > >
> > > -----Original Message-----
> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> > > > 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 <ha...@parago.com> wrote:
> > > > > Velocity 1.3.1.
> > > > >
> > > > > -----Original Message-----
> > > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > > > 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Forio Business Simulations
> > > > >
> > > > > Will Glass-Husain
> > > > > wglass@forio.com
> > > > > www.forio.com
> > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > >
> > > > >
> > > > >
> > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Forio Business Simulations
> > > >
> > > > Will Glass-Husain
> > > > wglass@forio.com
> > > > www.forio.com
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Forio Business Simulations
> > >
> > > Will Glass-Husain
> > > wglass@forio.com
> > > www.forio.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Nathan Bubna <nb...@gmail.com>.
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/jboss-user@lists.jboss.org/

On 2/27/07, Nathan Bubna <nb...@gmail.com> 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 <ha...@parago.com> wrote:
> > I tried Velocity 1.5 beta but it did not help.
> >
> > -----Original Message-----
> > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> > > 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 <ha...@parago.com> wrote:
> > > > Velocity 1.3.1.
> > > >
> > > > -----Original Message-----
> > > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > > 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Forio Business Simulations
> > > >
> > > > Will Glass-Husain
> > > > wglass@forio.com
> > > > www.forio.com
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Forio Business Simulations
> > >
> > > Will Glass-Husain
> > > wglass@forio.com
> > > www.forio.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > wglass@forio.com
> > www.forio.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Nathan Bubna <nb...@gmail.com>.
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 <ha...@parago.com> wrote:
> I tried Velocity 1.5 beta but it did not help.
>
> -----Original Message-----
> From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> 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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> > 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 <ha...@parago.com> wrote:
> > > Velocity 1.3.1.
> > >
> > > -----Original Message-----
> > > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > > 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > > > For additional commands, e-mail: user-help@velocity.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Forio Business Simulations
> > >
> > > Will Glass-Husain
> > > wglass@forio.com
> > > www.forio.com
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > wglass@forio.com
> > www.forio.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Jboss 4.0.5 error

Posted by Harish Hirasave <ha...@parago.com>.
I tried Velocity 1.5 beta but it did not help.

-----Original Message-----
From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> 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 <ha...@parago.com> wrote:
> > Velocity 1.3.1.
> >
> > -----Original Message-----
> > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > wglass@forio.com
> > www.forio.com
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Will Glass-Husain <wg...@gmail.com>.
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 <ha...@parago.com> 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:wglasshusain@gmail.com]
> 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 <ha...@parago.com> wrote:
> > Velocity 1.3.1.
> >
> > -----Original Message-----
> > From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> > 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > > For additional commands, e-mail: user-help@velocity.apache.org
> > >
> > >
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > wglass@forio.com
> > www.forio.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Jboss 4.0.5 error

Posted by Harish Hirasave <ha...@parago.com>.
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:wglasshusain@gmail.com] 
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 <ha...@parago.com> wrote:
> Velocity 1.3.1.
>
> -----Original Message-----
> From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Will Glass-Husain <wg...@gmail.com>.
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 <ha...@parago.com> wrote:
> Velocity 1.3.1.
>
> -----Original Message-----
> From: Will Glass-Husain [mailto:wglasshusain@gmail.com]
> 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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


RE: Jboss 4.0.5 error

Posted by Harish Hirasave <ha...@parago.com>.
Velocity 1.3.1. 

-----Original Message-----
From: Will Glass-Husain [mailto:wglasshusain@gmail.com] 
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 <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: Jboss 4.0.5 error

Posted by Will Glass-Husain <wg...@gmail.com>.
What version of Velocity?

WILL

On 2/22/07, Harish Hirasave <ha...@parago.com> 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: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org