[jboss-user] [EJB/JBoss] - Re: dependence of libraries - the wide scope of EAR

je.a.le do-not-reply at jboss.com
Fri Jun 5 12:20:30 EDT 2009


Your ear tree doesn't look right (you should use netbeans...)

Here one :

zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/application.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/jboss-app.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jai_codec.jar <--lib ejb and war depend on (if not on class path, e.i. in a jboss lib dir already)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jai_core.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/JaiExt.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/JBoss4.dpf
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jstl.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/lucene-analyzers-2.3.2.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/lucene-core-2.3.2.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/mlibwrapper_jai.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/VostokStringUtilLib.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar  <--- jar with ejb
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF/jboss.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/webtv <--- tree of classes...
.... (etc)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war <--- war archive !
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF/web.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF/portlet.xml
.... (jsp, xml for jboss portal , etc...)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/index.jsp <-- everything that's public inside this domain

content of application.xml :

  | <?xml version="1.0" encoding="UTF-8"?>
  | <application version="1.4" 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">
  |   <display-name>WebTv</display-name>
  |   <module>
  |     <ejb>WebTv-ejb.jar</ejb>
  |   </module>
  |   <module>
  |     <web>
  |       <web-uri>WebTv-war.war</web-uri>
  |       <context-root>/WebTv-war</context-root>
  |     </web>
  |   </module>  
  | </application>
  | 

content of jboss-app.xml :

  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss-app>
  | 	<loader-repository> 
  |   webtv:archive=WebTv.ear
  | 	</loader-repository>
  | </jboss-app>
  | 


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

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



More information about the jboss-user mailing list