JBoss Community

how to debug deployment issues

created by jnovotny in EJB 3.0 - View the full discussion



After migrating from Jboss 4.2.3GA to JBoss 5.1.0GA I get these errors:


   Deployment "persistence.unit:unitName=persistence.xml#emCore" is in  error due to the following reason(s):  java.lang.IllegalArgumentException: Null file
   Deployment  "jboss.j2ee:jar=mach_EJB.jar,name=TariffCheckReminderJob,service=EJB3"  is in error due to the following reason(s):  org.jboss.deployers.spi.DeploymentException: MessagingType  'org.quartz.Job' not found in resource deployment  jboss.jca:service=RARDeployment,name='jms-ra.rar'


I can't for the life of me figure out how to debug the  problem. I've even tried to import JBoss source code into my IDE but  then there are third party JBoss source jar files that I dive into and  the errors are very unfriendly. What file is null? Why is MessagingType  not found in resource deployment? I specified


@MessageDriven(activationConfig = {
    @ActivationConfigProperty(propertyName = "cronTrigger", propertyValue =  "0 0 10 ? * FRI")

public class TariffCheckReminderJob implements Job {


which worked fine under 4.2.3...


Also, I set all Threshold entries to TRACE in server/default/conf/log4j.xml but still not seeing any debug entries... is there something else I must do?


Thanks a lot, Jason

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community