• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Incomplete deployment listing

 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. If somebody has a minute, I am attempting to deploy an ear containing one session ejb (cnf.jar), two cmp entity ejb's (cn.jar and cni.jar) and a war.

The ear (MY_EAR.ear) is packed in this way...

ROOT...

cnf.jar
cni.jar
cn.jar
web_stuff.war

ROOT/Meta-inf...

application.xml
ejb-jar.xml
jboss.xml
jbosscmp-jdbc.xml
oracle-ds.xml

I had the ear running on resin but I am trying to configure it for jboss...so those last three descriptors are kinda new to me or whatever. Anyways, my objective is to get this thing to at least try to deploy and deal with expected jndi errors (I had to strip out the jndi namespaces) and so forth at that time...is there something missing as per the "Incompletely deployed packages" error. I keep going over it and it seems this ear has everything...thank you very much for reading this and for your time.

PS The exact error from the console is...

ERROR [URLDeploymentscanner] Incomplete Deployment listing:
Incompletely deployed packages:
org.jboss.deployment.DepolymentInfo@5101b8aa { url=file:/c:/jboss4.0.1/jboss4.0.1/server/default/deploy/MY_EAR.ear

It seems to indicate the ear is missing a file or something because the error references the ear itself and not a particular class or object. Unfortunately it is so vague that I can't seem to get any kinda direction as to where to look for the problem. I've checked and rechecked everything, especially the ejb jars. Thank you very much again...
[ May 03, 2005: Message edited by: Tom Griffith ]
 
Tom Griffith
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. Ok, after finding and checking the server log, it appears this problem comes from this line in the log...

Could not initialise deployment: file:/C:/jboss-4.0.1sp1/jboss-4.0.1sp1/server/default/deploy/my_app.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found

I checked the contents of the ear and META-INF/application.xml is right in there. Does anybody have any idea what this could be?...jboss seems to be looking in the right place (so I don't think it's some configuration thing) and the file is sitting right there. I checked the contents of manifest.mf for the ear and it is empty. I've read on a couple of websites that entries in the manifest could mess with this. Thank you for reading this and if anybody has any ideas, I'd really appreciate them. I'll keep messing with it.
[ May 04, 2005: Message edited by: Tom Griffith ]
 
Tom Griffith
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It appears to be a case of case sensitivity. I was packaging the ear with Web-inf as opposed to WEB-INF...so if anybody comes across this, check the contents of your ear for WEB-INF. If it's not all caps, rename the directory to WEB-INF in Windows explorer...and although windows explorer will not display WEB-INF in all caps even after renaming it, the ear will pack with WEB-INF.
reply
    Bookmark Topic Watch Topic
  • New Topic