You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tiles.apache.org by Al Sutton <a....@enterprisedatasafe.net> on 2007/05/29 17:32:05 UTC
Problems with Jetty 6.1.3
Just tried my app with Jetty and received the exception below. Is anyone
using Jetty?
Al.
2007-05-29 16:29:34.779::WARN: Failed startup of context
org.mortbay.jetty.weba
<mailto:org.mortbay.jetty.webapp.WebAppContext@1c695a6{/passwordsafe,jar:fil
e:/C:/utils/jetty-6.1.3/webapps/passwordsafe.war!/>
pp.WebAppContext@1c695a6{/passwordsafe,jar:file:/C:/utils/jetty-6.1.3/webapp
s/pa
<mailto:org.mortbay.jetty.webapp.WebAppContext@1c695a6{/passwordsafe,jar:fil
e:/C:/utils/jetty-6.1.3/webapps/pa> sswordsafe.war!/}
java.lang.NullPointerException
at
org.apache.tiles.context.ChainedTilesContextFactory.createApplicationContext
(ChainedTilesContextFactory.java:107)
at
org.apache.struts2.tiles.StrutsTilesContainerFactory$StrutsTilesContextFacto
ry.createApplicationContext(StrutsTilesContainerFactory.java:98)
at
org.apache.struts2.tiles.StrutsTilesContainerFactory.initializeContainer(Str
utsTilesContainerFactory.java:68)
at
org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesCon
tainerFactory.java:199)
at
org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContaine
rFactory.java:164)
at
org.apache.tiles.listener.TilesListener.createContainer(TilesListener.java:9
1)
at
org.apache.tiles.listener.TilesListener.contextInitialized(TilesListener.jav
a:58)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:53
0)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:1
47)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCol
lection.java:161)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:1
47)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Re: Problems with Jetty 6.1.3
Posted by Antonio Petrelli <an...@gmail.com>.
2007/5/31, Al Sutton <al...@al-and-andrea.org.uk>:
>
> Thanks for getting back to me. I've traced down the problem with 6.1.3 and
> it was down to me trying to use Struts2 2.0.6 with Tiles 2.0.3, there
> appear
> to be some compatibility issues.
You cannot use Struts 2.0.6 with Tiles 2.0.3.
You probably should stick with the bundled Tiles version or wait for the
upcoming Struts 2.0.8.
Antonio
RE: Problems with Jetty 6.1.3
Posted by Al Sutton <al...@al-and-andrea.org.uk>.
Hi Greg,
Thanks for getting back to me. I've traced down the problem with 6.1.3 and
it was down to me trying to use Struts2 2.0.6 with Tiles 2.0.3, there appear
to be some compatibility issues.
If you have any ideas on the 5.1.12 issue with Jetty I would appreciate them
because this was with the version of tiles which ships with Struts 2.0.6
Thanks again,
Al.
-----Original Message-----
From: Greg Reddin [mailto:gredbug@gmail.com]
Sent: 30 May 2007 21:34
To: users@tiles.apache.org
Subject: Re: Problems with Jetty 6.1.3
On 5/29/07, Al Sutton <a....@enterprisedatasafe.net> wrote:
>
> Just tried my app with Jetty and received the exception below. Is
> anyone using Jetty?
Sorry for the slow response. I'm not using Jetty and I can't tell from your
stack trace what's going on. Can you post a few more details of your app?
Which version of Tiles are you using?
Thanks,
Greg
Re: Problems with Jetty 6.1.3
Posted by Greg Reddin <gr...@gmail.com>.
On 5/29/07, Al Sutton <a....@enterprisedatasafe.net> wrote:
>
> Just tried my app with Jetty and received the exception below. Is anyone
> using Jetty?
Sorry for the slow response. I'm not using Jetty and I can't tell from your
stack trace what's going on. Can you post a few more details of your app?
Which version of Tiles are you using?
Thanks,
Greg