The configuration file works with the latest source, because I added some security settings that are quite new.
You can either: * wait for the new snapshot distribution at http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/incubating-apache-servicemix/3.0-SNAPSHOT/ * rebuild the whole source tree * remove the offending beans from the spring xml files Cheers, Guillaume Nodet On 6/16/06, Eric Anderson <[EMAIL PROTECTED]> wrote:
I grabbed these XML files, put them in the conf directory, and when I fired up SM I got java.lang.ClassNotFoundException: authenticationService In security.xml I see <sm:authenticationService id="authenticationService" /> ..I assume this is the root of the problem. What am I doing wrong here? --- On the chance that my SM 3.0 snapshot was too old to work, I tried to grab the latest from SVN with svn co http://svn.apache.org/repos/asf/incubator/servicemix/trunk/ , but found that it died horribly on building, even with the builds of the tests turned off. I see a lot that looks like: maven -Dmaven.test.skip=true ... Attempting to download servicemix-jbi-3.0-SNAPSHOT.jar. Error retrieving artifact from [ http://repo.livetribe.org/maven1/org.apache.servicemix/jars/servicemix-jbi-3.0-SNAPSHOT.jar ]: java.io.IOException: Unknown error downloading; status code was: 302 Attempting to download servicemix-services-3.0-SNAPSHOT.jar. Error retrieving artifact from [ http://repo.livetribe.org/maven1/org.apache.servicemix/jars/servicemix-services-3.0-SNAPSHOT.jar ]: java.io.IOException: Unknown error downloading; status code was: 302 ... [javac] Compiling 17 source files to /home/eric/servicemix/tmp/trunk/servicemix-soap/target/classes /home/eric/servicemix/tmp/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/handlers/security/BaseCrypto.java:48: package org.apache.ws.security does not exist import org.apache.ws.security.WSSecurityException; ^ /home/eric/servicemix/tmp/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/handlers/security/BaseCrypto.java:49: package org.apache.ws.security.components.crypto does not exist import org.apache.ws.security.components.crypto.Crypto; ^ /home/eric/servicemix/tmp/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/handlers/security/BaseCrypto.java:50: package org.apache.ws.security.components.crypto does not exist import org.apache.ws.security.components.crypto.X509NameTokenizer; ^ &etc. Do I have the wrong source? I thought that there might be a snapshot .tar.gz out there somewhere, but I was unable to locate one and thus went the svn route. Is the svn tree expected to build at all times? Is there actually an up-to-the-minute snapshot archive (.tar.gz) somewhere? Thanks, Eric Guillaume Nodet wrote: > I have just checked in some modifications to the main servicemix > configuration files > so that it should be easier to do that. > See > http://svn.apache.org/viewvc/incubator/servicemix/trunk/incubating-apache-servicemix/src/main/release/conf/ > > and mainly the tx.xml and jndi.xml. > You should be able to do the same in your configuration and just retrieve > the needed objects from jndi. > > Cheers, > Guillaume Nodet > > On 6/10/06, echolu <[EMAIL PROTECTED]> wrote: >> >> >> Could you show me an example? >> >> Just a simple one. >> >> Thanks! >> -- >> View this message in context: >> http://www.nabble.com/How-to-confige-JMS-in-the-component-deployed-in-the-lwcontainer--t1759606.html#a4805108 >> >> Sent from the ServiceMix - User forum at Nabble.com. >> >> >
