I'm migrating Richfaces version from 3.3.3 to 4.3.5 and JSF from 1.2
to 2.2.6 and I have made the following changes:
Removed the below jars: jsf-api.jar jsf-facelets.jar jsf-impl.jar richfaces-api-3.3.3.Final.jar richfaces-impl-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar
Added the below jars: cssparser-0.9.5.jar guava-10.0.1.jar richfaces-components-api-4.3.5.Final.jar
richfaces-components-ui-4.3.5.Final.jar
richfaces-core-api-4.3.5.Final.jar richfaces-core-impl-4.3.5.Final.jar
sac-1.3.jar jsf-impl-2.2.6.jar jsf-api-2.2.6.jar
And made changes in: 1) faces-config.xml (changes version from 1.2
to 2.2:
<?xml version="1.0" encoding="UTF-8"?<faces-config
version="2.2" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd" <!--
AUTO GENERATED FILE. PLEASE DO NOT EDIT MANUALLY. IF YOU HAVE TO MAKE
CHANGES, PLEASE DO SO IN THE MASTER VERSION OF THIS FILE IN {PROJECT
FOLDER}/cfg DIRECTORY. -->
2) MASTER-web.xml:
<?xml version="1.0" encoding="UTF-8"?<web-app
version="3.1" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"<!-- #DNF# -->
Changes version from 2.5 to 3.1
3) I'm running with JDK 7
When I'm trying to restart tomcat 7 I'm getting the below exception:
Mar 31, 2014 10:41:48 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: C:\Program
Files\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program
Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program
Files/Java/jre7/lib/i386;C:\oracle\product\10.2.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program
Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Windows
Imaging\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program
Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common
Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Enterprise
Vault\EVClient\;C:\Program
Files\TortoiseSVN\bin;%JAVA_HOME%/bin;%M2%;C:\Program
Files\Java\jdk1.7.0_40/bin;C:\ATT\ebiz_new\apache-maven-3.2.1\bin;C:\Program
Files\eclipse-jee-kepler-R-win32\eclipse;;. Mar 31, 2014 10:41:49 AM
org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING:
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'source' to 'org.eclipse.jst.jee.server:IGATE2DATATOOL' did
not find a matching property. Mar 31, 2014 10:41:49 AM
org.apache.coyote.AbstractProtocol init INFO: Initializing
ProtocolHandler ["http-bio-8080"] Mar 31, 2014 10:41:49 AM
org.apache.coyote.AbstractProtocol init INFO: Initializing
ProtocolHandler ["ajp-bio-8009"] Mar 31, 2014 10:41:49 AM
org.apache.catalina.startup.Catalina load INFO: Initialization
processed in 821 ms Mar 31, 2014 10:41:49 AM
org.apache.catalina.core.StandardService startInternal INFO: Starting
service Catalina Mar 31, 2014 10:41:49 AM
org.apache.catalina.core.StandardEngine startInternal INFO: Starting
Servlet Engine: Apache Tomcat/7.0.47 Mar 31, 2014 10:42:45 AM
org.apache.catalina.core.ContainerBase startInternal SEVERE: A child
container failed during start
**java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext**[/IGATE2DATATOOL]]
at java.util.concurrent.FutureTask.report(Unknown Source) at
java.util.concurrent.FutureTask.get(Unknown Source) at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at
java.lang.Thread.run(Unknown Source) Caused by:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/IGATE2DATATOOL]]
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
**Caused by: java.lang.NullPointerException
at om.sun.faces.config.InitFacesContext.cleanupInitMaps(InitFacesContext.java:283)**
at
com.sun.faces.config.InitFacesContext.<init>(InitFacesContext.java:108)
at
com.sun.faces.config.FacesInitializer.onStartup(FacesInitializer.java:114)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5423)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
Mar 31, 2014 10:42:45 AM org.apache.catalina.core.ContainerBase
startInternal SEVERE: A child container failed during start
java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost]] at
java.util.concurrent.FutureTask.report(Unknown Source) at
java.util.concurrent.FutureTask.get(Unknown Source) at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:691) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) Caused
by: org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost]] at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at
java.lang.Thread.run(Unknown Source) Caused by:
org.apache.catalina.LifecycleException: A child container failed
during start at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
Mar 31, 2014 10:42:45 AM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is
unable to start. org.apache.catalina.LifecycleException: Failed to
start component [StandardServer[8005]] at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:691) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) Caused
by: org.apache.catalina.LifecycleException: Failed to start component
[StandardService[Catalina]] at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more Caused by: org.apache.catalina.LifecycleException: Failed
to start component [StandardEngine[Catalina]] at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more Caused by: org.apache.catalina.LifecycleException: A child
container failed during start at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
Mar 31, 2014 10:42:45 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"] Mar 31, 2014 10:42:45
AM org.apache.coyote.AbstractProtocol pause INFO: Pausing
ProtocolHandler ["ajp-bio-8009"] Mar 31, 2014 10:42:45 AM
org.apache.catalina.core.StandardService stopInternal INFO: Stopping
service Catalina Mar 31, 2014 10:42:45 AM
org.apache.coyote.AbstractProtocol destroy INFO: Destroying
ProtocolHandler ["http-bio-8080"] Mar 31, 2014 10:42:45 AM
org.apache.coyote.AbstractProtocol destroy INFO: Destroying
ProtocolHandler ["ajp-bio-8009"]
Please advise how to fix:
Caused by: java.lang.NullPointerException
at com.sun.faces.config.InitFacesContext.cleanupInitMaps(InitFacesContext.java:283)
What else is missing??
Thanks :-)
Related
While running bin/dse cassandra for DSE-5.0.5 on mac, I am getting below error. The solr is not able to start and I changed the catalina port from 8983 to 8993. But I am still getting the error on the new port too.
Any help will be appreciated.
INFO: Initialization processed in 432 ms
INFO 19:52:41,078 TomcatSolrRunner.java:144 - server.xml has no connectors so creating a default http connector to run the Solr web application.
Jan 30, 2017 7:52:41 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Can't assign requested address (Bind failed) /192.168.1.5:8993
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:563)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:181)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1141)
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:267)
at com.datastax.bdp.plugin.TomcatSolrRunner.configureDefaults(TomcatSolrRunner.java:151)
at com.datastax.bdp.plugin.TomcatSolrRunner.start(TomcatSolrRunner.java:57)
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:128)
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568)
at com.datastax.bdp.DseModule.main(DseModule.java:91)
Caused by: java.net.BindException: Can't assign requested address (Bind failed)
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:56)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:554)
... 10 more
Jan 30, 2017 7:52:41 PM org.apache.catalina.core.StandardService addConnector
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8993]]
LifecycleException: Protocol handler initialization failed: java.net.BindException: Can't assign requested address (Bind failed) /192.168.1.5:8993
at org.apache.catalina.connector.Connector.initialize(Connector.java:1143)
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:267)
at com.datastax.bdp.plugin.TomcatSolrRunner.configureDefaults(TomcatSolrRunner.java:151)
at com.datastax.bdp.plugin.TomcatSolrRunner.start(TomcatSolrRunner.java:57)
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:128)
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568)
at com.datastax.bdp.DseModule.main(DseModule.java:91)
Jan 30, 2017 7:52:41 PM org.apache.catalina.core.StandardService start
INFO: Starting service Solr
Jan 30, 2017 7:52:41 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.45
Jan 30, 2017 7:52:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory demos
Jan 30, 2017 7:52:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory solr
INFO 19:52:42,492 SolrHttpAuditLogFilter.java:219 - Initializing Solr audit logging filter
INFO 19:52:42,741 SolrDispatchFilter.java:130 - SolrDispatchFilter.init()
INFO 19:52:42,809 SolrResourceLoader.java:737 - No /solr/home in JNDI
INFO 19:52:42,810 SolrResourceLoader.java:747 - using system property solr.solr.home: solr/
INFO 19:52:42,810 SolrResourceLoader.java:136 - new SolrResourceLoader for directory: 'solr/'
INFO 19:52:43,373 SolrResourceLoader.java:737 - No /solr/home in JNDI
INFO 19:52:43,373 SolrResourceLoader.java:747 - using system property solr.solr.home: solr/
INFO 19:52:43,374 SolrResourceLoader.java:136 - new SolrResourceLoader for directory: 'solr/'
INFO 19:52:43,571 CoreContainer.java:95 - New CoreContainer 1457573163
INFO 19:52:43,698 SolrDispatchFilter.java:137 - user.dir=/Users/chandanpatra/dse
INFO 19:52:43,699 SolrDispatchFilter.java:148 - SolrDispatchFilter.init() done
INFO 19:52:43,710 RepeatablePOSTQueryFilter.java:75 - Initializing com.datastax.bdp.search.solr.RepeatablePOSTQueryFilter filter
Jan 30, 2017 7:52:43 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Can't assign requested address (Bind failed) /192.168.1.5:8993
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:563)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:579)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:208)
at org.apache.catalina.connector.Connector.start(Connector.java:1220)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at com.datastax.bdp.plugin.TomcatSolrRunner.start(TomcatSolrRunner.java:58)
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:128)
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568)
at com.datastax.bdp.DseModule.main(DseModule.java:91)
Caused by: java.net.BindException: Can't assign requested address (Bind failed)
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:56)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:554)
... 12 more
Jan 30, 2017 7:52:43 PM org.apache.catalina.core.StandardService start
SEVERE: Failed to start connector [Connector[HTTP/1.1-8993]]
LifecycleException: service.getName(): "Solr"; Protocol handler start failed: java.net.BindException: Can't assign requested address (Bind failed) /192.168.1.5:8993
at org.apache.catalina.connector.Connector.start(Connector.java:1227)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at com.datastax.bdp.plugin.TomcatSolrRunner.start(TomcatSolrRunner.java:58)
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:128)
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568)
at com.datastax.bdp.DseModule.main(DseModule.java:91)
Jan 30, 2017 7:52:43 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2554 ms
INFO 19:52:43,733 SolrContainerPlugin.java:129 - Embedded Tomcat started
INFO 19:52:43,769 SearchProtocol.java:65 - Registered SearchProtocol
INFO 19:52:43,769 SolrContainerPlugin.java:143 - Starting the legacy Netty server...
Exception (java.lang.RuntimeException) encountered during startup: java.net.BindException: Can't assign requested address
java.lang.RuntimeException: java.net.BindException: Can't assign requested address
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:154)
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568)
at com.datastax.bdp.DseModule.main(DseModule.java:91)
Caused by: java.net.BindException: Can't assign requested address
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:485)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1094)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:428)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:414)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:897)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:198)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:349)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
ERROR 19:52:44,249 CassandraDaemon.java:709 - Exception encountered during startup
java.lang.RuntimeException: java.net.BindException: Can't assign requested address
at com.datastax.bdp.plugin.SolrContainerPlugin.preSetup(SolrContainerPlugin.java:154) ~[dse-search-5.0.5.jar:5.0.5]
at com.datastax.bdp.server.DseDaemon.preSetup(DseDaemon.java:770) ~[dse-core-5.0.5.jar:5.0.5]
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:466) ~[dse-core-5.0.5.jar:5.0.5]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568) ~[cassandra-all-3.0.11.1485.jar:3.0.11.1485]
at com.datastax.bdp.DseModule.main(DseModule.java:91) [dse-core-5.0.5.jar:5.0.5]
Caused by: java.net.BindException: Can't assign requested address
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_111]
at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_111]
at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_111]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_111]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_111]
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:485) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1094) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:428) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:414) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:897) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:198) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:349) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) ~[netty-all-4.0.34.Final.jar:4.0.34.Final]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111]
INFO 19:52:44,250 DseDaemon.java:577 - DSE shutting down...
Jan 30, 2017 7:52:44 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-192.168.1.5-8993
INFO 19:52:44,251 PluginManager.java:104 - All plugins are stopped.
Exception in thread "Daemon shutdown" java.lang.AssertionError
at org.apache.cassandra.gms.Gossiper.addLocalApplicationStateInternal(Gossiper.java:1465)
at org.apache.cassandra.gms.Gossiper.addLocalApplicationStates(Gossiper.java:1489)
at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(Gossiper.java:1479)
at com.datastax.bdp.gms.DseState.setActiveStatusSync(DseState.java:241)
at com.datastax.bdp.server.DseDaemon.preStop(DseDaemon.java:597)
at com.datastax.bdp.server.DseDaemon.safeStop(DseDaemon.java:608)
at com.datastax.bdp.server.DseDaemon.lambda$getShutdownHook$44(DseDaemon.java:927)
at java.lang.Thread.run(Thread.java:745)
Jan 30, 2017 7:52:45 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Solr
Jan 30, 2017 7:52:45 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2017 7:52:45 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [NonPeriodicTasks:1] but has failed to stop it. This is very likely to create a memory leak.
Jan 30, 2017 7:52:45 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-192.168.1.5-8993
Thanks,
Chandan
please check once that the services is not already running , and the port is not being used by any other service .
I also faced the same issue and resolved by killing the service and starting again .
When I changed glassfish server to Apache tomcat then I got this error, how to fix it this error SEVERE: Critical error during deployment I am so tried but I am fail. I am new in jsf and primefaces
SEVERE: Critical error during deployment:
java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.sun.faces.util.Util.loadClass(Util.java:269)
at com.sun.faces.spi.InjectionProviderFactory.getProviderFromEntry(InjectionProviderFactory.java:317)
at com.sun.faces.spi.InjectionProviderFactory.findProviderClass(InjectionProviderFactory.java:285)
at com.sun.faces.spi.InjectionProviderFactory.createInstance(InjectionProviderFactory.java:116)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:335)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5099)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.InjectionException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1891)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1734)
... 18 more
Aug 18, 2016 2:55:00 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5099)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.sun.faces.util.Util.loadClass(Util.java:269)
at com.sun.faces.spi.InjectionProviderFactory.getProviderFromEntry(InjectionProviderFactory.java:317)
at com.sun.faces.spi.InjectionProviderFactory.findProviderClass(InjectionProviderFactory.java:285)
at com.sun.faces.spi.InjectionProviderFactory.createInstance(InjectionProviderFactory.java:116)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:335)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223)
... 10 more
Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.InjectionException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1891)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1734)
... 18 more
Aug 18, 2016 2:55:00 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Aug 18, 2016 2:55:00 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/TestJSF] startup failed due to previous errors
Aug 18, 2016 2:55:00 PM javax.faces.FactoryFinder$FactoryManager getFactory
SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.
Aug 18, 2016 2:55:00 PM com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:328)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5146)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5810)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalinaa.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Aug 18, 2016 2:55:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-6060"]
Aug 18, 2016 2:55:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Aug 18, 2016 2:55:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8611 ms
Remember that Glassfish is an application server that supports JAVA EE while tomcat don't support this, a solution of apache org is apache TomEE.
I have application developed using JSF, IceFaces and deployed inside Tomcat but when I tried to start tomcat, I am getting below exception.
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
java.lang.NoClassDefFoundError: InputFileProgressEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at com.sun.faces.config.ManagedBeanFactoryImpl.getMethodsWithAnnotation(ManagedBeanFactoryImpl.java:1164)
at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:188)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1201)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:772)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
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:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: InputFileProgressEvent
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
... 24 more
May 1, 2015 7:41:59 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
May 1, 2015 7:41:59 PM org.apache.catalina.core.StandardContext startInternal
Please help me to trace out the issue.
I am trying to install OmniFaces in my project. I put omnifaces-1.8.1.jar in /WEB-INF/lib folder and implement FacesViews configuration in web.xml.
<context-param>
<param-name>org.omnifaces.FACES_VIEWS_SCAN_PATHS</param-name>
<param-value>/*.xhtml</param-value>
</context-param>
However, during deploy I get the exception below:
SEVERE: WebXml failed to initialize. Perhaps your web.xml contains a typo?
java.lang.ClassNotFoundException: java.lang.java.io.IOException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.omnifaces.config.WebXml.parseErrorPageLocations(WebXml.java:434)
at org.omnifaces.config.WebXml.init(WebXml.java:147)
at org.omnifaces.facesviews.FacesViewsInitializerListener.contextInitialized(FacesViewsInitializerListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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)
Oct 09, 2014 9:48:08 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.omnifaces.facesviews.FacesViewsInitializerListener
java.lang.RuntimeException: java.lang.ClassNotFoundException: java.lang.java.io.IOException
at org.omnifaces.config.WebXml.init(WebXml.java:156)
at org.omnifaces.facesviews.FacesViewsInitializerListener.contextInitialized(FacesViewsInitializerListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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: java.lang.ClassNotFoundException: java.lang.java.io.IOException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.omnifaces.config.WebXml.parseErrorPageLocations(WebXml.java:434)
at org.omnifaces.config.WebXml.init(WebXml.java:147)
... 10 more
Look at the root cause:
Caused by: java.lang.ClassNotFoundException: java.lang.java.io.IOException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.omnifaces.config.WebXml.parseErrorPageLocations(WebXml.java:434)
You apparently have a:
<exception-type>java.lang.java.io.IOException</exception-type>
That exception class indeed doesn't exist. Fix it accordingly:
<exception-type>java.io.IOException</exception-type>
Your web.xml definitely contained a typo.
I have tomcat 6 installed on my system and liferay 6.1.1 ce-ga2.
When starting tomcat this is the following error I take in catalina.out.
INFO: Deploying configuration descriptor liferay.xml
Mar 5, 2013 6:18:33 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 22 column 2: The markup in the document preceding the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:925)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1626)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:593)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Mar 5, 2013 6:18:33 PM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor liferay.xml
org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1626)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:593)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Mar 5, 2013 6:18:33 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor fedora.xml
Mar 5, 2013 6:18:39 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Mar 5, 2013 6:18:39 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Mar 5, 2013 6:18:39 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor core-plugins.xml
Mar 5, 2013 6:18:39 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/fedora/tomcat/temp/1-core-plugins/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Mar 5, 2013 6:18:39 PM org.apache.catalina.startup.HostConfig deployWAR
My liferay.xml file contains this code:
<?xml version="1.0" encoding="UTF-8"?>
<Context reloadable="true">
<Loader loaderClass="org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader"/>
<Resource name="jdbc/dwspring2" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="userid" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/springtutorial"/>
</Context>
Any idea or experience will be really usefull.
Youb use 2 differnt types of quote
... "jdbc/dwspring2″
Use the one at the beginning throughout your file.