Hi
we are trying to host a webservice using Axis2 version1,hibernate and db mysql.The service is successfully hosted but when we try to consume the web service , we get the following error in the
JBoss 4.0.2 console
15:28:44,846 INFO [Environment] Hibernate 3.0.5
15:28:45,003 INFO [Environment] hibernate.properties not found
15:28:45,018 INFO [Environment] using CGLIB reflection optimizer
15:28:45,034 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
15:28:45,159 INFO [Configuration] configuring from resource: hibernate.cfg.xml
15:28:45,159 INFO [Configuration] Configuration resource: hibernate.cfg.xml
15:28:45,159 WARN [Configuration] hibernate.cfg.xml not found
15:28:45,175 INFO [STDOUT] %%%% Error Creating SessionFactory %%%%
15:28:45,175 INFO [STDOUT] org.hibernate.HibernateException: hibernate.cfg.xml
not found
at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configura
tion.java:1087)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1111)
at com.vayama.util.DbUtil.currentSession(DbUtil.java:118)
at com.vayama.util.DbUtil.retreiveObjectByCriteria(DbUtil.java:86)
at com.vayama.businessservice.geocoderservice.logic.GeocoderService.reso
lveCityName(GeocoderService.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
Thanx and Regards
Naag