<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am a freshman of tomcat, and my company webserver is running Version
> 3.2.3 and has never applied any security patches.
> I would like to know which patches are available to apply? and how to
> apply the patches?
>
Well, th
Is RemoteAddrValve broken in 6.0.16? I have the following in
"manager.xml", located at %catalina_home%\Conf\Catalina\Localhost.
allow="127\.0\.0\.\d"/>
I also tried allow="^127\.0\.0\.\d", but I saw a bug fix for 6.0.12 that
said it would work the way I have it in the first example.
Wh
6.0.10 and 6.0.16.
On Mar 18, 2008, at 7:35 PM, Filip Hanik - Dev Lists wrote:
tomcat version?
Rajeev Angal wrote:
setVersion(1) only :
cookie.setPath("/" ) doesnt return the cookie on IE and Mozilla.
Works fine on Firefox.
Code enclosed.
TEST is retuned correctly back to the server...
Hi,
I am a freshman of tomcat, and my company webserver is running Version
3.2.3 and has never applied any security patches.
I would like to know which patches are available to apply? and how to
apply the patches?
Thank you so much.
Happy Forever : )
Vivien Ng
Assistant Information Systems Ma
tomcat version?
Rajeev Angal wrote:
setVersion(1) only :
cookie.setPath("/" ) doesnt return the cookie on IE and Mozilla. Works
fine on Firefox.
Code enclosed.
TEST is retuned correctly back to the server... but TEST1 is not on IE
and Mozilla...Firefox returns both.
Any clue?
<%
Strin
setVersion(1) only :
cookie.setPath("/" ) doesnt return the cookie on IE and Mozilla. Works
fine on Firefox.
Code enclosed.
TEST is retuned correctly back to the server... but TEST1 is not on IE
and Mozilla...Firefox returns both.
Any clue?
<%
String val1 =
"[EMAIL PROTECTED]";
St
Christopher Schultz christopherschultz.net> writes:
> Praveen,
>
> pmanvi wrote:
> | I found that org.apache.catalina.loader.WebappLoader was setting the
> | URL.setURLStreamHandlerFactory() with DirContextURLStreamHandlerFactory,
> | basically jndi stream handler.
> | I updated this file rebuil
Hi,
I am trying to undeploy applications from Tomcat 4.1 using basic
authentication, by writing a small HTTP client that uses a URL connection
to request the Tomcat Manager to undeploy application given the context.
Unfortunately, this is not working!
If I remove the login-config details associated
On Tue, Mar 18, 2008 at 4:28 PM, Martin Grotzke
<[EMAIL PROTECTED]> wrote:
> Only for the REST api (mapped to a specific path/url-pattern) we do not
> want to return these error pages but only codes.
So write dynamic error pages that return the appropriate content
(or lack thereof) based on the
Hi,
On Tue, 2008-03-18 at 17:15 -0400, Christopher Schultz wrote:
> You could set an in web.xml that produces no output for
> these status codes.
the rest of the application serves pages visited by humans - for them we
want to display error pages. (Sorry, I didn't point this out)
Only for the R
On Tue, Mar 18, 2008 at 3:46 PM, dr_pompeii <[EMAIL PROTECTED]> wrote:
> http://computerlabsolutions.com/support/knowledgebase.php#performance t
> the second step works fine for windows, the question is
> how i can do this for linux??
min/max JVM memory values are set in your startup script
hello guys
for this useful link
tomcat performance windows
http://computerlabsolutions.com/support/knowledgebase.php#performance tomcat
performance
the second step works fine for windows, the question is
how i can do this for linux??
thanks in advanced
--
View this message in context:
http:/
> From: Dustin Fortin [mailto:[EMAIL PROTECTED]
> Subject: RE: jndi resource linking
>
> In my resource name declarations in my server.xml I'm using:
> driverClassName="com.mysql.jdbc.Driver which I have already
> verified is in that jar.
The evidence, however, is against you. From the excep
> From: Dustin Fortin [mailto:[EMAIL PROTECTED]
> Subject: RE: jndi resource linking
>
> What archives are you mentioning below?
This is my favorite:
http://marc.info/?l=tomcat-user
Searchable and there's very little GUI crap to get in the way.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDE
hmmm, interesting
I'm using driver $CATALINA_HOME/lib/mysql-connector-java-5.1.5-bin.jar
In my resource name declarations in my server.xml I'm using:
driverClassName="com.mysql.jdbc.Driver which I have already verified is in that
jar.
Why would tomcat be referencing a different jdbc dri
Thank you for the response.
I am running tomcat 6.0.14
The mysql driver is located in
$CATALINA_HOME/lib/mysql-connector-java-5.1.5-bin.jar
What archives are you mentioning below? I've googled this error message
without finding an answer that fits my situation.
thanks
-dustin
__
> From: John Moore [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat to Apache connection dies
>
> Ok, I assume you mean the APR connector is the mod_jk.so
> which is on the Apache side only.. ?
No - the APR connector is a replacement for the pure Java HTTP/AJP ones
on the Tomcat side.
- Chuck
Rainer Jung wrote:
The question was aimed at the Tomcat side. There are connectors on the
Tomcat side, responsible for handling the incoming traffic. If you are
using the Linux default, pure Java, then it is the Coyote connector
and you will get an info message during startup, that Tomcat canno
>>>I have the mysql driver in lib, I dont believe that is the issue.
I kind of do...I was about to ask if you were using or referencing the correct
driver.
I don't think you'd be getting this error if that was the case.
Cannot create JDBC driver of class ' ' or connect URL 'null'
java.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dustin,
Dustin Fortin wrote:
| I am getting the following error when tomcat starts up:
Which Tomcat?
| I have the mysql driver in lib, I dont believe that is the issue.
Which 'lib'?
Give us more information and we can probably help. Or, you could
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concer,
Guest1234 wrote:
| I have a simple web-service that all it does is print "Hello World", I'm
| following the example at the
| "Jave EE tutorial" here:
| http://java.sun.com/javaee/5/docs/tutorial/doc/bnayn.html Java EE Tutorial
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Grotzke wrote:
| Is there a way not to return error pages in these cases?
You could set an in web.xml that produces no output for
these status codes. Something like:
~ 400
~ /path/to/zero/length/file
- -chris
-BEGIN PGP S
Hello,
I am getting the following error when tomcat starts up:
Cannot create JDBC driver of class ' ' or connect URL 'null'
java.lang.NullPointerException
at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)
at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)
Problem solved: Due to an error in my ant target for precompiling JSP
which was hidden by the fact that I had Netbeans test compiling the JSPs,
the end result was that the JSP was precompiled using Netbeans JspC
instead of jasper JspC. Netbeans 6 JspC is apparently a few generation
newer than t
I have a simple web-service that all it does is print "Hello World", I'm
following the example at the
"Jave EE tutorial" here:
http://java.sun.com/javaee/5/docs/tutorial/doc/bnayn.html Java EE Tutorial
example
However I'm not using the Sun Java Server and instead I'm using Tomcat so I
can't depl
Hi all, I am having a problem with some precompiled JSP files on Tomcat
5.5 (problem not observed on 6.0). Below is the description:
Target environment:
OS: Linux CentOS 4.5
Tomcat: 5.5.26
JDK: 1.5.0_08 & 1.6.0_10
The error:
exception
javax.servlet.ServletException: Servlet.init() for servlet
nope, it's not normal. means you got clobbered data. are you running
multiple versions of tomcat?
Filip
Ronald Klop wrote:
I have this in my logs. Running tomcat 5.5.26.
Exception in thread "ClusterListenThread-2"
java.lang.ArrayIndexOutOfBoundsException: 1024
at org.apache.catalina.cluster
Hi all,
I have a web application running on Tomcat 5.5.23 with an Apache 2.2.4
webserver using the jk 1.2.22 connector. I am seeing some strange
behavior - I have started to get only the first part of a response
when requesting large pages on lower bandwidth (1024 Kbps)
connections. Here is an e
As a member of this list for several years, I can honestly tell you I
have not seen one post from anyone who felt better off with the third
party packages. You can check the archives yourself -- there are a
number of posts from people whose problems disappeared when they
uninstalled the third
I'm also using mod_jk connector
On Tue, Mar 18, 2008 at 8:31 PM, Murat Birben <[EMAIL PROTECTED]> wrote:
> My SELinux is disabled, how could i check my firewall configurations?
>
> Regards,
>
>
> On Tue, Mar 18, 2008 at 7:16 PM, Brian Munroe <[EMAIL PROTECTED]>
> wrote:
>
> > On Tue, Mar 18, 2008
Hi,
we have a web application running in tomcat that returns error pages for
status codes like e.g. 404 - absolutely fine.
In the same servlet context we provide a RESTful API (using jersey [1]),
that in most of the cases returns xml. In some cases responses with only
the error code set (e.g. 400
My SELinux is disabled, how could i check my firewall configurations?
Regards,
On Tue, Mar 18, 2008 at 7:16 PM, Brian Munroe <[EMAIL PROTECTED]>
wrote:
> On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben <[EMAIL PROTECTED]>
> wrote:
>
> > tcp0 0 :::8080 :::*
> LISTEN
> From: sol42020 [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat is confused between sites
>
> Do you have a recommended version of Tomcat and a location for
> downloading?
There's only *one* location for downloading Tomcat:
http://tomcat.apache.org
Personally, I would use the latest 6.0 versi
Actually, you said the following, which wasn't very specific on how to solve
this particular problem. It made me think that you just didn't like
repackaged versions of Tomcat. I will now consider changing the version I'm
using since another user agreed that it's a possible problem. Thanks for
your
I'm not sure if there's a single Tomcat resource they require. I do know that
all *.jar and *.class files are inside the WEB-INF directories of their
respective application directories. Each are connected to a separate remote
database. I haven't setup any logging.
David Fisher wrote:
>
> Both
I've taken note of all advice. I'm usually a bit wary of changing or
installing an application because one person mentioned it. Since I now have
two people interested in the idea, I will consider doing it. Upgrading or
changing versions is a bit heftier than just modifying a configuration. Do
you
> From: paul womack [mailto:[EMAIL PROTECTED]
> Subject: Tomcat - JMX to get connections per minutes?
>
> How do I get figures on (what I consider) simple stuff
> like connections per minute/hour/whatever, Kilobytes
> per second, etc?
Probably the easiest thing to do is look at code that already
I agree. However, they claim that their app works in a virtually hosted
environment. I would like to know if there is something specific in Tomcat
that I can look for, such as session information. Let's "assume" that the
software is free of errors. Why would Tomcat allow one site to show just
fine
I have this in my logs. Running tomcat 5.5.26.
Exception in thread "ClusterListenThread-2"
java.lang.ArrayIndexOutOfBoundsException: 1024
at org.apache.catalina.cluster.io.XByteBuffer.toInt(XByteBuffer.java:222)
at
org.apache.catalina.cluster.io.XByteBuffer.countPackages(XByteBuffer.java:163)
a
That still doesn't rule out an application bug. They may have gotten
careless in how they handle request data or cache the server name
somewhere not intending to support virtual hosting.
--David
sol42020 wrote:
Most people would think that, but the problem disappears when I modify the
server
Both webapps use a resource or class that only allows a single use?
Do you install any jars in any place other than your webapps' WEB-INF/
lib?
Have you set up any logging? If log4j, where did you put it?
Regards,
Dave
On Mar 18, 2008, at 12:12 PM, sol42020 wrote:
Most people would think
On Tue, Mar 18, 2008 at 10:12 AM, sol42020 <[EMAIL PROTECTED]> wrote:
>
> Most people would think that, but the problem disappears when I modify the
> server.xml file for Tomcat. When I "comment out" the tema server, tematest
> works fine with no errors. Tomcat appears to be confused. The applic
> From: sol42020 [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat is confused between sites
>
> Do you have any other ideas why this would happen?
You've already been given very sound advice, which so far you have
chosen to ignore.
1) Get rid of that 3rd-party repackaged Tomcat and install a rea
On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben <[EMAIL PROTECTED]> wrote:
> tcp0 0 :::8080 :::*
> LISTEN
>
Ok, that's good, it can listen on all IPs
Now, do you know if you are running SELinux or if your firewall is
configured as Peter suggest
Colour me stupid;
I've installed Tomcat 5.5, and have read various
glowing reports about monitoring and JMX and how
wonderful it all is.
I've just googled, and read stuff, for around the last hour.
And come up empty.
How do I get figures on (what I consider) simple stuff
like connections per m
Most people would think that, but the problem disappears when I modify the
server.xml file for Tomcat. When I "comment out" the tema server, tematest
works fine with no errors. Tomcat appears to be confused. The applications
work independently, but tema is the only one that works when server.xml h
tcp0 0 :::8080 :::*
LISTEN
here is the part of 'netstat -an | grep -i listen' command for port 8080
On Tue, Mar 18, 2008 at 6:52 PM, Brian Munroe <[EMAIL PROTECTED]>
wrote:
> On Tue, Mar 18, 2008 at 9:45 AM, Murat Birben <[EMAIL PROTECTED]>
> wrote:
>
> > My ser
> From: Murat Birben [mailto:[EMAIL PROTECTED]
> My server OS is centos and I've apache 2.2 and tomcat6 installed on my
> machine.
Do you have any integration between the two, or are they completely separate?
> I can display my php pages as abc.xyz.com
... from Apache httpd...
> and display my
On Tue, Mar 18, 2008 at 9:45 AM, Murat Birben <[EMAIL PROTECTED]> wrote:
> My server OS is centos and I've apache 2.2 and tomcat6 installed on my
> machine. I can display my php pages as abc.xyz.com and display my jsp pages
> on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display fro
Sorry, but I'm a kind of newbie. Can you explain it a bit detailed?
Regards,
On Tue, Mar 18, 2008 at 6:47 PM, ratul banerjee <[EMAIL PROTECTED]> wrote:
> You probably have to set web alias...
>
> On 3/18/08, Murat Birben <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > My server OS is centos and I
You probably have to set web alias...
On 3/18/08, Murat Birben <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> My server OS is centos and I've apache 2.2 and tomcat6 installed on my
> machine. I can display my php pages as abc.xyz.com and display my jsp
> pages
> on LAN as abc.xyz.com:8080/asd but my jsp p
>Is the download static content, or is it generated? If it's generated,
what's the code that generates it?
The download content is generated.
It is generated through the ARS Mid-Tier.
>Also... could you give us some more details on OS, Tomcat version, whether
it's standalone or fronted by Apache
Hi,
My server OS is centos and I've apache 2.2 and tomcat6 installed on my
machine. I can display my php pages as abc.xyz.com and display my jsp pages
on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from out
of my LAN. What may be the problem?
My second question is, I want to di
On Tue, Mar 18, 2008 at 9:11 AM, sol42020 <[EMAIL PROTECTED]> wrote:
> The configuration info I'm speaking of is just a ConnectionInfo.class file
> that is inside each individual site. I've attached the log file. According
> to the programmers who make the app, this version of Tomcat is just fi
> From: ratul banerjee [mailto:[EMAIL PROTECTED]
> Could not find anything close to that
OK.
> To add something more,this is happening in case of client
> browser that is
> requesting a big download and midway during the search the
> client browser is closed.
Is the download static content,
Hello,
My Tomcat's (5.5.26) currently print 'INFO: Manager [] expiring sessions upon
shutdown' on shutdown.
This triggers my SessionListeners which prints a lot of these lines.
[nl.base.servlets.SessionListener] Logout: [EMAIL PROTECTED] [userid=43321]
[nl.base.servlets.SessionListener] Logout:
In response to Hassan:
The configuration info I'm speaking of is just a ConnectionInfo.class file
that is inside each individual site. I've attached the log file. According
to the programmers who make the app, this version of Tomcat is just fine for
their application to work. Thanks for looking i
Hi Peter,
Could not find anything close to that
To add something more,this is happening in case of client browser that is
requesting a big download and midway during the search the client browser is
closed.
On 3/18/08, Peter Crowther <[EMAIL PROTECTED]> wrote:
> > From: ratul banerjee [mail
> From: ratul banerjee [mailto:[EMAIL PROTECTED]
> Tomcat stops after client browser in cancelled midway when it
> is loading.
That sounds like the webapp you're running does something inappropriate when it
gets an exception. Check it for nasties like System.Exit() calls.
> The localhost.log gi
On Tue, Mar 18, 2008 at 7:13 AM, sol42020 <[EMAIL PROTECTED]> wrote:
>
> I've changed
> the connection info between both of them
What exactly does that mean?
> One site is called tema and the other is called tematest. They each have
> their own /home/ directory. Tema works fine, but tematest
Tomcat stops after client browser in cancelled midway when it is loading.
The localhost.log gives :
ClientAbortException: java.net.SocketException: Connection reset by peer:
socket write error
Hi,
I am trying to connect remotely to Tomcat 4.1.36 via JMX, and am unable to
do so.
I tried to set mx.port =9000,mx.enable=true etc, in jk2.properties,
and uncommented the Connector in server.xml.
I am running the remote machine in java 1.4.2, and port 9000 does not seem
to be enabled.
I am wond
I have two "identical" jsp apps running on the same linux box. I've changed
the connection info between both of them so that they run as separate sites.
One site is called tema and the other is called tematest. They each have
their own /home/ directory. Tema works fine, but tematest doesn't. I can
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Hole wrote:
| We're trying to avoid the execution of valueUnbound(), when a Tomcat
| instance is stopped in a cluster environment.
Search the archives. Just a week or two ago, someone asked a similar
question about session messages in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Praveen,
pmanvi wrote:
| I found that org.apache.catalina.loader.WebappLoader was setting the
| URL.setURLStreamHandlerFactory() with DirContextURLStreamHandlerFactory,
| basically jndi stream handler.
| I updated this file rebuild the class & placed
Don't forget to leave some space for the OS' buffer cache. If your
app.s do a lot of I/O then they can benefit a great deal from having
the most commonly accessed storage blocks cached all the time.
W.r.t. Tomcat tuning this means you don't try to use up all of
physical memory with Tomcat instanc
On Mon, Mar 17, 2008 at 11:16:49PM +, Stephen Nelson-Smith wrote:
> I plan to test running with a newer JVM shortly. I have been told by
> the developers that the application needs to run under 1.4.2.
Whatever they mean by that.
If they mean, "needs 1.4.2 or newer", that's quite reasonable a
Ofer Kalisky wrote:
I took test.jsp and put it in a new project (working with eclipse) and
it does work. In my original project it doesn't.
Can you point me to where the problem can be? AFAIK, I'm not using any
filter (where can I see if I do?)
WEB-INF/web.xml
I have a listener in my web.x
The short answer is no, an upgrade to Apache Httpd will not necessitate
an upgrade of tomcat. Even a bigger update of httpd from 1.3.x to say
2.2.x won't necessitate an upgrade of tomcat. They aren't that tightly
bound together. You may have to recompile your mod_jk module if you use
it thou
> From: Patrick Unthank [mailto:[EMAIL PROTECTED]
[Assuming by "Apache" you mean "Apache httpd" throughout]
> We have a box with tomcat and apache installed with JRE 1.4.2. For
> reasons I cannot give here I cannot upgrade the JRE but a
> security scan
> has highlighted that I have to upgrade apac
We have a box with tomcat and apache installed with JRE 1.4.2. For
reasons I cannot give here I cannot upgrade the JRE but a security scan
has highlighted that I have to upgrade apache from 1.3.29 to 1.3.41, but
not to apache2.
I am unsure that if I do an upgrade on apache alone whether it will
br
Hi Matt,
Since I was working with legacy code, I don;t wanted to any code.
I found that org.apache.catalina.loader.WebappLoader was setting the
URL.setURLStreamHandlerFactory() with DirContextURLStreamHandlerFactory,
basically jndi stream handler.
I updated this file rebuild the class & placed
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED]
> I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel
> (CentOS 5). It is running an application inside 4.1.37 with Java
> 1.4.2.
[...]
> What's the best way to make to most of the RAM?
1) 64-bit OS.
2) 64-bit JVM.
3) Newer Tom
> From: brien colwell [mailto:[EMAIL PROTECTED]
> Any program that needs 8gb of RAM to run seems suspect. Large amounts
> of data should be abstracted through the filesystem and dealt with as
> files.
I have several programs that will cheerfully use 8G, or more, of RAM. In
general, they are larg
John Moore wrote:
Rainer Jung wrote:
Which connector do you use? The usual Coyote (Jav) connector, or the
native APR connector (also called tcnative)?
Hmm.. good question.. I follow the directions, compile and it (make
install) puts the mod_jk.so in the ../apache/modules directory. I would
Hi All ;
can anyone suggest me regarding the following issue.
it's urgent.
environmental situation:
I am working on the hyperion portal HS9; here on this server Two
tomcats(both of :5.0.28) are present; one is used to run this portal &
another one is used to run the 6 java applications present(
__ Information from ESET NOD32 Antivirus, version of virus
signature database 2949 (20080315) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32 Antivirus, version of virus
signature database 2954 (2008
I took test.jsp and put it in a new project (working with eclipse) and it
does work. In my original project it doesn't.
Can you point me to where the problem can be? AFAIK, I'm not using any
filter (where can I see if I do?) I have a listener in my web.xml, but the
rest is the default there. t
Hi Praveen,
pmanvi gmail.com> writes:
> ...
>
> Do let me know if you find some solution to the same.
actually, in the end I got it working using Christoph's suggestion to use the
URL(scheme, host, port, path, handler) constructor. Unless that legacy system
you're using unwraps and reconstruct
Mark Thomas escribió:
Tomás Tormo wrote:
Hello
I'm a newbie Tomcat user and my catalina.out log file is getting too
big. How could I set a maximun size in order to force Tomcat to build
a new one when the maximun size is reached? I've been searching on
the internet but nothing matches what
80 matches
Mail list logo