Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1714

Apache Tomcat port settings not being honoured via Crowd log entries

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • None
    • 2.0.1
    • Deployment
    • Operating System: CentOS 5.3, x86-32
      JDK: Sun JDK 1.6 6u16 32bit
      PostgreSQL Server: 8.3.8-1 32bit
      PostgreSQL JDBC: 8.4-701

      Changes to the port settings in $CROWD/apache-tomcat/conf/server.xml are not reflected in the Crowd logs:

      Diff between distributed server.xml and modified server.xml
      root@CentOS-5x-x8632:/opt[11:23:22](0,0)$ diff -u atlassian-crowd-2.0.1/apache-tomcat/conf/server.xml atlassian-crowd-2.0.1-test/apache-tomcat/conf/server.xml 
      --- atlassian-crowd-2.0.1/apache-tomcat/conf/server.xml	2009-08-27 10:09:01.000000000 +1000
      +++ atlassian-crowd-2.0.1-test/apache-tomcat/conf/server.xml	2009-10-01 10:58:53.000000000 +1000
      @@ -1,9 +1,9 @@
       <?xml version="1.0" encoding="UTF-8"?>
      -<Server port="8020" shutdown="SHUTDOWN">
      +<Server port="8021" shutdown="SHUTDOWN">
       
           <Service name="Catalina">
       
      -        <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8095" redirectPort="8443" useBodyEncodingForURI="true"/>
      +        <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8096" redirectPort="8444" useBodyEncodingForURI="true"/>
       
               <Engine defaultHost="localhost" name="Catalina">
                   <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"/>
      
      Console output log
      *********************************************************************************************
      *
      *  You can now use the Crowd OpenID server by visiting http://localhost:8095/openidserver
      *
      *********************************************************************************************
      
      7.814: [GC [PSYoungGen: 24463K->1136K(25792K)] 32793K->11171K(142336K), 0.0203510 secs] [Times: user=0.01 sys=0.01, real=0.01 secs] 
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'application.name' : 'crowd-openid-server'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'application.login.url' : 'http://localhost:8095/openidserver'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'crowd.server.url' : 'http://localhost:8095/crowd/services/'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'session.isauthenticated' : 'session.isauthenticated'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'session.tokenkey' : 'session.tokenkey'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'session.lastvalidation' : 'session.lastvalidation'
      2009-10-01 11:14:31,362 main INFO [service.soap.client.ClientPropertiesImpl] Loading property: 'session.validationinterval' : '0'
      

      Both the application.login.url and crowd.server.url are using the original port number of 8095 instead of 8096.

            [CWD-1714] Apache Tomcat port settings not being honoured via Crowd log entries

              Unassigned Unassigned
              pdzwart PdZ (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: