|
|
| EJB3 to expose as a web service |
  France |
2007-05-15 09:08:49 |
Hello,
I have Easybeans installed together with JONAS 4.8.4 -
Tomcat.
I would like to expose an EJB3 as a webservice.
What are the options?
How long about does it requires to set up?
Thanks, Martial Dessemond
|
|
|
| Re: EJB3 to expose as a web service |
  France |
2007-05-16 02:28:56 |
Hi Martial
There is a prototype of EJB3 exposed as web services with
Objectweb
Celtix (ancestor of Apache CXF) and EasyBeans standalone.
Take a look at theses documents for details:
h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
http://ce
ltix.objectweb.org/docs/index.html
Don't hesitate to provide feedback from your experience on
the list. You
can bug us too if you have issues ;)
Thanks
--Guillaume
martial.dessemond altran-ra.fr wrote:
> Hello,
>
> I have Easybeans installed together with JONAS 4.8.4 -
Tomcat.
>
> I would like to expose an EJB3 as a webservice.
>
> What are the options?
> How long about does it requires to set up?
>
> Thanks, Martial Dessemond
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| RE : EJB3 to expose as a web service |
  France |
2007-05-16 08:41:55 |
Thanks,
In h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS the
link EasyBeans/JAX-WS 2.0 (Tomcat Only) <http://forge.objectweb.org/projec
t/download.php?group_id=5&file_id=6098> leads
to an error "Invalid file id." on ObjectWeb.
Where is the related webapp application available?
Thanks, Martial.
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: mer. 16/05/2007 09:28
À: easybeans objectweb.org
Objet : Re: [easybeans] EJB3 to expose as a web service
Hi Martial
There is a prototype of EJB3 exposed as web services with
Objectweb
Celtix (ancestor of Apache CXF) and EasyBeans standalone.
Take a look at theses documents for details:
h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
http://ce
ltix.objectweb.org/docs/index.html
Don't hesitate to provide feedback from your experience on
the list. You
can bug us too if you have issues ;)
Thanks
--Guillaume
martial.dessemond altran-ra.fr wrote:
> Hello,
>
> I have Easybeans installed together with JONAS 4.8.4 -
Tomcat.
>
> I would like to expose an EJB3 as a webservice.
>
> What are the options?
> How long about does it requires to set up?
>
> Thanks, Martial Dessemond
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| Re: RE : EJB3 to expose as a web
service |
  France |
2007-05-16 09:00:37 |
|
Hi,
I've updated the wiki page.
The link is
http://forge.objectweb.org/project/download.php?group_id=5&file_id=6814
Regards,
Florent
DESSEMOND Martial wrote:
xmb-lyon-01.altran-ra.net"
type="cite">
Thanks,
In http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS the link EasyBeans/JAX-WS 2.0 (Tomcat Only) <http://forge.objectweb.org/project/download.php?group_id=5&file_id=6098> leads to an error "Invalid file id." on ObjectWeb.
Where is the related webapp application available?
Thanks, Martial.
________________________________
De: Guillaume Sauthier [objectweb.org">mailto:Guillaume.Sauthier objectweb.org]
Date: mer. 16/05/2007 09:28
À: objectweb.org">easybeans objectweb.org
Objet : Re: [easybeans] EJB3 to expose as a web service
Hi Martial
There is a prototype of EJB3 exposed as web services with Objectweb
Celtix (ancestor of Apache CXF) and EasyBeans standalone.
Take a look at theses documents for details:
http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
http://celtix.objectweb.org/docs/index.html
Don't hesitate to provide feedback from your experience on the list. You
can bug us too if you have issues ;)
Thanks
--Guillaume
altran-ra.fr">martial.dessemond altran-ra.fr wrote:
Hello,
I have Easybeans installed together with JONAS 4.8.4 - Tomcat.
I would like to expose an EJB3 as a webservice.
What are the options?
How long about does it requires to set up?
Thanks, Martial Dessemond
------------------------------------------------------------------------
--
You receive this message as a subscriber of the objectweb.org">easybeans objectweb.org mailing list.
To unsubscribe: objectweb.org">mailto:easybeans-unsubscribe objectweb.org
For general help: objectweb.org?subject=help">mailto:sympa objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
You receive this message as a subscriber of the objectweb.org">easybeans objectweb.org mailing list.
To unsubscribe: objectweb.org">mailto:easybeans-unsubscribe objectweb.org
For general help: objectweb.org?subject=help">mailto:sympa objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| RE : EJB3 to expose as a web service |
  France |
2007-05-21 04:44:19 |
About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
1 - About the "Deploy EJBs" part :
Build the Sample
>$ cd examples/celtix
>$ ant clean jar
In my download of Celtix, I do not have the directory
"examples/celtix" but "celtixsamples"
and when launching "ant clean jar" I got the
message : "Buildfile: build.xml does not exist!"
2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
I attached the soapUI console to show the request.
Thanks for your help.
Martial
------------------------------------------------------------
------------------------------------
Tomcast console :
21/05/07 11:10:25 (I) LifeCycleCallback.initBus : Internal
Easybeans Bus started ...
21/05/07 11:10:25 (I) LifeCycleCallback.start : Bus started
for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
21/05/07 11:10:25 (I) Embedded.start : Démarrage effectué en
'15 375' ms.
21/05/07 11:10:25 (I) Embedded.start : '1' conteneurs ont
été créés.
21/05/07 11:10:25 (I) Embedded.start : En attente de
requêtes...
21/05/07 11:10:26 (I) Http11BaseProtocol.start : Démarrage
de Coyote HTTP/1.1 sur http-8080
21/05/07 11:10:26 (I) ChannelSocket.init : JK: ajp13
listening on /0.0.0.0:8009
21/05/07 11:10:26 (I) JkMain.start : Jk running ID=0
time=0/141 config=null
21/05/07 11:10:26 (I) StoreLoader.load : Find registry
server-registry.xml at classpath resource
21/05/07 11:10:27 (I) Catalina.start : Server startup in
20360 ms
21/05/07 11:11:16 (I) URLMapper.get : get : /greeter
21/05/07 11:11:16 (G) StandardWrapperValve.invoke :
"Servlet.service()" pour la servlet CeltixServlet
a généré une exception
javax.servlet.ServletException: Unknown servlet mapping
/greeter
at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: mer. 16/05/2007 09:28
À: easybeans objectweb.org
Objet : Re: [easybeans] EJB3 to expose as a web service
Hi Martial
There is a prototype of EJB3 exposed as web services with
Objectweb
Celtix (ancestor of Apache CXF) and EasyBeans standalone.
Take a look at theses documents for details:
h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
http://ce
ltix.objectweb.org/docs/index.html
Don't hesitate to provide feedback from your experience on
the list. You
can bug us too if you have issues ;)
Thanks
--Guillaume
martial.dessemond altran-ra.fr wrote:
> Hello,
>
> I have Easybeans installed together with JONAS 4.8.4 -
Tomcat.
>
> I would like to expose an EJB3 as a webservice.
>
> What are the options?
> How long about does it requires to set up?
>
> Thanks, Martial Dessemond
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| Re: RE : EJB3 to expose as a web
service |
  France |
2007-05-21 06:08:16 |
DESSEMOND Martial wrote:
> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>
> 1 - About the "Deploy EJBs" part :
> Build the Sample
> >$ cd examples/celtix
> >$ ant clean jar
> In my download of Celtix, I do not have the directory
"examples/celtix" but "celtixsamples"
and when launching "ant clean jar" I got the
message : "Buildfile: build.xml does not exist!"
>
This is a sample in the easybeans-celtix project.
Is this working better now ?
--G
>
> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>
> I attached the soapUI console to show the request.
>
> Thanks for your help.
> Martial
>
------------------------------------------------------------
------------------------------------
> Tomcast console :
> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus :
Internal Easybeans Bus started ...
>
> 21/05/07 11:10:25 (I) LifeCycleCallback.start : Bus
started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>
> 21/05/07 11:10:25 (I) Embedded.start : Démarrage
effectué en '15 375' ms.
>
> 21/05/07 11:10:25 (I) Embedded.start : '1' conteneurs
ont été créés.
>
> 21/05/07 11:10:25 (I) Embedded.start : En attente de
requêtes...
>
> 21/05/07 11:10:26 (I) Http11BaseProtocol.start :
Démarrage de Coyote HTTP/1.1 sur http-8080
>
> 21/05/07 11:10:26 (I) ChannelSocket.init : JK: ajp13
listening on /0.0.0.0:8009
>
> 21/05/07 11:10:26 (I) JkMain.start : Jk running ID=0
time=0/141 config=null
>
> 21/05/07 11:10:26 (I) StoreLoader.load : Find registry
server-registry.xml at classpath resource
>
> 21/05/07 11:10:27 (I) Catalina.start : Server startup
in 20360 ms
>
> 21/05/07 11:11:16 (I) URLMapper.get : get : /greeter
>
> 21/05/07 11:11:16 (G) StandardWrapperValve.invoke :
"Servlet.service()" pour la servlet CeltixServlet
a généré une exception
>
> javax.servlet.ServletException: Unknown servlet mapping
/greeter
>
> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>
> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>
> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>
> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>
> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>
> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>
> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>
> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>
> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>
> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: mer. 16/05/2007 09:28
> À: easybeans objectweb.org
> Objet : Re: [easybeans] EJB3 to expose as a web
service
>
>
>
> Hi Martial
>
> There is a prototype of EJB3 exposed as web services
with Objectweb
> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>
> Take a look at theses documents for details:
> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
> http://ce
ltix.objectweb.org/docs/index.html
>
> Don't hesitate to provide feedback from your experience
on the list. You
> can bug us too if you have issues ;)
>
> Thanks
> --Guillaume
>
> martial.dessemond altran-ra.fr wrote:
>
>> Hello,
>>
>> I have Easybeans installed together with JONAS
4.8.4 - Tomcat.
>>
>> I would like to expose an EJB3 as a webservice.
>>
>> What are the options?
>> How long about does it requires to set up?
>>
>> Thanks, Martial Dessemond
>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| RE : RE : EJB3 to expose as a web
service |
  France |
2007-05-21 07:07:49 |
About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: lun. 21/05/2007 13:08
À: easybeans objectweb.org
Objet : Re: RE : [easybeans] EJB3 to expose as a web
service
DESSEMOND Martial wrote:
> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>
> 1 - About the "Deploy EJBs" part :
> Build the Sample
> >$ cd examples/celtix
> >$ ant clean jar
> In my download of Celtix, I do not have the directory
"examples/celtix" but "celtixsamples"
and when launching "ant clean jar" I got the
message : "Buildfile: build.xml does not exist!"
>
This is a sample in the easybeans-celtix project.
Is this working better now ?
--G
>
> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>
> I attached the soapUI console to show the request.
>
> Thanks for your help.
> Martial
>
------------------------------------------------------------
------------------------------------
> Tomcast console :
> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus :
Internal Easybeans Bus started ...
>
> 21/05/07 11:10:25 (I) LifeCycleCallback.start : Bus
started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>
> 21/05/07 11:10:25 (I) Embedded.start : Démarrage
effectué en '15 375' ms.
>
> 21/05/07 11:10:25 (I) Embedded.start : '1' conteneurs
ont été créés.
>
> 21/05/07 11:10:25 (I) Embedded.start : En attente de
requêtes...
>
> 21/05/07 11:10:26 (I) Http11BaseProtocol.start :
Démarrage de Coyote HTTP/1.1 sur http-8080
>
> 21/05/07 11:10:26 (I) ChannelSocket.init : JK: ajp13
listening on /0.0.0.0:8009
>
> 21/05/07 11:10:26 (I) JkMain.start : Jk running ID=0
time=0/141 config=null
>
> 21/05/07 11:10:26 (I) StoreLoader.load : Find registry
server-registry.xml at classpath resource
>
> 21/05/07 11:10:27 (I) Catalina.start : Server startup
in 20360 ms
>
> 21/05/07 11:11:16 (I) URLMapper.get : get : /greeter
>
> 21/05/07 11:11:16 (G) StandardWrapperValve.invoke :
"Servlet.service()" pour la servlet CeltixServlet
a généré une exception
>
> javax.servlet.ServletException: Unknown servlet mapping
/greeter
>
> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>
> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>
> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>
> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>
> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>
> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>
> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>
> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>
> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>
> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: mer. 16/05/2007 09:28
> À: easybeans objectweb.org
> Objet : Re: [easybeans] EJB3 to expose as a web
service
>
>
>
> Hi Martial
>
> There is a prototype of EJB3 exposed as web services
with Objectweb
> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>
> Take a look at theses documents for details:
> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
> http://ce
ltix.objectweb.org/docs/index.html
>
> Don't hesitate to provide feedback from your experience
on the list. You
> can bug us too if you have issues ;)
>
> Thanks
> --Guillaume
>
> martial.dessemond altran-ra.fr wrote:
>
>> Hello,
>>
>> I have Easybeans installed together with JONAS
4.8.4 - Tomcat.
>>
>> I would like to expose an EJB3 as a webservice.
>>
>> What are the options?
>> How long about does it requires to set up?
>>
>> Thanks, Martial Dessemond
>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| Re: RE : RE : EJB3 to expose as a web
service |
  France |
2007-05-21 07:28:13 |
DESSEMOND Martial wrote:
> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>
> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>
Sorry, that doc seems not completely up to date
change trunk/easybeans-osgi to sandbox/easybeans-osgi
http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
--G
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 13:08
> À: easybeans objectweb.org
> Objet : Re: RE : [easybeans] EJB3 to expose as a web
service
>
>
>
> DESSEMOND Martial wrote:
>
>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>
>> 1 - About the "Deploy EJBs" part :
>> Build the Sample
>> >$ cd examples/celtix
>> >$ ant clean jar
>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>
>>
>
> This is a sample in the easybeans-celtix project.
> Is this working better now ?
>
> --G
>
>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>
>> I attached the soapUI console to show the request.
>>
>> Thanks for your help.
>> Martial
>>
------------------------------------------------------------
------------------------------------
>> Tomcast console :
>> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus :
Internal Easybeans Bus started ...
>>
>> 21/05/07 11:10:25 (I) LifeCycleCallback.start : Bus
started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>>
>> 21/05/07 11:10:25 (I) Embedded.start : Démarrage
effectué en '15 375' ms.
>>
>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>
>> 21/05/07 11:10:25 (I) Embedded.start : En attente
de requêtes...
>>
>> 21/05/07 11:10:26 (I) Http11BaseProtocol.start :
Démarrage de Coyote HTTP/1.1 sur http-8080
>>
>> 21/05/07 11:10:26 (I) ChannelSocket.init : JK:
ajp13 listening on /0.0.0.0:8009
>>
>> 21/05/07 11:10:26 (I) JkMain.start : Jk running
ID=0 time=0/141 config=null
>>
>> 21/05/07 11:10:26 (I) StoreLoader.load : Find
registry server-registry.xml at classpath resource
>>
>> 21/05/07 11:10:27 (I) Catalina.start : Server
startup in 20360 ms
>>
>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>
>> 21/05/07 11:11:16 (G) StandardWrapperValve.invoke :
"Servlet.service()" pour la servlet CeltixServlet
a généré une exception
>>
>> javax.servlet.ServletException: Unknown servlet
mapping /greeter
>>
>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>
>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>
>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>
>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>
>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>
>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>
>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>
>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>
>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>
>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>
>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>
>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>
>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>
>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>
>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>
>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>
>> at java.lang.Thread.run(Thread.java:595)
>>
>>
>>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: mer. 16/05/2007 09:28
>> À: easybeans objectweb.org
>> Objet : Re: [easybeans] EJB3 to expose as a web
service
>>
>>
>>
>> Hi Martial
>>
>> There is a prototype of EJB3 exposed as web
services with Objectweb
>> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>>
>> Take a look at theses documents for details:
>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>> http://ce
ltix.objectweb.org/docs/index.html
>>
>> Don't hesitate to provide feedback from your
experience on the list. You
>> can bug us too if you have issues ;)
>>
>> Thanks
>> --Guillaume
>>
>> martial.dessemond altran-ra.fr wrote:
>>
>>
>>> Hello,
>>>
>>> I have Easybeans installed together with JONAS
4.8.4 - Tomcat.
>>>
>>> I would like to expose an EJB3 as a
webservice.
>>>
>>> What are the options?
>>> How long about does it requires to set up?
>>>
>>> Thanks, Martial Dessemond
>>>
>>>
>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| RE : RE : RE : EJB3 to expose as a web
service |
  France |
2007-05-21 08:28:07 |
I guess you meant to change "trunk" to
"sandbox" as I am not working in OSGI context.
I have downloded the "easybeans-celtix" and
launched "ant clean jar", I get the above
message.
For you information the directories
D:easybeans-celtixexamplesceltixoutputclasses and
D:easybeans-celtixexamplesceltixoutputdist are empty.
Thanks,
------------------------------------------------------------
------------------------------------
D:easybeans-celtixexamplesceltix>ant clean jar
Buildfile: build.xml
init:
[mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
[mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
clean:
[delete] Deleted 3 directories from
D:easybeans-celtixexamplesceltixoutput
init:
[mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
[mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
compile:
[javac] Compiling 11 source files to
D:easybeans-celtixexamplesceltixoutputclasses
BUILD FAILED
D:easybeans-celtixexamplesceltixbuild.xml:66:
D:easybeans-celtixoutputdist not found.
Total time: 1 second
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: lun. 21/05/2007 14:28
À: easybeans objectweb.org
Objet : Re: RE : RE : [easybeans] EJB3 to expose as a web
service
DESSEMOND Martial wrote:
> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>
> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>
Sorry, that doc seems not completely up to date
change trunk/easybeans-osgi to sandbox/easybeans-osgi
http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
--G
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 13:08
> À: easybeans objectweb.org
> Objet : Re: RE : [easybeans] EJB3 to expose as a web
service
>
>
>
> DESSEMOND Martial wrote:
>
>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>
>> 1 - About the "Deploy EJBs" part :
>> Build the Sample
>> >$ cd examples/celtix
>> >$ ant clean jar
>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>
>>
>
> This is a sample in the easybeans-celtix project.
> Is this working better now ?
>
> --G
>
>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>
>> I attached the soapUI console to show the request.
>>
>> Thanks for your help.
>> Martial
>>
------------------------------------------------------------
------------------------------------
>> Tomcast console :
>> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus :
Internal Easybeans Bus started ...
>>
>> 21/05/07 11:10:25 (I) LifeCycleCallback.start : Bus
started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>>
>> 21/05/07 11:10:25 (I) Embedded.start : Démarrage
effectué en '15 375' ms.
>>
>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>
>> 21/05/07 11:10:25 (I) Embedded.start : En attente
de requêtes...
>>
>> 21/05/07 11:10:26 (I) Http11BaseProtocol.start :
Démarrage de Coyote HTTP/1.1 sur http-8080
>>
>> 21/05/07 11:10:26 (I) ChannelSocket.init : JK:
ajp13 listening on /0.0.0.0:8009
>>
>> 21/05/07 11:10:26 (I) JkMain.start : Jk running
ID=0 time=0/141 config=null
>>
>> 21/05/07 11:10:26 (I) StoreLoader.load : Find
registry server-registry.xml at classpath resource
>>
>> 21/05/07 11:10:27 (I) Catalina.start : Server
startup in 20360 ms
>>
>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>
>> 21/05/07 11:11:16 (G) StandardWrapperValve.invoke :
"Servlet.service()" pour la servlet CeltixServlet
a généré une exception
>>
>> javax.servlet.ServletException: Unknown servlet
mapping /greeter
>>
>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>
>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>
>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>
>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>
>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>
>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>
>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>
>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>
>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>
>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>
>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>
>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>
>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>
>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>
>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>
>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>
>> at java.lang.Thread.run(Thread.java:595)
>>
>>
>>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: mer. 16/05/2007 09:28
>> À: easybeans objectweb.org
>> Objet : Re: [easybeans] EJB3 to expose as a web
service
>>
>>
>>
>> Hi Martial
>>
>> There is a prototype of EJB3 exposed as web
services with Objectweb
>> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>>
>> Take a look at theses documents for details:
>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>> http://ce
ltix.objectweb.org/docs/index.html
>>
>> Don't hesitate to provide feedback from your
experience on the list. You
>> can bug us too if you have issues ;)
>>
>> Thanks
>> --Guillaume
>>
>> martial.dessemond altran-ra.fr wrote:
>>
>>
>>> Hello,
>>>
>>> I have Easybeans installed together with JONAS
4.8.4 - Tomcat.
>>>
>>> I would like to expose an EJB3 as a
webservice.
>>>
>>> What are the options?
>>> How long about does it requires to set up?
>>>
>>> Thanks, Martial Dessemond
>>>
>>>
>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| Re: RE : RE : RE : EJB3 to expose as a
web service |
  France |
2007-05-21 08:50:45 |
try 'ant clean war'
Remember to set the EASYBEANS_HOME env var as stated in the
doc:
h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
--G
DESSEMOND Martial wrote:
> I guess you meant to change "trunk" to
"sandbox" as I am not working in OSGI context.
>
> I have downloded the "easybeans-celtix" and
launched "ant clean jar", I get the above
message.
>
> For you information the directories
D:easybeans-celtixexamplesceltixoutputclasses and
D:easybeans-celtixexamplesceltixoutputdist are empty.
>
> Thanks,
>
------------------------------------------------------------
------------------------------------
>
> D:easybeans-celtixexamplesceltix>ant clean jar
> Buildfile: build.xml
>
> init:
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>
> clean:
> [delete] Deleted 3 directories from
D:easybeans-celtixexamplesceltixoutput
>
> init:
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>
> compile:
> [javac] Compiling 11 source files to
D:easybeans-celtixexamplesceltixoutputclasses
>
> BUILD FAILED
> D:easybeans-celtixexamplesceltixbuild.xml:66:
D:easybeans-celtixoutputdist not found.
>
> Total time: 1 second
>
>
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 14:28
> À: easybeans objectweb.org
> Objet : Re: RE : RE : [easybeans] EJB3 to expose as a
web service
>
>
>
> DESSEMOND Martial wrote:
>
>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>>
>> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
>> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>>
>>
>
> Sorry, that doc seems not completely up to date
>
> change trunk/easybeans-osgi to sandbox/easybeans-osgi
>
> http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
>
> --G
>
>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: lun. 21/05/2007 13:08
>> À: easybeans objectweb.org
>> Objet : Re: RE : [easybeans] EJB3 to expose as a
web service
>>
>>
>>
>> DESSEMOND Martial wrote:
>>
>>
>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>>
>>> 1 - About the "Deploy EJBs" part :
>>> Build the Sample
>>> >$ cd examples/celtix
>>> >$ ant clean jar
>>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>>
>>>
>>>
>> This is a sample in the easybeans-celtix project.
>> Is this working better now ?
>>
>> --G
>>
>>
>>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>>
>>> I attached the soapUI console to show the
request.
>>>
>>> Thanks for your help.
>>> Martial
>>>
------------------------------------------------------------
------------------------------------
>>> Tomcast console :
>>> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus
: Internal Easybeans Bus started ...
>>>
>>> 21/05/07 11:10:25 (I) LifeCycleCallback.start :
Bus started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start :
Démarrage effectué en '15 375' ms.
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start : En
attente de requêtes...
>>>
>>> 21/05/07 11:10:26 (I) Http11BaseProtocol.start
: Démarrage de Coyote HTTP/1.1 sur http-8080
>>>
>>> 21/05/07 11:10:26 (I) ChannelSocket.init : JK:
ajp13 listening on /0.0.0.0:8009
>>>
>>> 21/05/07 11:10:26 (I) JkMain.start : Jk running
ID=0 time=0/141 config=null
>>>
>>> 21/05/07 11:10:26 (I) StoreLoader.load : Find
registry server-registry.xml at classpath resource
>>>
>>> 21/05/07 11:10:27 (I) Catalina.start : Server
startup in 20360 ms
>>>
>>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>>
>>> 21/05/07 11:11:16 (G)
StandardWrapperValve.invoke : "Servlet.service()"
pour la servlet CeltixServlet a généré une exception
>>>
>>> javax.servlet.ServletException: Unknown servlet
mapping /greeter
>>>
>>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>>
>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>
>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>
>>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>>
>>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>>
>>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>>
>>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>>
>>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>>
>>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>>
>>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>>
>>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>>
>>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>>
>>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>>
>>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>>
>>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>>
>>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>>
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>>
>>> ________________________________
>>>
>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>> Date: mer. 16/05/2007 09:28
>>> À: easybeans objectweb.org
>>> Objet : Re: [easybeans] EJB3 to expose as a web
service
>>>
>>>
>>>
>>> Hi Martial
>>>
>>> There is a prototype of EJB3 exposed as web
services with Objectweb
>>> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>>>
>>> Take a look at theses documents for details:
>>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>>> http://ce
ltix.objectweb.org/docs/index.html
>>>
>>> Don't hesitate to provide feedback from your
experience on the list. You
>>> can bug us too if you have issues ;)
>>>
>>> Thanks
>>> --Guillaume
>>>
>>> martial.dessemond altran-ra.fr wrote:
>>>
>>>
>>>
>>>> Hello,
>>>>
>>>> I have Easybeans installed together with
JONAS 4.8.4 - Tomcat.
>>>>
>>>> I would like to expose an EJB3 as a
webservice.
>>>>
>>>> What are the options?
>>>> How long about does it requires to set up?
>>>>
>>>> Thanks, Martial Dessemond
>>>>
>>>>
>>>>
>>>>
------------------------------------------------------------
------------
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of
the easybeans objectweb.org mailing list.
>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page:
http://www.objectweb.org
/wws
>>>>
>>>>
>>>>
>>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| RE : RE : RE : RE : EJB3 to expose as a
web service |
  France |
2007-05-21 09:00:57 |
"ant clean war" does not works. Attached is
build.xml of "examplesceltix"
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: lun. 21/05/2007 15:50
À: easybeans objectweb.org
Objet : Re: RE : RE : RE : [easybeans] EJB3 to expose as a
web service
try 'ant clean war'
Remember to set the EASYBEANS_HOME env var as stated in the
doc:
h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
--G
DESSEMOND Martial wrote:
> I guess you meant to change "trunk" to
"sandbox" as I am not working in OSGI context.
>
> I have downloded the "easybeans-celtix" and
launched "ant clean jar", I get the above
message.
>
> For you information the directories
D:easybeans-celtixexamplesceltixoutputclasses and
D:easybeans-celtixexamplesceltixoutputdist are empty.
>
> Thanks,
>
------------------------------------------------------------
------------------------------------
>
> D:easybeans-celtixexamplesceltix>ant clean jar
> Buildfile: build.xml
>
> init:
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>
> clean:
> [delete] Deleted 3 directories from
D:easybeans-celtixexamplesceltixoutput
>
> init:
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>
> compile:
> [javac] Compiling 11 source files to
D:easybeans-celtixexamplesceltixoutputclasses
>
> BUILD FAILED
> D:easybeans-celtixexamplesceltixbuild.xml:66:
D:easybeans-celtixoutputdist not found.
>
> Total time: 1 second
>
>
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 14:28
> À: easybeans objectweb.org
> Objet : Re: RE : RE : [easybeans] EJB3 to expose as a
web service
>
>
>
> DESSEMOND Martial wrote:
>
>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>>
>> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
>> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>>
>>
>
> Sorry, that doc seems not completely up to date
>
> change trunk/easybeans-osgi to sandbox/easybeans-osgi
>
> http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
>
> --G
>
>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: lun. 21/05/2007 13:08
>> À: easybeans objectweb.org
>> Objet : Re: RE : [easybeans] EJB3 to expose as a
web service
>>
>>
>>
>> DESSEMOND Martial wrote:
>>
>>
>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>>
>>> 1 - About the "Deploy EJBs" part :
>>> Build the Sample
>>> >$ cd examples/celtix
>>> >$ ant clean jar
>>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>>
>>>
>>>
>> This is a sample in the easybeans-celtix project.
>> Is this working better now ?
>>
>> --G
>>
>>
>>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>>
>>> I attached the soapUI console to show the
request.
>>>
>>> Thanks for your help.
>>> Martial
>>>
------------------------------------------------------------
------------------------------------
>>> Tomcast console :
>>> 21/05/07 11:10:25 (I) LifeCycleCallback.initBus
: Internal Easybeans Bus started ...
>>>
>>> 21/05/07 11:10:25 (I) LifeCycleCallback.start :
Bus started for D:S4ALLPlateformeTomcat
5.5ejb3ssession-greeter.jar
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start :
Démarrage effectué en '15 375' ms.
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>>
>>> 21/05/07 11:10:25 (I) Embedded.start : En
attente de requêtes...
>>>
>>> 21/05/07 11:10:26 (I) Http11BaseProtocol.start
: Démarrage de Coyote HTTP/1.1 sur http-8080
>>>
>>> 21/05/07 11:10:26 (I) ChannelSocket.init : JK:
ajp13 listening on /0.0.0.0:8009
>>>
>>> 21/05/07 11:10:26 (I) JkMain.start : Jk running
ID=0 time=0/141 config=null
>>>
>>> 21/05/07 11:10:26 (I) StoreLoader.load : Find
registry server-registry.xml at classpath resource
>>>
>>> 21/05/07 11:10:27 (I) Catalina.start : Server
startup in 20360 ms
>>>
>>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>>
>>> 21/05/07 11:11:16 (G)
StandardWrapperValve.invoke : "Servlet.service()"
pour la servlet CeltixServlet a généré une exception
>>>
>>> javax.servlet.ServletException: Unknown servlet
mapping /greeter
>>>
>>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>>
>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>
>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>
>>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>>
>>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>>
>>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>>
>>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>>
>>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>>
>>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>>
>>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>>
>>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>>
>>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>>
>>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>>
>>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>>
>>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>>
>>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>>
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>>
>>> ________________________________
>>>
>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>> Date: mer. 16/05/2007 09:28
>>> À: easybeans objectweb.org
>>> Objet : Re: [easybeans] EJB3 to expose as a web
service
>>>
>>>
>>>
>>> Hi Martial
>>>
>>> There is a prototype of EJB3 exposed as web
services with Objectweb
>>> Celtix (ancestor of Apache CXF) and EasyBeans
standalone.
>>>
>>> Take a look at theses documents for details:
>>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>>> http://ce
ltix.objectweb.org/docs/index.html
>>>
>>> Don't hesitate to provide feedback from your
experience on the list. You
>>> can bug us too if you have issues ;)
>>>
>>> Thanks
>>> --Guillaume
>>>
>>> martial.dessemond altran-ra.fr wrote:
>>>
>>>
>>>
>>>> Hello,
>>>>
>>>> I have Easybeans installed together with
JONAS 4.8.4 - Tomcat.
>>>>
>>>> I would like to expose an EJB3 as a
webservice.
>>>>
>>>> What are the options?
>>>> How long about does it requires to set up?
>>>>
>>>> Thanks, Martial Dessemond
>>>>
>>>>
>>>>
>>>>
------------------------------------------------------------
------------
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of
the easybeans objectweb.org mailing list.
>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page:
http://www.objectweb.org
/wws
>>>>
>>>>
>>>>
>>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| Re: RE : RE : RE : RE : EJB3 to expose
as a web service |
  France |
2007-05-21 09:42:11 |
Before building the sample, did you try to build directly
easybeans-celtix ?
DESSEMOND Martial wrote:
> "ant clean war" does not works. Attached is
build.xml of "examplesceltix"
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 15:50
> À: easybeans objectweb.org
> Objet : Re: RE : RE : RE : [easybeans] EJB3 to expose
as a web service
>
>
>
> try 'ant clean war'
>
> Remember to set the EASYBEANS_HOME env var as stated in
the doc:
> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>
> --G
>
> DESSEMOND Martial wrote:
>
>> I guess you meant to change "trunk" to
"sandbox" as I am not working in OSGI context.
>>
>> I have downloded the "easybeans-celtix"
and launched "ant clean jar", I get the above
message.
>>
>> For you information the directories
D:easybeans-celtixexamplesceltixoutputclasses and
D:easybeans-celtixexamplesceltixoutputdist are empty.
>>
>> Thanks,
>>
------------------------------------------------------------
------------------------------------
>>
>> D:easybeans-celtixexamplesceltix>ant clean
jar
>> Buildfile: build.xml
>>
>> init:
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>>
>> clean:
>> [delete] Deleted 3 directories from
D:easybeans-celtixexamplesceltixoutput
>>
>> init:
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>>
>> compile:
>> [javac] Compiling 11 source files to
D:easybeans-celtixexamplesceltixoutputclasses
>>
>> BUILD FAILED
>> D:easybeans-celtixexamplesceltixbuild.xml:66:
D:easybeans-celtixoutputdist not found.
>>
>> Total time: 1 second
>>
>>
>>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: lun. 21/05/2007 14:28
>> À: easybeans objectweb.org
>> Objet : Re: RE : RE : [easybeans] EJB3 to expose as
a web service
>>
>>
>>
>> DESSEMOND Martial wrote:
>>
>>
>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>>>
>>> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
>>> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>>>
>>>
>>>
>> Sorry, that doc seems not completely up to date
>>
>> change trunk/easybeans-osgi to
sandbox/easybeans-osgi
>>
>> http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
>>
>> --G
>>
>>
>>
>>> ________________________________
>>>
>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>> Date: lun. 21/05/2007 13:08
>>> À: easybeans objectweb.org
>>> Objet : Re: RE : [easybeans] EJB3 to expose as
a web service
>>>
>>>
>>>
>>> DESSEMOND Martial wrote:
>>>
>>>
>>>
>>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>>>
>>>> 1 - About the "Deploy EJBs" part
:
>>>> Build the Sample
>>>> >$ cd examples/celtix
>>>> >$ ant clean jar
>>>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>>>
>>>>
>>>>
>>>>
>>> This is a sample in the easybeans-celtix
project.
>>> Is this working better now ?
>>>
>>> --G
>>>
>>>
>>>
>>>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>>>
>>>> I attached the soapUI console to show the
request.
>>>>
>>>> Thanks for your help.
>>>> Martial
>>>>
------------------------------------------------------------
------------------------------------
>>>> Tomcast console :
>>>> 21/05/07 11:10:25 (I)
LifeCycleCallback.initBus : Internal Easybeans Bus started
...
>>>>
>>>> 21/05/07 11:10:25 (I)
LifeCycleCallback.start : Bus started for
D:S4ALLPlateformeTomcat 5.5ejb3ssession-greeter.jar
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start :
Démarrage effectué en '15 375' ms.
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start : En
attente de requêtes...
>>>>
>>>> 21/05/07 11:10:26 (I)
Http11BaseProtocol.start : Démarrage de Coyote HTTP/1.1 sur
http-8080
>>>>
>>>> 21/05/07 11:10:26 (I) ChannelSocket.init :
JK: ajp13 listening on /0.0.0.0:8009
>>>>
>>>> 21/05/07 11:10:26 (I) JkMain.start : Jk
running ID=0 time=0/141 config=null
>>>>
>>>> 21/05/07 11:10:26 (I) StoreLoader.load :
Find registry server-registry.xml at classpath resource
>>>>
>>>> 21/05/07 11:10:27 (I) Catalina.start :
Server startup in 20360 ms
>>>>
>>>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>>>
>>>> 21/05/07 11:11:16 (G)
StandardWrapperValve.invoke : "Servlet.service()"
pour la servlet CeltixServlet a généré une exception
>>>>
>>>> javax.servlet.ServletException: Unknown
servlet mapping /greeter
>>>>
>>>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>>>
>>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>>
>>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>>
>>>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>>>
>>>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>>>
>>>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>>>
>>>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>>>
>>>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>>>
>>>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>>>
>>>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>>>
>>>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>>>
>>>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>>>
>>>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>>>
>>>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>>>
>>>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>>>
>>>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>>>
>>>> at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>>
>>>> ________________________________
>>>>
>>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>>> Date: mer. 16/05/2007 09:28
>>>> À: easybeans objectweb.org
>>>> Objet : Re: [easybeans] EJB3 to expose as a
web service
>>>>
>>>>
>>>>
>>>> Hi Martial
>>>>
>>>> There is a prototype of EJB3 exposed as web
services with Objectweb
>>>> Celtix (ancestor of Apache CXF) and
EasyBeans standalone.
>>>>
>>>> Take a look at theses documents for
details:
>>>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>>>> http://ce
ltix.objectweb.org/docs/index.html
>>>>
>>>> Don't hesitate to provide feedback from
your experience on the list. You
>>>> can bug us too if you have issues ;)
>>>>
>>>> Thanks
>>>> --Guillaume
>>>>
>>>> martial.dessemond altran-ra.fr wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I have Easybeans installed together
with JONAS 4.8.4 - Tomcat.
>>>>>
>>>>> I would like to expose an EJB3 as a
webservice.
>>>>>
>>>>> What are the options?
>>>>> How long about does it requires to set
up?
>>>>>
>>>>> Thanks, Martial Dessemond
>>>>>
>>>>>
>>>>>
>>>>>
------------------------------------------------------------
------------
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a
subscriber of the easybeans objectweb.org mailing
list.
>>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>>> ObjectWeb mailing lists service home
page: http://www.objectweb.org
/wws
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
------------------------------------------------------------
------------
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of
the easybeans objectweb.org mailing list.
>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page:
http://www.objectweb.org
/wws
>>>>
>>>>
>>>>
>>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|
| RE : RE : RE : RE : RE : EJB3 to expose
as a web service |
  France |
2007-05-22 04:56:22 |
Thanks, the sample works fine if you follow the "build
it yourself" paragraph of h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
<http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS>
a> .
I thought it was possible to go directly from "Download
the webapp" paragraph to "Run " paragraph.
________________________________
De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
Date: lun. 21/05/2007 16:42
À: easybeans objectweb.org
Objet : Re: RE : RE : RE : RE : [easybeans] EJB3 to expose
as a web service
Before building the sample, did you try to build directly
easybeans-celtix ?
DESSEMOND Martial wrote:
> "ant clean war" does not works. Attached is
build.xml of "examplesceltix"
>
> ________________________________
>
> De: Guillaume Sauthier [mailto:Guillaume.Sauthier objectweb.org]
> Date: lun. 21/05/2007 15:50
> À: easybeans objectweb.org
> Objet : Re: RE : RE : RE : [easybeans] EJB3 to expose
as a web service
>
>
>
> try 'ant clean war'
>
> Remember to set the EASYBEANS_HOME env var as stated in
the doc:
> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>
> --G
>
> DESSEMOND Martial wrote:
>
>> I guess you meant to change "trunk" to
"sandbox" as I am not working in OSGI context.
>>
>> I have downloded the "easybeans-celtix"
and launched "ant clean jar", I get the above
message.
>>
>> For you information the directories
D:easybeans-celtixexamplesceltixoutputclasses and
D:easybeans-celtixexamplesceltixoutputdist are empty.
>>
>> Thanks,
>>
------------------------------------------------------------
------------------------------------
>>
>> D:easybeans-celtixexamplesceltix>ant clean
jar
>> Buildfile: build.xml
>>
>> init:
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>>
>> clean:
>> [delete] Deleted 3 directories from
D:easybeans-celtixexamplesceltixoutput
>>
>> init:
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputclasses
>> [mkdir] Created dir:
D:easybeans-celtixexamplesceltixoutputdist
>>
>> compile:
>> [javac] Compiling 11 source files to
D:easybeans-celtixexamplesceltixoutputclasses
>>
>> BUILD FAILED
>> D:easybeans-celtixexamplesceltixbuild.xml:66:
D:easybeans-celtixoutputdist not found.
>>
>> Total time: 1 second
>>
>>
>>
>> ________________________________
>>
>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>> Date: lun. 21/05/2007 14:28
>> À: easybeans objectweb.org
>> Objet : Re: RE : RE : [easybeans] EJB3 to expose as
a web service
>>
>>
>>
>> DESSEMOND Martial wrote:
>>
>>
>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS :
>>>
>>> When trying "svn checkout
svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easybe
ans-celtix"
>>> I get the message : svn: URL
'svn://svn.forge.objectweb.org/svnroot/easybeans/trunk/easyb
eans-celtix' doesn't exist
>>>
>>>
>>>
>> Sorry, that doc seems not completely up to date
>>
>> change trunk/easybeans-osgi to
sandbox/easybeans-osgi
>>
>> http://fisheye.easybeans.org/browse/EasyBean
s/sandbox/easybeans-osgi
>>
>> --G
>>
>>
>>
>>> ________________________________
>>>
>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>> Date: lun. 21/05/2007 13:08
>>> À: easybeans objectweb.org
>>> Objet : Re: RE : [easybeans] EJB3 to expose as
a web service
>>>
>>>
>>>
>>> DESSEMOND Martial wrote:
>>>
>>>
>>>
>>>> About http://wiki.easybeans.objectweb.org/xwiki/bin/view/
Main/JAXWS,
>>>>
>>>> 1 - About the "Deploy EJBs" part
:
>>>> Build the Sample
>>>> >$ cd examples/celtix
>>>> >$ ant clean jar
>>>> In my download of Celtix, I do not have the
directory "examples/celtix" but
"celtixsamples" and when launching "ant
clean jar" I got the message : "Buildfile:
build.xml does not exist!"
>>>>
>>>>
>>>>
>>>>
>>> This is a sample in the easybeans-celtix
project.
>>> Is this working better now ?
>>>
>>> --G
>>>
>>>
>>>
>>>> 2 - Eventually I compile
"celtixsampleshello_world" and I copy the jar
in ejb3s : when using SoapUI, and trying "sayHi"
of the "helloword" I got the message above in
Tomcat console.
>>>>
>>>> I attached the soapUI console to show the
request.
>>>>
>>>> Thanks for your help.
>>>> Martial
>>>>
------------------------------------------------------------
------------------------------------
>>>> Tomcast console :
>>>> 21/05/07 11:10:25 (I)
LifeCycleCallback.initBus : Internal Easybeans Bus started
...
>>>>
>>>> 21/05/07 11:10:25 (I)
LifeCycleCallback.start : Bus started for
D:S4ALLPlateformeTomcat 5.5ejb3ssession-greeter.jar
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start :
Démarrage effectué en '15 375' ms.
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start : '1'
conteneurs ont été créés.
>>>>
>>>> 21/05/07 11:10:25 (I) Embedded.start : En
attente de requêtes...
>>>>
>>>> 21/05/07 11:10:26 (I)
Http11BaseProtocol.start : Démarrage de Coyote HTTP/1.1 sur
http-8080
>>>>
>>>> 21/05/07 11:10:26 (I) ChannelSocket.init :
JK: ajp13 listening on /0.0.0.0:8009
>>>>
>>>> 21/05/07 11:10:26 (I) JkMain.start : Jk
running ID=0 time=0/141 config=null
>>>>
>>>> 21/05/07 11:10:26 (I) StoreLoader.load :
Find registry server-registry.xml at classpath resource
>>>>
>>>> 21/05/07 11:10:27 (I) Catalina.start :
Server startup in 20360 ms
>>>>
>>>> 21/05/07 11:11:16 (I) URLMapper.get : get :
/greeter
>>>>
>>>> 21/05/07 11:11:16 (G)
StandardWrapperValve.invoke : "Servlet.service()"
pour la servlet CeltixServlet a généré une exception
>>>>
>>>> javax.servlet.ServletException: Unknown
servlet mapping /greeter
>>>>
>>>> at
org.objectweb.easybeans.celtix.http.EasyBeansCeltixServlet.d
oPost(Unknown Source)
>>>>
>>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>>
>>>> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>>
>>>> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
>>>>
>>>> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
>>>>
>>>> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
>>>>
>>>> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
>>>>
>>>> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
>>>>
>>>> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
>>>>
>>>> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
>>>>
>>>> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
>>>>
>>>> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
>>>>
>>>> at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
>>>>
>>>> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
>>>>
>>>> at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
>>>>
>>>> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
>>>>
>>>> at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>>
>>>> ________________________________
>>>>
>>>> De: Guillaume Sauthier
[mailto:Guillaume.Sauthier objectweb.org]
>>>> Date: mer. 16/05/2007 09:28
>>>> À: easybeans objectweb.org
>>>> Objet : Re: [easybeans] EJB3 to expose as a
web service
>>>>
>>>>
>>>>
>>>> Hi Martial
>>>>
>>>> There is a prototype of EJB3 exposed as web
services with Objectweb
>>>> Celtix (ancestor of Apache CXF) and
EasyBeans standalone.
>>>>
>>>> Take a look at theses documents for
details:
>>>> h
ttp://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
>>>> http://ce
ltix.objectweb.org/docs/index.html
>>>>
>>>> Don't hesitate to provide feedback from
your experience on the list. You
>>>> can bug us too if you have issues ;)
>>>>
>>>> Thanks
>>>> --Guillaume
>>>>
>>>> martial.dessemond altran-ra.fr wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I have Easybeans installed together
with JONAS 4.8.4 - Tomcat.
>>>>>
>>>>> I would like to expose an EJB3 as a
webservice.
>>>>>
>>>>> What are the options?
>>>>> How long about does it requires to set
up?
>>>>>
>>>>> Thanks, Martial Dessemond
>>>>>
>>>>>
>>>>>
>>>>>
------------------------------------------------------------
------------
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a
subscriber of the easybeans objectweb.org mailing
list.
>>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>>> ObjectWeb mailing lists service home
page: http://www.objectweb.org
/wws
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
------------------------------------------------------------
------------
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of
the easybeans objectweb.org mailing list.
>>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>>> For general help: mailto:sympa objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page:
http://www.objectweb.org
/wws
>>>>
>>>>
>>>>
>>>>
>>>
------------------------------------------------------------
------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>>> To unsubscribe:
mailto:easybeans-unsubscribe objectweb.org
>>> For general help: mailto:sympa objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>>
>>>
>>>
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
>> --
>> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
>> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
>> For general help: mailto:sympa objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>>
>>
>
>
>
>
>
------------------------------------------------------------
------------
>
>
> --
> You receive this message as a subscriber of the
easybeans objectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribe objectweb.org
> For general help: mailto:sympa objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
|
|
|
|