Actually, looks like my Red Hat host is JRE is 1.4.x, does the Saxon
upgrade now requires the 1.5 JRE?
*P -------- Original Message --------
Hi: Just deployed the 3.0.1.200604150008 nightly build on a Red at server under Tomcat 5.0 an am getting java.lang.NoClassDefFoundError: javax/xml/xpath/XPath (for example, see http://opendatafoundation.org/ops/goto-example/xforms-controls and click on view source) As this error also seem to show up in the http://forge.objectweb.org/nightlybuilds/ops/ops/build.log, is it a temporary problem that you are aware of or something I need to work on server side. The same release seems to work fine on my XP localhost under Eclipse / Tomcat 4.1 thanks *P -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
It should not, but now that you are mentioning it, I do see the error in
the build, and an issue with eXist as well. I entered a bug: http://forge.objectweb.org/tracker/index.php?func=detail&aid=305021&group_id=168&atid=350207 You may have luck with just adding jsr173_1.0_api.jar to WEB-INF/lib. This is the JAR that contains javax.xml.xpath. But Saxon is not supposed to longer depend on this. However your link below works. -Erik Pascal Heus wrote: > Actually, looks like my Red Hat host is JRE is 1.4.x, does the Saxon > upgrade now requires the 1.5 JRE? > *P > > -------- Original Message -------- > Subject: java.lang.NoClassDefFoundError: javax/xml/xpath/XPath > Date: Tue, 18 Apr 2006 20:33:55 -0400 > From: Pascal Heus <[hidden email]> > To: [hidden email] > > > > Hi: > Just deployed the 3.0.1.200604150008 nightly build on a Red at server > under Tomcat 5.0 an am getting java.lang.NoClassDefFoundError: > javax/xml/xpath/XPath > (for example, see > http://opendatafoundation.org/ops/goto-example/xforms-controls and click > on view source) > As this error also seem to show up in the > http://forge.objectweb.org/nightlybuilds/ops/ops/build.log, is it a > temporary problem that you are aware of or something I need to work on > server side. The same release seems to work fine on my XP localhost > under Eclipse / Tomcat 4.1 > thanks > *P -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik:
thanks for the feedback. Any chance that this will be in for a quick fix or could it potentially hang around for a while? Tried the jsr173 trick but didn't seem to work (will investigate more). The page at http://opendatafoundation.org/ops/goto-example/xforms-controls works but fails to display the source code. <p/> Erik Bruchez wrote: It should not, but now that you are mentioning it, I do see the error in the build, and an issue with eXist as well. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
> thanks for the feedback. Any chance that this will be in for a quick
> fix or could it potentially hang around for a while? Tried the > jsr173 trick but didn't seem to work (will investigate more). Yes, we want to fix this fairly soon: it is important that OPS keeps working with JDK 1.4.2. This problem doesn't seem to occur in all circumstances though: I am running an app with the latest code on a Linux JDK 1.4.2, and haven't seen an issue yet. > The page at > http://opendatafoundation.org/ops/goto-example/xforms-controls works but > fails to display the source code. It seems to work for me: I still don't see an error there. -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Erik Bruchez wrote:
> > thanks for the feedback. Any chance that this will be in for a quick > > fix or could it potentially hang around for a while? Tried the > > jsr173 trick but didn't seem to work (will investigate more). > > Yes, we want to fix this fairly soon: it is important that OPS keeps > working with JDK 1.4.2. This problem doesn't seem to occur in all > circumstances though: I am running an app with the latest code on a > Linux JDK 1.4.2, and haven't seen an issue yet. > > > The page at > > http://opendatafoundation.org/ops/goto-example/xforms-controls works but > > fails to display the source code. > > It seems to work for me: I still don't see an error there. you could take a nightly build and see if that fixes your problem with JDK 1.4.2. -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik:
I tried a clean install of 20060426 under Eclipse Studio (deleted the project and the folder, imported from WAR, restarted Eclipse with -clean option) but the problem persists. The server behaves OK when I use the 20060416 nightly build (the View Source and other xml 2 html conversions wok fine). I do however see a double entry and a log4j issue in the startup trace (not sure if this is normal, see below). Should I give up on Eclipse Studio? What would be an alternate configuration under Eclipse? Will let you know if I find anything but may stick to 20060416 for now as I'm in the middle of a project component due next week... Let me know if you have any suggestion. later, Pascal Apr 26, 2006 7:25:43 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8888 Starting service Tomcat-Standalone Apache Tomcat/4.1.30 Starting PresentationServer Release 3.0.1.200604150008 Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@1bde4, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} 2006-04-26 07:25:47,321 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - About to run processor: [{http://www.orbeon.com/oxf/processors}pipeline, config -> oxf:/context/servlet-initialized.xpl] 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.processor.DebugProcessor null - message: oxf:/context/servlet-initialized.xpl, line 19, column 46 <message xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.webapp.ProcessorService null - Done running processor - Timing: 120 - Cache hits: 1, fault: 4, adds: 4, success rate: 20% 2006-04-26 07:25:47,601 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 2006-04-26 07:25:47,601 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 2006-04-26 07:25:47,752 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-04-26 07:25:47,752 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-04-26 07:25:47,762 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validator-rules.xml' 2006-04-26 07:25:47,802 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validation.xml' 2006-04-26 07:25:47,912 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true Starting PresentationServer Release 3.0.1.200604150008 Initializing Resource Manager with: {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@fe0fd9, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.webapp.rootdir=/WEB-INF/resources} log4j:ERROR exception setting timeout, shutting down server socket. 2006-04-26 07:25:50,846 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - Servlet initialized. at java.lang.Thread.run(Thread.java:595) 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService null - Servlet - About to run processor: [{http://www.orbeon.com/oxf/processors}pipeline, config -> oxf:/context/servlet-initialized.xpl] 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.processor.DebugProcessor null - message: oxf:/context/servlet-initialized.xpl, line 19, column 46 <message xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.webapp.ProcessorService null - Done running processor - Timing: 100 - Cache hits: 1, fault: 4, adds: 4, success rate: 20% 2006-04-26 07:25:51,026 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 2006-04-26 07:25:51,026 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 2006-04-26 07:25:51,237 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-04-26 07:25:51,247 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ApplicationResources', returnNull=true 2006-04-26 07:25:51,257 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validator-rules.xml' 2006-04-26 07:25:51,317 INFO org.apache.struts.validator.ValidatorPlugIn null - Loading validation rules file from '/WEB-INF/validation.xml' 2006-04-26 07:25:51,427 INFO org.apache.struts.util.PropertyMessageResources null - Initializing, config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true Apr 26, 2006 7:25:51 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8888 Erik Bruchez wrote: Pascal, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Pascal,
The changes in the latest builds should definitely not impact how OPS works in Eclipse. From your stack trace, it looks like Tomcat is either starting twice, and the second Tomcat will not work. Try to find under the Eclipse workspace (or plugins) a file called server.xml, and check whether there are multiple such files, and/or such files with same ports. Make sure there is only one server.xml file left. You can always use an external Tomcat to work around the problem. This will not prevent you to see the XPL debug information appear in Eclipse. -Erik Pascal Heus wrote: > Erik: > I tried a clean install of 20060426 under Eclipse Studio (deleted the > project and the folder, imported from WAR, restarted Eclipse with -clean > option) but the problem persists. The server behaves OK when I use the > 20060416 nightly build (the View Source and other xml 2 html conversions > wok fine). > I do however see a double entry and a log4j issue in the startup trace > (not sure if this is normal, see below). > Should I give up on Eclipse Studio? What would be an alternate > configuration under Eclipse? > Will let you know if I find anything but may stick to 20060416 for now > as I'm in the middle of a project component due next week... > Let me know if you have any suggestion. > later, > Pascal > > Apr 26, 2006 7:25:43 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on port 8888 > Starting service Tomcat-Standalone > Apache Tomcat/4.1.30 > *Starting PresentationServer Release 3.0.1.200604150008 > Initializing Resource Manager with:* > {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@1bde4, > oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, > oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, > oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, > oxf.resources.webapp.rootdir=/WEB-INF/resources} > 2006-04-26 07:25:47,321 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - Servlet initialized. > 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - Servlet initialized. > 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - About to run processor: > [{http://www.orbeon.com/oxf/processors}pipeline, config -> > oxf:/context/servlet-initialized.xpl] > 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.processor.DebugProcessor > null - message: > oxf:/context/servlet-initialized.xpl, line 19, column 46 > > <message xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> > 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.webapp.ProcessorService > null - Done running processor - Timing: 120 - Cache hits: 1, fault: 4, > adds: 4, success rate: 20% > 2006-04-26 07:25:47,601 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.apache.struts.util.LocalStrings', returnNull=true > 2006-04-26 07:25:47,601 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.apache.struts.action.ActionResources', returnNull=true > 2006-04-26 07:25:47,752 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ApplicationResources', > returnNull=true > 2006-04-26 07:25:47,752 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ApplicationResources', > returnNull=true > 2006-04-26 07:25:47,762 INFO > org.apache.struts.validator.ValidatorPlugIn null - Loading validation > rules file from '/WEB-INF/validator-rules.xml' > 2006-04-26 07:25:47,802 INFO > org.apache.struts.validator.ValidatorPlugIn null - Loading validation > rules file from '/WEB-INF/validation.xml' > 2006-04-26 07:25:47,912 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true > *Starting PresentationServer Release 3.0.1.200604150008 > Initializing Resource Manager with:* > {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@fe0fd9, > oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, > oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, > oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, > oxf.resources.webapp.rootdir=/WEB-INF/resources} > *log4j:ERROR exception setting timeout, shutting down server socket. > 2006-04-26 07:25:50,846 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - Servlet initialized. > java.net.BindException: Address already in use: JVM_Bind* > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.<init>(ServerSocket.java:185) > at java.net.ServerSocket.<init>(ServerSocket.java:97) > at > org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) > 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - Servlet initialized. > at java.lang.Thread.run(Thread.java:595) > 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService > null - Servlet - About to run processor: > [{http://www.orbeon.com/oxf/processors}pipeline, config -> > oxf:/context/servlet-initialized.xpl] > 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.processor.DebugProcessor > null - message: > oxf:/context/servlet-initialized.xpl, line 19, column 46 > > <message xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet initialized.</message> > 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.webapp.ProcessorService > null - Done running processor - Timing: 100 - Cache hits: 1, fault: 4, > adds: 4, success rate: 20% > 2006-04-26 07:25:51,026 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.apache.struts.util.LocalStrings', returnNull=true > 2006-04-26 07:25:51,026 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.apache.struts.action.ActionResources', returnNull=true > 2006-04-26 07:25:51,237 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ApplicationResources', > returnNull=true > 2006-04-26 07:25:51,247 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ApplicationResources', > returnNull=true > 2006-04-26 07:25:51,257 INFO > org.apache.struts.validator.ValidatorPlugIn null - Loading validation > rules file from '/WEB-INF/validator-rules.xml' > 2006-04-26 07:25:51,317 INFO > org.apache.struts.validator.ValidatorPlugIn null - Loading validation > rules file from '/WEB-INF/validation.xml' > 2006-04-26 07:25:51,427 INFO > org.apache.struts.util.PropertyMessageResources null - Initializing, > config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true > Apr 26, 2006 7:25:51 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on port 8888 > > > Erik Bruchez wrote: >> Pascal, >> >> I don't see any such issue locally. The Eclipse issue in particular is >> most likely not related to the latest code. Can you try restarting >> eclipse and making sure all your JAR file are correctly updated with >> the latest build's? >> >> -Erik >> >> Pascal Heus wrote: >>> Erik: >>> before I deploy to our main server, I noticed the trace below when I >>> start the latest build under Eclipse. Looks like the server tries to >>> start twice. >>> Also, the xml to html conversion does work properly (see >>> screenshots). This is a feature I use in many places.... >>> The build I was using before was 20060416, may need to revert and >>> investigate a bit more.... >>> later, >>> *P >>> >>> >>> >>> >>> >>> Apr 25, 2006 10:58:33 PM org.apache.coyote.http11.Http11Protocol init >>> INFO: Initializing Coyote HTTP/1.1 on port 8888 >>> Starting service Tomcat-Standalone >>> Apache Tomcat/4.1.30 >>> Starting PresentationServer Release 3.0.1.200604260222 >>> Initializing Resource Manager with: >>> {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@1b06041, >>> oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, >>> oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, >>> oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, >>> oxf.resources.webapp.rootdir=/WEB-INF/resources} >>> IN CONFIGURE >>> cluster.journal.maxStore 65000 >>> cluster.journal.shift 100 >>> Scanning journal [= >>> ] (2 %) >>> Scanning journal [========================== >>> ] (52 %) >>> Starting PresentationServer Release 3.0.1.200604260222 >>> Initializing Resource Manager with: >>> {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@831a91, >>> oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, >>> oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, >>> oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, >>> oxf.resources.webapp.rootdir=/WEB-INF/resources} >>> log4j:ERROR exception setting timeout, shutting down server socket. >>> IN CONFIGURE >>> java.net.BindException: Address already in use: JVM_Bind >>> cluster.journal.maxStore 65000 >>> at java.net.PlainSocketImpl.socketBind(Native Method) >>> cluster.journal.shift 100 >>> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) >>> at java.net.ServerSocket.bind(ServerSocket.java:319) >>> at java.net.ServerSocket.<init>(ServerSocket.java:185) >>> at java.net.ServerSocket.<init>(ServerSocket.java:97) >>> at >>> org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) >>> >>> at java.lang.Thread.run(Thread.java:595) >>> java.io.IOException: The process cannot access the file because >>> another process has locked a portion of the file >>> at java.io.RandomAccessFile.readBytes(Native Method) >>> at java.io.RandomAccessFile.read(RandomAccessFile.java:335) >>> at org.exist.storage.btree.Paged$FileHeader.read(Paged.java:701) >>> at org.exist.storage.btree.Paged.open(Paged.java:344) >>> at org.exist.storage.btree.BTree.open(BTree.java:187) >>> at org.exist.storage.dom.DOMFile.open(DOMFile.java:1340) >>> at org.exist.storage.dom.DOMFile.<init>(DOMFile.java:182) >>> at org.exist.storage.NativeBroker.<init>(NativeBroker.java:242) >>> at >>> org.exist.storage.BrokerFactory.getInstance(BrokerFactory.java:34) >>> at org.exist.storage.BrokerPool.createBroker(BrokerPool.java:892) >>> at org.exist.storage.BrokerPool.initialize(BrokerPool.java:624) >>> at org.exist.storage.BrokerPool.<init>(BrokerPool.java:547) >>> at org.exist.storage.BrokerPool.configure(BrokerPool.java:157) >>> at org.exist.storage.BrokerPool.configure(BrokerPool.java:131) >>> at >>> org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:390) >>> at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:104) >>> at >>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) >>> >>> at >>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) >>> at >>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3427) >>> >>> at >>> org.apache.catalina.core.StandardContext.start(StandardContext.java:3628) >>> >>> at >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) >>> at >>> org.apache.catalina.core.StandardHost.start(StandardHost.java:754) >>> at >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) >>> at >>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) >>> at >>> org.apache.catalina.core.StandardService.start(StandardService.java:497) >>> at >>> org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) >>> at org.apache.catalina.startup.Catalina.start(Catalina.java:512) >>> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) >>> at org.apache.catalina.startup.Catalina.process(Catalina.java:180) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> >>> at java.lang.reflect.Method.invoke(Method.java:585) >>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) >>> Apr 25, 2006 10:58:43 PM org.apache.coyote.http11.Http11Protocol start >>> INFO: Starting Coyote HTTP/1.1 on port 8888 >>> >>> Erik Bruchez wrote: >>>> Thanks! >>>> >>>> -Erik >>>> >>>> Pascal Heus wrote: >>>>> Erik: >>>>> will pick up the new build and downgrade to 1.4.2 for testing asap, >>>>> hopefully tomorrow and Thursday. Will keep you posted. >>>>> later >>>>> *P >>>>> >>>>> Erik Bruchez wrote: >>>>>> Erik Bruchez wrote: >>>>>>> > thanks for the feedback. Any chance that this will be in for a >>>>>>> quick >>>>>>> > fix or could it potentially hang around for a while? Tried the >>>>>>> > jsr173 trick but didn't seem to work (will investigate more). >>>>>>> >>>>>>> Yes, we want to fix this fairly soon: it is important that OPS keeps >>>>>>> working with JDK 1.4.2. This problem doesn't seem to occur in all >>>>>>> circumstances though: I am running an app with the latest code on a >>>>>>> Linux JDK 1.4.2, and haven't seen an issue yet. >>>>>>> >>>>>>> > The page at >>>>>>> > http://opendatafoundation.org/ops/goto-example/xforms-controls >>>>>>> works but >>>>>>> > fails to display the source code. >>>>>>> >>>>>>> It seems to work for me: I still don't see an error there. >>>>>> >>>>>> I did find one source for this error and fixed it. It would be >>>>>> great if you could take a nightly build and see if that fixes your >>>>>> problem with JDK 1.4.2. >>>>>> >>>>>> -Erik >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> You receive this message as a subscriber of the >>>>>> [hidden email] mailing list. >>>>>> To unsubscribe: mailto:[hidden email] >>>>>> For general help: mailto:[hidden email]?subject=help >>>>>> ObjectWeb mailing lists service home page: >>>>>> http://www.objectweb.org/wws >>>>>> >>>>> >>>> >>>> >>> >> >> > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik:
Fixed one of the problems. There were two <Context> entries in the .oxfContainers/Internal Tomcat/conf/server.xml file: <Context crossContext="true" debug="0" docBase="C:/eclipse-workspace/orbeon" path="" reloadable="true" workDir="C:/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/orbeon/orbeon.oxfstudio.eclipse/work"/> <Context crossContext="true" debug="0" docBase="C:/eclipse-workspace/orbeon" path="/ops" reloadable="true" workDir="C:/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/orbeon/orbeon.oxfstudio.eclipse/work"/> This likely happened when I changed the value of the context in the project properties a few weeks ago. The original 'root' context probably never got deleted after the change and was hanging around. You may want to log this as a bug in Studio (if it's still being maintained). I then tried the latest build again but still have the source formatting problem. The Eclipse console also no longer shows the call traces. This does work fine under my local Tomcat 5.5 so it is clearly an Eclipse configuration problem. Will keep you posted on progress. thanks *P Erik Bruchez wrote: > Pascal, > > The changes in the latest builds should definitely not impact how OPS > works in Eclipse. > > From your stack trace, it looks like Tomcat is either starting twice, > and the second Tomcat will not work. > > Try to find under the Eclipse workspace (or plugins) a file called > server.xml, and check whether there are multiple such files, and/or > such files with same ports. Make sure there is only one server.xml > file left. > > You can always use an external Tomcat to work around the problem. This > will not prevent you to see the XPL debug information appear in Eclipse. > > -Erik > > Pascal Heus wrote: >> Erik: >> I tried a clean install of 20060426 under Eclipse Studio (deleted the >> project and the folder, imported from WAR, restarted Eclipse with >> -clean option) but the problem persists. The server behaves OK when I >> use the 20060416 nightly build (the View Source and other xml 2 html >> conversions wok fine). >> I do however see a double entry and a log4j issue in the startup >> trace (not sure if this is normal, see below). >> Should I give up on Eclipse Studio? What would be an alternate >> configuration under Eclipse? >> Will let you know if I find anything but may stick to 20060416 for >> now as I'm in the middle of a project component due next week... >> Let me know if you have any suggestion. >> later, >> Pascal >> >> Apr 26, 2006 7:25:43 AM org.apache.coyote.http11.Http11Protocol init >> INFO: Initializing Coyote HTTP/1.1 on port 8888 >> Starting service Tomcat-Standalone >> Apache Tomcat/4.1.30 >> *Starting PresentationServer Release 3.0.1.200604150008 >> Initializing Resource Manager with:* >> {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@1bde4, >> oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, >> oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, >> oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, >> oxf.resources.webapp.rootdir=/WEB-INF/resources} >> 2006-04-26 07:25:47,321 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - Servlet initialized. >> 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - Servlet initialized. >> 2006-04-26 07:25:47,381 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - About to run processor: >> [{http://www.orbeon.com/oxf/processors}pipeline, config -> >> oxf:/context/servlet-initialized.xpl] >> 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.processor.DebugProcessor >> null - message: >> oxf:/context/servlet-initialized.xpl, line 19, column 46 >> >> <message xmlns:oxf="http://www.orbeon.com/oxf/processors" >> xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet >> initialized.</message> >> 2006-04-26 07:25:47,501 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Done running processor - Timing: 120 - Cache hits: 1, fault: >> 4, adds: 4, success rate: 20% >> 2006-04-26 07:25:47,601 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.apache.struts.util.LocalStrings', returnNull=true >> 2006-04-26 07:25:47,601 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.apache.struts.action.ActionResources', returnNull=true >> 2006-04-26 07:25:47,752 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ApplicationResources', >> returnNull=true >> 2006-04-26 07:25:47,752 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ApplicationResources', >> returnNull=true >> 2006-04-26 07:25:47,762 INFO >> org.apache.struts.validator.ValidatorPlugIn null - Loading validation >> rules file from '/WEB-INF/validator-rules.xml' >> 2006-04-26 07:25:47,802 INFO >> org.apache.struts.validator.ValidatorPlugIn null - Loading validation >> rules file from '/WEB-INF/validation.xml' >> 2006-04-26 07:25:47,912 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true >> *Starting PresentationServer Release 3.0.1.200604150008 >> Initializing Resource Manager with:* >> {org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContext@fe0fd9, >> oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, >> oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, >> oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, >> oxf.resources.webapp.rootdir=/WEB-INF/resources} >> *log4j:ERROR exception setting timeout, shutting down server socket. >> 2006-04-26 07:25:50,846 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - Servlet initialized. >> java.net.BindException: Address already in use: JVM_Bind* >> at java.net.PlainSocketImpl.socketBind(Native Method) >> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) >> at java.net.ServerSocket.bind(ServerSocket.java:319) >> at java.net.ServerSocket.<init>(ServerSocket.java:185) >> at java.net.ServerSocket.<init>(ServerSocket.java:97) >> at >> org.apache.log4j.net.SocketHubAppender$ServerMonitor.run(SocketHubAppender.java:348) >> >> 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - Servlet initialized. >> at java.lang.Thread.run(Thread.java:595) >> 2006-04-26 07:25:50,886 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Servlet - About to run processor: >> [{http://www.orbeon.com/oxf/processors}pipeline, config -> >> oxf:/context/servlet-initialized.xpl] >> 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.processor.DebugProcessor >> null - message: >> oxf:/context/servlet-initialized.xpl, line 19, column 46 >> >> <message xmlns:oxf="http://www.orbeon.com/oxf/processors" >> xmlns:p="http://www.orbeon.com/oxf/pipeline">Servlet >> initialized.</message> >> 2006-04-26 07:25:50,986 INFO org.orbeon.oxf.webapp.ProcessorService >> null - Done running processor - Timing: 100 - Cache hits: 1, fault: >> 4, adds: 4, success rate: 20% >> 2006-04-26 07:25:51,026 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.apache.struts.util.LocalStrings', returnNull=true >> 2006-04-26 07:25:51,026 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.apache.struts.action.ActionResources', returnNull=true >> 2006-04-26 07:25:51,237 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ApplicationResources', >> returnNull=true >> 2006-04-26 07:25:51,247 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ApplicationResources', >> returnNull=true >> 2006-04-26 07:25:51,257 INFO >> org.apache.struts.validator.ValidatorPlugIn null - Loading validation >> rules file from '/WEB-INF/validator-rules.xml' >> 2006-04-26 07:25:51,317 INFO >> org.apache.struts.validator.ValidatorPlugIn null - Loading validation >> rules file from '/WEB-INF/validation.xml' >> 2006-04-26 07:25:51,427 INFO >> org.apache.struts.util.PropertyMessageResources null - Initializing, >> config='org.orbeon.oxf.struts.examples.ModuleResources', returnNull=true >> Apr 26, 2006 7:25:51 AM org.apache.coyote.http11.Http11Protocol start >> INFO: Starting Coyote HTTP/1.1 on port 8888 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |