I am trying to deploy my ear file on jboss-5.1.0.GA which is working fine on 
jboss-4.2.2.GA is throwing deployment exception.
ear
|---
|---ejb jars
|---war
|---sar

jboss-service.xml contents:

  | <mbean code="com.ecentives.harvester.business.reader.InboundMessageReader"
  |           name="harvester:name=imap1,service=inbound-message-reader">
  |     <attribute name="Imapserver">1</attribute>
  |     <attribute name="InboxFolder">Inbox</attribute>
  |     <attribute name="UnmanageableFolder">Unmanageable</attribute>
  |     
<depends>jboss.messaging.destination:service=Queue,name=InboundMessageQueue</depends>
  |     <depends>jboss.j2ee:module=stagertoqueue.jar,service=EjbModule</depends>
  | </mbean>
  | 
  | <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider"
  |           name="jboss:name=p1,service=HASingleScheduleProvider">
  |       
<depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
  |       <depends>jboss:service=ScheduleManager</depends>
  |       <depends>harvester:name=imap1,service=inbound-message-reader</depends>
  |       <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
  |       <attribute 
name="ScheduleManagerName">jboss:service=ScheduleManager</attribute>
  |       <attribute 
name="TargetName">harvester:name=imap1,service=inbound-message-reader</attribute>
  |       <attribute name="TargetMethod">readInboundMessages()</attribute>
  |       <attribute name="DateFormat"></attribute>
  |       <attribute name="StartDate">NOW</attribute>
  |       <attribute name="Period">300000</attribute>
  |       <attribute name="Repetitions">-1</attribute>
  |    </mbean>
  | 
sar is failed to deploy. I have SingleScheduleProvider service. Below is the 
error stacktrace

19:51:41,068 WARN  [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE
 PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "harvester:service=inbound-message-reader1" is missing the 
following dependencies:
    Dependency "jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=EjbModule" 
(should be in state "
Create", but is actually in state "** NOT FOUND Depends on 
'jboss.j2ee:ear=hv.ear,jar=stagertoqueue.
jar,service=EjbModule' **")
  Deployment "jboss:name=p1,service=HASingleScheduleProvider" is missing the 
following dependencies:

    Dependency "jboss:service=harvester" (should be in state "Create", but is 
actually in state "**
NOT FOUND Depends on 'jboss:service=harvester' **")

DEPLOYMENTS IN ERROR:
  Deployment "jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=EjbModule" is 
in error due to the
following reason(s): ** NOT FOUND Depends on 
'jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=Ej
bModule' **
  Deployment "jboss:service=harvester" is in error due to the following 
reason(s): ** NOT FOUND Depe
nds on 'jboss:service=harvester' **

        at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

        at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)

        at 
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873
)
        at 
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainD
eployerAdapter.java:128)
        at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
        at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Scheduled
ThreadPoolExecutor.java:65)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Schedule
dThreadPoolExecutor.java:142)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadP
oolExecutor.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


Please help me.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249246
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to