wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Error while deploying .ear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error while deploying .ear" Watch "Error while deploying .ear" New topic
Author

Error while deploying .ear

Vivek Puthiyonnan
Greenhorn

Joined: Jan 26, 2005
Posts: 18
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 .....

Vivek P
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Can you show us the application.xml file...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Vivek Puthiyonnan
Greenhorn

Joined: Jan 26, 2005
Posts: 18
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deploying .ear
 
Similar Threads
Calling remove(Object primarykey) method from the localhome
Error deploying message driven bean
Help needed in .EAR deployment on Oracle Application Server 10g
Error Unknown ejb-relationship-role on OAS
Error starting static Resources with Jboss + Tomcat