-
1. Re: jboss 5.0.0.GA and ejb3
alrubinger Jan 14, 2009 2:21 PM (in response to ipeel)The reason for this is because starting in the 5.0.0.Beta releases we moved jbossall-client to a manifest-only JAR. This means that instead of repackaging all of the classes in the JARs you mention into one uber-JAR, jbossall-client contains a ClassPath entry in the manifest to point to the relative location of the JARs listed. Therefore, they're expected to be in the same directory.
As a workaround, you could write a script that does:mkdir mytempdir for(each JAR listed) { extractContentsInto > mytempdir) } JAR(contentsOf mytempdir)
...and then use your own JAR.
If you feel this makes things unusable/unfriendly, address it on the jboss-dev public mailing list. We don't want to add "bloat" to the distro by repackaging classes, but maybe we could look into adding a script so that users have the option of making their own single jbossall-client.
S,
ALR -
2. Re: jboss 5.0.0.GA and ejb3
peterj Jan 14, 2009 3:49 PM (in response to ipeel)ipeel, I think that you are misreading that readme file. That file does not contain instructions for what you have to do, rather it provides information on why the file suddenly shrunk in size.
For your client app, the only thing you need to include in the classpath is the jbossall-client.jar file. The only caveat is that if you need to copy JAR files to a remote system (where your client is running), you now should copy the full client directory, and not just the jbossall-cleint.jar file.