[opencms-dev] Newbie Install Help : Permissions

Sam Batschelet sam at westbranchresort.com
Sat Oct 7 16:04:31 CEST 2006


On 10/7/06 9:12 AM, "Sam Batschelet" <sam at westbranchresort.com> wrote:

>> At first sight, it looks as though it's an issue with Java-level security,
>> and therefore something to do with Java permissions set by the app server.
>> Are these under your control?  App server documentation might tell you how
>> to alter them.
>> 
>> Jon 
> 
> Jon,
>   Thanks for taking the time to reply yes after a few hours of reading some
> of the code and error logs I found that the Sun App Server has almost no
> perms set for applications.  Which is good for security but not great for a
> newbie.  So I have hacked my way to this final issue which I searched
> through the mailing list and google all last night to no avail.  It seems to
> be a known issue but I really can't seem to resolve it.  This one doesn't
> seem to be a permission issue although I still don't understand exactly
> which XML config it can't real as there are a few XML docs.  Has anyone seen
> this error again I don't need my hand held here just some insight.  Thanks
> again Jon for helping, in trade I moved your top post :). Thanks in advance!
> 
> Opencms_init.log highlights
> 
> 06 Oct 2006 20:58:49,975 ERROR [ache.commons.digester.Digester:1060] End
> event threw exception
> java.lang.IllegalAccessException: Class
> org.apache.commons.beanutils.MethodUtils can not access a member of class
> org.opencms.loader.A_CmsXmlDocumentLoader with modifiers "public"
>        
> 06 Oct 2006 20:58:49,999 ERROR [  org.opencms.main.OpenCmsCore: 299]
> Critical error during OpenCms initialization: Unable to read the OpenCms XML
> configuration.
> 
> 06 Oct 2006 20:58:50,000 ERROR [g.opencms.main.OpenCmsListener:  91]
> org.opencms.main.CmsInitException: Critical error during OpenCms
> initialization: Unable to read the OpenCms XML configuration.
> 
> -Sam
> 
A bit more info... Module hang up dump from setup screen:

47:    
46:    Shutdown completed, total uptime was 00:00:48.
45:    Shutting down OpenCms, version 6.2.2 in web application "opencms"
44:    
43:    
42:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
hread.java:209)
41:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImport
Thread.java:118)
40:        at org.opencms.main.CmsShell.exit(CmsShell.java:602)
39:    java.lang.NullPointerException
38:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
hread.java:194)
37:        at org.opencms.main.CmsShell.start(CmsShell.java:687)
36:        at org.opencms.main.CmsShell.executeCommands(CmsShell.java:818)
35:        at org.opencms.main.CmsShell.printPrompt(CmsShell.java:654)
34:    java.lang.NullPointerException
33:        ... 3 more
32:        at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:810)
31:        at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsCo
nfigurationManager.java:342)
30:        at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsCo
nfigurationManager.java:499)
29:        at org.apache.commons.digester.Digester.parse(Digester.java:1567)
28:        at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
AXParser.java:1242)
27:        at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:14
8)
26:        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:764)
25:        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:834)
24:        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
ocument(XMLDocumentFragmentScannerImpl.java:368)
23:        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
entContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
22:        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanS
tartElement(XMLDocumentFragmentScannerImpl.java:872)
21:        at 
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XML
DTDValidator.java:819)
20:        at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyEl
ement(AbstractXMLDocumentParser.java:221)
19:        at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Abst
ractSAXParser.java:633)
18:        at 
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
17:        at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
16:        at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
15:    Caused by: java.lang.IllegalAccessException: Class
org.apache.commons.beanutils.MethodUtils can not access a member of class
org.opencms.loader.A_CmsXmlDocumentLoader with modifiers "public"
14:        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
hread.java:155)
13:        at org.opencms.main.CmsShell.<init>(CmsShell.java:495)
12:        at 
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1490)
11:        at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:812)
10:    org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to read the OpenCms XML configuration.
9:    --------------------
8:    Giving up, unable to start OpenCms.
7:    Critical error during OpenCms initialization: Unable to read the
OpenCms XML configuration.
6:    The following critical error occured:
5:    --------------------
4:    
3:    
2:    OpenCms property file:
"/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/opencms/WEB-IN
F/config/opencms.properties".
1:    OpenCms WEB-INF path:
"/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/opencms/WEB-IN
F/". 






More information about the opencms-dev mailing list