The type in Java is a combination of a fully qualified class name and its
defining classloader. So the two objects with the same class name are
considered different types in your two web applications because each web
application is loaded by the dedicated webapp classloader.
To solve your prob
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Re: Script to create tomcat service on windows?
>
> Do they still work?
Yes, they still work. (It probably would have taken you less time to
try it than to e-mail the question.) I've never seen a justifiable
explanation of why the scrip
OK. This was a bit of a simple one. Found my answer with the help of a
couple of folks on IRC.
Please disregard.
Andrew Pierce wrote:
Hello. I realize this is about the stupidest question I could ask but,
I've scoured the web, etc. and cannot get an easy example of making
servlets actually w
No joy with "-Djava.awt.headless=true"; looks a
rebuild of FOP on the target system... though that
*really* does not make sense.
- Bob
--- Bob Hall <[EMAIL PROTECTED]> wrote:
> Thanks, David. I'll try that.
>
> If that doesn't do the trick I plan to build fop.jar
> from source on the target ma
On 10/4/05, Wendy Smoak wrote:
> From: "Goo GGooo" <[EMAIL PROTECTED]>
>
> > An error occurred at line: 1 in the jsp file: /name.jsp
> > Generated servlet error:
> > UserData cannot be resolved or is not a type
> > ===
> >
> > Files webapps/tut/name.jsp and
> > webapps/tut/WEB-INF/classes/UserData.
Hello. I realize this is about the stupidest question I could ask but,
I've scoured the web, etc. and cannot get an easy example of making
servlets actually work with Tomcat.
I have written a few "Hello World" servlets and gotten them to work with
Resin but I cannot get even the most simple se
Hi all,
I've got Tomcat 5.5.9 running on SUSE Linux 9.2, followed tutorial at
http://www.coreservlets.com/Apache-Tomcat-Tutorial/ and got it up and
running, can see the Tomcat mainpage and run all bundled examples.
However when I try a trivial example with HTML forms Tomcat barfs:
===
org.apache.
Do they still work? I want to create a separate tomcat service so I can
run two instances at once (on different ports, obviously).
Dave
Seak, Teng-Fong wrote:
Yup, 5.5 is very different from 5.0 in that those *.bat files aren't
needed/included. And 5.5 no longer needs JAVA_HOME environm
Thanks, David. I'll try that.
If that doesn't do the trick I plan to build fop.jar
from source on the target machine.
- Bob
--- David Delbecq <[EMAIL PROTECTED]> wrote:
> if it's *java.awt.Rectangle*
> and the computer you are trying to run fop on does
> not have
> graphical environment, maybe
When do we expect 5.0.30 to be release as final?
I need to deploy the fix to production and I'm a not able to deploy beta
versions.
Steve
> -Original Message-
> From: Rainer Jung [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 10 September 2005 8:41 PM
> To: Tomcat Users List
> Subject: Re:
Hi,
I am trying to share an object between 2 applications deployed on the same
tomcat server. I have put the object in the ServletContext in my first
application. I access the object using
ServletContext.getContext("firstApp").getAttribute("object");.
The object comes in fine but it won't let me c
> From: Charles Fineman [mailto:[EMAIL PROTECTED]
> Subject: Re: FAQ? shutdown.bat not killing java process on Windows
>
> Is there another mechanism I ought to be using to initialize
> (arbitrary) resources for my webapp?
A context listener might be what you're looking for. See the Lifecycle
Thanks (to all). I had suspected this but all of the threads that were left
over (used eclipse) seemed like system threads. Turns out the culprit was an
RMI server object that was being exported by the webapp (you can browbeat me
over that in a different thread... I kept it for backwards compatibil
It's necessary to stop and restart the service when Java home path
is changed. Reboot the PC doesn't help either. I had talked about this
in a previous mail but seems like it got passed without catching any
attention:
http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200509.mbox/[E
Yup, 5.5 is very different from 5.0 in that those *.bat files aren't
needed/included. And 5.5 no longer needs JAVA_HOME environment variable.
David Kerber wrote:
> service.bat doesn't seem to be installed with 5.5.9. I searched the
> entire HD of two different machines which have that it in
Why bother IBM. In my startup script, I clean up any java process:
for i in `ps ax --format ppid,pid,cmd |grep java |egrep
"^[[:space:]]*1[[:space:]]" |tr -s ' ' |cut -f3 -d" "`
do
echo "killing $i..."
kill -9 $i
done
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Re: Script to create tomcat service on windows?
>
> service.bat doesn't seem to be installed with 5.5.9.
Get the .zip download, not the emasculated .exe version.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PRO
service.bat doesn't seem to be installed with 5.5.9. I searched the
entire HD of two different machines which have that it installed, and
that file was not found. I did find the html files with the description
of service.bat, but not service.bat itself.
Caldarale, Charles R wrote:
From: Da
Hi
I have two tomcat5.0.27 instance running in different machine(unix box).
After i started my server i opened my catalina.out and i can see the
difference in catalina.out file.
I am not able to see the timestamp and class name(Bold messages) in one of
the machine.
I am not sure why its happeni
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
Looks like a bug to me. Create a bugzilla entry for it and I'll try
and take a look before the next release.
Mark
Roland Rabben wrote:
I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my
server. However it seems to be a bug or limitation in the Tomcat WebDAV
that limits th
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Script to create tomcat service on windows?
Does anybody have a script to create a tomcat service on
windows 2000?
Have you tried the service.bat script that's part of the standard
download?
No, I didn't se
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Script to create tomcat service on windows?
>
> Does anybody have a script to create a tomcat service on
> windows 2000?
Have you tried the service.bat script that's part of the standard
download?
- Chuck
THIS COMMUNICATION MAY CONT
set sparethreads
Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Rob Shields [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 2:31 PM
To: Tomcat Users
I get the "java.lang.OutOfMemoryError: PermGen space" error periodically
when I use Tomcat Manager to deploy my web application (as opposed to
re-starting Tomcat). It eventually runs out of memory on the deploy.
However, since I only use the manager for development -- I just restart
Tomcat when th
Does anybody have a script to create a tomcat service on windows 2000?
I'm trying to set my system up to run multiple copies of tomcat at the
same time (on different ports, obviously), and can't get the service to
create properly.
Thanks!
Dave
-
To be honest, I think touching the server.xml is the only way to do
this. Declare it as a global resource in server.xml and then declare a
resource link in all the contexts that need access.
--David
Lisa L. Woodring wrote:
>I would like to create aliases for a JNDI (specifically, a JDBC)
>resou
This command don't seem to work? Is there another way to see all of the
Parameters for the JVM?
Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583
>>> [EMAIL PROTECTED] 10/03/05 10:55 am >>>
I
I would like to create aliases for a JNDI (specifically, a JDBC)
resource, such that I can use multiple names to connect to the same
database -- and be able to use the same (i.e. only 1) connection pool
for that database. I haven't been able to find anything on how/if this
is possible. (I would l
You can specify your path to write your in log4j.properties file.
Parthi
On 10/1/05, matador <[EMAIL PROTECTED]> wrote:
>
> win200x
> tomcat 5.5.9
> jdk 1.5.x
> log4j 1.2.9 (i think)
>
> standard log4j setup with logs going into logs dir under tomcat install.
>
> does anyone have any recommendat
If you haven't set this variable elsewhere within the box, PermGen defaults to
64MB, otherwise, you can see the size by using "ps -avx" command
--Trung
-Original Message-
From: Ritchie Gillam [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 9:48 AM
To: tomcat-user@jakarta.ap
Thanks, I will set the JAVA_OPTS variable. Is there a way to see what the Size
is now before I change it?
Thanks,
Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583
>>> [EMAIL PROTECTED] 10/03
Ritchie,
No, it's not in server.xml, It's in $TOMCAT_HOME/bin/catalina.sh, add this line
below:
JAVA_OPTS="-server -XX:MaxPermSize=256m"
Hope this help
--Trung
-Original Message-
From: Ritchie Gillam [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 9:34 AM
To: tomcat-user
> From: Ritchie Gillam [mailto:[EMAIL PROTECTED]
> Thanks Peter! Can you provide an example please? Is this
> defined somewhere in the server.xml file?
You should be able to set JAVA_OPTS, either within
$CATALINA_HOME/bin/catalina (from memory - CHECK! - it's too long since
I had to configure
Thanks Peter! Can you provide an example please? Is this defined somewhere
in the server.xml file?
Thanks
Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583
>>> [EMAIL PROTECTED] 10/03/05 1
> From: Ritchie Gillam [mailto:[EMAIL PROTECTED]
> java.lang.OutOfMemoryError: PermGen space
Although your Java virtual machine has enough memory allocated to it,
something (probably the number of classes being loaded, or the number of
times you're reloading the webapp) is causing the permanent g
Hello
I need my client to communicate with a servlet using secure xmlrpc. Using
Apache's SecureWebServer works (got my own TrustManager, HostnameVerifier,
selfsigned certificates/keystores for server/client). Accessing Tomcat with a
browser (https://localhost:8443) works too (selfsigned certificat
Do anyone out there know why I am getting this Tomcat error?
SEVERE: Servlet.service() for servlet jsp threw exception
javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: PermGen space
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at com.sun.f
Thanks for the suggestions, Kyle! I think either one of those
suggestions would be workable; I'll have to do some reading and testing
to see which I like better. The only reason I wanted them to run on
different ports is so that I don't have to change the url's they connect
to during this ser
David Kerber wrote:
Then how do I isolate the instances of tomcat (and their respective
server.xml's? Do I need multiple installations of tomcat on my disk?
Start each 'instance' of tomcat with separate CATALINA_BASE env. vars.
This enables a different server.xml for each instance thereb
Heh, I'll call IBM and have them do just that. ;-)
It happens in their JT400 classes.
Larry
On 10/3/05, David Delbecq <[EMAIL PROTECTED]> wrote:
> That's quite a problem ;)
> Actually your threads should be coded in such a way
> you may a send a notification in java telling him to finish his j
That's quite a problem ;)
Actually your threads should be coded in such a way
you may a send a notification in java telling him to finish his job.
eg:
myNonDaemonThreadICreatedMySelf.stopWorking();
which would set some flag in Thread and then code in your
Thread reading the flag knows it has to
So, once you know the threads that are left, what is the cleanest way
to kill them?
I have had this problem too, but since it was on a *nix platform, and
just used 'kill' to get rid of the parent process.
Larry
On 10/3/05, Jon Wingfield <[EMAIL PROTECTED]> wrote:
> Yep. It's a FAQ, but not in t
if it's *java.awt.Rectangle*
and the computer you are trying to run fop on does not have
graphical environment, maybe you should wonsider using headless java
see http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
Bob Hall a écrit :
>I'm getting a NoClassDefFoundError in a FOP
May i mention also the use of *java.util.Timer in forms other than
new **java.util.Timer*(true);
If used in any other form, it silently creates a non daemon thread.
Jon Wingfield a écrit :
> Yep. It's a FAQ, but not in the FAQ.
>
> Tomcat not quitting generally means your webapp has started a
>
Yep. It's a FAQ, but not in the FAQ.
Tomcat not quitting generally means your webapp has started a non-daemon
thread which does not exit when the webapp is destroyed. If so, shut
them down in a ServletContextListener.
If you aren't explicitly creating threads in your webapp then the usual
cu
I'm getting a NoClassDefFoundError in a FOP class,
PageViewport. At line 89, the code is attempting to
do
'new Rectangle()'.
The same code works fine on 3 other systems (2
Windows,
and one Linux). It does not work on a Linux box.
The two linux boxes have the same version of Java
(1.4.2_08-b03) a
Hi,
I'm trying to have one connector on tomcat open with secure="true" with
out it being SSL or https. I just want request.isSecure() return true.
This is the setup for the connector :
The port is opened with out errors, but does never return anything, and
I see no errors in my log.
Am I miss
What type of authentication are you using ? FORM / BASIC ?
If Basic then no you cant
If form based then ( sesssion.invalidate() )
Guru
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 03 October 2005 03:08
To: Tomcat Users List
Subject: How to logout after l
I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my
server. However it seems to be a bug or limitation in the Tomcat WebDAV
that limits the use of some characters I frequently use.
Unsupported characters are :
; (semicolon)
+ (plus)
# (pound)
I know these are reserved charact
50 matches
Mail list logo