I'm not sure it this is the right place but I'm trying
I have a problem. I am trying to use Crystal Report to show reports in my webapp using
Tomcat 5. This work's ok when I run the webapp inside JBuilder but when I move the project
to a standalone Tomcat server, I get the following error:
1
On Wed, 13 Oct 2004 21:38:00 + (UTC), Derek Mahar <[EMAIL PROTECTED]> wrote:
> Shapira, Yoav mpi.com> writes:
>
> I should mention that originally, I did not have antiJARLocking enabled, but
> enabling both antiJARLocking and antiResourceLocking does not appear to have
> made any difference.
Hi!
Just to add some info:
I've found some problem with Debian Woody + Sun 1.4.2 JDK... at least
Tomcat 5 started up from jsvc fail at File.mkdirs (more info on
http://www.mail-archive.com/[EMAIL PROTECTED]/msg131293.html
and http://issues.apache.org/bugzilla/show_bug.cgi?id=30177)...
These pro
Hi,
I am using Tomcat 5. In my application, my web.xml declares a ,
and a global error page
java.lang.Exception
/error.jsp
By examining the call stack in my error page JSP, I notice that when
this error page is invoked, my filter is not called. However, if I
define <%@ page errorPage=
Hi there,
still looking through various news groups for the answer, but figured this was the
best place.
I have a number fo domains and subdomains on my system. They are set up properly on
the server to be house in different information bays.
What I want to know is, how do I configured tomcat
Boy am I confused now. If mod_jk2 is dead, so what is everyone using?
Still using just the first mod_jk? I had just gotten everythign working
with mod_jk2 - more or less- but configurationwise mod_jk2 is a pain since
the syntax was completely changed and requires you to map every nook and
cranny.
My config
single-cpu
Debian Sid
Kernel 2.6.7
Sun jdk 1.4.2_04
Tomcat 5.0.26
Apache 2.0.49 + mod_jk2 2.0.4
James Mail Server 2.2.0 (Java based)
My servers run fine.
Are you trying to run with the -server VM? I've always had trouble with that
on Linux.
Eric
On Wednesday 13 October 2004 02:33 p
Shapira, Yoav mpi.com> writes:
>
> Hola,
> Do you have the antiJARLocking attribute enabled for your Context? If
> not, does turning it on make a difference?
>
> Yoav Shapira http://www.yoavshapira.com
I should mention that originally, I did not have antiJARLocking enabled, but
enabling both
> Hola,
> Do you have the antiJARLocking attribute enabled for your Context? If
> not, does turning it on make a difference?
>
I enabled both antiJARLocking and antiResourceLocking in META-INF/context.xml,
but Ant deploy (undeploy/deploy) still causes Tomcat to leave behind
WEB-INF/lib/taglibs-s
I assume you use deploy/undeploy. install/remove or undeploy/install will
lock files.
-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent: October 13, 2004 4:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Locked jar during Ant undeploy on Tomcat 5.5.3
> Are you doing undeploy
> Are you doing undeploy or remove?
I'm using Ant to deploy an application that is already installed and running on
Tomcat. Ant first attempts to undeploy the application before it deploys it.
Ant reports that this is successful, but Tomcat leaves a few locked jars behind.
Yoav suggested that I
My config
Dual-cpu
Debian 3.0-woody
Kernel 2.4.x
Sun jdk 1.4.2_05
Tomcat 4.1.30
Apache 2.0.52
Our servers are running pretty well.
-Original Message-
From: Jeff Bowden [mailto:[EMAIL PROTECTED]
Sent: October 13, 2004 4:34 PM
To: [EMAIL PROTECTED]
Subject: Sun J2SE JVM + tomcat + Debia
Is anyone using tomcat on debian with a Sun JVM? We've just
experimented with running it on bleeding edge Gentoo and Debian boxes as
well as a trailing edge Redhat 7.3 box. Of the three, Debian is the
only one where things don't go quite right. It sort of works but it
never spawns any thread
Are you doing undeploy or remove?
-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent: October 13, 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: Locked jar during Ant undeploy on Tomcat 5.5.3
After executing several Ant undeploys, I've noticed that Tomcat 5.5.3 is
locking
Also, what happens if you have an Apache server with 200 clients, and a
Tomcat server with MaxProcessors at 100. When you get over 100 Apache
clients, do they wait for a turn at a Tomcat connection, or do they return
an error? (In mod_jk Apache returned an error instead of waiting for a
connectio
So would it be correct to assume that you want MaxProcessors to be set to
the maximum number of Apache clients (MaxClients) that you can have
connecting to it at once?
So, for the example of 2 Apache servers, each with 200 MaxClients,
connecting to the same Tomcat server... we'd want MaxProcessors
Hola,
Do you have the antiJARLocking attribute enabled for your Context? If
not, does turning it on make a difference?
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Derek Mahar
>Sent: Wednesday, October 13, 2004 3:20 PM
>
After executing several Ant undeploys, I've noticed that Tomcat 5.5.3 is locking
jar files in WEB-INF/lib, preventing complete application removal. Has anyone
else encountered this behaviour?
I remember that in very early releases, Tomcat 5.0 exhibited similar behaviour,
but in later releases thi
Bob, thanks
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 13 October 2004 11:40
To: Tomcat Users List
Subject: RE: multiple tomcat instance and log4j
Simon,
I use a mix of *nix and Windows here. I've found that using copy with
the (+) option does a
On Wed, 2004-10-13 at 13:42, Joseph Shraibman wrote:
> From the tomcat-devel list:
>
> >> So is JK2 dead because of proxy_ajp? Why doesn't JK2 just replace JK?
> >>
>
Ah, I see. This message from tomcat-devel shows the JK ToDo list:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg63908.html
I believe the equivalent is maxProcessors
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 11:41 AM
To: Tomcat Users List
Subject: Re: Apache MaxClients vs. what in JK2 configuration?
Is the answer to this, that the associated connec
I've seen this issue mentioned before after searching the archive and using
google, but I am unclear if there was any possible solutions. I have a web
app that uses the package 'org.apache.commons.upload' to upload a file to
the server. It is running on IIS 6 with isapi_redirector2.dll.
The issu
Hi,
>Both ojdbc14.jar and orai18n.jar are in commons/lib/
Assuming you mean common/lib, that should be fine.
>It work's fine from a command-line tool.
Is the runtime classpath for the command-line tool that works the same
as the runtime classpath within tomcat?
>Can you point me to some speci
Both ojdbc14.jar and orai18n.jar are in commons/lib/
Any ideas?
> I see you have a fairly complex deployment, with Axis running
> and relying on the Oracle data catalog. So naturally, my
> next question is if you can reproduce the error under simpler
> circumstances, e.g. in a command-line pro
From the tomcat-devel list:
>> So is JK2 dead because of proxy_ajp? Why doesn't JK2 just replace JK?
>>
JK2 is dead because (like mod_webapp before it :), it failed to attract a
community interested in maintaining it. You might as well ask 'why doesn't
mod_webapp just replace JK?'
For some reason
Hi,
Tomcat itself contains no Oracle-proprietary bits, nor any special
handling of GBL files.
Where is orai18n.jar located? It should be alongside the ojdbc14.jar
(assuming that's what you're using) so it's loaded by the same
classloader.
I see you have a fairly complex deployment, with Axis ru
Hello All,
I have a problem using oracle jdbc in tomcat.
JDBC call fails with "java.sql.SQLException: Non supported character
set: oracle-character-set-46" (see full stack trace below).
After some investigation, I came to the conlusion that translation
tables that are in the *.gbl files in ora
Hello folks, i noticed that everytime tomcat-5.0.x needs a taglib it
just create a new one, i´d like to cached all tag in my JSPs, how ca i do
that? Is there any taglib container like we have with servlets?
Regards,
Edson
Sorry. Try this:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apac
he/catalina/session/JDBCStore.java
> -Original Message-
> From: Harald Henkel [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 13, 2004 8:30 AM
> To: 'Tomcat Users List'
> Subject: Re:
Hello,
I am trying to make tomcat 5 working with JBuilder to make possible
the debug of my web application. However, I don't find anyway to make
it wirk. I found a solution on the borland website, but it still does
not work.
So I was wondering if somebody succeed, If you can help me I would apreci
Is the answer to this, that the associated connector on Tomcat's end just
allows as many connections as needed? And you don't get to (nor want to)
define a max limit?
Thank you,
-Raiden Johnson
On Tue, 12 Oct 2004 [EMAIL PROTECTED] wrote:
> Hello,
>
> I currently have one Apache instance talki
Plus 8009 needs to be changed if you plan to use mod_jk(2) ajp13 to apache.
John
> Yes, the shutdown ports need to be different for each instance.
>
>
>
>
> On Wed, 2004-10-13 at 11:53, Jonathan Villa wrote:
>> I have about 5 users on a linux box...I want to be able to run 5
>> instances
>> of to
Bob, thanks for all the good pointers. This is just the information
about web-app development I've been needing but didn't know how to
find(or what to look for). I've played with ANT a bit before, but I
didn't know there was an applet to do the deployment for me(is that
process portable to diff
Yes, the shutdown ports need to be different for each instance.
On Wed, 2004-10-13 at 11:53, Jonathan Villa wrote:
> I have about 5 users on a linux box...I want to be able to run 5 instances
> of tomcat at the same time, each controlled by a different user...
>
> I know I'll have to make tomc
Simon,
I use a mix of *nix and Windows here. I've found that using copy with
the (+) option does a pretty nice job of concatenating log files. *nix
has tools for that natively.
As for sorting, Windows has a 'sort' module that can sort pretty good
sized input files. You have to pass the unsorted
Hello,
Im new to this list so feel free to slap me around if needed.
I have setup multiple jvms using apache 2 and mod_jk2, despite the lousy
mod_jk2 documentation. What I have found is that it seems with mod_jk2
that you have to map EVERYTHING, every extension etc, and all webapps in
the worker
I'm not sure I understand the question, but you know that you can use the enablePooling parameter to set if a jsp tag should be pooled or
instanciated for each use.
see : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
it's set to true by default I think.
hope it helps,
reynir
E
Hi,
>Sorry Yoav, but I'm not clear on why JSR154 is the place - I'd be
grateful
>if you could explain a little more please :) Are you saying that the
>problem is that the spec is wrong, rather than that there is a bug in
>implementing it? Or maybe that the code for ServletException is
written b
As Yoav says, it works, and is very easy to use once you have it configured.
But note that lots of people seem to have trouble getting the config right.
I was one of those. You have to persevere a bit. The problem I had was
that there are lots of pages on lots of websites that describe how to d
Hello folks, i noticed that everytime tomcat-5.0.x needs a taglib it
just create a new one, i´d like to cached all tag in my JSPs, how ca i do
that? Is there any taglib container like we have with servlets?
Regards,
Edson
Sorry Yoav, but I'm not clear on why JSR154 is the place - I'd be grateful
if you could explain a little more please :) Are you saying that the
problem is that the spec is wrong, rather than that there is a bug in
implementing it? Or maybe that the code for ServletException is written by
that te
Hi,
Yeah, it works. Note that your choice of words is a bit misleading: you
don't configure anything in web.xml, you only declare a resource
reference there. The declaration and configuration of the resource
itself is all in server.xml.
Yoav Shapira http://www.yoavshapira.com
>-Original M
4.1.x is still a very stable release. I reluctantly upgrade to 5.x until
recently that I am having OutOfMemory issues with Tomcat Manager. I extended
Manager by myself and patch my CGIServlet to handle 302 redirect. It will be
a bug pain for me to upgrade.
-Original Message-
From: Shapira,
Hi,
Well, the chances of it being changed on this list are nil ;) The
chances of it being changed by the JSR154 team are better: contact them
at http://www.jcp.org/en/jsr/detail?id=154. If/when the Spec changes,
it will be reflected in our CVS repositories.
Yoav Shapira http://www.yoavshapira.c
Hi all,
Could you please confirm me that when using JNDI DataSource described there
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
(just defining the Datasource in your server.xml file and configuring the
Hi,
Thank you for posting your solutions -- hopefully others find it useful.
>Surely if this is not fixed in Tocmat 4.1.31 it should be considered as
a
>fix necessary for 4.1.32 (when does the 4.1.x line end?).
See, this exactly was why I didn't want a 4.1.31 release. For the vast
majority of T
Hello,
I have fixed my problem by adding the necessary section to
mbeans-descriptors.xml for the DataSourceRealm. I basically coppied the
section for JDBC Realm and changed the values. Zipped it back into
catalina.jar where I got it from.
Surely if this is not fixed in Tocmat 4.1.31 it should be
Sure you can let Apache handle static files. Just setup httpd.conf.
The problem that I have is when I deploy ROOT application in Tomcat, Apache
is useless, any static files, cgi scripts etc. will be handled by Tomcat.
-Original Message-
From: Kurt Zhou [mailto:[EMAIL PROTECTED]
Sent: Oct
Hi,
To read a resource (file, serialized, doesn't matter), use either
ServletContext#getResource or Class#getResource (or the
getResourceAsStream equivalents). The former will get anything under
your docBase, including in WEB-INF. The latter will get anything on
your classpath, including in WEB-
Well I have some files that I want to have available to the web
application (properties file, some serialized objects). My first
attempt was to add -Dhomedir=/path/to/some/directory when I started
tomcat -- but that doesn't seem correct. So then I wanted to get the
path to the WEB-INF directo
Hi,
Why are you even going down this route? Any solution you end up with
will be tied to Tomcat and not portable at all. There's also no
guarantee we'll keep these internal APIs consistent or available to your
webapp in future Tomcat versions.
If you do want to keep going down this path, you pr
What I am trying to accomplish:
I'm trying to build a servlet that I can get the DocBase with, so I'm
trying to locate org.apache.catalina.Context from the servlet.
Tomcat Version: 5.0.28
Java Version: 1.4.2_05
What I'm doing:
I am implementing ContainerServlet and this works great when I run the
Hi,
>I have the listener declared in web.xml before the servlet declaration
and
>looks like
>
>
> com.mbresearch.foo.FooListener
>
>
>
>...
>
>com.mbresearch.foo.FooListener is in the WEB-INF/classes directory.
Your web.xml looks fine. Your listener doesn't actually have to
implement
Hi,
Note the /manager is still valid, it's just not the HTML version.
That's at /manager/html. The two are both "the manager webapp" and both
valid. So you might not need to change anything.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Andoni [mailto:[EMAIL PROTE
Hi,
The MD5 file you can download from another mirror if you're concerned
that it was messed up along with the distro.
As for not finding my key (I signed these distros) -- let me check up on
that and make sure my key is up on the pgpkeys.mit.edu server, and get
back to you.
Yoav Shapira http://
Hi,
Good reminder for us ;) If you feel like, feel free to submit a
Bugzilla issue with your experience. Thanks,
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Marc Logemann [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 12, 2004 3:48 PM
>To: Tomcat Users List
>
Hi,
There should be a message in the (normal, not error) log like "deploying
web application at /path" -- that's how you can tell what web.xml caused
the error.
An alternative approach (which should be done anyways as a matter of
habit) is to independently (that is, outside of Tomcat) validate yo
Hi,
On the contrary, it's all enabled by default. And for Tomcat 5.0.x and
previous, it's pretty tough to disable error messages, as they are
output even if the debug attribute is set to zero on the server.xml
components. Is there a log4j or JDK logging configuration file in your
Tomcat server c
Hi,
If you get few responses to this question, I suggest trying 5.0.28 to
see if the problem is still around in that version.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Andoni [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 13, 2004 8:30 AM
>To: Tomcat Users
Hello,
I have just installed Tomcat 4.1.24 and I have it nearly exactly the way I want it
now. I am doing my testing on Windows 2000 and Tomcat 4.1.27.
The only other thing I want to implement is the DataSourceRealm. Here I am having
problems though as I have the Administration Tool set up and
Does your listener class implement the good listener like
HttpSessionListener, ServletContextListener or ...
Ray Madigan wrote:
The top of my web.xml is as follows. It worked fine until I added the
listener declaration.
I am using tomcat 4.1.24
http://java.sun.com/dtd/web-app_2_3.dtd";>
I notice the following error on starting TC 4.1.30 on WinXP in
stderr.log. What file is it parsing? I assume it's one of the web.xml
files, but is there a quick way of finding out which one without having
to go through each of them?
Thanks for any help.
13/10/2004 21:30:42 org.apache.commons.di
<% return; %>
On Wed, 2004-10-13 at 06:31, N Tapas Kumar Choudhury wrote:
> Hi,
>I want to know, whether it is possible to abort the jsp
> execution while in the midst of processing a request ?? If
> anybody can through light on this I would be grateful..
>
> Thanks in advance,
> Tap
I could'nt find anything wrong with the listener element. Perhaps it
is caused by something else. Remove all other elements than listener
and try to see the error. Also post the full error log.
rgds
Antony Paul
On Wed, 13 Oct 2004 01:14:15 -0700, Ray Madigan <[EMAIL PROTECTED]> wrote:
>
> The t
Hi,
and thanks for your help!
unfortunately my moderate skills in programming do not allow a customized solution, so
I will choose a separate shutdown port for each of my Tomcats :-/
Have a nice day,
Sascha
On Tuesday, October 12, 2004, at 05:12PM, Shapira, Yoav <[EMAIL PROTECTED]> wrote:
>
>
Have you looked at your log files?
Is there a message with that server 500 error?
You may need to disable "Friendly Error Messages" in MSIE to see them.
Without more information, it will be difficult for anyone to help you.
On Wed, 2004-10-13 at 05:30, Kumar Singh Rathour, Raj (Vedam) wrote:
>
N Tapas Kumar Choudhury wrote:
Hi,
I want to know, whether it is possible to abort the jsp execution
while in the midst of processing a request ?? If anybody can through
light on this I would be grateful..
Abort and do what?
The most sensible thing to do is:
- set the buffer to some reaso
Hi,
I want to know, whether it is possible to abort the jsp
execution while in the midst of processing a request ?? If
anybody can through light on this I would be grateful..
Thanks in advance,
Tapas
-
To unsubscribe, e-
Hi All,
I am trying to migrate from TOMCAT 4 to 5 after installation my existing web app is
not working. my web-app is using some Taglibs and servlets.
The default page is coming on the browser but after that page we r using taglib. this
page giving HTTP 500 error Internal Server error. I a
Hi,all:
I am using a control to download file,when file name is non-ascii,it will generate
the url like:
http://localhost:8080/Download/ID041012155059812154/$File/%u6279%u6587%u5904%u7406%u4EBA.xls?OpenElement&1097572646
But tomcat will return http 400 Invalid URI error.
I check the maill
The top of my web.xml is as follows. It worked fine until I added the
listener declaration.
I am using tomcat 4.1.24
http://java.sun.com/dtd/web-app_2_3.dtd";>
com.mbresearch.main.util.AccessListener
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent
I have never used Listeners in Tomcat before and and having trouble getting
one registered.
I have the listener declared in web.xml before the servlet declaration and
looks like
com.mbresearch.foo.FooListener
...
com.mbresearch.foo.FooListener is in the WEB-INF/classes directory.
Hello.
> I think all that has happened is that the announcement has come out before all
> the mirrors have synchronised with the apache servers - hence you might see an
> older release.
>
> For the record, it is both "available" and "production quality".
Well, yes, now its updated.
So my questio
-Original Message-
From: Simon Zeng
Thanks for the quick response. Seperate logs for each
tomcat was my proposal too. But people like to have an easy
way to view them as a whole. A nice merge tool would be
nice. The first and minumum requirement for the tool i
74 matches
Mail list logo