Hmm, on trunk i get:
INFO: Setting the server's publish address to be http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener logEndpoints INFO: REST Application: http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix -> org.superbiz.rest.application.ApplicationConfig 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener logEndpoints INFO: Service URI: http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb -> EJB org.superbiz.rest.application.SimpleRESTEJB 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener logEndpoints INFO: GET http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/ -> String ejb() 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener logEndpoints INFO: Service URI: http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo -> Pojo org.superbiz.rest.application.SimpleRESTPojo 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener logEndpoints INFO: GET http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/-> String pojo() *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/11 Can Eskikaya <[email protected]> > So i used the maven project from the example site. > > And all running on openejb-standalone-4.6.0< > https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip> > snapshot server. > > Von: Romain Manni-Bucau [via OpenEJB] [mailto: > [email protected]] > Gesendet: Donnerstag, 11. Juli 2013 14:57 > An: Can Eskikaya > Betreff: Re: openEJB standalone rest singlton > > hmm, > > do you have a setup to reproduce it? (mvn project with tomee mvn plugin for > instance) > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > 2013/7/11 Can Eskikaya <[hidden > email]</user/SendEmail.jtp?type=node&node=4664225&i=0>> > > > I thought my package is corrupted so i have build > > the "openejb-examples-4.5.2\rest-example-with-application" > > (rest-example-with-application-1.0.war) > > > > Unfortunately I have no success here. > > > > No service present. > > > > Regards > > Can > > > > > > Can Eskikaya wrote > > > It just doesn´t work. The war package is unpacked, but no service > > > provided. > > > > > > structure of "SERVICE".war > > > > > > service.war > > > |____ index.html > > > |____ WEB-INF > > > |___ classes > > > | |____ xy.xxxx.yyyy.* > > > |___ web.xml > > > > > > > > > Regards > > > Can > > > Romain Manni-Bucau wrote > > >> Hi, > > >> > > >> in a war you don't need it, in a jar that's normal > > >> > > >> *Romain Manni-Bucau* > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*< > https://twitter.com/rmannibucau%3e*> > > >> *Blog: > > >> ** > > > http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > <http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e> > > ; > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > >> *Github: https://github.com/rmannibucau* > > >> > > >> > > >> > > >> 2013/7/10 Can Eskikaya < > > > > >> can.eskikaya@ > > > > >> > > > >> > > >>> Hey, > > >>> > > >>> i am using the standalone server and i want to implement a rest > > service. > > >>> > > >>> I try out the examples and the only way to get a service is then i > > >>> annotate > > >>> the service class > > >>> as singlton. Is that the normal way? Or is there a configuration > file? > > >>> > > >>> Regards > > >>> Can > > >>> > > >>> > > >>> > > >>> -- > > >>> View this message in context: > > >>> > > > http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html > > >>> Sent from the OpenEJB User mailing list archive at Nabble.com. > > >>> > > > > > > > > > > > > -- > > View this message in context: > > > http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > > http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664225.html > To unsubscribe from openEJB standalone rest singlton, click here< > http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664204&code=Y2FuLmVza2lrYXlhQG5vdmFzdG9yLmNvbXw0NjY0MjA0fDI1MDI1MzUzNw== > >. > NAML< > http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > rest-example-with-application.zip (11K) < > http://openejb.979440.n4.nabble.com/attachment/4664226/0/rest-example-with-application.zip > > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664226.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
