problems using Slide integration standalone
mazz May 5, 2005 10:58 AMI'm in the process of trying to use the JBoss Portal's Slide integration standalone (that is, just using the CMS war/sar in my own JBoss instance because I need a WebDAV server for some things I'm doing).
So, I first copied portal-core.sar to my "default" deployment. I only included the .jars found there along with the META-INF directory and portal-cms.sar and portal-cmd.war directories. All other things were not copied over.
First, it is dependent on JBoss 4.x. I'm installing in a JBoss 3.2.3 and I need the class org.jboss.util.StringPropertyReplacer. So, from a JBoss 4.x distro, I copied jboss-common.jar, deleted all classes from it EXCEPT that StringPropertyReplacer class, and put that one class .jar in portal-cms.sar subdeployment directory. I then got around the ClassNotFound issue.
But now I'm getting weird errors, that again may or may not be related to the version of JBoss I'm using.
10:47:11,353 ERROR [STDERR] org.apache.slide.common.ServiceAccessException: Service TxXMLFileDescriptorsStore at C:\mazz\jboss\jboss-3.2-webdav\server\default\data/portal/webdav/store/metadata working on C:\mazz\jboss\jboss-3.2-webdav\server\default\data/portal/webdav/work/metadata access error : (class: org/apache/slide/store/txfile/AbstractXMLResourceDescriptor, method: encodeRevisionDescriptors signature: ()Lorg/jdom/Element;) Incompatible argument to function 10:47:11,353 ERROR [STDERR] at org.apache.slide.store.AbstractStore.createObject(AbstractStore.java:689) 10:47:11,353 ERROR [STDERR] at org.apache.slide.store.ExtendedStore.createObject(ExtendedStore.java:602) 10:47:11,353 ERROR [STDERR] at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:785) 10:47:11,353 ERROR [STDERR] at org.apache.slide.common.Domain.initNamespace(Domain.java:845) 10:47:11,353 ERROR [STDERR] at org.apache.slide.common.Domain.init(Domain.java:432) 10:47:11,353 ERROR [STDERR] at org.apache.slide.common.Domain.init(Domain.java:366) 10:47:11,353 ERROR [STDERR] at org.jboss.portal.cms.CMS.createService(CMS.java:128) 10:47:11,353 ERROR [STDERR] at org.jboss.portal.cms.ha.InvalidatableCMS.createService(InvalidatableCMS.java:106) 10:47:11,353 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158) 10:47:11,353 ERROR [STDERR] at org.jboss.portal.cms.CMS.create(CMS.java:198)
Do you think this is related to my use of JBoss 3.x or am I missing something that I should have copied over from portal core?