Hello,
I am running an application for multiple clients and the setup is like the set of
classes being used are common and the property files are different for each client.
The structure looks as below :
/usr/local/common_application_classes/ - this folder contains all classes
i am also gr\etting the same problem like u,
using tomcat jsps and htmls are working,but using apache onlu jsps are working but not
htmls.if u find the solution plz send me that solution.
thanks in advance,
shiva
deepak shripat mane [EMAIL PROTECTED] wrote:
Hii..
Can u tell me Wat is scope
i am sorry you got a wrong address here i don't know who you are and what
you are talking about
Hello,
I have new cognitions.
The failure only appears, when the server sends a 302 - Moved Temporarily,
so a redirect.
But not every time.
The HTTP-Request looks as follow:
GET /login/ HTTP/1.1\r\n
Host: x\r\n
Cookie: JSESSIONID=C825930D6AACACFF3C38D40E9A1AB975.e1\r\n
\r\n
And now
Hi,
I am using Tomcat as web server for my application. I start Tomcat using windows
service. All the logs generated by the Application are written in to a file called
stdout.log which is under tomca/logs folder.
I have noticed that with continuous use of application,stdout file size increasing
Yup, thats the one you need.
I'm a bit rusty on JK as I use JK2.
Congrats.
-Original Message-
From: Casas, Claudia [mailto:[EMAIL PROTECTED]
Sent: 22 June 2004 01:07
To: Tomcat Users List
Subject: RE: I do not want port 8080. Anyone know how to?
I think I found the solution to my
Hi.
I had this problem myself - and I have found that there is a potential
memory leak in the JK connector code (in the mod and the Java
implementation?). My solution was to remove Apache and go solo with Tomcat
5.0.25 (will keep upgrading though).
My problem has gone away! Tomcat stays up
follow this url
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
Filip Hanik - Dev [EMAIL PROTECTED] wrote:
ok, try mod_proxy, it might be easier.
but your problem is that you prolly didn't configure mod_jk properly, read the docs
(should be tons of them out there) and try again
it looks like the respond is in chunked format. you should have a
header that reads Transfer-Encoding:chunked.
mod_jk1/2 both have serious bugs with chunked encoding. try going to
tomcat direct to see with the proper header is there.
On Jun 22, 2004, at 8:33 AM, [EMAIL PROTECTED] wrote:
Without Apache and mod_jk it works fine, so the application is clean.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
start the server,after that change the port# in conf file and start the server
again,i think this may helpful for u
Dan Barron [EMAIL PROTECTED] wrote:Jon,
I have used the CATALINA_HOME/common/lib to share jar files among different
instances. Not sure if that answers your question though.
I searched for this in the archives at mikal.org, and only found the
question and no answer.
I have Tomcat 5.0.16 behind a hardware SSL accelerator box. The links in my
webapps of course refer back to HTTP://myserver.com/myapp, but I of course
want them to be rewritten as
Could you please use tomcats web admin to change logging settings...
By default you can access http://localhost:8080/admin
You can activate a separate log for several contents.
-Ursprüngliche Nachricht-
Von: Veera Sivakumar [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. Juni 2004
At 10:37 PM 6/21/2004 -0700, you wrote:
Hey!
As far as I understand, hot code deployment, is when you modify .class
inside /WEB-INF/classes, and tomcat reloads it, correct?
If so, is it true, that whenever it reloads it, the OLD instance of static
objects, threads, and properties stay alive,
Look at the RequestDumperValve in the tomcat source code
Filip
- Original Message -
From: Trond Hersløv [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 5:18 PM
Subject: SV: request process flow and user profiling
Thanks, but I still don't know
Instead of using System.out.println() to log your messages, use the
HttpServlet's log() method. You can specify the logging class you want to use,
the path it writes to, the base name, and extension. Each day a new file is
created and you can simply delete the old ones as they are closed when a
You could add a customer Logger tag to the context in your server.xml and add the
swallowOutput=true attribute, this will put standard out and standard error into the
log file that you specify which is rotated on a daily basis automatically for you by
tomcat.
Ta
Matt
-Original
you can try turning off chunking in tomcat.
On Jun 22, 2004, at 9:12 AM, [EMAIL PROTECTED] wrote:
Without Apache and mod_jk it works fine, so the application is clean.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
how are you creating your links right now, the easiest is to just use relative links,
like
a href=/myapp/some.jspA Link/a
here the browser will connect up using same protocol as the data came down on.
or you can create your own tag, like
a href=app:MyLink href=/myapp/some.jsp/A link using tag/a
The response from the tomcat looks as follow:
=
HTTP/1.1 302 Moved Temporarily
Set-Cookie: JSESSIONID=E733DF07439078F09D5DD92695DA91F6.e1; Path=/
Location: x/login/
Content-Type: text/plain
Content-Length: 0
Date: Tue, 22 Jun 2004
Hi,
It may not be an 'attack' ... probably just due to RH9s threading lib ...
See this message for the possible solution:
http://marc.theaimsgroup.com/?l=tomcat-userm=108670043100516w=2
Also see the following messages for further explanations:
Hello, we are running Apache 1.3.19.3 and Tomcat 3.2.4 on AIX 4.3.3. We
are have trouble compiling the mod_jk and were wondering if anyone already
has this compiled and can send the file?? Thanks!
-Bob
-
To unsubscribe,
That's the problem though, the browser isn't doing that. I wonder if that's
a weakness of the version of IE I'm using (6.0.280)?
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 10:19 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject:
We use Tomcat with a fronting Web server (Apache) which provides Basic
authentication, so we need to run with 'tomcatAuthentication=false'
in the Ajp13Connector. But we also want to make use of the servlet
roles concept to protect applications (including the Manager app)
from arbitrary access.
Dear List,
We have written a webapp, and now I want to add some logging inside.
The app has jsp pages, servlets and a java package of classes for jdbc
database interaction.
O.k. as I understood Tomcat does support logging via, catalina.out etc.
The logfile can even be configured based on each
Hi all,
I'm facing a big doubt.
I have defined several Custom Tag libraries deployed
on Tomcat 5.0.16.
In some of this tags, I use class instance variables.
For example I have an instance variable that controls
the style
of the page depending on the jsp name:
public class BaseCustomTag extends
In the absence of any more logical suggestions, I've been randomly
fiddling and have found that:
* I only get the error when I successfully retreive XML from the
database and pass it to Xalan, it works or fails elegantly in all other
cases
* The XML data is returned correctly and is
Hi Nicole Micheal,
Thanks for your comments on this issue. lb_factor works fine although a bit
strange :D
The reason why my loadbalancing did not seem to work is I have tested with
small number of users. When I increased number of users and each user with
just one http call, I could see properly
I believe that it's 'normal' to use a logging package, rather than
system.out to perform debug logging. A package like log4j has many
advantages including:
1) It's popular (so you get support and lots of people can help)
2) It's super-configurable (you can turn each class/package on or off,
or
When using Tomcat 5.0.25 it seems that any change I make to ROOT/index.jsp does not
show up in the
browser (in Tomcat 4.xx this was easy to do). I am sure this is some sort of caching
problem so
I've been looking for the compiled JSP in the work directory to delete it. Very
strange, but it
See http://issues.apache.org/bugzilla/show_bug.cgi?id=23357. Perhaps if
you vote for it, someone would fix it?
-Original Message-
From: Jonathan Melhuish [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 11:44 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Bizarre
When using Tomcat 5.0.25 it seems that any change I make to ROOT/index.jsp does not
show up in the
browser (in Tomcat 4.xx this was easy to do). I am sure this is some sort of caching
problem so
I've been looking for the compiled JSP in the work directory to delete it. Very
strange, but it
Sure, but the other question is this:
ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
same log was somehow available to any old bit-o-java when running in the
environment?
-
To unsubscribe, e-mail: [EMAIL
Hi, yeah thanks - have been doing that this morning!
Regards,
Carl
-Original Message-
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: 21 June 2004 09:34 PM
To: 'Tomcat Users List'
Subject: RE: AW: How can I add Host without restarting Tomcat?
Look at tomcat's administration tool -
Hi...
...is there really noone, who can tell me, how to set up the
connection-timeout for a mssql-based ConnectionPool with tomcat ?
The methode getLoginTimeout() and setLoginTimeout() does not seem to be
avaible. If I try to use them, I get this error:
UnsupportedOperationException
Hi...
...is there really noone, who can tell me, how to set up the
connection-timeout for a mssql-based ConnectionPool with tomcat ?
The methode getLoginTimeout() and setLoginTimeout() does not seem to be
avaible. If I try to use them, I get this error:
UnsupportedOperationException
Ive installed a fresh tomcat/mod_jk2 on fedora core 2 using the provided
tomcat rpms. When I connect to tomcat on its dedicated port, ie,
http://localhost:8080/ I get a working default tomcat page. If I connect
via apache using mod_jk2 the default page loads, and the jsp/servlet
examples work
Quoting Benson Margulies [EMAIL PROTECTED]:
Sure, but the other question is this:
ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
same log was somehow available to any old bit-o-java when running in the
environment?
So, you want all logging to go to the servlet
Hi,
I have one server running.
Standard config:
- Windows 2000
- Tomcat 4.1.30, MySql
- Tomcat is using connection pooling
There are roughly 150 virtual hosts in server.xml, each with 3-4 contexts
each.
The server starts up using 66MB mem, and runs fine for roughly 24 hrs, but
then gives up.
On Tue, Jun 22, 2004 at 09:37:19AM -0700, Mike Duffy wrote:
: When using Tomcat 5.0.25 it seems that any change I make to ROOT/index.jsp does not
show up in the
: browser (in Tomcat 4.xx this was easy to do). I am sure this is some sort of
caching problem so
: I've been looking for the compiled
first you seem to have a problem with those 302 responses from tomcat.
you have to fix that first.
i'm using tomcat5 + apache2 + mod_jk2.
in my setup, the chunked header comes from tomcat.
just search google for tomcat disable chunking. there are lots of
hits.
On Jun 22, 2004, at 10:30 AM,
Benson Margulies wrote:
See http://issues.apache.org/bugzilla/show_bug.cgi?id=23357. Perhaps if
you vote for it, someone would fix it?
Sorry if I'm misunderstanding, I'll take a fresh look at this in the
morning, but essentially you're saying that Xalan doesn't deal correctly
with UTF-8
On Tue, Jun 22, 2004 at 06:07:56PM +0100, Simon wrote:
: When I connect to tomcat on its dedicated port, ie,
: http://localhost:8080/ I get a working default tomcat page. If I connect
: via apache using mod_jk2 the default page loads, and the jsp/servlet
: examples work fine, but the top of
Here's what I've seen.
The TRaX API, as implemented by xalan, has a thing called
javax.xml.transform.stream.StreamResult.
The xalan implementation of this looks at the type of the object passed
in to decide what sort of character handling is desired.
When you pass in a JspWriter, it gets
Hi
I have a servlet communicating with some JINI services.
This was good working with Tomcat 4.2 and Jini 1.21
I just upgrade to tomcat 5.0 and Jini 2.0 and I get these error
Servlet seems to start OK but it fail systematicaly on Jini
checkConstraint method.
TcpServerEndpoint exist in my jar, so
I'm trying to use the Adobe GoLive 7.0 WEBDAV client with a Tomcat 5.0.27. When I
attempt to connect, GoLive reports
Date and time operations cannot be performed on this resource.
and provides the status
Server Error: The date and time string (last modified) sent by the server for resource
Good suggestion. If the JSP is precompiled shouldn't I be able to go to the work
directory and
see index_jsp.class somewhere under a ROOT directory (like there is for other
webapps)? I guess
one of my basic questions is that why don't I see a ROOT directory in the work
directory?
Mike
---
Yes I am sure I am referring to WEB-INF.
See, one of my classes has its own static daemon running, and when I update that
class's code, a new one gets loaded in, but the old one keeps running.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004
On Tue, Jun 22, 2004 at 09:55:01PM +0300, A Leg wrote:
: I have a servlet communicating with some JINI services.
: This was good working with Tomcat 4.2 and Jini 1.21
: I just upgrade to tomcat 5.0 and Jini 2.0 and I get these error
[snip]
: root cause
: java.lang.NoClassDefFoundError
:
On Tue, Jun 22, 2004 at 12:44:06PM -0700, Mike Duffy wrote:
: Good suggestion. If the JSP is precompiled shouldn't I be able to go to the work
directory and
: see index_jsp.class somewhere under a ROOT directory (like there is for other
webapps)? I guess
: one of my basic questions is that why
Hi all, can anyone help me with this I'm completely lost :(
I don't understand this:
i386-redhat-linux-gcc: ../common/jk_connect.lo: No such file or directory
Where exactly is it looking for this file?
- Original Message -
From: Graeme [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
The org.apache.tomcat.util.log.SystemLogHandler class (source code in
jakarta-tomcat-connectors-4.1.30) handles, among other things,
capturing of System.out and System.err so that they can be redirected
to an application's log file. It makes use of another class
(CaptureLog) to hold the captured
On Tue, Jun 22, 2004 at 12:03:17PM -0600, Someone Else wrote:
: The memory use grows perdictably until it reaches around 20 hours, then it
: starts to gobble up RAM until it crashes, which I don't understand. The
: stangest thing is that I've allocated 1GB mem for the Tomcat instance, but
: it
Actually, my real problem was that tomcat was running my html and jsp's
and apache only html. Since my jsp's contained some html, I thought they
were working, but the jsp part was not really being processed.
Here is a sample of my jsp code:
%@ page language=java %
%@ page import=java.sql.* %
Hi QM,
Thanks for your suggestions.
Our system is running 150 similar web apps - they are sharing the codebase -
only the jsps are different.
We've done significant profiling and discovered only the following:
There are a lot of byte arrays that are being produced. We looked into this
as it
Quoting Ivan Jouikov [EMAIL PROTECTED]:
Yes I am sure I am referring to WEB-INF.
See, one of my classes has its own static daemon running, and when I update
that class's code, a new one gets loaded in, but the old one keeps running.
Are you able to shut down the daemon thread at
Hi,
You can rule out problems in the jsp page since it runs fine under
Tomcat-Standalone.
What connector are you using between Tomcat and Apache? Mod_jk2?
You need a connector to get the dynamic output part.
Hope it helps.
Yan
-Original Message-
From: Casas, Claudia [mailto:[EMAIL
None of the Realms will be usefull when tomcatAuthentication=false. You'd
need to roll your own.
-Tim
Ron Gomes wrote:
We use Tomcat with a fronting Web server (Apache) which provides Basic
authentication, so we need to run with 'tomcatAuthentication=false'
in the Ajp13Connector. But we also
Hello!
just like to ask why i always have this kind of error;
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
Error
this error only occurs when i run tomcat 5.0.7 on
start - programs - administrative tools - services... but if i run
tomcat 5.0.7 manually.. like start -
Hello!
just like to ask why i always have this kind of error;
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
Error
this error only occurs when i run tomcat 5.0.7 on
start - programs - administrative tools - services... but if i run
tomcat 5.0.7 manually.. like start -
Guess I could do that... When I actually STOP the application thru the manager, the
thread keeps on running. The thread is actually a timer set to execute every second,
and I don't have any triggers to stop it. Maybe this could be my ultimate solution :)
Thanks.
-Original Message-
Note that when running Tomcat as a service it is possible that the user can be
different from when you launch it manually.
I am not sure but this can be one possible issue.
All the best,
Ric
Quoting Aris Javier [EMAIL PROTECTED]:
Hello!
just like to ask why i always have this kind of
Hi Ryan,
At 09:42 04/06/22 +0100, Ryan Lissack wrote:
Hi,
It may not be an 'attack' ... probably just due to RH9s threading lib ...
See this message for the possible solution:
http://marc.theaimsgroup.com/?l=tomcat-userm=108670043100516w=2
Also see the following messages for further explanations:
Hi Carl,
Thanks for the help.
At 09:03 04/06/22 +0200, Carl Olivier wrote:
Hi.
I had this problem myself - and I have found that there is a potential
memory leak in the JK connector code (in the mod and the Java
implementation?). My solution was to remove Apache and go solo with Tomcat
5.0.25
Hi,
I just downloaded Tomcat 5.0 to run on my Windows ME system. When I try to
run the Configure Tomcat program, I get:
The tomcat5w.exe file is linked to missing export
NETAPI32.DLL:MetwkstaGetInfo.
NETAPI32.DLL seems to be a Windows XP file. I did the same download on my XP
machine and it is
hello!
i'm logged as the administrator for the server.. when i run it
manually.. the java programs works fine..
when i logged off.. not shutdown.. tomcat manually operated will be
closed right? or wrong?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Hi
Yes I recompile all application, and jar in my application webapp
direstory is the new one.
Andre
QM wrote:
On Tue, Jun 22, 2004 at 09:55:01PM +0300, A Leg wrote:
: I have a servlet communicating with some JINI services.
: This was good working with Tomcat 4.2 and Jini 1.21
: I just upgrade
How is the JMX sequence in tomcat?
When the mbeans-descriptors get used? Which is the first?
Any info?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
U can set session time out atttribute in server.xml file
so that u can solve ur problem
Deepak
On Tue, 22 Jun 2004 Frank von Daak wrote :
Hi...
...is there really noone, who can tell me, how to set up the
connection-timeout for a mssql-based ConnectionPool with tomcat ?
The methode
Really nice.
I am just wondering about one thing - about persistent sessions. I
have a session counter based on the SessionListeners. It is increased
when some session is created and decreased when the session is
destroyed. So, when I restart the Tomcat server some sessions are
recreated but
70 matches
Mail list logo