Hi,
I have a requirements to use the latest Orbeon Forms, so I got the latest war and am having problems getting it to run with Tomcat 6.0.16 with Liferay 4.4.2. Below is a mix of the catalina.out and localhost.log from Tomcat 6.0.16... I know there are changes being made to the web.xml to make it work across multiple servers. Can you see anything that I would need to change in my web.xml or any other config files to get this to work? Any help would be appreciated! Regards Mark catalystic@catalystic-desktop:/opt/liferay-portal-tomcat-6.0-4.4.2$ bin/startup.sh Using CATALINA_BASE: /opt/liferay-portal-tomcat-6.0-4.4.2 Using CATALINA_HOME: /opt/liferay-portal-tomcat-6.0-4.4.2 Using CATALINA_TMPDIR: /opt/liferay-portal-tomcat-6.0-4.4.2/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.03 catalystic@catalystic-desktop:/opt/liferay-portal-tomcat-6.0-4.4.2$ Mar 10, 2008 6:05:27 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Mar 10, 2008 6:05:27 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8181 Mar 10, 2008 6:05:27 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1413 ms Mar 10, 2008 6:05:27 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 10, 2008 6:05:27 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 Mar 10, 2008 6:05:29 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.servlet.PortalSessionListener" is already configured for this context. The duplicate definition has been ignored. Mar 10, 2008 6:05:29 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.PortletSessionListenerManager" is already configured for this context. The duplicate definition has been ignored. Mar 10, 2008 6:05:29 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored. Loading jar:file:/opt/liferay-portal-tomcat-6.0-4.4.2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties Loading jar:file:/opt/liferay-portal-tomcat-6.0-4.4.2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties Starting Liferay Enterprise Portal 4.4.2 (Spurgeon / Build 4402 / February 22, 2008) 18:05:39,836 INFO [DynamicDialect:79] Determining dialect for PostgreSQL 8 18:05:39,848 INFO [DynamicDialect:102] Using dialect org.hibernate.dialect.PostgreSQLDialect 18:05:49,919 INFO [PortalUtil:2317] Portal lib url file:/opt/liferay-portal-tomcat-6.0-4.4.2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalUtil.class 18:05:49,919 INFO [PortalUtil:2342] Portal lib directory /opt/liferay-portal-tomcat-6.0-4.4.2/webapps/ROOT/WEB-INF/lib/ 18:05:49,971 INFO [PluginPackageHotDeployListener:71] Reading plugin package for the root context 18:05:52,577 INFO [HotDeployUtil:76] Initializing hot deploy manager 25340734 18:05:52,583 INFO [ServerDetector:76] Detected server tomcat 18:05:52,694 INFO [AutoDeployDir:76] Auto deploy scanner started for /home/catalystic/liferay/deploy 18:05:53,631 INFO [CustomSQLUtil:110] Database name PostgreSQL 18:05:53,632 INFO [CustomSQLUtil:164] Detected PostgreSQL with database name PostgreSQL Loading jar:file:/opt/liferay-portal-tomcat-6.0-4.4.2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties for {companyId=10097, webId=liferay.com} Mar 10, 2008 6:05:54 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.SpringServletContextListener" is already configured for this context. The duplicate definition has been ignored. Mar 10, 2008 6:05:54 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.TunnelContextListener" is already configured for this context. The duplicate definition has been ignored. Mar 10, 2008 6:05:54 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Mar 10, 2008 6:05:56 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'SpringServlet' Mar 10, 2008 6:05:59 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextListener" is already configured for this context. The duplicate definition has been ignored. 18:05:59,468 INFO [PluginPackageHotDeployListener:74] Reading plugin package for Orbeon Forms 3.6.0 18:05:59,469 WARN [PluginPackageHotDeployListener:123] Plugin package on context Orbeon Forms 3.6.0 cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file Mar 10, 2008 6:05:59 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.kernel.servlet.PortletContextListener java.lang.ExceptionInInitializerError at org.orbeon.oxf.xml.XMLConstants.<clinit>(XMLConstants.java:99) at org.orbeon.oxf.xml.dom4j.Dom4jUtils.<clinit>(Dom4jUtils.java:55) at org.orbeon.oxf.pipeline.InitUtils.getDefinitionFromMap(InitUtils.java:338) at org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:78) at javax.portlet.GenericPortlet.init(GenericPortlet.java:85) at org.orbeon.oxf.portlet.OPSPortlet.init(OPSPortlet.java:57) at javax.portlet.GenericPortlet.init(GenericPortlet.java:85) at com.liferay.portlet.CachePortlet.init(CachePortlet.java:191) at com.liferay.portlet.PortletInstanceFactory._init(PortletInstanceFactory.java:211) at com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFactory.java:104) at com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactory.java:53) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:340) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:89) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:42) at com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:45) at com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:39) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.orbeon.oxf.common.OXFException: orbeon.apache.xerces.jaxp.DocumentBuilderFactoryImpl at org.orbeon.oxf.xml.XMLUtils.<clinit>(XMLUtils.java:83) ... 41 more 18:05:59,716 INFO [PluginPackageHotDeployListener:187] Plugin package Orbeon Forms 3.6.0/Orbeon Forms 3.6.0/unknown/war registered successfully 18:05:59,717 INFO [PortletHotDeployListener:133] Registering portlets for Orbeon Forms 3.6.0 Mar 10, 2008 6:05:59 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Mar 10, 2008 6:05:59 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/orbeon] startup failed due to previous errors 18:05:59,823 INFO [PluginPackageHotDeployListener:74] Reading plugin package for Orbeon Forms 3.6.0 18:05:59,823 WARN [PluginPackageHotDeployListener:123] Plugin package on context Orbeon Forms 3.6.0 cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file 18:06:10,027 INFO [PluginPackageHotDeployListener:221] Plugin package Orbeon Forms 3.6.0/Orbeon Forms 3.6.0/unknown/war unregistered successfully Mar 10, 2008 6:06:10 PM org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener "com.liferay.portal.kernel.servlet.ThemeContextListener" is already configured for this context. The duplicate definition has been ignored. 18:06:10,249 INFO [PluginPackageHotDeployListener:74] Reading plugin package for liferay-jedi-theme 18:06:10,267 INFO [PluginPackageHotDeployListener:187] Plugin package liferay/liferay-jedi-theme/4.4.2.1/war registered successfully 18:06:10,268 INFO [ThemeHotDeployListener:77] Registering themes for liferay-jedi-theme 18:06:10,943 INFO [ThemeHotDeployListener:89] Themes for liferay-jedi-theme registered successfully Mar 10, 2008 6:06:11 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8181 Mar 10, 2008 6:06:11 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8010 Mar 10, 2008 6:06:11 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/18 config=null Mar 10, 2008 6:06:11 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 43892 ms 18:08:52,290 INFO [PluginPackageUtil:1133] Reloading repositories -- 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
|
XMLConstants just depends on the dom4j JAR. Is it possible that you
have conflicting, duplicate JAR files? Or maybe you have a corrupted JAR file somewhere? -Erik -- 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 |