views:

282

answers:

1

I have a webapp that runs perfectly in Apache Tomcat 5.5 and I need to "convert it" so it can be deployed in an Oracle Application Server 10.1.3.

Right now I make a WAR file of the aplication, paste it in the "webapps" directory of the Tomcat installation and then start the service (this works with Windows and Linux). Deploying the same WAR file in the Oracle Application Server doesn't work, the server says that the application is up but this message appears when I invoke an application URL:

500 Internal Server Error Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.

And the application log is empty...

The application was developed in Eclipse with Java 1.6 update 3 and it uses Struts 1, Hibernate, JasperReports and JDBC for the database connection. The web.xml that I'm using is version 2.4.

Anybody knows what changes must I do in order to get it working in OAS?

A: 

The error you're seeing basically means that the server is configured not to include technical error messages and stacktraces in the webpage. This may be done so to avoid leaking sensitive information to the public.

That you're seeing noting in the logs is another problem which you need to fix first. I don't do OAS/OC4J, so I can't go in detail with this, but you likely need to configure its logging. This may be a helpful starting point: http://download.oracle.com/docs/cd/B32110%5F01/core.1013/b32196/log.htm

Once you've got the logging right, you'll likely see more clear and helpful debugging/tracking information to nail down the actual problem. Without it, it is hard to tell what's the root cause of your problem. But I will anyway put my cents on sort of a classpath problem :) Good luck and let us know.

BalusC