LDAP error -49, was-Stumped with LDAP/AD - 404 Requested resource( ) unavailable

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown LDAP error -49, was-Stumped with LDAP/AD - 404 Requested resource( ) unavailable

by Kim Cary :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the tips, Scott!

I couldn't solve the 'two copies of spring' issue, I'm too clueless on  
java... but I'll keep trying. I spent an hour looking around for the  
double sets of frameworks and couldn't find them. I used the Java  
Preferences in Mac to switch from Java 1.6 => Java 1.5 and so now

kcary% java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


HOWEVER, I did find my version of mvn was 2.0.4. So, I:
=downloaded 2.0.9
=moved the unpacked files to /usr/local/apache-maven-209
=used lndir to symlink the mave bin/ lib/ and so for into /usr/local  
tree
=which mvn then yielded /usr/local/bin/mvn and so

mvn -version
Maven version: 2.0.9
Java version: 1.5.0_13
OS name: "mac os x" version: "10.5.5" arch: "i386" Family: "unix"

I did another

mvn clean package

in {SOURCE}/cas-server-webapp

and moved the cas.war to my tomcat-dev webapps

I added in my deployerConfigContext.xml (after fixing a few issues)  
and now I'm getting the familiar:
  LDAP: error code 49
Which tells me I'm getting close. I used to get this with the esup-
portail CAS2 quickstart before I got things running properly. On that  
distribution, there was a really trick debug output that showed where  
in the conversation the ldap call failed. Anything analogous here for  
debugging the ldap?
BTW, I've refreshed
https://centurion.pepperdine.edu/files/dope.zip
with the new deployer file and the log output, if anyone wants to look.
Kim

-=#=-


On Sep 24, 2008, at 4:57 PM, cas-request@... wrote:

> Date: Wed, 24 Sep 2008 19:57:00 -0400
> From: "Scott Battaglia" <scott.battaglia@...>
> Subject: Re: Stumped with LDAP/AD - 404 Requested resource( )
> unavailable
> To: "Yale CAS mailing list" <cas@...>
> Message-ID:
> <1bbd36a10809241657x4eb0122oe218fde6880eda47@...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You have two different versions of Spring in your classpath.  you  
> need to
> remove one of them.
>
> If you're not running the latest Maven2, then you should update.  
> MacOS has
> a really old version by default.

_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: LDAP error -49, was-Stumped with LDAP/AD - 404 Requested resource( ) unavailable

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Switching to Maven 2.0.9 probably fixed your multiple Spring problem (it has to do with the way Maven handles transitive dependencies).

As for debugging LDAP, you can try turning on the debugging related to Sun's LDAP code (see the Sun documentation) and also Spring LDAP, which would be setting the cas/WEB-INF/classes/log4j.properties to DEBUG for org.springframework.ldap

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Thu, Sep 25, 2008 at 4:09 PM, Kim Cary <Kim.Cary@...> wrote:
Thanks for the tips, Scott!

I couldn't solve the 'two copies of spring' issue, I'm too clueless on
java... but I'll keep trying. I spent an hour looking around for the
double sets of frameworks and couldn't find them. I used the Java
Preferences in Mac to switch from Java 1.6 => Java 1.5 and so now

kcary% java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


HOWEVER, I did find my version of mvn was 2.0.4. So, I:
=downloaded 2.0.9
=moved the unpacked files to /usr/local/apache-maven-209
=used lndir to symlink the mave bin/ lib/ and so for into /usr/local
tree
=which mvn then yielded /usr/local/bin/mvn and so

mvn -version
Maven version: 2.0.9
Java version: 1.5.0_13
OS name: "mac os x" version: "10.5.5" arch: "i386" Family: "unix"

I did another

mvn clean package

in {SOURCE}/cas-server-webapp

and moved the cas.war to my tomcat-dev webapps

I added in my deployerConfigContext.xml (after fixing a few issues)
and now I'm getting the familiar:
 LDAP: error code 49
Which tells me I'm getting close. I used to get this with the esup-
portail CAS2 quickstart before I got things running properly. On that
distribution, there was a really trick debug output that showed where
in the conversation the ldap call failed. Anything analogous here for
debugging the ldap?
BTW, I've refreshed
https://centurion.pepperdine.edu/files/dope.zip
with the new deployer file and the log output, if anyone wants to look.
Kim

-=#=-


On Sep 24, 2008, at 4:57 PM, cas-request@... wrote:

> Date: Wed, 24 Sep 2008 19:57:00 -0400
> From: "Scott Battaglia" <scott.battaglia@...>
> Subject: Re: Stumped with LDAP/AD - 404 Requested resource( )
>       unavailable
> To: "Yale CAS mailing list" <cas@...>
> Message-ID:
>       <1bbd36a10809241657x4eb0122oe218fde6880eda47@...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You have two different versions of Spring in your classpath.  you
> need to
> remove one of them.
>
> If you're not running the latest Maven2, then you should update.
> MacOS has
> a really old version by default.

_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: LDAP error -49, was-Stumped with LDAP/AD - 404 Requested resource( ) unavailable

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Switching to Maven 2.0.9 probably fixed your multiple Spring problem (it has to do with the way Maven handles transitive dependencies).

As for debugging LDAP, you can try turning on the debugging related to Sun's LDAP code (see the Sun documentation) and also Spring LDAP, which would be setting the cas/WEB-INF/classes/log4j.properties to DEBUG for org.springframework.ldap

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Thu, Sep 25, 2008 at 4:09 PM, Kim Cary <Kim.Cary@...> wrote:
Thanks for the tips, Scott!

I couldn't solve the 'two copies of spring' issue, I'm too clueless on
java... but I'll keep trying. I spent an hour looking around for the
double sets of frameworks and couldn't find them. I used the Java
Preferences in Mac to switch from Java 1.6 => Java 1.5 and so now

kcary% java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


HOWEVER, I did find my version of mvn was 2.0.4. So, I:
=downloaded 2.0.9
=moved the unpacked files to /usr/local/apache-maven-209
=used lndir to symlink the mave bin/ lib/ and so for into /usr/local
tree
=which mvn then yielded /usr/local/bin/mvn and so

mvn -version
Maven version: 2.0.9
Java version: 1.5.0_13
OS name: "mac os x" version: "10.5.5" arch: "i386" Family: "unix"

I did another

mvn clean package

in {SOURCE}/cas-server-webapp

and moved the cas.war to my tomcat-dev webapps

I added in my deployerConfigContext.xml (after fixing a few issues)
and now I'm getting the familiar:
 LDAP: error code 49
Which tells me I'm getting close. I used to get this with the esup-
portail CAS2 quickstart before I got things running properly. On that
distribution, there was a really trick debug output that showed where
in the conversation the ldap call failed. Anything analogous here for
debugging the ldap?
BTW, I've refreshed
https://centurion.pepperdine.edu/files/dope.zip
with the new deployer file and the log output, if anyone wants to look.
Kim

-=#=-


On Sep 24, 2008, at 4:57 PM, cas-request@... wrote:

> Date: Wed, 24 Sep 2008 19:57:00 -0400
> From: "Scott Battaglia" <scott.battaglia@...>
> Subject: Re: Stumped with LDAP/AD - 404 Requested resource( )
>       unavailable
> To: "Yale CAS mailing list" <cas@...>
> Message-ID:
>       <1bbd36a10809241657x4eb0122oe218fde6880eda47@...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You have two different versions of Spring in your classpath.  you
> need to
> remove one of them.
>
> If you're not running the latest Maven2, then you should update.
> MacOS has
> a really old version by default.

_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas
LightInTheBox - Buy quality products at wholesale price!