I've been banging my head against this problem for the last few hours, and
I'm calling for help.

I've got an EAR file, with multiple EJBs in it, and a common library jar. It
looks sort of like this (names changed to protect the innocent):

PSNG.ear
  |-- PaymentCommandExecutor.jar
  |-- PSNG.jar

The EJB jar has a manifest file with a Class-Path entry of PSNG.jar. Both
the jar file and the EJB have been assembled from the same set of compiled
classes, so everything is in sync.

When I got to deploy the sucker, I get the error listed below. For the
record, com.qsipayments.psng.merchant.Merchant is an interface, and it does
exist in PSNG.jar

[J2EE Deployer Default] Deploy J2EE application:
file:/D:/work/main/PSNG/servers/jboss/deploy/PSNG-jboss.ear
[J2EE Deployer Default] Create application PSNG-jboss.ear
[J2EE Deployer Default] install module PaymentCommandExecutor.jar
[J2EE Deployer Default] added
jar:file:D:\work\main\PSNG\servers\jboss\tmp\deploy\Default\copy1001.zip!/PS
NG.jar to common classpath
[J2EE Deployer Default] add all ejb jar files to the common classpath
[Container factory]
Deploying:file:/D:/work/main/PSNG/servers/jboss/tmp/deploy/Default/PSNG-jbos
s.ear
[Verifier] Verifying
file:/D:/work/main/PSNG/servers/jboss/tmp/deploy/Default/PSNG-jboss.ear/ejb1
001.jar
[Verifier] java.lang.NoClassDefFoundError:
com/qsipayments/psng/merchant/Merchant
[Verifier]      at java.lang.Class.getMethods0(Native Method)
[Verifier]      at java.lang.Class.getMethods(Class.java:742)
[Verifier]      at
org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVeri
fier.java:421)
[Verifier]      at
org.jboss.verifier.strategy.EJBVerifier11.verifySessionBean(EJBVerifier11.ja
va:562)
[Verifier]      at
org.jboss.verifier.strategy.EJBVerifier11.checkSession(EJBVerifier11.java:92
)
[Verifier]      at
org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:134)
[Verifier]      at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:417)
[Verifier]      at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:334)
[Verifier]      at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275)
[Verifier]      at java.lang.reflect.Method.invoke(Native Method)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Verifier]      at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
[Verifier]      at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
[Verifier]      at java.lang.reflect.Method.invoke(Native Method)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Verifier]      at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Verifier]      at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Verifier]      at
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)
[Verifier]      at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[Verifier]      at java.lang.reflect.Method.invoke(Native Method)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Verifier]      at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Verifier]      at java.lang.reflect.Method.invoke(Native Method)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Verifier]      at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Verifier]      at org.jboss.Main.<init>(Main.java:203)
[Verifier]      at org.jboss.Main$1.run(Main.java:107)
[Verifier]      at java.security.AccessController.doPrivileged(Native
Method)
[Verifier]      at org.jboss.Main.main(Main.java:103)

Does anyone have any suggestions on what's happening here? I'm at my wit's
end (not that it's a long trip...)

I've got other classes in the PSNG.jar file which it does detect (and so do
other EJBs if I put them in the EAR).

Robert

-- 
     "Duct tape is like the Force: it has a light side, a dark side,
                   and it holds the universe together"
  Robert Watkins     [EMAIL PROTECTED]     [EMAIL PROTECTED]

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to