error when installing OpenCms Module Developer in Eclipse

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I gave installing the Eclipse IDE for Opencms development another try.
All prior attempts also failed for some reason.

I followed the Wiki and the tutorial in there to setup the preferences
etc.

In the phase of importing existing OpenCms Modules (clicking the Fetch
button in the Module definition dialog) I'm getting an error:

java.lang.reflect.InvocationTargetException
 java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
...

OpenCms 7.5.0
Tomcat 6.0
MySql 5.1
Apache 2.2
Sun Jdk 1.6.0



--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Help!
Please.

On Fri, Oct 16, 2009 at 04:39:44PM +0200, Christoph P. Kukulies wrote:
> I gave installing the Eclipse IDE for Opencms development another try.


Could that be a java policy issue?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

> All prior attempts also failed for some reason.
>
> I followed the Wiki and the tutorial in there to setup the preferences
> etc.
>
> In the phase of importing existing OpenCms Modules (clicking the Fetch
> button in the Module definition dialog) I'm getting an error:
>
> java.lang.reflect.InvocationTargetException
>  java.lang.IllegalAccessError: tried to access method
> org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
> from class org.opencms.configuration.CmsSetNextRule
> ...
>
> OpenCms 7.5.0
> Tomcat 6.0
> MySql 5.1
> Apache 2.2
> Sun Jdk 1.6.0
>
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
> _______________________________________________
> 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

Re: error when installing OpenCms Module Developer in Eclipse

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/20 Christoph P. Kukulies <kuku@...>:

> Help!
> Please.
>
> On Fri, Oct 16, 2009 at 04:39:44PM +0200, Christoph P. Kukulies wrote:
>> I gave installing the Eclipse IDE for Opencms development another try.
>
>
> Could that be a java policy issue?
>
>
don't think so. if you install everythink vanilla out-of-the box, here
it orks like charm.

is your opencms-server, from where you try to import a module on localhost?

cheers

gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

btw, which os are you using?
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 20, 2009 at 11:34:16PM +0200, Gregor Schneider wrote:
> btw, which os are you using?

Sorry, forgot to mention: Windows XP, up to snuff.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chistoph,

I followed the steps described at http://opencms-wiki.org/Eclipse_integration

I uses the Open CMS Module Developer and followed the Wiki step by step.

my configuration:

- Windows XP SP3
- Eclipse Galileo (latest)
- Sun JDK 1.6
- MySQL 5.0.7
- Tomcat 6.0.18

Actually you don't need Apache HTTPD - just install OpenCMS into your
local Tomcat-installation and access it via port 8080 - maybe this is
what was causing the problems.

My OpenCMS Module Developer-specs in Eclipse:

Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF

OpenCMS classpath:

D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
D:\apache-tomcat-6.0.18\lib\servlet-api.jar
D:\apache-tomcat-6.0.18\lib\jsp-api.jar

OpenCMS servlet mapping:              opencms/*
OpenCMS context path name:          opencms
login user:                                       Admin
login password:                               admin

Bedises, if you expect help here, some more information is needed, that is:

- full stacktrace of your exception, not just a snippet

HTH

Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Olaitan Olamilehin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christoph,

You could try an older version of eclipse (e.g eclipse-3.2.2-callisto).

BR

On Wed, 2009-10-21 at 10:33 +0200, Gregor Schneider wrote:

> Chistoph,
>
> I followed the steps described at http://opencms-wiki.org/Eclipse_integration
>
> I uses the Open CMS Module Developer and followed the Wiki step by step.
>
> my configuration:
>
> - Windows XP SP3
> - Eclipse Galileo (latest)
> - Sun JDK 1.6
> - MySQL 5.0.7
> - Tomcat 6.0.18
>
> Actually you don't need Apache HTTPD - just install OpenCMS into your
> local Tomcat-installation and access it via port 8080 - maybe this is
> what was causing the problems.
>
> My OpenCMS Module Developer-specs in Eclipse:
>
> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
>
> OpenCMS classpath:
>
> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
>
> OpenCMS servlet mapping:              opencms/*
> OpenCMS context path name:          opencms
> login user:                                       Admin
> login password:                               admin
>
> Bedises, if you expect help here, some more information is needed, that is:
>
> - full stacktrace of your exception, not just a snippet
>
> HTH
>
> Gregor


_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaitan,

here the OpenCMS Module Developer works like charm with the *latest*
build of Eclipse (Galileo).

I guess we'll need the complete stacktrace to se where the problem is

Cheers

Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 11:42:37AM +0300, Olaitan Olamilehin wrote:
> Christoph,
>
> You could try an older version of eclipse (e.g eclipse-3.2.2-callisto).

I'm in the course of downloading 3.2.2 now and will see what happens.
Thanks.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>
> BR
>
> On Wed, 2009-10-21 at 10:33 +0200, Gregor Schneider wrote:
> > Chistoph,
> >
> > I followed the steps described at http://opencms-wiki.org/Eclipse_integration
> >
> > I uses the Open CMS Module Developer and followed the Wiki step by step.
> >
> > my configuration:
> >
> > - Windows XP SP3
> > - Eclipse Galileo (latest)
> > - Sun JDK 1.6
> > - MySQL 5.0.7
> > - Tomcat 6.0.18
> >
> > Actually you don't need Apache HTTPD - just install OpenCMS into your
> > local Tomcat-installation and access it via port 8080 - maybe this is
> > what was causing the problems.
> >
> > My OpenCMS Module Developer-specs in Eclipse:
> >
> > Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
> >
> > OpenCMS classpath:
> >
> > D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> > D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> > D:\apache-tomcat-6.0.18\lib\jsp-api.jar
> >
> > OpenCMS servlet mapping:              opencms/*
> > OpenCMS context path name:          opencms
> > login user:                                       Admin
> > login password:                               admin
> >
> > Bedises, if you expect help here, some more information is needed, that is:
> >
> > - full stacktrace of your exception, not just a snippet
> >
> > HTH
> >
> > Gregor
>
>
> _______________________________________________
> 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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 10:33:38AM +0200, Gregor Schneider wrote:

> Chistoph,
>
> I followed the steps described at http://opencms-wiki.org/Eclipse_integration
>
> I uses the Open CMS Module Developer and followed the Wiki step by step.
>
> my configuration:
>
> - Windows XP SP3
> - Eclipse Galileo (latest)
> - Sun JDK 1.6
> - MySQL 5.0.7
> - Tomcat 6.0.18
>
> Actually you don't need Apache HTTPD - just install OpenCMS into your
> local Tomcat-installation and access it via port 8080 - maybe this is
> what was causing the problems.

I'm using rewriting/stripping /opencms and have opencms in webapps/ROOT
and apache in front of tomcat-6.0.

Eclipse filled in this info automatically:

Full Path: C:\Programme\Apache_Group\Tomcat_6.0\webapps\ROOT\WEB-INF

OpenCms additional classpath jars
C:\Programme\Apache_Group\Tomcat_6.0\lib\servlet-api.jar
C:\Programme\Apache_Group\Tomcat_6.0\lib\jsp-api.jar

OpenCms servlet mapping: *
OpenCms context path name: /
login with user name: Admin
login with password: checked_that


The crash happens, when I choose New Project -> Other -> OpenCms Module
and I the click on "Fetch". It says
"Fetching inslalled Modules from OpenCms"
"Starting OpenCms instance"
and then the  java.lang.IllegalAccessError occurs.

I wonder where I could find a stacktrace for this.

Tomcat_6.0/logs doesn't have anything related . opencms.log also
nothing.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>
> My OpenCMS Module Developer-specs in Eclipse:
>
> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
>
> OpenCMS classpath:
>
> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
>
> OpenCMS servlet mapping:              opencms/*
> OpenCMS context path name:          opencms
> login user:                                       Admin
> login password:                               admin
>
> Bedises, if you expect help here, some more information is needed, that is:
>
> - full stacktrace of your exception, not just a snippet
>
> HTH
>

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Eska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cristoph,

since I think the Module Developer communicates with your tomcat directly,
try to configure the OpenCms servlet mapping without the url rewrite stuff, like
it should be the same as configured in your web.xml without the leading '/'.

e.g.:

OpenCms servlet mapping: opencms/*
OpenCms context path name: ROOT


That works for me.

Eska

Christoph P. Kukulies wrote:
On Wed, Oct 21, 2009 at 10:33:38AM +0200, Gregor Schneider wrote:
> Chistoph,
>
> I followed the steps described at http://opencms-wiki.org/Eclipse_integration
>
> I uses the Open CMS Module Developer and followed the Wiki step by step.
>
> my configuration:
>
> - Windows XP SP3
> - Eclipse Galileo (latest)
> - Sun JDK 1.6
> - MySQL 5.0.7
> - Tomcat 6.0.18
>
> Actually you don't need Apache HTTPD - just install OpenCMS into your
> local Tomcat-installation and access it via port 8080 - maybe this is
> what was causing the problems.

I'm using rewriting/stripping /opencms and have opencms in webapps/ROOT
and apache in front of tomcat-6.0.

Eclipse filled in this info automatically:

Full Path: C:\Programme\Apache_Group\Tomcat_6.0\webapps\ROOT\WEB-INF

OpenCms additional classpath jars
C:\Programme\Apache_Group\Tomcat_6.0\lib\servlet-api.jar
C:\Programme\Apache_Group\Tomcat_6.0\lib\jsp-api.jar

OpenCms servlet mapping: *
OpenCms context path name: /
login with user name: Admin
login with password: checked_that


The crash happens, when I choose New Project -> Other -> OpenCms Module
and I the click on "Fetch". It says
"Fetching inslalled Modules from OpenCms"
"Starting OpenCms instance"
and then the  java.lang.IllegalAccessError occurs.

I wonder where I could find a stacktrace for this.

Tomcat_6.0/logs doesn't have anything related . opencms.log also
nothing.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>
> My OpenCMS Module Developer-specs in Eclipse:
>
> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
>
> OpenCMS classpath:
>
> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
>
> OpenCMS servlet mapping:              opencms/*
> OpenCMS context path name:          opencms
> login user:                                       Admin
> login password:                               admin
>
> Bedises, if you expect help here, some more information is needed, that is:
>
> - full stacktrace of your exception, not just a snippet
>
> HTH
>

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 07:24:13AM -0700, Eska wrote:

>
> Hi Cristoph,
>
> since I think the Module Developer communicates with your tomcat directly,
> try to configure the OpenCms servlet mapping without the url rewrite stuff,
> like
> it should be the same as configured in your web.xml without the leading '/'.
>
> e.g.:
>
> OpenCms servlet mapping: opencms/*
> OpenCms context path name: ROOT

I changed the values to the ones you suggested to no avail. Same.

Are you using 7.5.0?

Here again what I could obtain from the traceback window:

java.lang.reflect.InvocationTargetException
 java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
...

>
> That works for me.
>
> Eska
>
>
> Christoph P. Kukulies wrote:
> >
> > On Wed, Oct 21, 2009 at 10:33:38AM +0200, Gregor Schneider wrote:
> >> Chistoph,
> >>
> >> I followed the steps described at
> >> http://opencms-wiki.org/Eclipse_integration
> >>
> >> I uses the Open CMS Module Developer and followed the Wiki step by step.
> >>
> >> my configuration:
> >>
> >> - Windows XP SP3
> >> - Eclipse Galileo (latest)
> >> - Sun JDK 1.6
> >> - MySQL 5.0.7
> >> - Tomcat 6.0.18
> >>
> >> Actually you don't need Apache HTTPD - just install OpenCMS into your
> >> local Tomcat-installation and access it via port 8080 - maybe this is
> >> what was causing the problems.
> >
> > I'm using rewriting/stripping /opencms and have opencms in webapps/ROOT
> > and apache in front of tomcat-6.0.
> >
> > Eclipse filled in this info automatically:
> >
> > Full Path: C:\Programme\Apache_Group\Tomcat_6.0\webapps\ROOT\WEB-INF
> >
> > OpenCms additional classpath jars
> > C:\Programme\Apache_Group\Tomcat_6.0\lib\servlet-api.jar
> > C:\Programme\Apache_Group\Tomcat_6.0\lib\jsp-api.jar
> >
> > OpenCms servlet mapping: *
> > OpenCms context path name: /
> > login with user name: Admin
> > login with password: checked_that
> >
> >
> > The crash happens, when I choose New Project -> Other -> OpenCms Module
> > and I the click on "Fetch". It says
> > "Fetching inslalled Modules from OpenCms"
> > "Starting OpenCms instance"
> > and then the  java.lang.IllegalAccessError occurs.
> >
> > I wonder where I could find a stacktrace for this.
> >
> > Tomcat_6.0/logs doesn't have anything related . opencms.log also
> > nothing.
> >
> >
> > --
> > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> >
> >>
> >> My OpenCMS Module Developer-specs in Eclipse:
> >>
> >> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
> >>
> >> OpenCMS classpath:
> >>
> >> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> >> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> >> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
> >>
> >> OpenCMS servlet mapping:              opencms/*
> >> OpenCMS context path name:          opencms
> >> login user:                                       Admin
> >> login password:                               admin
> >>
> >> Bedises, if you expect help here, some more information is needed, that
> >> is:
> >>
> >> - full stacktrace of your exception, not just a snippet
> >>
> >> HTH

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Eska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cristoph,

I just tried it with a 7.5.0 OpenCms configured in the Module Developer.
New Project -> Fetch did get a list of modules. Does your syncing work,
if you create a project e.g. "de.test" and later add the Module Developer Nature
to that project. Syncing files should then put your data to /system/modules/de.test.

Eska

P.S.: Viel Glück beim Probieren.

Christoph P. Kukulies wrote:
On Wed, Oct 21, 2009 at 07:24:13AM -0700, Eska wrote:
>
> Hi Cristoph,
>
> since I think the Module Developer communicates with your tomcat directly,
> try to configure the OpenCms servlet mapping without the url rewrite stuff,
> like
> it should be the same as configured in your web.xml without the leading '/'.
>
> e.g.:
>
> OpenCms servlet mapping: opencms/*
> OpenCms context path name: ROOT

I changed the values to the ones you suggested to no avail. Same.

Are you using 7.5.0?

Here again what I could obtain from the traceback window:

java.lang.reflect.InvocationTargetException
 java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
...

>
> That works for me.
>
> Eska
>
>
> Christoph P. Kukulies wrote:
> >
> > On Wed, Oct 21, 2009 at 10:33:38AM +0200, Gregor Schneider wrote:
> >> Chistoph,
> >>
> >> I followed the steps described at
> >> http://opencms-wiki.org/Eclipse_integration
> >>
> >> I uses the Open CMS Module Developer and followed the Wiki step by step.
> >>
> >> my configuration:
> >>
> >> - Windows XP SP3
> >> - Eclipse Galileo (latest)
> >> - Sun JDK 1.6
> >> - MySQL 5.0.7
> >> - Tomcat 6.0.18
> >>
> >> Actually you don't need Apache HTTPD - just install OpenCMS into your
> >> local Tomcat-installation and access it via port 8080 - maybe this is
> >> what was causing the problems.
> >
> > I'm using rewriting/stripping /opencms and have opencms in webapps/ROOT
> > and apache in front of tomcat-6.0.
> >
> > Eclipse filled in this info automatically:
> >
> > Full Path: C:\Programme\Apache_Group\Tomcat_6.0\webapps\ROOT\WEB-INF
> >
> > OpenCms additional classpath jars
> > C:\Programme\Apache_Group\Tomcat_6.0\lib\servlet-api.jar
> > C:\Programme\Apache_Group\Tomcat_6.0\lib\jsp-api.jar
> >
> > OpenCms servlet mapping: *
> > OpenCms context path name: /
> > login with user name: Admin
> > login with password: checked_that
> >
> >
> > The crash happens, when I choose New Project -> Other -> OpenCms Module
> > and I the click on "Fetch". It says
> > "Fetching inslalled Modules from OpenCms"
> > "Starting OpenCms instance"
> > and then the  java.lang.IllegalAccessError occurs.
> >
> > I wonder where I could find a stacktrace for this.
> >
> > Tomcat_6.0/logs doesn't have anything related . opencms.log also
> > nothing.
> >
> >
> > --
> > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> >
> >>
> >> My OpenCMS Module Developer-specs in Eclipse:
> >>
> >> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
> >>
> >> OpenCMS classpath:
> >>
> >> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> >> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> >> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
> >>
> >> OpenCMS servlet mapping:              opencms/*
> >> OpenCMS context path name:          opencms
> >> login user:                                       Admin
> >> login password:                               admin
> >>
> >> Bedises, if you expect help here, some more information is needed, that
> >> is:
> >>
> >> - full stacktrace of your exception, not just a snippet
> >>
> >> HTH

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christoph,

if there's nothing in the Tomcat-Logs, I figure it's an Eclipse-issue
- maybe you have a plugin installed which is giving you this headache?

Try to download the vanilla Eclipse-Galileo-JEE-installation
(http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip).

Be sure to delete your old installation AND your old workspace first
before unzipping Eclipse.

The Eclipse-logs are located in your [Eclipse_Workspace]/.metadata:

There you'll find a file named ".log"

HTH

Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 08:43:14AM -0700, Eska wrote:
>
> Hi Cristoph,
>
> I just tried it with a 7.5.0 OpenCms configured in the Module Developer.
> New Project -> Fetch did get a list of modules. Does your syncing work,
> if you create a project e.g. "de.test" and later add the Module Developer
> Nature
> to that project. Syncing files should then put your data to
> /system/modules/de.test.

Thanks. Giving it the OpenCms Module Nature works. The tree element
"OpenCms Library" shows a lot of .jar-files etc.

Forgive my ignorance but where is the button for "syncing"?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>
> Eska
>
> P.S.: Viel Gl??ck beim Probieren.
>
>
> Christoph P. Kukulies wrote:
> >
> > On Wed, Oct 21, 2009 at 07:24:13AM -0700, Eska wrote:
> >>
> >> Hi Cristoph,
> >>
> >> since I think the Module Developer communicates with your tomcat
> >> directly,
> >> try to configure the OpenCms servlet mapping without the url rewrite
> >> stuff,
> >> like
> >> it should be the same as configured in your web.xml without the leading
> >> '/'.
> >>
> >> e.g.:
> >>
> >> OpenCms servlet mapping: opencms/*
> >> OpenCms context path name: ROOT
> >
> > I changed the values to the ones you suggested to no avail. Same.
> >
> > Are you using 7.5.0?
> >
> > Here again what I could obtain from the traceback window:
> >
> > java.lang.reflect.InvocationTargetException
> >  java.lang.IllegalAccessError: tried to access method
> > org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
> > from class org.opencms.configuration.CmsSetNextRule
> > ...
> >
> >>
> >> That works for me.
> >>
> >> Eska
> >>
> >>
> >> Christoph P. Kukulies wrote:
> >> >
> >> > On Wed, Oct 21, 2009 at 10:33:38AM +0200, Gregor Schneider wrote:
> >> >> Chistoph,
> >> >>
> >> >> I followed the steps described at
> >> >> http://opencms-wiki.org/Eclipse_integration
> >> >>
> >> >> I uses the Open CMS Module Developer and followed the Wiki step by
> >> step.
> >> >>
> >> >> my configuration:
> >> >>
> >> >> - Windows XP SP3
> >> >> - Eclipse Galileo (latest)
> >> >> - Sun JDK 1.6
> >> >> - MySQL 5.0.7
> >> >> - Tomcat 6.0.18
> >> >>
> >> >> Actually you don't need Apache HTTPD - just install OpenCMS into your
> >> >> local Tomcat-installation and access it via port 8080 - maybe this is
> >> >> what was causing the problems.
> >> >
> >> > I'm using rewriting/stripping /opencms and have opencms in webapps/ROOT
> >> > and apache in front of tomcat-6.0.
> >> >
> >> > Eclipse filled in this info automatically:
> >> >
> >> > Full Path: C:\Programme\Apache_Group\Tomcat_6.0\webapps\ROOT\WEB-INF
> >> >
> >> > OpenCms additional classpath jars
> >> > C:\Programme\Apache_Group\Tomcat_6.0\lib\servlet-api.jar
> >> > C:\Programme\Apache_Group\Tomcat_6.0\lib\jsp-api.jar
> >> >
> >> > OpenCms servlet mapping: *
> >> > OpenCms context path name: /
> >> > login with user name: Admin
> >> > login with password: checked_that
> >> >
> >> >
> >> > The crash happens, when I choose New Project -> Other -> OpenCms Module
> >> > and I the click on "Fetch". It says
> >> > "Fetching inslalled Modules from OpenCms"
> >> > "Starting OpenCms instance"
> >> > and then the  java.lang.IllegalAccessError occurs.
> >> >
> >> > I wonder where I could find a stacktrace for this.
> >> >
> >> > Tomcat_6.0/logs doesn't have anything related . opencms.log also
> >> > nothing.
> >> >
> >> >
> >> > --
> >> > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> >> >
> >> >>
> >> >> My OpenCMS Module Developer-specs in Eclipse:
> >> >>
> >> >> Full path to.... : D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF
> >> >>
> >> >> OpenCMS classpath:
> >> >>
> >> >>
> >> D:\apache-tomcat-6.0.18\webapps\opencms\WEB-INF\lib\mysql-connector-java-5.0.7-bin.jar
> >> >> D:\apache-tomcat-6.0.18\lib\servlet-api.jar
> >> >> D:\apache-tomcat-6.0.18\lib\jsp-api.jar
> >> >>
> >> >> OpenCMS servlet mapping:              opencms/*
> >> >> OpenCMS context path name:          opencms
> >> >> login user:                                       Admin
> >> >> login password:                               admin
> >> >>
> >> >> Bedises, if you expect help here, some more information is needed,
> >> that
> >> >> is:
> >> >>
> >> >> - full stacktrace of your exception, not just a snippet
> >> >>
> >> >> HTH
> >
> > _______________________________________________
> > 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/error-when-installing-OpenCms-Module-Developer-in-Eclipse-tp25926537p25995078.html
> 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

Re: error when installing OpenCms Module Developer in Eclipse

by Eska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Christoph,

Right Click on your project, a folder or a single file -> Communicate with OpenCms server.

Eska

Christoph P. Kukulies wrote:
On Wed, Oct 21, 2009 at 08:43:14AM -0700, Eska wrote:
>
> Hi Cristoph,
>
> I just tried it with a 7.5.0 OpenCms configured in the Module Developer.
> New Project -> Fetch did get a list of modules. Does your syncing work,
> if you create a project e.g. "de.test" and later add the Module Developer
> Nature
> to that project. Syncing files should then put your data to
> /system/modules/de.test.

Thanks. Giving it the OpenCms Module Nature works. The tree element
"OpenCms Library" shows a lot of .jar-files etc.

Forgive my ignorance but where is the button for "syncing"?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 06:28:52PM +0200, Gregor Schneider wrote:

> Christoph,
>
> if there's nothing in the Tomcat-Logs, I figure it's an Eclipse-issue
> - maybe you have a plugin installed which is giving you this headache?
>
> Try to download the vanilla Eclipse-Galileo-JEE-installation
> (http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip).
>
> Be sure to delete your old installation AND your old workspace first
> before unzipping Eclipse.
>
> The Eclipse-logs are located in your [Eclipse_Workspace]/.metadata:
>
> There you'll find a file named ".log"
>
> HTH
>
> Gregor


Thanks, Gregor,

actually I'm new to Eclipse and didn't install anything before.
I installed it freshly the other day and the first module I installed
was the OpenCms Module Developer.

Here is the log, sorry for the length:

!SESSION 2009-10-21 18:37:52.640
-----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:46.250
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
!STACK 0
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        ... 7 more
Root exception:
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:46.250
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
!STACK 0
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:49.812
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.reflect.InvocationTargetException
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:99)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalArgumentException: Path for project must
have only one segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        ... 1 more
Root exception:
java.lang.IllegalArgumentException: Path for project must have only one
segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:49.812
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one
segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:52.109
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.reflect.InvocationTargetException
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:99)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalArgumentException: Path for project must
have only one segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        ... 1 more
Root exception:
java.lang.IllegalArgumentException: Path for project must have only one
segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:52.109
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one
segment.
        at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
        at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 08:43:14AM -0700, Eska wrote:

>
> Hi Cristoph,
>
> I just tried it with a 7.5.0 OpenCms configured in the Module Developer.
> New Project -> Fetch did get a list of modules. Does your syncing work,
> if you create a project e.g. "de.test" and later add the Module Developer
> Nature
> to that project. Syncing files should then put your data to
> /system/modules/de.test.
>
> Eska
>
> P.S.: Viel Gl??ck beim Probieren.
>

Do you mean by "Syncing" the menu-item "Communicate with OpenCms
Server"-> "Copy to OpenCms Server" ?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Christoph P. Kukulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 21, 2009 at 09:37:29AM -0700, Eska wrote:
>
> Hi Christoph,
>
> Right Click on your project, a folder or a single file -> Communicate with
> OpenCms server.
>
> Eska

Thanks. Our messages crossed.

When I choose to Copy to OpenCms Server, I'm getting the following
backtrace in .metadata\.log of Eclipse:
---
!SESSION 2009-10-21 18:43:22.093
-----------------------------------------------

eclipse.buildId=M20090917-0800
java.version=1.6.0-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.
package.jee.product

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:45:49.578
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons
.digester.Digester.pushParams(Ljava/lang/Object;)V from class
org.opencms.config
uration.CmsSetNextRule
!STACK 0
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.
java:47)
        at
info.rsdev.eclipse.opencms.module.developer.actions.AbstractOpenCmsCo
mmunicationAction$1.run(AbstractOpenCmsCommunicationAction.java:63)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal
Context.java:121)
Caused by: java.lang.IllegalAccessError: tried to access method
org.apache.commo
ns.digester.Digester.pushParams(Ljava/lang/Object;)V from class
org.opencms.conf
iguration.CmsSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:20
0)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)

        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        ... 7 more
Root exception:
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester
.Digester.pushParams(Ljava/lang/Object;)V from class
org.opencms.configuration.C
msSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:20
0)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)

        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.
java:47)
        at
info.rsdev.eclipse.opencms.module.developer.actions.AbstractOpenCmsCo
mmunicationAction$1.run(AbstractOpenCmsCommunicationAction.java:63)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal
Context.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:45:49.
578
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons
.digester.Digester.pushParams(Ljava/lang/Object;)V from class
org.opencms.config
uration.CmsSetNextRule
!STACK 0
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester
.Digester.pushParams(Ljava/lang/Object;)V from class
org.opencms.configuration.C
msSetNextRule
        at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:20
0)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)

        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
        at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Sourc
e)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:507)
        at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio
n(CmsConfigurationManager.java:348)
        at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
        at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
        at org.opencms.main.Communicator.<init>(Communicator.java:139)
        at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.
java:47)
        at
info.rsdev.eclipse.opencms.module.developer.actions.AbstractOpenCmsCo
mmunicationAction$1.run(AbstractOpenCmsCommunicationAction.java:63)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal
Context.java:121)
--

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
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

Re: error when installing OpenCms Module Developer in Eclipse

by Eska :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Christoph, Hi Gregor,

I just tried creating a fresh development-system at home
including mysql, tomcat5/tomcat6, eclipse-galileo and OpenCms7.5.1
together with the OpenCms Module Developer 0.0.6 and also ran
into Problems trying to fetch the module information.

What I came across is, that Alkacon changed the API and so the reflection
used in the Plugin to communicate with OpenCms does not work anymore.
I am currently at work and do not have further information at hand, but If
I find a solution, I will post it.

Eska

Gregor Schneider wrote:
Christoph,

if there's nothing in the Tomcat-Logs, I figure it's an Eclipse-issue
- maybe you have a plugin installed which is giving you this headache?

Try to download the vanilla Eclipse-Galileo-JEE-installation
(http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip).

Be sure to delete your old installation AND your old workspace first
before unzipping Eclipse.

The Eclipse-logs are located in your [Eclipse_Workspace]/.metadata:

There you'll find a file named ".log"

HTH

Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
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
< Prev | 1 - 2 | Next >