tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Baktiar <dbakt...@gmail.com>
Subject Re: Tomcat 7.0.50 on IBM i series - System i V7R1 - Installation errors
Date Sun, 02 Feb 2014 01:56:12 GMT
Option #1 you manage to get it successfully running in one box but failed
when deploying to second one.
Option #2 you haven't managed to get it working on both box

What possibilities that I can think of:
You seemed to have a cluttered path and libraries set forth by the user or
environment configuration. It probably mixed up different version of Tomcat
as it is evident that there are another tomcat libraries inside your
java.libraries.path. Somewhere piece of configuration there make it picked
up the wrong libraries, e.g. for older Tomcat packaged with your QSYS.




On Sat, Feb 1, 2014 at 4:01 AM, Jakati, Shekar <Shekar.Jakati@lfg.com>wrote:

> Hello friends,
>
>    We are new to using Tomcat. Installed Apache Tomcat on our development
> box and runs great.
>
> Tried to install Apache 7.0.50 on our production box with similar
> configuration i.e. 'IBM Series System I running V7R1 'and get the below
> error.  Part of the "catalina.2014-01-31" log file is attached.
> Unable to figure out what is causing this problem. Any help or pointers is
> much appreciated.
> *******
> Jan 31, 2014 9:55:56 AM org.apache.catalina.core.AprLifecycleListener init
> Jan 31, 2014 10:02:26 AM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["http-bio-8080"]
> Jan 31, 2014 10:02:27 AM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
> Jan 31, 2014 10:02:27 AM org.apache.catalina.core.StandardService
> stopInternal
> INFO: Stopping service Catalina
> Jan 31, 2014 10:02:27 AM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["http-bio-8080"]
> Jan 31, 2014 10:02:27 AM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
> Jan 31, 2014 10:02:28 AM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-bio-8080"]
> Jan 31, 2014 10:02:28 AM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
> Jan 31, 2014 10:03:05 AM 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:
> /QSYS.LIB/NQSYS.LIB:/QSYS.LIB:/QSYS.LIB/QSYS2.LIB:/QSYS.LIB/QHLPSYS.LIB:/QSYS.LIB/QUSRSYS.LIB:/QSYS.LIB/RBTSYSLIB.LIB:/QSYS.LIB/QSHELL.LIB:/QSYS.LIB/TOMCAT.LIB:/QSYS.LIB/QTEMP.LIB:/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/lib/ppc:/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/lib/ppc/classic:/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/lib/ppc/default:/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/bin:/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/bin/classic
> Jan 31, 2014 10:03:06 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Jan 31, 2014 10:03:07 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Jan 31, 2014 10:03:07 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2377 ms
> Jan 31, 2014 10:03:07 AM org.apache.catalina.users.MemoryUserDatabase open
> WARNING: Exception configuring digester to permit java encoding names in
> XML files. Only IANA encoding names will be supported.
> org.xml.sax.SAXNotRecognizedException:
> http://apache.org/xml/features/allow-java-encodings
>                 at
> gnu.xml.aelfred2.JAXPFactory.setFeature(JAXPFactory.java:102)
>                 at
> org.apache.tomcat.util.digester.Digester.setFeature(Digester.java:547)
>                 at
> org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:413)
>                 at
> org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:104)
>                 at
> org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143)
>                 at
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:332)
>                 at
> org.apache.naming.NamingContext.lookup(NamingContext.java:843)
>                 at
> org.apache.naming.NamingContext.lookup(NamingContext.java:154)
>                 at
> org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:119)
>                 at
> org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:73)
>                 at
> org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:36)
>                 at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:140)
>                 at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:112)
>                 at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:84)
>                 at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>                 at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>                 at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>                 at
> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
>                 at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:725)
>                 at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>                 at
> org.apache.catalina.startup.Catalina.start(Catalina.java:690)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>                 at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>                 at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>                 at java.lang.reflect.Method.invoke(Method.java:618)
>                 at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
>                 at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
>
> Jan 31, 2014 10:03:07 AM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Jan 31, 2014 10:03:07 AM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.50
> Jan 31, 2014 10:03:07 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory
> /Tomcat/apache-tomcat-7.0.50/webapps/ROOT
> Jan 31, 2014 10:03:07 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> SEVERE: Error deploying web application directory
> /Tomcat/apache-tomcat-7.0.50/webapps/ROOT
> java.lang.ExceptionInInitializerError
>                 at
> java.lang.J9VMInternals.initialize(J9VMInternals.java:259)
>                 at
> org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:522)
>                 at
> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:843)
>                 at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
>                 at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>                 at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>                 at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>                 at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>                 at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
>                 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:634)
>                 at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
>                 at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
>                 at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)
>                 at java.util.concurrent.FutureTask.run(FutureTask.java:273)
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
>                 at java.lang.Thread.run(Thread.java:804)
> Caused by: java.lang.NullPointerException
>                 at
> org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java:107)
>                 at
> org.apache.tomcat.util.descriptor.DigesterFactory.<clinit>(DigesterFactory.java:53)
>                 at java.lang.J9VMInternals.initializeImpl(Native Method)
>                 at
> java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
>                 ... 18 more
>
> Jan 31, 2014 10:03:07 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory
> /Tomcat/apache-tomcat-7.0.50/webapps/docs
> Jan 31, 2014 10:03:07 AM org.apache.catalina.startup.HostConfig
> deployDirectory
> SEVERE: Error deploying web application directory
> /Tomcat/apache-tomcat-7.0.50/webapps/docs
> java.lang.NoClassDefFoundError:
> org.apache.tomcat.util.descriptor.DigesterFactory (initialization failure)
>                 at
> java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
>                 at
> org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:522)
>                 at
> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:843)
>                 at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
>                 at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>                 at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>                 at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>                 at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>                 at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
>                 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:634)
>                 at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
>                 at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
>                 at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)
>                 at java.util.concurrent.FutureTask.run(FutureTask.java:273)
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
>                 at java.lang.Thread.run(Thread.java:804)
> Caused by: java.lang.NullPointerException
>                 at
> org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java:107)
>                 at
> org.apache.tomcat.util.descriptor.DigesterFactory.<clinit>(DigesterFactory.java:53)
>                 at java.lang.J9VMInternals.initializeImpl(Native Method)
>                 at
> java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
>                 ... 18 more
> *******
> SJ
>
> Notice of Confidentiality: **This E-mail and any of its attachments may
> contain
> Lincoln National Corporation proprietary information, which is privileged,
> confidential,
> or subject to copyright belonging to the Lincoln National Corporation
> family of
> companies. This E-mail is intended solely for the use of the individual or
> entity to
> which it is addressed. If you are not the intended recipient of this
> E-mail, you are
> hereby notified that any dissemination, distribution, copying, or action
> taken in
> relation to the contents of and attachments to this E-mail is strictly
> prohibited
> and may be unlawful. If you have received this E-mail in error, please
> notify the
> sender immediately and permanently delete the original and any copy of
> this E-mail
> and any printout. Thank You.**
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message