Note
This problem does not seem to ba due to the JVM having an incorrect
value for the timezone. I ran the following code :
import java.util.Date;
import java.util.TimeZone;
public class TimeTest {
public static void main(String args[]) {
long time = System.currentTimeMillis()
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
talk about standardization..
anyway, thanks, that does it.
It looks like you are using xml jsp syntax in your jsps. If that's the
case, you have to put a comment node () in the
It just means that Apache dropped the connection before sending the request
body (probably because the browser dropped the request before sending). It
is normal and harmless (except for the space in the log files).
You didn't say which Tomcat version you are using, but it looks like an
older o
Then I think the path to your common-terms.utf8 probably should be
/common-terms.utf8 in the config file. Otherwise the path spec is
relative and it's hard to figure out what it's relative to. The hadoop
class that generates the reader uses Classloader.getResource( path ) so
an absolute path
Is the read error expected behavior? I guess I didn't expect the
comet processor to send me a read event on a last chunk since there's
nothing to be read. I thought either a read error or an end event
after a last chunk indicated a problem. If the read error is ok,
then...
Did you try the clien
Hi David,
thanks for the advice. In my nutch-0.9.jar common-terms.utf8 is
located at the root level, but then again, I've built the JAR from
source.
David Smith wrote:
Funny ... I downloaded the 0.9 release of nutch and common-
terms.utf8 is not in the nutch.jar file (just to be helpful -
Funny ... I downloaded the 0.9 release of nutch and common-terms.utf8 is
not in the nutch.jar file (just to be helpful -- I don't actually use
it). I couldn't find common-terms.utf8 anywhere in the .jar file. I
would recommend asking on a nutch user list and be specific with regard
to what ve
If you are planning on running on Windows then you will need to deal with
getting and/or compiling 64 bit versions of the service wrapper and
tc-native.dll. FWIW - I tried compiling them with the 5.5.25 sources using
Visual Studio 2008 (instructions support earlier versions of Visual Studio
but I
It looks like you are using xml jsp syntax in your jsps. If that's the
case, you have to put a comment node () in the tag
to prevent the tag from being collapsed to which doesn't
work in browsers.
--David
bjousse wrote:
Hi,
I am using Eclipse 3.3, Tomcat 6.0.14 and Struts, tunning in dev mode I have
a JPS file where i am making an error :
everything I put after
the is suppressed unil the
I have 3 CSS, 3 js and dome inline code. I tried movin them arond, but
everything disappears after the fir javascript...
Hello everybody,
I have run into a rather weird problem that occurs when deploying a
web app - which by the way is a Grails (http://grails.codehaus.org)
app - as a WAR file in Tomcat. My app makes use of Nutch and
instantiates a NutchDocumentAnalyzer during startup as a Spring
resource. T
Thanks for the reply. This is tough to provide an example for. Let me see
what I can work out.
On Jan 16, 2008 11:08 PM, Caldarale, Charles R <[EMAIL PROTECTED]>
wrote:
> > From: Michel Betancourt [mailto:[EMAIL PROTECTED]
> > Subject: Tomcat 5.5 classloading behavior
> >
> > its not too clear
On Mon, 28 Jan 2008 22:01:37 + Mark Thomas wrote:
> With your specific configuration you might be OK but appBase==docBase is
> something that usually always cause pain.
Yes, *usually*. And I'm aware of this ;)
> My main concern is making sure
> that people reading this thread in the archives
> From: alphamanic [mailto:[EMAIL PROTECTED]
> Subject: Simple Security Manager how to ?
>
> In the doc they are using the following command:
> %CATALINA_HOME%\bin\catalina start -security (Windows)
> But my bin directory does not contain catalina
You must have installed the .exe download,
On Jan 25, 2008 9:28 PM, Konstantin Kolinko <[EMAIL PROTECTED]> wrote:
> What exactly tomcat, log4j versions are you using?
Tomcat 5.5.23
Log4j 1.2.15
> Do those warnings affect the rest of your application?
No, but my customers notice them and file issues
> Is you
> configuration read a
Delian Krustev wrote:
appBase == docBase is unsupported. Period. The servlet spec allows (might
even be requires I don't recall off-hand) any directory to treated as a
webapp so as soon as you have an WAR exploded into the appBase you end up
with multiple contexts which will cause problems.
I d
Hi,
As suggest on in the doc
http://localhost:8080/docs/security-manager-howto.html
i've made the changes to the catalina.policy file how do i ensure that file
is loaded during my startup.
In the doc they are using the following command:
%CATALINA_HOME%\bin\catalina start -security (Windows
works just dandy, the timeout happens after quite some time of just waiting
Jan 28, 2008 2:33:31 PM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 28, 2008 2:33:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1005 ms
event
On Mon, 28 Jan 2008 20:16:14 + Mark Thomas wrote:
> Delian Krustev wrote:
> > I'm pretty sure
> > there is a functionality which could not be achieved otherwise, although
> > I could not remember which one at this very moment.
>
> No, there isn't. If there is, that is a bug that needs to be fix
Delian Krustev wrote:
On Sun, 27 Jan 2008 16:01:28 -0800 Hassan Schroeder wrote:
Aside from the fact that putting Context elements in server.xml is
strongly discouraged
I'm pretty sure
there is a functionality which could not be achieved otherwise, although I
could not remember which one at
Yeah a redirect page will be my last resort. It has a minor drawback of
making the back button a little bit harder to use since it will auto
forward. I'll see if I can have the IT group change the domain name to
serverip/AppName verses just serverip before doing a redirect.
- John Le
-Origin
> From: John Le [mailto:[EMAIL PROTECTED]
> Subject: RE: ROOT not working
>
> When I asked the vender if I could deploy it to root last
> week the rep said he didn't think so, but would ask his
> techs.
If the webapp has hard-coded embedded absolute URLs, you won't be able
to change that behavi
On Jan 28, 2008 11:34 AM, Delian Krustev <[EMAIL PROTECTED]> wrote:
> > having a docBase == appBase is totally wrong, and /will/ cause ugly
> problems.
> It doesn't cause any problems.
And yet you're reporting one :-)
> My post is actually a bug report. Not a question.
I'd think it hard to cl
Thanks for the response, but it's still not working. I renamed the WAR
file as ROOT and deleted the old ROOT before running Tomcat to auto
deploy it. When I asked the vender if I could deploy it to root last
week the rep said he didn't think so, but would ask his techs. It's odd
because it works fi
On Sun, 27 Jan 2008 16:01:28 -0800 Hassan Schroeder wrote:
> Aside from the fact that putting Context elements in server.xml is
> strongly discouraged
Various people tend to claim the same thing on this list. I'm pretty sure
there is a functionality which could not be achieved otherwise, although
> From: Caldarale, Charles R
> Subject: RE: ROOT not working
>
> All you should have to do is copy MyApp.war to
> webapps/ROOT.war and delete the webapps/ROOT folder and
> conf/Catalina/[host]/ROOT.xml (if it exists, which it
> probably doesn't). Did you do just that? Did you do something el
> From: John Le [mailto:[EMAIL PROTECTED]
> Subject: ROOT not working
>
> I am trying to use a 3rd party web application in the webapps/ROOT
> folder so my domain name will just be localhost:8080.
All you should have to do is copy MyApp.war to webapps/ROOT.war and
delete the webapps/ROOT folder
Hi,
I am trying to use a 3rd party web application in the webapps/ROOT
folder so my domain name will just be localhost:8080. However for some
reason it doesn't work, I get an error status 500 when I try to load up
the website. The web application came as a WAR file, let's say MyApp.WAR
and when I p
Richard,
I too, use 4.1., and in some of my context paths, I close it out with the slash
at the end (the closing tag) like you do, and some have many other child XML
attributes underneath them, and therefore leave it open, as I have a closing
tag like so.
Make sure you don't have an extra one
did you by chance not close an XML tag properly? Although it should have still
balked on the Windows machine, but perhaps it was a space or carriage return
ignored by the Windows box and not ignored on fedora?
-Original Message-
From: richhse [mailto:[EMAIL PROTECTED]
Sent: Monday, Janua
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clay,
Clay Collier wrote:
| I'm running Tomcat 5.5.25, but I think I've found the problem. When I
| deployed the application onto the production server, the server was
| unable to set up the connection pool until I added an additional
| Resource ent
Can I just follow up a point that was made earlier on as I am having a
similar issue:
I am using tomcat 4.1:
I have defaultContext and all works fine.
If I try to add a context as below to server.xml on a fedora box:
if i do the same on a windows box, it works fine and the context works like
a
> From: maggie [mailto:[EMAIL PROTECTED]
> Subject: Re: find out the possible bottleneck webapp
>
> So what I want is a light weight tool, just find out which
> webapp causes the problem when Tomcat runs abnormally.
Take a look at the jstack tool to remotely access stack traces on a
running JVM
That worked fine, thanks. I had assumed it would be that simple, but the
response I was getting here made me think it was more complicated than
that.
> -Original Message-
> From: David Smith [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 28, 2008 7:07 AM
> To: Tomcat Users List
> Subj
You could edit the startup/shutdown scripts to locally define a
JAVA_HOME or JRE_HOME environment variable for the tomcat instance
only. It's not pretty, but it works :-).
--David
Karr, David wrote:
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monda
> From: Karr, David [mailto:[EMAIL PROTECTED]
> > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> > You can't. The whole point of JAVA_HOME (or JRE_HOME) is to
> > tell Tomcat where to find the desired JVM installation. Fix
> > your environment variable.
>
> I cannot. This is just researc
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 28, 2008 4:56 AM
> To: Tomcat Users List
> Subject: RE: Problems installing Tomcat 6 along existing
> Tomcat 5, and JAVA_HOME points to 1.4.2
>
> > From: Karr, David [mailto:[EMAIL PROTECT
Hi,
Thank you all for the reply!
I am sure that's some of my webapps' problem.
It runs ok at beginning. After it runs one day, the CPU usage is very high,
I have to restart Tomcat.
Of course, I can use JProber to analzye which webapp goes wrong.
But I don't want restart Tomcat. I want to find th
> From: Roger [mailto:[EMAIL PROTECTED]
> Subject: Location of work-directory
>
> I wonder if it is possible to move the work-directory to another
> location, specifically to another harddrive
RTFM:
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html
http://tomcat.apache.org/tomcat-6.0-doc
Hello there,
I wonder if it is possible to move the work-directory to another
location, specifically to another harddrive, and if so, how this can be
done.
Thanks!
Roger
-
To start a new topic, e-mail: users@tomcat.apache.
Hi Guys,
Thanks for your input. I discovered the problem. It did indeed have to do
with case sensitivity. The META-INF AND WEB-INF directories are supposed to
be in uppercase. But when I copied the whole webapp over onto the new
Tomcat installation Linux forced the names to be lowercase. I h
> From: Amitava Chakraborty [mailto:[EMAIL PROTECTED]
> Subject: db.getConnection() working but
> db.getConnection("username","password") notworking for JNDI Connection
>
> I am using javax.sql.DataSource.
No, you're using the connections pooling logic, which wrappers
javax.sql.DataSource. If
> From: Karr, David [mailto:[EMAIL PROTECTED]
> Subject: RE: Problems installing Tomcat 6 along existing
> Tomcat 5, and JAVA_HOME points to 1.4.2
>
> When I tried to run "tomcat6.exe" from the Tomcat6 zip file
Why are you trying to run tomcat6.exe? That's for use *only* when
Tomcat is install
But if you take a look at the javadocs for BasicDataSource in
Commons-DBCP, you'll find the DBCP implementation of the DataSource
interface does not support the getConnection( user, password ) method.
http://commons.apache.org/dbcp/apidocs/index.html
--David
Amitava Chakraborty wrote:
Hi ALL
Hi all,
i have an exception in my tomcat logs :
04.Jan.2008 13:42:25 org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request
java.io.IOException
at
org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
at
org.apache.jk.common.HandlerRequest
46 matches
Mail list logo