External LDAP Installation

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

External LDAP Installation

Postby davidz » Wed Apr 19, 2006 6:01 pm

I have a newly installed scalix server setup and I've got ldap lookups working if I create a local user in scalix then link the authid to my openldap directory. But I'm having trouble getting the omldapsync working. I've setup agreement and I get a couple of things gone wrong. Here is the output when I do the test within omldapsync:

Common tasks menu for syncid hermes
0. Display this menu
1. Configure the LDAP dir sync settings
2. Force a complete (re)load of the directory
3. Update the directory after some changes
4. Accept previous error and update directory
5. Skip previous error and update directory
6. Update the directory and prompt for error
7. Modify all sync records from the directory
8. Delete all sync records in the directory
d. Toggle debug mode from current setting <0>
n. Toggle test mode from current setting <>
q. Quit
INPUT: Please enter an option (0):1
2006-04-19 09:18:35 STATUS: Configuration of hermes started ########
INPUT: Edit config file now y/n (n):y
INPUT: Use vi to edit y/n (n):y
INPUT: Compare old config to new y/n (n):n
INPUT: Replace old config with new y/n (?):y
2006-04-19 09:20:25 STATUS: renamed old sync.cfg to sync.last
2006-04-19 09:20:25 STATUS: installed updated config sync.cfg
INPUT: Attempt to test data extraction now y/n (n):y
INPUT: please enter password for EX_PASS=
INPUT: please enter password for IM_CAA_PASS=
2006-04-19 09:20:29 INFO: test searching from zeus.sutc.com ...
2006-04-19 09:20:29 INFO: search base is ou=Users,dc=SUTC,dc=COM
2006-04-19 09:20:29 WARNING: failed to find any matching entry
2006-04-19 09:20:29 INFO: test listing servers from
http://hermes.sutc.com/caa ...
--------> Sending SOAP Request to Ubermanager@http://hermes.sutc.com/caa
for method:GetServersList
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage
xmlns:scalix-caa="http://www.scalix.com/caa">
<ServiceType>scalix.res</ServiceType>
<FunctionName>GetServersList</FunctionName>
<Credentials id="12345">
<Identity name="sxadmin@hermes.sutc.com"
passwd="xxxxxxxx"/>
</Credentials>
<ScalixServers/>
<GetServersListParameters/>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Apr 19, 2006 9:20:30 AM com.sun.xml.messaging.saaj.soap.MessageImpl
identifyContentType
SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message
instead of a SOAP message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Apr 19, 2006 9:20:30 AM com.sun.xml.messaging.saaj.soap.MessageImpl
<init>
SEVERE: SAAJ0535: Unable to internalize message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:194)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
... 8 more

CAUSE:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)

CAUSE:

com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
internalize message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:194)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
... 8 more
com.sun.xml.messaging.saaj.SOAPExceptionImpl:
java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:128)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 2 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
internalize message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:194)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
... 8 more

CAUSE:

java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
internalize message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:194)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
... 8 more

CAUSE:

java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize
message
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
internalize message
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:194)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:357)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/plain. Is this an error message instead of a SOAP
response?
at
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
... 8 more
2006-04-19 09:20:30 ERROR: failed to run omldapagent
2006-04-19 09:20:30 STATUS: Configuration of hermes failed, error=2
###########

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Wed Apr 19, 2006 6:16 pm

Nevermind this portion, I've fixed it not finding anything in my directory.


2006-04-19 09:20:29 INFO: test searching from zeus.sutc.com ...
2006-04-19 09:20:29 INFO: search base is ou=Users,dc=SUTC,dc=COM
2006-04-19 09:20:29 WARNING: failed to find any matching entry

But I still haven't been able to fix the other part with the SOAP errors. Thanks for any help.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 19, 2006 8:00 pm

Please take a look at the scalix-res logs in your tomcat directory. This may give more details on the cause of the error.

Cheers

Dave

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Wed Apr 19, 2006 10:51 pm

I don't get anything in /opt/scalix-tomcat/logs/scalix-res.log when I try and run the test in omldapsync. The only thing in that log are heartbeat monitors like the ones below:

2006-04-19 20:44:42,328 DEBUG [Notifier.sendNotification:130] Notifier-thread-1/ACK/Event=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1]
2006-04-19 20:45:42,331 DEBUG [HeartBeatEventPoller.run:67] Added heartbeatEventEvent=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1] to the Notification Event Queue
2006-04-19 20:45:42,332 DEBUG [Notifier.sendNotification:130] Notifier-thread-1/ACK/Event=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1]
2006-04-19 20:46:42,334 DEBUG [HeartBeatEventPoller.run:67] Added heartbeatEventEvent=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1] to the Notification Event Queue
2006-04-19 20:46:42,335 DEBUG [Notifier.sendNotification:130] Notifier-thread-1/ACK/Event=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1]
2006-04-19 20:47:42,338 DEBUG [HeartBeatEventPoller.run:67] Added heartbeatEventEvent=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1] to the Notification Event Queue
2006-04-19 20:47:42,339 DEBUG [Notifier.sendNotification:130] Notifier-thread-1/ACK/Event=[heartbeat|http://hermes.sutc.com/res/RESDispatcher|LISTEN|300|hermes|hermes.sutc.com|10.0.1]

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 19, 2006 11:22 pm

What version of SAC do you have installed ?

Cheers

Dave

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Thu Apr 20, 2006 9:14 am

I downloaded version 10.0.1 Community Edition. How do I find the exact version of the different components? Like SAC or SWA? Or does is even matter?

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Thu Apr 20, 2006 1:33 pm

After taking a break and looking at the sync.cfg with a fresh set of eyes, I found my problem. The line "IM_CAA_URL=http://local.server.com/caa/" was missing the trailing "/"!


Thanks for the quick responses!!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests

cron