All
I have tomcat 5.5.7 installed on SUSE linux 9.0 and when i start it up
after some of my web applications have been installed
i get errors like these which in turn take the system down with memory
errors.
And i can't find any information on this. Is this tomcat or my web
applications.
[
just for the records, indeed disabling the APR listener is solving the problem.
Just tried out and it works.
Thanks very much for your support
George
On Tue, Dec 20, 2005 at 01:46:55PM -0500, Adam Constabaris wrote:
> FTP wrote:
> >I face the same problem with:
> >
> >Tomcat 5.5.12
> >jdk: 1.5.
Could be as simple as not having added a user with manager role to
tomcat-users.xml.
>
> From: vineesh kumar <[EMAIL PROTECTED]>
> Date: 2005/12/21 Wed AM 12:58:08 EST
> To: Tomcat Users List
> Subject: Re: access denied to Tomcat manager
>
> you may not have access permission to the directory
Hi,
Apols for a newbie question, I didn't have much luck with the archives
or in Google.
In my ServletContextListener.contextInitialized method, I need to detect
the public http path of my web app.
i.e. http://servername/approot/
How can I do this?
event.getServletContext().getResource("/") give
Hi all!
I have got a question regarding setup of a JBDCRealm. I read the HOW-TO
on Tomcat homepage, and I am wondering about the database structure.
I have an existing application, and the database it uses has got a table
'users'
with the follwing columns: login, password, roleid,... where the rol
There is no way to detect the contextPath on servletInit. It can only be done
after the first request. (Using HttpServletRequest.getContextPath())
-Tim
[EMAIL PROTECTED] wrote:
Hi,
Apols for a newbie question, I didn't have much luck with the archives
or in Google.
In my ServletContextListe
Peter,
If I understand what you described, it looks like your database is ok but
your specification to tomcat is ever so slightly off. Change your server.xml in
a way so that the role elements reference the role table and not users table.
HTH
- andy
[EMAIL PROTECTED] wrote:
Thanks Tim.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 21 December 2005 11:23
To: Tomcat Users List
Subject: Re: ServletContextListener - how to detect http path of web
application?
There is no way to detect the contextPath on servletInit. It can only be
done
af
Hi there,
sure enough I'm trying to run tomcat on Solaris 8 and tomcat 5.5.12.
The error I'm getting in ${CATALINA_HOME}/logs/catalina.out again is
Dec 21, 2005 12:02:35 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-5050
Dec 21, 2005 12:02:35 PM org.apac
Hi andy!
As in the HOW-TO described you need two tables, one
table 'users' that holds the username and the password,
and one table that holds the username and the roles
the user is given (it is a mapping from users to roles).
My database has also two tables, but the first table holds
username, pas
Hi there,
sure enough I'm trying to run tomcat on Solaris 8 and tomcat 5.5.12.
The error I'm getting in ${CATALINA_HOME}/logs/catalina.out again is
Dec 21, 2005 12:02:35 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-5050
Dec 21, 2005 12:02:35 PM org.apa
hello there,
i have two servers inside the dmz, one with redhat 9 the other with
fedora core 4. the box running with fedora core has tomcat 5.5.9
and apache 2.0.54. the connection is made with ajp13.
the redhat 9 has an older apache and java version.
these two servers run separated, so each one ha
I'm trying to upgrade to Tomcat 5.5.14 on Windows2000. The JRE is
1.4.2_03. I've deployed the compatability patch, and commented out
the Apache Portable Runtime listener from the 'server.xml'.
I encountered an error when starting Tomcat for the first time after
installation. The service sta
Peter,
Have you tried the following? I placed arrows pointing to my suggestions.
debug="99" driverName="org.postgresql.Driver"
connectionURL="jdbc:postgresql://localhost:5432/
testwebapp?user=login&password=pwd"
userTable="users" userNameCol="login"
userCredCol="password" userR
Guten Tag Peter
Since rolNameCol is defined as "The name of the column, in the user roles
table, that contains the name of a role assigned to this user.
so you will need 2 tables 'users' and 'user-roles'"
Then you will need to create 2 tables 'users' and 'user-roles' where user_name
is a foreig
I had a user with manager role, however that did not resolve the problem.
Could it be that the Tomcat Manager application was inadvertently undeployed
and that it needs to be redeployed? If so, how does one redeploy the
manager?
Thanks!
-Original Message-
From: Warren Pace [mailto:[EMAIL P
James-
Tomcat (Apache Portable Runtime) apr_socket_shutdown method has 2 args
1)the socket you are closing
2)0=No longer allow read requests thru this socket (APR_SHUTDOWN_READ)
1=No longer allow write requests thru this socket (APR_SHUTDOWN_WRITE)
2=No longer allow read/write requests thru t
> From: William Claxton [mailto:[EMAIL PROTECTED]
> Subject: DNS error, no reply from Tomcat and no clues in the log
>
> The service starts normally, but the browser reports a
> DNS error.
That would seem to indicate a problem in you DNS configuration, nothing
to do with Tomcat.
> But if I tel
> From: Caldarale, Charles R
> Subject: RE: DNS error, no reply from Tomcat and no clues in the log
>
> > From: William Claxton [mailto:[EMAIL PROTECTED]
> > Subject: DNS error, no reply from Tomcat and no clues in the log
>
> > But if I telnet to the machine's IP address and connect to
> > po
Thomas Hartwig wrote:
Hello,
I try to use the APR (1.2.2) in conjunction with tomcat 5.5.12 and
tomcat-native-1.1.0. All works fine except one thing: I can only use it
with root privileges, because the tomcat connector wants to establish
the port 98 for its communication (see stacktrace below
Aurélien DEHAY wrote:
I've exactly the same stack. No process is using port 98, but as I'm not
a root user, I can't bind on this address.
This message (98) is APR OS error (EADDRINUSE).
Tomcat has been changed to display the real message (5.5.13+)
instead the OS errno.
I don't wan't to st
Hello,
I'm using :
- Apache 1.3.33
- Tomcat 5
- mod_jk
I have < processCallbacks status 2 > in the log catalina.out
. This error appends frequently. Does anyone met this problem.
Thank yo
Greetings All
Some of the pages on a site running on localhost is throwing an Illegal
Access error with java.net.BindException. I cannot think why some pages
are causing this and other are not. I am running WindowsXP with Tomcat
5.5.12. Any ideas what may be causing this? Thank you in advance.
Hello
There appears to be a mis-configuration in the jk-handlers
could you forward the applicable
/etc/httpd/conf.d/mod_jk.conf
AND
/etc/httpd/conf/mod_jk.properties
Anyone else?
Martin-
- Original Message -
From: "LEBLANC, Damiens" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, Decembe
To add onto this, what is the default username and password for the
Tomcat Manager application? I am currently using user:admin pass:tomcat
Schalk wrote:
Greetings All
Some of the pages on a site running on localhost is throwing an
Illegal Access error with java.net.BindException. I cannot th
what does the ConnectorPort specified for catalina's default non-SSL HTTP/1.1
Connector say?
what does stdout_MMDD.log say?
If your run netstat -a do you see the hostname:ConnectorPort is the state in a
'listening' mode ?
Martin-
- Original Message -
From: "Schalk" <[EMAIL PROTECTED]
> From: Schalk [mailto:[EMAIL PROTECTED]
> Subject: Re: Illegal Access
>
> To add onto this, what is the default username and password for the
> Tomcat Manager application?
There isn't one. You have to add the appropriate userid and role to
your authentication realm (conf/tomcat-users.xml, by
Thank you for your response,
But, I have no files mod_jk.conf and mod_jk.properties. The jk handler is
compiled with Apache 1.3.33 and I'm working on SUN/Solaris 8 platform.
I have only:
- httpd.conf which contains (for section 1 and section 2):
##
## httpd.conf -- Apache HTTP server configur
Hello.
Mladen Turk wrote:
Aurélien DEHAY wrote:
I've exactly the same stack. No process is using port 98, but as I'm
not a root user, I can't bind on this address.
This message (98) is APR OS error (EADDRINUSE).
Tomcat has been changed to display the real message (5.5.13+)
instead the O
Aurélien DEHAY wrote:
Hello.
Mladen Turk wrote:
The reason is probably because either real port (8080) is in use
or the previous Tomcat version was shut down improperly.
Wait a wile (cca 240 sec) until the OS recycles the zombie descriptor.
Ok, I'll check that, thank you.
Works fine. Ver
Caldarale, Charles R wrote:
From: Schalk [mailto:[EMAIL PROTECTED]
Subject: Re: Illegal Access
To add onto this, what is the default username and password for the
Tomcat Manager application?
There isn't one. You have to add the appropriate userid and role to
your authentication realm
Please display these entries from your httpd.conf file
LoadModule
JKWorkersFile
JKLogFile
JKLogLevel
JKMount
Merci
Martin-
- Original Message -
From: "LEBLANC, Damiens" <[EMAIL PROTECTED]>
To: "Martin Gainty" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, December 21, 2005 11:11 AM
Subjec
Martin Gainty wrote:
what does the ConnectorPort specified for catalina's default non-SSL HTTP/1.1
Connector say?
what does stdout_MMDD.log say?
If your run netstat -a do you see the hostname:ConnectorPort is the state in a
'listening' mode ?
Martin-
- Original Message -
From: "S
I may have a similar problem where I cannot access the manager application
although the user rights are set correctly. The logon prompt is not even
shown - the "access denied" status is shown immediately.
Not sure what the problem is...
-Original Message-
From: Schalk [mailto:[EMAIL PROTE
Tim is right, you can't do it directly. You *might* be able to construct
it in a roundabout way though...
Let's assumg you know the method, http vs. https, and its always one or
the other. Let's also assume that the element in web.xml
names the application context (i.e., if the URL is http://my
Hi David,
Thanks for your reply. But i didn't got it properly;
How do you say that the defined context with "/myapps/conf" will get
precedence over "/myapps" and subfolder conf in this application ??
The document you referred is for tomcat 5.5, is that also same for tomcat
5.0.x versions?
Any to
Hi,
We're facing a strange problem here with Tomcat 5.5.7
When it is running for a while, the network just hangs: it doesn't even
reply to ping requests and netstat blocks after showing three or four
results.
It happens even when Tomcat doesn't receive any request. Then, if we
stop Tomcat, the se
Hello everyone,
I'd like to load balance 2 (or more) tomcat instances while using JBDC
session persistence to allow sharing of session information between
several applications (contexts).
I know it's going against the j2ee servlet spec but I have specific
requirements that demand such an environm
Thanks, I might try that.
I already made a javax.servlet.Filter, that catches the first request to
the server, calls HttpServletRequest.getContextPath(), and stores the
result.
Of course the Filter actually gets hit on *every single request* to the
server. You might call it a brute force solution
Hello Everybody,
I have implemented the Samba solution to authenticate MSIE clients
against a windows domain controller and,
If the credentials are correct, then they are authenticated and the user
is authorized to see a particular page.
So everything is good.
Now, if I insert wrong cr
Iain-
Unless of course you only make this assignment in the init method
Thanks,
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, December 21, 2005 12:17 PM
Subject: RE: ServletContextListener - how to detect http path of web
application?
Thanks, I might try t
Ariel Pashtan wrote:
I may have a similar problem where I cannot access the manager application
although the user rights are set correctly. The logon prompt is not even
shown - the "access denied" status is shown immediately.
Not sure what the problem is...
-Original Message-
From: Sc
Frank, your solution (using the ServletContext) does work. Thanks.
Martin, I can't get a HttpServletRequest from Filter.init.
I can get a ServletContext... but I can also get that from a
ServletContextListener.
So I can throw away this silly Filter now.
Cheers everyone.
-Original Message---
On Wed, December 21, 2005 1:10 pm, [EMAIL PROTECTED] said:
> Frank, your solution (using the ServletContext) does work. Thanks.
Good news (sigh of relief!)
> Martin, I can't get a HttpServletRequest from Filter.init.
> I can get a ServletContext... but I can also get that from a
> ServletContextL
Our users don't currently logon to our Tomcat servers directly; they are
redirected to the Tomcat servers with their encrypted credentials (a
security token). Our Tomcat Database Realm then seamlessly
re-authenticates the user on the Tomcat server.
We currently don't use Tomcat's container man
That passage hasn't changed since Tomcat 4.
Think of it this way. When the request comes in, the very first
decision tomcat has to make is what context should handle the request.
It compares the incoming URI to it's list of context paths and sends the
request to the context with the longest
Hello
I succeed by black magie to have log via log4j under tomcat 5.5.9. So
when a call my servlet, I have some trace into a file (/tmp/phl.log).
I said black magie, because I had a lot of problems to put the log4.jar
in the right place.
Now, I have just installed the tomcat 5.5.12, reinst
2005/12/19, Francis Galiegue <[EMAIL PROTECTED]>:
> Hello,
>
> As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through
> 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT
> send a www-authenticate header back, resulting in a definitive 401
> error. This violates RFC
Hello
My configuration is:
- single machine with Slackware 10
- apache 2.0.55 with worker MPM
- tomcat 5.5.4
- mod_jk 1.2.15
Here is my apache<->tomcat configuration
[user]->[mydomain.com vhost]-ProxyPass->[localhost vhost]-JKMount->[Tomcat]
Everything works almost fine, but in
Hi all. I have a website running under Tomcat 5.5.9
I would like to use mod_jk to allow Apache to serve all static content however,
I cannot figure out how to serve this content only if the user has already
logged into the application. This application uses Tomcat sessions.
Anyone have experi
[EMAIL PROTECTED] wrote:
> Hi all!
>
> I have got a question regarding setup of a JBDCRealm. I read the HOW-TO
> on Tomcat homepage, and I am wondering about the database structure.
> I have an existing application, and the database it uses has got a table
> 'users'
> with the follwing columns: lo
> Subject: Re: ServletContextListener - how to detect http path of web
> application?
We have a similar sounding problem. We want a ContextListener to be
able to determine the http path and the port, in order to advertise
webapps via ZeroConf MDNS (Rendezvous, Bonjour, whatever they are
callin
Which version of Tomcat should I use on SuSE Enterprise Server v9?
Nigel DeFreitas
Insurance Services Office
201 469 3939
Hi Nigel,
The answer of this question depends upon many aspects like,
(1) What kind of web-application would you like to serve with Tomcat?
(2) Which J2SE\J2RE version are you using?
(3) Do you require any special things from Tomcat besides an application
server? I mean does your
application
Hi,
When the standard port 8080 is used for Tomcat, there are no issues with
accessing the Tomcat Manager application.
However, when another port is used (defined in server.xml), access to the
manager is denied.
Could it be a bug, where the port number 8080 is hard-coded in some place?
Ar
Ariel Pashtan wrote:
> When the standard port 8080 is used for Tomcat, there are no issues with
> accessing the Tomcat Manager application.
>
> However, when another port is used (defined in server.xml), access to the
> manager is denied.
>
> Could it be a bug, where the port number 8080 is hard
Is the LoadModule jk_module line in your httpd.conf commented out?
>
> From: "LEBLANC, Damiens" <[EMAIL PROTECTED]>
> Date: 2005/12/21 Wed AM 11:11:47 EST
> To: "Martin Gainty" <[EMAIL PROTECTED]>
> CC:
> Subject: RE: Error - processCallbacks status 2
>
> Thank you for your response,
>
> But,
I'm not tied to a specific version of JDK/Servlet spec.
It's just going to be a web module serving up a simple web-service
protected by basic auth.
Thanks.
-Original Message-
From: Dhaval Patel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 5:02 PM
To: Tomcat Users List
Sub
> From: DeFreitas, Nigel [mailto:[EMAIL PROTECTED]
> Subject: RE: Which version of Tomcat on SuSE?
>
> I'm not tied to a specific version of JDK/Servlet spec.
> It's just going to be a web module serving up a simple web-service
> protected by basic auth.
The 5.5.x series demonstrates noticeably
Thanks.
Can I also run Servlet Spec 2.3 web modules in 5.5.x or is it just 2.4?
Nigel
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 6:13 PM
To: Tomcat Users List
Subject: RE: Which version of Tomcat on SuSE?
> From: DeFreitas,
In my previous email I missed the HTTP 401 error, but the question still
stands.
Any idea? Thanks in advance.
From: Camil Bojneag
Sent: Wednesday, December 21, 2005 12:24 PM
To: 'users@tomcat.apache.org'
Subject: Tomcat NTLM authentication
He
> From: DeFreitas, Nigel [mailto:[EMAIL PROTECTED]
> Subject: RE: Which version of Tomcat on SuSE?
>
> Can I also run Servlet Spec 2.3 web modules in 5.5.x or is it
> just 2.4?
Yes - we even use some rather ancient JSP 1.0 / Servlet 2.3 stuff for
testing on 5.5.12. Just put the appropriate DTD
I'm abstracting it to a db with a timeout included.
That way both Tomcat and Apache can check for a valid
user.
--- Dave Morrow <[EMAIL PROTECTED]> wrote:
> Hi all. I have a website running under Tomcat 5.5.9
>
> I would like to use mod_jk to allow Apache to serve
> all static content however,
Hello,
Recently I found a possibel mod_jk bug. I'm using Apache 1.3.34,
mod_jk 1.2.14, and Jetty 5.1.15.
The bug surfaced once I started rewriting URLs with mod_rewrite. It
appears that mod_jk sends a cookie2 header as cookie header, which
Jetty cannot handle.
The full description of the probl
Charles,
Compare an unused port and an active Tomcat, and there is a
difference. Tomcat will clear the screen and wait for input. An
unused port will appear to hang there and eventually time out.
For our production server, after Tomcat installation the Telnet
session appears like its commu
> From: William Claxton [mailto:[EMAIL PROTECTED]
> Subject: RE: DNS error, no reply from Tomcat and no clues in the log
>
> Compare an unused port and an active Tomcat, and there is a
> difference. Tomcat will clear the screen and wait for input. An
> unused port will appear to hang there an
"OG" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> Recently I found a possibel mod_jk bug. I'm using Apache 1.3.34,
> mod_jk 1.2.14, and Jetty 5.1.15.
>
> The bug surfaced once I started rewriting URLs with mod_rewrite. It
> appears that mod_jk sends a cookie2 header
Of course the simplest is to forward all protected content to Tomcat. If
you are using Form auth, this is pretty much your only option. It would be
a nice feature for (currently vapor-ware) AJP/1.4 however.
Otherwise, you have to configure the authorization in both Tomcat and Apache
in parall
Assuming that your Realm is really an o.a.c.Realm, then all you need is to
write an Authenticator to work with your Realm. Something like:
public class MyAuthenticator extends
org.apache.catalina.authenticator.AuthenticatorBase {
public boolean authenticate(Request request, Response res
Hi all,
The docs page top logo points to jakarta.apache.org also the
writing on the logo is of jakarta.apache.org.
--
rgds
Anto Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Hi all,
At Tomcat 5.5 docs home page the 6th documentation title is "6)
Realms and AAA". In it what does "AAA" means ? Just out of curiousity.
--
rgds
Anto Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
> From: Anto Paul [mailto:[EMAIL PROTECTED]
> Subject: What is "AAA" in "Realms and AAA" means ?
>
> In it what does "AAA" means ? Just out of curiousity.
Probably not the American Automobile Association in this context. It is
often used for Authentication, Authorization, and Accounting.
- Ch
Grzegorz Tańczyk wrote:
Hello
My configuration is:
- single machine with Slackware 10
- apache 2.0.55 with worker MPM
- tomcat 5.5.4
- mod_jk 1.2.15
Here is my apache<->tomcat configuration
[user]->[mydomain.com vhost]-ProxyPass->[localhost vhost]-JKMount->[Tomcat]
Perhaps pos
73 matches
Mail list logo