Hi,
Up until tonight, I've been running standalone Tomcat as an executable.
But, I installed Tomcat on another machine, this time, installing it as
a service. I can't find anywhere where Tomcat on this new machine logs
the messages like you seen in the DOS window when you run Tomcat as an
The logs are present in the 'logs' directory of your tomcat installation. It
is stored in the file 'stdout.log' These log files are cleared each time you
restart Tomcat.
Jo
-Original Message-
From: ohaya [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 12:06 PM
To: Tomcat Users
Try to see /logs/stdout.log
- Original Message -
From: ohaya [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 23, 2004 2:36 PM
Subject: Where are Tomcat logs when run as service?
Hi,
Up until tonight, I've been running standalone Tomcat as an
Hi, thats good that you started this as a service, we just done same with
our application, and may be our discussion help each other.
Here is exact information about logs of Tomcat when running as a service.
1- All System.out.print go to $:\Tomcat4.1\logs\stdout.log
2- All System.err.print go to
Shakeel wrote:
Hi, thats good that you started this as a service, we just done same with
our application, and may be our discussion help each other.
Here is exact information about logs of Tomcat when running as a service.
1- All System.out.print go to $:\Tomcat4.1\logs\stdout.log
2-
Hi
In what order does Tomcat search ./common/classes, ./shared/classes and
./webapp/classes for .class files? I have a number of web-apps that use class files
located in ./shared/classes to connect to a backend ERP system. There has always been
an implicit assumption that there would only ever
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
-
To unsubscribe, e-mail: [EMAIL
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-h
owto.html
Thanks, I'd missed that.
Regards
Roger
__
This e-mail and the documents attached are confidential and intended
solely for the addressee; it
I've used a Filter to strip out redundant whitespace from text/html
output. I wrapped the ServletResponse so that a custom
ServletOutputStream filters out empty and recurring linefeeds. Works
pretty well.
As for mod_gzip, I would be very surprised if it didn't respect the
Accept-Encoding
Hi,
I am trying to send data from a swing application to a Servlet.
I am having the following piece of code within the action event of a
button
URL callback = new
URL(http://localhost:8080/UMSDriver/SwingToServlet;);
URLConnection c = callback.openConnection();
c.setDoOutput(true);
try followings
or set content type explicitly
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
S H A K E E L A H M A D
(EE, SCJP, SCWCD SCBCD)
Northstar Technologies, Inc.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday,
Hi,
How does Tomcat determine when to reload the app (using autoDeploy)?
It appears to compare the time stamp on the war with the time stamp of
the expanded directory.
How then does it do it when you set unpackWARs=false?
Thanks,
Anthony.
How then does it do it when you set unpackWARs=false?
It doesn't do it at all. You have to do it manually...
Donie
-Original Message-
From: Anthony Colebourne [mailto:[EMAIL PROTECTED]
Sent: 23 August 2004 10:58
To: [EMAIL PROTECTED]
Subject: unpackWARs and autoDeploy
Hi,
How does
You may want to watch the status of the following bug:
Hi,
There's a known escaping issue there,
http://issues.apache.org/bugzilla/show_bug.cgi?id=28219.
Yoav Shapira
Millennium Research Informatics
HTH,
Jon
Sun House wrote:
Chuck ,
YOU ARE THE MAN
Escaping the dollar sign doesn't
Hello,
For a test environment (currently running tomcat 4.1) I add web-apps to
server.xml with the 'Context' tag.
Can I somehow add an option which makes it unstarted on default (but easily
startable by the tomcat manager)?
Michiel
--
Michiel Meeuwissen
Mediacentrum 140 H'sum
+31 (0)35
I am trying to set the content type as
c.setRequestProperty(content-type,
application/x-www-form-urlencoded);
Is it okay?
-Original Message-
From: Shakeel [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 3:30 PM
To: Tomcat Users List
Subject: RE: Swing communicating with a
On Sunday 22 August 2004 02:49 pm, Caldarale, Charles R wrote:
still i the tomcat somehow parses Context
docBase=\\my-computer\c$\temp ...
as \\my-computer\c\temp .
Have you tried simply escaping the dollar sign, perhaps by useing $$?
Or giving the root of C: on that PC a proper share
Hi Folks,
I want to write a tomcat security Valve that does content checking of the HTTP
body, before anything else happens (e.g. 3rd party destination servlets I have no
control over are called).
However, to read the body data I 'use up' the inputStream, and can't find any way
to put
[EMAIL PROTECTED] wrote:
Hi,
I have a class that uses the MySql driver for accessing the database. If
I run this class on its own then it works fine. But if I use the same
class in a JSP, then the driver is not found.
What is the reason?
You don't have the mysql jar file in the WEB-INF/lib
Hi Folks,
I want to write a tomcat security Valve that does content checking of the HTTP
body, before anything else happens (e.g. 3rd party destination servlets I have no
control over are called).
However, to read the body data I 'use up' the inputStream, and can't find any way
to put
No use following as it might be case sensitive
con.setRequestProperty(Content-Type, our Conent Type here);
S H A K E E L A H M A D
(EE, SCJP, SCWCD SCBCD)
Northstar Technologies, Inc.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23,
Thanks. I put the jar in endorsed folder and it has started working
fine.
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 5:08 PM
To: Tomcat Users List
Subject: Re: MySql driver not available in JSP.
[EMAIL PROTECTED] wrote:
Hi,
I have a
Hello All,
Any ideas why the following error will come
VBJ ThreadPool Worker daemon prio=5 tid=0x00c59538 nid=0x5ae8 waiting for
monitor entry [e677d000..e677fc30]
at
org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool
.java:111)
- waiting to lock
I have recently taken over a project that was done by a developer who is no
longer available, who also left no documentation about what he did. There
seems to be slowdowns during the day, the site is not a heavy hit site so I
was looking for some advice on what tools to use for preformance
Hi,
The server either starts all webapps on startup or none of them. See
the Host configuration reference for details. But you can't toggle this
option for one webapp only (unless you put it on its own Host of course,
which is trivial).
Yoav Shapira
Millennium Research Informatics
I would recommend downloading one of profiling tools like borland
OptimizeId or JProbe to profile the webapp. Use JMeter to simulate
load and watch what happens in the profiler. if you suspect memory
leaks, look at the heap and how it grows. if you search the archives,
you'll see plenty of
Hi,
The Manager How-To has some ant details. It has a lot of detail on the
actual Manager tasks (the same whether invoked from Ant or from the web
browser), which is probably what you want. The actual Ant tasks don't
have any logic, they're just convenience wrappers for invocation via
Ant.
Hi,
This is not an error, it's what a thread is doing. And it's not a
Tomcat question at that, it's DBCP, so please ask on the proper list.
Thanks,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23,
Hi,
This is not hard to do with a Filter, as long as your authentication is
done before this Filter (possibly with another one). Your chain would
then look like:
- Authentication filter (mapped to /*, does nothing if request already
authenticated)
- Rewrite filter (mapped to /*, checks
Hi,
Good, I was just going to suggest jpackage.org if you go with an RPM at
all. The alternative of a tomcat download from the jakarta site is also
good. And either way, consider upgrading to tomcat 5.x especially if
you're just getting started and don't have legacy requirements.
Yoav Shapira
Can't you use a java.io.PushbackInputStream?
You could write a Filter instead of a Valve. In the Filter wrap the
ServletRequest and provide a custom ServletInputStream which uses the
PushbackInputStream around the real ServletInputStream.
Once security checks have passed you can push back the
Thanks, that worked. I also appreciate the reference to the XML
validator.
That said, are there any observations about the feasibility of using
Swing for building GUIs to be used via browser? I find too many
unexpected browser peculiarities when trying to do anything too
complicated (probably
Hi,
i implemented a proof-of-concept for my company, resulting in a howto that
covers Tomcat5 with jk2 and iis6 (in full iis6-mode), jmx configuring of
tomcat and jk2 on webserver-side and some other side-knowledge.
There are lots of guides out there, but most win32-guides work with jk1 or
iis6
This is not an exception message , some one has pressed (Ctrl+Break) key on
Tomcat server console. Doing this dumpts the threads information on the
console which is extremly helpful at times.
S H A K E E L A H M A D
(EE, SCJP, SCWCD SCBCD)
Northstar Technologies, Inc.
-Original
Also try JProfiler that we use for tomcat related performance.
Also make sure that JVM is set to have memory larger enough, to handle
things well, and look into the Maps if any whether they are designed good or
not, use connectopn pooling etc.
S H A K E E L A H M A D
(EE, SCJP, SCWCD SCBCD)
Hi,
From looking at the documentation further it seems that if you have
unpackWARs=false with autoDeploy=true then any new WARs will just
get redeployed. See below.
However I have not found this to be true! Perhaps this is a bug?
Also if you update the context file in
Hi Darryl,
you wrote :Or giving the root of C: on that PC a proper share name?
What is a proper share name ?
the problem is that Tomcat removes the $ sign when it parses the XML file with context
element
Regards
Sun House
Darryl L. Pierce [EMAIL PROTECTED] wrote:
On Sunday 22 August 2004 02:49
I've used a Filter to strip out redundant whitespace from text/html
output. I wrapped the ServletResponse so that a custom
ServletOutputStream filters out empty and recurring linefeeds. Works
pretty well.
One downside to this approach is that the filter is being called for
every request which
From: Sun House [mailto:[EMAIL PROTECTED]
Subject: Re: docBase attribute in context element doesn't recognize c$
you wrote :Or giving the root of C: on that PC a proper share name?
What is a proper share name ?
The C$, D$, etc. names are administrative SMB shares created automatically by
Hello Everyone,
Can any one tell me how to make tomcat start headless and what it exactly
means, I am new to this term? I am running a webapp on redhat 9 machine
(without X11) and using awt for manipulatiing images. The browsers look for
X11 session whenever i try to access the servlets. From
Add this to your JAVA_OPTS
-Djava.awt.headless=true
Normally, when rendering graphics, java will try to use the graphics
engine. If no X-windows is installed, it fails to render things that
use AWT. This parameter tells java not to use the system graphics
engine.
-Original Message-
Hi again Chuck,
the C$ shared folder is a matter of a default situation, it is out of my scope, is is
in the scope of a client installation and i have to ajust ot that.
the previoius mail written by Jon ( thanks Jon !! ) , reffered me to a bug #28219,
which you find in
Please read the attached file.
Norton AntiVirus Deleted1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I'm not sure if my question should be addressed to the Tomcat or dom4j
list, so this
is going to both.
I'm running Tomcat for my company intranet and most of my Java
applications return
their results as XML so that I can style the data with XSLT. I am using
dom4j
to dynamically build
Hi,
Is there a way we can change JSESSIONID name? I mean can we have a different
cookie name to store sessionid? If yes how I can configure it in tomcat.
I have two applications running on different tomcats in the same physical
box. Both applications use the same authentication mechanism
We're going to try out a third-party report generation tool, and the
installation instructions involve replacing server.xml. They assume they
will be the only webapp running, which is not the case here.
Can I put their changes somewhere else?
They need:
Listener className=...
Hi,
No, this name is mandated by the Servlet Specification.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Dineshram Villuri [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 12:27 PM
To: [EMAIL PROTECTED]
Subject: Changing session-cookie(JSESSIONID) name
Use grep JSESSIONID * and build your own Tomcat.
Ronald.
On Mon Aug 23 18:26:55 CEST 2004 Dineshram Villuri [EMAIL PROTECTED] wrote:
Hi,
Is there a way we can change JSESSIONID name? I mean can we have a different
cookie name to store sessionid? If yes how I can configure it in tomcat.
I have two
Aug 23, 2004 9:34:21 AM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Buffer overflow: buffer.len=8192 pos=9 data=78988
41 42 00 02 04 01 f4 34 | AB?4
Aug 23, 2004 9:34:21 AM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Overflow
java.lang.Throwable
That was from my
Is it possible to give a user permission to stop/redeploy/start only a
specific app, using manager app? I want to give the manager role to a
user to redeploy a specific app, not all apps deployed on a server. How
would you to achieve this?
Is there a way to configure permissions to a role defined
Hi,
If you're using Tomcat 5.x, you can put these in the context.xml file
(in the META-INF directory of your application / WAR). They don't go in
web.xml, as they're not portable, but rather they are Tomcat-specific.
If you're using Tomcat 4.x, consider this another reason to upgrade ;)
Note
Hi,
You would achieve this via configuration on the server-side of different
Hosts, each with only the set of webapps matched to the Realm providing
your authentication.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Richard Han [mailto:[EMAIL PROTECTED]
Sent:
On Mon, 23 Aug 2004, Dineshram Villuri wrote:
| I have two applications running on different tomcats in the same physical
| box. Both applications use the same authentication mechanism (wherein when 2
| users are logged in with the same username the earlier one is kicked
| out/logged off). At any
Weve a web application that uses Apache (Port 80) for load distribution along 4
Tomcats (HTTP Ports 8080, 9080, 10080 and 11080). So, when one user enters the page,
Apache redirects it to one of the Tomcats in order (Round Robin Algorithm). Anyway,
this redirection works well if the user is not
Thank you for your replying my question. Could you elaborate a bit more?
I might not understand you correctly but did you suggest to use
different host for each app? I only have a single host for a few apps
though.
Thank you!
Richard
On Mon, 2004-08-23 at 11:20, Shapira, Yoav wrote:
Hi,
You
If you're using 4.1.x you can place a context-name.xml file in the
webapps (appBase) directory. It contains the Context element that would
have gone in server.xml.
The custom Realm classes still need to be in the common classloader.
Our application has several catalina engines embedded in it and I am trying to
determine if it makes sense or is even possible to use the catalina security manager
in this setting. Specifically, what takes the place of the '-security' switch on
tomcat in an embedded scenario?
BH
I'm using tomcat with Apache 2 and mod_jk2. I was pleasantly surprised
to find it was compressing pages using gzip by default.
On Aug 23, 2004, at 9:44 AM, John Sidney-Woollett wrote:
We also use mod_deflate with Apache to reduce the data transmission
costs even further.
- - - - -
:: [EMAIL
Hi,
Yeah, I'm suggesting you split your one Host (and probably one Realm)
into multiple Hosts each with its own Realm configured for your one user
and running the webapps that users should be able to restart.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Richard
Dear All,
We are facing some strange problems while accessing a webdav share from windows XP as
client.
1) Occasionally the windows explorer window hangs while accessing one of the webdav
shares and that window recovers once i open a new windows explorer window and access
the same share or a
Bill Hughey a écrit :
Our application has several catalina engines embedded in it and I am trying to
determine if it makes sense or is even possible to use the catalina security manager
in this setting. Specifically, what takes the place of the '-security' switch on
tomcat in an embedded
Can I configure a single instance of tomcat to different hosts?
Thank you!
On Mon, 2004-08-23 at 11:47, Shapira, Yoav wrote:
Hi,
Yeah, I'm suggesting you split your one Host (and probably one Realm)
into multiple Hosts each with its own Realm configured for your one user
and running the
The URL /_vti_bin/shtml.exe/_vti_rpc is what IE goes looking for if it doesn't
recognise the response from a WEBDav compliant server. I have seen similar
problems on TC5 in the past around 302 redirects from, for example,
http://localhost/webdav to http://localhost/webdav/. Using a servlet mapping
On 8/23/2004 9:22 AM, Wendy Smoak wrote:
We're going to try out a third-party report generation tool, and the
installation instructions involve replacing server.xml. They assume they
will be the only webapp running, which is not the case here.
Can I put their changes somewhere else?
They need:
Hi,
I believe Listener ... / should go into web.xml (beware the order),
Listener can also be a Tomcat listener which goes in server.xml, as
documented in
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html.
Yoav
This e-mail, including any attachments, is a confidential
Hi,
Yes. Thank you,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Richard Han [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 2:52 PM
To: Tomcat Users List
Subject: RE: configure manager app
Can I configure a single instance of tomcat to different
Hello everyone,
I am using the following fragment in a JSP document (the XML variant of
JSP pages):
hrefmyurl?param1=value1amp;param2=value2/href
The problem is, Tomcat sends this fragment to the browser as
hrefmyurl?param1=value1param2=value2/href
which causes an XML parsing exception on the
Hi,
Does it happen if you have a proper JSP XML page, e.g.
jsp:root
xmlns:jsp=http://java.sun.com/JSP/Page;
version=1.2
jsp:text![CDATA[html
body
center
h1Hello World/h1
/center
/body
/html]]/jsp:text
/jsp:root
?
Yoav Shapira
Millennium Research
Try to append amp to the amp; fragment it should end like this
amp;amp; and the output would be amp;
Andreas Schildbach escribió:
Hello everyone,
I am using the following fragment in a JSP document (the XML variant
of JSP pages):
hrefmyurl?param1=value1amp;param2=value2/href
The problem
Shapira, Yoav wrote:
Does it happen if you have a proper JSP XML page, e.g.
jsp:root
xmlns:jsp=http://java.sun.com/JSP/Page;
version=1.2
jsp:text![CDATA[html
body
center
h1Hello World/h1
/center
/body
/html]]/jsp:text
/jsp:root
It happens with the
John Villar wrote:
Try to append amp to the amp; fragment it should end like this
amp;amp; and the output would be amp;
It is my understanding that if an XML document is serialized to an
output stream, characters like , and are represented by their
entities amp; gt; lt so an XML parser
LOL that's true. i think yoav gave you the right solution
try embedding your xml processor offending fragment into a
jsp:text![CDATA[ ]]/jsp:text that should do the work
It is my understanding that if an XML document is serialized to an
output stream, characters like ,
Hello:
I'm working on a web application (platform details - SuSE 8.2, Apache 2.0.50, mod_jk2
as the connector between Tomcat and Apache).
My intention is to make changes to mod_jk2.conf (add/remove LocationMatch blocks),
and have Apache pick them up without my having to restart the
Circumstances:
jk2, tomcat5, apache2 (almost) working for URI spec in
workers2.properties of
[uri:/*]
Browse through port 80 to host; Tomcat 5 index.jsp
(tomcat-homewebapps/ROOT/index.jsp) displays and most (all?) links in
it work. However, I have a tomcat-home/webapps/DBTest directory with
Any help/hints on this one ?
I initially posted this on jboss mailing lists, but since this is really
a tomcat/commons-modeler issue, I'm posting
it here
Thanks,
Sastry
---BeginMessage---
I haven't heard any responses. Trying again to see if there is anyone
who has some ideas or has
seen this
Hi,
(jumping in late) Have you tried:
jsp:directive.page contentType=text/xml /
and perhaps:
jsp:output doctype-root-element=html
doctype-public=-//W3C//DTD XHTML 1.0 Transitional//EN
doctype-system=http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd/
best,
-Rob
Andreas Schildbach
Anyone here get Tomcat 5 to work with IIS 5?
I spent more than 7 hours today mainly because of the damn jk2
connector.
After all sorts of misleading docs of different working configs that did
not work for me. I have everything up an running.
However I can't get the syntax right in
I think this is it. Upgrading to 5.0.27 seemed to remedy it also.
Thank you for your help
-Julie
On Sat, 21 Aug 2004 08:23:23 -0500, QM [EMAIL PROTECTED] wrote:
On Fri, Aug 20, 2004 at 09:37:49PM -0700, Julie Larson wrote:
: I'm using all public constructors that take no arguments.
Does
*blink* *blink*
Um, yes, that will work nicely.
In fact, based on your suggestion I did a web search and found a similar, worked
example - http://www-106.ibm.com/developerworks/java/library/j-tomcat/ .
Cool! Thank you very much :-)!
cheers,
Chris
-Original Message-
From:
On 8/23/2004 12:16 PM, Shapira, Yoav wrote:
I believe Listener ... / should go into web.xml (beware the order),
Listener can also be a Tomcat listener which goes in server.xml, as
documented in
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html.
I actually looked through the
Hi,
I am using Tomcat 5.0.26. I configured the HTTP connector to decode URI
with setting URIEncoding=UTF-8
Connector port=8080 address=${jboss.bind.address}
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
doesn't URIEncoding suggest that the URI is encoded,
in a POST, the parameters are passed in the body, not in the URI?
-Original Message-
From: Rick Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 8:08 PM
To: Tomcat Users List
Subject: How do I configure Tomcat to
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The uncleanable file
Hi! I have Apache2.0.50+mod_jk2+Tomcat5.0.27 running together on Windows 2003.
Access to the applications directories mounted in Virtual Host of
Apache. I'm trying to deny access to root of every site and the
applications directory with
Directory C:/server/apache/htdocs
Order Deny,Allow
Deny from
Filip Hanik (lists) wrote:
doesn't URIEncoding suggest that the URI is encoded,
in a POST, the parameters are passed in the body, not in the URI?
Yes it does, and hence the second part of my question. Do you know how
one can configure Tomcat to decode input parameters with UTF-8 encoding?
Hi everyone,
I am using Tomcat 5.0.27, straight out of the box. I
have a question...
First, I added an Context Descriptor XML file,
jsp-examples.xml, to the webapps/jsp-examples
directory. My intent was to be able to access the
jsp-examples app with this URL:
http://localhost:8080/je;
Here's
It's a mistake that it was there. Check out the conf/Catalina/localhost
directory. You'll see a balancer.xml file there as well, along with a few
others. That is the correct place for context configuration files (CCF) to
be... at least for the localhost Host (as defined in server.xml). Put
At 08:34 PM 8/23/2004 -0700, you wrote:
Filip Hanik (lists) wrote:
doesn't URIEncoding suggest that the URI is encoded, in a POST, the
parameters are passed in the body, not in the URI?
Yes it does, and hence the second part of my question. Do you know how
one can configure Tomcat to decode
88 matches
Mail list logo