I have another problem.
My webservice is a methode that takes an object of type "Dmex" in the mysql data
base (with Hibernate).
| public class DmexWs implements IDmexWs {
|
| SessionFactory sessionFactory = new Configuration().configure
().buildSessionFactory();
|
| public String getDmex(int id) throws RemoteException {
| CommonManager cm = HibernateEnviron.getCommonManager();
|
| Dmex dmex = (Dmex)cm.findOneId(Dmex.class, 792);
|
| return dmex.getDescription();
|
| }
|
| }
|
And when I run the client, I have this error:
| java.rmi.RemoteException: Call invocation failed with code [Client] because of: JDBC
Driver class not found: com.mysql.jdbc.Driver; nested exception is:
|
Must I put the mysqlConnector jar with my class DmexWs in the .war deployed on the
server?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033697#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...