I got my web services working using I believe an 'old school' (java 1.4?)
method of building the services (java2wsdl etc)
Now the boss decided we should use the more lightweight 1.6 WsGen method.
I added in the standard cheesy main that allows the 1.6 jvm to run as a
lightweight server. I
I started this morning with the Andreas' solution as it is easiest to
implement. I got farther. The web service finds the persistence file and
starts mapping the classes.
Now I am getting the following exception, which amuses me somehow:
java.lang.ClassNotFoundException: Class Not found :
I solved this one by making all pojo attributes being generated by hbm2java as
long and boolean to instead be Long and Boolean. I did this by modifying the
reveng.xml file using the column... entity.
- Original Message -
From: Martin Gainty mgai...@hotmail.com
Date: Wednesday,
Thanks. I was about 5 minutes from starting to cry like a small girl!
- Original Message -
From: robert lazarski robertlazar...@gmail.com
Date: Wednesday, September 30, 2009 13:56
Subject: Re: hibernate and axis2
To: axis-user@ws.apache.org
On Wed, Sep 30, 2009 at 1:41 PM, ANTHONY ENNIS
...And suddenly, the application works stem to stern.
Thank you all!
- Original Message -
From: robert lazarski robertlazar...@gmail.com
Date: Wednesday, September 30, 2009 13:56
Subject: Re: hibernate and axis2
To: axis-user@ws.apache.org
Kool, glad to hear you're making some
I'm at wit's end. Now the situation is that I can connect to the database
using my persistence.xml settings when I run from my IDE (intellij.)
Previously, I was using a properties file. So that is a small amount of
progress.
However, when I deploy my webservice, it accepts messages but
Thanks for the replies. I'm at work now and don't have access to the postings
sent earlier.
I created a new jar that included my classes and the persistence.xml file. I
placed it in my lib directory. No difference.
I'm working in part off code/requirements I didn't write. One wrinkle is
I have a web service that performs a simple database lookup. Unfortunately,
Persistence.createEntityManagerFactory('xyzzy') fails in all cases.
My aar looks like:
/com
(class files in package format eg com/this/that/x.class)
/META-INF
services.xml
/lib
numerous jars
I don't know
:
com.company.snapshot.webservice.MyWebService
- Original Message -
From: robert lazarski robertlazar...@gmail.com
Date: Friday, September 25, 2009 17:07
Subject: Re: aar and hibernate
To: axis-user@ws.apache.org
On Fri, Sep 25, 2009 at 5:41 PM, ANTHONY ENNIS
tony.en...@insightbb.com wrote