On 3/23/07, wazoo999 <[EMAIL PROTECTED]> wrote:
JBoss: 4.0.5 or 4.2.0
ServiceMix: 3.1
Deployer: 3.1-incubating SVN trunk
Followed the directions taken from
http://incubator.apache.org/servicemix/jboss-deployer.html.
After copying the libs from SERVICEMIX_HOME/lib to the appropriate jboss
directory and starting jboss started getting exceptions dealing with
jacc.PolicyConfigurationFactory, fixed this by adding the
"-Djavax.security.jacc.PolicyConfigurationFactory.provider=org.jboss.security.jacc.JBossPolicyConfigurationFactory"
line to the jboss run script (I guess this should be added to the wiki to
save time).
I'm not sure why you'd need to set the
PolicyConfigurationFactory.provider above. Probably because too many
libraries were copied from the ServiceMix lib and lib/optional
directories.
I just deployed the servicemix-jboss-deployer-3.1-incubating.sar by
copying it into the JBoss 4.0.5 deploy directory and it started up
right away. Then I deployed some JBI components from the ServiceMix
3.1 JBI components directory by copying them to the JBoss deploy
directory as well. Finally I copied a few JBI service assemblies (SAs)
that I have created that utilize the JBI components I copied. All
three of these operations took place without incident.
The directions on the ServiceMix JBoss Deployer page need to be
clarified a bit more. The only libraries that you need to copy are:
1) JBI components from ServiceMix that you'd like to use. These are
found in the ServiceMix components directory, e.g.,
servicemix-jms-3.1-incubating-installer.zip,
servicemix-saxon-3.1-incubating-installer.zip, etc.
2) Any libraries in support of the JBI components you are deploying.
There is no need to copy contents of the entire ServiceMix lib
directory and lib/optional directory.
When it came to deploying the servicemix xbean configurations that's when
everything started to get interesting. Whatever I put into the
servicemix-sm.xml results in a long chain of exceptions.
The cause for the exceptions chain is the following exception:
java.lang.IllegalArgumentException: Class
[org.springframework.transaction.config.TxNamespaceHandler] does not
implement the NamespaceHandler interface.
Try the steps above that I noted to create a clean installation of
ServiceMix and let's see what results you see before pursuing these
exceptions.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/