I am working on packaging up the Jetty service into an archive.

I have some questions...

1. Should I call it a SAR or a JSR ?

2. should I deploy it to ./deploy or ./deploy/lib ?

3. Can I include jars in it (I tried top level dir and META-INF/lib -
no joy) - how ?

4. Should Jetty's configuration be done in the archive, nicely
packaged, but awkward to edit, or in ./conf/default, easy to edit but
... - or both ?

5. It only seems to deploy some of the time - other
times I get :

java.net.MalformedURLException: no protocol: META-INF/jboss-service.xml
 at java.net.URL.<init>(URL.java:473)
 at java.net.URL.<init>(URL.java:376)
 at java.net.URL.<init>(URL.java:330)
 at org.jboss.deployment.ServiceDeployer.getDocument(Unknown Source)
 at org.jboss.deployment.ServiceDeployer.deploy(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at org.jboss.deployment.AutoDeployer.deploy(Unknown Source)
 at org.jboss.deployment.AutoDeployer.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:484)
[AutoDeployer] Deployment
failed:file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/lib/jetty.sar

org.jboss.deployment.DeploymentException: No valid service.xml file
foundno protocol: META-INF/jboss-service.xml
 at org.jboss.deployment.ServiceDeployer.deploy(Unknown Source)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at org.jboss.deployment.AutoDeployer.deploy(Unknown Source)
 at org.jboss.deployment.AutoDeployer.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:484)

And yet if I restart with the same service deployed - no
problemo. Once the exception has been thrown, that seems to be
it. Subsequent deployments all fail in the same manner.


Any clues/pointers would be much appreciated,



Jules


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to