[opencms-dev] error when installing OpenCms Module Developer in Eclipse

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Wed Oct 21 18:28:54 CEST 2009


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



More information about the opencms-dev mailing list