RE: Why is tomcat taking so long to start?

2010-03-25 Thread Mon Cab
Charles While this may be an unsupported version of Tomcat, version support is not an issue for us here. I am guessing that Tomcat 5.0 should not be having these issues, just because it is no longer supported. What are the other problems you alluded to? --- On Thu, 3/25/10, Caldarale,

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-14 Thread Mon Cab
: Re: Tomcat writing the wrong timestamp on compiled JSP's Dear Mon Cab, Given the results below it looks like this is not a daylight savings time issue. In fact its extremely odd behavior. Both Tomcat and the OS have the correct time, and yet when Tomcat compiles the JSP, the java and class

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-14 Thread Mon Cab
as writing wrong timestamps when uploading. - Original Message From: Kees Jan Koster kjkos...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, August 14, 2009 1:27:00 AM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's Dear Mon Cab, Yes

Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
When I edit a JSP, tomcat is compiling the JSP (both java and class files) in the work directory with a timestamp exactly 1 hour greater than the current time. Eg. If I edit a jsp (after emptying the work directory), at 20:00, and then load the page from a client, class and java files will

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
-Aug-2009, at 23:38, Mon Cab wrote: When I edit a JSP, tomcat is compiling the JSP (both java and class files) in the work directory with a timestamp exactly 1 hour greater than the current time. Eg. If I edit a jsp (after emptying the work directory), at 20:00, and then load the page

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
Sorry forgot to answer your other questions. I'm using Fedora, and timezone is PDT. Pacific. - Original Message From: Mon Cab futo...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 13, 2009 8:55:43 PM Subject: Re: Tomcat writing the wrong

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
, at 23:55, Mon Cab wrote: That's what I thought. However if I edit and reload a file at 20:00, and check the system time with date command I get 20:00 as the system time. And yet the compiled Java and Class files are timestamped 21:00 What operating system and version are you using? Also

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
users@tomcat.apache.org Sent: Thursday, August 13, 2009 9:09:53 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's On 13-Aug-2009, at 23:59, Mon Cab wrote: Sorry forgot to answer your other questions. I'm using Fedora, and timezone is PDT. Pacific. Which Fedora version

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
be going on here?? - Original Message From: Mon Cab futo...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 13, 2009 9:27:18 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's Fedora Core release 4 (Stentz) Java 1.4.2 I ran the code

Tomcat Logging Wrong time in tomcat logs

2008-01-28 Thread Mon Cab
Good day I am not sure why but tomcat seems to have started logging the incorrect time in logs. My server is on PDT, and tomcat is logging 8 hours ahead in the logs (GMT). Eg when it is 2008-01-28 20:53 tomcat is logging 2008-01-29 04:53:07,199 Any insight into why tomcat is doing this, and

Re: Tomcat Logging Wrong time in tomcat logs

2008-01-28 Thread Mon Cab
,endMonth=10,endDay=1,endDayOfWeek=1,end Time=720,endTimeMode=0]] --- Mon Cab [EMAIL PROTECTED] wrote: Good day I am not sure why but tomcat seems to have started logging the incorrect time in logs. My server is on PDT, and tomcat is logging 8 hours ahead in the logs (GMT). Eg when

Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
I am trying to get tomcat to forward requests as follows www.mysite.com/foo to direct to the foo action www.mysite.com/bar to direct to bar action ie. bar.do Does anyone have any pointers on this? Sorry for the newbie question.

RE: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
sponse); regards -Original Message- From: Mon Cab [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 2:34 PM To: Tomcat Usergroup Subject: Forwarding based on URI's in Tomcat I am trying to get tomcat to forward requests as follows www.mysite.com/foo to direct

Re: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
You could also map / to your struts servlet (instead of *.do) and have static content served using a servlet mapped to /static. But you will have problem with pure JSPs as you will need to manually map them. Mon Cab a écrit : I am trying to get tomcat to forward requests as follows

Re: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
- Hash: SHA1 Mon, Mon Cab wrote: url-pattern/sexy*/url-pattern I believe that the pattern /sexy* does not match when the * matches nothing. I think that * acts like + in a regular expression. You might want: servlet-nameaction/servlet-name url-pattern

virtual Hosts multiple IP's (one to one mapping)

2007-06-04 Thread Mon Cab
I will hosting several domains on tomcat, and have configured each domain with it's own IP address through DNS, such that domain1.com, as well as www.domain1.com resolve to the ip address of the domain1. (I.e. multiple hosts for each domain on each IP address). I am trying to get tomcat to

Re: virtual Hosts multiple IP's (one to one mapping)

2007-06-04 Thread Mon Cab
Just found the answer: Hostname Aliases http://tomcat.apache.org/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases --- Mon Cab [EMAIL PROTECTED] wrote: I will hosting several domains on tomcat, and have configured each domain with it's own IP address through DNS, such that domain1

getting Session from SessionId

2007-02-09 Thread Mon Cab
I am trying to integrate a web application to an external service, and need to be able to take an incoming sessionId from the external service server, and to return details from the session to which that sessionId applies. I understand that there was a getSession(String sessionid) method, in

Re: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
whenever there is a change to the file. Hope this helps. Rizwan. - Original Message - From: Mon Cab [EMAIL PROTECTED] To: Tomcat Usergroup users@tomcat.apache.org Sent: Monday, December 25, 2006 12:26 PM Subject: JSP Reload problem (wierd) I am using WinSCP to open and edit

Re: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
tell to your browser not to cache the pages. In firefox : edit / preferences / private life / cache then set it to 0 MB and erase the currently chached files (don't know the english name of this last option). HTH, Pierre 2006/12/25, Mon Cab [EMAIL PROTECTED]: I tried using

RE: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: Re: JSP Reload problem (wierd) Also, It looks like Tomcat is already configured to reload the jsp's. (below is from the server.xml file). The config for jsp handling is in conf/web.xml

RE: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
--- Mon Cab [EMAIL PROTECTED] wrote: I just added the following to web.xml. init-param param-namecheckInterval/param-name param-value1/param-value /init-param init-param param-namedevelopment/param-name param-valuetrue

JSP Reload problem (wierd)

2006-12-24 Thread Mon Cab
I am using WinSCP to open and edit jsp's on my remote Tomcat server. I open the file from the server to edit and add a hello world into the Login jsp. Then I request the page in IE 6 and it loads the page and hello world is displayed. The page loads within a second (is this enough time for a

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-17 Thread Mon Cab
exceptions, no more Gtk-WARNING's). It seems that both the repackaged 3rd party Tomcat, the GNU JDK, and the Sun JDK that was preloaded on my server were all broken. Thanks for the advice on this. - Mon --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-14 Thread Mon Cab
). Does anyone know what is going on here? I dont know how to verify whether this real Tomcat, or something else. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-14 Thread Mon Cab
? Also, do I still need XML parser APIs and Xerces implementation in the common/endorsed, and if so, where do I get them from? If you have a link, that would be amazing. My eyes are going square from staring at the command prompt. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab

Re: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-12 Thread Mon Cab
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mon, Mon Cab wrote: Here's the results of java -version java version 1.4.2 gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8) Well, /there's/ yer problem: you have GNU Java -- not that there's anything wrong

Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-12 Thread Mon Cab
I am running Tomcat, on Fedora 4. Using java version 1.4.2 gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8) Copyright (C) 2005 Free Software Foundation, Inc. My application works fine until the following line of code is reached. ImageIcon ii = new

RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-11 Thread Mon Cab
Thanks Chris. I pulled the codec package from this and put it in its own jar, and added to the tomcat/common/lib dir. Its working now. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: java.lang.ClassNotFoundException

java.io.IOException: No such file or directory when using serverFile.createNewFile();

2006-12-11 Thread Mon Cab
Hi I am trying to store a file in my webapp (Tomcat on Fedora) and am using File serverFile = new File(file_pathname); serverFile.createNewFile(); FileOutputStream os = new FileOutputStream(serverFile); os.write(fileData); os.close(); but I

RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-11 Thread Mon Cab
Chuck Apologies (nice). Java version is 1.4.2 on Fedora. Is that what you mean? --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder Thanks Chris

RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-11 Thread Mon Cab
I believe its Suns JRE. But I have heard that on UNIX there is no access to awt ( presumable other image packages), due to UNIX being headles server. Does this make any sense? Would the packages in the JRE distribution for UNIX? --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon

Tomcat Webapp barfing when saving Image

2006-12-11 Thread Mon Cab
Hi I am trying to store a file in my webapp (Tomcat on Fedora) and am using File serverFile = new File(file_pathname); serverFile.createNewFile(); FileOutputStream os = new FileOutputStream(serverFile); os.write(fileData); os.close(); but I

RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-11 Thread Mon Cab
Does this explain why com.sun.image.codec package is not accessible? --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: RE: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder I believe its Suns JRE. Doing java

How to use logging in Tomcat correctly (declare Logger Static or not) ?

2006-11-17 Thread Mon Cab
Good day I am having a hard time understanding how to use commons logging on Tomcat. The struts.apache.org suggest the following usage (presumably for business objects) (taken from: http://struts.apache.org/1.x/userGuide/building_controller.html ) package com.foo;

Re: How to use logging in Tomcat correctly (declare Logger Static or not) ?

2006-11-17 Thread Mon Cab
Thanks Bill This helps a lot. I'm using Log4j, so this is good news. Also, I wont be putting any of my classes in $CATALINA_HOME/shared/lib or $CATALINA_HOME/common/lib. Thanks again. --- Bill Barker [EMAIL PROTECTED] wrote: Mon Cab [EMAIL PROTECTED] wrote in message news:[EMAIL