Re: Tomcat 7 service not starting

2012-01-10 Thread Pid
On 10/01/2012 01:16, Debbie Shapiro wrote: Hello - I use Tomcat with the Business Intelligence Web Application InetSoft. I am in the process of upgrading our development server to their latest version (11.2). I also upgraded Java from 1.6.0_20 to 1.6.0_30. The upgrade procedure for

Re: Endorsed directory classloader

2012-01-10 Thread Pid
On 10/01/2012 00:47, Ryan wrote: Hi- I've got single Tomcat instance with 10 different webapps deployed. I'm in the process of converting the webapps logging from using Tomcat's JULI via java.util.logging to SLF4J, initally backed by log4j. I've run into a classloader problem due to my

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-10 Thread Pid
On 09/01/2012 19:22, ja...@mobilewebexpert.co.uk wrote: Hiya, I've just turned on Tomcat's Security Manager and (not surprisingly) I'm now having a problem running my webapp. I know I probably need to specify some security privileges somewhere, but not sure where - possibly

Re: tomcat7 autoDeploy problem..

2012-01-10 Thread Pid
On 10/01/2012 00:04, 이재만 wrote: hi. clould somebody help me to AutoDeploy reload problem.. false, I was set to autodeploy. Why reloading the source again?on tomcat7 with autoDeploy=false ??? thank you. Are you using Eclipse or an IDE? How are you deploying the update application, is it a

multi-tented connection queues

2012-01-10 Thread Tharindu Patikirikorala
Hi All, I am doing a case study to make tomcat to host multi-tented web applications. i.e., a single web application/service container is serving logically partitioned customers. For the basic implementation (let’s say number of customers/tenant are 2) I want to make following modifications.

Re: multi-tented connection queues

2012-01-10 Thread André Warnier
Tharindu Patikirikorala wrote: Hi All, I am doing a case study to make tomcat to host multi-tented web applications. i.e., a single web application/service container is serving logically partitioned customers. For the basic implementation (let’s say number of customers/tenant are 2) I want to

Re: SSL Configuration Errors

2012-01-10 Thread Justin Larose
Ognjen, You must use the same keystore and same alias when you: 1. generate key, 2. generate csr, 3. import certificate. Example: keytool -genkey ... -keystore xxx.jks -alias yyy keytool -certreq ... -keystore xxx.jks -alias yyy and later keytool -import -trustcacerts ... -keystore

Re: multi-tented connection queues

2012-01-10 Thread Pid
On 10/01/2012 12:25, Tharindu Patikirikorala wrote: Hi All, I am doing a case study to make tomcat to host multi-tented web applications. i.e., a single web application/service container is serving logically partitioned customers. For the basic implementation (let’s say number of

Re: response.isCommited() returns false after sendRedirect is called?

2012-01-10 Thread Polina Genova
Hi Konstantin, You previously said: The spec says about HttpServletResponse. isCommitted(), but your valve is calling org.apache.catalina.connector.Response.isCommitted(). But org.apache.catalina.connector.Response implements HttpServletResponse. Don't you think it should conform with the spec

Re: response.isCommited() returns false after sendRedirect is called?

2012-01-10 Thread Pid
On 10/01/2012 14:31, Polina Genova wrote: Hi Konstantin, You previously said: The spec says about HttpServletResponse. isCommitted(), but your valve is calling org.apache.catalina.connector.Response.isCommitted(). But org.apache.catalina.connector.Response implements HttpServletResponse.

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-10 Thread james
Thanks for the reply. Afraid I'm very new to Tomcat - please could you explain to me what changes I need to make to catalina.policy? Thanks, James - Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 10, 2012 9:19 AM

Re: SSL Configuration Errors -- Resolved

2012-01-10 Thread Justin Larose
All, This seems to be the problem. How do I set my imported cert as a key entry or get Tomcat to read it as a CertEntry? You must use the same keystore and same alias when you: 1. generate key, 2. generate csr, 3. import certificate. Example: keytool -genkey ... -keystore xxx.jks

Re: Tomcat 7 SSL activation on AS/400? (Cross-posted to JAVA400)

2012-01-10 Thread James Lampert
Tim Watts wrote: That's a possibility if it's padding the passwords as well. I'm not an AS/400 expert by any means. Is /foo a preallocated file and if so could the problem be with the way it was allocated? The Java-400 list over at Midrange.com is also in on this (albeit not this specific

Re: Tomcat 7 SSL activation on AS/400? (Cross-posted to JAVA400)

2012-01-10 Thread Tim Watts
On Tue, 2012-01-10 at 09:35 -0800, James Lampert wrote: Tim Watts wrote: That's a possibility if it's padding the passwords as well. I'm not an AS/400 expert by any means. Is /foo a preallocated file and if so could the problem be with the way it was allocated? The Java-400 list over

SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Dear users I'm unable to get a Hello World Servlet running from my browser.  Configuration: Windows XP Version 2002 service pack 3 Apache-tomcat-7.0.23-windows-x86 CATALINA_HOME = c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23 CLASSPATH= 

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Mark Thomas
On 10/01/2012 18:28, Alastair Baldwin wrote: Dear users I'm unable to get a Hello World Servlet running from my browser. Configuration: Windows XP Version 2002 service pack 3 Apache-tomcat-7.0.23-windows-x86 CATALINA_HOME = c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23

RE: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Caldarale, Charles R
From: Alastair Baldwin [mailto:alastairgbald...@yahoo.co.uk] Subject: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 CLASSPATH= .;c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23\servlet-api.jar  Probably not the cause of your problem, but don't set the

RE: Tomcat 7 service not starting

2012-01-10 Thread Debbie Shapiro
Thank you all for your responses. Combining all the questions and answers into one email... Hi, are you able to see the log files in the log folder? Conway A: Yes, I can see the log files. The localhost file says catalina serviceManager initalized successfully. Commons-daemon has the

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Excuse my ignorance, but I had the package information in place and had the same error so I tried to simplify it by removing the package details from HelloWorldServlet.java and the webapps directory. Is a package essential for tomcat to work? - Original Message - From: Mark Thomas

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Mark Thomas
On 10/01/2012 18:38, Alastair Baldwin wrote: Excuse my ignorance, but I had the package information in place and had the same error so I tried to simplify it by removing the package details from HelloWorldServlet.java and the webapps directory. Is a package essential for tomcat to work?

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes Alastair - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, 10 January 2012, 18:41 Subject: Re: SEVERE: Allocate exception for servlet helloworld

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Mark Thomas
On 10/01/2012 19:14, Alastair Baldwin wrote: My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes Which should be: CATALINA_HOME/webapps/WEB-INF/classes Case matters. Mark - To unsubscribe, e-mail:

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Mark Thomas
On 10/01/2012 19:20, Mark Thomas wrote: On 10/01/2012 19:14, Alastair Baldwin wrote: My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes Which should be: CATALINA_HOME/webapps/WEB-INF/classes Scratch that. It should be: CATALINA_HOME/webapps/appname/WEB-INF/classes Mark

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
That was it, I can't believe it was so trivial. Thank you so much Alastair - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, 10 January 2012, 19:24 Subject: Re: SEVERE: Allocate exception for servlet helloworld

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-10 Thread Pid
On 10/01/2012 15:51, ja...@mobilewebexpert.co.uk wrote: Thanks for the reply. Afraid I'm very new to Tomcat - please could you explain to me what changes I need to make to catalina.policy? It's can be tricky and it's application specific. You'll need to add specific policy rules that permit

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Pid
On 10/01/2012 18:34, Caldarale, Charles R wrote: From: Alastair Baldwin [mailto:alastairgbald...@yahoo.co.uk] Subject: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 CLASSPATH= .;c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23\servlet-api.jar Probably

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Sorry that was a typo - Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, 10 January 2012, 20:00 Subject: Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 On 10/01/2012 18:34, Caldarale, Charles R

Re: Tomcat 7 SSL activation on AS/400?

2012-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 1/9/12 6:32 PM, Tim Watts wrote: Can you successfully run this command: keytool -list -keystore {path/to/your/keystore/file} -storepass {passwd-in-server.xml} Good idea. If so, perhaps it's a character encoding issue? Don't remember

Re: Tomcat 7 service not starting

2012-01-10 Thread André Warnier
Debbie, It looks all a bit confusing, particularly since - you tell us about logfiles, but without providing the exact path/filename of each file - the timestamps in some of these files indicate events which happened almost 24 h apart - some of these messages are not errors; they look like

periodic (60 sec) problem from Vysper bosh servlet embedded in Tomcat 7.0.23

2012-01-10 Thread Bob DeRemer
Tomcat Community, I'm not sure if this should be posted here or on the Mina/Vysper list, but since the problem seems to be around Jetty Servlet3 continuation functionality within the context of Tomcat, I thought I'd post here first. PROBLEM We're using vysper in an embedded mode and have

RE: Tomcat 7 service not starting

2012-01-10 Thread Debbie Shapiro
Sorry for the confusion. The log files are the ones in the Tomcat\logs directory. I don't know why that one file has 1-8-2012 dates. The file was created on 1-9-2012, thus the confusion. I attempted to restart the service again today and it generated three files: tomcat7-stderr, tomcat7-stdout

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-10 Thread james
Basically, I've created a webapp which runs fine on my development machine, but our actual hosting is shared (and uses a Security Manager) and some new libraries we're using throws up loads of exceptions which we need to replicate locally, hence the need for me to activate the Security Manager.

Re: Tomcat 7 SSL activation on AS/400? (Cross-posted to JAVA400)

2012-01-10 Thread James Lampert
Well, using a keystore created on my WinDoze box, and FTP'd to the 400 definitely works: Port 8443 came right up. But that still leaves open the question of why on earth keytool fails to create valid keystores on the 400, whether run from QShell or QP2Term. Inquiring minds want to know.

RE: Tomcat 7 service not starting

2012-01-10 Thread Debbie Shapiro
I was able to get this woring again just by reinstalling the 64-bit Java 1.6.0_30 JRE. Not sure what went awry, but it's working now. Yay! Thanks for all your help! Debbie Shapiro Data Warehouse Manager Cardiac Science Office: 425.402.2233 Visit us at www.cardiacscience.com

RE: Re: tomcat7 autoDeploy problem..

2012-01-10 Thread 이재만
Hi. thank you for responding. i operated two tomcats at each machine. two machines have same specification and tomcat version. i copyed all tomcat configrations to other machine and tested AutoDeoploy.. but when i touched one's web.xml tomcat was reloading all classes but other didn't i

Re: Tomcat 7 service not starting

2012-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Debbie, On 1/10/12 4:41 PM, Debbie Shapiro wrote: Tomcat7-stdout: 2012-01-10 12:46:15 Commons Daemon procrun stdout initializedError occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object It's clear that

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-10 Thread Kiran Badi
Sorry I need some more help, have one more weird issue at my plate now, I am using base tag and pulling out the webapplication context path to it like this so that all links in the page becomes relative to this path,i am doing something like below, base

Re: Tomcat 7 service not starting

2012-01-10 Thread André Warnier
Debbie Shapiro wrote: I was able to get this woring again just by reinstalling the 64-bit Java 1.6.0_30 JRE. Not sure what went awry, but it's working now. Yay! Thanks for all your help! Good. There is still something quite bizarre in those logs below : it looks like, after each startup