|
Home > Archive > Apache Directory Project > April 2006 > Problems when embedding with tomcat / building
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problems when embedding with tomcat / building
|
|
| Marcelo Alcantara 2006-04-30, 1:11 am |
| Hi everybody,
This is my first post on the forum, and I did a lot of research before
coming to you.
Right now, I am doing a verysign/tomcat/java/domino integration in
which I need a LDAP server to provide "dynamic" login accounts for
Domino.
I need to integrate the LDAP with Tomcat. But it doesn't work in no
way. I always get IncompatibleClassException in DnParser. I saw
log4j/nlog4j messages on the mailing-list, and tried some changes
without success.
Then, I downloaded the source from maven, to prepare a debugging here,
but I cannot build it with Maven. I used maven 1.02 first, and then
tried with 2.0 without success too.
Then, my doubts are:
1. There is a easy way to launch ApacheDS from Tomcat? (I used an init
from a servlet).
2. How do I get sources and build locally? Maven 1.02 or 2.0?
Thanks in advance for any help!!!!
--
Marcelo Alcantara
Senior Developer/Architect
S=E3o Paulo - Brazil
--------------------------------------------------------
maralc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
+55 11 81968823
| |
| Stefan Zoerner 2006-04-30, 7:11 am |
| Hi Marcelo!
Marcelo Alcantara wrote:
> 1. There is a easy way to launch ApacheDS from Tomcat? (I used an init
> from a servlet).
I do not know much about Tomcat, but there probably exist container
specific extension points, which are at least an alternative to your
approach. The embedding implementations I have seen so for used
vendor/product interfaces/JMX to plug ApacheDS in. Have you considered a
Service (org.apache.catalina.Service,
org.apache.catalina.core.StandardService)? Warning: I don't knew whether
this is a valid option ... And in general it probably depends on what
you in detail want to achieve. For instance: Do you want LDAP clients be
able to connect to the embedded server remotely?
> 2. How do I get sources and build locally? Maven 1.02 or 2.0?
>
I currently use Maven 2.0.4 successfully. This week someone reported a
problem when building ApacheDS with 2.0.2, which disappeared with the
newer version ...
Greetings from Hamburg,
Stefan
---
SPEAKER @ JAX 2006
Conference on Java, XML, Web Services
May 8-12, 2006
Rhein-Main-Hallen Wiesbaden
www.jax.de
|
|
|
|
|