Re: Running Tuscany 2.0 M2 examples in with/without Eclipse, was Re: WELCOME to user@tuscany.apache [message #9076] |
Mon, 20 July 2009 09:35  |
|
Hi.
Luciano Resende a écrit :
> On Sat, Jul 18, 2009 at 3:00 AM, Nishant
> Chandra<nishant.chandra@gmail.com> wrote:
>
>> Hi,
>> I started using Tuscany 2.0 M2 release along with eclipse plugin. I see this
>> error while running the "Restaurant" example from eclipse (SCA Tools
>> v2.0.0):
>> Deploying contentmoderation.composite...
>> java.lang.ClassNotFoundException:
>> org.apache.tuscany.sca.host.embedded.SCADomain
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>> org.eclipse.stp.sca.deployment.mains.TuscanyMain1x.main(Tusc anyMain1x.java:32
Indeed, SCA Tools do not yet support Tuscany 2.x.
I can take a moment (probably tomorrow) to integrate this support.
As we do not plan an intermediate release for the moment, and if you are
interested, I can then explain you how to proceed to use this update
without reinstalling SCA Tools.
Regards,
Vincent Zurczak.
--
Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 91 72
|
|
|
|
|
Re: Running Tuscany 2.0 M2 examples in with/without Eclipse, was Re: WELCOME to user@tuscany.apache [message #492530 is a reply to message #491818] |
Tue, 20 October 2009 16:06  |
|
Hi Amit,
This error may occur in two cases:
+ You are using Tuscany 1.x but you did not specify the runtime
librairies location in the SCA preference page. To solve it, go in your
preference page and create / update the Tuscany configuration.
+ You are using Tuscany 2.x.
This case has not yet been fixed.
I have everything I need to fix it, except time. :(
Besides, with the Tuscany 2.x, all the librairies are not in the same
directory, and it is really painful to use the current deployment mechanism.
I have to adapt the way we reference runtime location, and this is what
takes most of the time. Anyway, this is expected for December, as
desxcribed on our roadmap [0]. But I think it will be solved before.
Just be patient. ;)
The best solution, waiting for this, is to create your own launcher for
Tuscany 2.x. A sample is available here [0].
Regards,
Vincent.
[0]: http://wiki.eclipse.org/STP/SCA_Component
[1]:
http://svn.apache.org/repos/asf/tuscany/java/sca/samples/bin ding-ws-calculator/src/main/java/sample/SampleClientImpl.jav a
Amit Piplani a écrit :
> Hi,
>
> Can you let me know how did you resolve ClassNotFoundException
>
> Deploying Restaurant.composite...
> java.lang.ClassNotFoundException:
> org.apache.tuscany.sca.host.embedded.SCADomain
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at org.eclipse.stp.sca.deployment.mains.TuscanyMain1x.main(Tusc
> anyMain1x.java:32)
--
Vincent Zurczak
EBM WebSourcing
|
|
|
|
|
Re: Running Tuscany 2.0 M2 examples in with/without Eclipse, was Re: WELCOME to user@tuscany.apache [message #576388 is a reply to message #576379] |
Tue, 20 October 2009 16:06  |
|
Hi Amit,
This error may occur in two cases:
+ You are using Tuscany 1.x but you did not specify the runtime
librairies location in the SCA preference page. To solve it, go in your
preference page and create / update the Tuscany configuration.
+ You are using Tuscany 2.x.
This case has not yet been fixed.
I have everything I need to fix it, except time. :(
Besides, with the Tuscany 2.x, all the librairies are not in the same
directory, and it is really painful to use the current deployment mechanism.
I have to adapt the way we reference runtime location, and this is what
takes most of the time. Anyway, this is expected for December, as
desxcribed on our roadmap [0]. But I think it will be solved before.
Just be patient. ;)
The best solution, waiting for this, is to create your own launcher for
Tuscany 2.x. A sample is available here [0].
Regards,
Vincent.
[0]: http://wiki.eclipse.org/STP/SCA_Component
[1]:
http://svn.apache.org/repos/asf/tuscany/java/sca/samples/bin ding-ws-calculator/src/main/java/sample/SampleClientImpl.jav a
Amit Piplani a écrit :
> Hi,
>
> Can you let me know how did you resolve ClassNotFoundException
>
> Deploying Restaurant.composite...
> java.lang.ClassNotFoundException:
> org.apache.tuscany.sca.host.embedded.SCADomain
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at org.eclipse.stp.sca.deployment.mains.TuscanyMain1x.main(Tusc
> anyMain1x.java:32)
--
Vincent Zurczak
EBM WebSourcing
|
|
|
Powered by
FUDForum. Page generated in 0.01582 seconds