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
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
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
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
-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
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
, 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
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
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
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
,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
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.
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
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
-
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
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
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
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
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
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
, 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
--- 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
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
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
). 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
? 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
:
-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
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
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
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
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
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
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
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
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;
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
36 matches
Mail list logo