[opencms-dev] Installing OpenCMS on Sun Java Application Server 8.1PE
Shue-Yen Tsai
shueyen at yahoo.com
Mon Oct 24 15:44:56 CEST 2005
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${/}opencms${/}-"{
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.java:669)
68: at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
67: at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.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(ASClientSocketImpl.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(CmsSetupWorkplaceImportThread.java:201)
48: at
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:118)
47: at
org.opencms.main.CmsShell.exit(CmsShell.java:605)
46: java.lang.NullPointerException
45: at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.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(CmsSetupWorkplaceImportThread.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(CmsConfigurationManager.java:343)
35: at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:498)
34: at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
33: at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
32: at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
31: at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
30: at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
29: at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
28: at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
27: at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.startElement(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(NotifyUtil.java:237)
19: at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836)
18: at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
17: at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
16: at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.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(ASClientSocketImpl.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
More information about the opencms-dev
mailing list