Hi
I finally managed to get the JBoss deployer running for
servicemix-3.0-M1. For all of you trying to do the same, here the
necessary patch for JBIService.java:
Index: JBIService.java
===================================================================
--- JBIService.java (revision 1069)
+++ JBIService.java (working copy)
@@ -34,7 +34,7 @@
import org.apache.servicemix.jbi.deployment.Descriptor;
import org.apache.servicemix.jbi.deployment.DescriptorFactory;
import org.apache.servicemix.jbi.framework.AutoDeploymentService;
-import org.xbean.spring.context.ClassPathXmlApplicationContext;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
/**
* This is the deployer that handles picking up and deploying a JBI
package out
@@ -135,8 +135,13 @@
*/
public void uninstallArchive(String archive) {
try {
- jbiContainer.getAutoDeploymentService().removeArchive(
-
jbiContainer.getAutoDeploymentService().updateExternalArchive(archive,false));
+ AutoDeploymentService.ArchiveEntry entry = new
AutoDeploymentService.ArchiveEntry();
+ entry.location = archive;
+ entry.lastModified = new Date();
+
jbiContainer.getAutoDeploymentService().updateArchive(archive,entry,false);
+ //jbiContainer.getAutoDeploymentService().removeArchive(
+
//jbiContainer.getAutoDeploymentService().updateExternalArchive(archive,false));
+
jbiContainer.getAutoDeploymentService().removeArchive(entry);
} catch (DeploymentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
This might not be the best solution, but it worked form me.
Regards
Andreas
--
---------- Biveroni Batschelet Partners AG ---------------
Andreas Held: [EMAIL PROTECTED]
Bahnhofstrasse 28, CH 5401 Baden, Switzerland
Tel: +41 56 / 203 9630 - Fax: +41 56 / 203 9696
----------------------------------------------------------