[opencms-dev] RE: Eclipse Plugin
Scott Carlson
scott at optionvue.com
Thu Mar 1 20:05:34 CET 2007
Well, it seems that it can't find the postgres driver.
"by: java.lang.ClassNotFoundException: org.postgresql.Driver"
I would double check the plugin to make sure it has the postgres jar in
the lib directory and double check the manifest is correct.
I assume the OpenCms system works properly (i.e. the postgres driver
added works for the OpenCms system)?
Scott
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Lubomir Kovac
Sent: Thursday, March 01, 2007 12:57 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] RE: Eclipse Plugin
No, but I did now ... unfortunatelly the some call stack ...
kovi
Scott Carlson napsal(a):
> Did you start eclipse using the clean option (i.e. eclipse -clean)
after
> installing the updated plugin jar?
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Lubomir Kovac
> Sent: Thursday, March 01, 2007 11:59 AM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] RE: Eclipse Plugin
>
> I run the plugin on Eclipse 6.2.2 with MySql without any problems. I
was
>
> pushed to work with Postress and sice then I'm not able to run the
> eclipse plugine. I have added the jdbc postgress driver to the lib and
> changed the manifest, but I still get this:
>
> org.opencms.main.CmsInitException: Critical error during OpenCms
> initialization: Unable to initialize connection pool "default". Is the
> database up and running?
> at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:265)
> at org.opencms.main.LocalConnector.<init>(LocalConnector.java:45)
> at
>
org.laughingpanda.opencmsvfs.views.OpenCmsVFSView.<init>(OpenCmsVFSView.
> java:69)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> ...
> Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
> at
>
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLo
> ader.java:402)
> at
>
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLo
> ader.java:347)
> at
>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Defau
> ltClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
>
org.opencms.db.CmsDbPool.createDriverManagerConnectionPool(CmsDbPool.jav
> a:228)
> at
>
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:44
> 06)
> ... 61 more
>
> The DB is running - OpenCMS is running. I changed rights, I tried
local
> access and I have tried remote access to DB ... nothing helps :-/
>
> pmarchwiak napsal(a):
>
>> Could you go into more detail about how one would go about upgrading
>>
> the
>
>> jars? I'm not really sure what you mean by OpenCms jars because the
>>
> only jar
>
>> I see is "org.laughingpanda.opencmsvfs_0.0.3" and that is the lastest
>> version.
>> I am using MySQL so I don't think the database is the problem.
>>
>> Your help is appreciated.
>>
>>
>> Scott Carlson wrote:
>>
>>
>>> I am successfully using the Plugin on WinXP with OpenCMS 6.2.3.
>>>
>>> I had to upgrade the OpenCMS jars within the plugin. I have verified
>>> that if they are not upgraded, the error you are getting is the one
>>>
> that
>
>>> would be returned.
>>>
>>> Another possibility is that the db you are using is not supported by
>>>
> the
>
>>> plugin because the proper library files are not included (although I
>>> don't know if you would get the same error). I am using the plugin
>>>
> with
>
>>> MySQL and MSSQL. But, for MSSQL, I had to add the proper jar into
the
>>> plugin to support that, and also update the manifest.
>>>
>>> Scott
>>>
>>> -----Original Message-----
>>> From: opencms-dev-bounces at opencms.org
>>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of pmarchwiak
>>> Sent: Thursday, March 01, 2007 9:19 AM
>>> To: opencms-dev at opencms.org
>>> Subject: Re: [opencms-dev] Eclipse Plugin
>>>
>>>
>>> I'm getting the same error message. Anyone know what the problem
>>>
> could
>
>>> be?
>>>
>>> Thanks.
>>>
>>>
>>> Andrew Myers-4 wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> I'm trying to get the Eclipse Plugin from
>>>> http://www.laughingpanda.org/mediawiki/index.php/OpenCmsVFS to
work.
>>>>
>>>> I have a clean install of Eclipse 3.2 and OpenCMS 6.2.3
>>>>
>>>> I've also following the instructions which state as follows:
>>>>
>>>>
>>>>
>>>>> When running on winXP - If using OpenCms 6.2.3, the OpenCms libs
in
>>>>>
>
>
>>>>> the plugin need to be updated to the OpenCms 6.2.3 versions of the
>>>>>
>>>>>
>>> jars.
>>>
>>>
>>>> However when I try to go to the OpenCms view in Eclipse I get the
>>>> following error message:
>>>>
>>>> Unable to create view: Plug-in "org.laughingpanda.opencmsvfs" was
>>>>
>>>>
>>> unable
>>>
>>>
>>>> to instantiate class
>>>>
>>>>
>>> "org.laughingpanda.opencmsvfs.views.OpenCmsVFSView".
>>>
>>>
>>>> It's possible that I've done something wrong when I tried to
upgrade
>>>>
>>>>
>>> the
>>>
>>>
>>>> jars to the 6.2.3 version. Is anyone else successfully using the
>>>>
>>>>
>>> plugin
>>>
>>>
>>>> with 6.2.3. If so, what's the secret? Can you share your updated
>>>>
> jar
>
>>>>
>>>> file? ;-)
>>>>
>>>> Thanks!
>>>>
>>>> Andrew.
>>>>
>>>>
>>>> _______________________________________________
>>>> This mail is sent to you from the opencms-dev mailing list
>>>> To change your list options, or to unsubscribe from the list,
please
>>>>
>>>>
>>> visit
>>>
>>>
>>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>>
>>>>
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Eclipse-Plugin-tf3323926.html#a9251579
>>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>>
> visit
>
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>>
>>
>>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list