Re: Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-14 Thread Charles Mason
On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 At one point I really thought about naming the packages
 org.apache.tapestry5  (not org.apache.tapestry).


Well the T5 jars are so different from the T4 ones it sort of makes
sense to do that. Of course the problem is if T6 is based off T5 do
you really want new ones for that and every other major release in the
future.

Still it might save people like me from themselves, which can only be
a good thing.

Charlie M

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Charles Mason
Hi all,

I am having some problems deploying my Tapestry 5.0.6 based site to
Jboss Web. I have the same web app running from Eclipse through Jetty
without any problems. I don't think there's anything wrong with the
Jboss Web installation as it runs Roller and Tapestry 4 apps fine.

Its probably something I am doing wrong, but I can't seem to figure it
out. I have included  the error message that Jboss Web produces. Does
any one have any ideas of what I could be missing?

Thanks

Charlie M

java.lang.RuntimeException: Unable to instantiate class
org.apache.tapestry.services.TapestryModule as a module builder: Error
building service proxy for service 'RequestGlobals' (at
org.apache.tapestry.internal.services.RequestGlobalsImpl() (at
RequestGlobalsImpl.java:31)): Unable to add method
javax.servlet.http.HttpServletRequest getHTTPServletRequest() to class
$RequestGlobals_11614e73339: [source error] getHTTPServletRequest()
not found in org.apache.tapestry.services.RequestGlobals
at 
org.apache.tapestry.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:353)
at 
org.apache.tapestry.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:278)
at 
org.apache.tapestry.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:107)
at 
org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:60)
at 
org.apache.tapestry.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:31)
at 
org.apache.tapestry.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:54)
at 
org.apache.tapestry.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:54)
at 
org.apache.tapestry.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:61)
at 
org.apache.tapestry.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:67)
at 
$ServletApplicationInitializer_11614e73329._delegate($ServletApplicationInitializer_11614e73329.java)
at 
$ServletApplicationInitializer_11614e73329.initializeApplication($ServletApplicationInitializer_11614e73329.java)
at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:86)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:77)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3568)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4146)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5055)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at 

Re: Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Charles Mason
On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 Generally, these kinds of errors indicate that the classpath has two
 or more versions of the tapestry JARs.

Thanks for that. I had the Tapestry 4 jars in the servers lib
directory, which seems to have been interfering with Tapestry 5.

Charlie M

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Howard Lewis Ship
At one point I really thought about naming the packages
org.apache.tapestry5  (not org.apache.tapestry).

On Nov 6, 2007 10:46 AM, Charles Mason [EMAIL PROTECTED] wrote:
 On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote:
  Generally, these kinds of errors indicate that the classpath has two
  or more versions of the tapestry JARs.

 Thanks for that. I had the Tapestry 4 jars in the servers lib
 directory, which seems to have been interfering with Tapestry 5.

 Charlie M


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]