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?
mase
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?
5:54 a.m., Monday Oct. 21
Moderate this comment by email
Email address: amase20@hotmail.com | IP address: 93.36.195.214
Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.