Hi
I have an ear-file I copy to JBoss-4.0.3 ./server/own_dir/deploy/ -directory. Ear-file includes these files
file
own.war
own_service.jar
service.jar
lib/acegi.jar
And jar-files contain NO ejb's.
When I start server acegi.jar classes can't be found. I have tried to set acegi.jar into classpath in manifest.mf file but this has no effect on classloading????
I was testing this by copying acegi.jar into ./server/own_dir/lib/ -directory. Then acegi classes were found during deployment? ??
I don't want to copy files into lib directory but keep them all in ear-file. How should I do this????
Thanks for your help in advance....
-Teemu-
Place the acegi.jar file directly inside your ear file and add the following entry to application.xml(present in yourEar.ear/META-INF/ directory):
<module> <java>acegi.jar</java> </module>