Re: SSL Not working on tomcat 5.5.29

2010-07-12 Thread kareem_s_m

Hi All,

If I rename tcnative-1.dll in the bin folder then the site on SSL works. I
am not that knowledgeable on thie dll. Any comments or ideas please? I got
this suggestion from google but no specific reason.

Regards,
Kareem

Pid * wrote:
 
 On 02/07/2010 06:30, kareem_s_m wrote:
 
 Hi All,
 
 I am working on upgrading tomcat from 5.5.28 to 5.5.29 for one of the
 applications. I see that the website renders and works fine in 5.5.29 on
 port 8080 (non SSL) but with  SSL (port 8443) the website doesnot run at
 all. When I try to see what's going on in Fiddle, I see 502 error. Also
 nothing is written to the log flies. It is as if tomcat is not even
 running
 in port 8443.
 
 Under tomcat 5.5.28, the site renders fine with SSL and non SSL.
 
 Is there something I could be missing?
 
 Are the Connector definitions in server.xml files identical?
 
 You can post it inline here, if you remove the comments and any passwords.
 
 
 p
 
 
  
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29137241.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL Not working on tomcat 5.5.29

2010-07-12 Thread kareem_s_m

Yup... I guess I missed it. Thank You Konstantin.

Konstantin Kolinko wrote:
 
 2010/7/12 kareem_s_m kareemud...@gmail.com:

 Hi All,

 If I rename tcnative-1.dll in the bin folder then the site on SSL works.
 I
 am not that knowledgeable on thie dll. Any comments or ideas please? I
 got
 this suggestion from google but no specific reason.

 
 It was already mentioned in this very thread.
 http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-ts29052531.html#a29083748
 
 Regards,
 Kareem
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29143073.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: SSL Not working on tomcat 5.5.29

2010-07-12 Thread kareem_s_m

Thank You Chuck!!!

n828cl wrote:
 
 From: kareem_s_m [mailto:kareemud...@gmail.com]
 Subject: Re: SSL Not working on tomcat 5.5.29
 
 If I rename tcnative-1.dll in the bin folder then the 
 site on SSL works.
 
 SSL handling with the APR connector is completely different from that with
 a pure Java connector.  The docs are here:
 http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
 http://tomcat.apache.org/tomcat-5.5-doc/apr.html
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29143076.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL Not working on tomcat 5.5.29

2010-07-06 Thread kareem_s_m

When I run in NON SSL (port 8080, stuff is written to the log files). When I
run under SSL (8443) nothing is written to the same log files.


Konstantin Kolinko wrote:
 
 2010/7/2 kareem_s_m kareemud...@gmail.com:
 Also
 nothing is written to the log flies.
 
 Nothing at all? The logs are completely empty?
 
 Maybe you are still running 5.5.28, or writing to 5.5.28 logs, if the
 service was installed incorrectly?
 

 Under tomcat 5.5.28, the site renders fine with SSL and non SSL.

 
 How did you install Tomcat,  and how are you running it?
 
 Best regards,
 Konstantin Kolinko
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29082265.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL Not working on tomcat 5.5.29

2010-07-06 Thread kareem_s_m

Server.xml is well formed as I can render it in IE. Also, the cert path is
right.

Konstantin Kolinko wrote:
 
 2010/7/6 kareem_s_m kareemud...@gmail.com:

 When I run in NON SSL (port 8080, stuff is written to the log files).
 When I
 run under SSL (8443) nothing is written to the same log files.

 
 In the configuration fragment that you provided you are running with
 all 8080, 8443, 8009 at the same time.
 
 If you are adding an XML comment around unneeded connectors, maybe you
 are doing it wrong, and thus your server.xml is not a well-formed XML
 file?  (You know, XML comments cannot contain -- and thus comments
 cannot be nested).
 
 
 A trivial question: your keystore is now in a new path. Have you
 copied it to the new location?
 
 keystoreFile=E:\apps\thirdparty\apache-tomcat-5.5.29
 orig\selfcert.jks
 
 How did you install Tomcat,  and how are you running it?
 
 Not answered. Do you install it as a service, or you are using *.bat
 files?
 
 Best regards,
 Konstantin Kolinko
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29090432.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL Not working on tomcat 5.5.29

2010-07-04 Thread kareem_s_m

The connectors from server.xml in 5.5.29 is as follows:

Service name=Catalina
!-- Define a SSL HTTP/1.1 Connector on port 8443 --
Connector
port=8080
minSpareThreads=25
connectionTimeout=2
maxSpareThreads=75
maxThreads=150  
enableLookups=false
disableUploadTimeout=true
acceptCount=100
scheme=http  
 /Connector
Connector
port=8443
minSpareThreads=25
connectionTimeout=2
maxSpareThreads=75
maxThreads=150  
enableLookups=false
disableUploadTimeout=true
acceptCount=100
scheme=https
secure=true
keystoreFile=E:\apps\thirdparty\apache-tomcat-5.5.29
orig\selfcert.jks  keystorePass=X
 /Connector
 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector
port=8009
redirectPort=8443
protocol=AJP/1.3 
 /Connector
Engine
defaultHost=localhost
name=Catalina
  Realm className=org.apache.catalina.realm.UserDatabaseRealm/
  Host
  appBase=webapps
  name=localhost
  /Host
/Engine
  /Service


The connectors from server.xml in 5.5.28 is as follows:


Service name=Catalina
!-- Define a SSL HTTP/1.1 Connector on port 8443 --
Connector
port=8080
minSpareThreads=25
connectionTimeout=2
maxSpareThreads=75
maxThreads=150  
enableLookups=false
disableUploadTimeout=true
acceptCount=100
scheme=http  
 /Connector
Connector
port=8443
minSpareThreads=25
connectionTimeout=2
maxSpareThreads=75
maxThreads=150  
enableLookups=false
disableUploadTimeout=true
acceptCount=100
scheme=https
secure=true
keystoreFile=E:\apps\thirdparty\apache-tomcat-5.5.28\selfcert.jks 
keystorePass=X
 /Connector
 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector
port=8009
redirectPort=8443
protocol=AJP/1.3 
 /Connector
Engine
defaultHost=localhost
name=Catalina
  Realm className=org.apache.catalina.realm.UserDatabaseRealm/
  Host
  appBase=webapps
  name=localhost
  /Host
/Engine
  /Service
/Server



Output of version.bat

Using CATALINA_BASE:   E:\apps\thirdparty\apache-tomcat-5.5.29 orig
Using CATALINA_HOME:   E:\apps\thirdparty\apache-tomcat-5.5.29 orig
Using CATALINA_TMPDIR: E:\apps\thirdparty\apache-tomcat-5.5.29 orig\temp
Using JRE_HOME:D:\Java\jdk.1.5.07
Using CLASSPATH:   E:\apps\thirdparty\apache-tomcat-5.5.29
orig\bin\bootstrap.jar
Server version: Apache Tomcat/5.5.29
Server built:   Mar 29 2010 07:46:34
Server number:  5.5.29.0
OS Name:Windows 2003
OS Version: 5.2
Architecture:   x86
JVM Version:1.5.0_07-b03
JVM Vendor: Sun Microsystems Inc.



awarnier wrote:
 
 kareem_s_m wrote:
 Hi All,
 
 I am working on upgrading tomcat from 5.5.28 to 5.5.29 for one of the
 applications. I see that the website renders and works fine in 5.5.29 on
 port 8080 (non SSL) but with  SSL (port 8443) the website doesnot run at
 all. When I try to see what's going on in Fiddle, I see 502 error. Also
 nothing is written to the log flies. It is as if tomcat is not even
 running
 in port 8443.
 
 Under tomcat 5.5.28, the site renders fine with SSL and non SSL.
 
 Is there something I could be missing?
 
 On the face of it, I would estimate the probability of that at so close to
 1 as cannot be 
 distinguished from it.
 But if you want someone here to help, you will have to provide some more
 details, such as 
 for example a copy-and-paste of your Connector tags, and maybe tell us
 which platform 
 this is, and where these Tomcat's are coming from.
 Useful : go to the Tomcat bin subdirectory with a console window, run
 version.sh or 
 version.bat, and paste the result in your next message.
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29067491.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



SSL Not working on tomcat 5.5.29

2010-07-01 Thread kareem_s_m

Hi All,

I am working on upgrading tomcat from 5.5.28 to 5.5.29 for one of the
applications. I see that the website renders and works fine in 5.5.29 on
port 8080 (non SSL) but with  SSL (port 8443) the website doesnot run at
all. When I try to see what's going on in Fiddle, I see 502 error. Also
nothing is written to the log flies. It is as if tomcat is not even running
in port 8443.

Under tomcat 5.5.28, the site renders fine with SSL and non SSL.

Is there something I could be missing?

Regards,
Kareem
-- 
View this message in context: 
http://old.nabble.com/SSL-Not-working-on-tomcat-5.5.29-tp29052531p29052531.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Ignore or Trust any certificate

2009-07-11 Thread kareem_s_m

I know about catching the exception. I just want to know if there is a way to
tell tomcat to ignoring or trusting any third party certificates. Do you
have idea on that?

Hassan Schroeder-2 wrote:
 
 On Fri, Jul 10, 2009 at 9:36 PM, kareem_s_mkareemud...@gmail.com wrote:

 So when my site connects to a site through HTTPS protocol, tomcat tires
 to
 
 Whoa. Your site doesn't connect to anything. And Tomcat doesn't
 tire (sic) anything.
 
 Your *application* is, wait, what?
 
 Caught unhandled exception: javax.net.ssl.SSLHandshakeException:
 
 apparently *not* handling a predictable exception. Fix your application.
 
 -- 
 Hassan Schroeder  hassan.schroe...@gmail.com
 twitter: @hassan
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Ignore--or-Trust-any-certificate-tp24432691p24438023.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] Ignore or Trust any certificate

2009-07-11 Thread kareem_s_m

Thank You. I was aware of importing the certificate using keytool and the
java code to trust all certificates. I was just wondering if there was a way
to do the latter at tomcat level. Looks like thats not possible. Thank you
all for your replies.

Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Kareem,
 
 On 7/10/2009 2:46 PM, kareem_s_m wrote:
 Is there a way in tomcat to ignore or trust any SSL certificate when
 connecting to a site through https? I know there is some JAVA code for
 it.
 But can we do it through tomcat or JVM settings too?
 
 As others have said, this is not an issue with Tomcat; it is an issue
 with the way you are connecting to the remote server.
 
 To /actually/ answer your question, allow me to post a README (written
 by me) that we keep lying around our development servers for just this
 purpose. You'll find the text following my signature. I hope it helps:
 we use these techniques all the time in order to avoid SSL handshake
 errors.
 
 I realize that some of the items mentioned might not be useful to you,
 but others may learn something. Enjoy.
 
 - -chris
 
 
Getting Java to Play Nice with SSL Connections
 
 
 This README serves to instruct the user in the fine art of
 dealing with Java and SSL certificates.
 
 These instructions will help most when you are trying to
 make an SSL connection to a remote host when that host has
 an SSL certificate that is either self-signed, used for
 demo or testing purpuses, or is signed by a certificate
 authority (CA) that you do not trust.
 
 If you do not trust the CA, you might want to think again
 about doing business with the server. In any case, read on
 for how to install such a certificate.
 
 First of all, if the server to which you are connecting has
 a valid certificate that has been signed by a well-known
 CA, then you probably don't have to do anything. Try your
 connection to see if it works. If you get an exception like
 this, then keep reading:
 
 sun.security.validator.ValidatorException: No trusted certificate found
 at
 sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
 at
 sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
 at sun.security.validator.Validator.validate(Validator.java:202)
 
 This exception is thrown because you do not trust the certificate
 that has been handed to you by the server. Assuming that you want
 the connection to work properly, you have several options.
 
 
 Import the certificate into your own keystore, making it trusted.
 
 
 Here is one way to do it:
 
 1. Visit your site in SSL mode with a browser that allows you to save
a copy of the certificate to a file (Microsoft Internet Explorer
will allow you to do this).
 
 2. Save the certificate to a file. With MSIE, you can go to
File | Properties and then click the Certificates button.
From there, choose the details tab and then click the
Copy to File button. This will launch a short wizard to export
the cert. Choose DER encoded binary X.509 and save the file
somewhere.
 
 3. Import that cert into your keystore.
 
$ keytool -import -file [the cert file] -keystore [the key store]
 
Although you should be able to use the keystore of the user
that is running the Java process (~/.keystore), I've found that
it doesn't always work that way. You might have to modify the
keystore for the JRE itself, which is usually located in
$JAVA_HOME/jre/lib/security/cacerts.
 
You might want to save a backup copy of the cacerts file before
you start messing with it.
 
 Steps 1 and 2 can be replaced with a single openssl invocation if you
 have access to the server's private key:
 
$ openssl x509 -pubkey -in [server cert] -out [public cert] -outform
 DER
 
 Use the resulting file ([public cert]) in step #3. Openssl will also
 dump a public key to standard output, which can be ignored.
 
 
 Disable Certification Validation, Avoiding the Problem
 
 
 Note that this will disable certificate checking for all SSL
 connections, and not just those for which validation should be skipped.
 Actually, you can modify this technique for use on a per-connection
 basis if you have access to the HttpURLConnection object used for the
 connection itself.
 
 This code was written and tested on JDK 1.4.2_09.
 
 You need to execute this code before you attempt to make an SSL
 connection.
 
 import java.security.KeyManagementException;
 import java.security.NoSuchAlgorithmException;
 import javax.net.ssl.SSLContext

Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m

Hi There,

Is there a way in tomcat to ignore or trust any SSL certificate when
connecting to a site through https? I know there is some JAVA code for it.
But can we do it through tomcat or JVM settings too?

Regards,
Kareem
-- 
View this message in context: 
http://www.nabble.com/Ignore--or-Trust-any-certificate-tp24432691p24432691.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m

Server Certs

If my application is the client, and I am connecting to a website through a
HTTP Post, then I want the tomcat (on which my website is running) to not
validate the connecting site's certificate. It should either ignore or trust
any certificate.
 

 -Original Message-
 From: kareem_s_m 
 Sent: Friday, July 10, 2009 14:47
 
 
 Hi There,
 
 Is there a way in tomcat to ignore or trust any SSL 
 certificate when connecting to a site through https? I know 
 there is some JAVA code for it.
 But can we do it through tomcat or JVM settings too?

Are you talking about client or server certs?  From the user's browser or by
the
user's browser?

 
 Regards,
 Kareem
 --
 View this message in context: 

http://www.nabble.com/Ignore--or-Trust-any-certificate-tp24432691p24432691.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 




--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
View this message in context: 
http://www.nabble.com/Ignore--or-Trust-any-certificate-tp24432691p24436746.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m

So when my site connects to a site through HTTPS protocol, tomcat tires to
validate the server certificate with the cacerts keystore in my JDK. Now if
the server certificate is signed by a trusted authority then the connection
is successful. But if the certificate is a test one (not signed by any
trusted authority) and when tomcat tries to validate the certificate, the
validation fails and the connection fails. The error I get it as follows:

Caught unhandled exception: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target.

So to avoid this, I want to know if tomcat can ignore or trust any server
certificate with out validating it.


Caldarale, Charles R wrote:
 
 From: kareem_s_m [mailto:kareemud...@gmail.com]
 Subject: RE: Ignore or Trust any certificate
 
 If my application is the client, and I am connecting to a website
 through a HTTP Post, then I want the tomcat (on which my website 
 is running) to not validate the connecting site's certificate.
 It should either ignore or trust any certificate.
 
 Then why bother to configure client certification?
 
 Or maybe you still haven't stated the problem clearly.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Ignore--or-Trust-any-certificate-tp24432691p24437237.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


RE: Using Multiple JVM instances

2009-05-06 Thread kareem_s_m

Hi Chuck,
The jakarta_service_20090505.log was just saying 'Attempting to start the
service'. Anyway I figured out the problem. The JMX remoting port was
the same in both the JVMs which was causing the issue where no 2 JVMs could
run in parallel. Lesson learnt : When running multiple JVMs on the same
machine, all port numbers should be mutullay exclusive.

Caldarale, Charles R wrote:
 
 From: kareem_s_m [mailto:kareemud...@gmail.com]
 Subject: RE: Using Multiple JVM instances
 
 But nothing is written to them
 
 That's not what your screenshot shows: the jakarta_service_20090505.log
 file for JVM2 has a non-zero size.  What's in it?
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Using-Multiple-JVM-instances-tp23394165p2349.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Using Multiple JVM instances

2009-05-05 Thread kareem_s_m

Hi There,

I want to run 2 instances for my application on 2 separate JVMs on the same
machine. I have installed Java 1.5 and using Tomcat 5.5.26. Now in 

JVM1
-
(i) My Cataline_Home and Cataline_Base are =
E:\apps\thirdparty\apache5.5.26\JVM1
(ii) My JAVA_HOME = D:\JDk.

JVM1
-
(i) My Cataline_Home and Cataline_Base are =
E:\apps\thirdparty\apache5.5.26\JVM2
(ii) My JAVA_HOME = D:\JDk.

I have changed all the ports in both the server.xml. I can use the
startup.bat on each of the bin directories to start tomcat and I can access
the 2 different instances of the application at different port numbers at
the same time.

Now I install one service through the command 'service install JVM1' from
one bin and another service through the command 'service install JVM2' from
the other bin. This creates 2 new services in the machine called 'Apache
Tomcat JVM1' and 'Apache Tomcat JVM2'. I can start these services one at the
time and can access the application. But when I try to start both the
services and make them run parallely, by going to windows services, I get an
error 'Error 1067: Process terminated unexpectedly'.

Why is it that I can run both the services parallely from DOS prompt and
cannot do the same from windows services? How can I achieve this?

Any help is much appreciated.

Regards,
Kareem
-- 
View this message in context: 
http://www.nabble.com/Using-Multiple-JVM-instances-tp23394165p23394165.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Using Multiple JVM instances

2009-05-05 Thread kareem_s_m

Thanks Chuck. When I start the first JVM service, the log files in the
appropriate directory are created and data is written to stdout file (no
errors though). When I start the second JVM service, the log files do get
created in the appropriate directory (each JVM has its own directory for for
log files). But nothing is written to them and the error that the 'Process
terminated unexpectedly.
http://www.nabble.com/file/p23397301/Multiple_JVM_Error.jpg  '

Caldarale, Charles R wrote:
 
 From: kareem_s_m [mailto:kareemud...@gmail.com]
 Subject: Using Multiple JVM instances
 
 But when I try to start both the services and make them
 run parallely, by going to windows services, I get an 
 error 'Error 1067: Process terminated unexpectedly'.
 
 Why is it that I can run both the services parallely from 
 DOS prompt and cannot do the same from windows services?
 
 I'm not able to reproduce your problem on my XP box.  Both of my Tomcat
 5.5.x services come up and run happily together.
 
 You might want to clean out the logs directory of both your Tomcats, then
 try starting both services, and see if there's something interesting
 reported in the one that doesn't start properly.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Using-Multiple-JVM-instances-tp23394165p23397301.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Using Multiple JVM instances

2009-05-05 Thread kareem_s_m

And my Java is 1.5.07, Tomcat is 5.5.26 and machine is windows 2003 on 64
bit.

kareem_s_m wrote:
 
 Thanks Chuck. When I start the first JVM service, the log files in the
 appropriate directory are created and data is written to stdout file (no
 errors though). When I start the second JVM service, the log files do get
 created in the appropriate directory (each JVM has its own directory for
 for log files). But nothing is written to them and the error that the
 'Process terminated unexpectedly.
 http://www.nabble.com/file/p23397301/Multiple_JVM_Error.jpg  '
 
 Caldarale, Charles R wrote:
 
 From: kareem_s_m [mailto:kareemud...@gmail.com]
 Subject: Using Multiple JVM instances
 
 But when I try to start both the services and make them
 run parallely, by going to windows services, I get an 
 error 'Error 1067: Process terminated unexpectedly'.
 
 Why is it that I can run both the services parallely from 
 DOS prompt and cannot do the same from windows services?
 
 I'm not able to reproduce your problem on my XP box.  Both of my Tomcat
 5.5.x services come up and run happily together.
 
 You might want to clean out the logs directory of both your Tomcats, then
 try starting both services, and see if there's something interesting
 reported in the one that doesn't start properly.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Using-Multiple-JVM-instances-tp23394165p23397749.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org