mase <amase20(a)hotmail.com> wrote:
Hi, I've implemented the classes above and I've tried to test the services, but
they don't work. But the more important thing is that now, when i try to start the
server, the console shows me this error:
11:31:24,931 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed
to start service jboss.deployment.unit."ticket-monster.war".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ticket-monster.war".POST_MODULE: JBAS018733: Failed to
process phase POST_MODULE of deployment "ticket-monster.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127)
[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
Caused by: java.lang.IllegalArgumentException: JBAS014179: [EJB 3.1 spec, section 14.1.1]
Class: class org.jboss.jdf.example.ticketmonster.service.BookingMonitorServiceImpl cannot
be marked as an application exception because it is not of type java.lang.Exception
at
org.jboss.as.ejb3.deployment.ApplicationExceptions.addApplicationException(ApplicationExceptions.java:63)
at
org.jboss.as.ejb3.deployment.processors.merging.ApplicationExceptionMergingProcessor.deploy(ApplicationExceptionMergingProcessor.java:68)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
I don't know where is the problem, because i check all the classes with those in the
example. Can somebody help me?
IP address: 93.36.195.214
Link to comment:
http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fexample...
-----
Options: You can moderate through email. Respond in the body with "Delete".
Reply with "Like" to like this comment, or respond with anything else to approve
this comment and post your message as a reply comment.
Or use the moderate panel:
http://jdf.disqus.com/admin/moderate/#/pending
Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications