tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Oldeboershuis <...@outermedia.de>
Subject jndi.properties and classpath
Date Fri, 13 Oct 2000 10:10:46 GMT
Hi,

I know this seems to be another classpath error, but I really tried
almost everthing.

I am running tomcat3.1
my tomcat/lib contains
ant.jar
jasper.jar
jaxp.jar
parser.jar
servlet.jar
webserver.jar
xml.jar

I have an app in the webapp folder and all classes in
    WEB-INF/classes
which only contains the file
    jndi.properties

and all jars in
    WEB-INF/lib/
ejb.jar, ...

But I always get the following exception for any lookup of ejbs via jndi

-----------------
Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file:
java.naming.factory.initial
----------------

if I change the external classpath of tomcat and add a location which
only contains the file jndi.properties everything is fine. BUT that is
not what I want to do!

Does anybody know a solution???

so long!
    simon




Mime
View raw message