Problem with deploing J2EE apllication on OAS 10.1.3
Hi. We have big (cca 70 tables, over 100 JSPs) J2EE application based on Toplink/ADF/Struts.
We have to deploy it on Oracle Application Server 10.1.3.5.0. We'd like to know, if there's some common
plan, how to do this. On previous server (10.1.2) we somehow did it by trial-and-error method. But now we can't do it right. So far we did this:
- we created new OC4J container for our application
- We build ear file with every library offered except JSP Runtime and Servlet Runtime groups
- after deploy on server (we always let the 'Search Local Classes First' checked) application won't run.
- We found in log some warnings (translated):
WARNING: Code-source xxx.jar
(from ... directory in ...) has the same filename
, but is not identical with xxx.jar (from <code-source> in ...). If it contains other versions of the same classes, it will be masked, because the other code-source is already visible.
- we gradually removed those duplicit libraries from ear until those warnings were gone
- but still we can't run the application - other log shows another errors:
APP_NAME: Error initializing servlet
oracle.classloader.util.AnnotatedLinkageError: Class oracle/adf/model/binding/DCIteratorBinding violates loader constraints
Invalid class: oracle.adf.model.binding.DCIteratorBinding
Loader: ...
Code-Source: xxx.jar
Configuration: WEB-INF/lib/ directory in ...
It is nevereding story. Please does exist some manual how to prepare ear file right and how to deploy it correctly on OAS ?
Thanks in advance for any comments.