Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Troubles with deployment

 
Anna Nimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I've got an error deploying my ear-file on JBoss 5.1.0 GA:


DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/jboss-5.1.0.GA/server/all/deploy/betrol.ear/" is in error due to the following reason(s): java.lang.ClassNotFoundException: com.belski.common.PropertiesLoader from BaseClassLoader@7355c8{VFSClassLoaderPolicy@4c1cd{name=vfszip:/C:/jboss-5.1.0.GA/server/all/deploy/betrol.ear/ domain=ClassLoaderDomain@1a54190{name=betrol:loader=betrol.ear parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@cb42cf{DefaultDomain}}....

and so on


However the class com.belski.common.PropertiesLoader is present in the ear-archive!!!

My application.xml:

<application>
<display-name>Betrol</display-name>
<module>
<service>betrol_serv.jar</service>
</module>
<library-directory>lib</library-directory>
</application>


My jboss-app.xml is:

<jboss-app>
<module-order>strict</module-order>
<loader-repository>betrol:loader=betrol.ear</loader-repository>
</jboss-app>




Please, give any ideas how I can repair it!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However the class com.belski.common.PropertiesLoader is present in the ear-archive!!!


And it is in the classpath from the root with that path?

Mark
 
Anna Nimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark!

Excuse me, what classpath do you mean? The classpath in manifest.mf or something else?

The structure of my betrol.ear is:

[lib]
[meta-inf]
betrol_serv.jar


The class com.belski.common.PropertiesLoader.class is placed in betrol_serv.jar.

The files MANIFEST.MF in [meta-inf] and inside betrol_serv.jar have no classpath declared.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic