I managed to fix the compilation of the client by
putting the client in the package directory and using this command:
javac -classpath /usr/local/jboss/client/ejb.jar:.
com/titan/*/*.java
and the compilation was sucessful. :D btw, im working on it, but if someone has time, i
would like their comments on what could this error be:
java.rmi.ServerException: RemoteException occurred
in server thread; nested exception
is:
javax.transaction.TransactionRolledbackException: null; nested exception is: javax.ejb.EJBException javax.transaction.TransactionRolledbackException: null; nested exception is: javax.ejb.EJBException javax.ejb.EJBException at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source) at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:188) at $Proxy1.listCabins(Unknown Source) at com.titan.travelagent.Client_1.main(Client_1.java:27) YSK
|