np

great it works now :)


*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/5/9 Chris.Christo <[email protected]>

> Yes! it works! Rest also running now and sending back sexy responses.
>
> support 2nd to none as always. Take a bow.
>
> Thanks a lot Romain!
>
>
> On 9 May 2013, at 16:22, Romain Manni-Bucau <[email protected]> wrote:
>
> > so build it yourself too ;)
> >
> > mvn clean install -pl assembly/openejb-standalone -am
> > -Dmaven.test.skip=true should be fine i think
> >
> > or just mvn clean install in container/openejb-javaagent
> >
> > *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/5/9 Chris.Christo <[email protected]>
> >
> >> Yeah I mvn clean install'd it myself. The javaagent in the lib folder is
> >> coming up as openejb-javaagent-4.6.0-20130509.040703-72.jar
> >>
> >> Obviously there is a mismatch of versions for the javaagent??
> >>
> >>
> >> On 9 May 2013, at 16:16, Romain Manni-Bucau <[email protected]>
> wrote:
> >>
> >>> does the agent exist? how did you get the new build? if you rebuilt it
> >>> yourself retry cleaning target folders before (mvn clean)
> >>>
> >>> *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/5/9 Chris.Christo <[email protected]>
> >>>
> >>>> I got this email after I posted my previous one!
> >>>>
> >>>> Thanks, for this. The cxf-rs jars are in the lib folder now.
> >>>>
> >>>> However I have a new a problem with the build, when I call the openejb
> >>>> script (from my mac):
> >>>>
> >>>> sh target/apache-openejb-4.6.0-SNAPSHOT/bin/openejb start
> >>>>
> >>>> I get the following three lines of output:
> >>>>
> >>>> Error opening zip file or JAR manifest missing :
> >>>>
> >>
> /Users/user/Documents/workspace/myproject/target/apache-openejb-4.6.0-SNAPSHOT/lib/openejb-javaagent-4.6.0-SNAPSHOT.jar
> >>>> Error occurred during initialization of VM
> >>>> agent library failed to init: instrument
> >>>>
> >>>>
> >>>> There seems to be something wrong with that openejb-javaagent jar?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On 9 May 2013, at 15:15, Romain Manni-Bucau <[email protected]>
> >> wrote:
> >>>>
> >>>>> Ok,
> >>>>>
> >>>>> finally hacked it up:
> >> https://issues.apache.org/jira/browse/OPENEJB-2020
> >>>>>
> >>>>> *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/5/9 Romain Manni-Bucau <[email protected]>
> >>>>>
> >>>>>> PS: it will only work for .jar or .ear without any war IIRC.
> >>>>>>
> >>>>>> *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/5/9 Romain Manni-Bucau <[email protected]>
> >>>>>>
> >>>>>>> openejb-rest and openejb-cxf-rs are missing in the distro to
> support
> >>>> rest
> >>>>>>> services
> >>>>>>>
> >>>>>>> *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/5/9 Chris.Christo <[email protected]>
> >>>>>>>
> >>>>>>> I'm using a build of the assembly/openejb-standalone (the one that
> >>>>>>>> creates an "apache-openejb-4.6.0-SNAPSHOT.tar.gz").
> >>>>>>>>
> >>>>>>>> Then I unzip and dump my app in apps/ and my system.properties in
> >>>> conf/
> >>>>>>>>
> >>>>>>>> No custom main() or anything like that.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 9 May 2013, at 13:27, Romain Manni-Bucau <
> [email protected]>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Hi
> >>>>>>>>>
> >>>>>>>>> What does mean openejb here?
> >>>>>>>>> - openejb standalone?
> >>>>>>>>> - openejb in a custom main()
> >>>>>>>>> ....
> >>>>>>>>>
> >>>>>>>>> Do you have openejb-cxf-rs in the classpath?
> >>>>>>>>> Le 9 mai 2013 14:22, "Chris.Christo" <[email protected]> a
> >>>> écrit
> >>>>>>>> :
> >>>>>>>>>
> >>>>>>>>>> Hi, I'm trying to startup an OpenEJB server with JAX-RS enabled.
> >>>> I've
> >>>>>>>> got
> >>>>>>>>>> a rest class (@Path + @Singleton) but when I curl at it I get no
> >>>>>>>> response.
> >>>>>>>>>>
> >>>>>>>>>> My system.properties are as follows:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> java.util.logging.manager = java.util.logging.LogManager
> >>>>>>>>>> openejb.system.apps = true
> >>>>>>>>>> openejb.embedded.remotable = true
> >>>>>>>>>> openejb.webservices.enabled = true
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> I also tries adding this property 'openejb.embedded = true' but
> >>>> still
> >>>>>>>> no
> >>>>>>>>>> response.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> When I run tests with @ApplicationComposer and
> >>>>>>>> @EnableServices("jaxrs") I
> >>>>>>>>>> notice that this gets produced in the output:
> >>>>>>>>>>
> >>>>>>>>>> INFO - Setting the server's publish address to be
> >>>>>>>>>> http://127.0.0.1:4204/AccountRSTest
> >>>>>>>>>> INFO - REST Service:
> >> http://127.0.0.1:4204/AccountRSTest/account/.*->
> >>>>>>>>>> EJB AccountRS
> >>>>>>>>>>
> >>>>>>>>>> where AccountRS is my rest class. And the test works fine when I
> >>>> call
> >>>>>>>> the
> >>>>>>>>>> rest class.
> >>>>>>>>>>
> >>>>>>>>>> However when running outside test scope nothing like that gets
> >>>> output.
> >>>>>>>>>>
> >>>>>>>>>> Am I missing something in my system.properties?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >>>>
> >>
> >>
>
>

Reply via email to