> From: Ken Bowen [mailto:[EMAIL PROTECTED]
> Subject: Weird problem: Two apparent copies of app started
>
> strongbrain/WEB-INF/lib/servlet-api.jar
One obvious error: you must not put the servlet-api.jar inside your
webapp - the container supplies that. Remove it and see if it helps.
- Chuck
Hello All,
I have an application using data source pooling configured in
META-INF/context.xml.
I set up up the data sources and the classes accessing them in an
AppListener.
This app works fine on Tomcat 5.5.9 running on Windows and 5.5.25
running on Linux/CentOS 5.
I am attempting to bring th
> From: bajistaman [mailto:[EMAIL PROTECTED]
> Subject: Re: App reloading classloading issue?
>
> Then whenever you need to reload your application
> you are going to get the java.lang.NoClassDefFoundError:
I suspect that the prior instance of the webapp is actually still
around, or at least its
It seems that this is a common problem whenever you need to access weblogic
from a non weblogic container. First the wl*client.jar files are not enough
to do what a weblogic client needs to do so you need to put the whole
weblogic.jar (34MB) in your classpath in order to make it work an not
gettin
I am getting a JSTL variable resolver error running CAS 3.0.7 on Tomcat
5.5 with Java 1.4.2 and the Java compatibility JAR.
java.lang.AbstractMethodError:
javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el
/VariableResolver;
The JSTL jars are in the CAS /lib directory.
Hi Rainer,
Thanks for the well written response and some ideas to
get past the problem.
I agree the 4ms might be latency but until I can
measure at Apache web server or Tomcat more acurately
I will wait to say what it really is.
I am using %D and as you said the timer is not very
accurate. Hopef
Hi Chris:
1. I am instrumenting inside the servlet code, looking
at Apache web server logs then at the Rich Internet
Application (RIA)
For a typcial request for my Portal from client to
servlet for example:
1. 4.55msec inside the RIA java code after the data
was read from the SOAP message.
2. 0
Caldarale, Charles R wrote:
>
> You just mentioned a dirty word. Do you have CLASSPATH set for the
> Tomcat execution or included that jar in the -cp parameter for launching
> Tomcat? (You shouldn't.) If so, that will make the weblogic classes
> visible to multiple classloaders, which is a Ve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
Rainer Jung wrote:
> mod_jk as well as Apache httpd use apr_time_now(). I checked with APR
> 1.2 (httpd 2.2): on Unix/Linux this is gettimeofday().
>
> Even on an old Solaris 8 system, I can easily get microsecond resolution
> out of a C test
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Anecito wrote:
> I heard that mod_jk was based off of ajp so I was
> quite surprised mod_jk was faster.
Yes, mod_jk does use the AJP protocol. Why were you surprised that it
was faster? With what are you comparing it?
- -chris
-BEGIN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Anecito wrote:
> I am not sure if JBoss embedded Tomcat uses the native
> ajp but a great point. Do you know how to check for
> that?
Since JBoss uses Tomcat, it can use any of the standard connectors
available for it (basically HTTP(s) an
> From: bajistaman [mailto:[EMAIL PROTECTED]
> Subject: Re: App reloading classloading issue?
>
> I get your point but actually the class is part of the classpath.
You just mentioned a dirty word. Do you have CLASSPATH set for the
Tomcat execution or included that jar in the -cp parameter for l
Clinton J. Totten wrote:
>
> I'm not sure about the error but have you tried just putting the WAR in
> the webapps directory $CATALINA_HOME/webapps?
>
I tried that but the same error, if i want it to work I have to restart the
server.
Thanks,
Johann
--
View this message in context:
http://w
Caldarale, Charles R wrote:
>
>> From: bajistaman [mailto:[EMAIL PROTECTED]
>> Subject: App reloading classloading issue?
>
> Don't suppose you'd care to give us a hint about the version of Tomcat
> you're using?
>
>> The weblogic client libs are placed in
>> $CATALINA_HOME/common/lib.
>
>
Filip Hanik - Dev Lists wrote:
>
> >The weblogic client libs are placed in $CATALINA_HOME/common/lib.
>
> yes, but the class that is trying to be loaded is
> >java.lang.NoClassDefFoundError:
> weblogic/rmi/extensions/server/Stubbajistaman wrote:
>
> does the weblogic/rmi/*server*/... hint t
Hi Martin,
Sorry got busy with all the emails but I thank you for
the time you took to do this and I will read it very
closely and let you know the results if you are
interested.
Thanks everyone for all the helpful comments!
Regards,
Tony Anecito, Founder,
MyUniPortal
--- Martin Gainty <[EMAIL
Hi Tony-
*If* you're comfortable with Tomcat serving all your content then you
*could* assign Port 80 to non-SSL HTTP/1.1 Connector
I found this quite helpful concerning tuning your Apache Server
http://www.howtoforge.com/configuring_apache_for_maximum_performance
If you're going to stay with Ap
Hi Rainer,
I am not sure if JBoss embedded Tomcat uses the native
ajp but a great point. Do you know how to check for
that?
Also, you need to keep in mind the scale of things. In
other words my measurements at the client side are in
the 4 millisecond range. Depending how long the data
takes to ge
Hi Charlie,
I heard that mod_jk was based off of ajp so I was
quite surprised mod_jk was faster. Not sure how to
answer your question regarding the native runtime
library since all I did was download the module file
for mod_jk and comment out the ajp proxy module.
Regards,
-Tony
--- Charlie Winga
Charlie Wingate wrote:
I'm confused.Doesn't mod_jk use ajp1.3 on the tomcat side? Was
that with or without the native runtime library?
1) mod_jk uses the protocol AJP
2) On the Tomcat side, there is a pure Java AJP connector, and a native
one (called APR connector). You can choose.
3) Mos
Tony Anecito wrote:
Hi Rainer,
I am using Windows 2000 professional so I suspect
Tomcat is using an windows api call that is limited to
15msec resolution even though the %d is advertised as
microsecond resolution.
You are right:
http://blogs.msdn.com/embedded/archive/2006/02/20/535792.aspx
O
I'm confused.Doesn't mod_jk use ajp1.3 on the tomcat side? Was that
with or without the native runtime library?
~Charlie
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
- Albert Einstein
-Original Message-
From: Tony A
>The weblogic client libs are placed in $CATALINA_HOME/common/lib.
yes, but the class that is trying to be loaded is
>java.lang.NoClassDefFoundError:
weblogic/rmi/extensions/server/Stubbajistaman wrote:
does the weblogic/rmi/*server*/... hint that it is trying to load a
server class, maybe no
> From: bajistaman [mailto:[EMAIL PROTECTED]
> Subject: App reloading classloading issue?
Don't suppose you'd care to give us a hint about the version of Tomcat
you're using?
> The weblogic client libs are placed in
> $CATALINA_HOME/common/lib.
Are you sure the weblogic jars/classes aren't als
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
personal preference in this order
mod_proxy_http, mod_jk, mod_proxy_ajp
I'm interested: why choose mod_proxy_http over mod_jk?
ease of configuration, no API nor configur
Hi Rainer,
I am using Windows 2000 professional so I suspect
Tomcat is using an windows api call that is limited to
15msec resolution even though the %d is advertised as
microsecond resolution.
The Java jre had this issue then with release 1.5+ Sun
added a nanosecond timer which is what I used fo
JoAnn,
I'm not sure about the error but have you tried just putting the WAR in
the webapps directory $CATALINA_HOME/webapps?
-Original Message-
From: bajistaman [mailto:[EMAIL PROTECTED]
Sent: Friday, September 28, 2007 12:53 PM
To: users@tomcat.apache.org
Subject: App reloading classloa
Christopher Schultz wrote:
Other factors include the resolution of the timer being used by Apache
and/or mod_jk for emitting log messages. Most people don't care about
high-resolution timing for things like web server logs, so I wouldn't
expect Apache to be using one.
mod_jk as well as Apache h
Thanks Peter,
The Tomcat server is running web services which are
dynamic.
And I agree about what you said about port 80.
Hope this helps,
-Tony
--- Peter Crowther <[EMAIL PROTECTED]>
wrote:
> > From: Tony Anecito [mailto:[EMAIL PROTECTED]
> > Is it possible to run Tomcat and Apache on the
>
I had heard that mod_jk was faster so I switched from
ajp to mod_jk and sure enough mod_jk was 10% faster
for me.
-Tony
--- Christopher Schultz <[EMAIL PROTECTED]>
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Filip,
>
> Filip Hanik - Dev Lists wrote:
> > personal preference in
I'm currently deploying applications to Tomcat using a context file placed
inside $CATALINA_HOME/conf/[enginename]/[hostname]/ directory, they have the
following content:
If I update the file AppName.war it is reloaded and the changes are
reflected but it throws an exception
java.lang.NoClassDe
Hi Chris,
Yes, I am doing my measurements in a controlled
environment. As for measurments I have gone as far as
using a sniffer for looking at the tcp/ip
conversations.
I understand about the timers for Apache but as
hardware and the servlet containers (and jvms) get
faster the old timers become
First: measurement:
Apache access log can use "%D" in the LogFormat, which for Apache httpd
2.0 and 2.2 gives microseconds response time. Obviously the real
resolution depends on the operating system. The 15msec you mentioned is
way to long for a OS timer resultion.
mod_jk provides an apache
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Anecito wrote:
> Would the two IP addresses (real or Virtual) require
> two domain names?
No, but you probably would want to have more than one domain name
instead of having to publish your IP address.
- -chris
-BEGIN PGP SIGNATURE--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Anecito wrote:
> I would but I have a web site off of the Apache web
> server and I have the port 80 used by it.
So? If you're doing performance testing, you should be doing it in a
laboratory environment. You /are/ doing this on a test se
> From: Tony Anecito [mailto:[EMAIL PROTECTED]
> Is it possible to run Tomcat and Apache on the same
> port?
You can't run two processes bound to the same endpoint (combination of
IP address and port). As httpd (what you call "Apache") and Tomcat are
separate process, you can't do this. As Fili
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
> personal preference in this order
>
> mod_proxy_http, mod_jk, mod_proxy_ajp
I'm interested: why choose mod_proxy_http over mod_jk?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comme
Hi Filip,
Would the two IP addresses (real or Virtual) require
two domain names?
Thanks,
-Tony
--- Filip Hanik - Dev Lists <[EMAIL PROTECTED]>
wrote:
> yes, but you would need two IP addresses, virtual or
> through two network
> cards
> and bind tomcat to one address, and bind apache to
> the
yes, but you would need two IP addresses, virtual or through two network
cards
and bind tomcat to one address, and bind apache to the other
Filip
Tony Anecito wrote:
Hi All,
Is it possible to run Tomcat and Apache on the same
port? What I want to do is have my website running on
Apache web se
Hi All,
Is it possible to run Tomcat and Apache on the same
port? What I want to do is have my website running on
Apache web server or port 80 and also have Tomcat
running on port 80. That way my web service requests
do not need to go through Apache web server where they
are redirected to Tomcat.
I would but I have a web site off of the Apache web
server and I have the port 80 used by it.
-Tony
--- Peter Crowther <[EMAIL PROTECTED]>
wrote:
> > From: Tony Anecito [mailto:[EMAIL PROTECTED]
> > Also, any hints on how to improve Tomcat
> performance
> > appreciated.
>
> Why not do the easy
tomuser wrote:
> Problem with TOMCAT/CGI/BLAT.EXE
> I wrote these two files in the appropriate position of TOMCAT (test.html and
> test.cgi).
> Everything set according to specifications (CGI,..).
> I tried to send to myself a simple mail via blat.exe.
> What could I do ? it is clearly a Tomcat pr
> From: Tony Anecito [mailto:[EMAIL PROTECTED]
> Also, any hints on how to improve Tomcat performance
> appreciated.
Why not do the easy one - get rid of that extra layer of
performance-sapping httpd and mod_jk in the middle instead?
- Peter
-
Hi All,
As I mentioned in my previous email I was able to get
my system performance using Apache-Tomcat-Jre1.6 such
that I was getting 4msec transaction response times.
My problem is I can not tell how much of that response
time is spent in tomcat versus Apache. I am using
windows 2000 where the
Mod_jk and Mod_jk2 are different animals..JK2 is deprecated.
The reason I mention it is that it is easy to assume that JK2 is the
"latest and greatest" given the naming convention. Mod_jk 1.2.25 was
released late july and IS the latest in the mod_jk project; to my
knowledge anyway.
~C
Thanks for the clarification.
-Tony
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
> > From: Tony Anecito [mailto:[EMAIL PROTECTED]
> > Subject: RE: Apache connectors for tomcat
> >
> > Not sure about the interface/protocol being
> depricated
>
> It's mod_jk2 that has been abandoned for
> From: Tony Anecito [mailto:[EMAIL PROTECTED]
> Subject: RE: Apache connectors for tomcat
>
> Not sure about the interface/protocol being depricated
It's mod_jk2 that has been abandoned for over two years; mod_jk is still
in very active development. Any documentation or recommendations for
mod
Mamta, please note that this approach ties you to Tomcat and you may not be
able to port your application to other servers.
On 9/28/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> very doable, you can piggy back on Tribes if you have clustering enabled
>
> import org.apache.catalina.Ser
That did it. Thanks!!
the shutdown port in
always binds to 127.0.0.1, so you have to have unique shutdown ports,
Filip
--
View this message in context:
http://www.nabble.com/two-versions-of-java-tf4534735.html#a12941552
Sent from the Tomcat - User mailing list archive at Nabble.com.
--
the shutdown port in
always binds to 127.0.0.1, so you have to have unique shutdown ports,
Filip
warnockm wrote:
I'm running Tomcat 5 w/ 4 different hosts in my server.xml, each using a
different IP address. It's working very well. Each host requires JDK 1.4.
I now have a requirement for a
Not sure about the interface/protocol being depricated
since there was just a new release of mod_jk 1.2.25?
Also, someone put some effort into improvments into it
2.2.6 of Apache.
I also noticed a 10% performance improvement in
request response times using mod_jk which I was told
about and proven
I'm running Tomcat 5 w/ 4 different hosts in my server.xml, each using a
different IP address. It's working very well. Each host requires JDK 1.4.
I now have a requirement for a host; it needs tomcat6 and JDK 6. I tried to
install both tomcat5 and 6 and have them run simultaneous since they bi
Problem with TOMCAT/CGI/BLAT.EXE
I wrote these two files in the appropriate position of TOMCAT (test.html and
test.cgi).
Everything set according to specifications (CGI,..).
I tried to send to myself a simple mail via blat.exe.
Test
#!c:\perl\bin\perl.exe
print "Content-type: t
You may find this link helpful.it works if your using the same
versions as the article. But I think JK2 has been 'deprecated'.
http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf
~Charlie
The significant problems we have cannot be solved at the same level of
thinking with whic
personal preference in this order
mod_proxy_http, mod_jk, mod_proxy_ajp
rahul wrote:
Hi,
Which is the recommended connector for Apache now?
mod_jk or mod_proxy_ajp (with balancer) ?
rahul
--
1. e4 _
--
very doable, you can piggy back on Tribes if you have clustering enabled
import org.apache.catalina.ServerFactory;
import org.apache.catalina.Cluster;
import org.apache.catalina.ha.tcp.SimpleTcpCluster;
import org.apache.catalina.tribes.Channel;
import org.apache.catalina.tribes.Member;
public
Ah, I should see destination address carefully.
In article <[EMAIL PROTECTED]>,
Fri, 28 Sep 2007 20:59:56 +0900 (JST),
Kazuhito SUGURI <[EMAIL PROTECTED]> wrote:
suguri> Please find the code (and diff) attached.
The FormAuthentication is a part of Cactus, not of Tomcat.
If my posts confused you,
Hi Nicolas,
In article <[EMAIL PROTECTED]>,
Fri, 28 Sep 2007 20:39:40 +0900 (JST),
Kazuhito SUGURI <[EMAIL PROTECTED]> wrote:
suguri> I have modified the FormAuthentication class so that
suguri> the form authentication would work with both Tomcat 5.5.20
suguri> and 5.5.23.
suguri>
suguri> I'll p
I Guess that's
https://issues.apache.org/bugzilla/show_bug.cgi?id=43334
which is an httpd 2.2.6 bug. If you agree, that it's the same issue, you
should direct futher posts to the httpd lists.
Regards,
Rainer
[EMAIL PROTECTED] wrote:
Hello,
i updated several Apaches from 2.2.4 to 2.2.6. On
Hello there,
I would like to know if Tomcat 6 offers in-memory replication of data
other than Sessions data alone.
Actually we have a requirement of replicating the data an application in
Multicast cluster caches. The data has to be replicated to other nodes
in the cluster. Would like to know :
1
Hi Nicolas,
I believe I have successfully re-produced your problem
in my environment.
In article <[EMAIL PROTECTED]>,
Mon, 24 Sep 2007 12:47:27 + (UTC),
Nicolas Clemeur <[EMAIL PROTECTED]> wrote:
nclemeur> I am having some difficulties to setup cactus tests using
nclemeur> tomcat > 5.5.20 (
Hello,
i updated several Apaches from 2.2.4 to 2.2.6. On the one hand i updated
Apache but i also updated OpenSSL from 0.9.8.d to 0.9.8.e.
The problem is that the Server-Info-Tag which is written in the ErrorLog
of the Apache sometimes contains special characters, sometimes not.
For example in o
Cleaned up the naming/casing of the roles, it works and now I feel dumb.
Thanks a lot!
David Delbecq-2 wrote:
>
> request.isUserInRole is the way to go. If you don't get "true", i
> suggest you first check getRemoteUser() to see if user is authenticated.
> Then check you correctly spelled rol
Hey,
If you're after something really simple you could even write a servlet
filter that implements your functionality.
Dan
Ken Bowen wrote:
Hi all,
Is there an analog of mod_rewrite which operates in Tomcat?
It would be used if one was running Tomcat alone as a server without
Apache in fro
request.isUserInRole is the way to go. If you don't get "true", i
suggest you first check getRemoteUser() to see if user is authenticated.
Then check you correctly spelled role name, including case. Then check
you have correct role mapping in web.xml (mapping from realm role names
to webapp role) a
Hi,
Which is the recommended connector for Apache now?
mod_jk or mod_proxy_ajp (with balancer) ?
rahul
--
1. e4 _
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-
Hi,
I'm having some problems with security roles in tomcat 5.5. The actual
url-pattern based protection works fine so presumably the config is ok. But
when I programatically try to check if the user belongs to a role I run into
problems.
First the request.isUserInRole(String) method always retur
67 matches
Mail list logo