Hello All,
I try to use:
- Apache 1.3.33 under Windows XP SP2
- mod_jk-1.2.10-apache-1.3.33.so
- Tomcat 5.5.7
- JDK 1.4.2_04
I have following configuration in conf/httpd.conf
LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
IfModule mod_jk.c
JkWorkerProperty
Andrey Grebnev wrote:
Hello All,
I try to use:
- Apache 1.3.33 under Windows XP SP2
- mod_jk-1.2.10-apache-1.3.33.so
IfModule mod_jk.c
JkWorkerProperty worker.list=ajp13w
JkWorkerProperty worker.ajp13w.type=ajp13
JkWorkerProperty worker.ajp13w.host=localhost
For tomcat :
http://www.jroller.com/page/coreteam/?anchor=disable_directory_listing_in_to
mcat
For Apache :
Directory YourdocumentRoot
Options -Indexes
/Directory
Hope this helps
Guru
All
I am trying to setup my tomcat to enable multiple webapp directories the
reason for this is that we
have a number of webapps on our tomcat that we don't want to enter into
the apache mod_jk config.
So we would like to pass a JkMount /ct/*, so that /ct would contain all of
the new
Subject: extending the Catalina Realm login
Date: Fri, 15 Apr 2005 09:21:17 +
I'm working on a school project which requires a little bit more authentication
than the standard JDBC Realm server/container model and I'd like to add a
method
or two to the Realm login.
I have found a JSP
Hi,
Is it possible to run multiple instances of tomcat on the same server,
for example to support production and test environments ?
Thanks in advance,
Steve.
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
...Add this in between the /Context tag of the examples context and the
/Host tag closing the localhost
Sevillano
Can you show me your JDBC configuration.
Ben Cuthbert
Deutsche Bank - Global Markets
TISO Customer Trading Technology
PGP: http://pgp.mit.edu
+44 (0) 20 754 76389 (Tel)
+44 (0) 20 754 74996 (Fax)
Sevillano sevi llano [EMAIL PROTECTED]
04/15/2005 10:34 AM
Please respond to Tomcat
Hi Benajmin,
I´m testing with two different databases:
oracle 9 and mysql
with both I´ve got the same error
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
and with both I can connect directly
for example, it works correctly:
...
On 4/15/05, Sevillano sevi llano [EMAIL PROTECTED] wrote:
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
...Add this in between the /Context tag of the
And you have the JDBC Driver installed, and tomcat comes up with no
errors.
Are you just trying to setup user authentication against a database
instead of tomcat-users.xml
Ben Cuthbert
Deutsche Bank - Global Markets
TISO Customer Trading Technology
PGP: http://pgp.mit.edu
+44 (0) 20 754
yes, just modify the server.xml on the 2nd instance so it runs on different
ports.
Ta
Matt
-Original Message-
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Sent: 15 April 2005 10:33
To: tomcat-user@jakarta.apache.org
Subject: Multiple tomcat instances
Hi,
Is it possible to run
I think JDBC Drivers are correctly installed, because direct connection
works correctly:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn =
DriverManager.getConnection(jdbc:oracle:thin:@*.*.*.*:1521:bddesa,**,**);
I have the .jar files in
Tomcat 5.0\common\lib
From:
I don´t know if it helps, but this is my environment:
j2sdk1.4.2_07
tomcat 5.0.28
oracle 9
j2sdk1.4.2_07
tomcat 5.0.28
mysql (I don´t remember the version, this is my home environment)
thanks
From: Sevillano sevi llano [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Is it possible to run multiple instances of tomcat on the same server,
for example to support production and test environments ?
Yes. I run up to four on this machine - two (one 4.1, one 5.0) are
running as I type this.
Here's a Windows script
Please help, driving me mad. Tried hard to find help in archives and
docs before resorting to asking here.
Versions
Server version: Apache/1.3.33 (Unix)
mod_jk-1.2.6.so
jakarta-tomcat-5.0.28
Problem:
Tomcat always seems to resolve URLs coming in through a Coyote/JK2 AJP
Hi!
I was searching for any documentation about developing custom Realm
for Tomcat but did'nt found anything. Could someone point me in the
right direction?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 4/15/05, Sevillano sevi llano [EMAIL PROTECTED] wrote:
I don´t know if it helps, but this is my environment:
j2sdk1.4.2_07
tomcat 5.0.28
oracle 9
j2sdk1.4.2_07
tomcat 5.0.28
mysql (I don´t remember the version, this is my home environment)
thanks
From: Sevillano sevi llano
On 4/15/05, Peter Crowther [EMAIL PROTECTED] wrote:
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Is it possible to run multiple instances of tomcat on the same server,
for example to support production and test environments ?
Yes. I run up to four on this machine - two (one 4.1, one 5.0)
I had exactly the same problem when I tried to
configure the Tomcat 5.0.27. At that time, a number
of people reported the difficulty. Finally, we put
the configuration code in between the realm .../
element and the Host element of the
$TOMCAT/conf/server.xml.
Please e-mail me if you still have
Another option which uses fewer resources but doesn't provide quite the same
degree of isolation is to run two hosts in the same Catalina service. If
your DNS maps www.mydomain.com and test.mydomain.com to the same IP address,
they can share the same ports. Each one can have its own logs, Servlet
Hi,
Cant start tomcat 5.5.9 and sun jdk1.5.0_02 on linux Debian (Sarge) with
jsvc
from catalina.err -
jsvc.exec error: syscall failed in set_caps
jsvc.exec error: Service exit with a return value of 4
Georges
-
To unsubscribe,
Do you have your resource link in the context element? And if you don't have
a context for the app you need to create one.
Doug
- Original Message -
From: Sevillano sevi llano [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, April 15, 2005 5:34 AM
Subject: can´t
but...
where do I add the Context exactly?
this is my server.xml, If I add context, tomcat doesn´t start
thanks
Server port=8005 shutdown=SHUTDOWN
GlobalNamingResources
!-- Used by Manager webapp --
Resource name=UserDatabase auth=Container
type=org.apache.catalina.UserDatabase
Hi,
Using Tomcat 5.5.7 (tried Tomcat 5.5.9 with the same results) on Windows XP.
When forwarding to a JSP page that is located in
/WEB-INF/jsp/success.jsp and calling:
%= request.getRequestURI() % inside the success.jsp page, the result I get is:
/WEB-INF/jsp/success.jsp
I am pretty sure that
what are various ways of deploying in tomcat 5.5.4 through its manager
1)how to deploy new application(directory or WAR file located on
server) on local path
2)how to deploy new application remotely
plz don,t say to refer the tomcat documentation as it confuses me
plz help me in easier steps as i
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
Hi,
Using Tomcat 5.5.7 (tried Tomcat 5.5.9 with the same results) on Windows XP.
When forwarding to a JSP page that is located in
/WEB-INF/jsp/success.jsp and calling:
%= request.getRequestURI() % inside the success.jsp page, the result
Hi, I am attempting to add file uploading to an app running under Jboss
3.2.6 + Tomcat 5.0.28.
Started off using com.oreilly.servlet.MultipartRequest, and found
problems uploading large 8KB files
Decided to investigate by writing my own class that does nothing except
read any available bytes
Hi,
pretty sure isn't always good enough ;) To get the uri that forwarded
to the jsp you need to use
%=request.getAttribute(javax.servlet.forward.request_uri)%. Check
out the servlet 2.4 spec section 8.4 for more info.
Trond
Yaakov Chaikin wrote:
Hi,
Using Tomcat 5.5.7 (tried Tomcat 5.5.9 with
Hmm...
How many ways are there to read this part of the spec:
**
public java.lang.StringBuffer getRequestURL()
Reconstructs the **URL the client used to make the request.**
The returned URL
contains a protocol, server name, port number, and server path, but it does not
include query
Commons-fileupload.jar
-Original Message-
From: Gareth Williams [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 8:42 AM
To: tomcat-user@jakarta.apache.org
Subject: Can't multipart post large(ish) files via Tomcat 5.0.28
Hi, I am attempting to add file uploading to an app running
The following source folder may be of help.
/jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm
/jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator
We have struggled with a memory leak in 5.0.28/5.0.30 for months. There have
been many complaints about the necessity to restart Tomcat every couple days
due to Out of Memory errors, but no solutions that cured it. Well, the
suggestion to put the single line:
Introspector.flushCaches();
Hi : I have following code for automatic ssl-forwarding filter:
public void doFilter(ServletRequest servletrequest, ServletResponse
servletresponse, FilterChain filterchain)
throws IOException, ServletException
{
String s = servletrequest.getScheme();
if(
I'm sorry, ignorance here...
We've been using Tomcat 5.0.28 for more than a few months using
Jetspeed1.5. Our production server probably has gone down once every
week to 2 weeks, and we haven't experienced a memory leak. I thought
that was one of the fixes when using Java 1.4.2 ?
-Zach
Been trying out java 1.5
Now back to using 1.4.2.06
When I run what was a working servlet, I'm getting
the above error, and
'Unsupported major.minor version 49.0'
Is this Tomcat or java please?
Regards DaveP.
snip here *
--
DISCLAIMER:
NOTICE: The information contained in this
From: Pawson, David [mailto:[EMAIL PROTECTED]
Been trying out java 1.5
Now back to using 1.4.2.06
When I run what was a working servlet, I'm getting
the above error, and
'Unsupported major.minor version 49.0'
Is this Tomcat or java please?
Java. A .class file has been compiled
Your jsp files are compiled using jdk1.5. Remove these files from tomcat's
working directory. [ (..)tomcat/work ]
Viorel Dragomir
.
..
---
- Original Message -
From: Pawson, David
To: Tomcat Users List
Sent:
-Original Message-
From: Peter Crowther
'Unsupported major.minor version 49.0'
Is this Tomcat or java please?
Java. A .class file has been compiled with a more recent
compiler than the runtime that's in use. Did you compile
the servlet
Hi,
don't know if you are using it, but there's also a known issue with
5.0.28 and 'swallowOutput' in the Context element. After I turned it
off, I haven't gotten any out of memory errors...
Trond
sysdba wrote:
We have struggled with a memory leak in 5.0.28/5.0.30 for months. There have
been
On 4/15/05, sudip shrestha [EMAIL PROTECTED] wrote:
Hi : I have following code for automatic ssl-forwarding filter:
Why do it that way? Why not just add transport-guarantee's in your
web.xml and setup a redirect port for your http connector in your
server.xml?
eg.
I checked out the spec section 8.4.2 Forwarded Request Parameters.
It does seem to me that it implies that the parameters is where one
would get the original URI from.
However, there are still 2 problems that I can see:
1) The API says: URL the client used to make the request
2) 8.4.2 says that
I have been developing a servlet application, that runs fine within the
ide (netbeans).
When i deploy the war file to tomcat the application works fine. the
context.xml file lists the servlet context as /servlet/ICTHelpdesk
and the manager app lists the correct context and everything works
fine,
Windows/Tomcat 5/IIS/JK 1.2 Connector
I am using the JK 1.2 Connector and want to connect
two IIS Web sites to different AJP ports, with the
same context. Is there a way for workers.properties
to specify the incoming Host Header when determining
which worker to use?
For example:
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
I checked out the spec section 8.4.2 Forwarded Request Parameters.
It does seem to me that it implies that the parameters is where one
would get the original URI from.
However, there are still 2 problems that I can see:
1) The API says:
Hi,
Today we saw that our Tomcat 5.0.28 had been installed and it is running with
the root user.
Because is a security hazard,
how can I change it to other less dangerous user?, and
what privileges needs to have in order to work?
Our system is a RedHat 9.0, 2.4.21-20.ELsmp
Thanks,
Regards,
Can you expand a bit more how this would work. I understand how you can
have two domains pointing to the same ip address but how do I split my
logs, servlet mapping and web apps.
Steve.
-Original Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent: 15 April 2005 12:10
To:
On 4/15/05, Remy Maucherat [EMAIL PROTECTED] wrote:
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
I checked out the spec section 8.4.2 Forwarded Request Parameters.
It does seem to me that it implies that the parameters is where one
would get the original URI from.
However,
Hi Sevillano,
I inserted the configuration after the last Realm
/ tag and before the Host ... tage (see below)
in the $TOMCAT/config/server.xml file. This is my
configuration (sorry, I should have shown it in my
previous posting). Let us see if it works:
!--
Realm
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
1) Applies to the core request class behavior. Cool, it works. The RD
has to wrap it using a request wrapper, so it does not apply.
So, what you are really saying is that the API should have pointed out
that getRequestURL() does not work
Oh, now I see what you are saying (in both cases.)
That clears it up for me. Thanks.
Yaakov.
On 4/15/05, Remy Maucherat [EMAIL PROTECTED] wrote:
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
1) Applies to the core request class behavior. Cool, it works. The RD
has to wrap it using
Actually,
I have apache serving static pages with jk-connector integrating
services with Tomcat 5, and I did not show the full script, but I
would like to redirect to secure url to only those requests coming
from outside the company intranet.
On 4/15/05, Jason Bainbridge [EMAIL PROTECTED] wrote:
But still the question remains is this some sort of bug in IE?
On 4/15/05, sudip shrestha [EMAIL PROTECTED] wrote:
Actually,
I have apache serving static pages with jk-connector integrating
services with Tomcat 5, and I did not show the full script, but I
would like to redirect to secure url
I disabled my filter and have tried this way, once again works with
Firefox but not with IE, exact same results.
On 4/15/05, Jason Bainbridge [EMAIL PROTECTED] wrote:
On 4/15/05, sudip shrestha [EMAIL PROTECTED] wrote:
Hi : I have following code for automatic ssl-forwarding filter:
Why do
Hi, I'm resending this issue, I still have the locked jar situation when
executing the catalina undeploy task, it only occurs when my web.xml was
pointing to resources in that jar. Temporarily I'm using alternative approaches
(overwriting files, catalina stop+start), but they don't guarantee it
The Introspector.flushCaches(); in the contextDestroyed wasn't enough
for us...
How should we use the 'swallowOutput'? We've tried this way without results:
Context displayName=eCompany 3.0
docBase=/eprj
path=eprj.war
privileged=true swallowOutput=false
(...)
Trond,
I found the answer
String classpath = (String) request.getSession()
.getServletContext().getAttribute(
org.apache.catalina.jsp_classpath);
Regards.
Altu B. Altnta wrote:
I need to find which jar files are being used in one context,
for example
Steve,
In the Host definition you specify an appBase for the applications directory
(which will have a new ROOT under it), a Valve for the AccessLog, and
whatever else you want to split off. The applications in the appBase
directory will have their own WEB-INFO where you specify Servlet mappings,
Remy,
BTW, since which version of the spec has this change been instituted?
Thanks,
Yaakov.
On 4/15/05, Yaakov Chaikin [EMAIL PROTECTED] wrote:
Oh, now I see what you are saying (in both cases.)
That clears it up for me. Thanks.
Yaakov.
On 4/15/05, Remy Maucherat [EMAIL PROTECTED]
Hi,
here's the bugzilla:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33368, and here's a
link to the archives where Robert Willie found this issue (read the
entire thread...):
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg146409.html.
Trond
Paulo Alvim wrote:
The
Delphine,
Have you added JkSet config.file ... to your apache config file?
Bob
On 4/14/05, Delphine Lê [EMAIL PROTECTED] wrote:
I tried this, but it didn't help unfortunately
Thank you
Are you using load balance in your app? If not, you probably don't need
this line:
hi All,
I read about the Tomcat valve that allows for Single Sign On within
web applications on the same tomcat instance.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html
However, is there an SSO solution that will allow Tomcat to SSO with
other out-of-process web servers like
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
Read section carefully. The warning at the end of the section describes your
symptoms.
Doug
--snip--
When i deploy the war file to tomcat the application works fine. the
context.xml file lists
Hello,
I am trying to configure a javax.sql.DataSource to work with the JDBC pooling
stuff.
I have been screwing with this stuff quite a while now and could use some help.
In my Servlet I want to use the JNDI and something like this for a connection:
Context ctx = new InitialContext();
There are several options:
1. Keep running as root. (Bad as noted)
2. Listen on port above 1024.
3. Apache front end.
4. Use jsvc to start Tomcat as root. Bind to ports and change user.
I think 4 is what you are looking for.
http://jakarta.apache.org/commons/daemon/jsvc.html
Doug
- Original
On 4/14/05, Andrey [EMAIL PROTECTED] wrote:
Hello,
HTTPS:
GET /application/index.html HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
Accept-Language:
Yes, rename the tomcat-juli.jar file disable it.
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 2:34 PM
To: Tomcat Users List
Subject: Re: JULI and logging
I haven't tried it yet, but, I noticed that catalina.sh/bat, looks for a
As long as you are using a port above or equal to 1024, I believe you
should be able to simply start up Tomcat using a non-root user.
On 15 Apr 2005, Parsons Technical Services wrote:
There are several options:
1. Keep running as root. (Bad as noted)
2. Listen on port above 1024.
3.
I'm using Tomcat v. 5.0.28, but I need to know what
was the snapshot version of Commons-Daemon used for
building Tomcat 5.0.28 tomcat5.exe and tomcat5w.exe.
I've downloaded Commons Daemon 1.0 sources but they
can't be used for rebuilding the tomcat5.exe and
tomcat5w.exe (the behaviour is slightly
Bernhard Slominski wrote:
Hi,
after getting the jsp precompilation finally working, I want also want to do
the precompliation for tag files.
JSP precompilation should also trigger precompilation for custom tags
within the JSP.
The precompilation task generates servlets and servlet mappings
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
I may be wrong, but I had a similar situation, and in my case when I set
up the Data Sources for the application context (not as the
GlobalNamingResources in server.xml) using the admin
Still hoping for comments on this and I'm repeating another posting that
is somewhat similar:
From:
alebu [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Subject:Developing custom Realm
Date: Fri, 15 Apr 2005 10:37:06 +
Hi,
I have one domain www.nacion.com http://www.nacion.com/ and another domain
www.revistaperfil.com http://www.revistaperfil.com/ .
Both domains land on the same ip.
We want to have the apps of nacion.com in webapps directory, and the apps from
revistaperfil.com in webapps2.
In
A long time ago I heard that JAFFA has what you need. While it seems to
have alot more now, it should have a realm implementation for Tomcat that
you should be able to extend.
http://jaffa.sourceforge.net/
I never used it, as I ended up being able to use the available realms,
but it was
Sorry to follow-up with myself, but I wanted to let you know that there
is something in there. You can check their online javadoc for the package
org.jaffa.tomcat.realm
Here's a long link:
http://jaffa.sourceforge.net/javadoc/2_1_0/org/jaffa/tomcat/realm/package-
summary.html
I almost used
The archives are your friend. For example:
http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg150366.html.
alebu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
I was searching for any documentation about developing custom Realm
for Tomcat but did'nt found anything.
Try setting the following 2 response header
response.setHeader(Pragma, public);
response.setHeader(Cache-Control, max-age=0);
- Jim
-Original Message-
From: sudip shrestha [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 9:54 PM
To: Struts Users Mailing List;
77 matches
Mail list logo