Can't help with Oracle, but the concepts are usually interchangeable
so this may help. Other Application Servers (WebSphere and WebLogic)
allow applications to access jars three different ways:
1. "Boot Classpath" -- this is the "system classpath" or the
classpath for the JVM that runs the Application Server. This is the
last resort because adding a jar here affects all applications in the
container.
2. "(EJB) Application Classpath" or "shared library" references --
this is probably the best place. In essence, somewhere in your
configuration, you describe that for your particular EJB application,
these jars are needed.
3. "Web Application Classpath" (WEB-INF) -- if the jars are only
needed by a ".war", then this may be a suitable place.
Hope this helps.
-h
----------------------------------------------------------------------
Hira, N.R.
Cognocys, Inc.
Catch up on the news. http://www.cognocys.com/prospector/news.html
On 09-Feb-2009, at 4:39 PM, David Fisher wrote:
Patrick,
I don't think that anyone here necessarily knows how to configure
the Oracle Application Server.
I know that for Tomcat they want you to put the jars in one of two
places and they tell you NOT to set the classpath.
One of the places for Tomcat may work for the Oracle Application
Server:
In your webapps directory is there a WEB-INF directory? If so, and
it does not have a "lib" directory then create one and drop the POI
jars into there.
This may be: Oracle\FRHome_1\j2ee\home\default-web-app\WEB-INF\lib
But I've no experience with your configuration.
Look for further help from an Oracle list.
Regards,
Dave
On Feb 9, 2009, at 11:45 AM, Patrick Thurman wrote:
09/02/09 11:05:47 defaultWebApp: Servlet error
java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/
HSSFWorkbook
at
readBanPatchExcelSS.processRequest(readBanPatchExcelSS.java:49)
at readBanPatchExcelSS.doGet
(readBanPatchExcelSS.java:116)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke
(ServletRequestDisp
atcher.java:834)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal
(ServletRe
questDispatcher.java:340)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].server.http.HttpRequestHandler.processRequest
(HttpRequestHandl
er.java:830)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].server.http.AJPRequestHandler.run
(AJPRequestHandler.java:228)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].server.http.AJPRequestHandler.run
(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server
Containers for
J2EE 10g
(10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run
(ReleasableR
esourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
I can not find the dir where to place the .jar files of POI. I
have a
apache web server on Windows. I place my servlet class in
Oracle\FRHome_1\j2ee\home\default-web-app\WEB-INF\classes
I know it is suppose to be in the classpath, but where does it go?
Where/how can I find out what my servlet classpath is?
Pat,
Patrick O. Thurman
Stephen F. Austin State University
DBA III
Phone: (936) 468-1074
Fax: (936) 468-1117
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]