Re: HttpServletRequest in webservice

2010-11-12 Thread typhoon
Hi David, great! No, I don't have JIRA id. Regards, ty -- View this message in context: http://openejb.979440.n4.nabble.com/HttpServletRequest-in-webservice-tp2969409p3039824.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: HttpServletRequest in webservice

2010-11-10 Thread typhoon
I created a patch for this issue based on code in 3.1.3. Update details: << context.setHandler(handler); >> SessionHandler sessionHandler = new SessionHandler(); >> SessionManager sessionManager = new HashSessionManager(); >> sessionManager.setIdManager(new HashSe

Re: HttpServletRequest in webservice

2010-11-10 Thread typhoon
I created a patch for this issue based on code in 3.1.3. Update details: << context.setHandler(handler); >> SessionHandler sessionHandler = new SessionHandler(); >> SessionManager sessionManager = new HashSessionManager(); >> sessionManager.setIdManager(new HashSe

Re: HttpServletRequest in webservice

2010-11-10 Thread typhoon
I created a patch for this issue based on code in 3.1.3. Update details: << context.setHandler(handler); >> SessionHandler sessionHandler = new SessionHandler(); >> SessionManager sessionManager = new HashSessionManager(); >> sessionManager.setIdManager(new HashSe

Re: HttpServletRequest in webservice

2010-11-04 Thread typhoon
Hi Jon, David, I found the following in Java Docs for org.mortbay.jetty.Request ( http://jetty.codehaus.org/jetty/jetty-6/apidocs/org/mortbay/jetty/Request.html link ): ... - the HTTP session methods will all return null sessions until such time as a request has been passed to a SessionHandler wh

Re: Oberride @NamedNativeQuery

2010-11-03 Thread typhoon
Thanks Thiago! This is exactly what I need. One question - can I setup openejb so that injected resource value from env-entry.properties is overriding value from ejb-jar.xml (both stored in the same META-INF folder)? ty -- View this message in context: http://openejb.979440.n4.nabble.com/Oberri

Oberride @NamedNativeQuery

2010-11-02 Thread typhoon
Hi all, I'm using @NamedNativeQuery in entity bean, but it's database specific and as a result can't be used in unit tests. Therefore my question is - can we override named query or other entity bean's attributes somehow for execution in unit tests? Regards, ty -- View this message in context:

Re: @WebService without @Stateless

2010-11-01 Thread typhoon
dblevins wrote: > > > On Oct 20, 2010, at 5:28 AM, Jean-Louis MONTEIRO wrote: > >> >> Hi, >> >> If you want an automatic deployment, you need both. >> >> But, it seems to me POJO WebServices are also supported. >> In a Tomcat embedded mode, you need to add the CXF servlet for example. >> >

Re: HttpServletRequest in webservice

2010-10-26 Thread typhoon
I guess I need to configure Jetty somehow in order to be able to run test with it. Can someone (from Jetty experts ) provide an example for what needs to be configured/added to run such test? ty -- View this message in context: http://openejb.979440.n4.nabble.com/HttpServletRequest-in-webservic

Re: HttpServletRequest in webservice

2010-10-24 Thread typhoon
This exception is repeatable in simple-webservice example (see lines marked with "added for test" in attached file). Regards, ty http://openejb.979440.n4.nabble.com/file/n3009805/CalculatorImpl.java CalculatorImpl.java -- View this message in context: http://openejb.979440.n4.nabble.com/Http

Re: HttpServletRequest in webservice

2010-10-22 Thread typhoon
Thanks David! I added dependency (v 6.1.23), but now get the following exception: Caused by: org.apache.cxf.binding.soap.SoapFault: The bean encountered a non-application exception; nested exception is: java.lang.IllegalStateException: No SessionHandler or SessionManager while invoking

Re: HttpServletRequest in webservice

2010-10-21 Thread typhoon
Guys, please respond... ty -- View this message in context: http://openejb.979440.n4.nabble.com/HttpServletRequest-in-webservice-tp2969409p3006126.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: @WebService without @Stateless

2010-10-21 Thread typhoon
David, can you please shed some light on this? ty -- View this message in context: http://openejb.979440.n4.nabble.com/WebService-without-Stateless-tp2993404p3006124.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: @WebService without @Stateless

2010-10-20 Thread typhoon
Thanks for response! I'm OK to use manual (via code or descriptors) deployment of POJO WebServices if it is supported. Can you/David please provide an example of such deployment in unit tests embedded mode? ty -- View this message in context: http://openejb.979440.n4.nabble.com/WebService-wit

Re: @WebService without @Stateless

2010-10-19 Thread typhoon
Please respond. ty -- View this message in context: http://openejb.979440.n4.nabble.com/WebService-without-Stateless-tp2993404p3003353.html Sent from the OpenEJB User mailing list archive at Nabble.com.

DefaultUser in SecurityService

2010-10-13 Thread typhoon
Hi, I think there is a bug in configuration of SecurityService in openejb-core-...jar\META-INF\org.apache.openejb.embedded\service-jar.xml. Now it contains DefaultUser "guest" As a result of this calling WebServiceContext.getUserPrincipal().getName() returns guest with do