Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while deploying .ear

 
Vivek Puthiyonnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

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
Resolution:

Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:

oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns. deploy failed!: ; nested exception is:


oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns




Should I make any changes in the .ear file for deploying in Oracle Application Server 10g ?
I am using Oracle Enterprise Manager 10g Application Server Control for deploying the .ear file.


Please suggest me a way forward .....
 
Ankit Garg
Sheriff
Posts: 9529
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the application.xml file...
 
Vivek Puthiyonnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Application.xml has the following entries :

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<description>Application description</description>
<display-name>iRecruit</display-name>
<module>
<ejb>ejb-jar-ic.jar</ejb>
</module>
<module>
<web>
<web-uri>war-ic.war</web-uri>
<context-root>/iRecruit</context-root>
</web>
</module>
</application>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic