You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2008/06/24 12:14:45 UTC

[jira] Updated: (OFBIZ-1791) Update Jetty Container to use Jetty 6

     [ https://issues.apache.org/jira/browse/OFBIZ-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato updated OFBIZ-1791:
-------------------------------------

    Attachment: jetty-tmp.patch

Joe,

I tried to run the new Jetty using your patch but I'm getting errors when the system attempts to load the web applications:

2008-06-24 11:37:22,971 (main) [            UtilXml.java:241:INFO ] XML Read 0.022s: file:/Users/jacopoc/ofbiz/ofbiz-trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
2008-06-24 11:37:22,973 (main) [                       ?:?  :ERROR] Failed startup of context org.mortbay.jetty.webapp.WebAppContext@a355d0{/ncr,/Users/jacopoc/ofbiz/ofbiz-trunk/hot-deploy/ncr/webapp/ncr}
java.lang.NullPointerException
	at org.mortbay.jetty.webapp.WebAppContext.dumpUrl(WebAppContext.java:468)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:451)
	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.ofbiz.jetty.container.JettyContainer.start(JettyContainer.java:402)
	at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
	at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
	at org.ofbiz.base.start.Start.startServer(Start.java:312)
	at org.ofbiz.base.start.Start.start(Start.java:316)
	at org.ofbiz.base.start.Start.main(Start.java:399)


I'm sure I am missing something obvious... do you have some hints?

Please find the attached patch that shows all the changes I did.

Thanks,

Jacopo



> Update Jetty Container to use Jetty 6
> -------------------------------------
>
>                 Key: OFBIZ-1791
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1791
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: jetty-tmp.patch, jetty.patch, utilj2eecompat.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.