Re: Problem with Dates in web service

2009-05-25 Thread David Blevins
Seems like a bug in the jaxb ri. I guess from where you're at now what I'd recommend is to see if you can replicate the issue in a test case that doesn't use OpenEJB or web services (CXF). Maybe create a JAXB class, 'MyDocument' or something, that has a single field of type Date2 then crea

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
Thank you. That worked. I appreciate your help. Best regards Mho Mho wrote: > > Hello, > I am new to openEJB and Eclipse. I am not new to Tomcat. > I am porting an application that used to run under JBOSS and it appears > that openEJB/Tomcat should be just a great environment. > > I am using

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread David Blevins
On May 25, 2009, at 8:37 PM, Mho wrote: Thank you that explanation makes sense. I added those and then found out that ejb.jar (or at least the copy that I could find) does not include javax.ejb.MessageDriven or javax.ejb.ActivationConfigProperty. I found ejb-3_0-api.jar at http://java.sun

Problem with Dates in web service

2009-05-25 Thread Maaku
This is getting frustrating, I'm trying to create a web service which returns a custom date. I've extended java.util.Date and I'm getting com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5 cannot be cast to com.sun.xml.bind.v2.model.impl.ClassInfoImpl At first, I thought it was becaus

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
Thank you that explanation makes sense. I added those and then found out that ejb.jar (or at least the copy that I could find) does not include javax.ejb.MessageDriven or javax.ejb.ActivationConfigProperty. I found ejb-3_0-api.jar at http://java.sun.com/products/ejb/docs.html under 3.0 Final r

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread David Blevins
On May 25, 2009, at 6:15 PM, Mho wrote: Hello, I am new to openEJB and Eclipse. I am not new to Tomcat. I am porting an application that used to run under JBOSS and it appears that openEJB/Tomcat should be just a great environment. I am using Eclipse with WTP and have successfully loaded u

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
Sorry it looks like the mailer ate my XML script. what I meant to say was the JBOSS deployment descriptor looked like >server> < mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=fclient">

building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
Hello, I am new to openEJB and Eclipse. I am not new to Tomcat. I am porting an application that used to run under JBOSS and it appears that openEJB/Tomcat should be just a great environment. I am using Eclipse with WTP and have successfully loaded up Tomcat with OpenEJB and now I am trying to br

Re: How to log in EJB

2009-05-25 Thread David Blevins
On May 24, 2009, at 8:19 AM, siegfried wrote: When I run "mvn test" on the openejb examples I see lots of logging. Is there a way for EJB log entries to appear mixed in with the client side log entries that appear when I run the unit tests? That would be nice. If not, how would I observe

Re: Module with moduleId "hello.jar" does not exist.

2009-05-25 Thread David Blevins
On May 23, 2009, at 4:08 PM, siegfried wrote: I can deploy just fine now -- at leaset with the hello world example. To undeploy, however, I have to stop the server and delete the jar file manually which is tedious! When you run the deploy command it should print out the module Id of the app

Re: Database configuration on web application startup

2009-05-25 Thread Luis Fernando Planella Gonzalez
Yes, that should solve my problem. In this case, the application name would be the servlet context path? Another question: when the application is deployed in the server root url, which would be the app name? ROOT? Anyway, since this seems a small addition to an already existing heuristic, and is