Saliya,

I guess Asankha fixed the assembly plugin to be picked on a normal install
recently and hence you will need to just type

mvn clean install

Thanks,
Ruwan

On Mon, Nov 10, 2008 at 10:48 AM, Saliya Ekanayake <[EMAIL PROTECTED]> wrote:

> The easiest approach would be to first build Synapse and then provide
> command line options as you have done pointing to the extracted folder of
> Synapse snapshot.
>
> To build Synapse use,
>
> mvn assembly:assembly -Drelease
>
> Then use the command mvn idea:idea to generate the necessary project files
> for IntelliJIDEA.
>
> Thanks,
> Saliya
>
>
> Charith Wickramarachchi 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/
>>
>>
>>
>
>


-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/

Reply via email to