Follow the document of "creating new jonas5 service", but the example of deployment is failed
I have a Jonas custom startup service which could work well on Jonas4.10.4, the startup service need to be started along with the startup of Jonas application server.
Recently, our customer needs us to port the application into Jonas5.1.2, I have read the Jonas5 migration guide documentation, and I know that something has been changed.
Follow the Jonas official document about "Creating a New JOnAS Service", I created the simple example service: "MyService", build a final jar: $JONAS_ROOT$repositories\maven2-internal\a\b\myservice\1.0.0\myservice-1.0.0-ipojo.jar
And also append new service into jonas.properties file.
jonas.services jtm,dbm,security,resource,ejb2,ejb3,jaxws,web,ear,depmonitor,serv1 jonas.service.serv1.class a.b.myservice.internal.MyService jonas.service.serv1.property aaa
I think everything of example service keep to the steps of "Creating a new Jonas Service" document, but when I started the Jonas5.1.2, my new service didn't run successfully, I got the following exception:
2010-06-01 13:57:12,750 : SEVERE : Thread-5 : ServiceManagerImpl$1.run : Cannot start the 'serv1' service org.ow2.util.ee.deploy.api.deployer.DeployerException: Cannot deploy the deployment plan for 'D:\port_jonas5\JONAS512\repositories\url-internal\serv1.xml' at org.ow2.jonas.services.bootstrap.JOnASDeploymentPlanDeployer.__deployDeploymentPlan(JOnASDeploymentPlanDeployer.java:127) ...
Caused by: org.ow2.util.ee.deploy.api.deployer.UnsupportedDeployerException: No deployer found for deployable UnknownDeployableImpl[archive=D:\port_jonas5\JONAS512\repositories\maven2-internal\a\b\myservice\1.0.0\myservice-1.0.0-ipojo.jar] at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeployment(DeploymentPlanDeployer.java:381) ...
The detail of execption, you could refer to the attached zip file
Could some exports please to help me to resolve this blocked issue?
Thanks.