openSuSE 10.1 and Scalix 11 Error 403

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Mon Feb 19, 2007 1:40 pm

scalix-res.log

Code: Select all

2007-02-19 18:35:29,016 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:35:29,016 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:35:39,028 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out
2007-02-19 18:35:44,032 DEBUG [Notifier.sendNotification:134] Notifier-thread-1/ntries=4/Event=[register|http://suse10164lamp
.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1]
2007-02-19 18:35:44,033  INFO [RegistrationEventPoller.run:113] Added Registration event to the Notification Event Queue queu
e:Event=[register|http://suse10164lamp.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1] (try 100 re
tries)
2007-02-19 18:35:44,033 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:35:44,033 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:35:54,037 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out
2007-02-19 18:35:59,041 DEBUG [Notifier.sendNotification:134] Notifier-thread-0/ntries=4/Event=[register|http://suse10164lamp
.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1]
2007-02-19 18:35:59,041  INFO [RegistrationEventPoller.run:113] Added Registration event to the Notification Event Queue queu
e:Event=[register|http://suse10164lamp.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1] (try 100 re
tries)
2007-02-19 18:35:59,042 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:35:59,042 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:36:09,045 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out
2007-02-19 18:36:14,046 DEBUG [Notifier.sendNotification:134] Notifier-thread-1/ntries=4/Event=[register|http://suse10164lamp
.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1]
2007-02-19 18:36:14,046  INFO [RegistrationEventPoller.run:113] Added Registration event to the Notification Event Queue queu
e:Event=[register|http://suse10164lamp.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1] (try 100 re
tries)
2007-02-19 18:36:14,046 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:36:14,046 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:36:24,050 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out
2007-02-19 18:36:29,050 DEBUG [Notifier.sendNotification:134] Notifier-thread-0/ntries=4/Event=[register|http://suse10164lamp
.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1]
2007-02-19 18:36:29,051  INFO [RegistrationEventPoller.run:113] Added Registration event to the Notification Event Queue queu
e:Event=[register|http://suse10164lamp.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1] (try 100 re
tries)
2007-02-19 18:36:29,051 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:36:29,051 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:36:39,051 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out
2007-02-19 18:36:44,051 DEBUG [Notifier.sendNotification:134] Notifier-thread-1/ntries=4/Event=[register|http://suse10164lamp
.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1]
2007-02-19 18:36:44,051  INFO [RegistrationEventPoller.run:113] Added Registration event to the Notification Event Queue queu
e:Event=[register|http://suse10164lamp.site/res/RESDispatcher|LISTEN|300|suse10164lamp|suse10164lamp.site|11.0.1] (try 100 re
tries)
2007-02-19 18:36:44,051 DEBUG [RegistrationEventPoller.run:116] Notified monitor queue that is has a new event
2007-02-19 18:36:44,052 DEBUG [RegistrationEventPoller.run:121] Sleeping for 5000 ms before trying again
2007-02-19 18:36:54,051 ERROR [Notifier.sendNotification:122] java.net.SocketTimeoutException: Receive timed out


Looks strange to me, obviously is he trying to register something through http://suse10164lamp.site which can't work.

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Mon Feb 19, 2007 1:59 pm

I have now disabled the module apparmor in Apache and get this error

Code: Select all

[Mon Feb 19 18:56:36 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 88.198.**.***:8009 (suse10164la
mp.site) failed
[Mon Feb 19 18:56:36 2007] [error] ap_proxy_connect_backend disabling worker for (suse10164lamp.site)
[Mon Feb 19 18:56:36 2007] [error] proxy: AJP: failed to make connection to backend: suse10164lamp.site


Seems like I am getting closer.

I have restarted tomcat and still get

Code: Select all

suse10164lamp:/opt/scalix-tomcat # lsof -i :8009
suse10164lamp:/opt/scalix-tomcat #

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Mon Feb 19, 2007 4:39 pm

I just rebooted my root-server and get following

Code: Select all

suse10164lamp:/etc/init.d/rc3.d # ps -ef|grep tomcat
root      2889     1  3 21:30 ?        00:00:10 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/sp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/sp/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/sp/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/sp/tomcat/temp org.apache.catalina.startup.Bootstrap start
root      3744  3574  0 21:36 pts/0    00:00:00 grep tomcat
suse10164lamp:/etc/init.d/rc3.d # service scalix-tomcat status
Instance (suse10164lamp) is not running
                                                                      unused


I thought it would running?

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Mon Feb 19, 2007 4:55 pm

omshowlog gave me the following entries

Code: Select all

WARNING                        Administration(omgetmsg      ) 19.02.07 18:15:35
[OM 23559] An unrecognized line (562) was found when an OMSTDID line was expected.


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/convert' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/convert


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/convert.cs' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/convert.cs


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/conv.noloss' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/conv.noloss


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/nwclass' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/nwclass


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/exttype' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/exttype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/appmap' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/appmap


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/dir.attribs' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/dir.attribs


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/sys/dir.probes' file: creating new version.
File Name: /var/opt/scalix/sp/s/sys/dir.probes


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/C/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/C/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/C/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/C/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/C/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/C/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/GERMAN/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/GERMAN/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/GERMAN/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/GERMAN/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/GERMAN/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/GERMAN/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/FRENCH/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FRENCH/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/FRENCH/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FRENCH/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/FRENCH/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FRENCH/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/KOREAN/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/KOREAN/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/KOREAN/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/KOREAN/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/PT_BR/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/PT_BR/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:37
[OM 15502]
Missing '~/nls/PT_BR/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/PT_BR/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/PT_BR/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/PT_BR/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/ZH_CN/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ZH_CN/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/ZH_CN/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ZH_CN/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/NIPPON/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/NIPPON/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/NIPPON/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/NIPPON/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/ENGLISH/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ENGLISH/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/ENGLISH/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ENGLISH/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/ENGLISH/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ENGLISH/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SPANISH/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SPANISH/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SPANISH/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SPANISH/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SPANISH/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SPANISH/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/FINNISH/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FINNISH/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/FINNISH/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FINNISH/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/FINNISH/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/FINNISH/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SWEDISH/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SWEDISH/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SWEDISH/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SWEDISH/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/SWEDISH/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/SWEDISH/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/AMERICAN/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/AMERICAN/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:38
[OM 15502]
Missing '~/nls/AMERICAN/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/AMERICAN/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:39
[OM 15502]
Missing '~/nls/AMERICAN/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/AMERICAN/diratt.loc


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:39
[OM 15502]
Missing '~/nls/ITALIAN/pcdetail' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ITALIAN/pcdetail


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:39
[OM 15502]
Missing '~/nls/ITALIAN/filetype' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ITALIAN/filetype


WARNING                        Administration(omcnvinst     ) 19.02.07 18:15:39
[OM 15502]
Missing '~/nls/ITALIAN/diratt.loc' file: creating new version.
File Name: /var/opt/scalix/sp/s/nls/ITALIAN/diratt.loc


WARNING                        Administration(omshutint     ) 19.02.07 18:16:38
[OM.DMON 2205] Failed to connect to Session Monitor: mdc_connect: No such file or directory


WARNING                        Shared memory (Shared memory ) 19.02.07 18:16:41
[OM 24142] Conversion from ISO2022CN to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 19.02.07 18:16:41
[OM 24142] Conversion from SJIS to UCS2 not found.


WARNING                        Administration(omaddmn       ) 19.02.07 18:16:44
[OM 29021] No Orn to IA mapping found for entry /suse10164lamp


WARNING                        Shared memory (Shared memory ) 19.02.07 21:31:12
[OM 24142] Conversion from KSC5601 to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 19.02.07 21:31:12
[OM 24142] Conversion from ISO2022CN to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 19.02.07 21:31:13
[OM 24142] Conversion from SJIS to UCS2 not found.

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Tue Feb 20, 2007 3:44 pm

So any idea why scalix-tomcat is not listening on 8009?
Even after a complete and fresh installation?

Code: Select all

classpath
 /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:
 /opt/scalix-tomcat/bin/commons-logging-api.jar


I used the java installation fromo scalix and the tools.jar is not in the folder. Might be the problem. Can I use a newer java version?

Regards

Michael

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Thu Feb 22, 2007 4:34 pm

Anyone got an idea why tomcat is not listening on port 8009?

Code: Select all

suse10164lamp:~ # lsof -i :8009
suse10164lamp:~ #


but it is running

Code: Select all

suse10164lamp:~ # ps -ef | grep tomcat
root     19764     1  1 21:23 pts/0    00:00:10 /usr/lib64/jvm/java-1.5.0-sun-1.5.0_update10/jre/bin/java -server -Djava.net.preferIPv4Stack=true -Dscalix.instance=/var/opt/scalix/sp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/sp/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/lib64/jvm/java-1.5.0-sun-1.5.0_update10/jre/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/sp/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/sp/tomcat/temp org.apache.catalina.startup.Bootstrap start
root     19904 13680  0 21:34 pts/1    00:00:00 grep tomcat
suse10164lamp:~ #

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Fri Feb 23, 2007 12:59 pm

Here is my server-minimal.xml

Code: Select all

<Server port="8005" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">

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

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="webapps" />
    </Engine>

  </Service>
</Server>


Are there any other config files where the port for tomcat is set?

Some answerrs would be nice this time. I am really stuck at the moment.

Regards

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Feb 24, 2007 7:24 pm

what does lsof -i | grep java show?

--f
Florian von Kurnatowski, Die Harder!

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Sun Feb 25, 2007 5:21 am

It shows:

Code: Select all

java      29959        root   15u  IPv4 307577       UDP *:34790
java      29959        root   22u  IPv4 307580       UDP *:34791
java      29959        root   23u  IPv4 333427       TCP my-domain.info:35372->michaels-place.info:5733 (SYN_SENT)


Regards

Michael

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Feb 25, 2007 7:42 am

can you check your Tomcat's server.xml if the listener for port 8009 ist setup in there?

Florian.
Florian von Kurnatowski, Die Harder!

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Sun Feb 25, 2007 8:45 am

server-minimal.xml in :/opt/scalix-tomcat/conf

Code: Select all

<Server port="8005" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector port="8009" protocol="AJP/1.3" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="webapps" />
    </Engine>

  </Service>
</Server>


Is there another file where it should be set to 8009?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Feb 25, 2007 10:51 am

The relevant file is /var/opt/scalix/<instance>/tomcat/conf/server.xml

Florian.
Florian von Kurnatowski, Die Harder!

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Sun Feb 25, 2007 12:30 pm

Do you mean

Code: Select all

 <!-- 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"
               URIEncoding="UTF-8" />
    -->
    <!-- Note : To disable connection timeouts, set connectionTimeout value
     to 0 -->

        <!-- Note : To use gzip compression you could set the following properties :

                           compression="on"
                           compressionMinSize="2048"
                           noCompressionUserAgents="gozilla, traviata"
                           compressableMimeType="text/html,text/xml"
        -->

    <!-- 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"
               URIEncoding="UTF-8" />
    -->

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
               address="suse10164lamp"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
               URIEncoding="UTF-8" />

    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" acceptCount="100" connectionTimeout="20000"
               proxyPort="80" disableUploadTimeout="true" />
    -->


But I just have this 2 folders in the directory /var/opt/scalix # dir
drwxr-xr-x 3 root root 72 2007-02-16 15:59 re
drwxr-xr-x 11 root root 264 2007-02-22 21:22 sp


Regards

Michaels

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Feb 25, 2007 12:32 pm

yes, in particular this line:

address="suse10164lamp"

does the hostname "suse10164lamp" resolve to a valid IP address of the system? This is what tomcat tries to establish the 8009 listener on. If it's not listening this seems to fail.

Florian.
Florian von Kurnatowski, Die Harder!

SirAdam
Posts: 41
Joined: Sun Feb 18, 2007 5:44 am

Postby SirAdam » Sun Feb 25, 2007 12:41 pm

I changed it now to my-domain.info
Restarted tomcat and apache2
Still the same.

And if I use a proxy.conf in apache2 like this

Code: Select all

<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.

ProxyRequests Off

<Proxy *>
AddDefaultCharset on
Order deny,allow
Deny from all
### change here to allow local network ###
Allow from localhost
</Proxy>

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block

ProxyVia On
</IfModule>

I get Error 403, If I turn it off I get error 503.

Cheers


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 9 guests