You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Greg <go...@gmail.com> on 2008/08/07 16:49:26 UTC

Failing to run my first Tapestry page

Hi all,

As I have some spare time I'm looking at Tapestry and so I tried two
tutorials, including the official (I guess?) one here
http://tapestry.apache.org/tapestry5/tutorial1/first.html.
However I cannot have it run as the following errors appear when I
enter "mvn jetty:run" (I'll only post the first lines).
I couldn't find any hint using google so I'd appreciate some help :)

Regards,
Greg

[INFO] Starting jetty 6.1.9 ...
2008-08-07 16:46:07.203::INFO:  jetty-6.1.9
2008-08-07 16:46:08.482::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
[ERROR] TapestryModule.ServletApplicationInitializer Construction of
service ServletApplicationInitializer failed: Unable to
instantiate class org.apache.tapestry5.services.TapestryModule as a
module builder: java.lang.ArrayIndexOutOfBoundsException
java.lang.RuntimeException: Unable to instantiate class
org.apache.tapestry5.services.TapestryModule as a module builder: jav
a.lang.ArrayIndexOutOfBoundsException
        at org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
        at org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
        at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
        at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
        at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
52)
        at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
        at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
rapper.java:60)
        at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
        at $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
;($ServletApplicationInitializer_11b9da1cfae.java:???)
        at $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
ionInitializer_11b9da1cfae.java:???)
        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
        at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
Caused by: java.lang.ArrayIndexOutOfBoundsException
        at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
        at org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
        at org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
        at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
        at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
        at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
52)
        at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
        at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
rapper.java:60)
        at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
        at $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
;($ServletApplicationInitializer_11b9da1cfae.java:???)
        at $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
ionInitializer_11b9da1cfae.java:???)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page

Posted by Andreas Andreou <an...@gmail.com>.
http://repo1.maven.org/maven2/javassist/javassist/3.8.0.GA/

On Tue, Aug 12, 2008 at 12:20 AM, Geoff Callender
<ge...@gmail.com> wrote:
> Hi all,
>
> I can't find a repository with the new javassist (3.8.ga).  Can someone tell
> me where Tapestry's maven is picking it up from?
>
> Geoff
>
> On 12/08/2008, at 1:25 AM, Howard Lewis Ship wrote:
>
>> This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14
>> by using a newer version of Javassist.
>>
>> On Thu, Aug 7, 2008 at 7:49 AM, Greg <go...@gmail.com> wrote:
>>>
>>> Hi all,
>>>
>>> As I have some spare time I'm looking at Tapestry and so I tried two
>>> tutorials, including the official (I guess?) one here
>>> http://tapestry.apache.org/tapestry5/tutorial1/first.html.
>>> However I cannot have it run as the following errors appear when I
>>> enter "mvn jetty:run" (I'll only post the first lines).
>>> I couldn't find any hint using google so I'd appreciate some help :)
>>>
>>> Regards,
>>> Greg
>>>
>>> [INFO] Starting jetty 6.1.9 ...
>>> 2008-08-07 16:46:07.203::INFO:  jetty-6.1.9
>>> 2008-08-07 16:46:08.482::INFO:  No Transaction manager found - if your
>>> webapp requires one, please configure one.
>>> [ERROR] TapestryModule.ServletApplicationInitializer Construction of
>>> service ServletApplicationInitializer failed: Unable to
>>> instantiate class org.apache.tapestry5.services.TapestryModule as a
>>> module builder: java.lang.ArrayIndexOutOfBoundsException
>>> java.lang.RuntimeException: Unable to instantiate class
>>> org.apache.tapestry5.services.TapestryModule as a module builder: jav
>>> a.lang.ArrayIndexOutOfBoundsException
>>>      at
>>> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>>>      at
>>> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>>>      at
>>> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
>>> 52)
>>>      at
>>> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>>>      at
>>> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
>>> rapper.java:60)
>>>      at
>>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>>>      at
>>> $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>>      at
>>> $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
>>> ionInitializer_11b9da1cfae.java:???)
>>>      at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
>>>      at
>>> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>>>      at
>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>>      at
>>> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
>>>      at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>>>      at
>>> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
>>>      at
>>> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
>>>      at
>>> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
>>>      at
>>> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
>>>      at
>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>>      at
>>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>>      at
>>> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>>>      at
>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>>      at
>>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>>      at
>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>>      at
>>> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>>>      at org.mortbay.jetty.Server.doStart(Server.java:222)
>>>      at
>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>>      at
>>> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>>>      at
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357)
>>>      at
>>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
>>> Caused by: java.lang.ArrayIndexOutOfBoundsException
>>>      at
>>> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>>      at
>>> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>>>      at
>>> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>>>      at
>>> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
>>> 52)
>>>      at
>>> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>>>      at
>>> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
>>> rapper.java:60)
>>>      at
>>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>>>      at
>>> $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>>      at
>>> $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
>>> ionInitializer_11b9da1cfae.java:???)
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator Apache Tapestry and Apache HiveMind
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page

Posted by Geoff Callender <ge...@gmail.com>.
Hi all,

I can't find a repository with the new javassist (3.8.ga).  Can  
someone tell me where Tapestry's maven is picking it up from?

Geoff

On 12/08/2008, at 1:25 AM, Howard Lewis Ship wrote:

> This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14
> by using a newer version of Javassist.
>
> On Thu, Aug 7, 2008 at 7:49 AM, Greg <go...@gmail.com> wrote:
>> Hi all,
>>
>> As I have some spare time I'm looking at Tapestry and so I tried two
>> tutorials, including the official (I guess?) one here
>> http://tapestry.apache.org/tapestry5/tutorial1/first.html.
>> However I cannot have it run as the following errors appear when I
>> enter "mvn jetty:run" (I'll only post the first lines).
>> I couldn't find any hint using google so I'd appreciate some help :)
>>
>> Regards,
>> Greg
>>
>> [INFO] Starting jetty 6.1.9 ...
>> 2008-08-07 16:46:07.203::INFO:  jetty-6.1.9
>> 2008-08-07 16:46:08.482::INFO:  No Transaction manager found - if  
>> your
>> webapp requires one, please configure one.
>> [ERROR] TapestryModule.ServletApplicationInitializer Construction of
>> service ServletApplicationInitializer failed: Unable to
>> instantiate class org.apache.tapestry5.services.TapestryModule as a
>> module builder: java.lang.ArrayIndexOutOfBoundsException
>> java.lang.RuntimeException: Unable to instantiate class
>> org.apache.tapestry5.services.TapestryModule as a module builder: jav
>> a.lang.ArrayIndexOutOfBoundsException
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java: 
>> 325)
>>       at  
>> org 
>> .apache 
>> .tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java: 
>> 253)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .ServiceBuilderMethodInvoker 
>> .createObject(ServiceBuilderMethodInvoker.java:59)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .SingletonServiceLifecycle 
>> .createService(SingletonServiceLifecycle.java:29)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .LifecycleWrappedServiceCreator 
>> .createObject(LifecycleWrappedServiceCreator.java:
>> 52)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .InterceptorStackBuilder.createObject(InterceptorStackBuilder.java: 
>> 50)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .RecursiveServiceCreationCheckWrapper 
>> .createObject(RecursiveServiceCreationCheckW
>> rapper.java:60)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .services 
>> .JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java: 
>> 65)
>>       at  
>> $ 
>> ServletApplicationInitializer_11b9da1cfae 
>> ._delegate 
>> ()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>       at  
>> $ 
>> ServletApplicationInitializer_11b9da1cfae 
>> .initializeApplication 
>> (Ljavax.servlet.ServletContext;)V($ServletApplicat
>> ionInitializer_11b9da1cfae.java:???)
>>       at  
>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
>>       at  
>> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>>       at  
>> org 
>> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>       at  
>> org 
>> .mortbay 
>> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
>>       at  
>> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>>       at  
>> org 
>> .mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 
>> 1220)
>>       at  
>> org 
>> .mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 
>> 510)
>>       at  
>> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 
>> 448)
>>       at  
>> org 
>> .mortbay 
>> .jetty 
>> .plugin 
>> .Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java: 
>> 110)
>>       at  
>> org 
>> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>       at  
>> org 
>> .mortbay 
>> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>       at  
>> org 
>> .mortbay 
>> .jetty 
>> .handler 
>> .ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>>       at  
>> org 
>> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>       at  
>> org 
>> .mortbay 
>> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>       at  
>> org 
>> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>       at  
>> org 
>> .mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 
>> 130)
>>       at org.mortbay.jetty.Server.doStart(Server.java:222)
>>       at  
>> org 
>> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>       at  
>> org 
>> .mortbay 
>> .jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>>       at  
>> org 
>> .mortbay 
>> .jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java: 
>> 357)
>>       at  
>> org 
>> .mortbay 
>> .jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
>> Caused by: java.lang.ArrayIndexOutOfBoundsException
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal.util.InternalUtils.calculateParameters(InternalUtils.java: 
>> 239)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java: 
>> 306)
>>       at  
>> org 
>> .apache 
>> .tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java: 
>> 253)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .ServiceBuilderMethodInvoker 
>> .createObject(ServiceBuilderMethodInvoker.java:59)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .SingletonServiceLifecycle 
>> .createService(SingletonServiceLifecycle.java:29)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .LifecycleWrappedServiceCreator 
>> .createObject(LifecycleWrappedServiceCreator.java:
>> 52)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .InterceptorStackBuilder.createObject(InterceptorStackBuilder.java: 
>> 50)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .RecursiveServiceCreationCheckWrapper 
>> .createObject(RecursiveServiceCreationCheckW
>> rapper.java:60)
>>       at  
>> org 
>> .apache 
>> .tapestry5 
>> .ioc 
>> .internal 
>> .services 
>> .JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java: 
>> 65)
>>       at  
>> $ 
>> ServletApplicationInitializer_11b9da1cfae 
>> ._delegate 
>> ()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>       at  
>> $ 
>> ServletApplicationInitializer_11b9da1cfae 
>> .initializeApplication 
>> (Ljavax.servlet.ServletContext;)V($ServletApplicat
>> ionInitializer_11b9da1cfae.java:???)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> -- 
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page

Posted by Greg D <gr...@freesbee.fr>.
Actually the problem was I used BEA's JVM (1.5.0_04) instead of Sun's one -
with Tapestry 5.0.13.
I don't know if 5.0.14 would have solved this too, but I can give it a try
if you want to know.
And thanks for the answer! Close one :)


Howard Lewis Ship wrote:
> 
> This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14
> by using a newer version of Javassist.
> 
> On Thu, Aug 7, 2008 at 7:49 AM, Greg <go...@gmail.com> wrote:
>> Hi all,
>>
>> As I have some spare time I'm looking at Tapestry and so I tried two
>> tutorials, including the official (I guess?) one here
>> http://tapestry.apache.org/tapestry5/tutorial1/first.html.
>> However I cannot have it run as the following errors appear when I
>> enter "mvn jetty:run" (I'll only post the first lines).
>> I couldn't find any hint using google so I'd appreciate some help :)
>>
>> Regards,
>> Greg
>>
>> [INFO] Starting jetty 6.1.9 ...
>> 2008-08-07 16:46:07.203::INFO:  jetty-6.1.9
>> 2008-08-07 16:46:08.482::INFO:  No Transaction manager found - if your
>> webapp requires one, please configure one.
>> [ERROR] TapestryModule.ServletApplicationInitializer Construction of
>> service ServletApplicationInitializer failed: Unable to
>> instantiate class org.apache.tapestry5.services.TapestryModule as a
>> module builder: java.lang.ArrayIndexOutOfBoundsException
>> java.lang.RuntimeException: Unable to instantiate class
>> org.apache.tapestry5.services.TapestryModule as a module builder: jav
>> a.lang.ArrayIndexOutOfBoundsException
>>        at
>> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
>>        at
>> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>>        at
>> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>        at
>> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>>        at
>> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>>        at
>> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
>> 52)
>>        at
>> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>>        at
>> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
>> rapper.java:60)
>>        at
>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>>        at
>> $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>        at
>> $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
>> ionInitializer_11b9da1cfae.java:???)
>>        at
>> org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
>>        at
>> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>>        at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at
>> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
>>        at
>> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>>        at
>> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
>>        at
>> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
>>        at
>> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
>>        at
>> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
>>        at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at
>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>        at
>> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>>        at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at
>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>        at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at
>> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>>        at org.mortbay.jetty.Server.doStart(Server.java:222)
>>        at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at
>> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>>        at
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357)
>>        at
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
>> Caused by: java.lang.ArrayIndexOutOfBoundsException
>>        at
>> org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
>>        at
>> org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
>>        at
>> org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>>        at
>> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>>        at
>> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>>        at
>> org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>>        at
>> org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
>> 52)
>>        at
>> org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>>        at
>> org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
>> rapper.java:60)
>>        at
>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>>        at
>> $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
>> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>>        at
>> $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
>> ionInitializer_11b9da1cfae.java:???)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator Apache Tapestry and Apache HiveMind
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18928119.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page

Posted by Howard Lewis Ship <hl...@gmail.com>.
This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14
by using a newer version of Javassist.

On Thu, Aug 7, 2008 at 7:49 AM, Greg <go...@gmail.com> wrote:
> Hi all,
>
> As I have some spare time I'm looking at Tapestry and so I tried two
> tutorials, including the official (I guess?) one here
> http://tapestry.apache.org/tapestry5/tutorial1/first.html.
> However I cannot have it run as the following errors appear when I
> enter "mvn jetty:run" (I'll only post the first lines).
> I couldn't find any hint using google so I'd appreciate some help :)
>
> Regards,
> Greg
>
> [INFO] Starting jetty 6.1.9 ...
> 2008-08-07 16:46:07.203::INFO:  jetty-6.1.9
> 2008-08-07 16:46:08.482::INFO:  No Transaction manager found - if your
> webapp requires one, please configure one.
> [ERROR] TapestryModule.ServletApplicationInitializer Construction of
> service ServletApplicationInitializer failed: Unable to
> instantiate class org.apache.tapestry5.services.TapestryModule as a
> module builder: java.lang.ArrayIndexOutOfBoundsException
> java.lang.RuntimeException: Unable to instantiate class
> org.apache.tapestry5.services.TapestryModule as a module builder: jav
> a.lang.ArrayIndexOutOfBoundsException
>        at org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325)
>        at org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>        at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>        at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>        at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>        at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
> 52)
>        at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>        at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
> rapper.java:60)
>        at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>        at $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>        at $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
> ionInitializer_11b9da1cfae.java:???)
>        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85)
>        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
>        at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
>        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
>        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
>        at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
>        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>        at org.mortbay.jetty.Server.doStart(Server.java:222)
>        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357)
>        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
> Caused by: java.lang.ArrayIndexOutOfBoundsException
>        at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239)
>        at org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306)
>        at org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253)
>        at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105)
>        at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59)
>        at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
>        at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:
> 52)
>        at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50)
>        at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW
> rapper.java:60)
>        at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65)
>        at $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer
> ;($ServletApplicationInitializer_11b9da1cfae.java:???)
>        at $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat
> ionInitializer_11b9da1cfae.java:???)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page (solution)

Posted by Greg D <gr...@freesbee.fr>.
I didn't change anything.
I found out I was using BEA's JRockit 1.5.0_04, I changed my JAVA_HOME
environment variable to use Sun's 1.5.0_11 JVM, and it's now OK. So I guess
there may be some incompatibility with JRockit.
Anyway, thanks :)

Greg


Sven Homburg wrote:
> 
> have you updated from the latest trunk ?
> or have you change anything in the original source of the tutorial ?
> 
> 2008/8/11 Greg D <gr...@freesbee.fr>
> 
>>
>> Hi,
>> I still have this problem :/
>> I am the only one who tried the tutorial and got this error?
>> Thanks,
>> Greg
>> --
>> View this message in context:
>> http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18922832.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 
> -- 
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
> 
> 
> -----
> best regards
> Sven
> 

-- 
View this message in context: http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18925924.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Failing to run my first Tapestry page

Posted by Sven Homburg <ho...@googlemail.com>.
have you updated from the latest trunk ?
or have you change anything in the original source of the tutorial ?

2008/8/11 Greg D <gr...@freesbee.fr>

>
> Hi,
> I still have this problem :/
> I am the only one who tried the tutorial and got this error?
> Thanks,
> Greg
> --
> View this message in context:
> http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18922832.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com

Re: Failing to run my first Tapestry page

Posted by Greg D <gr...@freesbee.fr>.
Hi,
I still have this problem :/
I am the only one who tried the tutorial and got this error?
Thanks,
Greg
-- 
View this message in context: http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18922832.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org