Re: tomcat announce / tomcat security mailing list

2008-12-23 Thread André Warnier
Stephanie Wullbieter wrote: Because there isn't one. You can use one of the searchable lists to find announcements (e.g., http://marc.info/?l=tomcat-user, search for ANN), or searching for a subject ann does not work for me on the above link. the results are from other lists. look on the

File Not Found when serving SSL

2008-12-23 Thread Emsley, I (Iain)
Morning, I'm using Tomcat 5.5.23 on Windows Server 2003 using JDK 1.6.0_07 and I've just got SSL working on port 8443. I'm trying to serve up some static files from webapps/ROOT (which work when not running SSL) but I get the response: 08:36:37,383 ERROR [BwSvciFilter] Callback

Re: tomcat announce / tomcat security mailing list

2008-12-23 Thread Gregor Schneider
Stephanie, Charles did not recommend to search the list for ann but for ANN - please notice the difference. If that's all too complicated for you maybe this suggestion helps: - Subscribe to the Tomcat-Users-Mailinglist (not the digest) - create the following filter: if (from ==

Re: Tomcat 5.5 error

2008-12-23 Thread Gregor Schneider
Is Tomcat running? Do you see the welcome-page when opening http://localhost:8080? What gives netstat -lnp? Do you see any application listening on port 8080? Gregor PS.: To help keep messages readable, please do not fullquote the whole thread but only the necessary details. -- just because

Re: Tomcat 5.5 error

2008-12-23 Thread Gregor Schneider
One more thought to ease up things: - stop Tomcat - delete ALL / MOVE logfiles - restart server - resdtart Tomcat Now, please post the contents of all log-files. This procedure will make sure that the logs are as short as possible but contain the important things - if any. Gregor -- just

Sessions not releasing for Apache-Tomcat 5.523

2008-12-23 Thread sudip pattanayak
Dear Sudip, But recently there are couple of occasions where one or more users are failing to forcefully logoff the session.(thelogs shows clearly the pending sessions keeps on increasing and the value unbound is never called for the particular user failing to forcefully logoff. Well, we

Re: How to install the session cookie into the original request of the secure area?

2008-12-23 Thread Dominic Mitchell
On 23 Dec 2008, at 04:56, removeps-gro...@yahoo.com wrote: There are other requests such as wpad.dat. No idea what that is. It's a web-proxy auto detect file. http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol -Dom

RE: File Not Found when serving SSL

2008-12-23 Thread Caldarale, Charles R
From: Emsley, I (Iain) [mailto:iain.ems...@stfc.ac.uk] Subject: File Not Found when serving SSL I'm using Tomcat 5.5.23 on Windows Server 2003 using JDK 1.6.0_07 and I've just got SSL working on port 8443. As previously asked: with or without APR? (The question may be moot, given the

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
Thanks for the help. I just tried it and it still does work. Here is the exact content of my current server.xml and my context.xml Server.xml: ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener

Re: Tomcat 5.5 error

2008-12-23 Thread zia mohades
Hi gregor, Thank you kindly for your help! 1) when I run the server and then access the http://localhost:8080 I do see the page which on top it has this message: If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations! but when I try to access

Re: Tomcat 5.5 error

2008-12-23 Thread Steve Ochani
On 22 Dec 2008 at 22:16, zia mohades wrote: hello steve, Hi, Thank you again. I have done the following 1) restarted the server 2) accessed the http://localhost:8080/mms_test again however once I tried to access the log at /usr/local/tomcat/logs , I realized that there is no log

RE: Tomcat 5.5 error

2008-12-23 Thread Mojumdar, Biswajit
Remember, this list automatically deletes the attachments. You might want to copy and paste the contents of the web and context.xml and repost them again. - Biswajit From: zia mohades [mailto:zia.si...@gmail.com] Sent: Tuesday, December 23, 2008 3:56

Re: Tomcat 5.5 error

2008-12-23 Thread Gregor Schneider
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) This message is pretty obvious: Is it possible that you've started Tomcat as root incidently and now try to run Tomcat as another user (such as tomcat)? Looks as if there is at least one file where the rights are

Re: Tomcat 5.5 error

2008-12-23 Thread zia mohades
Hi steve, Before starting the server, I used sudo -s to loggin as root. and then run the server and then access tomcat online(http://localhost:8080/) when i do ls -l /usr/local/tomcat/webapps/ROOT i get: -rw-r--r-- 1 mohadesz mohadesz 5866 2007-07-19 22:20 asf-logo-wide.gif -rwx-- 1

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread Caldarale, Charles R
From: arturoguedez [mailto:arturo.gue...@gmail.com] Subject: Re: Tomcat 6 JDBC connection not found I'm confused. Here it says you're using MySQL: Resource name=jdbc/workout_logger auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1

RE: Tomcat 5.5 error

2008-12-23 Thread Caldarale, Charles R
From: Mojumdar, Biswajit [mailto:biswajit.mojum...@hud.gov] Subject: RE: Tomcat 5.5 error Remember, this list automatically deletes the attachments. No, it only deletes certain attachments, but not .xml files. The ones included by ZM came through fine. - Chuck THIS COMMUNICATION MAY

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
post the actual error you see with the new config arturoguedez wrote: Thanks for the help. I just tried it and it still does work. Here is the exact content of my current server.xml and my context.xml Server.xml: ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN

Re: unable to login to second application because of password digest issues

2008-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: MessageDigester.digest() returns an array of bytes this will produce a DataType conversion error to/from String without constructing a new String datatype Nobody is trying to to convert to/from a String

Re: Server returned HTTP response code: 408 for URL: https...j_security_check

2008-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, (Can you set your name in your email client? It's irritating to write to an email address that doesn't indicate a name. You also don't include your name in your posts.) removeps-gro...@yahoo.com wrote: URL url = new

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread ssenecal
Is there any chance of getting this backported to 6.0.18? I'm hoping to not have to maintain a custom release of Tomcat in order to address the issue :) Filip Hanik - Dev Lists wrote: yes, that is correct Alex Talis wrote: Filip, does this mean that this fix will be in 6.0.19

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
Yes, I am also using Hibernate with mysql in the back end. Here is the thing, I have my application working with data sources and hibernate using glassfish, and I am just trying to deploy the same WAR into Tomcat and get it working with Tomcat. The hibernate jars are in my WAR, and the mysql jars

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Filip Hanik - Dev Lists
already there http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?r1=719262r2=719267 Filip ssenecal wrote: Is there any chance of getting this backported to 6.0.18? I'm hoping to not have to maintain a custom release of Tomcat in order to address

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Shaun Senecal
Thats odd... I am still getting the NPE on startup. Is it included in the binaries downloaded or do I need to rebuild myself for this patch to take effect? On Wed, Dec 24, 2008 at 11:01 AM, Filip Hanik - Dev Lists devli...@hanik.com wrote: already there

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
The error hasn't actually changed from the one I posted originally. Is there any way of changing Tomcat's logging to display more information? I know there is a reference to a Ejb3Configuration.buildEntityManagerFactory but i am not actually using EJB3's. I am just using the

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Filip Hanik - Dev Lists
its in the source control repository, and that means it will be included in the next release 6.0.19 Filip Shaun Senecal wrote: Thats odd... I am still getting the NPE on startup. Is it included in the binaries downloaded or do I need to rebuild myself for this patch to take effect? On Wed,

Re: NullPointerExceptions on startup with NIO connector

2008-12-23 Thread Shaun Senecal
Right. I was hoping there was a way to get it included in the 6.0.18 binaries, but that would mean you would have to make a new release. Stupid question, sorry. I will just have to maintain a custom build until 6.0.19 is released. On Wed, Dec 24, 2008 at 11:26 AM, Filip Hanik - Dev Lists

Re: Tomcat 5.5 error

2008-12-23 Thread Bill Barker
I've confirmed that yes, this is a bug in 5.5.x. Go ahead and enter in a bug report at http://issues.apache.org/bugzilla. I haven't checked on 6.x and 7.x. The problem is that the compiler optimizes out references to o.a.coyote.Constants so the class isn't loaded in trusted code (with the

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread Caldarale, Charles R
From: arturoguedez [mailto:arturo.gue...@gmail.com] Subject: RE: Tomcat 6 JDBC connection not found The hibernate jars are in my WAR, and the mysql jars are in my WAR and in TOMCAT/lib. There's one problem: the MySQL jars must be *only* in Tomcat's lib directory; you must remove them from

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
check the logs earlier, if you havent moved the mysql-xxx.jar into TC_HOME/lib, then tomcat can't create the connection pool, and the JDBC name will not exist Filip arturoguedez wrote: The error hasn't actually changed from the one I posted originally. Is there any way of changing Tomcat's

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
Hi Filip, I found the problem. It had to do with how a datasource is retrieved from the data context. I found this out after digging in the source code of Hibernate. It seems, like when I wrote a simple servlet to get a connection like this: String datasourceName = jdbc/workout_logger Context