Check your connectiontimeout value. May be it is too high ?
Have you a heavy load on this server ? How many (concurent) users ?
On 10/18/06, Derek Wormdahl <[EMAIL PROTECTED]> wrote:
We initially started this project running on the Sun JVM but ran into an
issue with the JVM aborting when doing a
Hello all,
I'm configuring a new development server and I'm having some issues
configuring the redirect.
Versions:
W2K3 Std SP1
Tomcat 5.0.28
IIS 6.0
Isapi_Redirect 1.2.19
Java 1.5.0_06
I have Tomcat installed as a service
I have the isapi_redirect configured as a filter
I have 1 wo
Thanks. I got it working:
1. Removed the oracle driver from WEB-INF/lib and put it in common/lib
2. Used the format of the URL given below:
jdbc:oracle:thin:@address:port:schema
-- but it's rather strange -- is this documented anywhere? When I was using
the "normal" (non DBCP) method to connect t
Elaine,
> 1) use shutdown.sh to shut down tomcat
> 2) Now the website appears to be down
> 3) Use ps -ef | grep tomcat to check the processes, tomcat still appears
> to be running:
I suspect that you are seeing another Tomcat process that is either left
over from a previous configuration (say, yo
Hmm. Which user is Tomcat being run as? Are you
running Tomcat as the same user as your are running
the script? Wondering if maybe there is not some type
of a port blocker installed on your system outside of
the servers. Maybe when you ran your script or one
previously maybe quite some time ago
"Jacob Marcus" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the replies.
>
> Using the protocol="my.Class" does help me give my own implementation of
> the
> ProtocolHandler for the Connector.
> The className attribute would have helped me specify my own implementatio
Mike Klein wrote:
> Perhaps tomcat has security policy preventing certain socket
> connections. JRE/JDK has a root/default policy...but tomcat may extend this.
Not by default.
> I think most servlet engines use mail.jar/activation.jar...perhaps
> tomcat is restricting certain sockets to these libr
HALSTEAD SGT WARREN F wrote:
> Does anyone have a way for me to apply your patch to a already compiled
> system? Perhaps a compiled servlets-cgi.jar that already has the patch
> that they could send me?
>
> Any help you could provide is this matter would be greatly appreciated.
You should be abl
[EMAIL PROTECTED] wrote:
> Hi,
>
> I can reach the request object and add a parameter, the problem is that the
> CgiServlet in Tomcat has been changed so my code doesn't work anymore.
>
> Regards
> Gunnar
You are correct. The fix for bug 37285 is the root of your problems.
You have a couple of
Ok,
Here goes
1) I can from my server ping the mail server.
2) I can from the Windows command line, telnet to port 25 (SMTP) of the
mail server. It works.
3) Using a packet sniffer I see #2 happening.
4) Using a packet sniffer I see nothing happening network wise fro
Caldarale, Charles R wrote:
>> From: Oleg [mailto:[EMAIL PROTECTED]
>> Subject: Re: wrong StandardContext
>>
>> I know declare docBase for every application as absolute path,
>> docBase="E:/Webspace/domain1/ROOT" This seem to fix the problem
>> and my vrtual hosts do not try to load localhost webA
Perhaps tomcat has security policy preventing certain socket
connections. JRE/JDK has a root/default policy...but tomcat may extend this.
I think most servlet engines use mail.jar/activation.jar...perhaps
tomcat is restricting certain sockets to these libraries.
mike
HALSTEAD SGT WARREN F wrote
Hi,
This is what I have done:
1) use shutdown.sh to shut down tomcat
2) Now the website appears to be down
3) Use ps -ef | grep tomcat to check the processes, tomcat still appears
to be running:
> ps -ef | grep tomcat
root 21892 1 1 14:30 pts/21 00:00:17 /local/Java/bin/java
-Djava.e
Andre Prasetya wrote:
> I understand that it tried to find com.ricochet.im3.MTQueueProcessor, but i
> dont see it set on any xml (and for this project, we're expecting other
> listener). Any ideas where the config might reside ?
the web.xml of your application
conf/web.xml
HTH,
Mark
---
We initially started this project running on the Sun JVM but ran into an
issue with the JVM aborting when doing a PDF conversion in the
application. Some conflict with the iText libraries or something.
JRockit was the only JVM that seemed to not have the problem. We
haven't tried the Sun JVM
Jim-
I would re-download /and re-install 1.5 JVM/JDK
http://java.sun.com/j2se/1.5.0/download-netbeans.html
set your JAVA_HOME to the location where you have installed Java to
when in doubt write down the Java install location directory and later set
JAVA_HOME to that folder e.g.
set JAVA_HOME=/usr
As Tomcat is written in Java JSP and Servlet (with C code for native function
calls to the underlying OS~this is at least for the majority on this list )This
is the expertise we offer to you
If its not written in Java such as fitting a CGI/CFM/PHP script or non Java
class we're not saying its no
> From: Jim Douglas [mailto:[EMAIL PROTECTED]
> Subject: Error occurred during initialization of VM
>
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
That's about as basic as you can get...
> jdk1.5.0_08
> java -version, from the command line re
I am trying to use IIS 6.0 as a front end for Tomcat 5.5 which I have
working as expected. The issue I have is that I can only get it
working using the registry settings and not using
isapi_redirect.properties. We will have several sites and I want them
to be independent of each other and I a
Everything was ok last week, I just restarted Tomcat today and got this
errror message,
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Tomcat 5.5.14
Apache 2.2
Fedore Core 5
jdk1.5.0_08
(No VM)
java -version, from the command line returns,
java ver
Hi,
I follow your advice and compiled successfully doing
$ ./buildconf --with-apr=/home/ovh/src/soft/apr-1.2.7
$ ./configure --with-apr=/home/ovh/src/soft/apr-1.2.7
$ make
$ make install
All that went fine, the last message of make install was that libraries
where put in /usr/local/apr/lib
S
Thanks for the replies.
Using the protocol="my.Class" does help me give my own implementation of the
ProtocolHandler for the Connector.
The className attribute would have helped me specify my own implementation
of the Connector itself.
Removal of the className attribute means that I can no longe
On 10/17/06, Jason Novotny <[EMAIL PROTECTED]> wrote:
I'm unsure what you're trying to do --
+ URLs should look "nice" and be bookmarkable in the style of REST e.g.
http://localhost/myapp/mylayout/someaction/
The approach I started to take was to use a servlet filter that
could take any
Hi,
If you don't want to use a filter you should consider the urlrewrite
capacity of apache.
Here is a tech note that should help you
http://www.amitysolutions.com.au/documents/URLRewriting-technote.pdf
Of course if u use tomcat as a stand alone server it could be not adapted.
Though It's n
Warren,
>> I am running Tomcat 5 with CGI enabled. I am attempting to use
>> Net::SMTP to send e-mail, and it works fine from the command line, but
>> not running as a CGI script.
Can you describe the failure in any more detail?
>> I do not have that option, and so I must ask if there is some
Hi,
I'm developing a web application and have a couple important
constraints:
+ URLs should look "nice" and be bookmarkable in the style of REST e.g.
http://localhost/myapp/mylayout/someaction/
+ Should be relatively easy to move the WAR call it myapp.war to some
other WAR e.g. someappp
> From: Derek Wormdahl [mailto:[EMAIL PROTECTED]
> Subject: max_threads issue & blocked threads (*warning* long
> thread dump attached)
>
> We've been investigating an issue with a web application
> that is causing us problems. We are seeing the Tomcat
> server running out of available threads
> From: EJ Ciramella [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 4.1.30 + SSI + CruiseControl
>
>
> SSIServlet
> /artifacts/specificpathtopagebuild/*
>
>
>
> ArtifactServlet
> /artifacts/*
>
>
> Doesn't the first servlet-mapping take precedence?
Not necessarily. Here ar
So if I have something like this in my webapps web.xml:
SSIServlet
/artifacts/specificpathtopagebuild/*
ArtifactServlet
/artifacts/*
Doesn't the first servlet-mapping take precedence? Also, the ssi jars
aren't packaged up as part of my weba
You are stuck then. There is no vehicle to dynamically change the
classpath based on some data field. I would strongly encourage you to
invest a little time in refactoring your code base. Most modern IDEs
have tools that make the process almost as simple as point and click.
The simplest sol
Ah sorry dumb sys admin, thanks Chuck will do.
Caldarale, Charles R wrote:
From: John McCoy, Jr [mailto:[EMAIL PROTECTED]
Subject: Re: RHEL4 with App Server 3 and the missing tomcat5 manager
Is it possible to build only the manager app from the tarball?
You don't need to build anything with
Install tomcat55-admin-webapps-5.5.17-4jpp.noarch.rpm
See the JPackage site for further info. They created your rpms.
--David
John McCoy, Jr wrote:
It does not appear so (see below). David could you shoot me a file
list from the manager directory so I can do a more thorough search?
Thanks.
> From: John McCoy, Jr [mailto:[EMAIL PROTECTED]
> Subject: Re: RHEL4 with App Server 3 and the missing tomcat5 manager
>
> Is it possible to build only the manager app from the tarball?
You don't need to build anything with Tomcat; other than the optional
APR connector, it's pure Java, so you c
It does not appear so (see below). David could you shoot me a file list
from the manager directory so I can do a more thorough search? Thanks.
Is it possible to build only the manager app from the tarball?
OR is this just to crazy an idea. So many systems with so many updates
to keep an eye out
Right, but that would have generated a different error --
ClassNotFoundException.
Here, DBCP has a bug in that it get's connections using Driver.connect()
and never checks to see if the connection object is not null. The Sun
JDK javadocs states a null return on Driver.connect() is normal and
You'll need to have a valid Driver class for the Class.forName statement e.g.
private static Driver c_Driver = (Driver)Class.forName( DriverClass
).newInstance();
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated
Sir,
I in no way am implying that the members of this list have been
derisive. I meant to state answers I found else where seemed dersive. I
did find an example of a non-derisive "write it in Java". I sumbit to
your attention:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200310.m
Here is a valid url :
url="jdbc:oracle:thin:@address:port:schema"
Guillaume de Vinzelles
DSI/PFS Neuf Cegetel
Altran Technologies
[EMAIL PROTECTED]
01 70 18 21 64
-Message d'origine-
De : David Smith [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 octobre 2006 17:16
À : Tomcat Users Lis
Some fishing through source and online -- your problem can happen if the
connection url is not recognized by the driver.
I was looking at the jdbc url you first posted:
jdbc:oracle:thin:[EMAIL PROTECTED] This doesn't come up as a valid form in any
online docs I can find. You might want to ve
Set log level to OFF for Message Object {R}
log4j.rootLogger=OFF, R
http://logging.apache.org/log4j/docs/manual.html
HTH
Martin --
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are
Are you doing a POST, right ?
-Original Message-
From: Inma Marín López [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 9:12 AM
To: tomcat-user@jakarta.apache.org
Subject: RV: Memory problem in Tomcat
Hello,
I have a web service running in Tomcat (v 5.5.4) + axis (v 1.2)
> From: Michael Courcy [mailto:[EMAIL PROTECTED]
> Subject: Re: problems with unpacking ROOT.war
>
> Maybe a stupid clue but instead of
>
>
>
> What happen if u try
>
>
Neither one is correct. You must NOT use the path attribute in a
element unless the is defined in server.xml. The
URI
I _think_ I know what's going wrong now, but I could really use some
expert advise:
In the web.xml for cruisecontrol, I have the following mappings:
ArtifactServlet
net.sourceforge.cruisecontrol.servlet.FileServlet
rootDir
E:\work\artifacts
Yes, it does support DBCP.
(see my older post about DBCP pool exhaustion).
Regards.
Guillaume de Vinzelles
DSI/PFS Neuf Cegetel
Altran Technologies
[EMAIL PROTECTED]
01 70 18 21 64
-Message d'origine-
De : Saurabh Nanda [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 octobre 2006 14:13
Is the driver in exactly one place -- $TOMCAT_HOME/common/lib? This is
the only place the driver is documented to work from. If the jar file
is in multiple places it can cause classloader issues. Related to that,
also check it isn't in any classpath or the JVM endorsed folder.
Did you resta
Riz,
> hmmm...still having issues with this. Dont understand why..I commented
> out the A1 appender and uncommented the R appender (as below). The
> applications are still logging to catalina.out !! How do I stop this???
> Please help!
> log4j.rootLogger=INFO, R
> log4j.appender.R=org.apache.log4
Hello,
I have a web service running in Tomcat (v 5.5.4) + axis (v 1.2). It receives
a file and it makes some operations with that file. When receiving small
files (<2Mb) the web service executes successfully; however, with files of
bigger size, the service throws InvocationTargetException (t
Try to use JMeter of Apache. It is very nice and has a intuitive GUI.
On 10/17/06, Rizwan Merchant <[EMAIL PROTECTED]> wrote:
Hi,
We are running a web app using tomcat 5.5.15, hibernate, spring, struts
and mysql on a FC4 linux box. We also have mod_jk set up wih the apache
web server to forward
Good Morning
You can always rip the jar apart and put it together as in this example (best
to start with a new folder I called it SomeNewDir
mkdir SomeNewDir
cd SomeNewDir
jar -xvf servlets-cgi.jar
place new file in exact package location (look at the package signature at top
of java file) so i
ojdbc14.jar should be in $TOMCAT_HOME/common/lib to be available to both
the container and your webapp.
Nopes:
o Put it in $CATALINA_HOME/common/lib alone -- same error
o put it in webapps/appname/WEB-INf/lib and $CATALINE_HOME/common/lib,
both -- same error!
Does oracle drier support DBCP?
N
Hi Michael,
thanks for the response.
I tried this - but no luck. In any case, I'm pretty sure for the default
web app (ROOT), you should set a path of "":
"If you specify a context path of an empty string (""), you are defining
the default web application for this Host, which will process all r
I think I see the problem...
ojdbc14.jar should be in $TOMCAT_HOME/common/lib to be available to both
the container and your webapp.
.jar files are always stored in a lib folder. Relative to tomcat's home
dir -- shared/lib, common/lib. Relative to the webapp -- WEB-INF/lib
--David
Saurab
This is the complete stacktrace of the error if it helps. The
ojdbc14.jar file is in the WEB-INF/classes directory.
SEVERE: Servlet.service() for servlet test threw exception
java.lang.NullPointerException
at
org.apache.tomcat.dbcp.dbcp.DelegatingConnection.close(DelegatingConnection.java
All,
I am running Tomcat 5.0.28. It is precompiled on a secure
system, so I can't just upgrade or compile over it. But I need to get
multipart/form-part working. I saw that the issue had been noted and
rectified in Bug 32023 (see below sig for link). The fix was to patch
the CGIServlet.ja
One other thought I just had. I don't use the Oracle driver, so bear
with me. Is there ever a case where the Oracle driver might return a
null connection instead of throwing an exception?
David Smith wrote:
Looks like the connection the pool is attempting to return is null.
Are there any e
Looks like the connection the pool is attempting to return is null. Are
there any errors further up the logs that might indicate an other issue
that might be causing this? For what it's worth, the code and config
posted look good.
--David
Saurabh Nanda wrote:
Hi,
I'm trying to configure
> From: Martin Heiden [mailto:[EMAIL PROTECTED]
> Does anybody have an idea how to debug this behaviour?
As a divide-and-conquer: what happens if you configure a HTTP connector
directly on Tomcat and test to that instead of through Apache? Same
symptoms?
- Peter
-
Hi!
I've got some serious problems with the following configuration:
Windows XP Prof. SP2
Apache 2.2.3
mod_proxy_http
Tomcat 5.5.20
Java Sun SDK 1.5.0_09
After some requests by IE from any machine on the network all
network connections on the server freeze. The only solution is t
Hi,
I'm trying to configure a pooled database connection in Tomcat 5.5.17
but getting a strange error which looks like this:
java.lang.NullPointerException
org.apache.tomcat.dbcp.dbcp.DelegatingConnection.close(DelegatingConnection.java:151)
org.apache.tomcat.dbcp.dbcp.PoolableConnection.reall
Hi,
I can reach the request object and add a parameter, the problem is that the
CgiServlet in Tomcat has been changed so my code doesn't work anymore.
Regards
Gunnar
> -Ursprungligt meddelande-
> Från: Michael Courcy [mailto:[EMAIL PROTECTED]
> Skickat: den 17 oktober 2006 12:26
> Ti
HI Mladen,
good way! But sometimes the changes are inside the Adapter Class and
then you must change the connector class.
+1 to have the attribute className back
Peter
Am 17.10.2006 um 09:36 schrieb Mladen Turk:
Jacob Marcus wrote:
Hi,
The examples no longer show the className attribu
Peter Olin wrote:
Or is there an undocumented "worker.xxx.keepalive" ?
No, its socket_keepalive, but it seems it doesn't
work for you :(
Temporary disable the firewall 'cut inactive connections'
functionality and see if that helps.
Regards,
Mladen.
-
Not sure to understand, u mean that u can't reach the request object in
your filter since u are using Tomcat 5.5.20 ?
[EMAIL PROTECTED] a écrit :
Hi,
My code is in a filter that executes before the CGIServlet in Tomcat kicks in.
It worked with Tomcat 5.5.17 but NOT with Tomcat 5.5.20 and I wo
Maybe a stupid clue but instead of
What happen if u try
[EMAIL PROTECTED] a écrit :
Hi again,
OK - here are some steps you can try out to reproduce the problem I am
experiencing - I'm hoping this will tempt someone into taking a look :-).
The problem we have is that tomcat 5.5.x (I t
Hi,
My code is in a filter that executes before the CGIServlet in Tomcat kicks in.
It worked with Tomcat 5.5.17 but NOT with Tomcat 5.5.20 and I would like to
know if there is some workaround.
Regards
Gunnar
> -Ursprungligt meddelande-
> Från: Michael Courcy [mailto:[EMAIL PROTECTED]
Ok that should not be that hard to POST with java, your filter is acting
like a client.
have a look there
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
[EMAIL PROTECTED] a écrit :
Hi,
No I can't because it is a form with data posted that should be sent over to
the Perl scri
Hi again,
OK - here are some steps you can try out to reproduce the problem I am
experiencing - I'm hoping this will tempt someone into taking a look :-).
The problem we have is that tomcat 5.5.x (I tried 5.5.12 and 5.5.17) won't
unpack ROOT.war when it is started up, if a file called ROOT.xml is
Hi Peter
Thanks for the reply. I have managed to solve the problem by turning off
case-sensitivity in my DLL directory's context, as it turns out that IE
sometimes sends HTTP request for *.DLL instead of *.dll (found out about
that after turning on the access log valve as you suggested). Spent on
We already have that:
worker.ajp15w.type=ajp13
worker.ajp15w.host=xx.xx.xx.xx
worker.ajp15w.port=8009
worker.ajp15w.socket_keepalive=True
worker.ajp15w.socket_timeout=60
I guess that you are talking about what we have specified as
"worker.ajp15w.socket_keepalive=True"
Right?
Or is there an und
> From: AStefanS [mailto:[EMAIL PROTECTED]
> my DLL can be
> downloaded successfully (after adding application/x-msdownload MIME
> mapping), but the dependency DLLs are not downloaded.
Turn on access logging via the access log valve and see what requests IE
is making for the dependency DLLs. Put
Hi,
No I can't because it is a form with data posted that should be sent over to
the Perl script and one additionally parameter.
Regards
Gunnar
> -Ursprungligt meddelande-
> Från: Michael Courcy [mailto:[EMAIL PROTECTED]
> Skickat: den 17 oktober 2006 11:05
> Till: Tomcat Users List
Peter Olin wrote:
This is what I found in the Tomcat log, and I guess that this is the last
thing that happened before the IIS-Tomcat connection stopped working.
2006-10-16 23:20:29 [EMAIL PROTECTED]:
Exception Processing ErrorPage[errorCode=404, location=/index.jsp]
ClientAbortException: java.
Can't u use
request.sendRedirect("myperlscript.cgi?aparam="+request.getParameter("blah"));
Mic
[EMAIL PROTECTED] a écrit :
Hi,
The problem is not to get the parameters in my java filter.
The problem is that I need to pass the posted parameters from the form plus one additional parameter to m
Michael Courcy wrote:
Hum, I remember that I had to download the source apr-1.2.7.tar.gz
for APR directly from the apache website and use the classic ./configure
&& make && make install,
You need apr sources only if building from SVN, then you first
have to ./buildconf.sh --with-apr=/l
This is what I found in the Tomcat log, and I guess that this is the last
thing that happened before the IIS-Tomcat connection stopped working.
2006-10-16 23:20:29 [EMAIL PROTECTED]:
Exception Processing ErrorPage[errorCode=404, location=/index.jsp]
ClientAbortException: java.net.SocketException
Hum, I remember that I had to download the source apr-1.2.7.tar.gz
for APR directly from the apache website and use the classic ./configure
&& make && make install,
Then I untar tomcat-native.tar.gz in the bin directory and run again
configure --with-apr=/usr/local/apr/bin/ && make && ma
Jacob Marcus wrote:
Hi,
The examples no longer show the className attribute for the Connector
element in the server.xml. Is this not supported any more?
In the past, I have done used my own connector as shown in the example
below.
I could not find the relevant documentation on this possible
Hi everyone,
I have a web application in which I have different user domains/groups.
There are some classes, which are customized according to the user
groups/domain with the same quantified class name, but in different jar
files. Based on the login information, I need to change the classpath for
78 matches
Mail list logo