I was originally following the steps in the examples of the documentation. I've since tried the code shipped with servicemix and it appears to work. I'm getting a timeout error associated with a "Wire negotiation format timeout" but the code compiles and runs. I suspect the instructions on how to define a bridge example has some missing parts. Anyway I think between the working example and what the doc has me doing I should be able to figure out where the flaw is. I may open up another thread on the wire format error once I get this figured out.
TIA Zhurakousky, Oleg wrote: > > Not sure, but can quickly you try with JDK 1.5 and see if you still have > that error? > > -----Original Message----- > From: thuffman00 [mailto:[EMAIL PROTECTED] > Sent: Friday, October 12, 2007 1:54 PM > To: [email protected] > Subject: java.lang.NoClassDefFoundError: FileSystemXmlApplicationContext > > > New to the ServiceMix user community and was going thru some of the > examples. > I am attempting to install and run the Bridge example and receiving a > exception with locating FileSystemXmlApplicationContext. I know the file > exists in the jar xbeans-spring-3.0.1 which is located in the servicemix > home. I tried setting classpath with no success. Maven has not indicated > I > should do a install:install-file so I've not. The version of servicemix > I'm > using is 3.1.2 on a Windows XP platform with Java 1.6.0. Also using > Maven > 2.0 for build. > > Here''s a listing of the trace: > > [INFO] Trace > java.lang.NoClassDefFoundError: > org/apache/xbean/spring/context/FileSystemXmlApp > licationContext > at > org.apache.servicemix.common.xbean.AbstractXBeanServiceUnitAnalyzer.i > nit(AbstractXBeanServiceUnitAnalyzer.java:81) > at > org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorM > ojo.generateJbiDescriptor(GenerateServiceUnitDescriptorMojo.java:166) > at > org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorM > ojo.execute(GenerateServiceUnitDescriptorMojo.java:129) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:480) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:459) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > -- > View this message in context: > http://www.nabble.com/java.lang.NoClassDefFoundError%3A-FileSystemXmlApp > licationContext-tf4614172s12049.html#a13176999 > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError%3A-FileSystemXmlApplicationContext-tf4614172s12049.html#a13181731 Sent from the ServiceMix - User mailing list archive at Nabble.com.
