Announcement Announcement Module
Collapse
No announcement yet.
AJP with tcServer in STS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AJP with tcServer in STS

    Hello
    I've been reading the documentation but I'm having some trouble.
    I am trying to have both an http connector and an AJP connector for my tcServer instance.
    Here is how my server.xml looks currently:

    <Connector executor="tomcatThreadPool"
    port="${ajp.port}"
    protocol="org.apache.coyote.ajp.AjpProtocol"
    connectionTimeout="20000"
    redirectPort="${https.port}"
    acceptCount="100"
    maxKeepAliveRequests="15"/>

    <Connector acceptCount="100" connectionTimeout="20000" executor="tomcatThreadPool" maxKeepAliveRequests="15" port="${http.port}" protocol="HTTP/1.1" redirectPort="8443"/>

    Right now it seems it randomly picks which one to have work.
    I have not been able to get them both to launch.
    On my old eclipse (ganymede, tomcat 6) I was able to run both with this setup. This does not work with tcServer.
    <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>


    Any Ideas on what I'm doing wrong?
    Thank you for your help.
    -matt
Working...
X