You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Hosler <ch...@ingham.org> on 2005/02/10 20:08:09 UTC

What does each part of a className mean?

I am having a problem getting SSL to work on my tomcat 5 sever so I
would like to know what each segment of the class name means from the
server.xml file (className="org.apache.coyote.tomcat5.CoyoteConnector)  
and how it affect the SSL on my server. When I looked at my server.xml
file the classname was not there I have removed the rem statements but
SSL does not work I think I have it wrong.  Do I even need to add the
classname can I run without it Just use the port 8443? Do I need to
change the org.apache.coyote.tomcat5.CoyoteConnector and change it to my
domain name/server name ?
Any help would be great
Thanks again



<-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
           port="8443" minProcessors="5" maxProcessors="75"
           enableLookups="true" disableUploadTimeout="true"
           acceptCount="100" debug="0" scheme="https" secure="true";
           clientAuth="false" sslProtocol="TLS"/>



Christopher W. Hosler
Network Administrator 
Ingham County MIS Department
Email  chosler@ingham.org
As water reflects the face 
So a mans heart reflects the man

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


Re: What does each part of a className mean?

Posted by Hassan Schroeder <ha...@webtuitive.com>.
Chris Hosler wrote:
> I am having a problem getting SSL to work on my tomcat 5 sever 

Read this:

  <http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html>

If, after that, you're still having problems -- let us know. :-)

-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Filip Hanik - Dev <de...@hanik.com>.
there have been a few articles, check onjava.com for example, asynch will result in a faster response time, but doesn't guarantee
that the session gets replicated for the next request.

Filip

----- Original Message -----
From: "Micky Williamson" <mi...@williamsonhouse.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, February 10, 2005 3:43 PM
Subject: Re: Tomcat 5 cluster spins out of control periodically


hmm....
is there any difference in performance with pooled vs async?  The OS is
HPUX 11

Filip Hanik - Dev wrote:

>ah, you might be having problems with the java.nio package, (TCP)
>as the conf below you are mentioning, are using those settings.
>asynch doesn't require an ack message, and some VM's on some platforms have problems sending data back on a NIO channel.
>linux had this issue unless you set LD_ASSUME_KERNEL for example,
>
>Filip
>
>----- Original Message -----
>From: "Micky Williamson" <mi...@williamsonhouse.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Thursday, February 10, 2005 2:44 PM
>Subject: Re: Tomcat 5 cluster spins out of control periodically
>
>
>Filip,
>thanks for the information.
>I did notice that on our test servers, it doesn't happen as frequently.
>And in the production server.xml we had:
>  <Sender
>
>className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
>                replicationMode="pooled"/>
>
>In the test one it was:
>
>  <Sender
>
>className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
>                replicationMode="asynchronous"/>
>
>What is the better way?
>
>
>Filip Hanik - Dev wrote:
>
>
>
>>probably is the multi cast receiver that freaks out.
>>This can happen if the network cable is unplugged. I will add in a sleep on the receiver so that even in this case it wont freak
>>out.
>>
>>so in the scenario above, its a known problem, checking in a fix right now.
>>if you do provide a dump however, we will know more.
>>or even better, profiling it.
>>
>>Filip
>>
>>----- Original Message -----
>>From: "Micky Williamson" <mi...@williamsonhouse.com>
>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>Sent: Thursday, February 10, 2005 1:24 PM
>>Subject: Re: Tomcat 5 cluster spins out of control periodically
>>
>>
>>No,
>>not using Apache to front end.
>>Haven't done any thread dumps...yet.
>>
>>I just was throwing feelers out to see if there is any history of this.
>>
>>
>>Tim Funk wrote:
>>
>>
>>
>>
>>
>>>Are you using apache in front of tomcat?
>>>Have you done thread dumps when in a good state vs a 100% cpu state?
>>>Sounds like an inifinite loop.
>>>
>>>-Tim
>>>
>>>Micky Williamson wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I have two machines running Tomcat 5.0 with java 1.4.
>>>>Both are clustered together. Every once in a while, one or the other
>>>>just starts spinning out of control and clocking wall time.
>>>>
>>>>This is on hp ux version 11.  New machines, lots of resources (16
>>>>Gig of RAM)
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>

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


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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Micky Williamson <mi...@williamsonhouse.com>.
hmm....
is there any difference in performance with pooled vs async?  The OS is 
HPUX 11

Filip Hanik - Dev wrote:

>ah, you might be having problems with the java.nio package, (TCP)
>as the conf below you are mentioning, are using those settings.
>asynch doesn't require an ack message, and some VM's on some platforms have problems sending data back on a NIO channel.
>linux had this issue unless you set LD_ASSUME_KERNEL for example,
>
>Filip
>
>----- Original Message ----- 
>From: "Micky Williamson" <mi...@williamsonhouse.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Thursday, February 10, 2005 2:44 PM
>Subject: Re: Tomcat 5 cluster spins out of control periodically
>
>
>Filip,
>thanks for the information.
>I did notice that on our test servers, it doesn't happen as frequently.
>And in the production server.xml we had:
>  <Sender
>                
>className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
>                replicationMode="pooled"/>
>
>In the test one it was:
>
>  <Sender
>                
>className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
>                replicationMode="asynchronous"/>
>
>What is the better way?
>
>
>Filip Hanik - Dev wrote:
>
>  
>
>>probably is the multi cast receiver that freaks out.
>>This can happen if the network cable is unplugged. I will add in a sleep on the receiver so that even in this case it wont freak
>>out.
>>
>>so in the scenario above, its a known problem, checking in a fix right now.
>>if you do provide a dump however, we will know more.
>>or even better, profiling it.
>>
>>Filip
>>
>>----- Original Message -----
>>From: "Micky Williamson" <mi...@williamsonhouse.com>
>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>Sent: Thursday, February 10, 2005 1:24 PM
>>Subject: Re: Tomcat 5 cluster spins out of control periodically
>>
>>
>>No,
>>not using Apache to front end.
>>Haven't done any thread dumps...yet.
>>
>>I just was throwing feelers out to see if there is any history of this.
>>
>>
>>Tim Funk wrote:
>>
>> 
>>
>>    
>>
>>>Are you using apache in front of tomcat?
>>>Have you done thread dumps when in a good state vs a 100% cpu state?
>>>Sounds like an inifinite loop.
>>>
>>>-Tim
>>>
>>>Micky Williamson wrote:
>>>
>>>   
>>>
>>>      
>>>
>>>>I have two machines running Tomcat 5.0 with java 1.4.
>>>>Both are clustered together. Every once in a while, one or the other
>>>>just starts spinning out of control and clocking wall time.
>>>>
>>>>This is on hp ux version 11.  New machines, lots of resources (16
>>>>Gig of RAM)
>>>>     
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>   
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>> 
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Filip Hanik - Dev <de...@hanik.com>.
ah, you might be having problems with the java.nio package, (TCP)
as the conf below you are mentioning, are using those settings.
asynch doesn't require an ack message, and some VM's on some platforms have problems sending data back on a NIO channel.
linux had this issue unless you set LD_ASSUME_KERNEL for example,

Filip

----- Original Message ----- 
From: "Micky Williamson" <mi...@williamsonhouse.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, February 10, 2005 2:44 PM
Subject: Re: Tomcat 5 cluster spins out of control periodically


Filip,
thanks for the information.
I did notice that on our test servers, it doesn't happen as frequently.
And in the production server.xml we had:
  <Sender
                
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                replicationMode="pooled"/>

In the test one it was:

  <Sender
                
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                replicationMode="asynchronous"/>

What is the better way?


Filip Hanik - Dev wrote:

>probably is the multi cast receiver that freaks out.
>This can happen if the network cable is unplugged. I will add in a sleep on the receiver so that even in this case it wont freak
>out.
>
>so in the scenario above, its a known problem, checking in a fix right now.
>if you do provide a dump however, we will know more.
>or even better, profiling it.
>
>Filip
>
>----- Original Message -----
>From: "Micky Williamson" <mi...@williamsonhouse.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Thursday, February 10, 2005 1:24 PM
>Subject: Re: Tomcat 5 cluster spins out of control periodically
>
>
>No,
>not using Apache to front end.
>Haven't done any thread dumps...yet.
>
>I just was throwing feelers out to see if there is any history of this.
>
>
>Tim Funk wrote:
>
>  
>
>>Are you using apache in front of tomcat?
>>Have you done thread dumps when in a good state vs a 100% cpu state?
>>Sounds like an inifinite loop.
>>
>>-Tim
>>
>>Micky Williamson wrote:
>>
>>    
>>
>>>I have two machines running Tomcat 5.0 with java 1.4.
>>>Both are clustered together. Every once in a while, one or the other
>>>just starts spinning out of control and clocking wall time.
>>>
>>>This is on hp ux version 11.  New machines, lots of resources (16
>>>Gig of RAM)
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

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

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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Micky Williamson <mi...@williamsonhouse.com>.
Filip,
thanks for the information.
I did notice that on our test servers, it doesn't happen as frequently.
And in the production server.xml we had:
  <Sender
                
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                replicationMode="pooled"/>

In the test one it was:

  <Sender
                
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
                replicationMode="asynchronous"/>

What is the better way?


Filip Hanik - Dev wrote:

>probably is the multi cast receiver that freaks out.
>This can happen if the network cable is unplugged. I will add in a sleep on the receiver so that even in this case it wont freak
>out.
>
>so in the scenario above, its a known problem, checking in a fix right now.
>if you do provide a dump however, we will know more.
>or even better, profiling it.
>
>Filip
>
>----- Original Message -----
>From: "Micky Williamson" <mi...@williamsonhouse.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Thursday, February 10, 2005 1:24 PM
>Subject: Re: Tomcat 5 cluster spins out of control periodically
>
>
>No,
>not using Apache to front end.
>Haven't done any thread dumps...yet.
>
>I just was throwing feelers out to see if there is any history of this.
>
>
>Tim Funk wrote:
>
>  
>
>>Are you using apache in front of tomcat?
>>Have you done thread dumps when in a good state vs a 100% cpu state?
>>Sounds like an inifinite loop.
>>
>>-Tim
>>
>>Micky Williamson wrote:
>>
>>    
>>
>>>I have two machines running Tomcat 5.0 with java 1.4.
>>>Both are clustered together. Every once in a while, one or the other
>>>just starts spinning out of control and clocking wall time.
>>>
>>>This is on hp ux version 11.  New machines, lots of resources (16
>>>Gig of RAM)
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Filip Hanik - Dev <de...@hanik.com>.
probably is the multi cast receiver that freaks out.
This can happen if the network cable is unplugged. I will add in a sleep on the receiver so that even in this case it wont freak
out.

so in the scenario above, its a known problem, checking in a fix right now.
if you do provide a dump however, we will know more.
or even better, profiling it.

Filip

----- Original Message -----
From: "Micky Williamson" <mi...@williamsonhouse.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, February 10, 2005 1:24 PM
Subject: Re: Tomcat 5 cluster spins out of control periodically


No,
not using Apache to front end.
Haven't done any thread dumps...yet.

I just was throwing feelers out to see if there is any history of this.


Tim Funk wrote:

> Are you using apache in front of tomcat?
> Have you done thread dumps when in a good state vs a 100% cpu state?
> Sounds like an inifinite loop.
>
> -Tim
>
> Micky Williamson wrote:
>
>> I have two machines running Tomcat 5.0 with java 1.4.
>> Both are clustered together. Every once in a while, one or the other
>> just starts spinning out of control and clocking wall time.
>>
>> This is on hp ux version 11.  New machines, lots of resources (16
>> Gig of RAM)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

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


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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Micky Williamson <mi...@williamsonhouse.com>.
No,
not using Apache to front end.
Haven't done any thread dumps...yet.

I just was throwing feelers out to see if there is any history of this.


Tim Funk wrote:

> Are you using apache in front of tomcat?
> Have you done thread dumps when in a good state vs a 100% cpu state? 
> Sounds like an inifinite loop.
>
> -Tim
>
> Micky Williamson wrote:
>
>> I have two machines running Tomcat 5.0 with java 1.4.
>> Both are clustered together. Every once in a while, one or the other 
>> just starts spinning out of control and clocking wall time.
>>
>> This is on hp ux version 11.  New machines, lots of resources (16  
>> Gig of RAM)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

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


Re: Tomcat 5 cluster spins out of control periodically

Posted by Tim Funk <fu...@joedog.org>.
Are you using apache in front of tomcat?
Have you done thread dumps when in a good state vs a 100% cpu state? Sounds 
like an inifinite loop.

-Tim

Micky Williamson wrote:
> I have two machines running Tomcat 5.0 with java 1.4.
> Both are clustered together. Every once in a while, one or the other 
> just starts spinning out of control and clocking wall time.
> 
> This is on hp ux version 11.  New machines, lots of resources (16  Gig 
> of RAM)

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


Tomcat 5 cluster spins out of control periodically

Posted by Micky Williamson <mi...@williamsonhouse.com>.
I have two machines running Tomcat 5.0 with java 1.4.
Both are clustered together. 
Every once in a while, one or the other just starts spinning out of 
control and clocking wall time.

This is on hp ux version 11.  New machines, lots of resources (16  Gig 
of RAM)

Any ideas?

Thanks,
Micky

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