Hi all,
I have a problem in my production environment and I cann't reproduce this in
develop one.
I'm using Tomcat 5.0.27, IIS 6 and Isapi_redirect 1.0.
When I ask on jsp or servlet I get blank page. I review the looger but I don't
see any error. Only in the IIS connector I can see entries
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Hi,
I am trying to get Apache 2.0 to forward all requests to a load balanced Jetty
pair via mod_jk2 EXCEPT static resources such as .jpg files.
Has anyone done this?
What I would like is some kind of negative match
Location !~ /.*\.(jpg|gif|css)
JkUriSet group ajp13:localhost:8009
http://jakarta.apache.org/tomcat/faq/misc.html#saveas
-Tim
Dola Woolfe wrote:
Hi,
I apologize for what is probably an offtopic question.
I have a jsp (MyPage.jsp) that produces a text file
(contentType=text/text ).
How can I make it so that when the user chooses to
Save the file rather than Open
Closest thing I could find:
http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk2/vhosthowto.html
Doug
Yes the request is being handled by Apache and then
being handed off to Tomcat. I am using Tomcat 5.0 with
jk2 and Apache 2.0.52.
Many thanks
Dave.
--- Parsons Technical Services
[EMAIL
Please describe environment more. Such as: Are Tomcat and IIS on the same
machine? Are any firewalls running? What OS? Differences between production
and development setup?
Doug
- Original Message -
From: Pablo Carretero Sánchez [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Cc:
I know there is a way to read in the name but am unsure how to do it at this
point. But there is a logistic issue with it. What if there is more than
one?
You could do one of three things.
Either:
On startup read in the ds and store it. Then have each class simple grab the
ds each time.
Or:
Jk2 is deprecated, so you may want to switch to mod_jk 1.2.8 which now
has all the jk2 features. Since that can be rather involved for some
people, you can use PCRE in Apache 2.x.
I haven't tried this, but it should work.
LocationMatch ^/.*\.(?!(jpg|gif|css))
This definitely works for leading
Hi!
My application needs to use a native share library. When running normal
java program from the commandline it works if I just set LD_LIBRARY_PATH
to point to the .so-file. But since tomcat runs as suid (I guess thats
why) LD_LIBRARY_PATH is ignored. What can I do instead? Is there any way
I
Have you tried setting LD_LIBRARY_PATH as a java option at Tomcat
startup time?
On Wed, 2005-01-26 at 10:00, Andreas Andersson wrote:
Hi!
My application needs to use a native share library. When running normal
java program from the commandline it works if I just set LD_LIBRARY_PATH
to
Ben Souther wrote:
Have you tried setting LD_LIBRARY_PATH as a java option at Tomcat
startup time?
I have tried to export the value (export
LD_LIBRARY_PATH=/path/to/so-file) in both catalina.sh and
/etc/init.d/tomcat4. Is there any other way to do it?
Could I do something like
java
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Subject: Re: Using native and ld_library_path
Could I do something like
java -DLD_LIBRARY_PATH=/path/to/so-file ?
Yes, except the property name is java.library.path (LD_LIBRARY_PATH is only the
environment variable name). The default for
I'm trying to use the Tomcat Connector to do load balancing through the
IIS filter, however the sessions do not seem to be 'sticky. According
to the documentation, the session is set to sticky by default. Even so,
after seeing non-sticky behavior I set my lb worker explicitly (i.e.
I have two webapps, one is for system admin, let's call it myadmin. To use
this app, I want user always use secured connection; Another is myapp, which
only allows none-secured conneciton.
Now I want the two apps run in the same Tomcat server. I surely can install
two connectors(one secured,
http://jakarta.apache.org/tomcat/faq/security.html#https
-Tim
Li Ma wrote:
I have two webapps, one is for system admin, let's call it myadmin. To use
this app, I want user always use secured connection; Another is myapp, which
only allows none-secured conneciton.
Now I want the two apps run in the
Derek Greer wrote:
I'm trying to use the Tomcat Connector to do load balancing through the
IIS filter, however the sessions do not seem to be 'sticky. According
to the documentation, the session is set to sticky by default. Even so,
after seeing non-sticky behavior I set my lb worker
Thanks!
--- Tim Funk [EMAIL PROTECTED] wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#saveas
-Tim
Dola Woolfe wrote:
Hi,
I apologize for what is probably an offtopic
question.
I have a jsp (MyPage.jsp) that produces a text
file
(contentType=text/text ).
Hi,
I'm running Tomcat 5.0.28 on Win2K and I'm trying to set the default
directory that Tomcat uses when creating/reading files.
I have some dll files that need to be loaded by my webapp and need to
be present in the default directory. I created a jsp page to figure
out what the directory was,
Has no one encountered this problem before?
-Original Message-
From: Anil Philip [mailto:[EMAIL PROTECTED]
Sent: Monday, January 24, 2005 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: ant install fails
Hello,
The build.xml supplied in the Tomcat 5.5.4 (Windows XP) documentation
I have this weird problem with an instance of tomcat 4.1.30 running on
Windows Server 2003. Tomcat output (log messages) is directed into
CATALINA_HOME/logs/catalina.out. Every 4 hours a little log rotation
script runs while tomcat is active. It zips catalina.out into an
archived logs folder and
Is there any way to make the connector at run time to NOT send NEW
connections to one the tomcat instances being used for loadbalancing, and
then reload this TC instances once all sessions to it have timed out?
Are there hooks for this in the mod_jk 1.2.8 Aprotocol?
See http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Download-Tomcat
-Original Message-
From: Harsha perera [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 12:04 AM
To: tomcat-user@jakarta.apache.org
Subject: Deploying a Servlet to Tomcat 5.0
Hi,
I have been trying to
Hi
I have this weird problem with an instance of tomcat 4.1.30
running on Windows Server 2003. Tomcat output (log messages)
is directed into CATALINA_HOME/logs/catalina.out. Every 4
hours a little log rotation script runs while tomcat is
active. It zips catalina.out into an archived logs
Hello everyone.
I writing you because a I have a big problem using ssl and client authenticate.
I created a connector for the client connections:
Connector port=9443
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
keystoreFile=C:/WINDOWS/security/server.ks
keystorePass=*
I have some strange behavior showing up with Tomcat 5.0.30.
I have a host configured with two contexts. The contexts are deployed
as wars. But, they have configuration information in the server.xml.
Each context has it's own realm defined within the context tag. The
contexts are named /admin and
The invoker servlet is no longer active by default in Tomcat.
See: http://jakarta.apache.org/tomcat/faq/misc.html#evil
Core Servlets (1st Edition) is a bit out of date in this respect.
You'll need to map your servlet in your web.xml file.
If you want an example, I've published some war files that
run-at is 2.4 spec and I think Tomcat 4 _IS_NOT_ Servlet 2.4 spec
My guess it will work in Tomcat 5.0.X and above.
Comments?
Mark.
--- Dwayne Ghant [EMAIL PROTECTED] wrote:
Have fun I hope this helps!!! It should.
web-app id='/'
servlet servlet-name='hello'
run-at - is not part of the servlet spec. It will not appear in tomcat.
-Tim
Mark wrote:
run-at is 2.4 spec and I think Tomcat 4 _IS_NOT_ Servlet 2.4 spec
My guess it will work in Tomcat 5.0.X and above.
Comments?
-
To
Hi Friends,
I want to dynamically configure the database,username and password
settings,instead of putting them in conf/server.xml.In other words,I dont know
beforehand which database to use,
with which username and password.It all depends upon the person and the machine
from which it tries to
Dear Friends,
i want to subscribe to the mailing list of tomcat.
I have a doubt here
i successfully installed tomcat 5.x in my windows
server
but when i tried to run my first sample application
i
caould not succeed
i downloaded the sample file and placed it in the
webapps folder.
Please take a look at
http://www.moreservlets.com/Using-Tomcat-4.html#Configure-Tomcat
It gives instructions on the installation of Tomcat
and compiling and testing simple Servlets and JSPs.
Please let us know if you still run into problems.
--- K thiruthuvadas [EMAIL PROTECTED] wrote:
Dear Caroline,
Thanks for the instant mail. It is amazing to find
that the support is almost instantaneous for Tomcat
Jakarta Webserver.
I solved the problem by shutting down my IIS admin
service which was occupying the 8080 port
thanks again for the link
Das,
Two things:
First, whenever writing to the list, please start a new thread instead
of just clicking 'reply' from another message. To those of us using
treaded mail clients, you've just hijacked someone else's thread.
Second, it looks like the sample war file on the jakarta site is
Sounds like you can just about totally abandon the idea of using any
pooling functions provided by DBCP. If I were designing, I'd construct
an object that implements javax.sql.DataSource and store it in the
session as soon as you know what db is being used. Then on each
request, get the DS
Just FYI to those that were following this thread, this was a Cocoon (2.1.5)
issue that caused this, not Tomcat.
Turns out that the Cocoon 2.1.5 ResourceReader sets some response headers
willy nilly.
If you have another component that uses a resolver to access a pipeline that
uses the reader
Thanks David,
I am already using the Datasource class to vreate a connection.For eg.
Context ctx = (Context) init.lookup(java:comp/env);
ds = (DataSource) ctx.lookup(jdbc/abc);
The problem is that to know which database is selected I am trying to do
exactly what the BasicDataSource class does,if
Hi!
I'm trying to get two tomcat servers to replicate their sessions with
each other.
We have a BigIP load balancer connecting to two Redhat Linux Enterprise
3 servers running Tomcat only (no Apache).
I've uncommented the Cluster and Replication valve sections in
server.xml, added
the tomcat clustering code and the PersistentManager are not supposed to work
together.
No members active in cluster group.
means that your multicast discovery isn't working
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent:
Hi Filip,
the tomcat clustering code and the PersistentManager are not supposed to work
together.
does it matter if they're both switched on?
No members active in cluster group.
means that your multicast discovery isn't working
can you suggest a way to resolve this?
Regards,
Simon
--
you haven't mentioned anything about your environment. but my guess is that you
might have linux and those boxes are multihomed. if
this is the case, its a little tricky to enable multicasting, there is a
property mcastBindAddr to set the actual interface that
sends and receives the multicasting
Hi there,
I embedded Tomcat Embedded edition into my app. Here's a brief folder
structureof my app:
/
lib
bin
Tomcat
lib
webapps
myapp
WEB-INF
Hi Filip,
you haven't mentioned anything about your environment. but my guess is that you might have linux and those boxes are multihomed. if
this is the case, its a little tricky to enable multicasting, there is a property mcastBindAddr to set the actual interface that
sends and receives the
Hi Filip,
I've just done:
route -n
on one of the servers and got:
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
10.0.0.00.0.0.0 255.255.255.0 U 0 00 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U
ifconfig -a
multihomed simply means there is more than one network card
ping doesn't verify UDP and multicast.
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January 26, 2005 3:43 PM
Subject:
Hi Filip,
here's my ifconfig-a:
eth0 Link encap:Ethernet HWaddr 00:11:43:CD:CD:AE
inet addr:10.0.0.51 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43287835 errors:0 dropped:0 overruns:0 frame:0
TX
A JNDI lookup isn't the only way to get a DataSource. You can just call
new on your favorite database's implementation of DataSource, set the
appropriate attributes and cast it to javax.sql.DataSource for generic
use. For instance:
com.mysql.jdbc.DataSource mysqlDS = new
are you running iptables firewall? that might also be blocking your multicast.
I do suggest you get a little utility that tests your multicast.
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January
Hi Filip,
are you running iptables firewall?
no. The servers are inside a hardware firewall.
that might also be blocking your multicast.
I do suggest you get a little utility that tests your multicast.
Can you suggest one?
Regards,
Simon
--
Simon Whiteside
Lateral Arts
Edmon Begoli wrote:
Hi,
Is it possible to enable digital certs as a authentication method for
the admin app. and if yes - please tell me how.
Yes. You'll need to edit the web.xml for the admin app to change the
login method.
1. Re-configure the admin app to use BASIC auth.
2. Test new config.
Here is what solved this. My web.xml in the admin and in the customer
app were defined as follows:
login-config
auth-methodBASIC/auth-method
realm-nameOrder Inquiry/realm-name
/login-config
Apparently in tomcat you cannot have two contexts with a web.xml that
shares the
I am trying to get JK 1.2.8 (within Apache 2.0.52 SSL build) to fail
over to my remaining Tomcat 5.5.7 instance when the first instance is
brought down (e.g. for maintenance or due to an actual failure).
The application uses container managed authentication (CMA) and
obviously sessions.
I have
Can I do everything with JBoss that I can with Tomcat?
I heard from a developer that JBoss is better than tomcat because tomcat can
not handle as many users at the same time. Is this a true statement? Is it
relevant to what web service (IIS vs Apache) is being used?
Warron French
Sr.
No, tomcat is a jsp/servlet container. JBoss is a full blown application
server. Tomcat doesn't support EJBs JBoss does. If all you want is
JSP/Servlets and a webserver, tomcat will work.
-Original Message-
From: Warron French [EMAIL PROTECTED]
Sent: Jan 26, 2005 2:36 PM
To:
But if I want to cover all types of Java applications I could essentially go
with an overkill method and use the JBoss application?
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
On Wed, Jan 26, 2005 at 01:41:25PM -0500, John Smith wrote:
Is there any way to make the connector at run time to NOT send NEW
connections to one the tomcat instances being used for loadbalancing, and
then reload this TC instances once all sessions to it have timed out?
If you stop the tomcat
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
try with a regular tcp loadbalancer like pen (http://siag.nu/) first, otherwise
you are debugging a whole stack at once.
so use pen, and your two tomcats, try failover and go from there.
also, enable debugging for your logging, and a lot more will be spit out in the
logs
Filip
- Original
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
What language is this ??
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Subject: Re: Re: JK, Session Replication/Clustering, SSL and failover in
Tomcat 5
Date: 26 Jan 2005 23:13:47 -
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Filip,
Pen does not really help me out.
My problem is JK I am pretty sure. It is appending .srv1 to the
session. When srv1 is stopped, it detects this on the next request and
routes the request to srv2. However I notice in the JK output that it
now has .srv2 appended to the session, which of
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
I have no idea - but it is not English. It looks like someone's
autoresponder is set to reply to each new thread in the list. I've had
to setup a filter to eliminate them from my inbox.
Is there a better solution (i.e. does anyone know this guy so they can
phone him and tell him to quit it?).
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Since you are on RedHat you have to do these steps to enable multicast
on your machines:
assign an IP to a host
ifconfig eth0 multicast
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
Regards,
Edmon
Simon Whiteside wrote:
Hi Filip,
are you running iptables firewall?
no. The servers are
It's Dutch, and an auto-generated email.
The e mail address you used is no longer active. You can send your email to
[EMAIL PROTECTED] to report this problem.
Thanks for your cooperation
(or something like that)
The Tomcat User List Administrator should be removing the user from the list,
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Thank you very much. Since this is a quite an advanced feature I will
try this, nicely document it and submit it to tomcat
documentation. I am sure someone else will need this as well (in a high
security apps).
Thanks again,
Edmon Begoli
http://blogs.ittoolbox.com/eai/software/
Mark Thomas
From: Warron French [mailto:[EMAIL PROTECTED]
Subject: RE: Jboss vs. tomcat with IIS
But if I want to cover all types of Java applications I could
essentially go with an overkill method and use the JBoss application?
You should be aware that JBoss uses an embedded Tomcat as its web server
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
This should work. Your linux boxes won't route multicast without the
entry in the routing table. I found this out while trying to debug
clustering with jboss and it fixed all my issues. Also make sure any
routers on your network will route multicast.
Edmon Begoli wrote:
Since you are on
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
Software
jakarta-tomcat-5.5.2
JDK 1.5
MS Access 2000
Requirements
Connection Pooling in Tomcat
Problem
I inserted a resource Tag in server.xml file
Resource name=aaa type=javax.sql.DataSource/ ResourceParams name=aaa
parameter namemaxWait/name value5000/value /parameter
parameter
I was hoping someone more knowledgeable would address your question, but
I didn't see a response, so I'll try. I just worked through a week of
SSL hell trying to get my Tomcat Application to act as an SSL client
to another server that performed client certificate authentication.
I am using
Caldarale, Charles R wrote:
Yes, except the property name is java.library.path (LD_LIBRARY_PATH is only the environment variable name). The default for Linux systems is /usr/lib:/lib (for UNIX, it's just /usr/lib), so you could put the .so file there.
I tried putting all of the files there but
77 matches
Mail list logo