Re: Errors reading HTML/XML file
Re: Errors reading HTML/XML file
- Subject: Re: Errors reading HTML/XML file
- From: "Henrique Prange" <email@hidden>
- Date: Thu, 10 Apr 2008 12:00:26 -0300
I forgot to mention the version of WebObjects is 5.4.1 and the version
of Wonder is the latest (built 1 week ago). I successfully deployed
this application before in this environment using WebObjects 5.3.2 and
an older version of Wonder.
Thanks,
Henrique
On Thu, Apr 10, 2008 at 9:59 AM, Henrique Prange <email@hidden> wrote:
> Hi all,
>
> I'm trying to deploy an application as true WAR with Tomcat running on
> Linux. When I try to access the Main component I get this exception (The
> entire stack trace is in the end of this e-mail):
>
> <com.webobjects.appserver._private.WOComponentDefinition:
>
> Errors reading HTML/XML file
> 'jar:file:///home/user/public_html/WEB-INF/lib/application.jar!/Resources/Main.wo':
>
> java.lang.NullPointerException
>
> I checked and the Main.html is there. I also tried to deploy the same WAR
> to Jetty and Tomcat on MacOS X. In both cases the application worked fine.
> Anyone has a clue about the problem?
>
> Thanks,
>
> Henrique
>
> com.webobjects.foundation.NSForwardException
> [java.lang.NullPointerException]
> null:<com.webobjects.appserver._private.WOComponentDefinition: Errors
> reading HTML/XML file
> 'jar:file:///home/user/public_html/WEB-INF/lib/application.jar!/Resources/Main.wo':
> java.lang.NullPointerException
> at
> com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentDefinition.java:363)
> at
> com.webobjects.appserver.WOComponent.template(WOComponent.java:501)
> at
> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1111)
> at
> com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1385)
> at er.extensions.ERXSession.appendToResponse(ERXSession.java:527)
> at
> com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1785)
> at
> er.extensions.ERXApplication.appendToResponse(ERXApplication.java:1438)
> at
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
> at
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
> at
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
> at
> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
> at
> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442)
> at
> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
> at
> er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:1505)
> at
> com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:131)
> at
> com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:727)
> at
> com.webobjects.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at br.com.locaweb.tomcat.LocaWebValve.invoke(LocaWebValve.java:101)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
> at java.io.FilterInputStream.close(FilterInputStream.java:159)
> at
> sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream.close(JarURLConnection.java:88)
> at
> com.webobjects.foundation._NSStringUtilities.bytesFromInputStream(_NSStringUtilities.java:619)
> at
> com.webobjects.foundation._NSStringUtilities.stringFromInputStream(_NSStringUtilities.java:637)
> at
> com.webobjects.foundation._NSStringUtilities.stringFromPathURL(_NSStringUtilities.java:669)
> at
> com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentDefinition.java:351)
> ... 34 more
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden