I have built the fulcrum-1.0.jar from the src and
successfully able to run a stand alone testprogram
(for GlobalCacheService).
However, when I tried to use the same fulcrum services
library inside a servlet (not turbine),
org.apache.fulcrum.TurbineServices class
initialization is failing and is crashing the tomcat
startup process.
>>>>> code snippet follows>>
import org.apache.fulcrum.TurbineServices;
import org.apache.fulcrum.ServiceException;
import org.apache.fulcrum.ServiceManager;
public class BaseStrutsActionServlet extends
HttpServlet {
public void init() throws ServletException {
log("hello");
ServiceManager serviceManager =
TurbineServices.getManager();
}
}
tomcat is crashing at the getManager() call above.
fulcrum-1.0.jar is in my WEB-INF/lib directory.
I looked at the turbine-3.0's Turbine.java file and it
is initializing the same way I am trying to do.
Any help is greatly appreciated...
thanks
srini
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>