I have developed a web application(.ear) using Sun J2EE Application Server. The application is working perfectly in Sun J2EE Application Server. The application have JSPs, Servlets, Java Beans & EJBs. I want to deploy the application on Oracle Application Server 10g. I have created the necessary Data-Sources & JNDIs. But while deploying the .ear file i'm getting the following error :
Deployment failed: Nested exception
deploy failed!: ; nested exception is:
Some xml file in your ear file has an un-recognized xmlns attribute in it. You may need to remove these attributes.
What is the version of Oracle Application Server 10g? If it is below 10.1.3 then your code and deployment scripts should have to be compatible with J2EE 1.4.
posted 9 years ago
Thanks for replying ...
I am trying to deploy on Oracle Application Server 10g Version 10.1.2.0.2.
you should edit or remove xmlns(xml namespace). For example this was my first configuration which faced error:
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
and I changed it to this and the problem was solved:
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN">