-
17 Dec 2008 3:14 PM #1
jar + remote service
jar + remote service
I create the projectA and the projectB, in the projectB I put the jar of projectA... in projectA I have a remote service
in hosted mode if a called the remote service work fine..
but when I put the war of the projectB in tomcat dont work... someone hava any idea?
thanks
-
17 Dec 2008 3:26 PM #2
this sounds like a GWT issue - can you expand/explain a little more
GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
17 Dec 2008 3:50 PM #3
ok... I have two projects... A and B..
in the project A I have my custom components and class..
I create a jar of this project
.......
In project B I get this jar and put in the folder lib and in my App.gwt.xml I put this code
the components work fine to me.. except when I call the RemoteService that was in the jar.. my english is not good.. If you don't understant anything... please post a replyCode:<inherits name="projectA.MYGXT"/>
look at for this.. If I run in hosted mode.. work fine.. but if I create a war of the project B.. and put in webapp tomcat dir don't work more..
-
17 Dec 2008 4:48 PM #4
you can't really embed jars with jars and just assume it will simply just work.
a jar (and war) is really just a zip file designed to package the class files and folders together.
you'll need to specifically explain the war file contents, how you are creating it - how you are running the hosted mode, how it is getting the classpath and source path of the jar lib file etc.
love to help, but the details are missing.GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
17 Dec 2008 4:56 PM #5
I found the problem.. sorry..
I will be explain.. more or less what is happen.. when I instantiate my remoteServiceImpl I get the hibernate connection.. but in the jar.. not found hibernate.cfg.xml because he was in my project.. then return a error



Reply With Quote