Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Tomcat and Active Directory / 2003

Tomcat and Active Directory / 2003

2003-10-08       - By Matt Fury

 Back
Reply:     1     2     3     4     5     6  

BTW: I am using 4.1.27 on Windows 2000 and we're
trying to connect to a Windows 2003 AD. Has this
changed at all?

here is the error trace:

Catalina.start: LifecycleException:  Exception opening
directory server connecti
on:  javax.naming.CommunicationException Source code of javax.naming.CommunicationException:
localhost:389 [Root exception is java.
net.ConnectException: Connection refused: connect]
LifecycleException:  Exception opening directory
server connection:  javax.namin
g.CommunicationException: localhost:389 [Root
exception is java.net.ConnectExcep
tion: Connection refused: connect]

It keeps saying localhost:389 and I clearly don't have
it in the Realm. Here is my setup.

<Realm className="org.apache.catalina.realm.JNDIRealm Source code of org.apache.catalina.realm.JNDIRealm"
        debug="99"
        connectionName="cn=TomcatRole,dc=vo,dc=net"
        connectionPassword="*******"
        connectionURL="ldap://orlmsdc001:389"
        digest="MD5"
        roleBase="dc=roles,dc=vo,dc=net"
        roleName="cn"
        roleSearch="(uniqueMember={0})"
        roleSubtree="True"
        userPassword="*******"
        userPattern="cn={0},dc=vacationsonly,dc=net"  />



--- Matt Fury <matty@(protected)> wrote:
> Hi All,
>
> I've been trying for several weeks to compile
> information on Tomcat and Active Directory through
> LDAP. I can't quite get all the information I need
> and
> I am hoping someone has a link to what needs to be
> done. I want to use the Realms in Tomcat but I can't
> seem to connect properly. For some reason it seems
> to
> keep trying to connect to localhost even though its
> not specified.
>
> Also, does SSL NEED to be implemented in order to
> get
> this to work? I will be doing AD connectivity
> through
> LAN only.
>
> Thanks.
>
> -Matt
>
>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail:
> tomcat-user-help@(protected)
>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.