[jboss-user] [EJB 3.0] - Re: Deploy Problem

jaikiran do-not-reply at jboss.com
Tue Feb 12 01:24:14 EST 2008


anonymous wrote : Class-Path: jboss-4.0.4.GA\client\jbossall-client.jar;

That's not how the Class-Path entry works in the Manifest.MF file. See this http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html for details.

Assuming you have your CS-app-client.jar in C: then copy the jbosall-client.jar to C:.

  | C:
  | |
  | |---- CS-app-client.jar
  | |
  | |---- jbossall-client.jar

Now in the Manifest.MF add the Class-Path entry as follows:

Class-Path: jbossall-client.jar

When you add this as the Class-Path entry, the jbossall-client.jar is expected to be in the same folder as the CS-app-client.jar (i.e. this path is relative to where your executable jar file is located).

Now run your client application.

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

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



More information about the jboss-user mailing list