Tomcat INFO message

2008-07-14 Thread w.delacruz
Hi...when i deploy a java web application in Tomcat 6 i got this error message, Jul 14, 2008 10:30:00 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load java.lang.Object. The eventual following

Re: Graceful shutdown

2008-07-14 Thread Ben Stringer
On Mon, 2008-07-07 at 00:10 -0700, Antonio Parolini wrote: > Hi, Ben > > > 1) Define a status worker [1] and one (or more) workers. > > Interresting. Will this status worker thing work -without- a webserver as > Frontend (like Apache) ? Hi Antonio, No, to the best of my knowledge, you need to

Re: is it possible more than 1 tomcat in single system?

2008-07-14 Thread Sameer Acharya
How do you start them now ? I would think that if you are running the startup batch/cmd files then the easiest way would be to write one single batch/cmd file to kick off both the startup scripts from whatever locations they are installed. -Sameer --- On Mon, 7/14/08, Edi <[EMAIL PROTECTED]>

Re: tomcat based webmail

2008-07-14 Thread AngeloChen960
Hi Ken, Thanks , but my need is, I have a smtp server running in the same server where my tomcat based web pages are running, I need to read email, I'd like to install a web based email system so that I can just read it using a browser, there are many web based email systems available, but all re

Re: tomcat based webmail

2008-07-14 Thread Ken Bowen
Hi Angelo, Here's something from: Oct 4, 2007 at 1:33 PM, Ken Bowen <[EMAIL PROTECTED] > wrote: Sun's JavaMail (mail.jar -- you need activation.jar too) does a good job of simple mail sending (and it has lots of nice debugging for figuring out just how far things got). It can be run dire

tomcat based webmail

2008-07-14 Thread AngeloChen960
Hi, Is there a web based email system that can be used with tomcat without the need of a regular web server like Apache? thanks. Angelo -- View this message in context: http://www.nabble.com/tomcat-based-webmail-tp18456449p18456449.html Sent from the Tomcat - User mailing list archive at Nabbl

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
János wrote: Filip, You are right. I called the session example wrongly via the "bml0042.yalepath.org" host, but that was not configured. As soon as I called it via the "localhost" host - which was glad you got it working configured - it worked fine. Here is the log from node3: bml0042:/

Re: Tomcat 6 Secure Connection to Database

2008-07-14 Thread Jim Cox
On Mon, Jul 14, 2008 at 5:27 PM, jcarey03 <[EMAIL PROTECTED]> wrote: > > I am working with Tomcat 6 for a Java web application, and I was wondering > if > Tomcat provides the capability to connect to a database, let's say Sybase's > ASE, using SSL. Is there any documentation describing how to do

RE: Apache/Tomcat - mod_jk can't receive response from Tomcat

2008-07-14 Thread Bajbutovic, Zoran
Hi, We have Apache and Tomcat running on different servers, using mod_jk. >From time to time we got the following errors from Tomcat. [Thu Jul 10 16:43:21 2008] [jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has been sent to the client (yet)

Re: [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

2008-07-14 Thread Mark Thomas
Eric Hawkes wrote: Hi, This issue has been fixed ... in 5.5.27 and 6.0.17. It is anticipated that these versions will be released shortly. It's been about six weeks. Is there any further information on when Tomcat 5.5.27 will be released? Thanks, Eric No plans as yet. From past exp

RE: [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

2008-07-14 Thread Eric Hawkes
Hi, > This issue has been fixed ... in 5.5.27 and 6.0.17. > It is anticipated that these versions will be released shortly. It's been about six weeks. Is there any further information on when Tomcat 5.5.27 will be released? Thanks, Eric -Original Message- From: Mark Thomas [

Re: Instantiating a class in shared/lib

2008-07-14 Thread MrVisser
I'm really sorry everyone I've flooded your Mailing List - I'm new. The spring library that I needed wasn't being shared either - which caused a *very* silent error when running Class.forName. I have it working now. Sorry again, Branden MrVisser wrote: > > Hello, > > I'm using spring, and

Re: Instantiating a class in shared/lib

2008-07-14 Thread MrVisser
Umm.. I fixed my directories and I'm getting the same problem :( Now both A.jar and B.jar are in shared/lib, and the same problem occurs. loadClass will find spring.B, but Class.forName crashes when trying to initialize it.. Any thoughts? Thanks, Branden MrVisser wrote: > > Hello, > > I'm

Tomcat 6 Secure Connection to Database

2008-07-14 Thread jcarey03
I am working with Tomcat 6 for a Java web application, and I was wondering if Tomcat provides the capability to connect to a database, let's say Sybase's ASE, using SSL. Is there any documentation describing how to do this? If Tomcat does not support this, does JBoss? Thanks in advance! -- Vie

Re: Apache/mod_jk serves random files from tomcat

2008-07-14 Thread Rainer Jung
dave.smith schrieb: Wow. That's weird. Is Tomcat serving the file, or is httpd serving it? Not too weird. I am experiencing the same thing with Tomcat 5.5 and mod_jk 1.2.23. I have Tomcat serving everything. I am also using a load balancer that sends an OPTION every 2 seconds to each web ser

Re: Instantiating a class in shared/lib

2008-07-14 Thread MrVisser
I just solved my problem. Unfortunately 4hrs after I encountered it :) It's very silly. For whoever may run into this: I did not use "scope provided" in the Maven POM file in the servlet webapp, therefore 'A.jar' in my example below was being deployed into the webapps WEB-INF/lib and over-riding

Instantiating a class in shared/lib

2008-07-14 Thread MrVisser
Hello, I'm using spring, and invoking the application context to load on a static method. I am triggering this static method in the init() method of a servlet. I have the following 3 classes: public interface api.A public class static.A //which has static method load(String implClass) public

Re: Possibility of JSVC daemon with APR reacting strangely to TCP health checks

2008-07-14 Thread Andrew Ralph Feller, afelle1
After stepping through the tcpdump, we determined that the health checks are Layer 4 TCP health checks where the load balancer doesn't provide any HTTP request information whatsoever and closes the connection as soon as it is established. Here is the play-by-play of tcpdump: Source

Re: Servlet.jar

2008-07-14 Thread Jonathan Mast
Don't forget to include jsp-api.jar in your build process as well, as its contents were formerly contained by servlet.jar. On Mon, Jul 14, 2008 at 2:51 PM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote: > > It is lib/servlet-api.jar > > Thank you - perfect. > > S. > > ---

Re: Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
> It is lib/servlet-api.jar Thank you - perfect. S. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LifecycleException: Manager has not yet been started

2008-07-14 Thread gbattine
Hello guys, I need your help to solve my question. I developed a jsp application. I tested it in local with tomcat 5.5 and it works correctly. I bought a web space with the same web server, I copied file of web application on web server, I run application and index page is shown. I do login and a

Re: Version 6 Clustering problem

2008-07-14 Thread János
Filip, You are right. I called the session example wrongly via the "bml0042.yalepath.org" host, but that was not configured. As soon as I called it via the "localhost" host - which was configured - it worked fine. Here is the log from node3: bml0042:/usr/local/tomcat janos$ cat node3/l

@PersistenceUnit Example

2008-07-14 Thread Andrew n marshall
Does anyone have an example of how to configure resource injection for EntityManagerFactory/PersistenceUnits? I'm using Hibernate with a JNDI database (MySQL), but any example would be a big help. I think I should be using the tags of context.xml, but I don't know how to add the Hibernate

Re: Apache/mod_jk serves random files from tomcat

2008-07-14 Thread dave.smith
> Wow. That's weird. Is Tomcat serving the file, or is httpd serving it? Not too weird. I am experiencing the same thing with Tomcat 5.5 and mod_jk 1.2.23. I have Tomcat serving everything. I am also using a load balancer that sends an OPTION every 2 seconds to each web server to make sure tha

Re: Possibility of JSVC daemon with APR reacting strangely to TCP health checks

2008-07-14 Thread Len Popp
The obvious question is, are these TCP health checks well-formed HTTP requests or not? I guess it's hard to snoop the exact contents of the request since it's sent via SSL, but maybe you could configure it to send the exact same health checks to port 80 via plain HTTP. Then you could use Wireshark

Re: Servlet.jar

2008-07-14 Thread Steve Ochani
Date sent: Mon, 14 Jul 2008 17:34:22 +0100 From: Stephen Nelson-Smith <[EMAIL PROTECTED]> Subject:Servlet.jar To: Tomcat Users List Send reply to: Tomcat Users List > Hi, > > I have an application which makes use of ser

Re: Reuse Windows Logon credentials

2008-07-14 Thread Steve Ochani
Date sent: Mon, 14 Jul 2008 17:54:02 +0200 From: Faris Ahmed <[EMAIL PROTECTED]> Subject:Reuse Windows Logon credentials To: users@tomcat.apache.org Send reply to: Tomcat Users List > Dear list, > > I would like use Tomcat instead of IIS in this environment: > > > > 1)

Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
Hi, I have an application which makes use of servlet.jar, as found in the tomcat 4 release. Under tomcat 6 this isn't anywhere to be found, so my app doesn't work unless I copy the tomcat 4 jar over. Is there a tomcat 6 equivalent? S. --

issue 44494 (Requests greater that 8K being truncated)

2008-07-14 Thread Hyatt, Gordon
By the comments in issue 44494, this bug appears to be fixed and is planned to be released in the next update of Tomcat 5.5.x. I've taken a quick look on the Tomcat site and didn't find a release plan. My question is: What, if any, is the timeframe for this next release? I've been bitten by

Reuse Windows Logon credentials

2008-07-14 Thread Faris Ahmed
Dear list, I would like use Tomcat instead of IIS in this environment: 1) Client computer running Windows Internet Explorer. 2) Web server computer running a web application in Microsoft IIS 6.0. 3) Database server computer running Microsoft SQL server with Windows Authentic

Re: Request Body Greater Than 8192

2008-07-14 Thread Troy Davidson
Markus, That was the problem. I switched how I get the request body and it works. Thanks for pointing me in the right direction. Troy Davidson Senior Programmer Maverik, Inc. 880 W. Center St. NSL, Utah 84054 801-335-3887 Office 801-663-1460 Cell Thank you for allowing us to service yo

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 7:46 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > Use request.getRemoteUser() > > HTH > > > Rainer > Thanks Rainer. I am now using Tomcat6(latest stable release) and configured the server.xml with ajp connector to use tomcatAuthentication=false and I am still getting th

Re: Cluster session replication problems

2008-07-14 Thread Filip Hanik - Dev Lists
hi Georgiu, I just tested your configuration on tomcat 6.0.17 with JDK 1.5 with no problem. can you send the stack trace of the error you are seeing, thanks Filip georgiu marius wrote: Hi ! I'm working with a cluster application using Tomcat-6.0.14 and I want to make session replication using

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
write your own webapp, to make sure you actually replicate serializable data Filip János wrote: Hi Filip, I added it in the catalina.sh file on all three nodes and I am not seeing the error. I also disabled IP6 in Network Preferences. I added the distrubuted="true" to the context.xml file

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
I tried out Tomcat6 too and added 'tomcatAuthentication="false"' to the ajp connector but that still not work. :-( On Mon, Jul 14, 2008 at 7:15 PM, Nikhil <[EMAIL PROTECTED]> wrote: > Rainer, > I seem to have found a related link on this but this is really old > pertaining to the older version

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Rainer Jung
Nikhil wrote: OK After editing the change in the ajp connector, and restarting the tomcat, I still am not able to get the remote_user variable passed. Any suggestions? (Although I am still to try out the Tomcat6, but would prefer for fixing the existing installation unless ther

Possibility of JSVC daemon with APR reacting strangely to TCP health checks

2008-07-14 Thread Andrew Feller
Is there any reason why Tomcat running under the JSVC daemon using the Apache Portable Runtime for SSL would act erratically to TCP health checks? We are using a Juniper DX for load balancing that uses TCP health checks to port 443 of a Tomcat instance in order to keep the machine in the forwardin

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
Rainer, I seem to have found a related link on this but this is really old pertaining to the older versions of Tomcat.. any suggestions please. http://marc.info/?t=10431829842&r=1&w=2

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 5:00 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > > Again, the http connector is *not* what you need to edit, if you want to > combine Tomcat with mod_jk or mod_proxy_ajp. It is the AJP connector. See my > previous mail. > > You need to add tomcatAuthentication="false" to t

Re: is it possible more than 1 tomcat in single system?

2008-07-14 Thread Vinay Chilakamarri
I guess you are trying to host different resources on different ports. Running multiple Tomcat instances will just occupy unnecessary resources. You could configure Virtual Hosts( http://wiki.apache.org/tomcat/CreateVirtualHosts) and accomplish the same thing that you are doing right now. When you

Re: is it possible more than 1 tomcat in single system?

2008-07-14 Thread Edi
i have installed two tomcats 1. 1st tomcat have installed in c:\program files\Tomcat5.0 with port 8080 2. 2nd tomcat have installed in f:\program files\Tomcat5.0 with port 8081 how can i start and work both tomcat at the same time. thanks and regards, edi Edoardo Panfili wrote: > > Edi ha sc

RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-14 Thread Jonas Wagner
Hello, It looks to me as if you didn't configure any SMTP server. You need to do something like: Properties smtpProperties = new Properties(); smtpProperties.put("mail.smtp.host", "smtp.example.com"); smtpProperties.put("mail.smtp.auth", "true"); // create the mime message Session session =

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Rainer Jung
Nikhil wrote: On Mon, Jul 14, 2008 at 4:22 PM, Nikhil <[EMAIL PROTECTED]> wrote: On Mon, Jul 14, 2008 at 2:39 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: First of all 5.5.12 is very outdated and also very early in the 5.5 release cycle. You need to add 'tomcatAuthentication="false"' in the

RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-14 Thread Carlos Morales Diego
This is the source Mail has been sent Compruebe bandeja de entrada Mail has been sent Pulse aquí para enviar otro -- > From: [EMAIL PROTECTED] > To: users@tomcat.apa

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 4:22 PM, Nikhil <[EMAIL PROTECTED]> wrote: > > > On Mon, Jul 14, 2008 at 2:39 PM, Rainer Jung <[EMAIL PROTECTED]> > wrote: > >> >>> First of all 5.5.12 is very outdated and also very early in the 5.5 >> release cycle. >> >> You need to add 'tomcatAuthentication="false"' in

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 2:39 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > >> First of all 5.5.12 is very outdated and also very early in the 5.5 > release cycle. > > You need to add 'tomcatAuthentication="false"' in the Connector element for > your AJP connector. The connector you showed us above

javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-14 Thread Carlos Morales Diego
Hey all, I'm having problems with Javamail and I don't know why, the trace of the mistake is this one: org.apache.jasper.JasperException: Exception in JSP: /sendmail.jsp:22 19: Store store=s.getStore("pop3"); 20: store.connect("pop.correo.yahoo.es","[EMAIL PROTECTED]","bezos11"); 21

Re: MOD_JK 1.2.26 woker init fails

2008-07-14 Thread Kashif Ali
Hi Rainer, The JKoptions set are as follows: JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories I will get the debug logging on and test and attach the log file. Currently I am using mod_proxy AJP. The funny thing is If I use mod_jk 1.2.23 I dont need to change anything

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Rainer Jung
Nikhil wrote: The remote user gets forwarded automatically, but in order to make Tomcat accept that info and not try to authenticate itself, you need to set tomcatAuthentication="false" in the ajp connector element in server.xml. See also http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html

Re: manager access configuration

2008-07-14 Thread Mark Thomas
Jack Wu wrote: Hello: I have problem with enable user to have either manager or admin access privilege. I modified /conf/tomcat-users.xml file to the following: even I change username name to username="jxw002" which is my login id, and password accordingly, I still have