Hi,
I am receiving the following every time I am accessing any site built using WebSlinger: javax.servlet.ServletException: Unknown message with code "Premature end of file.". org.webslinger.AbstractMappingWebslingerServletContextFactory.getWebslingerServletContext(AbstractMappingWebslingerServletContextFactory.java:111) org.webslinger.servlet.WebslingerServlet.service(WebslingerServlet.java:45) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) Please help Thanks, Kaushik |
Kaushik Chakraborty wrote:
> Hi, > > I am receiving the following every time I am accessing any site built using WebSlinger: > > javax.servlet.ServletException: Unknown message with code "Premature end of file.". > org.webslinger.AbstractMappingWebslingerServletContextFactory.getWebslingerServletContext(AbstractMappingWebslingerServletContextFactory.java:111) > org.webslinger.servlet.WebslingerServlet.service(WebslingerServlet.java:45) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) How did you build a site with webslinger? What version of ofbiz were you using? Look for .cowstate.xml files with a 0-byte size. |
- Where to check the .cowstate.xml files? I searched under Var directory
of the site causing problem but could not find any. I restarted OFBiz number of times but that did not fix the problem (previously for such errors it was the solution ). - This is a pre-built system with an older version of OFBiz, I think. How to check the version of OFBiz? Following is a detailed exception log: [StandardWrapperValve.java:250:ERROR] Servlet.service() for servlet WebslingerServlet threw exception javax.servlet.ServletException: Unknown message with code "Premature end of file.". at org.webslinger.AbstractMappingWebslingerServletContextFactory.getWebslingerServletContext(AbstractMappingWebslinger ServletContextFactory.java:111) at org.webslinger.servlet.WebslingerServlet.service(WebslingerServlet.java:45) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.webslinger.catalina.WebslingerAccessLogValve.invoke(WebslingerAccessLogValve.java:72) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.commons.vfs.FileSystemException: Unknown message with code "Premature end of file.". at org.webslinger.commons.vfs.VFSUtil.makeFileSystemException(VFSUtil.java:299) at org.webslinger.commons.vfs.handlers.cow.COWStateXml.load(COWStateXml.java:114) at org.webslinger.commons.vfs.handlers.cow.COWStateXml.<init>(COWStateXml.java:65) at org.webslinger.commons.vfs.handlers.cow.COWStateXmlStorageHandler$1.findIfExists(COWStateXmlStorageHandler.java:19) at org.webslinger.commons.vfs.handlers.cow.COWStateXmlStorageHandler$1.findIfExists(COWStateXmlStorageHandler.java:16) at org.webslinger.lang.ConcurrentCache.findIfExists(ConcurrentCache.java:39) at org.webslinger.lang.AbstractCache$ConcurrentDelegate.get(AbstractCache.java:125) at org.webslinger.lang.AbstractCache.get(AbstractCache.java:287) at org.webslinger.lang.ConcurrentCache.get(ConcurrentCache.java:29) at org.webslinger.commons.vfs.handlers.cow.COWStateXmlStorageHandler.getCOWStateXml(COWStateXmlStorageHandler.java:35) at org.webslinger.commons.vfs.handlers.cow.COWStateXmlStorageHandler.loadData(COWStateXmlStorageHandler.java:52) at org.webslinger.commons.vfs.virtual.VirtualFileSystem.loadData(VirtualFileSystem.java:332) at org.webslinger.commons.vfs.virtual.VirtualFileSystem.getMounts(VirtualFileSystem.java:245) at org.webslinger.commons.vfs.virtual.VirtualFileSystem.newResolution(VirtualFileSystem.java:209) at org.webslinger.commons.vfs.virtual.VirtualFileSystem.newResolution(VirtualFileSystem.java:44) at org.webslinger.commons.vfs.GenerationalFileSystem.resolve(GenerationalFileSystem.java:28) at org.webslinger.commons.vfs.GenerationalFileObject.getResolution(GenerationalFileObject.java:27) at org.webslinger.commons.vfs.GenerationalFileObject.getFile(GenerationalFileObject.java:35) at org.webslinger.commons.vfs.LayeredFileObject.doCreateFolder(LayeredFileObject.java:84) at org.webslinger.commons.vfs.BasicGenerifiedFileObject.createFolder(BasicGenerifiedFileObject.java:171) at org.webslinger.modules.GenericWorkAreaFactory.<init>(GenericWorkAreaFactory.java:30) at org.webslinger.modules.StandardModuleState.<init>(StandardModuleState.java:41) at org.webslinger.AbstractWebslingerServletContextFactory.newWebslingerServletContext(AbstractWebslingerServletContext Factory.java:90) at org.webslinger.AbstractMappingWebslingerServletContextFactory.newWebslingerServletContext(AbstractMappingWebslinger ServletContextFactory.java:134) at org.webslinger.AbstractMappingWebslingerServletContextFactory$2.createValue(AbstractMappingWebslingerServletContext Factory.java:40) at org.webslinger.AbstractMappingWebslingerServletContextFactory$2.createValue(AbstractMappingWebslingerServletContext Factory.java:38) at org.webslinger.lang.AbstractCache$ConcurrentDelegate.get(AbstractCache.java:123) at org.webslinger.lang.AbstractCache.get(AbstractCache.java:287) at org.webslinger.lang.AbstractCache.get(AbstractCache.java:283) at org.webslinger.lang.ConcurrentFreezableCache.get(ConcurrentFreezableCache.java:25) at org.webslinger.AbstractMappingWebslingerServletContextFactory.getContext(AbstractMappingWebslingerServletContextFac tory.java:124) at org.webslinger.AbstractMappingWebslingerServletContextFactory$ContextTTLObject.load(AbstractMappingWebslingerServle tContextFactory.java:199) at org.webslinger.AbstractMappingWebslingerServletContextFactory$ContextTTLObject.load(AbstractMappingWebslingerServle tContextFactory.java:188) at org.webslinger.util.TTLObject.load(TTLObject.java:339) at org.webslinger.util.TTLObject$ValueAndState$1.call(TTLObject.java:158) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at org.webslinger.util.TTLObject.getObject(TTLObject.java:312) at org.webslinger.AbstractMappingWebslingerServletContextFactory.getWebslingerServletContext(AbstractMappingWebslinger ServletContextFactory.java:105) Regards, Kaushik On Wed, Feb 24, 2010 at 8:35 AM, Adam Heath <[hidden email]> wrote: > Kaushik Chakraborty wrote: > > Hi, > > > > I am receiving the following every time I am accessing any site built > using WebSlinger: > > > > javax.servlet.ServletException: Unknown message with code "Premature end > of file.". > > > org.webslinger.AbstractMappingWebslingerServletContextFactory.getWebslingerServletContext(AbstractMappingWebslingerServletContextFactory.java:111) > > > org.webslinger.servlet.WebslingerServlet.service(WebslingerServlet.java:45) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > How did you build a site with webslinger? What version of ofbiz were > you using? > > Look for .cowstate.xml files with a 0-byte size. > > > |
Free forum by Nabble | Edit this page |