RE: Tomcat and JSF

2008-05-02 Thread jaykay
 start 
INFO: Server startup in 1746 ms 


there is a line in the second log ... SEVERE: Context [] startup failed due
to previous errors. Does this  mean anything?

Jay





Caldarale, Charles R wrote:
 
 From: jaykay [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat and JSF
 
 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\l
 ib\j2ee.jar) -
 jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
 javax/servlet/Servlet.class
 
 The bolding didn't come through, so I can't comment on that part.
 However, you *must* remove the j2ee.jar from your webapp.  Best not to
 have it anywhere on the box you're doing anything with Tomcat.
 
  - 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-JSF-tp16995064p17024032.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat and JSF

2008-05-02 Thread jaykay
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and JSF

2008-05-02 Thread jaykay

Hi chuck,
yes, I removed j2ee.jar. But still the problem persists.

Jay



Caldarale, Charles R wrote:
 
 From: jaykay [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat and JSF

 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\l
 ib\j2ee.jar) -
 jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
 javax/servlet/Servlet.class 
 
 Once more, with feeling:
 
 You *must* remove the j2ee.jar from your webapp.  Best not to have it
 anywhere on the box you're doing anything with Tomcat.
 
  - 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-JSF-tp16995064p17024667.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and JSF

2008-05-02 Thread jaykay

Log with jars present
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

Log with the jsf jars present

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

Jay





Caldarale, Charles R wrote:
 
 From: jaykay [mailto:[EMAIL PROTECTED] 
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-JSF-tp16995064p17024839.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and JSF

2008-05-02 Thread jaykay
 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:[EMAIL PROTECTED] 
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-JSF-tp16995064p17024975.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and JSF

2008-05-02 Thread jaykay
 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 CACHENon 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

Tomcat and JSF

2008-05-01 Thread jaykay

Hi,
I have an application running in Tomcat. We have a main controller servlet,
which should be loaded when the server starts. So its been specified in the
load-on-startup in web.xml. And everything is fine.

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 . 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. I have not
done anything more on JSF part, just copied those two jar files in the lib
directory. 

Jay
-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-JSF-tp16995064p16995064.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]