H. Hall wrote:
chuckvb wrote:
I have a basic configuration working where Apache serves my static
html and
tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6
and
mod_jk.
How do I include header files and other files from apache for my
tomcat jsp files. right now I use %@
Steve Mysterious wrote:
Hi;
Tomcat: 6.0
Tomcat Installation Directory: C:\Program Files\Apache Software
Foundation\Tomcat 6.0
OS: Windows XP ( Windows 5.1 service pack 2 )
Java: JDK 1.6.0_10-beta
Context/Webapp Name: abcdev
I'm using the above configuration to set up a development
Eric,
I'll answer this, so that you don't feel like being totally ignored,
which should really be the case.
If you really want an answer however, I suggest you repost with some
additional information :
- which Apache/Tomcat connector are you talking about ?
- what versions of Apache,
Hi Chuck,
Thank you very much for the precious shortcut!
BB
Sergio
Caldarale, Charles R ha scritto:
From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com]
Subject: Re: Request queue menagement Tomcat 5.5 + Axis
Could you please tell me if it's possible to set the number
of dedicated
zia mohades wrote:
form name=mainform method=get action=../../bin/test.cgi
I don't undrestand what the problem is?
1) I have gave all the permissions to test.cgi file
2) this is the address i use ../../bin/test.cgi and it seems to me the right
addres.
Well, you're wrong.
The problem
On Wed, Feb 4, 2009 at 8:28 AM, Mihamina Rakotomandimby (R12y)
miham...@lab.vectoris.fr wrote:
So, my deduction is the Linux tomcat6 has a setting that avoid reading
Catalina/localhost/webappName.xml
can you specify the Linux-distribution / version?
In case you are using package-distribution
Hi!
I have a RedHat server that with Tomcat5.5.18 and java (JRE) 1.6.0. When i
tries to start the tomcat server it fails and i get this output in the
Catalina.out file. (this is not due to this bug:
https://issues.apache.org/bugzilla/s...g.cgi?id=45983)
Any clues?
BR
Alex
From Catalina.out:
Thanks for advices, transport-guarantee 'tip' was exactly what I need. I
have now following configuration:
server.xml:
Service name=Catalina
Connector port=80 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=443 /
Connector
port=443
unsubscribe me from this list
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 03 February 2009 19:35
To: Tomcat Users List
Subject: Re: AJP vs HTTP connectors?
Hi.
Maybe slightly off-topic, but having a moment of blues and lack of
inspiration/motivation about working on what I should
Kusuma Pabba wrote:
unsubscribe me from this list
Do it yourself ;-)
--
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
Hi, was hoping someone would help with the following. I have a webapp called
myApp.war but I would like to set this to a different url path than the webapp
name. I've seen in the docs that you can specify an xml file under
Catalina_Home/Catalina/localhost/newurlname.xml.
I have tried this
Kusuma Pabba wrote:
unsubscribe me from this list
follow the arrow : --!
!
!
\/
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
Kees de Kooter wrote:
If I recall correctly Tomcat 5 and lower need a JDK to run, not a JRE.
Not quite correct.
Tomcat 5.5.x uses the Eclipse JDT compiler so it only requires a JRE.
Tomcat 4.1.x normally requires a JDK although if you pre-compile your JSPs it
will run quite happily on a JRE.
I have a Tomcat cluster with mod_jk and another one with mod_proxy_http,
and I'm quite happy with both.
Just in case somebody is interested, this guy wrote a blog post about
configuring apache with mod_proxy_http:
http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/
Although he
Dear Rhandir,
Why are you asking this question again today? I already answered the
exact same question with a solution similar to Gregor's yesterday.
Please do not pollute this mailing list.
Cheers,
Kees de Kooter
http://www.boplicity.net
On Wed, Feb 4, 2009 at 11:14,
Hi,
We have Apache Httpd 2.4.4 in front of Tomcat 6.0.13 and are using mod_jk to
talk between them.
Apache Httpd is using prefork configured to allow 256 processes. Tomcat also
has 256 threads available.
When a user requests a page one call to the Tomcat is made followed by many
requests to
I just want to forward the following, because I find it nice that
someone who is not subscribed would nevertheless want to help.
Original Message
Subject: Re: tomcat including files from apache
Date: Wed, 4 Feb 2009 07:20:04 -0500
From: Rajwinder Makkar x
To:
I now have a tiny class file for context 'atom'.
Loaded
{catalina-home}/webapps/atom/WEB-INF/web.xml
and
/classes/SimpleServlet.class
plus
/lib/ couple of jars needed
I'm failing to run the app, possibly because of this logged error?
[Loaded java.net.Proxy from shared objects file]
[Loaded
what gives uname -n ?
gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To unsubscribe, e-mail:
hi.
i have a problem and need some assistance.
i want to map an external directory to a tomcat wepapp(virtual directory).
i can achieve this in many ways.
1- adding another context, and setting docbase to my external
directory(in server.xml)
2- adding a subcontext to
Hi,
We have Apache Httpd 2.4.4 in front of Tomcat 6.0.13 and are using
mod_jk to talk between them.
Apache Httpd is using prefork configured to allow 256 processes.
Tomcat also has 256 threads available.
When a user requests a page one call to the Tomcat is made followed by
many requests to get
Hi Kees,
Yes. Since, I'm using the JNDO datasource the JDBC driver need to be in
$CATALINA_HOME, becase 'common' class loader looks for the JDBC driver (it
may be invoked by tomcat-dbcp.jar).
Ramesh
Kees de Kooter wrote:
Hi Ramesh,
Did you configure a JNDI datasource in tomcat? In that
Hi Gregor,
Why should your webapps require different versions of the same
JDBC-driver? Do you have different instance of MySQL running?
If not, IMHO that doesn't make any sense at all.
Thanks for your reply, this make me understood that Tomcat server just need
a JDBC driver (single version) for
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n ?
2.6.27.12-170.2.5.fc10.i686
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-
To unsubscribe, e-mail:
Markus Schönhaber-10 wrote:
Most people on this list (me included) are not interested in helping to
solve problems which might be caused by the Debian-specific re-packaging
of Tomcat (or in finding out whether or not this really is the case).
Therefore, the answer you'll most likely get
From: James Hoare [mailto:james.ho...@net-a-porter.com]
Subject: Setting a Different context path to webapp name
I have a webapp called myApp.war but I would like to
set this to a different url path than the webapp name.
The easiest thing to do is just rename the .war file, but if you insist
From: alex_m [mailto:alexander.tolfmans-mar...@systeam.se]
Subject: java.lang.ClassNotFoundException when starting tomcat
Exception in thread main java.lang.NoClassDefFoundError: \
Caused by: java.lang.ClassNotFoundException: \
Could not find the main class: \. Program will exit.
Looks like
From: Jaakko Taipale [mailto:jaakko.taip...@dbmanager.fi]
Subject: VS: Tomcat configuration with multiple services
The reason why I have two Host element is that I have configured my
applications to different appBase directories as ROOT.
That's a perfectly good reason and an appropriate use
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es]
Subject: Re: Thread dump analysis
Now, I don't know why (since I'm a noob programmer), but it seems that
the implementation of Xerces that is included in JDK6 is causing the
application to hang.
Hmmm... could be a JVM bug, or might be
Hi again.
Apart from the standard mod_include in Apache
(http://httpd.apache.org/docs/2.2/mod/mod_include.html) I was also
thinking about another way. It may look less efficient, but it isn't
necessarily.
The trick would be to use iframes in the jsp pages which you generate.
An iframe has
very sorry.
apache-tomcat-6.0.16
Caldarale, Charles R yazmış:
From: Yavuz Kavus [mailto:yavuzka...@gmail.com]
Subject: Subcontext, filter problem.
how can i achieve this?
For the gazillionth time, TELL US WHAT VERSION OF TOMCAT YOU'RE USING
- Chuck
THIS COMMUNICATION
I have seen the following set of statements in APACHE_HOME/conf/httpd.conf
file,$
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile /usr/local/apache1.3/conf/workers.properties
JkLogFile
well, well, well, seems you're becoming a running gag here in the list.
did your read http://tomcat.apache.org/connectors-doc/ as I suggested
previously?
if so, did you *understand* it?
if even so, did you find the link within the document pointing to
Randhir,
I presume that both Apache HTTPD and Tomcat are located on the same machine?
Note that the default port for HTTP-protocol is port 80.
As I've written in one of my previous posts, only one application can
be bound to a port, meaning when Apache HTTPD and Tomcat are both
located on the
From: Yavuz Kavus [mailto:yavuzka...@gmail.com]
Subject: Re: Subcontext, filter problem.
apache-tomcat-6.0.16
There were some fixes for multi-level paths that went into 6.0.17. If
possible, install 6.0.18 from tomcat.apache.org and test with that level.
my filters/servlets in main app's
Hi.
For all of you who were so kind to respond to my problem a few days ago,
and for others who'd like to know, I think I have found the problem.
As mentioned in earlier mails, the application I monitor hangs after a
random amount of time. Using jconsole and virtualvm I managed to detect
the
If I recall correctly Tomcat 5 and lower need a JDK to run, not a JRE.
Cheers,
Kees de Kooter
http://www.boplicity.net
On Wed, Feb 4, 2009 at 10:39, alex_m
alexander.tolfmans-mar...@systeam.se wrote:
Hi!
I have a RedHat server that with Tomcat5.5.18 and java (JRE) 1.6.0. When i
tries to
Randir,
in the last few days you have been posting several questions to this
list (and, unless I am mistaken, also on Apache httpd's).
You have received some well-intentioned answers, and a few rather curt ones.
The reason for that is, that from your questions it sounds pretty much
as if you
In the context tag you need to add an attribute named docBase pointing
to your warfile.
Cheers,
Kees de Kooter
http://www.boplicity.net
On Wed, Feb 4, 2009 at 11:05, James Hoare james.ho...@net-a-porter.com wrote:
Hi, was hoping someone would help with the following. I have a webapp called
Hi,
The Tomcat install on Debian Server 40r6 is quite weird and not functionnal,
although I used the package manager.
I just installed tomcat5.5 on debian server 40r6, with:
aptitude install sun-java5-jre
aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
It is then available from
cactux:
The Tomcat install on Debian Server 40r6 is quite weird and not functionnal,
although I used the package manager.
I just installed tomcat5.5 on debian server 40r6, with:
aptitude install sun-java5-jre
aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
Most people on this
From: Yavuz Kavus [mailto:yavuzka...@gmail.com]
Subject: Re: Subcontext, filter problem.
i am currently using the third one. but it is a bit slow
and i dont want to use a filter for such a task.
There's nothing wrong with using a filter to catch references to the external
directory. The
We are using both apache and tomcat in our environment. I wanted
information on how to display a URL without port. In, our live
environment, when we say http://reselleraccount.directonpc.com, it
automatically takes it as http://reselleraccount.directonpc.com:10080. We
are migrating to new server.
DefaultServlet caches content of files, length, content types etc.
i do not cache content of them, everytime a file in the external directory
requested, i simply set response headers, read bytes of the resource,
and send bytes
to the client. i can cache, but i dont want to write a small server
Hi all ,
I am new to AJAX , I sending ajax request to jsp page ,
var url =
http://localhost:8084/Anoigma/handler/loginHandler.jsp?userId=+userId+pwd=+pwd;
xmlhttp.onreadystatechange=state_Change;
xmlhttp.open(GET,url,true);
xmlhttp.send(null);
jsp page validates user Id pwd .
I wish
Thanks, for your answer. But, I could not understand how to make the
module mod_jk.so so that it gets placed in the path $APACHE_HOME/libexec
as the documents you mentioned are not very clear on that.
regards
-Original Message-
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Sent:
it does not work on apache-tomcat-6.0.18, too.
Caldarale, Charles R yazmış:
From: Yavuz Kavus [mailto:yavuzka...@gmail.com]
Subject: Re: Subcontext, filter problem.
apache-tomcat-6.0.16
There were some fixes for multi-level paths that went into 6.0.17. If
possible, install 6.0.18
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Boreham wrote:
I think you also need to factor in the labor cost to manage two
different servers. I know that in our production deployments we could
buy many many machines for the cost of the time we've spent trying to
make AJP work.
On Wed, Feb 4, 2009 at 6:01 PM, randhir.si...@elitecore.com wrote:
Thanks, for your answer. But, I could not understand how to make the
module mod_jk.so so that it gets placed in the path $APACHE_HOME/libexec
as the documents you mentioned are not very clear on that.
In your 1st post above
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Crowther wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Well, actually when it comes to IO performance Java outperforms C, so
I wouldn't place my money on old bets like C is faster because its C.
It isn't.
From: Yavuz Kavus [mailto:yavuzka...@gmail.com]
Subject: Re: Subcontext, filter problem.
DefaultServlet caches content of files, length, content types etc.
I suspect the better performance of the DefaultServlet is related to its use of
sendfile, not its cache (which persists for only a few
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Uddav,
uddav wrote:
I have put a .xls file in there, and when we open it - it opens in the
browser itself and what it seems to have is junk data in it. (unreadable).
However instead of clicking it to open, if we do Save the target as.. and
save
You should all just switch to perl.
It's much less complicated that all this JVM, JIT, Gcs, memory leaks,
classloaders, commons logging and and all that stuff.
You would not even need Tomcat.
You could go to ApacheCON, skip half the sessions with a clear
conscience and have good beer instead.
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Excel file in Tomcat Virtual Dir has junk data in it.
I'd bet the problem is newline translation.
It was the MIME type - the version of Tomcat the OP was using had it wrong
(known bug).
- Chuck
THIS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
Steve Cohen wrote:
[...]
Which means I'm looking for command-line equivalents for what
JConsole does, particularly the threads tab. Any ideas along that path?
Not really a help here, but as I have discovered
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
Steve Cohen wrote:
One additional restriction I have is a security bureaucracy from hell.
You can use jmap from the command-line. That will give you a thread dump
which can help you see what all your threads are doing.
If you are using a
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [Tomcat] [daemon] java.lang.OutOfMemoryError
unable to createnew native thread
You can use jmap from the command-line. That will give you a
thread dump
That's jstack, not jmap; jmap displays a histogram of the
On Wed, Feb 4, 2009 at 6:45 PM, André Warnier a...@ice-sa.com wrote:
You should all just switch to perl.
*yuck* - coding in perl always make my eyes squint and my hair stick out =8|
You could go to ApacheCON, skip half the sessions with a clear conscience
and have good beer instead.
well,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [Tomcat] [daemon] java.lang.OutOfMemoryError
unable to createnew native thread
You can use jmap from the command-line. That will give
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [Tomcat] [daemon] java.lang.OutOfMemoryError
unable to createnewnative thread
Would you believe that at 13:00 I'm still bleary-eyed? ;)
You just need to move to a different time zone...
- Chuck
THIS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
I've been trying to figure out how to create a Wrapper of SqlConnection, but
am having trouble getting this to work. Would you mind giving me a couple
of pointers where to start?
See the thread from last week with the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
I'm happy to test out an validate that theory, but based on what I've seen
so far, this isn't the case at all.
Try deploying nothing in your application but the following JSP. Browse
to it, and intentionally leak a
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
Steve Cohen wrote:
[...]
Which means I'm looking for command-line equivalents for what
JConsole does, particularly the threads tab. Any ideas along that path?
Not really a help here, but
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n ?
2.6.27.12-170.2.5.fc10.i686
Is it just me, or does that look like a really, really weird result for uname
-n? Did someone mistake
I'm using tomcat 6 and axis2 for webservices. I'd like to make a tar file
available for download via wget. Is there anywhere in tomcat I could drop
that file? I've currently installed http to host to file but I'd like to
keep it to tomcat if possible. I think I could build a simple project to
On Wed, Feb 4, 2009 at 10:57 AM, gordonk66 gordon...@yahoo.com wrote:
I'm using tomcat 6 and axis2 for webservices. I'd like to make a tar file
available for download via wget. Is there anywhere in tomcat I could drop
that file?
Just put it anywhere within your webapp other than the WEB-INF
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4989df6b.3030...@christopherschultz.net...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
I'm happy to test out an validate that theory, but based on what I've
seen
so far, this isn't the case at
From: André Warnier [mailto:a...@ice-sa.com]
Christopher Schultz wrote:
What about forwarding X through the tunnel instead?
You can't, because it is variable. It is the result of some internal
negotiation between Jconsole and the remote JVM.
Apparently, anyway. I haven't managed to make
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B.
Subject: Re: dbcp pool freezing
Has there ever been any thought to doing abandoned
connection tracking as a background thread, or was
the current implementation decided upon to save on
resources?
Don't know the history of
Dave,
On Wed, Feb 4, 2009 at 8:50 PM, Dave Pawson dave.paw...@gmail.com wrote:
2009/2/4 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n
I'm running tomcat 6.0.18 on Ubuntu 8.10. I have a comet application
that maintains an open connection with tomcat. If I re-start my
webapp and then close the client connection, tomcat goes into a loop
and chews up all cpu. This server is not live and only has my single
client.
The
From: Peter Warren [mailto:tomcat.subscript...@gmail.com]
Subject: comet loop after webapp re-start
The ClientPoller thread consumes most of the cpu running through the
following stack over and over.
What JVM are you using? The stack trace doesn't look like anything that a
HotSpot JVM
What JVM are you using? The stack trace doesn't look like anything that a
HotSpot JVM would produce.
It's Sun Java 1.6.0_10-b33. I grabbed the trace from my eclipse
debugger. And I see the loop when running both with and without vm
debug flags.
Peter
Charles, List,
Hmmm... could be a JVM bug, or might be a conflict with classes in your
webapp. Do you happen to have some XML-related jars in your webapp or
otherwise visible to that branch of the classloader tree? (I guess you
answered that below.)
Well, actually, the developers also
From: Pieter Temmerman [mailto:ptemmerman@sadiel.es]
Subject: RE: Thread dump analysis
And what about Tomcat 5 with JDK6?
I don't run Tomcat 5 much anymore, but what little I have done with it seems to
be fine on JDK 6.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
As, I have understood to make a mod_jk Load module, the steps are:-
$ ./configure --prefix=/path/to/install
--enable-shared=foo
$ make install
Are, the steps correct as this
I wanted to know of the site or place to download
mod_jk-1.2.26-httpd-2.2.4.so that I can rename it to mod_jk.so to include
it in the $APACHE_HOME/libexec
path as my httpd.conf is having the line:-
-
LoadModule jk_module
From: Peter Warren [mailto:tomcat.subscript...@gmail.com]
Subject: Re: comet loop after webapp re-start
I grabbed the trace from my eclipse debugger.
Ah, that explains it.
Don't know if this bug report is related to your situation:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46373
Hi every one.
I'm trying to make 2 different machine collaborate.
Here is the deal:
The client request first hit my Servlet, then should be dispatched to
a physically distant machine to be analyzed, then my Servlet should
read the response of this second server, and finally send response to
2009/2/3 chuckvb ch...@atnr.com:
I have a basic configuration working where Apache serves my static html and
tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and
mod_jk.
How do I include header files and other files from apache for my
tomcat jsp files. right now I use
Hello,
I am having an issue setting up a FORM realm in Tomcat 5.5.27. It does not
seem to be blocking access to protected resources for some reason, and I
cannot figure out why. If I access index.jsp, which is supposed to be
protected, the server just sends me to the index.jsp page. It does
From: Scott [mailto:hacktori...@gmail.com]
Subject: Realm Issue
Here is my app info:
Where is your webapp deployed? Where is the Context element for the webapp
(if it has one)? What's in its Context element (if it has one)?
url-pattern/MyApp/*/url-pattern
The url-pattern is
Is there any advantage why I should not just jar all my class files and put
them in WEB-INF/lib rather than exploding the jar file to the classes directory?
I like developing with the classes and I understand it is nice to let tomcat
deploy a .war file but it also creates some problems for me
If you build your war files with maven you can use maven's profiles and have it
build war files that contain settings tailored for each server.
http://www.sonatype.com/books/maven-book/
http://www.exist.com/better-build-maven
epicwin...@hotmail.com wrote:
Is there any advantage why I should
85 matches
Mail list logo