[opencms-dev] OpenCms 7.0.4 available for download

Jerome Michel jerome.michel2 at gmail.com
Tue Apr 1 10:51:03 CEST 2008


Hi,

I also encountered this SAX error while installing OpenCms 7.0.4 on weblogic
9.1 but is  always came with another error message saying that OpenCms
cannot connect to the DB with the default connection pool.

I managed to bypass these errors with a workaround: I've filled in the file
opencms.properties with all the required information (thanks to a previous
setup with tomcat) and I've created the opencms database in MySQL. Then the
setup wizard does not produce any error concerning SAX or the DB
connection;  this may required an extra  restart of the server.

I encountered another  error while importing the modules :

org.opencms.security.CmsRoleViolationException: Error reading the publish
list for project "_setupProject".
652:    Exception while calling method "publishProjectAndWait".
651:    Guest at _setupProject>publishProjectAndWait
650:        ... 9 more
649:        at org.opencms.db.CmsSecurityManager.unlockProject(
CmsSecurityManager.java:4850)
648:        at org.opencms.db.CmsSecurityManager.checkManagerOfProjectRole(
CmsSecurityManager.java:348)
647:    Caused by: org.opencms.security.CmsRoleViolationException: The user
"Guest" does not have management role permissions for project
"_setupProject".

This problem has been mentioned on previous release on this mailing list,
but I did not see any solution.

Again I used a weird workaround: I've simply dropped the DB and run the
setup again.

Maybe I only need all these workaround because I misconfigured something.
If anyone knows a cleaner process I would be pleased to use it.

Best Regards,
Jerome



> > -------- Message original --------
> > Sujet:        Re: [opencms-dev] OpenCms 7.0.4 available for download
> > Date:         Mon, 3 Mar 2008 17:23:57 +0100
> > De:   cherif <multxt at free.fr>
> > Répondre à:   multxt at free.fr, The OpenCms mailing list
> > <opencms-dev at opencms.org>
> > Pour:         The OpenCms mailing list <opencms-dev at opencms.org>
> >
> >
> >
> > Ok, Michael
> > Many thanks again
> > BTW, I have tried this: as the 2 versions of web.xml (7.0.2 and 7.0.4
> ,  I
> > did it before reading your first mail) differ only in that no more
> (weblogic
> > part) in 7.0.4, I just modified it to reintroduce the removed part, then
> set
> > opencms.properties(wizard.enabled) to false then deployed, it's worked.
> Then
> > set opencms.properties(wizard.enabled) to true, fire the setup, I got
> it,
> > but ! at setp 6! I'am having SAX error reading module, seem I 'am having
> SAX
> > error version , do not solved yet.
> > Of course, the correcte solution is yours, will do it as soon as
> possible
> > and let you know.
> >
> > Thanks again
> > Cherif
> >
> > -----Message d'origine-----
> > De : opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org]De la part de Michael Moossen
> > Envoyé : mercredi 5 mars 2008 14:12
> > À : The OpenCms mailing list
> > Objet : Re: [opencms-dev] OpenCms 7.0.4 available for download
> >
> > Hi Cherif!
> >
> > please check also the
> > src-setup/org.opencms.setup.comptest.CmsSetupTestServletContainer class
> >
> > Kind regards,
> > Michael
> >
> > -------------------
> >
> > Alkacon Software GmbH - The OpenCms Experts
> > Michael Moossen
> > An der Wachsfabrik 13
> > 50996 Koeln, DE
> >
> > Besuchen Sie uns auf der CeBIT 2008
> > Halle 5, Stand F59/3
> >
> > Tel: +49 (0)2236 3826-0
> > Fax: +49 (0)2236 3826-20
> > Email: m.moossen at alkacon.com
> >
> > http://www.alkacon.com
> > http://www.opencms.org
> >
> >
> > cherif wrote:
> > > Thank's Michael,
> > > Ok,  for now we will do with 7.0.2, but as  soon as we make the
> changes
> > you
> > > suggest, if success, we will contribute
> > > Regards
> > > Cherif
> > >
> > > -----Message d'origine-----
> > > De : Michael Moossen [mailto:m.moossen at alkacon.com]
> > > Envoyé : mardi 4 mars 2008 15:44
> > > À : cherif; The OpenCms mailing list
> > > Objet : Re: [opencms-dev] OpenCms 7.0.4 available for download
> > >
> > > Hi Cherif!
> > >
> > > oops, in 7.0.4 there is a new build-in servlet engine recognition
> method
> > > that sets the kind of things that were previously set in the web.xml
> > > automatically... just a pity that we did not consider glassfish...
> > >
> > > the only possibility you have now is to modify the
> > > org.opencms.main.CmsSystemInfo class, where the important method is:
> > > init(String, String, String, String, String) near line 650
> > >
> > > may be you can later contribute your code back to the community ;)
> > >
> > > HTH
> > >
> > > Kind regards,
> > > Michael
> > >
> > > -------------------
> > >
> > > Alkacon Software GmbH  - The OpenCms Experts
> > > http://www.alkacon.com - http://www.opencms.org
> > >
> > > Visit us on CeBIT expo in Hannover, Germany
> > > March 4 to March 9, 2008 - Hall 5 Stand F59/3
> > >
> > > cherif wrote:
> > >> Alkacon,
> > >> Congratulation for the new release.
> > >>
> > >> We are having problem deploying opencms on galssfish(Sun System
> > > Application
> > >> Server 9.1). Until the 7.0.2 version of opencms, using your
> > recommandation
> > >> in the WEB.XML concerning weblogic this worked fine for us, from the
> > 7.0.3
> > >> this file(web.xml) has changed the related part to weblogic is
> removed.
> > we
> > >> also having SAX error reading module. If you have any hint for us,
> very
> > > kind
> > >> of you.
> > >>
> > >> much thanks
> > >>
> > >> cherif
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> 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
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080401/0c955e53/attachment.htm>


More information about the opencms-dev mailing list