How to change the SSL port

2005-09-15 Thread Stephen Caine

All:
Is there any way I can change the default SSL port from 8443 to 443?

Change the port attribute of the SSL connector in your server.xml  
file.



And use port number 443.

yup, I tried this.  It doesn't work.  I tried edits to server xml  
connector from 8443 to 443 - 443 port unresponsive after tomcat  
restart.  Tried 8442 also.  No joy. Only plays with 8443.  There is  
another setting somewhere


Please advise.

Stephen Caine
CommonGround Softworks, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to change the SSL port

2005-09-15 Thread Stephen Caine

Lannis,

Check your tomcat log file. If tomcat could bind properly on the  
SSL port you mentioned, it should show up in the log file (one of  
the first lines on the top). If not (e.g. because the port is  
already in use), it will show you a bind error message there as well.


If the log says that the port is fine, check for firewall, (etc.)  
on your box.


At least, look at the port number that is specified in the log. It  
should say 443 if your changes to the server.xml are correct.


Thank you, I will check this out and let you know.

Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to change the SSL port

2005-09-15 Thread Stephen Caine

Charles,


What does netstat say about who's listening on which ports?


Will check this out.


Tried 8442 also.  No joy. Only plays with 8443.  There is  another  
setting somewhere


Really, there isn't.  Sounds like you're not editing the server.xml  
file that's actually being used by your Tomcat instance.


Thank you.

Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Different JDBC sources?

2005-09-13 Thread Stephen Caine

Simon,

As a relative Tomcat newbie, I can't find anything about how to use  
two different JDBC sources with the same codebase. I'd like to have  
two
different URLs that use the same classes and JSP pages, but  
reference two different databases (test and production). Is there a  
standard way of achieving this?


Shamelessly promoting our own product, you might want to take a look  
at Qilan.  An OS X application, Qilan accesses multiple JDBC database  
sources and automatically creates all the necessary JSP code.  The  
developer merely creates web pages (webtemplates), with or without  
specialized tags, then exports them to Tomcat/webapps.  If you are  
using SQL, Qilan handles this as well.  Download at:


http://cgs.qilan.com:8080/qilan/Qilanv3Beta

Stephen Caine
CommonGround Softworks, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Stephen Caine

Asha,

We are using Tomcat v5.5 running under OS X v10.4 (dual processor).   
No problems whatsoever.


Stephen Caine
CommonGround Softworks, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat/MySQL Application Update

2005-08-09 Thread Stephen Caine

Christopher,

We have a servlet that is run locally on about 20 laptops. I am  
currently manually updating the application on each laptop about  
once per month.  Can anyone suggest a method of updating an  
application running on both OS/X and Windows based machines that  
would check if a new version was available and then grab it via  
FTP, Rsync, or something? Or would it be easiest to put the  
application into a database record? Any help or pointers appreciated.


One option, amongst many, is to store the application as a binary  
file in a database record.  This would allow you to add other  
information to the record.  A user could then, using a web page,  
download the file.


Just a thought.

Stephen Caine
Soft Breeze Systems, LLC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: suppress directory listing

2005-08-04 Thread Stephen Caine

Paul,

My JSP app has a /images folder and Tomcat 5.5.9 happily serves up  
a directory listing of this: how can I suppress this?


Just add a filed named, index.html, to the directory.  You can put  
whatever you want in the file.  I often put, Access Prohibited or  
some such thing.


Stephen Caine
Soft Breeze Systems, LLC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems accessing the admin app

2005-07-13 Thread Stephen Caine

All,

What 'used' to work is no longer working.  Now when I attempt to  
access Tomcat (v5.5.7) admin app, I get the following message:


Tomcat's administration web application is no longer installed by  
default. Download and install the admin package to use it.


Attempting to access 'status', returns the following message:

The requested resource (/manager/status) is not available.

Can someone please offer some suggestions as to where and what to  
check.  Does the home directory have to be named, Tomcat?  If this  
is changed, where else does this change need to be made.


Thank you,

Stephen Caine
Soft Breeze Systems, LLC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems accessing the admin app

2005-07-13 Thread Stephen Caine

Eric,


The admin app is no longer a part of the standard Tomcat download.

You need to go download and install it.  Obviously, you need to  
make the appropriate changes to conf/tomcat-users.xml


Thank you, but the admin and manager app 'used' to work.  In other  
words, I was able to access both of them without trouble until just a  
few days ago.  Very mysterious.


Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Oracle Drivers that work with Tomcat 5.5.x

2005-07-01 Thread Stephen Caine

James,


Is anyone else using Tomcat, Oracle  Java Studio Creator  
together?  How did you do it?


We use Qilan, an Mac OS X web application.  We routinely access  
Oracle with the Oracle thin class12 JDBC driver via Tomcat.  We have  
no problem and are able to connect and run SQL.


Qilan, by the way, generates JSP/SQL using a graphical interface that  
is devoid of syntax.  A good thing.


Stephen Caine
CommonGround Softworks, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Installing SSL

2005-06-20 Thread Stephen Caine

All,

I have reviewed the man pages and java.sun.com docs for keytool.  I  
have used keytool to import  a certificate from a Certificate  
authority.  Keytool seems to be lacking the option to import an  
entire prexisting private/public key pair into a JKS format keystore.


Specifically I have a RSA private Key and public key files from an  
existing SSL enabled site.  I would like to use the same keypair for  
a Tomcat served site.  Keytool will import the public key, but gives  
a parsing error when trying to import the RSA private key.


I am using OS X 10.4.1 (Tiger Server) and Tomcat version 5.5.7.

Any assistance is appreciated.

Stephen Caine
Soft Breeze Systems, LLC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing SSL

2005-06-20 Thread Stephen Caine

Ike,

You may use KeyTool GUI version 1.6.  This has been a life-saver
to me.  It works with different KeyStore formats and also lets you
Import Key Pairs.  Google for it, it is a windows-based keytool gui.


Thank you.  I'll try this out.  Hopefully, they have a version for OS X.

Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]