A newcomer question, just starting with Eclipse Nuno and WAS Liberty Edition. I´m trying to implement a sample described in the dW site which implements a small framework for DOJO, REST/JSON and relational database handling ( see http://www.ibm.com/developerworks/library/wa-datawebapp/ ).
Question: Where to include the external .jars from Hibernate, Jersey and Derby components when using WAS 8.5 Liberty Edition? I've tried to add them under WEB-INF/lib but so far no success when starting the appliction in the Liberty. The package build looks normal, but the REST resources does not activate in the server. Is there any server-side console, or debug that confirms the class load?
Hints are welcome.
This topic has been locked.
Pinned topic Liberty and REST/JSON, Hibernate, Jersey and Derby
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
SystemAdmin 110000D4XK590 Posts
Re: Liberty and REST/JSON, Hibernate, Jersey and Derby2013-02-06T13:50:30ZThis is the accepted answer. This is the accepted answer.an Update: A few tweaks was required to make the sample run in WAS 8.5:
. Rename the folder SoccerOrg to SoccerOrgOld
. Create a Dynamic Web Project project named SoccerOrg, associated with a project type
. Copy the SoccerOrgOld/src to SoccerOrg/src (overwrite it)
. Copy the contents of SoccerOrgOld/war para SoccerOrg/WebContent (overwrite it)
. Copy the external libs into a WebContent/WEB-INF/lib (Derby, Hibernate and Jersey)
Yet an issue with DOJO grid display is open, but REST/JSON and JPA persistance works fine, watching the data and JSON inside the Firebug protocol debug.