Thank you for the feedback.
Sorry for the incomplete information.
The Apache http server is functioning as a reverse proxy.
Multiple applications have to be accessed through the internet.
Now, I have Tomcat listening on 8081.
Going to retour.mycompany.com:8080 or retour.mycompany.com:8081
gives
Andreas Junius wrote:
And now everything works fine! But it shouldn't be neccessary to write a
servlet for such a simple task. The fault must be somewhere in my config
files for the Tomcat. Does anybody know where the problem may be?
Use ieHttpHeaders / fiddler / LiveHttpheaders to compare
azharalibuttar wrote:
Mark Thomas-23 wrote:
azharalibuttar wrote:
Hi,
Thanks for sharing a very valuable information with the users of apache
tomcat but there is also a very simple way to run multiple instances of
apache tomcat 6 given in the post on under given blog;
Oh, I think you got me wrong. As I said, by non-existing name I meant a
DNS name or definition in /etc/hosts file, something that is known to ie.
OS.
In all examples there were either localhost or www.somesite.tld, so I
thought that it needs to be either DNS or /etc/hosts.
But it seem that as
Hya everyone,
I'm pretty new to Tomcat and after much googling didn't yield anything that
helped me I'm trying my luck here ;-)
My current problem is that I'm trying to access a Webservice (via wsdl,
classes are generated in netbeans, one custom binding was needed to resolve
a naming conflict
Raphael, could we just check a few things?
1) OS, Tomcat version, Java version? Is the security manager enabled? What
(if any) of the default options have been changed on the Tomcat
installation?
2) I think I read the following into your question: Your Web services are
hosted somewhere else.
Hya Peter
thanks for the quick response :-)
1) Vista 64bit, Tomcat 6.0.14, Security Manager not enabled, default local
tomcat install for intial testing. Java Platform JDK 1.6. Netbeans 6.7 used
for development and deployment.
2) Yep that's spot on - the services are hostet elsewhere (.net
OK. Given that the client shows different behaviour between calls that
happen to be made from Tomcat and calls that happen to be made from
Glassfish, I suspect a library difference between the two. Are you relying
on any jars to be supplied by the container, rather than providing them as
part of
Dear All,
I need an urgent help, and I hope you will shed some light to it.
I have recently installed Apache Tomcat version 6.0.20. I copied my project
file (test.war) under /usr/local/apache-tomcat-6.0.20/webapps/ and it
deployed successfully. I can access the site via the URL of
Hi Andy,
Try to undeploy the old application. Rename the test.war to
sg#server#test.war, and deploy it.
Regards,
Ognjen
Andy Ee wrote:
Dear All,
I need an urgent help, and I hope you will shed some light to it.
I have recently installed Apache Tomcat version 6.0.20. I copied my
Andy Ee wrote:
There is a new requirement to setup multi-level context path as in I need
the URL to be http://localhost:8080/sg/server/test/
Remove all the old files you no longer want:
$CATALINA_BASE/webapps/test.war
$CATALINA_BASE/conf/Catalina/localhost/test.xml
Hi Ognjen,
Thank you for your quick response!
I have undeployed the old application (test.war) under Tomcat Manager, as
well as renamed test.war to sg#server#test.war under webapps. Without the
need to restart Tomcat, I saw the new project directory created under
/webapps/sg#server#test
Hi Andy,
On Tomcat side everything seems to work just fine.
It seems that sitemash (wrongly) assumes the location of the file config
file. Try on sitemesh forum/mailing list.
Caused by: com.opensymphony.module.sitemesh.factory.FactoryException:
Could
not read config file :
Hi Ognjen,
Are you able to advice the mailing list for sitemesh? Is it under Tomcat as
well?
Best Regards,
Andy Ee
-Original Message-
From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs]
Sent: Monday, August 17, 2009 7:31 PM
To: Tomcat Users List
Subject: Re: Multi-Level Context
Hi Mark,
Please see my responses below. Thanks.
Best Regards,
Andy Ee
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, August 17, 2009 7:04 PM
To: Tomcat Users List
Subject: Re: Multi-Level Context Paths
Andy Ee wrote:
There is a new requirement to
Hi Mark,
Before I prepare my .war file, there is an existing META-INF/context.xml and
the content is,
Context path=/test debug=99 reloadable=true
antiJARLocking=true antiResourceLocking=false
!--Resource name=jdbc/moneysend auth=Container
type=javax.sql.DataSource
Try here:
http://www.opensymphony.com/sitemesh/userForums.action
Regards,
Ognjen
Andy Ee wrote:
Hi Ognjen,
Are you able to advice the mailing list for sitemesh? Is it under Tomcat as
well?
Best Regards,
Andy Ee
-Original Message-
From: Ognjen Blagojevic
hmm that might be it, wasn't able to resolve it though so far - glassfish
lists as server specific packages:
webservices-api.jar
javaee.jar
jsf-impl.jar
activation.jar
appserv-tags.jar
mail.jar
appserv-jstl.jar
webservices-tools.jar
webservices-rt.jar
webservices-tools.jar
webservices-rt.jar
Drop the path attribute from your Context ... .../Context
definition. The path should ideally be driven by the name of the war
file, not explicitly called out in config unless your webapp is outside
the webapps directory.
--David
Andy Ee wrote:
Hi Mark,
Before I prepare my .war file, there
Hi all,
I have a 2 tomcat servers load balanced using apache mod_jk, I have a
probleme with images on the login page, the image url generate is
postfixed by jsessionid, so, the image is not rendered, the user have to
use F5 button.
how to work arround this issue?
thanks!
--
View this
Hello to everyone!
I'm experiencing difficulties in configuring SSL for an apache tomcat
6.0.18 in a VMWare environment.
basically there is a machine devided in 4 virtual machines. On one of
these machines runs a tomcat server with this configuration:
?xml version='1.0' encoding='utf-8'?
From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com]
Subject: Tomcat 6.0.18 with SSL and VMWare
Connector port=80 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 /
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
add these properties to properties,classpath and target for
apache-tomcat-6.0.20-src build.xml
property name=commons-logging.jar
value=C:/commons-logging/commons-logging-1.0.4/commons-logging.jar/
property name=tools-ant.jar
Sorry David,
The addresses and names are fakes for reasons of confidentiality.
The addresses and names in my code have worked before though.
Kind regards,
Piet
On Mon, Aug 17, 2009 at 2:42 PM, David Smith d...@cornell.edu wrote:
Are you replacing DNS names and IPs with fakes for the purposes
Hi Tomcat Users,
I found Tomcat 5.5.28 on the web page -
http://tomcat.apache.org/#Apache%20Tomcat%20Versions
and http://tomcat.apache.org/download-55.cgi .
However, I have not seen the announcement on
the announce@ and users@ lists yet.
And
Listers:
We are trying to enable the garbage collector log for jvm to see what
happens with our leak memory issue, i've already try to export CATALINA_OPTS
variable but i'm not able to see any log.
Maybe there's something that i did wrong.
Any help will be greatly appreciate.
HR
--
View this
Yasu wrote:
Hi Tomcat Users,
I found Tomcat 5.5.28 on the web page -
http://tomcat.apache.org/#Apache%20Tomcat%20Versions
and http://tomcat.apache.org/download-55.cgi .
However, I have not seen the announcement on
the announce@ and users@ lists yet.
And
Hi all,
I've run into a similar problem with Tomcat 6.0 and am hoping to find some
information on why this might be happening.
I have an xml file which contains information to display a graph. I also
have an HTML file which creates an applet to view the graph.
The xml file is updated based on
From: hruesga [mailto:lord_dyna...@hotmail.com]
Subject: Garbage collector
Maybe there's something that i did wrong.
For starters, not telling us your Tomcat version, JRE/JDK version, OS you're
using, what's in your logs, etc.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
Sorry...
Tomcat 5.5.25
Java: 1.5.0_12-b04
OS: Solaris 10
We are facing a slow performance of one application, as far as we've seeing
we have a max threads of 500 but only we see a max of 20 busy threads,
tomcat is configured to run with 3GB first there's no problem but 3 or 4
hours later we
Have you ever tried running something like findbugs against your application
to do a code analysis?
http://findbugs.sourceforge.net/
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: hruesga [mailto:lord_dyna...@hotmail.com]
Hello all,
I've searched around on the net and have found differing opinions about
where to actually place the java_opts env var for tomcat.
Should this variable be in /tomcat/bin/catalina.sh? When I set it in
this file and then print out all env vars, it looks like it is not set.
How do I set
Out of the box - no. But you can write a filter to add the response to
all requests.
doFilter(...) {
response.setHeader(Cache-Control,no-cache); /* or no-store YMMV*/
response.setHeader(Pragma,no-cache);
response.setDateHeader (Expires, 0);
chain.doFilter();
}
-Tim
Epithemeus wrote:
Hmmm ... maybe retour.mycompany.com isn't resolving to the IP you think
it is. Is there anything in your tomcat logs that might imply the
request is actually getting there? To me this smells a lot like a
network issue (DNS not resolving, firewall rules, etc., ...). Can you
verify tomcat works
hruesga wrote:
Sorry...
Tomcat 5.5.25
Java: 1.5.0_12-b04
OS: Solaris 10
We are facing a slow performance of one application, as far as we've seeing
we have a max threads of 500 but only we see a max of 20 busy threads,
tomcat is configured to run with 3GB first there's no problem but 3
Susan Teague Rector wrote:
Hello all,
I've searched around on the net and have found differing opinions about
where to actually place the java_opts env var for tomcat.
Should this variable be in /tomcat/bin/catalina.sh? When I set it in
this file and then print out all env vars, it looks like
Something will eventually call bin/startup.sh (or bin/catalina.sh).
Changing bin/startup.sh (or bin/catalina.sh) is typically a bad idea.
Whatever is calling that should export JAVA_OPTS first.
For example:
export JAVA_OPTS='-Xmx256m'
- or -
export JAVA_OPTS='-Xmx256m -Djava.awt.headless=true'
George Sexton wrote:
Have you ever tried running something like findbugs against your
application
to do a code analysis?
http://findbugs.sourceforge.net/
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: hruesga
Mark Thomas-23 wrote:
hruesga wrote:
Sorry...
Tomcat 5.5.25
Java: 1.5.0_12-b04
OS: Solaris 10
We are facing a slow performance of one application, as far as we've
seeing
we have a max threads of 500 but only we see a max of 20 busy threads,
tomcat is configured to run with 3GB
From: hruesga [mailto:lord_dyna...@hotmail.com]
Subject: RE: Garbage collector
for this reason i'm trying to enable the garbage collector
to see what happens with the java threads.
Again: what *exactly* have you tried, and what are the results?
- Chuck
THIS COMMUNICATION MAY CONTAIN
Susan Teague Rector:
I've searched around on the net and have found differing opinions about
where to actually place the java_opts env var for tomcat.
Should this variable be in /tomcat/bin/catalina.sh? When I set it in
this file and then print out all env vars, it looks like it is not set.
From: hruesga [mailto:lord_dyna...@hotmail.com]
Subject: Re: Garbage collector
-Xmx3072m -Xms3072m
Unless you're in a 64-bit environment, that doesn't stand a chance of working.
Maz Threads= 500
Is that supposed to be Max? Where do you have that set?
minSpareThreads=25
i'fe tried to export CATALINA_OPTS setting as:
execute:
export CATALINA_OPTS=-Xloggc:/logs/gc.log
result: gc.log file doesn't create
java -verbose:gc
result: nothing happpens.
Caldarale, Charles R wrote:
From: hruesga [mailto:lord_dyna...@hotmail.com]
Subject: Re: Garbage collector
Hi all,
Weird - I only got this response and nothing else from the list...
Anyways, I'm not using solr - Just Tomcat - and I don't have Tomcat as a
service
I have a startup script for it. Should I just place JAVA_OPTS in the
startup script?
I'm on linux/redhat btw -
So my script does
Hi David,
I will try to remove that path attribute from the Context element.
Other 2 questions:
1) Can I exclude the META-INF/context.xml file in the war file? This
context.xml that will be copied to conf/Catalina/localhost after deployment,
so that I can be sure this is not the problem to the
look here, there were several responses
http://marc.info/?t=12505233381r=1w=2
susan teague-rector wrote:
Hi all,
Weird - I only got this response and nothing else from the list...
Anyways, I'm not using solr - Just Tomcat - and I don't have Tomcat as a
service
I have a startup
We had some help debugging the connection pool exhausted issue over the
weekend and for now it seems that changing jdbcUsePool=true to
jdbcUsePool=false stops the site from crashing due to connection pool
issues. We are going to investigate more to see why connection pooling
isn't working like
Hi David,
You can find the server.xml close to the bottom of my first post.
I get very little logging.
The only trace is a failure of a GET(/) in one of the logs.
I will check with the system administrator if anything was changed related
to DNS.
The Apache server definitely works.
I will try
--- On Mon, 8/17/09 at 11:38 AM, Kristen Walker kwal...@sbceo.org wrote:
We had some help debugging the connection pool exhausted issue over the
weekend and for now it seems that changing jdbcUsePool=true to
jdbcUsePool=false stops the site from crashing due to connection pool
issues. We are
Hi, I'm a newbie to both tomcat and ssh and here's my problem:
I have a web-app (Hudson) running on tomcat (ver 5). This Tomcat runs as a
service on RHEL box. Hudson triggers a custom 'ant' script to do a build
which uses ssh to login to another server (svn server).
The ant script runs
Hello,
I am trying to host my servlet based solution in Network Solutions
shared hosting service.
In order test if I can use it, I downloaded Hello.java from their
environment and compiled in my environment as MyHello.class.
I tested their Hello.class (Hello.class compiled in their
In my /etc/init.d/tomcat shell startup script for linux I have
JAVA_OPTS=-server
JAVA_OPTS=${JAVA_OPTS} -Xmx512m
JAVA_OPTS=${JAVA_OPTS} -XX:MaxPermSize=256m
JAVA_OPTS=${JAVA_OPTS} -XX:+PrintGCDetails
JAVA_OPTS=${JAVA_OPTS} -XX:+PrintGCTimeStamps
JAVA_OPTS=${JAVA_OPTS} -XX:+UseConcMarkSweepGC
I'd try the hudson mailing list; us...@hudson.dev.java.net and you'll
need to sign up first I'll bet.
Gagan Malik wrote:
Hi, I'm a newbie to both tomcat and ssh and here's my problem:
I have a web-app (Hudson) running on tomcat (ver 5). This Tomcat runs as a
service on RHEL box. Hudson
Hi Rusty..
I'm quite sure this is not hudson related. Its more on how would any
application running on tomcat use ssh..
Rusty Wright-2 wrote:
I'd try the hudson mailing list; us...@hudson.dev.java.net and you'll
need to sign up first I'll bet.
Gagan Malik wrote:
Hi, I'm a newbie to
Dear all,
does anyone know how to do tomcat start up debug? it throw exception but
everything looks correct to us. I am looking for some tools like strace
to deal with debug process, thanks.
-
To unsubscribe, e-mail:
From: Gagan Malik [mailto:gaganma...@dev.java.net]
Subject: Re: tomcat service public key
I'm quite sure this is not hudson related.
It certainly has nothing to do with Tomcat.
Its more on how would any application running on tomcat use ssh..
It's not Tomcat attempting to use SSH - it's
From: Thomas G. Lau [mailto:thomas@ntt.com.hk]
Subject: debug tomcat start up
it throw exception but everything looks correct to us.
Don't suppose you'd want to give anyone a hint what the exception is? Along
with perhaps the Tomcat version, the JDK/JRE level you're using, and the OS
are you sure that the tomcat user is on the list of users allowed to do ssh
on the svn server.. one way to check is login as tomcat user on RHEL box and
then do a ssh to the svn server..
Gagan Malik wrote:
Hi, I'm a newbie to both tomcat and ssh and here's my problem:
I have a web-app
58 matches
Mail list logo