tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaykay <jku...@innotas.com>
Subject RE: Tomcat and JSF
Date Fri, 02 May 2008 19:08:26 GMT

Hi,
I got the issue corrected.
I was using jars from jsf-1_1_01 distribution.
When I copied the jsf-api.jar and jsf-impl.jar from jsf 1.2
(mojarra-1.2_08-b06-FCS),I got my desired results.

But Tomcat has some xml parsing error when starting up. I assume it is the
problem with JSF right?
The log attached

May 2, 2008 12:00:15 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
Files\Java\jdk1.5.0_14\bin;C:\OraHome\bin;C:\OraHome\jre\1.4.2\bin\client;C:\OraHome\jre\1.4.2\bin;C:\Program
Files\Java\jre1.5.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\apache-ant-1.7.0\bin;C:\apache-ant-1.7.0\lib;C:\Program
Files\Java\jdk1.5.0_14\lib;C:\apache-tomcat-6.0.14\lib;C:\apache-tomcat-6.0.14\bin;.;
May 2, 2008 12:00:15 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 2, 2008 12:00:15 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 403 ms
May 2, 2008 12:00:15 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 2, 2008 12:00:15 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
May 2, 2008 12:00:16 PM org.apache.tomcat.util.digester.Digester error
SEVERE: Parse Error at line 3 column -1: Undeclared prefix:
"xsi:schemaLocation".
org.xml.sax.SAXParseException: Undeclared prefix: "xsi:schemaLocation".
	at org.apache.crimson.parser.Parser2.error(Parser2.java:3013)
	at org.apache.crimson.parser.Parser2.processName(Parser2.java:1581)
	at org.apache.crimson.parser.Parser2.processAttributeNS(Parser2.java:1553)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1410)
	at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
	at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
	at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
	at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:518)
	at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:476)
	at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
	at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4428)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4235)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	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:566)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
May 2, 2008 12:00:24 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 219
May 2, 2008 12:03:20 PM tt.util.STD error
SEVERE: ****************************  Link Arena and PAEventQueue Listeners
not started on this machine: myId [0] primaryID [0]
May 2, 2008 12:03:20 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 2, 2008 12:03:20 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 2, 2008 12:03:20 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
May 2, 2008 12:03:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 185074 ms
May 2, 2008 12:03:30 PM tt.util.STD error
SEVERE: RELOADING CACHE....Non Threaded
May 2, 2008 12:03:30 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 141
May 2, 2008 12:03:30 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 141
May 2, 2008 12:03:32 PM tt.util.STD warn
WARNING: MtCache.getCustomerEntity: syncing on customer entity 369227, 1 at
0
MtCache.getCustomerEntity: syncing on customer entity 369227 got lock at 0
MtCache.getCustomerEntity: syncing on customer entity 369227 released lock
at 2391
May 2, 2008 12:04:20 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 125
May 2, 2008 12:04:20 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 110
May 2, 2008 12:05:21 PM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 125


Jay



jaykay wrote:
> 
> 
> This is the full log with the shutdown log also
> First server startup is jars not present, second tomcat startup is with
> jsf jars
> This may be more helpful
> 
> 
> May 2, 2008 10:51:00 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path: C:\Program
> Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
> Files\Java\jdk1.5.0_14\bin;C:\OraHome\bin;C:\OraHome\jre\1.4.2\bin\client;C:\OraHome\jre\1.4.2\bin;C:\Program
> Files\Java\jre1.5.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\apache-ant-1.7.0\bin;C:\apache-ant-1.7.0\lib;C:\Program
> Files\Java\jdk1.5.0_14\lib;C:\apache-tomcat-6.0.14\lib;C:\apache-tomcat-6.0.14\bin;.;
> May 2, 2008 10:51:00 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> May 2, 2008 10:51:00 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 403 ms
> May 2, 2008 10:51:00 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> May 2, 2008 10:51:00 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
> May 2, 2008 10:51:10 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 187
> May 2, 2008 10:54:06 AM tt.util.STD error
> SEVERE: ****************************  Link Arena and PAEventQueue
> Listeners not started on this machine: myId [0] primaryID [0]
> May 2, 2008 10:54:06 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> May 2, 2008 10:54:06 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> May 2, 2008 10:54:06 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/16  config=null
> May 2, 2008 10:54:06 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 186556 ms
> May 2, 2008 10:54:16 AM tt.util.STD error
> SEVERE: RELOADING CACHE....Non Threaded
> May 2, 2008 10:54:16 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 171
> May 2, 2008 10:54:16 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 157
> May 2, 2008 10:54:18 AM tt.util.STD warn
> WARNING: MtCache.getCustomerEntity: syncing on customer entity 369227, 1
> at 0
> MtCache.getCustomerEntity: syncing on customer entity 369227 got lock at 0
> MtCache.getCustomerEntity: syncing on customer entity 369227 released lock
> at 2593
> May 2, 2008 10:55:06 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 141
> May 2, 2008 10:55:06 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 156
> May 2, 2008 10:56:07 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 156
> May 2, 2008 10:57:08 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 157
> May 2, 2008 10:58:09 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 157
> May 2, 2008 10:59:10 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 156
> May 2, 2008 11:00:15 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 156
> May 2, 2008 11:00:58 AM org.apache.catalina.loader.WebappClassLoader
> modified
> INFO:     Additional JARs have been added : 'jsf-api.jar'
> May 2, 2008 11:00:58 AM org.apache.catalina.core.StandardContext reload
> INFO: Reloading this Context has started
> May 2, 2008 11:00:58 AM org.apache.catalina.session.StandardManager
> doUnload
> SEVERE: IOException while saving persisted sessions:
> java.io.FileNotFoundException:
> C:\apache-tomcat-6.0.14\work\Catalina\localhost\_\SESSIONS.ser (The system
> cannot find the path specified)
> java.io.FileNotFoundException:
> C:\apache-tomcat-6.0.14\work\Catalina\localhost\_\SESSIONS.ser (The system
> cannot find the path specified)
> 	at java.io.FileOutputStream.open(Native Method)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> 	at
> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:489)
> 	at
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)
> 	at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)
> 	at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499)
> 	at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3080)
> 	at
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
> 	at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
> 	at java.lang.Thread.run(Thread.java:595)
> May 2, 2008 11:00:58 AM org.apache.catalina.session.StandardManager stop
> SEVERE: Exception unloading sessions to persistent storage
> java.io.FileNotFoundException:
> C:\apache-tomcat-6.0.14\work\Catalina\localhost\_\SESSIONS.ser (The system
> cannot find the path specified)
> 	at java.io.FileOutputStream.open(Native Method)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> 	at
> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:489)
> 	at
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)
> 	at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)
> 	at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499)
> 	at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3080)
> 	at
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
> 	at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> 	at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
> 	at java.lang.Thread.run(Thread.java:595)
> May 2, 2008 11:00:59 AM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> May 2, 2008 11:00:59 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context [] startup failed due to previous errors
> May 2, 2008 11:01:00 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:01:01 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> May 2, 2008 11:01:01 AM org.apache.catalina.core.StandardContext stop
> INFO: Container
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has not
> been started
> May 2, 2008 11:01:01 AM org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:01:05 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path: C:\Program
> Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
> Files\Java\jdk1.5.0_14\bin;C:\OraHome\bin;C:\OraHome\jre\1.4.2\bin\client;C:\OraHome\jre\1.4.2\bin;C:\Program
> Files\Java\jre1.5.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\apache-ant-1.7.0\bin;C:\apache-ant-1.7.0\lib;C:\Program
> Files\Java\jdk1.5.0_14\lib;C:\apache-tomcat-6.0.14\lib;C:\apache-tomcat-6.0.14\bin;.;
> May 2, 2008 11:01:05 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:01:05 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 411 ms
> May 2, 2008 11:01:05 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> May 2, 2008 11:01:05 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
> May 2, 2008 11:01:05 AM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> May 2, 2008 11:01:05 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context [] startup failed due to previous errors
> May 2, 2008 11:01:06 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:01:06 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> May 2, 2008 11:01:06 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/32  config=null
> May 2, 2008 11:01:06 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 893 ms
> May 2, 2008 11:04:09 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:04:10 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> May 2, 2008 11:04:10 AM org.apache.catalina.core.StandardContext stop
> INFO: Container
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has not
> been started
> May 2, 2008 11:04:10 AM org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:04:12 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path: C:\Program
> Files\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
> Files\Java\jdk1.5.0_14\bin;C:\OraHome\bin;C:\OraHome\jre\1.4.2\bin\client;C:\OraHome\jre\1.4.2\bin;C:\Program
> Files\Java\jre1.5.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\apache-ant-1.7.0\bin;C:\apache-ant-1.7.0\lib;C:\Program
> Files\Java\jdk1.5.0_14\lib;C:\apache-tomcat-6.0.14\lib;C:\apache-tomcat-6.0.14\bin;.;
> May 2, 2008 11:04:12 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> May 2, 2008 11:04:12 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 406 ms
> May 2, 2008 11:04:12 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> May 2, 2008 11:04:12 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
> May 2, 2008 11:04:19 AM tt.util.STD error
> SEVERE: slowDown Data: getting a connection took 203
> 
> 
> Jay
> 
> 
> 
> 
> Caldarale, Charles R wrote:
>> 
>>> From: jaykay [mailto:jkurup@innotas.com] 
>>> Subject: RE: Tomcat and JSF
>>> 
>>> yes, I removed j2ee.jar. But still the problem persists.
>> 
>> And what do the logs say now?
>> 
>>  - Chuck
>> 
>> 
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>> 
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-and-JSF-tp16995064p17025941.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message