Wonder D2W App Tomcat Deployment
Wonder D2W App Tomcat Deployment
- Subject: Wonder D2W App Tomcat Deployment
- From: Kevin Hinkson <email@hidden>
- Date: Sun, 22 Feb 2015 15:21:09 -0400
Hi,
I am able to deploy other Wonder apps to Tomcat without any problems but I cannot get even an empty D2W app to deploy. I’m attempting to deploy to Tomcat 7 Java 7 and I get the following for an empty D2W app with the only change being to enable servlet deployment:
INFO: Command line argument: -Djava.awt.headless=true
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/var/cache/tomcat7/temp
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Feb 22, 2015 7:08:32 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Feb 22, 2015 7:08:32 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Feb 22, 2015 7:08:32 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1885 ms
Feb 22, 2015 7:08:32 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 22, 2015 7:08:32 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.57
Feb 22, 2015 7:08:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Feb 22, 2015 7:08:33 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/share/tomcat7/webapps/ROOT/WEB-INF/lib/javaxml.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Feb 22, 2015 7:08:37 PM org.apache.catalina.startup.TldConfig tldScanWebXml
WARNING: Failed to process TLD with path [/WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld] and URI [/WOtaglib]. The specified path does not exist.
Feb 22, 2015 7:08:37 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: com.webobjects.taglib_1_0 is already defined
Found MainBundle at: /usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa
Classpath for WebObjects classloader is /usr/share/tomcat7/webapps/ROOT/WEB-INF/Resources/Java/:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Resources/Java/ec2test.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-cli-1.2.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-codec-1.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-io-2.2.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang3-3.1.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-logging-1.2.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/fluent-hc-4.3.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpclient-4.3.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpclient-cache-4.3.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpcore-4.3.3.jar
:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpmime-4.3.6.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-2.3.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.10.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.17.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.7.10.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.7.10.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/usr/share/tomcat7/weba
pps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaDTWGeneration.framework/WebServerResources/Java/JavaDTWGeneration.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaDirectToWeb.framework/WebServerResources/Java/JavaDirectToWeb.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaEOControl.framework/WebSe
rverResources/Java/JavaEOControl.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar:/usr/share/tomcat7/webapps/ROOT/WEB-INF/EC2Test.woa/Contents/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar
[2015-2-22 19:8:41 UTC] <localhost-startStop-1> The bundle EC2Test has malformed version number:
[2015-2-22 19:8:41 UTC] <localhost-startStop-1> Couldn't load properties file: /usr/share/tomcat7/WebObjects.properties at path: /usr/share/tomcat7
[2015-2-22 19:8:41 UTC] <localhost-startStop-1> Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle ERCoolComponents
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WODefaultUndoStackLimit=10
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> NSProjectSearchPath=("..")
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOGenerateWSDL=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOMaxHeaders=200
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOCachingEnabled=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOFrameworksBaseURL=/WebObjects/Frameworks
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAllowRapidTurnaround=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAllowsConcurrentRequestHandling=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAllowsCacheControlHeader=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOSMTPHost=smtp
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAcceptMalformedCookies=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOContextClassName=com.webobjects.jspservlet.WOServletContext
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOMissingResourceSearchEnabled=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOSessionStoreClassName=com.webobjects.jspservlet.WOServletSessionStore
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WODebuggingEnabled=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WODisplayExceptionPages=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOStatisticsStoreSessionMax=50
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAutoOpenClientApplication=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAdaptorURL=http://localhost//EC2Test/WebObjects
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOApplicationBaseURL=/WebObjects
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOAutoOpenInBrowser=false
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WOIncludeCommentsInResponse=true
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> ------------------------
<EC2Test>[2015-2-22 19:8:41 UTC] <localhost-startStop-1> WebObjects version = 5.4.3
No loader: :/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:421)
at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.webobjects.foundation.NSForwardException [java.lang.NullPointerException] null:<your.app.Application> failed instantiation. Exception thrown :
java.lang.NullPointerException: null
at com.webobjects.foundation._NSUtilities._explainInstantiationException(_NSUtilities.java:632)
at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:646)
at com.webobjects.appserver.WOApplication.primeApplication(WOApplication.java:634)
... 24 more
Caused by: java.lang.NullPointerException
at er.extensions.foundation.ERXConfigurationManager.commandLineArgumentProperties(ERXConfigurationManager.java:168)
at er.extensions.foundation.ERXConfigurationManager.applyConfiguration(ERXConfigurationManager.java:306)
at er.extensions.foundation.ERXConfigurationManager.loadConfiguration(ERXConfigurationManager.java:287)
at er.extensions.ERXExtensions.finishInitialization(ERXExtensions.java:252)
at er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1162)
at your.app.Application.<init>(Application.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:379)
at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:642)
... 25 more
Feb 22, 2015 7:08:41 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet WOServletAdaptor as unavailable
Feb 22, 2015 7:08:41 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet threw load() exception
javax.servlet.UnavailableException: Error initializing servlet adaptor: null
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Feb 22, 2015 7:08:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT has finished in 8,630 ms
Feb 22, 2015 7:08:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 22, 2015 7:08:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 22, 2015 7:08:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8719 ms
Anyone have any ideas as to what is failing?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden