|
|
|
Re: Install Plandora Project Management on Eclipse Virgo [message #709696 is a reply to message #709596] |
Thu, 04 August 2011 07:40 |
Violeta Georgieva Messages: 278 Registered: October 2010 |
Senior Member |
|
|
The <Virgo-Home>/config/context.xml is the default context configuration file for all web applications.
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
Typically when you receive
ExtendedClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
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
[Updated on: Thu, 04 August 2011 07:41] Report message to a moderator
|
|
|
Re: Install Plandora Project Management on Eclipse Virgo [message #713078 is a reply to message #709696] |
Mon, 08 August 2011 04:31 |
dimas Messages: 7 Registered: November 2010 |
Junior Member |
|
|
i found that 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 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]] shows again..
i have tried to place tomcat lib into [VIRGO_HOME]\lib folder instead of [PANDORA_HOME]\WEB-INF\lib directory, but i still have no luck.. ExtendedClassNotFoundException rise again
i don't think that installing standard apache tomcat web application in virgo is difficult. But when i try by myself, i found it so or i missed something important?
please help me..
thank you for the answer
sincerely
dimas
[Updated on: Mon, 08 August 2011 06:07] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04067 seconds