You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by RudyWI <ru...@hotmail.com> on 2010/08/24 10:18:07 UTC

ODE Example unreachable

Hi,

I tried to install Ping-Pong  ODE example under SM 4.2.0 using the command
"features:install examples-ode-ping-pong", but the following error occurs :

"Exception in thread "Thread-34" java.lang.RuntimeException: Bundle cannot
be generated
	at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
Caused by: java.io.IOException: Pipe closed
	at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)
	at java.io.PipedInputStream.receive(PipedInputStream.java:210)
	at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
	at
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
	at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)
	at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
	at aQute.lib.osgi.Jar.write(Jar.java:211)
	at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
Exception in thread "Thread-35" java.lang.RuntimeException: Bundle cannot be
generated
	at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
Caused by: java.io.IOException: Pipe closed
	at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)
	at java.io.PipedInputStream.receive(PipedInputStream.java:210)
	at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
	at
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
	at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)
	at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
	at aQute.lib.osgi.Jar.write(Jar.java:211)
	at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
Error executing command: URL
[mvn:org.apache.ode.examples/ping-pong-bundle/1.3.4] could not be resolved."

Can you help me to retrieve source code of this example and install it ?

Thx
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2650857.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: ODE Example unreachable

Posted by HART <ha...@live.com>.
Hi RudyWI,

I am also trying to run ODE example, but facing the same question as you
did: how to find and trigger the BPEL process via http or soap. In web
console, I can see my process (pingpong) has been deployed without any
problem, and the URL in http xbean is the default, but I could not see or
trigger it via that URL.

You said "I have found my list of services under http://127.0.0.1:8192/ ",
not this gives me a "cannot display webpage" error in the browser.

I wonder how you did it. Any trick to make it working or accessible?

I am using SMX 4.2.0.

Thanks,
HART
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2855952.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: ODE Example unreachable

Posted by RudyWI <ru...@hotmail.com>.
Ok thx.
I have found my list of services under http://127.0.0.1:8192/
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2650998.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: ODE Example unreachable

Posted by Agustín Gañán <ag...@gmail.com>.
>Now, I don't know how to access to my service deployed under servicemix-http
>component.
>Do you know URL of list of services deployed under this component ?

Look at the locationUri property,  in the xbean.xml file of the http
service unit.

> I have also done "features:install wbeconsole", do you know the URL
>of this WebConsole ?

By default, http://localhost:8181/system/console

2010/8/24 RudyWI <ru...@hotmail.com>:
>
> OK I have deployed Ping-Pong successfully, thanks.
>
> Now, I don't know how to access to my service deployed under servicemix-http
> component.
> Do you know URL of list of services deployed under this component ?
>
> P.S. : I have also done "features:install wbeconsole", do you know the URL
> of this WebConsole ?
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2650916.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Re: ODE Example unreachable

Posted by RudyWI <ru...@hotmail.com>.
OK I have deployed Ping-Pong successfully, thanks.

Now, I don't know how to access to my service deployed under servicemix-http
component.
Do you know URL of list of services deployed under this component ?

P.S. : I have also done "features:install wbeconsole", do you know the URL
of this WebConsole ?
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2650916.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: ODE Example unreachable

Posted by Agustín Gañán <ag...@gmail.com>.
Hi,

Checkout the code[1] and build it.

Regards,

P.S.- Google is your friend, :-D!

[1] http://svn.apache.org/repos/asf/ode/tags/APACHE_ODE_1.3.4/distro/src/examples-jbi/maven2/


2010/8/24 RudyWI <ru...@hotmail.com>:
>
> Hi,
>
> I tried to install Ping-Pong  ODE example under SM 4.2.0 using the command
> "features:install examples-ode-ping-pong", but the following error occurs :
>
> "Exception in thread "Thread-34" java.lang.RuntimeException: Bundle cannot
> be generated
>        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
> Caused by: java.io.IOException: Pipe closed
>        at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)
>        at java.io.PipedInputStream.receive(PipedInputStream.java:210)
>        at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
>        at
> java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
>        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)
>        at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
>        at aQute.lib.osgi.Jar.write(Jar.java:211)
>        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
> Exception in thread "Thread-35" java.lang.RuntimeException: Bundle cannot be
> generated
>        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
> Caused by: java.io.IOException: Pipe closed
>        at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)
>        at java.io.PipedInputStream.receive(PipedInputStream.java:210)
>        at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
>        at
> java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
>        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)
>        at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
>        at aQute.lib.osgi.Jar.write(Jar.java:211)
>        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
> Error executing command: URL
> [mvn:org.apache.ode.examples/ping-pong-bundle/1.3.4] could not be resolved."
>
> Can you help me to retrieve source code of this example and install it ?
>
> Thx
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/ODE-Example-unreachable-tp2650857p2650857.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>