Hi,
I create an AXIS2 web services. My AXIS2 is deployed within Tomcat 6 container. I use Hibernate 3.2 within my service to connect to MySQL 5 database. I get the below stack trace when I try to connect to the web service. The hibernate code just run fine if I run it in as console application. I have read about the changing the HQL parser to a classic one, it doesnt work for me and result in an error saying "Time out".
Thanks,
org.apache.axis2.AxisFault: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.mapring.career.Job where job_status='open']
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:387)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at com.mapring.career.MapringCareerStub.getVacancies(MapringCareerStub.java:181)
at Testing.main(Testing.java:13)
|