|
 |
j2ee thread: Cannot Start weblogic server with startwls command. access denied error
Message #1 by "Hoony Youn" <hoony@m...> on Fri, 26 Jan 2001 17:28:28 -0000
|
|
Try copying weblogic.policy file from \weblogic\ server to WLSBOOK
directory.
From: "Hoony Youn" <hoony@m...>
Reply-To: "Java 2 Enterprise Edition" <j2ee@p...>
To: "Java 2 Enterprise Edition" <j2ee@p...>
Subject: [j2ee] Cannot Start weblogic server with startwls command. access
denied error
Date: Fri, 26 Jan 2001 17:28:28 -0000
Hi All,
I'm trying to run the startwls command specified in c03 in the J2EE with
Bea book and am running into the following problem. I think that i might
have to change something in one of the properties files, but not sure.
Here is the error that i get.
D:\wlsbook>startwls
D:\wlsbook>REM @ECHO OFF
D:\wlsbook>IF NOT DEFINED P_S CALL SETENV.CMD
D:\wlsbook>d:\utils\jdk1.3\bin\java.exe -ms16m -mx16m -classpath
d:\weblogic\lib
\weblogic510sp5boot.jar;d:\weblogic\classes\boot
-Dweblogic.class.path=d:\weblog
ic\lib\weblogic510sp5.jar;d:\weblogic\license;d:\weblogic\classes;d:\weblogic\li
b\weblogicaux.jar;d:\wlsbook\srv\c03-srv\serverclasses
-Dweblogic.system.name=sr
v\c03-srv -Dweblogic.system.home=d:\wlsbook -Dweblogic.home=d:\weblogic
-Djava.s
ecurity.manager -Djava.security.policy==.\weblogic.policy weblogic.Server
Exception in thread "main" java.security.AccessControlException: access
denied (
java.lang.RuntimePermission createSecurityManager)
at
java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at
java.security.AccessController.checkPermission(AccessController.java:
399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.<init>(SecurityManager.java:301)
at
weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java
:11)
at weblogic.Server.main(Server.java:59)
at weblogic.Server.main(Server.java:55)
Thanks in advance.
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
|
 |