[Jportlet-devel] running jportlet
Brought to you by:
tchbansi
From: Marcin N. <mar...@we...> - 2003-04-19 14:34:45
|
Hi ! I was trying to run HelloWorld portlet.... but let's start at begining i downloaded jportlet and here comes first suprise wow but how am i supposed to run this ? i started digging in template directory and found line with JBoss so i thought it runs on JBoss so i started my jboss 3.0.4 with tomcat and then did all steps in helloworld tutorial (btw frame containing HelloPortlet has wrong name) all stuff has compiled and then deployed (almoust) ... and problems started :) 15:27:51,764 INFO [PortletApplicationImpl] Initializing 15:27:53,957 ERROR [Digester] Begin event threw exception java.lang.ClassNotFoundException: No ClassLoaders found for: net.sf.jportlet.portlet.descriptor.ApplicationDescriptor at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:138) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java: 140) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) .... so i putted jportlet.jar and velocity.jar into lib of my jboss better but still don't working 16:08:52,492 ERROR [PortletServiceFactoryImpl] Unable to initialize service: velocity net.sf.jportlet.service.PortletServiceException at net.sf.jportlet.service.velocity.VelocityServiceImpl.init(Unknown Source) at net.sf.jportlet.impl.PortletServiceFactoryImpl.init(Unknown Source) at net.sf.jportlet.impl.PortletApplicationImpl.init(Unknown Source) at net.sf.jportlet.web.servlet.PortletServlet.init(Unknown Source) i think now is something wrong with velocity but i have nerver used it so i need some help here there also was problems with db taskt but i copied into my project proper version of hypersonic library and then this task started to work properly please write a little bit more about running jportlet with JBoss or what have i done bad or write something about your way of running jportlet |