You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by keyur sheth <ke...@yahoo.com> on 2006/05/19 21:52:02 UTC

Posting questions to the list

  
		
---------------------------------
Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.

Re: Posting questions to the list

Posted by keyur sheth <ke...@yahoo.com>.
Well, unfortunately our network is down due to power outage so I cannot connect to the server remotely. I was just going to see the log file generated for today and it got disconnected. So will mail later regarding the error in the log file

Hassan Schroeder <ha...@gmail.com> wrote:  On 5/19/06, keyur sheth wrote:
> But I don't know what should see in the log directory and which file specifically.

There shouldn't be that many to choose from, but in any case, the
one with errors in it :-)

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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



		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Re: Posting questions to the list

Posted by Hassan Schroeder <ha...@gmail.com>.
On 5/19/06, keyur sheth <ke...@yahoo.com> wrote:
> But I don't know what should see in the log directory and which file specifically.

There shouldn't be that many to choose from, but in any case, the
one with errors in it :-)

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Re: Posting questions to the list

Posted by keyur sheth <ke...@yahoo.com>.
Ok I will add the keystorePass tag in the SSL connector. But I don't know what should see in the log directory and which file specifically. Can you please let me know
   
  Keyur

Hassan Schroeder <ha...@gmail.com> wrote:
  On 5/19/06, keyur sheth wrote:
> So attached is the part of the server.xml file for non-SSL and SSL

> 
> > maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> enableLookups="false" disableUploadTimeout="true"
> acceptCount="100" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS"
> keystoreFile="/home/tomcat/.keystore" />

? no keystorePass? or just using the default?

In any case, the critical information is: what do your logs say?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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



		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

Re: Posting questions to the list

Posted by Hassan Schroeder <ha...@gmail.com>.
On 5/19/06, keyur sheth <ke...@yahoo.com> wrote:
>   So attached is the part of the server.xml file for non-SSL and SSL

>   <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
>       <Connector port="8443" maxHttpHeaderSize="8192"
>                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>                enableLookups="false" disableUploadTimeout="true"
>                acceptCount="100" scheme="https" secure="true"
>                clientAuth="false" sslProtocol="TLS"
>                keystoreFile="/home/tomcat/.keystore" />

? no keystorePass? or just using the default?

In any case, the critical information is: what do your logs say?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Re: Posting questions to the list

Posted by keyur sheth <ke...@yahoo.com>.
 
  So attached is the part of the server.xml file for non-SSL and SSL 
   
   <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" emptySessionPath="true"/>
   
  <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
      <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="/home/tomcat/.keystore" />
      <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
   
   
  


Hassan Schroeder <ha...@gmail.com> wrote:
  On 5/19/06, keyur sheth wrote:
> So can you tell me the reason why I am unable to do that.

No. :-)

Certainly not without seeing the relevant part of your server.xml and
the relevant parts of your server logs.

P.S. Using a real subject line would be a good idea...
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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



		
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone.  Get Yahoo! Messenger with Voice

Re: Posting questions to the list

Posted by Hassan Schroeder <ha...@gmail.com>.
On 5/19/06, keyur sheth <ke...@yahoo.com> wrote:
> So can you tell me the reason why I am unable to do that.

No. :-)

Certainly not without seeing the relevant part of your server.xml and
the relevant parts of your server logs.

P.S. Using a real subject line would be a good idea...
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Re: Posting questions to the list

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
keyur sheth wrote:
> And in the connector tag 
> for non-SSL there is a parameter called redirectPort which is already 8443.

Which is completely irrelevant. If try to connect to a HTTP Connector via 
HTTPS this will fail before any data is transmitted that would enable Tomcat 
to decide whether or not to redirect the client.

> So it should be redirected to port 8443.

No. See above.

Regards
  mks

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


Re: Posting questions to the list

Posted by keyur sheth <ke...@yahoo.com>.
Thankyou for your reply, but the thing is that even if I give https://coit-grid04.uncc.edu:8443/gridsphere or https://coit-grid04.uncc.edu:8443
it doesn't work. And in the connector tag for non-SSL there is a parameter called redirectPort which is already 8443. So it should be redirected to port 8443. So what else can be the problem. Is there anything else to setup.
   
  Keyur
   
  
 

		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

Re: Posting questions to the list

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
keyur sheth wrote:
>                     I am trying to convert the tomcat container from http
> to https. First of all I created the keystore by reading the documentation
> and also made necessary changes to $CATALINA_HOME/conf/server.xml by
> uncommenting the SSL Connector HTTP tag and added new parameter
> keystoreFile for including the location of the file .keystore. And then
> restarted the tomcat. But when I give my URL
> https://coit-grid04.uncc.edu:8080/gridsphere  or
> https://coit-grid04.uncc.edu:8080/ it still doesn't open the page and gives
> the error as page cannot be displayed. So can you tell me the reason why I
> am unable to do that.

Access the port you configured the HTTPS Connector for, propably:
https://coit-grid04.uncc.edu:8443

Regards
  mks

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


Re: Posting questions to the list

Posted by keyur sheth <ke...@yahoo.com>.
Hi everybody,
   
                    I am trying to convert the tomcat container from http to https. First of all I created the keystore by reading the documentation and also made necessary changes to $CATALINA_HOME/conf/server.xml by uncommenting the SSL Connector HTTP tag and added new parameter keystoreFile for including the location of the file .keystore. And then restarted the tomcat. But when I give my URL https://coit-grid04.uncc.edu:8080/gridsphere  or https://coit-grid04.uncc.edu:8080/ it still doesn't open the page and gives the error as page cannot be displayed. So can you tell me the reason why I am unable to do that.
   
  Thanking you 
  Keyur

keyur sheth <ke...@yahoo.com> wrote:
  

---------------------------------
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.

		
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.