S
Steve Szabo
Hello,
Hopefully this isn't too stupid of a question. I have settings
defined in my Tomcat application server.xml file that I would also
like to use from an external Java application. Specifically, the
connection pool settings and preferably the connection pool itself.
My external app already shares code from the same bean package that I
run within my Tomcat application. The data layer code does a "new
InitialContext()", which works fine when run in the Tomcat container.
When the same code is accessed from my code outside of Tomcat, I get
the following Exception:
"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"
Your insight is appreciated.
Thank you,
Steve
Hopefully this isn't too stupid of a question. I have settings
defined in my Tomcat application server.xml file that I would also
like to use from an external Java application. Specifically, the
connection pool settings and preferably the connection pool itself.
My external app already shares code from the same bean package that I
run within my Tomcat application. The data layer code does a "new
InitialContext()", which works fine when run in the Tomcat container.
When the same code is accessed from my code outside of Tomcat, I get
the following Exception:
"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"
Your insight is appreciated.
Thank you,
Steve