aspose file tools*
The moose likes Struts and the fly likes struts along with 0racle 10g Application Server - deploying ear file.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts along with 0racle 10g Application Server - deploying ear file...." Watch "struts along with 0racle 10g Application Server - deploying ear file...." New topic
Author

struts along with 0racle 10g Application Server - deploying ear file....

shunmuga ganapathy
Greenhorn

Joined: Aug 13, 2006
Posts: 4
Hi,
i am using struts along with Oracle Application Server 10g.
When i deployed my application it throws the followingexceptions......


500 Internal Server Error
oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: org.apache.struts.action.Action

Dependent class: com.ats.swdms.metadata.frontaction.CreateBinAction
Loader: test4.root:0.0.0
Code-Source: /D:/product/10.1.3/OracleAS_1/j2ee/home/applications/test4/swdmsUtilrel1_0.jar
Configuration: manifest of /D:/product/10.1.3/OracleAS_1/j2ee/home/applications/test4/swdmsEJBrel1_0.jar

The missing class is available from the following locations:

1. Code-Source: /D:/product/10.1.3/OracleAS_1/j2ee/home/applications/test4/swdmsWARrel1_0/WEB-INF/lib/struts.jar (from WEB-INF/lib/ directory in D:\product\10.1.3\OracleAS_1\j2ee\home\applications\test4\swdmsWARrel1_0\WEB-INF\lib)
This code-source is available in loader test4.web.swdmsWARrel1_0:0.0.0. This is a child of the dependent loader test4.root:0.0.0.


2. Code-Source: /D:/product/10.1.3/OracleAS_1/j2ee/home/applications/tes12/struts.jar (from manifest of /D:/product/10.1.3/OracleAS_1/j2ee/home/applications/tes12/swdmsWARrel1_0/)
This code-source is available in loader tes12.web.swdmsWARrel1_0:0.0.0.

at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2247)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1457)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:642)
at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1284)
at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:69)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1660)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:119)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:145)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:282)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:220)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Clearly the App server is not finding the Struts classes in its classpath. Check to make sure that the struts.jar fle as well as all other other jar files that came with the Struts download is in your WEB-INF/lib directory.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts along with 0racle 10g Application Server - deploying ear file....
 
Similar Threads
Unsupported major.minor version 49.0
OAS error while login in applicatio
getting nullPointerException on line upload.parseRequest(request);
OAS error while login to application
deployment problem - struts application