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.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2013-02-06T13:50:30Z by SystemAdmin
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 PostsACCEPTED ANSWER
Re: Liberty and REST/JSON, Hibernate, Jersey and Derby2013-02-06T13:50:30Z in response to SystemAdminan 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.