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 17:00:32 GMT

Chris,

Yes, I have the jars in .../My_Webapp/WEB-INF/lib folder.
I use Tomcat6.0.14. I tried Tomcat5.5 also, but got the same result.

This is the log file when the server starts without the jars in the lib
folder. And this should be the expected result

May 2, 2008 9:38:40 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 9:38:40 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 2, 2008 9:38:40 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 403 ms
May 2, 2008 9:38:40 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 2, 2008 9:38:40 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
May 2, 2008 9:38:40 AM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(C:\apache-tomcat-6.0.14\webapps\ROOT\WEB-INF\lib\j2ee.jar) -
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
May 2, 2008 9:38:49 AM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 203
May 2, 2008 9:41:40 AM tt.util.STD error
SEVERE: ****************************  Link Arena and PAEventQueue Listeners
not started on this machine: myId [0] primaryID [0]
May 2, 2008 9:41:40 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 2, 2008 9:41:40 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 2, 2008 9:41:40 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
May 2, 2008 9:41:40 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 180113 ms
May 2, 2008 9:41:50 AM tt.util.STD error
SEVERE: RELOADING CACHE....Non Threaded
May 2, 2008 9:41:50 AM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 156
May 2, 2008 9:41:50 AM tt.util.STD error
SEVERE: slowDown Data: getting a connection took 141
May 2, 2008 9:41:53 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 2922

The bold faced lines are log messages from my application. 


And now the log when the jars are present in the lib folder

May 2, 2008 9:32: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 9:32:00 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 2, 2008 9:32:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 434 ms
May 2, 2008 9:32:00 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 2, 2008 9:32:00 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
May 2, 2008 9:32:00 AM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(C:\apache-tomcat-6.0.14\webapps\ROOT\WEB-INF\lib\j2ee.jar) -
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
May 2, 2008 9:32:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 2, 2008 9:32:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
May 2, 2008 9:32:02 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 2, 2008 9:32:02 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 2, 2008 9:32:02 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
May 2, 2008 9:32:02 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1746 ms

does the bold faced line mean some thing here?


Jay







Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jay,
> 
> jaykay wrote:
> | Now as a first step to change the UI using JSF, I copied the
> jsf-api.jar and
> | jsf-impl.jar in to tomcat_dir/webapps/My_Webapp_name/web-inf/lib
> 
> I presume that you mean .../My_Webapp/WEB-INF/lib
> 
> | Now the
> | tomcat server startsup, but it is not loading the servlets specified
> in the
> | web.xml. Can anybody please tell me what could be the problem?
> 
> Tomcat version?
> 
> Anything in the log files you'd like to share?
> 
> It is unusual for new JARs in the lib directory to affect anything at
> all, unless you are missing a supporting JAR file for some taglibs...
> are you?
> 
> - -chris
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkgaMloACgkQ9CaO5/Lv0PB4SACgpX8qGhF5DDZOQFefNFvzTN9/
> dlcAnijbALLAp+HPESVfxAwt736+zHVr
> =yiUU
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> 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-tp16995064p17023651.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