I'm trying to run orbeon on Caucho's Resin web server. I get the
following message: Starting Orbeon Forms Release 3.6.0.200804020024 [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: orbeon/apache/xml/serialize/OutputFormat [10:10:26.774] {resin-42} at org.orbeon.oxf.resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java:54) [10:10:26.774] {resin-42} at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) [10:10:26.774] {resin-42} at org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) [10:10:26.774] {resin-42} at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) [10:10:26.774] {resin-42} at javax.servlet.GenericServlet.init(GenericServlet.java:70) [10:10:26.774] {resin-42} at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) [10:10:26.774] {resin-42} at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) [10:10:26.774] {resin-42} at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) [10:10:26.774] {resin-42} at com.caucho.server.webapp.WebApp.start(WebApp.java:1860) [10:10:26.774] {resin-42} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) [10:10:26.774] {resin-42} at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630) [10:10:26.774] {resin-42} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:177) [10:10:26.774] {resin-42} at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:789) [10:10:26.774] {resin-42} at com.caucho.util.Alarm.handleAlarm(Alarm.java:375) [10:10:26.774] {resin-42} at com.caucho.util.Alarm.run(Alarm.java:345) [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) [10:10:26.774] {resin-42} at java.lang.Thread.run(Thread.java:619) [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] active I get the same behavior on earlier versions of Resin and on the stable released version of Orbeon. I assume that there is some way to correct this with a change in the web.xml file or something similar. A related question that isn't so clear to me is how to incorporate Orbeon in an existing web application. Thanks, Dave Forslund -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Try moving WEB-INF/lib/private/xerces-xercesImpl-2_9_orbeon_20070711
to WEB-INF/lib. Maybe that will help. -Erik On Apr 2, 2008, at 9:14 AM, David Forslund wrote: > I'm trying to run orbeon on Caucho's Resin web server. I get the > following message: > > Starting Orbeon Forms Release 3.6.0.200804020024 > [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: orbeon/ > apache/xml/serialize/OutputFormat > [10:10:26.774] {resin-42} at > org > .orbeon > .oxf.resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java: > 54) > [10:10:26.774] {resin-42} at > org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) > [10:10:26.774] {resin-42} at > org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) > [10:10:26.774] {resin-42} at > org > .orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java: > 72) > [10:10:26.774] {resin-42} at > javax.servlet.GenericServlet.init(GenericServlet.java:70) > [10:10:26.774] {resin-42} at > com > .caucho > .server > .dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java: > 830) > [10:10:26.774] {resin-42} at > com > .caucho > .server > .dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) > [10:10:26.774] {resin-42} at > com.caucho.server.dispatch.ServletManager.init(ServletManager.java: > 159) > [10:10:26.774] {resin-42} at > com.caucho.server.webapp.WebApp.start(WebApp.java:1860) > [10:10:26.774] {resin-42} at > com > .caucho > .server.deploy.DeployController.startImpl(DeployController.java:667) > [10:10:26.774] {resin-42} at > com > .caucho > .server.deploy.DeployController.restartImpl(DeployController.java:630) > [10:10:26.774] {resin-42} at > com > .caucho > .server > .deploy > .StartAutoRedeployAutoStrategy > .alarm(StartAutoRedeployAutoStrategy.java:177) > [10:10:26.774] {resin-42} at > com > .caucho > .server.deploy.DeployController.handleAlarm(DeployController.java:789) > [10:10:26.774] {resin-42} at > com.caucho.util.Alarm.handleAlarm(Alarm.java:375) > [10:10:26.774] {resin-42} at > com.caucho.util.Alarm.run(Alarm.java:345) > [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool > $Item.runTasks(ThreadPool.java:721) > [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool > $Item.run(ThreadPool.java:643) > [10:10:26.774] {resin-42} at java.lang.Thread.run(Thread.java: > 619) > [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] active > > I get the same behavior on earlier versions of Resin and on the > stable released version of Orbeon. I assume that there is some way > to correct this with a change in the web.xml file or something > similar. > A related question that isn't so clear to me is how to incorporate > Orbeon in an existing web application. > > Thanks, > > Dave Forslund > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Erik Bruchez wrote:
> Try moving WEB-INF/lib/private/xerces-xercesImpl-2_9_orbeon_20070711 > to WEB-INF/lib. that changed it anyway. Now it says Starting Orbeon Forms Release 3.6.0.200804020024 Initializing Resource Manager with: {oxf.resources.priority.1.oxf.resources.weba pp.rootdir=/WEB-INF/resources, oxf.resources.priority.1=org.orbeon.oxf.resources .WebAppResourceManagerFactory, oxf.resources.priority.2=org.orbeon.oxf.resources .ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resourc es.PriorityResourceManagerFactory, org.orbeon.oxf.resources.WebAppResourceManage rImplServletContext=WebApp[http://localhost:8080/orbeon]} [13:19:48.413] {http--8080-0} java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [13:19:48.413] {http--8080-0} at org.quartz.impl.StdSchedulerFactory.<init>(StdSchedulerFactory.java:247) [13:19:48.413] {http--8080-0} at org.exist.scheduler.Scheduler.<init>(Scheduler.java:110) [13:19:48.413] {http--8080-0} at org.exist.storage.BrokerPool.<init>(BrokerPool.java:601) [13:19:48.413] {http--8080-0} at org.exist.storage.BrokerPool.configure(BrokerPool.java:198) [13:19:48.413] {http--8080-0} at org.exist.storage.BrokerPool.configure(BrokerPool.java:172) [13:19:48.413] {http--8080-0} at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:624) [13:19:48.413] {http--8080-0} at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:114) [13:19:48.413] {http--8080-0} at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) [13:19:48.413] {http--8080-0} at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) [13:19:48.413] {http--8080-0} at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) [13:19:48.413] {http--8080-0} at com.caucho.server.webapp.WebApp.start(WebApp.java:1860) [13:19:48.413] {http--8080-0} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) [13:19:48.413] {http--8080-0} at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630) [13:19:48.413] {http--8080-0} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125) [13:19:48.413] {http--8080-0} at com.caucho.server.deploy.DeployController.request(DeployController.java:600) [13:19:48.413] {http--8080-0} at com.caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:900) [13:19:48.413] {http--8080-0} at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:711) [13:19:48.413] {http--8080-0} at com.caucho.server.host.Host.buildInvocation(Host.java:476) [13:19:48.413] {http--8080-0} at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) [13:19:48.413] {http--8080-0} at com.caucho.server.cluster.Server.buildInvocation(Server.java:915) [13:19:48.413] {http--8080-0} at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) [13:19:48.413] {http--8080-0} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:261) [13:19:48.413] {http--8080-0} at com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) [13:19:48.413] {http--8080-0} at java.lang.Thread.run(Thread.java:619) [13:19:48.992] {http--8080-0} WebApp[http://localhost:8080/orbeon] active Thanks, Dave > Maybe that will help. > > -Erik > > On Apr 2, 2008, at 9:14 AM, David Forslund wrote: > >> I'm trying to run orbeon on Caucho's Resin web server. I get the >> following message: >> >> Starting Orbeon Forms Release 3.6.0.200804020024 >> [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: >> orbeon/apache/xml/serialize/OutputFormat >> [10:10:26.774] {resin-42} at >> org.orbeon.oxf.resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java:54) >> >> [10:10:26.774] {resin-42} at >> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) >> [10:10:26.774] {resin-42} at >> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) >> [10:10:26.774] {resin-42} at >> org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) >> >> [10:10:26.774] {resin-42} at >> javax.servlet.GenericServlet.init(GenericServlet.java:70) >> [10:10:26.774] {resin-42} at >> com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >> >> [10:10:26.774] {resin-42} at >> com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) >> >> [10:10:26.774] {resin-42} at >> com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) >> [10:10:26.774] {resin-42} at >> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >> [10:10:26.774] {resin-42} at >> com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) >> >> [10:10:26.774] {resin-42} at >> com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630) >> >> [10:10:26.774] {resin-42} at >> com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:177) >> >> [10:10:26.774] {resin-42} at >> com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:789) >> >> [10:10:26.774] {resin-42} at >> com.caucho.util.Alarm.handleAlarm(Alarm.java:375) >> [10:10:26.774] {resin-42} at >> com.caucho.util.Alarm.run(Alarm.java:345) >> [10:10:26.774] {resin-42} at >> com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) >> [10:10:26.774] {resin-42} at >> com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) >> [10:10:26.774] {resin-42} at java.lang.Thread.run(Thread.java:619) >> [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] active >> >> I get the same behavior on earlier versions of Resin and on the >> stable released version of Orbeon. I assume that there is some way >> to correct this with a change in the web.xml file or something similar. >> A related question that isn't so clear to me is how to incorporate >> Orbeon in an existing web application. >> >> Thanks, >> >> Dave Forslund >> >> >> -- >> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
It seems that there is a conflict involving either log4j.jar or the
Quartz scheduler. I assume that Resin (wrongly, like most app servers) exposes some classes to the web app. Can you try to remove one or the other of those JAR files (but back them up first). Or, does Resin support a "web app first" loading order? -Erik On Apr 2, 2008, at 12:22 PM, David Forslund wrote: > Erik Bruchez wrote: >> Try moving WEB-INF/lib/private/xerces- >> xercesImpl-2_9_orbeon_20070711 to WEB-INF/lib. > that changed it anyway. Now it says > > Starting Orbeon Forms Release 3.6.0.200804020024 > Initializing Resource Manager with: {oxf.resources.priority. > 1.oxf.resources.weba > pp.rootdir=/WEB-INF/resources, oxf.resources.priority. > 1=org.orbeon.oxf.resources > .WebAppResourceManagerFactory, oxf.resources.priority. > 2=org.orbeon.oxf.resources > .ClassLoaderResourceManagerFactory, > oxf.resources.factory=org.orbeon.oxf.resourc > es.PriorityResourceManagerFactory, > org.orbeon.oxf.resources.WebAppResourceManage > rImplServletContext=WebApp[http://localhost:8080/orbeon]} > [13:19:48.413] {http--8080-0} java.lang.NoClassDefFoundError: org/ > apache/commons/logging/LogFactory > [13:19:48.413] {http--8080-0} at > org.quartz.impl.StdSchedulerFactory.<init>(StdSchedulerFactory.java: > 247) > [13:19:48.413] {http--8080-0} at > org.exist.scheduler.Scheduler.<init>(Scheduler.java:110) > [13:19:48.413] {http--8080-0} at > org.exist.storage.BrokerPool.<init>(BrokerPool.java:601) > [13:19:48.413] {http--8080-0} at > org.exist.storage.BrokerPool.configure(BrokerPool.java:198) > [13:19:48.413] {http--8080-0} at > org.exist.storage.BrokerPool.configure(BrokerPool.java:172) > [13:19:48.413] {http--8080-0} at > org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:624) > [13:19:48.413] {http--8080-0} at > org.exist.http.servlets.EXistServlet.init(EXistServlet.java:114) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server > .dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java: > 830) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server > .dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) > [13:19:48.413] {http--8080-0} at > com.caucho.server.dispatch.ServletManager.init(ServletManager.java: > 159) > [13:19:48.413] {http--8080-0} at > com.caucho.server.webapp.WebApp.start(WebApp.java:1860) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server.deploy.DeployController.startImpl(DeployController.java:667) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server.deploy.DeployController.restartImpl(DeployController.java:630) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server > .deploy > .StartAutoRedeployAutoStrategy > .request(StartAutoRedeployAutoStrategy.java:125) > [13:19:48.413] {http--8080-0} at > com > .caucho.server.deploy.DeployController.request(DeployController.java: > 600) > [13:19:48.413] {http--8080-0} at > com > .caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java: > 900) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java: > 711) > [13:19:48.413] {http--8080-0} at > com.caucho.server.host.Host.buildInvocation(Host.java:476) > [13:19:48.413] {http--8080-0} at > com > .caucho.server.host.HostContainer.buildInvocation(HostContainer.java: > 314) > [13:19:48.413] {http--8080-0} at > com.caucho.server.cluster.Server.buildInvocation(Server.java:915) > [13:19:48.413] {http--8080-0} at > com > .caucho > .server.dispatch.DispatchServer.buildInvocation(DispatchServer.java: > 209) > [13:19:48.413] {http--8080-0} at > com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:261) > [13:19:48.413] {http--8080-0} at > com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) > [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool > $Item.runTasks(ThreadPool.java:721) > [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool > $Item.run(ThreadPool.java:643) > [13:19:48.413] {http--8080-0} at java.lang.Thread.run(Thread.java: > 619) > [13:19:48.992] {http--8080-0} WebApp[http://localhost:8080/orbeon] > active > > Thanks, > > Dave >> Maybe that will help. >> >> -Erik >> >> On Apr 2, 2008, at 9:14 AM, David Forslund wrote: >> >>> I'm trying to run orbeon on Caucho's Resin web server. I get the >>> following message: >>> >>> Starting Orbeon Forms Release 3.6.0.200804020024 >>> [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: orbeon/ >>> apache/xml/serialize/OutputFormat >>> [10:10:26.774] {resin-42} at >>> org >>> .orbeon >>> .oxf >>> .resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java:54) >>> [10:10:26.774] {resin-42} at >>> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) >>> [10:10:26.774] {resin-42} at >>> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) >>> [10:10:26.774] {resin-42} at >>> org >>> .orbeon >>> .oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) >>> [10:10:26.774] {resin-42} at >>> javax.servlet.GenericServlet.init(GenericServlet.java:70) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server >>> .dispatch >>> .ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server >>> .dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java: >>> 732) >>> [10:10:26.774] {resin-42} at >>> com.caucho.server.dispatch.ServletManager.init(ServletManager.java: >>> 159) >>> [10:10:26.774] {resin-42} at >>> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server.deploy.DeployController.startImpl(DeployController.java:667) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server.deploy.DeployController.restartImpl(DeployController.java: >>> 630) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server >>> .deploy >>> .StartAutoRedeployAutoStrategy >>> .alarm(StartAutoRedeployAutoStrategy.java:177) >>> [10:10:26.774] {resin-42} at >>> com >>> .caucho >>> .server.deploy.DeployController.handleAlarm(DeployController.java: >>> 789) >>> [10:10:26.774] {resin-42} at >>> com.caucho.util.Alarm.handleAlarm(Alarm.java:375) >>> [10:10:26.774] {resin-42} at >>> com.caucho.util.Alarm.run(Alarm.java:345) >>> [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool >>> $Item.runTasks(ThreadPool.java:721) >>> [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool >>> $Item.run(ThreadPool.java:643) >>> [10:10:26.774] {resin-42} at >>> java.lang.Thread.run(Thread.java:619) >>> [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] >>> active >>> >>> I get the same behavior on earlier versions of Resin and on the >>> stable released version of Orbeon. I assume that there is some >>> way to correct this with a change in the web.xml file or something >>> similar. >>> A related question that isn't so clear to me is how to incorporate >>> Orbeon in an existing web application. >>> >>> Thanks, >>> >>> Dave Forslund >>> >>> >>> -- >>> 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 >>> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> -- >> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >> http://www.orbeon.com/ >> > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Erik Bruchez wrote:
> It seems that there is a conflict involving either log4j.jar or the > Quartz scheduler. I assume that Resin (wrongly, like most app servers) > exposes some classes to the web app. It does expose some classes to the web app, but normally the local web app libraries take precedence. I assume you mean to remove the jar files from the main library of Resin? I moved the commons-logging-1_0_4.jar out of the private folder to the lib directory of orbeon and it seems to work fine. I don't know about the Quartz scheduler. I've had problems with other apps in Resin, but it usually has been related to the xml library that comes with the JDK. Thanks, Dave > > Can you try to remove one or the other of those JAR files (but back > them up first). Or, does Resin support a "web app first" loading order? > > -Erik > > On Apr 2, 2008, at 12:22 PM, David Forslund wrote: > >> Erik Bruchez wrote: >>> Try moving WEB-INF/lib/private/xerces-xercesImpl-2_9_orbeon_20070711 >>> to WEB-INF/lib. >> that changed it anyway. Now it says >> >> Starting Orbeon Forms Release 3.6.0.200804020024 >> Initializing Resource Manager with: >> {oxf.resources.priority.1.oxf.resources.weba >> pp.rootdir=/WEB-INF/resources, >> oxf.resources.priority.1=org.orbeon.oxf.resources >> .WebAppResourceManagerFactory, >> oxf.resources.priority.2=org.orbeon.oxf.resources >> .ClassLoaderResourceManagerFactory, >> oxf.resources.factory=org.orbeon.oxf.resourc >> es.PriorityResourceManagerFactory, >> org.orbeon.oxf.resources.WebAppResourceManage >> rImplServletContext=WebApp[http://localhost:8080/orbeon]} >> [13:19:48.413] {http--8080-0} java.lang.NoClassDefFoundError: >> org/apache/commons/logging/LogFactory >> [13:19:48.413] {http--8080-0} at >> org.quartz.impl.StdSchedulerFactory.<init>(StdSchedulerFactory.java:247) >> [13:19:48.413] {http--8080-0} at >> org.exist.scheduler.Scheduler.<init>(Scheduler.java:110) >> [13:19:48.413] {http--8080-0} at >> org.exist.storage.BrokerPool.<init>(BrokerPool.java:601) >> [13:19:48.413] {http--8080-0} at >> org.exist.storage.BrokerPool.configure(BrokerPool.java:198) >> [13:19:48.413] {http--8080-0} at >> org.exist.storage.BrokerPool.configure(BrokerPool.java:172) >> [13:19:48.413] {http--8080-0} at >> org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:624) >> [13:19:48.413] {http--8080-0} at >> org.exist.http.servlets.EXistServlet.init(EXistServlet.java:114) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.deploy.DeployController.request(DeployController.java:600) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:900) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:711) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.host.Host.buildInvocation(Host.java:476) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.cluster.Server.buildInvocation(Server.java:915) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) >> >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:261) >> [13:19:48.413] {http--8080-0} at >> com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) >> [13:19:48.413] {http--8080-0} at >> com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) >> [13:19:48.413] {http--8080-0} at >> com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) >> [13:19:48.413] {http--8080-0} at java.lang.Thread.run(Thread.java:619) >> [13:19:48.992] {http--8080-0} WebApp[http://localhost:8080/orbeon] >> active >> >> Thanks, >> >> Dave >>> Maybe that will help. >>> >>> -Erik >>> >>> On Apr 2, 2008, at 9:14 AM, David Forslund wrote: >>> >>>> I'm trying to run orbeon on Caucho's Resin web server. I get the >>>> following message: >>>> >>>> Starting Orbeon Forms Release 3.6.0.200804020024 >>>> [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: >>>> orbeon/apache/xml/serialize/OutputFormat >>>> [10:10:26.774] {resin-42} at >>>> org.orbeon.oxf.resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java:54) >>>> >>>> [10:10:26.774] {resin-42} at >>>> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) >>>> [10:10:26.774] {resin-42} at >>>> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) >>>> [10:10:26.774] {resin-42} at >>>> org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) >>>> >>>> [10:10:26.774] {resin-42} at >>>> javax.servlet.GenericServlet.init(GenericServlet.java:70) >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:732) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:177) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:789) >>>> >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.util.Alarm.handleAlarm(Alarm.java:375) >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.util.Alarm.run(Alarm.java:345) >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) >>>> [10:10:26.774] {resin-42} at >>>> com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) >>>> [10:10:26.774] {resin-42} at >>>> java.lang.Thread.run(Thread.java:619) >>>> [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] active >>>> >>>> I get the same behavior on earlier versions of Resin and on the >>>> stable released version of Orbeon. I assume that there is some way >>>> to correct this with a change in the web.xml file or something >>>> similar. >>>> A related question that isn't so clear to me is how to incorporate >>>> Orbeon in an existing web application. >>>> >>>> Thanks, >>>> >>>> Dave Forslund >>>> >>>> >>>> -- >>>> 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 >>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> -- >>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >>> http://www.orbeon.com/ >>> >> >> >> >> -- >> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
I meant remove the JAR from the Orbeon Forms WEB-INF/lib. But I did
mean commons-logging, not log4j. Anyway I'm glad you got it working! -Erik On Apr 2, 2008, at 3:25 PM, David Forslund wrote: > Erik Bruchez wrote: >> It seems that there is a conflict involving either log4j.jar or the >> Quartz scheduler. I assume that Resin (wrongly, like most app >> servers) exposes some classes to the web app. > It does expose some classes to the web app, but normally the local > web app libraries take precedence. > I assume you mean to remove the jar files from the main library of > Resin? > > I moved the commons-logging-1_0_4.jar out of the private folder to > the lib directory of orbeon and it seems to work fine. I don't > know about the Quartz scheduler. > I've had problems with other apps in Resin, but it usually has been > related to the xml library that comes with the JDK. > > Thanks, > > Dave >> >> Can you try to remove one or the other of those JAR files (but back >> them up first). Or, does Resin support a "web app first" loading >> order? >> >> -Erik >> >> On Apr 2, 2008, at 12:22 PM, David Forslund wrote: >> >>> Erik Bruchez wrote: >>>> Try moving WEB-INF/lib/private/xerces- >>>> xercesImpl-2_9_orbeon_20070711 to WEB-INF/lib. >>> that changed it anyway. Now it says >>> >>> Starting Orbeon Forms Release 3.6.0.200804020024 >>> Initializing Resource Manager with: {oxf.resources.priority. >>> 1.oxf.resources.weba >>> pp.rootdir=/WEB-INF/resources, oxf.resources.priority. >>> 1=org.orbeon.oxf.resources >>> .WebAppResourceManagerFactory, oxf.resources.priority. >>> 2=org.orbeon.oxf.resources >>> .ClassLoaderResourceManagerFactory, >>> oxf.resources.factory=org.orbeon.oxf.resourc >>> es.PriorityResourceManagerFactory, >>> org.orbeon.oxf.resources.WebAppResourceManage >>> rImplServletContext=WebApp[http://localhost:8080/orbeon]} >>> [13:19:48.413] {http--8080-0} java.lang.NoClassDefFoundError: org/ >>> apache/commons/logging/LogFactory >>> [13:19:48.413] {http--8080-0} at >>> org >>> .quartz.impl.StdSchedulerFactory.<init>(StdSchedulerFactory.java: >>> 247) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.scheduler.Scheduler.<init>(Scheduler.java:110) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.storage.BrokerPool.<init>(BrokerPool.java:601) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.storage.BrokerPool.configure(BrokerPool.java:198) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.storage.BrokerPool.configure(BrokerPool.java:172) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:624) >>> [13:19:48.413] {http--8080-0} at >>> org.exist.http.servlets.EXistServlet.init(EXistServlet.java:114) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server >>> .dispatch >>> .ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server >>> .dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java: >>> 732) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.dispatch.ServletManager.init(ServletManager.java: >>> 159) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server.deploy.DeployController.startImpl(DeployController.java:667) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server.deploy.DeployController.restartImpl(DeployController.java: >>> 630) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server >>> .deploy >>> .StartAutoRedeployAutoStrategy >>> .request(StartAutoRedeployAutoStrategy.java:125) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server.deploy.DeployController.request(DeployController.java:600) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:900) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server >>> .webapp.WebAppContainer.buildInvocation(WebAppContainer.java:711) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.host.Host.buildInvocation(Host.java:476) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server.host.HostContainer.buildInvocation(HostContainer.java:314) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.cluster.Server.buildInvocation(Server.java:915) >>> [13:19:48.413] {http--8080-0} at >>> com >>> .caucho >>> .server >>> .dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java: >>> 261) >>> [13:19:48.413] {http--8080-0} at >>> com.caucho.server.port.TcpConnection.run(TcpConnection.java:603) >>> [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool >>> $Item.runTasks(ThreadPool.java:721) >>> [13:19:48.413] {http--8080-0} at com.caucho.util.ThreadPool >>> $Item.run(ThreadPool.java:643) >>> [13:19:48.413] {http--8080-0} at >>> java.lang.Thread.run(Thread.java:619) >>> [13:19:48.992] {http--8080-0} WebApp[http://localhost:8080/orbeon] >>> active >>> >>> Thanks, >>> >>> Dave >>>> Maybe that will help. >>>> >>>> -Erik >>>> >>>> On Apr 2, 2008, at 9:14 AM, David Forslund wrote: >>>> >>>>> I'm trying to run orbeon on Caucho's Resin web server. I get >>>>> the following message: >>>>> >>>>> Starting Orbeon Forms Release 3.6.0.200804020024 >>>>> [10:10:26.774] {resin-42} java.lang.NoClassDefFoundError: orbeon/ >>>>> apache/xml/serialize/OutputFormat >>>>> [10:10:26.774] {resin-42} at >>>>> org >>>>> .orbeon >>>>> .oxf >>>>> .resources.ResourceManagerBase.<clinit>(ResourceManagerBase.java: >>>>> 54) >>>>> [10:10:26.774] {resin-42} at >>>>> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) >>>>> [10:10:26.774] {resin-42} at >>>>> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java: >>>>> 71) >>>>> [10:10:26.774] {resin-42} at >>>>> org >>>>> .orbeon >>>>> .oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) >>>>> [10:10:26.774] {resin-42} at >>>>> javax.servlet.GenericServlet.init(GenericServlet.java:70) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server >>>>> .dispatch >>>>> .ServletConfigImpl.createServletImpl(ServletConfigImpl.java:830) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server >>>>> .dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java: >>>>> 732) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho.server.dispatch.ServletManager.init(ServletManager.java: >>>>> 159) >>>>> [10:10:26.774] {resin-42} at >>>>> com.caucho.server.webapp.WebApp.start(WebApp.java:1860) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server.deploy.DeployController.startImpl(DeployController.java: >>>>> 667) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server >>>>> .deploy.DeployController.restartImpl(DeployController.java:630) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server >>>>> .deploy >>>>> .StartAutoRedeployAutoStrategy >>>>> .alarm(StartAutoRedeployAutoStrategy.java:177) >>>>> [10:10:26.774] {resin-42} at >>>>> com >>>>> .caucho >>>>> .server >>>>> .deploy.DeployController.handleAlarm(DeployController.java:789) >>>>> [10:10:26.774] {resin-42} at >>>>> com.caucho.util.Alarm.handleAlarm(Alarm.java:375) >>>>> [10:10:26.774] {resin-42} at >>>>> com.caucho.util.Alarm.run(Alarm.java:345) >>>>> [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool >>>>> $Item.runTasks(ThreadPool.java:721) >>>>> [10:10:26.774] {resin-42} at com.caucho.util.ThreadPool >>>>> $Item.run(ThreadPool.java:643) >>>>> [10:10:26.774] {resin-42} at >>>>> java.lang.Thread.run(Thread.java:619) >>>>> [10:10:27.050] {resin-42} WebApp[http://localhost:8080/orbeon] >>>>> active >>>>> >>>>> I get the same behavior on earlier versions of Resin and on the >>>>> stable released version of Orbeon. I assume that there is some >>>>> way to correct this with a change in the web.xml file or >>>>> something similar. >>>>> A related question that isn't so clear to me is how to >>>>> incorporate Orbeon in an existing web application. >>>>> >>>>> Thanks, >>>>> >>>>> Dave Forslund >>>>> >>>>> >>>>> -- >>>>> You receive this message as a subscriber of the ops- >>>>> [hidden email] mailing list. >>>>> To unsubscribe: mailto:[hidden email] >>>>> For general help: mailto:[hidden email]?subject=help >>>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>>> >>>> -- >>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >>>> http://www.orbeon.com/ >>>> >>> >>> >>> >>> -- >>> 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 >>> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> -- >> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >> http://www.orbeon.com/ >> > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |