[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

whitingjr do-not-reply at jboss.com
Fri Jul 17 10:33:05 EDT 2009


Here is a directory listing of the exploded EAR

[whitingjr at localhost ear]$ ls -R
  | .:
  | META-INF  MVCCSampleEJB.jar
  | 
  | ./META-INF:
  | application.xml  jboss-app.xml  MANIFEST.MF
  | 

 and this is the jboss-app.xml contents.

<?xml version="1.0" encoding="UTF-8" ?>
  | <!DOCTYPE jboss-app
  |           PUBLIC "-//JBoss//DTD J2EE Application 1.5//EN"
  |           "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
  | <jboss-app>
  |   
  |   <loader-repository>
  |     mvccsample:archive=MVCCSampleEAR.ear
  |   </loader-repository>
  |   
  | </jboss-app>

 and application.xml

<?xml version="1.0" encoding="UTF-8"?>
  | <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
  |   <display-name>MVCCSampleEAR</display-name>
  |   <module>
  |     <ejb>MVCCSampleEJB.jar</ejb>
  |   </module>
  | </application>

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244350#4244350

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244350



More information about the jboss-user mailing list