[opencms-dev] Installing OpenCMS on Sun Java Application Server8.1PE

McDonald, Stuart Stuart.McDonald at sensis.com.au
Tue Oct 25 00:32:37 CEST 2005


Your other option is to change the class loading for your application.
You can do this by adding the following to your sun-web.xml:

<class-loader delegate="false"/>

This should get rid of your problem.

Stuart

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Martin van den
Bemt
Sent: Tuesday, 25 October 2005 12:10 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Installing OpenCMS on Sun Java Application
Server8.1PE

You (and Stratos) are using a different version of Digester than the one

that was used by org.opencms.configuration.CmsSetNextRule.
See if you can find digester somewhere and try to replace that one with
the opencms version.

Mvgr,
Martin

Shue-Yen Tsai wrote:
> Stuart:
>
> Thank you for the response. I am using 8.1_02 (build
> b06-fcs). I wanted a bit more control. So I put your
> policy in this way.
>
> //opencms test
> grant codeBase
>
"file:${com.sun.aas.instanceRoot}${/}applications${/}j2ee-modules${/}ope
ncms${/}-"{
> 	permission java.security.AllPermission;
> };
>
> Before I put this permission in, there was an access
> violation for apache component. Right now it is gone.
> However, I got the following error on installation
>
> 69:		at
>
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:669)
> 68:		at
>
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:744)
> 67:		at
>
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:792)
> 66:		at
> sun.net.www.http.HttpClient.New(HttpClient.java:299)
> 65:		at
> sun.net.www.http.HttpClient.New(HttpClient.java:287)
> 64:		at
> sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
> 63:		at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
> 62:		at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
> 61:		at
> sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> 60:		at java.net.Socket.connect(Socket.java:457)
> 59:		at java.net.Socket.connect(Socket.java:507)
> 58:		at
>
com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketIm
pl.java:175)
> 57:		at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)
> 56:		at
> sun.nio.ch.SocketChannelImpl.checkConnect(Native
> Method)
> 55:	NotifyUtil::java.net.ConnectException: Connection
> refused: no further information
> 54:
> 53:	Shutdown completed, total uptime was 00:02:07.
> 52:	Shutting down OpenCms, version 6.0.2 in web
> application "opencms"
> 51:
> 50:
> 49:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImp
ortThread.java:201)
> 48:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceIm
portThread.java:118)
> 47:		at
> org.opencms.main.CmsShell.exit(CmsShell.java:605)
> 46:	java.lang.NullPointerException
> 45:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImp
ortThread.java:186)
> 44:		at
> org.opencms.main.CmsShell.start(CmsShell.java:663)
> 43:		at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:801)
> 42:		at
> org.opencms.main.CmsShell.printPrompt(CmsShell.java:647)
> 41:	java.lang.NullPointerException
> 40:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImp
ortThread.java:155)
> 39:		at
> org.opencms.main.CmsShell.<init>(CmsShell.java:498)
> 38:		at
> org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1464)
> 37:		at
> org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:843)
> 36:		at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(C
msConfigurationManager.java:343)
> 35:		at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(C
msConfigurationManager.java:498)
> 34:		at
> org.apache.commons.digester.Digester.parse(Digester.java:1567)
> 33:		at
>
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)
> 32:		at
>
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)
> 31:		at
>
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)
> 30:		at
>
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:834)
> 29:		at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:368)
> 28:		at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:16
93)
> 27:		at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canStartElement(XMLDocumentFragmentScannerImpl.java:878)
> 26:		at
>
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:798)
> 25:		at
>
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
t(AbstractSAXParser.java:533)
> 24:		at
> org.apache.commons.digester.Digester.startElement(Digester.java:1273)
> 23:		at
>
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:206)
> 22:	java.lang.IllegalAccessError: tried to access
> method
> org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
> from class org.opencms.configuration.CmsSetNextRule
> 21:
> 20:		at
>
org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(Noti
fyUtil.java:237)
> 19:		at
>
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConne
ction.java:836)
> 18:		at
>
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:669)
> 17:		at
>
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:744)
> 16:		at
>
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:792)
> 15:		at
> sun.net.www.http.HttpClient.New(HttpClient.java:299)
> 14:		at
> sun.net.www.http.HttpClient.New(HttpClient.java:287)
> 13:		at
> sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
> 12:		at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
> 11:		at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
> 10:		at
> sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> 9:		at java.net.Socket.connect(Socket.java:457)
> 8:		at java.net.Socket.connect(Socket.java:507)
> 7:		at
>
com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketIm
pl.java:175)
> 6:		at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)
> 5:		at
> sun.nio.ch.SocketChannelImpl.checkConnect(Native
> Method)
> 4:	NotifyUtil::java.net.ConnectException: Connection
> refused: no further information
> 3:
> 2:	OpenCms property file:
>
"C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\opencms\WEB-
INF\config\opencms.properties".
> 1:	OpenCms WEB-INF path:
>
"C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\opencms\WEB-
INF\".
>
>
> Have a nice day
>
> Sam
> Sam
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

www.about.sensis.com.au
A leading Australian advertising, information and directories business.
www.sensis.com.au
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
www.invizage.com.au
This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000]



More information about the opencms-dev mailing list