-
1. Re: hello world example doesn't even work
joe.luo Nov 13, 2009 6:58 AM (in response to ireilly)Hi,
Sorry for any frustration caused.
The error was due to a missing osgi bundle:
org.apache.servicemix.cxf/org.apache.servicemix.cxf.transport.osgi/4.1.0.2-fuse
If you do
smx@root:features> install cxf-osgi
and then restart the hello world bundle, it should work fine. Or alternatively, you could just install feature "examples-cxf-osgi" instead of deploying the jar to "deploy/" directory since the feature "examples-cxf-osgi" is the same hello world demo and it will automatically install "cxf-osgi" feature and the hello world bundle for you.
Here are two previous posts for the same topic:
http://fusesource.com/forums/thread.jspa?threadID=999
http://fusesource.com/forums/thread.jspa?threadID=931
Hope it helps,
/Joe
-
2. Re: hello world example doesn't even work
sergeyb_deleteusersergeyb Nov 13, 2009 7:10 AM (in response to ireilly)Note that the cxf osgi transport has been moved from ServiceMix to CXF 2.2.4. So Fuse ESB which will ship CXF 2.2.4 won't have to depend on
org.apache.servicemix.cxf/org.apache.servicemix.cxf.transport.osgi/
-
3. Re: hello world example doesn't even work
ireilly Nov 13, 2009 10:40 AM (in response to joe.luo)Thanks, that worked.
I should also note that the documentation states the example can be found at localhost:8080 when in fact the port is actually 8181 - which I had to find out by sifting through config files.
-
4. Re: hello world example doesn't even work
joe.luo Nov 13, 2009 11:11 AM (in response to ireilly)Just checked Fuse ESB 4.1.0.2-fuse installation "examples\cxf-osgi\README.txt" and it says:
Now, just open your browser and go to the following url:
http://localhost:8181/cxf/HelloWorld?wsdl
Are you sure you are looking at Fuse ESB 4.1.0.2-fuse README.txt? Since it was 8080 port in older version Fuse ESB 4.0.x and we changed it since 4.1.x.
Just extra note, we use Pax Web as web container and HTTP port is determined by variable:
org.osgi.service.http.port
You might notice one configuration entry in your Fuse ESB 4.1.0.2-fuse installation "etc/config.properties" file:
\# Default port for the OSGI HTTP Service
org.osgi.service.http.port=8181
That was why the hello world service was running on port 8181.
/Joe
-
5. Re: hello world example doesn't even work
ireilly Nov 13, 2009 2:49 PM (in response to joe.luo)I was using the "Getting started" link I provided in the first post under the "Running the Example" section. In that document, it still says port 8080.
-
6. Re: hello world example doesn't even work
ireilly Nov 13, 2009 3:02 PM (in response to joe.luo)I see that FUSE ESB 4 is still incubating. Do you have any idea on a timetable for it to reach active status?
-
7. Re: hello world example doesn't even work
berenerchamion Nov 15, 2009 10:11 AM (in response to ireilly)Are there other similar commands that need to be issued to get other examples to work? I got the cxf example working, but I can't seem to get the wsdl-first example to work. I deployed the file and I see it listed in the osgi list, but I get a 404 on the url.
I do see the port 8192 as being grabbed by something.
beren
-
8. Re: hello world example doesn't even work
joe.luo Nov 16, 2009 9:57 AM (in response to joe.luo)The documentation "Getting Started with FUSE ESB" needs to be updated since it still refers to old Fuse ESB 4.0 demos. I have raised a JIRA against Fuse ESB documentation: ESB-1021
to address this issue.
Thanks for pointing it out.
-
9. Re: hello world example doesn't even work
joe.luo Nov 24, 2009 8:38 AM (in response to ireilly)The next release (upcoming esb 4.2) will become the active release and move 4.x out of incubator.