hello,
Just build a new box on Centos 5, i have two other boxes on FC4
they are all running
jdk1.5.0_11
tomcat-5.5.15
I can not get the new server to join the cluster.
this is from the logfile:
Jan 10, 2008 7:39:46 AM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
INFO: Cluster is about
Hello,
Just built a new box.
it is Centos 5
Apache/2.2.3
tomcat-5.5.15
mod_jk-1.2.23-apache-2.2.x-linux-x86_64.so
i am getting tons of these in my log file:
I would appreciate any help in debugging this
thanks
Jan 10, 2008 6:19:50 AM org.apache.jk.core.MsgContext action
WARNING: Error sending en
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wed 1/9/2008 5:02 PM
To: Tomcat Users List
Subject: RE: problem with data input
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: problem with data input
>
> So I can look in
> /usr/local/tomc
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: RE: web.xml configured correctly, but still
> getting'404...resourcenot found'
>
> This context.xml was the one in conf.
That explains why you had problems. The one in conf contains attributes
to be shared by *all* webapps; under no circums
This context.xml was the one in conf. All I did was copy the original
context.xml back.
I have 3 context.xmls :
/usr/local/tomcat/apache-tomcat-6.0.14/webapps/host-manager/META-INF/context.xml
/usr/local/tomcat/apache-tomcat-6.0.14/webapps/manager/META-INF/context.xml
/usr/local/tomcat/apache-tom
Charles,
Thanks for the info. I knew it was out there somewhere.
Troy Davidson
Senior Programmer
Maverik, Inc.
880 W. Center St.
NSL, Utah 84054
Thank you for allowing us to service your technical needs,
Your Technical Services Team
Caldarale, Charles R wrote:
From: Troy Davidson [mailto:[EM
> From: Troy Davidson [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Startup Hitting Webpage
>
> I have a few apps that need to have threads started when
> Tomcat starts.
Read the servlet spec, especially the section on lifecycle listeners.
Make sure you terminate the threads when the webapp is sh
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml configured correctly, but still getting
> '404...resourcenot found'
>
> There was a parse error at context.xml, line 20, column 2.
Which context.xml? If it's in the webapp's META-INF directory or
conf/Catalina/[hostname]/[appnam
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: problem with data input
>
> So I can look in
> /usr/local/tomcat/common/lib and any duplicates of those in
> /usr/local/tomcat/webapps/occa/WEB-INF/lib I will remove.
>
> Am I thinking about this correctly?
Yes. Just remember t
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 09, 2008 4:21 PM
> To: Tomcat Users List
> Subject: RE: problem with data input
>
>
> > From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> > Subject: RE: problem with data input
> >
> >
Fixed. There was a parse error at context.xml, line 20, column 2. The
offending line:
crossContext="true">
>
I read somewhere that you were supposed to do this. Evidently bad info or
old info.
Thanks for all the replies.
cuco2772 wrote:
>
> Check this out, I did 'touch web.xml' then hit r
Hi All,
I am trying to develop a web application using EMBEDDED TOMCAT (5.5.17
version).
I am using standard function "registWAR(contextPath, warPATH)".
Inside this function, right after adding CONTEXT to HOST, I am getting this
exception.
Any help with this EXCEPTION and EMBEDDED TOMCAT (5.5.1
Rainer Jung wrote:
Hi,
Nahor wrote:
Hi,
Is there a way to specify at runtime what worker the load-balancer
should use first?
For some request, we can't use cookies so we pass the session id via
the URL or via the query string. We then force the worker using
RewriteRule and the JK_WORKER_N
Ok, I'm sure I read this somewhere but can't find it.
I have a few apps that need to have threads started when Tomcat starts.
Isn't there a way to tell Tomcat to hit the addresses of these apps to
start them up when Tomcat starts up?
I've searched everywhere and can't find anything. Not fi
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: problem with data input
>
> So If there is a jar not loaded where should it be?
No one said there was a jar not being loaded - just that you have at
least one jar in WEB-INF/lib that should be removed. Tomcat usually
figures out th
Check this out, I did 'touch web.xml' then hit reload in the browser window
and it worked.
If I restart tomcat though, it probably wont work as before.
Here's what my catalina.out looked like after that:
[EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/logs# tail -f
catalina.outJan 9, 2
I am using lambdaprobe to monitor the datasource and
it shows that many maxActive connections for each
webapp deployed. So the total possible max connections
to the database would become maxActive times number of
webapps. But I would like to confirm that as I have
had occasional database connectivi
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 09, 2008 3:37 PM
> To: Tomcat Users List
> Subject: RE: problem with data input
>
>
> > From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> > Subject: RE: problem with data input
> >
> >
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 09, 2008 3:33 PM
> To: Tomcat Users List
> Subject: RE: problem with data input
>
>
> > From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> > Subject: RE: problem with data input
> >
> >
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: problem with data input
>
> > > running in Apache Tomcat 5.1.5.15.
> >
> > No such level; what are you really running? Also, what OS
> > and what JVM?
>
> I am not sure then what version of Tomcat. How can I find this
> informat
I did touch web.xml and it worked. Weird. Of course if I restart tomcat it
wont work again.
Its the latest tomcat 6.0.14. The tomcat error logs are posted in the above
reply.
Caldarale, Charles R wrote:
>
>> From: cuco2772 [mailto:[EMAIL PROTECTED]
>> Subject: web.xml configured correctly, but
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: problem with data input
>
> validateJarFile(/usr/local/tomcat/webapps/occa/WEB-INF/lib/
> servlet-api-2.3.jar) - jar not loaded.
No servlet-api jar should be part of a webapp. The servlet API classes
are provided by Tomcat (and eve
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml configured correctly, but still getting
> '404...resourcenot found'
>
> The guide I've been using for trying to set this up is the
> coreservlets book by Marty Hall. He says set the classpath
> but the info there is for tomcat 4.
The tomcat startup script set's it's own classpath, ignoring the
environment set classpath. This has been the case since tomcat 4.
Tomcat 3 used to be a real headache because of the need to set a
classpath. If I remember correctly, tomcat 3.3 was the first version to
start offering a classl
If you are still looking for a solution:
There is a mismatch in your informations: you wrote, the keystore file would
be located in your home directory but in the connector properties the
keystore is referenced to be located at /user/machine/.keystore: are you
aware of this difference?
Johann
Ok, I am not having much luck resolving my problem. I am including some
information from the logs I have below.
Here is some of the content for a log from 01-07-2008:
Jan 7, 2008 7:46:51 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 7, 2008 7
The guide I've been using for trying to set this up is the coreservlets book
by Marty Hall. He says set the
classpath but the info there is for tomcat 4. Are you saying I could just
get rid of the classpath
environment variable entirely and it wouldn't make any difference ? (I did
set it to whe
no debug property anymore, you can add
org.apache.coyote.http11.level=FINE
in your logging.properties file
Filip
Dmitry Beransky wrote:
Hi,
I can't find any definitive documentation on this. Does the
element in Tomcat 5.5. support the "debug" property (I've
seen examples of this in older T
Using the nio connector from the latest 6.0.x trunk, I'm failing to
receive any comet timeouts. I set the comet timeout to 5 secs but,
after waiting much longer than 5 secs, the only two events I receive
are begin and read.
event: BEGIN, subtype: null
for servlet: com.seekspeak.server.deb
Hi Frank,
you can add your Mbeans at following file
=== $catalina.base/conf/tomca5-mbeans.xml ==
Go to water
===
The Engine element at server.xml can load those MBean instance
declaration.
...
...
If you implement a init(),start()/stop(),dest
I double checked just one entry in server-tunning.conf
Gabe Wong wrote:
Julio,
Double check your httpd.conf to make sure there isn't multiple
MaxClients entries that way you are certain
the one being used us indeed the entry included in the snippet you had
shared with us.
Apache does not th
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 09, 2008 12:59 PM
> To: Tomcat Users List
> Subject: RE: problem with data input
>
>
> > From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> > Subject: problem with data input
> >
> > ru
> >
> > running in Apache Tomcat 5.1.5.15.
>
> No such level; what are you really running? Also, what OS
> and what JVM?
>
I am not sure then what version of Tomcat. How can I find this
information?
When I startup the service I get this return:
[EMAIL PROTECTED] bin]# sh startup.sh
Using CA
There is a project called "URL Filter" doing just that.
http://tuckey.org/urlrewrite/
Nix.,
- Original Message
From: Rob Tanner <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Tuesday, January 8, 2008 7:51:45 AM
Subject: How Do I do (Can I do) Apache like redirects in Tomcat
Hi,
I w
Hi,
I can't find any definitive documentation on this. Does the
element in Tomcat 5.5. support the "debug" property (I've
seen examples of this in older Tomcats)? If so, where will the output
go?
Thanks
Dmitry
-
To start a n
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: problem with data input
>
> running in Apache Tomcat 5.1.5.15.
No such level; what are you really running? Also, what OS and what JVM?
> However, if I try to alter that data from the web
> application nothing happens.
Are the request
I hope I am able to explain this problem adequately. If I have gaps in
my explanation let me know and I will attempt to clarify further. I
know enough about Tomcat to be dangerous, as they say. I hope you guys
might be able to help me so here goes.
We have a MySQL database that we input case i
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: web.xml configured correctly, but still getting
> '404...resource not found'
What's in the logs?
> Then I shutdown tomcat and restarted it.
Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broken)
version?
> Would adding my
Messing with the classpath will bring you nothing but pain and misery.
I would strongly recommend you leave it alone.
Also the servlet mappings are relative to the context so your good on
that front as well.
Are there any messages in your tomcat logs regarding the request? Are
you sure the
In my CISSP training, we covered the possiblity of putting a web server
in between two firewalls. The outer one cleans the course junk out of
the data stream like denial of service attacks, web server compromise
attackes, malformed packets, as well as closing down server services
that should b
error from tomcat. Here is my web.xml:
HelloServlet
HelloServlet
HelloServlet2
coreservlets.HelloServlet2
HelloServlet
/classes/HelloServlet
HelloServlet2
/classes/coreservlets.HelloServlet2
when I went to the following urls after I had edited web.xml to the above,
http://localhos
I've seen many references to this problem, but since the message is an
umbrella to many possible problems, nothing of what I've read so far
offers a solution for my particular symptoms.
In the back I've got Tomcat 5.5.23 with default configuration:
1. default host is "localhost"
2. HTTP conn
---
HARBOR: http://coolharbor.100free.com/index.htm
The best application server on earth
---
Hi Frank, I played with this a long time ago, and I've comp
The illegalStateException while sendRedirect happens because some
content has already been submitted to client, thus the http code (OK)
was already send and it's too late to change headers. Check your action
don't do make output in the action.
Thomas Okken wrote:
Hi all,
I'm running into a p
Hi all,
I'm running into a problem in a struts application I'm working on.
In my struts-config.xml, I have this action-mapping:
The RegistrationAction.execute() method takes several request parameters
and uses them to create an account; when this is successf
Julio,
Double check your httpd.conf to make sure there isn't multiple
MaxClients entries that way you are certain
the one being used us indeed the entry included in the snippet you had
shared with us.
Apache does not throw an error for Duplicate MaxClients entries.
Julio Cesar Leiva wrote:
H
Solved: A coworker spotted the problem: I wrote "classname" instead of
"className" (camelCase).
Alex
Alex Jacoby wrote:
>
> My RemoteHostValve config is causing a NPE when my app deploys, and I
> can't figure out why. It seems to be that the class can't be found, but
> the tomcat-optional.jar
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Why use a Web Server over Tomcat?
>
> Apache is considerably lighter on its feet to serve static
> pages and images quicker than TC
While that was true several years ago, the current versions of Tomcat
achieve virtually identical pe
Alan and Johnny,
I agree with Alan. I'm using the same scheme to save passwords in database,
and SSL too.
But, Johnny's answer help me understand some things.
Johnny, when you say:
> So in those organization Tomcat is probably behind the second internal
firewall
> for staff to use as well.
What d
Hi Peter,
Thanks for sending the link. I guess what my real question was:
how would I get TC to 'declaratively' instantiate my MBeans ?
>From the example, most of them has a main() method to instantiate and
>register the MBeans to the platform MBean Server. What would you recommend
>for TC ,
As an alternative can you point me to an howto about best pratices
in logging with tomcat?
R.
- "Roberto Riggio" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> sorry for the mistake, this is the directory where I'm logging:
>
> drwxr-x--- 2 tomcat55 adm 4096 2008-01-08 09:23 tomcat5.5
>
> so t
pmarchwiak wrote:
Isapi_redirect.dll is not writing to its log file.
I have allowed full control for the
user IUSR_ on this file and it makes no difference.
If it's working (I suppose it is from your comment), then
you should allow the permission read/write/create permission
to the directory
Just wanted to reply and let you guys know that enabling chunked
encoding solved my connection issues with CICS. Thanks for all the
help, I would have never found this solution without your assistance.
Thanks-
Joe
-Original Message-
From: Tim Whittington [mailto:[EMAIL PROTECTED]
Sent:
Apache is considerably lighter on its feet to serve static pages and images
quicker than TC
Apache's HTTP server resource management algorithm revolves around Prefork
MPM
OK if you have 1-10 processes..considerably more problematic when Apache
attempting to manage >100 concurrent processes
Tomcat's
Great information.
This was what we were looking for.
This will help us a lot in future changes to our cluster and node
infrastructure.
Thank you very much.
Regards
Mohan
Rainer Jung-3 wrote:
>
> Mohan2005 wrote:
>> Hello Rainer;
>>
>> Thanks again for taking the time and for the information.
pmarchwiak wrote:
Isapi_redirect.dll is not writing to its log file. I have Tomcat 5.5
installed on a Windows Server 2003 box and I am using the ISAPI redirector
to redirect some requests from IIS. I am using the isapi_redirect.properties
file for my configuration (as opposed to the registry sett
Have you tried the registry entries?
Charlie Wingate
[EMAIL PROTECTED]
The significant problems we have cannot be solved at the same level of
thinking with which we created them. ~ Albert Einstein
-Original Message-
From: pmarchwiak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09
Mohan2005 wrote:
Hello Rainer;
Thanks again for taking the time and for the information.
if I quote you
"
Who told you that? cping/cpong have nothing to do with load decisions.
They only help in deciding, if a worker is in error status or not. Load
is distributed between all nodes that are n
My RemoteHostValve config is causing a NPE when my app deploys, and I can't
figure out why. It seems to be that the class can't be found, but the
tomcat-optional.jar w/ the class is in the standard /server/lib dir.
I'm using Tomcat 5.5.25 (OS X) and 5.5.20 (linux) and am getting the same
error o
Edwin Walsh wrote:
Hi Rainer,
I have been playing around with mod_rewrite, but as far as I can tell
the rewrite is done before the jkmount. So I can get this wonderful url
to be rewritten to the actual name of the web application, but since the
old and the new versions have the same name it w
Hi all
When we introduce load balancing and a 2nd tomcat worker, the time
to service client requests is not balanced. Some clients are serviced as
above,
but others may take 10, 20, 30 seconds or more. Eventually, clients timeout
and sessions are lost.
We ran our test over night with just 20
Isapi_redirect.dll is not writing to its log file. I have Tomcat 5.5
installed on a Windows Server 2003 box and I am using the ISAPI redirector
to redirect some requests from IIS. I am using the isapi_redirect.properties
file for my configuration (as opposed to the registry settings) and my
worker
Thank you both!
Now it's working fine, thanks
Jordi
Shiby Maria John wrote:
I think you have given the wrong port for the worker configuration.
You should give the AJP port and not the HTTP port for the worker.
One reason for doing this, is again not whether IIS or APACHE is better
although APACHE on linux in the
hands of a guru is very good, its because Tomcat carries clear text
passwords, so if a hacker did
get at the machine, they would probably see the Active X LDAP master
password,
I don't
Hello Rainer;
Thanks again for taking the time and for the information.
if I quote you
"
Who told you that? cping/cpong have nothing to do with load decisions.
They only help in deciding, if a worker is in error status or not. Load
is distributed between all nodes that are not in error. To wh
Hi Rainer,
I have been playing around with mod_rewrite, but as far as I can tell
the rewrite is done before the jkmount. So I can get this wonderful url
to be rewritten to the actual name of the web application, but since the
old and the new versions have the same name it will not work.
For a
> From: Melanie Pfefer [mailto:[EMAIL PROTECTED]
> 1- how to change the http port number?
Look at the various Connector elements in conf/server.xml
> 2- how to allow a non-root user to start tomcat? Is it
> only though file ownership modification (chown -R
> /usr/local/tomcat6)?
Make sure you're
thanks a lot. I appreciate your help.
1- how to change the http port number?
2- how to allow a non-root user to start tomcat? Is it
only though file ownership modification (chown -R
/usr/local/tomcat6)?
thanks again.
--- Peter Crowther <[EMAIL PROTECTED]>
wrote:
> > From: Melanie Pfefer
> [mai
While I was attempting to use rewrite and jk i found that you need to
load the jk module before the rewrite module, so be warned ;)
On Jan 9, 2008 10:53 AM, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Hi Edwin,
>
> Edwin Walsh wrote:
> > Hi,
> >
> > First of all I would like to mention that this is m
Melanie;
Am Wed, 9 Jan 2008 10:48:10 + (GMT)
schrieb Melanie Pfefer <[EMAIL PROTECTED]>:
> export JAVA_HOME=/usr/local/java/j2sdk1.4.2_08/
> export JRE_HOME=/usr/local/java/j2sdk1.4.2_08/jre/
[...]
> java.lang.UnsupportedClassVersionError:
> org/apache/catalina/startup/Bootstrap (Unsupported
> From: Melanie Pfefer [mailto:[EMAIL PROTECTED]
> Exception in thread "main"
> java.lang.UnsupportedClassVersionError:
> org/apache/catalina/startup/Bootstrap (Unsupported
> major.minor version 49.0)
Make sure you have at least JDK1.5 installed, and that your JAVA_HOME is
pointing to that JDK.
Hi Edwin,
Edwin Walsh wrote:
Hi,
First of all I would like to mention that this is my first post on this
list, I hope that this question is posted in the right place. I have
tried finding a solution for my problem, but it either doesn't exist, or
my limited brain can't manage to figure out h
Hello and thanks for the reply,
I downloaded the binaries apache-tomcat-6.0.14.tar.gz
export JAVA_HOME=/usr/local/java/j2sdk1.4.2_08/
export JRE_HOME=/usr/local/java/j2sdk1.4.2_08/jre/
the tomcat is still not starting:
bash-2.03# more catalina.out
Exception in thread "main"
java.lang.Unsuppor
Hi Jordi,
Jordi Prats wrote:
Hi
I'm trying to balance connections using mod_jk, but I'm getting this error:
[Wed Jan 09 11:12:55 2008] [31970:3086935744] [info]
ajp_service::jk_ajp_common.c (2186): (loadbalancer) sending request to
tomcat failed (recoverable), because of error during request
I think you have given the wrong port for the worker configuration.
You should give the AJP port and not the HTTP port for the worker.
Jordi Prats
<[EMAIL PROTECTED]
s>To
Hi,
Nahor wrote:
Hi,
Is there a way to specify at runtime what worker the load-balancer
should use first?
For some request, we can't use cookies so we pass the session id via the
URL or via the query string. We then force the worker using RewriteRule
and the JK_WORKER_NAME env var.
But the
Hi
I'm trying to balance connections using mod_jk, but I'm getting this error:
[Wed Jan 09 11:12:55 2008] [31970:3086935744] [info]
ajp_service::jk_ajp_common.c (2186): (loadbalancer) sending request to
tomcat failed (recoverable), because of error during request sending
(attempt=1)
[Wed Jan 0
Hi,
First of all I would like to mention that this is my first post on this
list, I hope that this question is posted in the right place. I have
tried finding a solution for my problem, but it either doesn't exist, or
my limited brain can't manage to figure out how to do it (I strongly
hope i
En l'instant précis du 09/01/08 11:16, Melanie Pfefer s'exprimait en ces
termes:
Hello,
I am trying to install tomcat6 on Solaris 8. I
downloaded apache-tomcat-6.0.14-src.tar and untarred
the archive to /usr/local/tomcat6/
bash$ more catalina.out
Exception in thread "main"
java.lang.N
Hello,
I am trying to install tomcat6 on Solaris 8. I
downloaded apache-tomcat-6.0.14-src.tar and untarred
the archive to /usr/local/tomcat6/
I also changed the ownership to a normal user and
modified the files under bin/ to executables.
If I ran ./startup.sh:
Neither the JAVA_HOME nor the JRE
On Tue, 08 Jan 2008 21:10:31 + Mark Thomas wrote:
> All I can suggest is start Tomcat with remote debugging enabled and when
> you see the error, connect, debug you way through a request and see if you
> can see what the security settings are and try and confirm that they match
> the policy fil
Please read this:
http://java.sun.com/developer/technicalArticles/J2SE/jmx.html
http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html
Peter
Am 09.01.2008 um 08:03 schrieb Frank Z:
hello,
I am looking some sample MBean code for TC 6.0.. I was able to
model some code after
82 matches
Mail list logo