Page 1 of 1
Problems after upgrade from 9.4.1 to 9.4.2 FC4
Posted: Wed Dec 28, 2005 12:36 pm
by mrhumphreys
Hi,
Just upgrade to 9.4.2 on FC,a nd now have the following problems.
I cannot access /SAC/ or /webmail/ "Administration Server is not reponding. Possible lost connection or server problem".
I've looked in the setclasspath and that all looks ok.
The other issue is that fetchmail is now failing....
fetchmail: fetchmail: getaddrinfo(scalix.ems.int.smtp)
fetchmail: SMTP connect to scalix.ems.int failed
is now appearing in the log file.
Does anyone have any ideas?
Many thanks
Matthew
Posted: Thu Dec 29, 2005 9:53 pm
by ScalixSupport
Hi Matthew,
For the first problem, it sounds as though there's a tomcat problem. Type:
ps -aef|grep tomcat
and verify that it's running. If it is, go into your tomcat home directory and then into the webapps subdirectory under that and type:
ls -l
and post the results.
Regarding the fetchmail problem, type:
omstat -a
and verify that the smtp relay is running. Now, I'm assuming the internal name of your Scalix server is scalix.ems.int, if so, when you type:
telnet scalix.ems.int 25
what is returned? Can you post your /var/opt/scalix/sys/smtpd.cfg file?
Thanks,
Rachel
Posted: Fri Dec 30, 2005 6:13 am
by mrhumphreys
Morning Rachel - thanks for the reply.
Here;s the cli output..
[root@ems ~]# ps -aef|grep tomcat
tomcat 3131 1 0 Dec29 ? 00:00:26 /usr/lib/jvm/java/bin/java -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/java/commons-logging-api.jar:/usr/share/java/mx4j/mx4j.jar -Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/usr/share/tomcat5/temp org.apache.catalina.startup.Bootstrap start
root 12821 12792 0 09:56 pts/1 00:00:00 grep tomcat
[root@ems ~]#
Having a stupid moment, but what is that telling us?
[root@ems jakarta-tomcat-5.0.28]# cd webapps
[root@ems webapps]# ls -l
total 72
drwxr-xr-x 4 root root 4096 Oct 30 17:18 balancer
drwxr-xr-x 4 root root 4096 Oct 30 18:11 caa
drwxr-xr-x 21 root root 4096 Oct 30 17:18 jsp-examples
drwxr-xr-x 3 root root 4096 Oct 30 17:18 ROOT
drwxr-xr-x 7 root root 4096 Aug 4 00:54 sac
drwxr-xr-x 4 root root 4096 Oct 30 17:18 servlets-examples
drwxr-xr-x 12 root root 4096 Oct 30 17:18 tomcat-docs
drwxr-xr-x 3 root root 4096 Oct 30 17:18 webdav
drwxr-xr-x 11 root root 4096 Oct 30 18:11 webmail
[root@ems webapps]#
[root@ems webapps]# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 12.29.05
Notification Server Started 12.29.05 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 12.29.05
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 12.29.05
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 12.29.05
SMTP Relay Started 12.29.05
Mime Browser Controller Started 12.29.05
[root@ems webapps]#
As you can see, smtp is all running, and I think i've found the error! Somehow I had scalix.ems.int in one file, and ems.scalix.int in another! Just rebooting the box now to check!
Cheers
Matthew
Posted: Fri Dec 30, 2005 6:28 am
by mrhumphreys
After I rebooted, fetchmail is all ok.
Can't get any life from 192.168.0.181:8080 at all!
[root@scalix bin]# ./catalina.sh run
Using CATALINA_BASE: /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_09
Dec 30, 2005 10:25:17 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Dec 30, 2005 10:25:17 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Dec 30, 2005 10:25:17 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 9741 ms
Dec 30, 2005 10:25:18 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 30, 2005 10:25:18 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Dec 30, 2005 10:25:18 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 30, 2005 10:25:18 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Dec 30, 2005 10:25:18 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/scalix-swa.xml
reading partner.xml @ /etc/opt/scalix/webmail/partner.xml
Dec 30, 2005 10:25:24 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/scalix-caa.xml
Dec 30, 2005 10:25:25 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/root/jakarta-tomcat-5.0.28/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
CAA: caa-root-directory is /etc/opt/scalix/caa/
CAA: Loaded web.xml init params
CAA: caa-config-directory is /etc/opt/scalix/caa/config
CAA: log4j-init-file is /etc/opt/scalix/caa/config/log4j.properties
CAA: caa-framework-init-file is /etc/opt/scalix/caa/config/framework-config.xml
Dec 30, 2005 10:25:28 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
Dec 30, 2005 10:25:30 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Dec 30, 2005 10:25:30 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 30, 2005 10:25:33 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Dec 30, 2005 10:25:38 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/balancer.xml
Dec 30, 2005 10:25:39 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/scalix-admin.xml
Dec 30, 2005 10:25:40 AM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sac]
Dec 30, 2005 10:25:40 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/root/jakarta-tomcat-5.0.28/conf/Catalina/localhost/manager.xml
Dec 30, 2005 10:25:41 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:/root/jakarta-tomcat-5.0.28/webapps/jsp-examples
Dec 30, 2005 10:25:41 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:/root/jakarta-tomcat-5.0.28/webapps/ROOT
Dec 30, 2005 10:25:41 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:/root/jakarta-tomcat-5.0.28/webapps/servlets-examples
Dec 30, 2005 10:25:42 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:/root/jakarta-tomcat-5.0.28/webapps/tomcat-docs
Dec 30, 2005 10:25:42 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:/root/jakarta-tomcat-5.0.28/webapps/webdav
Dec 30, 2005 10:25:42 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Dec 30, 2005 10:25:42 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use:8080
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Dec 30, 2005 10:25:42 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25068 ms
StandardServer.await: create[8005]: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
[root@scalix bin]#
Posted: Fri Dec 30, 2005 3:43 pm
by ScalixSupport
Hi Matthew,
It appears that your system somehow reverted back to the tomcat that came with your system. Take a look at the FC4 sticky note in the Installation forum for details. The ps -aef output you sent shows:
/usr/share/tomcat5
as your tomcat your subdirectory, but you ls -l output you sent was for:
jakarta-tomcat-5.0.28
which I'm assuming is in:
/var/opt/jakarta-tomcat-5.0.28
Thanks,
Rachel
Posted: Sun Jan 01, 2006 3:00 pm
by mrhumphreys
ps -aef|grep tomcat
root 4869 1 23 18:51 pts/1 00:00:39 /usr/java/j2sdk1.4.2_09/bin/java -server -Xms256m -Xmx256m -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jakarta-tomcat-5.0.28/common/endorsed -classpath /usr/java/j2sdk1.4.2_09/lib/tools.jar:/opt/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/opt/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.base=/opt/jakarta-tomcat-5.0.28 -Dcatalina.home=/opt/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/opt/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap start
Does that look better?
Still not able to access anything though....
http://192.168.0.180:8080/ gives me the "Welcome to Apache Tomcat/5.0.28" etc page
http://192.168.0.180:8080/sac/ gives
HTTP Status 404 - /sac/
--------------------------------------------------------------------------------
type Status report
message /sac/
description The requested resource (/sac/) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.28
Think we are getting there!
Happy New Year!
Matt
Posted: Tue Jan 03, 2006 11:33 am
by ScalixSupport
mrhumphreys wrote:ps -aef|grep tomcat
root 4869 1 23 18:51 pts/1 00:00:39 /usr/java/j2sdk1.4.2_09/bin/java -server -Xms256m -Xmx256m -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jakarta-tomcat-5.0.28/common/endorsed -classpath /usr/java/j2sdk1.4.2_09/lib/tools.jar:/opt/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/opt/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar -Dcatalina.base=/opt/jakarta-tomcat-5.0.28 -Dcatalina.home=/opt/jakarta-tomcat-5.0.28 -Djava.io.tmpdir=/opt/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap start
Does that look better?
Still not able to access anything though....
http://192.168.0.180:8080/ gives me the "Welcome to Apache Tomcat/5.0.28" etc page
http://192.168.0.180:8080/sac/ gives
HTTP Status 404 - /sac/
--------------------------------------------------------------------------------
type Status report
message /sac/
description The requested resource (/sac/) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.28
Think we are getting there!
Happy New Year!
Matt
Seems like there is no sac directory where it should be. Please post the output of ls -al /opt/jakarta-tomcat-5.0.28/webapps. Please check the existance and the directory permissions of the directory sac.
Cheers,
Sascha.
Posted: Tue Jan 03, 2006 2:53 pm
by mrhumphreys
Cheers Sascha,
[root@scalix ~]# ls -al /opt/jakarta-tomcat-5.0.28/webapps
total 32
drwxr-xr-x 8 root root 4096 Aug 29 2004 .
drwxr-xr-x 11 root root 4096 Jan 1 18:37 ..
drwxr-xr-x 4 root root 4096 Jan 1 18:37 balancer
drwxr-xr-x 21 root root 4096 Jan 1 18:37 jsp-examples
drwxr-xr-x 3 root root 4096 Jan 1 18:37 ROOT
drwxr-xr-x 4 root root 4096 Jan 1 18:37 servlets-examples
drwxr-xr-x 12 root root 4096 Jan 1 18:37 tomcat-docs
drwxr-xr-x 3 root root 4096 Jan 1 18:37 webdav
[root@scalix ~]#
[root@scalix ~]# locate webapps/ROOT/index.jsp
/opt/jakarta-tomcat-5.0.28/webapps/ROOT/index.jsp
/root/jakarta-tomcat-5.0.28/webapps/ROOT/index.jsp
/var/lib/tomcat5/webapps/ROOT/index.jsp
Hmmm. looks like I've managed to get jakarta installed twice.....
cd root/jakarta-tomcat-5.0.28/
[root@scalix jakarta-tomcat-5.0.28]# ls
bin conf logs RELEASE-NOTES server temp work
common LICENSE NOTICE RUNNING.txt shared webapps
[root@scalix jakarta-tomcat-5.0.28]# cd webapps/
[root@scalix webapps]# ls
balancer jsp-examples sac tomcat-docs webmail
caa ROOT servlets-examples webdav
[root@scalix webapps]#
AND..
[root@scalix /]# cd opt/jakarta-tomcat-5.0.28/
[root@scalix jakarta-tomcat-5.0.28]# ls
bin conf logs RELEASE-NOTES server temp work
common LICENSE NOTICE RUNNING.txt shared webapps
[root@scalix jakarta-tomcat-5.0.28]#
How do I turn one off and use the other one?
Many thanks
Matthew
Posted: Tue Jan 03, 2006 3:42 pm
by ScalixSupport
Hi Matthew,
Yes, it does appear that you have it installed twice. Only one instance is actually running (the one in /opt/jakarta-tomcat-5.0.28) which unfortunately is the wrong one. You should stop that instance by going into /opt/jakarta-tomcat-5.0.28/bin and typing:
./shutdown.sh
then type ps -aef|grep tomcat and make sure it's not running. You can then start the correct tomcat by going into /root/jakarta-tomcat-5.0.28/bin and typing:
./startup.sh
If you've copied the tomcat startup script from the admin_resource_kit subdirectory into your /etc/init.d directory, you can modify that so it always starts the correct instance of tomcat. Look for the line that starts with:
CATALINA_HOME=
and change it to be:
CATALINA_HOME=/root/jakarta-tomcat-5.0.28; export CATALINA_HOME
Thanks,
Rachel
Posted: Thu Jan 05, 2006 7:39 am
by mrhumphreys
Thanks again Rachel,
Webmail works as expected, but still get..
"could not log on. the administration server is not responding" when I try to connect to the admin console. This occurs on the local machine anyt pc's on the lan.
Many thanks for you patience!
Matthew
Posted: Fri Jan 06, 2006 3:10 am
by ScalixSupport
Hi Matthew,
You're welcome. Okay, this could be a couple of things. First, could you go into /root/jakarta-tomcat-5.0.28/logs and take a look in the caa.log file for any errors. Please post those here. If want, you can stop tomcat, delete the caa.log file, then restart tomcat and try to logon to SAC. Once you've done that, go ahead and post the entire caa.log file here.
Thanks,
Rachel
Posted: Tue Jan 17, 2006 5:22 pm
by mrhumphreys
Hi Rachel,
Sorry about the delay - been skiiing for a week!
Here's the log file.....
2006-01-17 21:14:33,277 INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting up, standby <====
2006-01-17 21:14:33,590 WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2006-01-17 21:14:33,612 ERROR [CAAConfigLoader.parseComponentNode:244] Service scalix.res, Component disabled has no class defined!
2006-01-17 21:14:33,992 INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2006-01-17 21:14:34,004 INFO [NotificationEventListener.launch:243] Main Notification Event Listener thread launched...
2006-01-17 21:14:34,012 INFO [NotificationEventListener.launch:246] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0 launched...
2006-01-17 21:14:34,019 INFO [NotificationEventListener.launch:246] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1 launched...
2006-01-17 21:14:34,036 INFO [RESInitializer.initNotificationListener:201] RESMonitor-thread Thread launched...
2006-01-17 21:14:34,114 INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====
2006-01-17 21:17:52,923 ERROR [RbacAuthorizationHelper.authenticateUser:80] Exception:
javax.naming.CommunicationException: ems.scalix.int:389 [Root exception is java.net.UnknownHostException: ems.scalix.int]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:204)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:51)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:101)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.UnknownHostException: ems.scalix.int
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
... 46 more
Hope this helps
Many thanks
Matthew
Posted: Tue Jan 17, 2006 6:47 pm
by ScalixSupport
Hi Matthew,
If you look in that log output, there's a line that reads:
javax.naming.CommunicationException: ems.scalix.int:389 [Root exception is java.net.UnknownHostException: ems.scalix.int]
which points to the problem. As I recall, when you first setup the system, you had entered the name incorrectly (ems.scalix.int rather than scalix.ems.int), so that's likely the problem here. If you look in the file /etc/opt/scalix/caa/scalix.res/config/ubermanager.properties and search for ems.scalix.int and change those to scalix.ems.int, save the file, then restart tomcat, you should be able to login to SAC.
Thanks,
Rachel
Posted: Wed Jan 25, 2006 1:05 pm
by mrhumphreys
All working now.
Thanks to everyone
Matthew