We are experimenting the DSML for eDirectory on a WinXP machine running
Tomcat
5.5.9 against a
eDir8.7.3. We deployed the novell-dsml.war to
Tomcat and managed to get the verification page OK. When running the
sample sample_consumers.DomClient, we then encountered the below error
message:
C:PROGRA~1ApacheTOMCAT~1.9webappsNOVELL~1WEB-INFclasses>java sample_consu
mers.DomClient SearchRequest.xml
http://localhost/novell-dsml/jbroker
"cn=somecn, o=someo" "somepasswd"
Exception in thread "main" javax.naming.NoInitialContextException: Need to
speci
fy class name in environment or system property, or as an applet
parameter, or i
n an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown
Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at sample_consumers.DomClient.main(Unknown Source)