The JMS transport has been moved recently to a subproject of WS-Commons, also implying a package rename. You need to replace "org.apache.synapse.transport.jms.JMSSender" by "org.apache.axis2.transport.jms.JMSSender". I'm not familiar with Idea, but if you imported Synapse trunk using a Maven plugin for Idea, you should already have the required JARs in the classpath.
Andreas PS: What kind of problems did you have when building a snapshot from Synapse trunk? On Sun, Nov 9, 2008 at 15:44, Charith Wickramarachchi <[EMAIL PROTECTED]> wrote: > Hi , > > > I'm new to synapse. I 'm tring to run synapse as an idea project. I was > able to run the synapse > > in idea using the synapse 1.2 release source but when I tried to download it > from trunk and run the source as an idea project it throws following > exceptions: > > > org.apache.axis2.deployment.DeploymentException: > org.apache.synapse.transport.jms.JMSSender > > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:679) > > at > org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:124) > > at > org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:707) > > at > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) > > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206) > > at org.apache.synapse.ServerManager.start(ServerManager.java:108) > > at org.apache.synapse.SynapseServer.main(SynapseServer.java:82) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.intellij.uiDesigner.snapShooter.SnapShooter.main(SnapShooter.java:47) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) > > Caused by: java.lang.ClassNotFoundException: > org.apache.synapse.transport.jms.JMSSender > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > > Exception in thread "main" org.apache.synapse.SynapseException: Synapse > startup failed > > at org.apache.synapse.ServerManager.start(ServerManager.java:171) > > at org.apache.synapse.SynapseServer.main(SynapseServer.java:82) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.intellij.uiDesigner.snapShooter.SnapShooter.main(SnapShooter.java:47) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) > > Caused by: org.apache.axis2.deployment.DeploymentException: > org.apache.synapse.transport.jms.JMSSender > > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:679) > > at > org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:124) > > at > org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:707) > > at > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) > > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206) > > at org.apache.synapse.ServerManager.start(ServerManager.java:108) > > ... 11 more > > > and more.... > > > following are the program parameters I 'm using > > > /home/charith/software/synapse-1.2/repository/ > > /home/charith/software/synapse-1.2/repository/conf/axis2.xml > > /home/charith/software/synapse-1.2/ > > /home/charith/software/synapse-1.2/repository/conf/synapse.xml > > > since I was unable to build the snapshot from the trunk source i'm using > synapse 1.2 binary versions axis2.xml and synapse.xml > (/home/charith/software/synapse-1.2 is the synapse home of 1.2 release > binary version ). > > > I think i have set the synapse-war files path correctly. > > > I'll be thankful if any one can help me in this regard. > > > > > thank you, > > Charith Dhanushka Wickramarachchi > http://charithwiki.blogspot.com/ >
