This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Error: While Deploying ear to JBoss 5.0.0 with eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error: While Deploying ear to JBoss 5.0.0 with eclipse" Watch "Error: While Deploying ear to JBoss 5.0.0 with eclipse" New topic
Author

Error: While Deploying ear to JBoss 5.0.0 with eclipse

Ankit Varshney
Greenhorn

Joined: Aug 01, 2008
Posts: 29

Hello Friends,

I have an ear file that is created with Jdeveloper with OC4j server.Now when I am importing that ear to eclipse with Jboss 5.0.0 .Its showing some SAXException while parsing my web.xml.I am using EJB 3.0
The sever Log is shown below..


and my web.xml is shown below




Please help me out...


Have a nice time... <br />Ankit Kumar Varshney
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

Caused by: org.xml.sax.SAXException: Element type "class-loader" must be declared. @ vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/NROA.ear/NROA.war/WEB-INF/jboss-web.xml[7,34]


There's something wrong with your jboss-web.xml (and not web.xml). So post its contents here.

[My Blog] [JavaRanch Journal]
 
Consider Paul's rocket mass heater.
 
subject: Error: While Deploying ear to JBoss 5.0.0 with eclipse
 
Similar Threads
Restricting direct access to JSP files
server side processing error
javax.naming.NamingException: Could not dereference object
server side processing error
Getting Error in WAS5.1