Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Problems starting J2EE server

Reply
Thread Tools

Problems starting J2EE server

 
 
jorgemcsantos@bol.com.br
Guest
Posts: n/a
 
      01-04-2005
Hi!

I am trying to use J2EE SDK with OpenLDAP for Windows (
http://www.ilex.fr/openldap/), nevertheless by starting the J2EE server
I get the following error:

C:\>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
javax.naming.ConfigurationException: Invalid URL: ldap://localhost:389.
Root exception is java.net.MalformedURLException: unknown protocol:
ldap
at java.net.URL.<init>(URL.java:586)
at java.net.URL.<init>(URL.java:476)
at java.net.URL.<init>(URL.java:425)
at com.sun.jndi.cosnaming.CNCtx.getStringifiedIor(CNC tx.java:401)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext (CNCtx.java:19
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialCont ext(CNCtxFactory.java:32)
at
javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:662)
at
javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.ja va:219)
at javax.naming.InitialContext.<init>(InitialContext. java:195)
at
com.sun.enterprise.naming.NamingManagerImpl.<init> (NamingManagerImpl.java
:104)
at
com.sun.enterprise.naming.NamingManagerImpl.<init> (NamingManagerImpl.java
:82)
at com.sun.enterprise.server.J2EEServer.run(J2EEServe r.java:240)
at com.sun.enterprise.server.J2EEServer.main(J2EEServ er.java:972)
javax.naming.ConfigurationException: Invalid URL:
ldap://192.168.0.250:389. Root exception is
java.net.MalformedURLException: unknown protocol: ldap
at java.net.URL.<init>(URL.java:586)
at java.net.URL.<init>(URL.java:476)
at java.net.URL.<init>(URL.java:425)
at com.sun.jndi.cosnaming.CNCtx.getStringifiedIor(CNC tx.java:401)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext (CNCtx.java:19
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialCont ext(CNCtxFactory.java:32)
at
javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:662)
at
javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.ja va:219)
at javax.naming.InitialContext.<init>(InitialContext. java:195)
at
com.sun.enterprise.naming.NamingManagerImpl.<init> (NamingManagerImpl.java
:104)
at
com.sun.enterprise.naming.NamingManagerImpl.<init> (NamingManagerImpl.java
:82)
at com.sun.enterprise.server.J2EEServer.run(J2EEServe r.java:240)
at com.sun.enterprise.server.J2EEServer.main(J2EEServ er.java:972)

java.lang.RuntimeException: Invalid URL: ldap://localhost:389
at com.sun.enterprise.server.J2EEServer.run(J2EEServe r.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServ er.java:972)

J2EE server reported the following error: Invalid URL:
ldap://localhost:389
Error executing J2EE server ...

My environment is composed of :

Windows 2K professional
Cloudscape
J2EE 1.3.1 SDK
OpenLDAP for windows (http://www.ilex.fr/openldap/)

I have tried find an answer through google, but I couldn't succed!
Does anyone have any clue?

Thanks in advance

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
LAMP & J2EE as opposed to LAMP vs J2EE Ross M. Greenberg Java 6 12-24-2004 09:59 PM
Starting J2EE 1.4 Application Server (Linux) Kristoffel Java 1 03-06-2004 02:12 PM



Advertisments