Can you tell us what all you have done for configuration and what Problem
(Error in STDout.log or prompt ) you are facing.
Regards,
Pradeep
- Original Message -
From: Bhaskar Jyoti Phukan
To: [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 7:00 PM
Subject: Migration to TOMCAT 5
Hi!
Hi,
I want to inform my tomcat server that the database server is shutting
down or restarting.
Can JDBC Realm will do the job?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi!
It is showing null pointer exception in STDout.log file. I think this is
because there is no database connectivity. We are not able to configure the
server.xml file and web.xml file for our use. Can you help please
Thanks and regards
Bhaskar
- Original Message -
From: Pradeep
We are running a tomcat webapp which allows the remote administration of a
Solaris machine via a http interface.
Access control is managed using the default MemoryRealm implementation
(using tomcat-users.xml to store users and roles).
The webapp allows changing various settings on the machine
Is JMS supported by tomcat 5.0.19?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
No, tomcat is 'just'
- a servlet engine
- a jsp engine
- a webserver
To do other things like ejb or jms you have to integrate
additional solutions with tomcat:
- JBoss
- Geronimo
- Jonas
- OpenJMS
(if you just want jms this is the least complex solution)
http://openjms.sourceforge.net
Hi,
I,m using tomcat 5.0.27 and am trying to show custom error pages.
I added a couple of errorpage tags to my webapps web.xml and the
/conf/web.xml in the tomcat installation dir.
error-page
error-code500/error-code
location/error/error.html/location
/error-page
Hi ,
Here is the example how to it.
Server.xml
GlobalNamingResources!--Define Resource Name--
Resource name=jdbc/Test scope=Shareable type=javax.sql.DataSource/
ResourceParams name=jdbc/Test
parameter
...
/parameter
/ResourceParams
Dear list,
2 questions
1) I think I remember reading somewhere that there was a .bat batch file
which we could run
on production machines, so that passwords are encrypted. Can anyone
enlighten ?
2) Whats the best configuration mechanism for my servlets? I think its
better to add the
the
Hi,
I have finally found a solution to the problem of
using commercial certificates and running tomcat in
https mode. As this seems to be a common issue for
people using tomcat and 3rd party certs, I have
provided the information below - might save someone
else some time!
(I have translated the
Any pointers for this?
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:58 AM
To: Tomcat Users List
Subject: Need to start Tomcat 4.1 twice
Hello all,
I am facing a strange problem.I need to start my Tomcat server twice.After
first start
Hi,
I have a java applet that I use for signing files before they are posted
to my tomcat server. The applet is accessed through a simple JSP page.
Since the applet must have access to the client file system, it is
signed by my keystore. I can successfully sign files over http, however,
some
Hi,
I have setup 2 Tomcat instances on the same server. JK2 ISAPI is installed on IIS and
running fine routing all intratestgbr URIs to Tomcat 8009. I have setup anothe website
on IIS with JK2 also, but running on port 84. I now want to map URIs that use port 84
to Tomcat 8011.
The following
Problem with IPSEC / ssh tunnels between two machines is that if someone
compromises one machine, then you've made their life 500% easier getting
to the next one. Good stuff to connect your home LAN to office LAN, but
I wouldn't..
I had trouble with the same thing, and the easy solution I
Hi,
Wow, I was actually just trying to figure out how to hook up a Tomcat
system to a remote jBoss JMS queue. Is there good documentation on how
to accomplish this on the OpenJMS site?
Why would the OpenJMS site have any JBoss documentation? It has good
docs for how to connect and use an
OK, I've searched through the archives and didn't find anything that really
settled this.
Is there a configuration setting for Tomcat to it recompile all JSP files
at start up?
The only thing I saw was that one could create a startup servlet that would
go through all directories searching for
On Thu, Aug 05, 2004 at 09:26:55AM -0400, Shapira, Yoav wrote:
: You don't have to quote the whole stack trace ;)
I dunno. I'd prefer people include the entire thing (up to the
RootCause, at least)... just not in-line. ;)
It's like lab reports in the days before word processing was cheap:
Hi,
We upgraded our Tomcat server from 3.0 to 5.1.19 about two months ago (linux
machine). Since then it frequently crashed (twice a week). It seems like the
crash was caused a web crawler. This web crawler generate many threads and
quickly drained server memory. The log file showed
Hi,
Is there a configuration setting for Tomcat to it recompile all JSP
files
at start up?
No.
You can precompile your JSPs as noted at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web%20
Application%20Compilation and other locations.
If this is the only way, how and
Hi,
Give the server more memory maybe? Or code your webapps to use less
memory (or rather, use memory better)? With the information you gave,
more specific advice is impossible.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Matt He [mailto:[EMAIL PROTECTED]
Hi,
You don't have to quote the whole stack trace ;) Can you post your
server.xml, as some attribute type is incorrect apparently? ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 9:25
Hi,
As you said yourself, it's strange. I have no clue. It just sounds
like a messed up installation or configuration ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 5:18 AM
To: Tomcat
Hi,
You might want to read up a bit on url-pattern. The url-pattern
/images is not the same as /images/* for example. Full details are
in the Servlet Specification.
You don't have to declare the default servlet again, only map it. If
you have the servlet element for a servlet in your web.xml,
Hi All,
This may have been answered elsewhere in the past but I'm struggling to find
it if it has - though please point me in the direction of past answers if
that's the case.
I'm trying to understand how a single instance of Tomcat manages sessions.
Is there any pooling/recycling of sesssion
Use OpenJms (http://openjms.sourceforge.net). Runs independently of Tomcat.
Easy to configure.
On 8/5/04 12:49 PM, Jignesh Patel [EMAIL PROTECTED] wrote:
Is JMS supported by tomcat 5.0.19?
-Jignesh
-
To unsubscribe,
In addition to Yoav's comment, you may also want to check on the number
of sessions that get created. I know that JRun3 didn't create a session
when it wasn't necessary to do so, Tomcat 5 (as per servlet spec.)
always creates a session. Typically webcrawlers don't 'do' cookies, so a
new
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was
not being garbage collected too well. As soon as we upgraded this went away and was
proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still
happens then take Yoav's advice and
Hola,
I'm trying to understand how a single instance of Tomcat manages
sessions.
Is there any pooling/recycling of sesssion objects or are they
created/destroyed as required?
If they are pooled, is the size of this pool configurable?
They are not pooled. They are created and destroyed (and
On Thu, 2004-08-05 at 17:19, Shapira, Yoav wrote:
You might want to read up a bit on url-pattern. The url-pattern
/images is not the same as /images/* for example. Full details are
in the Servlet Specification.
You don't have to declare the default servlet again, only map it. If
you
Hi,
This is how my server.xml looks like
Connector port=8443
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
acceptCount=100 debug=0 scheme=https secure=true
Factory
Fantastic!
Thanks for the quick response!
Mike
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 4:01 PM
Subject: RE: Session Pooling?
Hola,
I'm trying to understand how a single instance of Tomcat
True, there is a definite memory leak when using a connector and a
front-end webserver (e.g. mod_jk, mod_jk2)
You can try fixing this by putting:
# Fix memory leak bug in tomcat 5.0.19:
request.registerRequests=false
in $TOMCAT_HOME/conf/jk2.properties
Cheers,
Michiel
Allistair Crossley wrote:
Hello,
I am writing a class to be deployed with the Tomcat SOAP web app (I'll
call this class A). It uses a URLClassloader to load classes from a
directory (i call them modules). I initialize my class loader with
URLClassLoader initialLoader = new URLClassLoader(urls,
some other approaches:
- cryptcat
http://farm9.org/Cryptcat/GetCryptcat.php
- openvpn
http://openvpn.sourceforge.net/
- tinc
http://www.tinc-vpn.org/
- CIPE
http://sites.inka.de/sites/bigred/devel/cipe.html
-Original Message-
From: Michael Jürgens [mailto:[EMAIL PROTECTED]
hi;
threre are some thread regarding this but i did not find a definite answer.
does tomcat has a UserTransaction implementation ready to use out of the
box? or do i have to download JTOM or something similar in order to use a
JTA UserTransaction.
i use tomcat 5.0.25. when i lookup
Hi,
If you get a thread dump of the JVM while it's hanging, what does it
show?
The URLClassLoader is intended for use within Tomcat. It's nice that
you have a program using outside Tomcat, but it's not that meaningful
for comparison testing. The ClassLoading scheme and hierarchy inside a
Hola,
Version 5.0.26 (and better yet, 5.0.27 which is stable) fixes the
TransactionFactory bug you're seeing. So update to 5.0.27 if you can.
You would probably need to download JOTM (not JTOM, unless JTOM just
happens to be a Java transaction provider project I don't know about ;))
or another
I'm running Tomcat 5.0.25 in our DMZ. The server crashes every day. I see
thousands and thousands of lines like this in Catalina.out:
Aug 5, 2004 10:50:31 AM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /xx.xx.xx.1 SocketException: Invalid argument
That IP
Hi,
I have configured SSL with Tomcat, I get this error when starting
Tomcat
04-Aug-2004 17:16:55 org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.IllegalArgumentException: argument type mismatch
at
Are you running tomcat stand alone ?
One possible cause is that tomcat is trying to open a socket where
nobody is listening. (Invalid argument or EINVAL is a common error
returned by all kind of socket operations in this case)
Without more of the stacktrace it's difficult (at least for me)
to
Any responses?
Does somebody think that it could be a bug or like an improvement?
Thanks.
-Message d'origine-
De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED]
Envoyé : mardi 27 juillet 2004 19:07
À : '[EMAIL PROTECTED]'
Objet : [jaas integration between tomcat/weblogic]
Hi,
I
Greetings!
I've recently decided to take advantage of Tomcat's authentication
mechanism, however, it doesn't appear to be working for me. I've
configured a Realm in my context (through the admin tool). It is a
DataSourceRealm.
When I've tested everything, I keep getting pushed out to the error
hi;
actually, my need are very basic. i dont even need a distributed transaction
only a simple JDBC transaction but for architecture reasons i cant use the
JDBC transaction in the DAO level but something in a higher level such as
JTA.
will the tomcat user transaction implementation be enough in
Hello, I have a Apache 2.0.50 with an active mod_deflate connecting to Tomcat
(4.x) via mod_jk2. After I activated deflate, sometimes when I call a servlet IE
doesn´t open the page with the servlet response, but a file download window as if I
was trying to download a file named 'servlet'.
I recently upgraded from Tomcat 5.0.25 to Tomcat 5.0.27. Now at times my
client application is getting a 500 Internal Server Error.
I found the following exception in localhost_log.2004-08-05.txt. Does
anyone know what is causing the exception considering the same code
works fine under Tomat
On 8/5/2004 9:26 AM, Ruth, Brice wrote:
Greetings!
I've recently decided to take advantage of Tomcat's authentication
mechanism, however, it doesn't appear to be working for me. I've
configured a Realm in my context (through the admin tool). It is a
DataSourceRealm.
When I've tested
Hi,
I was doing an evaluation of JProfiler in order see the improvements did
since the last time I used it. I has a feature (like other profilers) that
shows the heap usage in real time.
As I always do, I have installed a new copy of tomcat, with NO changes. I
have just unziped it into a
Encryption:
There is only one way to encrypt passwords if you are not using SSL. That
is to use Paj's JavaScript module available here:
http://pajhome.org.uk/crypt/md5/
Although the Tomcat Realm does have an MD5 flag which you can set to encrypt
the passwords being sent to it this is too late as
Hi,
It depends on the size of your saw teeth: if they're small (2MB), it
can be attributed to anything including internal JVM optimizations.
HotSpot will move things around in memory even when no activity is
taking place.
Also, what you're describing is not a leak by definition, since the
memory
I've used JProfiler in the past and I found it somewhat unreliable,
since it is pretty heavy weight. I should say it was based on a half
dozen tests using JProfiler and not a scientific evaluation.
it was the free eval version a couple years back. I find optimizeIt
more reliable for me and a
From: Peter Lin [mailto:[EMAIL PROTECTED]
Subject: Re: Strage Behaviour - Tomcat Memory Leak
I've use OptimizeIt in the past and tomcat without any
requests shows flat memory usage. in other words constant.
Memory usage also depends on configuration options such as auto deploy. When this
As Yoav points out, this is quite normal. I also run JProbe and if you just
leave it alone, very small memory usage is made and at regular intervals the GC will
jump in, producing your saw tooth (since the GC will only jump in when it really
thinks the heap needs clearing out is why it
I want to know more about worker2.properties files to config my IIS.
How can I make the uri independent from webapp context? I mean
http://localhost/samples be linked to jsp-samples instead of samples webapp context.
When I read
Dennis Dai wrote:
On 8/5/2004 9:26 AM, Ruth, Brice wrote:
Greetings!
I've recently decided to take advantage of Tomcat's authentication
mechanism, however, it doesn't appear to be working for me. I've
configured a Realm in my context (through the admin tool). It is a
DataSourceRealm.
When I've
I think the essence of the request is to get Tomcat to not show a tomcat
error page under any circumstances. For those using Tomcat stand-alone,
(ie: they do not have the benefit of being able to use custom apache error
pages), is there a solution?
If you say that errorpages specified in web.xml
On Thu, Aug 05, 2004 at 11:40:48AM -0500, Kyle A. Boyd wrote:
: I recently upgraded from Tomcat 5.0.25 to Tomcat 5.0.27. Now at times my
: client application is getting a 500 Internal Server Error.
:
: [snip]
:
: 2004-08-05 09:20:47 StandardWrapperValve[invoker]: Servlet.service() for
:
Hi,
Of course, you could write a customized Connector to do this. Or you
could have an entirely separate server dedicated to error messages and
forward there from your custom connector. Or whatever. If you want to
go as far as to write a custom Connector to do this, you could do a lot
of other
Everybody is right. The saw teeth is around 3mb. The heap is around 9mb. So
after the GC runs, the available heap falls to 6mb.
As Yoah said this isn't a memory leak, since all the objects that area
created are garbage collected. I called it as a memory leak because even
with nothing running
I believe you would need to set the backgroundProcessorDelay attribute
on the Engine element to -1 in server.xml if you wanted keep it
from generating a little bit of garbage every 10 seconds. I'm not
aware that this would disable anything critical (assuming you can live
without the auto, live
Nachricht- Original Message -
Sent: Thursday, August 05, 2004 2:52 AM
Subject: AW: Intermittent exception during startup (5.0.25)
Hi Robert
I got the solution: you have to take the original jmx 1.2 RI version from
SUN instead of that jmx which comes with tomcat (see also
Hello,
I know this is naive of me, but how does one get a thread dump of the
JVM? Anyway, as for the other comments, do I have to do something
different to use URLClassLoader under Tomcat than I do in a console
application? I kept getting this same problem under Tomcat before when
I was creating
I'm having a problem with Tomcat, which doesn't see
the web.xml file,
when processing a war file.
I checked many times - the web.xml file is in the war
file, which is created by ant.
However, when the war file is deployed,
Tomcat complains that web.xml is not there.
Here is the Tomcat log:
INFO:
Hi,
I know this is naive of me, but how does one get a thread dump of the
JVM?
Send a SIGQUIT to the JVM process.
package statement. As for the NoClassDefFoundError vs
ClassNotFoundException, I do have exception handling code around the
loadClass method, and it is not reporting anything, and
Hi,
Post your WAR file structure (obtainable from a jar tvf command).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Piotr Galecki [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 4:21 PM
To: [EMAIL PROTECTED]
Subject: Tomcat does not see web.xml, which
My Catalina.out log contains the following:
Can't find workers.properties at
/usr/local/jakarta-tomcat-4.1.30/conf/jk/workers.properties
Please install it in the default location or set the config location
I have my workers2.properties located at /usr/local/apache/libexec
Do I need to
On Windows XP? :-(
(my employer doesn't enjoy linux)
Send a SIGQUIT to the JVM process.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
if you've got it running in a DOS window (which you might want to do, for
just this purpose), you can try either the Pause/Break key, and if that
doesn't do it, try 'Cntrl-C' in the DOS window.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Hi all
I have troubles with accent.
Sometimes, tomcat displays the accent with a ? instead. I think it is a java
configuration pb.
I have the version 5.0.27 and this is what I use to launch tomcat :
export JAVA_OPTS=-server
export CATALINA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8
Thai DANG wrote:
Hi all
I have troubles with accent.
Sometimes, tomcat displays the accent with a ? instead. I think it is a java
configuration pb.
I have the version 5.0.27 and this is what I use to launch tomcat :
export JAVA_OPTS=-server
export CATALINA_OPTS=-Djava.awt.headless=true
I made several measure, had a look to the generate code by Jspc.
It is clear that Taglibs reduce the performance (memory, speed) of your server.
Speed because the first time access is longer and memory because a pool system is
there to make the next pages being displayed quicker.
So, as a
Hi Yoav,
Here is the war file content:
C:\JavaAdvTopics\edu\brandeis\PiotrGalecki\Homework2\login\dist\lib\JBuilderX\j
dk1.4\bin\jar.exe tvf login.war
0 Thu Aug 05 18:49:28 EDT 2004 META-INF/
106 Thu Aug 05 18:49:28 EDT 2004
META-INF/MANIFEST.MF
0 Thu Aug 05 00:26:04 EDT 2004
Hi Andrew,
If what you need is to call JSPs recursively, MicroNova YUZU tag library
(http://sourceforge.net/projects/micronova-yuzu) supports recursion
passing arbitrary (non-string) objects using m:call and m:param tags
like this:
m:param var=input/
tag:tree
c:forEach var=child
Ralph Einfeldt wrote:
some other approaches:
- cryptcat
http://farm9.org/Cryptcat/GetCryptcat.php
- openvpn
http://openvpn.sourceforge.net/
- tinc
http://www.tinc-vpn.org/
- CIPE
http://sites.inka.de/sites/bigred/devel/cipe.html
What about stunnel?
Forwarding an insecure port securely from
73 matches
Mail list logo