Install Plandora Project Management on Eclipse Virgohttps://www.eclipse.org/forums/index.php/mv/msg/229921/708792/#msg_708792
Recently, i had some task from my manager to implement Software based Project Management. I decided to choose Plandora Project Management (_www.plandora.org) as platform. Plandora is java based project management software that designed to be run on tomcat webserver (5.0.x or higher). I have tried on Tomcat 7 and it run flawlessly.

in the other side, i had another project (web app) that was run on Eclipse Virgo. So I think that if I use same web server on that both project, it will more easier for me to maintain..

My question is, can i run it in Eclipse Virgo?

When I read plandora installation manual, it was written like this

Quote:

The next step is to setup the Data Source. Tomcat will need this information for connection purposes and to supply a connection to the application. Actually the Tomcat takes the control of the data base 'connection pool'.

For Tomcat 5.0.x you should copy the server.xml (that comes with the installation package) to the folder conf/ of Tomcat.

For Tomcat 5.3.x or higher you SHOULD NOT copy the server.xml but you should edit the context.xml (get the example file that comes with the installation package) file into the folder conf/ of Tomcat.

where can i find that context.xml on eclipse virgo? i have googled & found no clue.. All i got is server.xml in tomcat was equal to tomcat-server.xml in virgo..

Regards
Violeta
]]>Violeta Georgieva2011-08-03T07:25:23-00:00Re: Install Plandora Project Management on Eclipse Virgohttps://www.eclipse.org/forums/index.php/mv/msg/229921/709596/#msg_709596
Based on that documentation, i tried to place context.xml in \config directory but i had HTTP error 404
so i moved that context.xml into \META-INF directory at pandora.war file & redeployed. Pandora is running now.. but when i tried to login, it gives me this error

javax.naming.NamingException: Could not create resource factory instance [Root exception is org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in KernelBundleClassLoader: [bundle=com.springsource.org.apache.catalina.springsource_6.0.29.S2-r1559]]
org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in KernelBundleClassLoader: [bundle=com.springsource.org.apache.catalina.springsource_6.0.29.S2-r1559] at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:114) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at com.pandora.dao.DataAccess.getConnection(DataAccess.java:63) at

i don't have any idea about that error.. because I'm new in VWS

can you give us some clue how to fix that error

thanks before
sincerely]]>dimas 2011-08-04T04:04:07-00:00Re: Install Plandora Project Management on Eclipse Virgohttps://www.eclipse.org/forums/index.php/mv/msg/229921/709696/#msg_709696
If you what to provide context.xml per web application then you can provide it either as META-INF/context.xml in the web application's archive (the recommended way) or as <Virgo-Home>/config/Catalina/localhost/<context-path>.xml

It is because that package is not provided by any bundle on the system.
I don't think that Virgo provides this by default, so you have to provide it by yourself as bundle or you can put the jar that contains this class in your web application's WEB-INF/lib directory
]]>Violeta Georgieva2011-08-04T07:40:17-00:00Re: Install Plandora Project Management on Eclipse Virgohttps://www.eclipse.org/forums/index.php/mv/msg/229921/713078/#msg_713078

org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory

class is on [TOMCAT_HOME]/lib directory. So i copied all of jar file inside that folder, and placed it into \WEB-INF\lib folder in plandora directory.

I restart VWS, and try to access login page. The browser show this error

HTTP Status 503 - Servlet jsp is currently unavailable
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is not currently available.

so i removed it & restart VWS again. and Login page showed perfectly. But when login button was hit, error