Re: DB Connection error

2012-01-09 Thread Ron McNulty
Hi Anjib Port 8080 looks very odd. For an Oracle XE database, this is an HTTP connection to the database admin console, but you need a TNS connection direct to the database. Try "telnet localhost 1521" from the command line. If this connects, you probably have a standard Oracle database on i

RE: SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Conway Liu
Thanks Pid. The problem was actually due to the network admin had to also update the proxy server. Only if he responds quicker to my emails and calls Regards Conway -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, 10 January 2012 8:36 a.m. To: Tomcat Users Lis

Re: Tomcat 7 service not starting

2012-01-09 Thread Konstantin Kolinko
2012/1/10 Caldarale, Charles R : >> From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] >> Subject: Tomcat 7 service not starting > >> I also upgraded Java from 1.6.0_20 to 1.6.0_30. > > Did you also perhaps change from a 32-bit to a 64-bit JVM (or vice-versa)?   > The mode of the JVM must ma

RE: Tomcat 7 service not starting

2012-01-09 Thread Caldarale, Charles R
> From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] > Subject: Tomcat 7 service not starting > I also upgraded Java from 1.6.0_20 to 1.6.0_30. Did you also perhaps change from a 32-bit to a 64-bit JVM (or vice-versa)? The mode of the JVM must match the mode of the Tomcat service wrappe

RE: Tomcat 7 service not starting

2012-01-09 Thread Liu, Conway (AP - NZ)
Hi, are you able to see the log files in the log folder? Conway -Original Message- From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] Sent: Tuesday, 10 January 2012 2:17 p.m. To: users@tomcat.apache.org Subject: Tomcat 7 service not starting Hello - I use Tomcat with the Business

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

2012-01-09 Thread Tim Watts
On Mon, 2012-01-09 at 15:55 -0800, James Lampert wrote: > Tim Watts (from the Tomcat Users List) wrote: > > Can you successfully run this command: > > > > keytool -list -keystore {path/to/your/keystore/file} -storepass > > {passwd-in-server.xml} > > It gives the same error message. And yes, EBCD

Tomcat 7 service not starting

2012-01-09 Thread Debbie Shapiro
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 InetSoft is to replace a couple of jar files, which I ha

Endorsed directory classloader

2012-01-09 Thread Ryan
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 usage of the endorsed/ directory: we place

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

2012-01-09 Thread James Lampert
Tim Watts (from the Tomcat Users List) wrote: Can you successfully run this command: keytool -list -keystore {path/to/your/keystore/file} -storepass {passwd-in-server.xml} It gives the same error message. And yes, EBCDIC is the default encoding for AS/400s. The attributes on /foo show that i

Re: Tomcat 7 SSL activation on AS/400?

2012-01-09 Thread Tim Watts
Can you successfully run this command: keytool -list -keystore {path/to/your/keystore/file} -storepass {passwd-in-server.xml} If so, perhaps it's a character encoding issue? Don't remember if AS/400 uses EBCDIC as its default character set. On Mon, 2012-01-09 at 14:42 -0800, James Lampert wro

Re: SSL Configuration Errors

2012-01-09 Thread Ognjen Blagojevic
Justin, On 9.1.2012 20:40, Justin Larose wrote: 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: ke

Re: Tomcat 7 SSL activation on AS/400?

2012-01-09 Thread Chema
>> >>    Caused by: java.io.IOException: Keystore was tampered with, or password >> was incorrect Well, I don't know what is the problem. I followed these steps and it worked : http://blog.frankel.ch/ssl-your-tomcat-7 Other option is HTTP Connector in your server.xml is incorrectly configured

Tomcat 7 SSL activation on AS/400?

2012-01-09 Thread James Lampert
I'm attempting to bring up SSL support in Tomcat 7, on an AS/400 (V6R1). Tomcat itself runs nicely, but following the instructions on http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html I am consistently getting: SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
Oh ok, thanks for the clarification. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, January 09, 2012 1:51 PM To: Tomcat Users List Subject: Re: DB Connection error 2012/1/9 Propes, Barry L : > I think some Oracle desktop installations, like Ora

Re: DB Connection error

2012-01-09 Thread Konstantin Kolinko
2012/1/9 Propes, Barry L : > I think some Oracle desktop installations, like Oracle XE, come with 8080 as > the out-of-the-box default port. AFAIK 8080 was used by Oracle XE for its web-based management console. Using it as a database URL is something new. I'd expect 1521 there. By the way, usin

Re: SSL Configuration Errors

2012-01-09 Thread Justin Larose
Chris, > This list strips non-text attachments. I will sent it in text format next time. > > I have used the keytool to delete all 3 certs (root, intermediate > > and primary) and readd them many times. I even just tried only the > > Primary cert with the alias tomcat as the only cert. But the l

Re: Why TC 7.0.22 can not response any request?

2012-01-09 Thread Pid
On 09/01/2012 09:38, 孙文 wrote: > Enviroment: > jdk 1.6.0_29 64bit > solaris 10 > TC 7.0.22 > every visual machine installed two tc 7.0.22,one 8080 , the other 8081. > > randomly tomcat can't response any request.but no oom,when use IE.the > PID is still there. > > attachment show something be l

Re: SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Pid
On 09/01/2012 10:44, Conway Liu wrote: > Hi Pid, > > I tried different browsers, and tried different computers. > > What command line tool are you talking about? Something like: curl or openssl p > Thanks > Conway > > -Original Message- > From: Pid * [mailto:p...@pidster.com] > Sent

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

2012-01-09 Thread Konstantin Kolinko
2012/1/9 : > 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, Have you read the docs? > but not sure where - possibly catalina.policy? That file

Re: SSL Configuration Errors

2012-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 1/9/12 2:24 PM, Justin Larose wrote: > I did import my cert with the alias tomcat. You can see that in > the screenshot here: This list strips non-text attachments. > I have used the keytool to delete all 3 certs (root, intermediate > and

Re: SSL Configuration Errors

2012-01-09 Thread Justin Larose
Christopher Schultz wrote on 01/06/2012 05:20:12 PM: > From: Christopher Schultz > To: Tomcat Users List > Date: 01/06/2012 05:20 PM > Subject: Re: SSL Configuration Errors > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > Justin, > On 1/6/12 2:56 PM, Justin Larose wrote: > > This Tomca

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

2012-01-09 Thread james
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 catalina.policy? Can anyone help?? Here's the error from the log file: 09-

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
I think some Oracle desktop installations, like Oracle XE, come with 8080 as the out-of-the-box default port. -Original Message- From: Chema [mailto:demablo...@gmail.com] Sent: Monday, January 09, 2012 12:03 PM To: Tomcat Users List Subject: Re: DB Connection error > Caused by: oracle.

Re: DB Connection error

2012-01-09 Thread Chema
> Caused by: oracle.net.ns.NetException: The Network Adapter could not > establish the connection >    at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375) >    at > oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422) >    at oracle.net.ns.NSProtocol.establishConne

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
I have following log com.anjib.exceptions.DAOException: Error in your database. at com.anjib.actions.GetMyListAction.execute(GetMyListAction.java:71) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProces

RE: DB Connection error

2012-01-09 Thread Propes, Barry L
Are you getting any kind of error in the logs? -Original Message- From: Anjib Mulepati [mailto:anji...@hotmail.com] Sent: Monday, January 09, 2012 9:22 AM To: Tomcat Users List Subject: Re: DB Connection error I did change my config.xml to And this morning when DB restart I had to

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
com.anjib.exceptions.ICDAOException: Error in your database. at com.anjib.actions.GetMyListAction.execute(GetMyListAction.java:71) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(Request

Re: DB Connection error

2012-01-09 Thread Chema
2012/1/9 Anjib Mulepati : > I did change my config.xml to > > > >            driverClassName="oracle.jdbc.driver.OracleDriver" >            maxActive="20" >            maxIdle="10" >            maxWait="-1" >            name="jdbc/myName" >            password="myPassword" >            testOnBorr

Re: DB Connection error

2012-01-09 Thread Anjib Mulepati
I did change my config.xml to And this morning when DB restart I had to restart the tomcat to get connection. What can be other solutions? On 1/3/2012 3:33 PM, Propes, Barry L wrote: I also have the following attributes in mine, for what it's worth. maxIdle="30" maxWait="1"

Re: Apache tribes deserialization issues

2012-01-09 Thread Filip Hanik - Dev Lists
your workaround is valid I would not expect thread context class loader to work, as the thread for deserializing is the thread from the tribes TCP thread pool On 12/29/2011 5:06 AM, Madhav Bhargava wrote: Hi All, We are using Apache tribes library for presence and inter node communication wit

Re: SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Ognjen Blagojevic
Conway, On 9.1.2012 11:19, Conway Liu wrote: Does anyone have any suggestion where might be wrong? Do you have anything between your browser and Tomcat? Apache HTTPd, perhaps, or some kind of load balancer with SSL termination? -Ognjen --

RE: SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Conway Liu
Hi Pid, I tried different browsers, and tried different computers. What command line tool are you talking about? Thanks Conway -Original Message- From: Pid * [mailto:p...@pidster.com] Sent: Monday, 9 January 2012 11:37 p.m. To: Tomcat Users List Subject: Re: SSL Certificate Update Not

Re: SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Pid *
On 9 Jan 2012, at 10:20, Conway Liu wrote: > Hi, > > We used to use Thawte for our SSL certificate. Today I installed new SSL > certificate issued by VeriSign and there were no errors. The primary and > secondary intermediate CAs both imported into the keystore file properly, > and then the SSL i

SSL Certificate Update Not Reflected on the Website

2012-01-09 Thread Conway Liu
Hi, We used to use Thawte for our SSL certificate. Today I installed new SSL certificate issued by VeriSign and there were no errors. The primary and secondary intermediate CAs both imported into the keystore file properly, and then the SSL issued by VeriSign imported as well. I updated the ser

Re:Why TC 7.0.22 can not response any request?

2012-01-09 Thread 孙文
server.xml snippets. At 2012-01-09 17:39:46,"孙文" wrote: Enviroment: jdk 1.6.0_29 64bit solaris 10 TC 7.0.22 every visual machine installed two tc 7.0.22,one 8080 , the other 8081. randomly tomcat can't response any request.but no oom,when use IE.the PID is still there. attachment show