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
writing wrong timestamps when uploading. - Original Message From: Kees Jan Koster To: Tomcat Users List Sent: Friday, August 14, 2009 1:27:00 AM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's Dear Mon Cab, > Yes. That fixed it. Thankyou Kees. Glad

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

2009-08-14 Thread Mon Cab
mp 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 files > in the

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

2009-08-13 Thread Mon Cab
have any ideas what might be going on here?? - Original Message From: Mon Cab To: Tomcat Users List 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 in the articl

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

2009-08-13 Thread Mon Cab
, 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? Also what ver

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

2009-08-13 Thread Mon Cab
I'm using Fedora, and timezone is PDT. Pacific. - Original Message From: Andre-John Mas To: Tomcat Users List Sent: Thursday, August 13, 2009 9:01:34 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's On 13-Aug-2009, at 23:55, Mon Cab wrote: >

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 To: Tomcat Users List Sent: Thursday, August 13, 2009 8:55:43 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's Tha

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

2009-08-13 Thread Mon Cab
List Sent: Thursday, August 13, 2009 8:50:54 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's The time stamp on the file is given by your OS. What operating system and version are you using? Also, what time zone are you in? André-John On 13-Aug-2009, at 23:38, Mon

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 Logging Wrong time in tomcat logs

2008-01-28 Thread Mon Cab
ay=8,startDayOfWeek=1,sta rtTime=720,startTimeMode=0,endMode=3,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. M

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: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
I tried action /mymodule/sexy* /mymodule/sexy /sexy* /sexy and none of it seems to work. --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mon, > > Mon Cab wrote: > > /sexy* > > I believ

RE: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
; > request.getContext().getRequestDispatcher("otherURL").forward(request,re > sponse); > > > regards > > -Original Message- > From: Mon Cab [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 01, 2007 2:34 PM > To: Tomcat Usergroup > Subject: Forw

Re: Forwarding based on URI's in Tomcat

2007-08-01 Thread Mon Cab
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 > > > > www.mysite.com/foo to direct to the foo action > > www.mysite.com/bar to direct to bar action ie. ba

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: 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

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 se

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 Htt

RE: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
--- Mon Cab <[EMAIL PROTECTED]> wrote: > I just added the following to web.xml. > > > checkInterval > 1 > > > development > true > > But, I'm not getting any change in beh

RE: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
I just added the following to web.xml. checkInterval 1 development true --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Mon Cab [mailto:[EMAIL PROTECTED] > > Subject: R

Re: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
gt; for > testing purposes, you should also 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

Re: JSP Reload problem (wierd)

2006-12-25 Thread Mon Cab
here is a change to the file. > > Hope this helps. > > Rizwan. > > - Original Message - > From: "Mon Cab" <[EMAIL PROTECTED]> > To: "Tomcat Usergroup" > Sent: Monday, December 25, 2006 12:26 PM > Subject: JSP Reload problem (wierd)

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 jsp

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

2006-12-17 Thread Mon Cab
w. (No more class def found 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

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

2006-12-14 Thread Mon Cab
> wrote: > > From: Mon Cab [mailto:[EMAIL PROTECTED] > > Subject: RE: Tomcat shutting down when instantiating > > javax.swing.ImageIcon on Fedora > > > > I have Tomcat 5.0 installed. > > Oops, sorry. I'd really recommend throwing away that 3rd-party &g

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

2006-12-14 Thread Mon Cab
Chuck I have Tomcat 5.0 installed. Where is this "compat packag". I cant find it anywhere. I downloaded Java(TM) Management Extension (JMX) 1.2.1 from the Sun site, but that has jmxri.jar and jmxtools.jar but jmx.jar. --- "Caldarale, Charles R" <[EMAIL PROTECTED]

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

2006-12-14 Thread Mon Cab
a Plesk add on pack (the OS is Fedora). 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]

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 javax.swing.ImageIcon(myFile.getC

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

2006-12-12 Thread Mon Cab
;[EMAIL PROTECTED]> > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Mon, > > > > Mon Cab wrote: > > > Here's the results of java -version > > > > > > java version "1.4.2" > > > gij (GNU libgc

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

2006-12-11 Thread Mon Cab
r jaf-1.0.2.jar 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.

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 a

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

2006-12-11 Thread Mon Cab
lt;[EMAIL PROTECTED]> wrote: > > From: Mon Cab [mailto:[EMAIL PROTECTED] > > Subject: RE: java.lang.ClassNotFoundException: > > com.sun.image.codec.jpeg.JPEGImageEncoder > > > > Apologies (nice). > > No worries. There is a Chris Schultz who is a frequent contr

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

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 a

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

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

2006-12-11 Thread Mon Cab
Hi I am running a tomcat web application on Linux, and am getting the following error 2006-12-10 21:23:46 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.NoClassDefFoundError: while resolving class: myapp.Photo bla bla Caused by: java.lang.

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 PROTEC

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.

Tomcat not setting session cookies ??

2006-06-15 Thread Mon Cab
Hi All of a sudden tomcat has stopped settign session cookies. I have been developing on my local machine for approx 1yr. Now, When I goto my webapps home page. (http:/127.0.0.1:8080/webapp), tomcat is rewriting the URL as http://127.0.0.1:8080/webapp/Welcome.do;jsessionid=DAF0604E76E234C157A9

Tomcat not displaying (or logging) runtime exceptions for STRUTS !!

2005-12-30 Thread Mon Cab
Please help. It seems that Tomcat is no longer displaying (or logging) runtime errors. I have in a jsp, and no tags surrounding this. If I call this jsp without the var parameter, Tomcat just returns a page with the following source: Thats it! No exceptions or anything! So theres no