Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SECJ0021I

0 views
Skip to first unread message

wallace neikirk

unread,
Feb 26, 2001, 4:57:27 PM2/26/01
to Wallace L. Neikirk
Greetings,

We are in the midst of the WebSphere 3.5 upgrade.
WAS 3.5 has been upgraded & configured on our Solaris box.

When we try to bring up our webapps, we get ...
"SECJ0021I: Illegal System exit() :
java.lang.SecurityException"

The error is occuring when our webapps try to create a
simple flat file.
The servlet's init method is ...
public void init (ServletConfig config) throws
ServletException {

super.init(config);

// ...

// TASK 2 : SETUP LOG MANAGER
writer = new PrintWriter(new FileOutputStream("log.txt"));

// ...

}

This was working in WebSphere 3.0.2.

Can anyone out there provide some insight???
Is it a WebSphere config problem?
Is it a WebApp configuration problem?

Thanks,
Wallace.

This is the error log ...
2/26/01 3:50 PM : AUDIT [test-fw/Default Server]: SRVE0048I:
Loading servlet: "SvtSysRes"
2/26/01 3:50 PM : AUDIT [test-fw/Default Server]: SRVE0091I:
[Servlet LOG]: "SvtSysRes: init"
2/26/01 3:50 PM : AUDIT [test-fw/Default Server]: SECJ0021I:
Illegal System exit() : java.lang.SecurityException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at
java.lang.RuntimeException.<init>(RuntimeException.java:37)
at
java.lang.SecurityException.<init>(SecurityException.java:29)
at
com.ibm.ejs.security.SecurityManager.checkExit(SecurityManager.java:53)
at java.lang.Runtime.runFinalizersOnExit(Runtime.java:118)
at java.lang.System.runFinalizersOnExit(System.java:732)
at com.webtechno.util.Log.setDebug(Log.java:26)
at sys.SvtSysRes.init(SvtSysRes.java:155)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(Compiled
Code)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(Compiled
Code)
at javax.servlet.GenericServlet.init(Compiled Code)
at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:776)
at
com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:88)
at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:118)
at
com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:82)
at
com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:107)
at
com.ibm.servlet.engine.ServletEngineDynamicUpdateSupport.addWebGroup(ServletEngineDynamicUpdateSupport.java:124)
at
com.ibm.ejs.sm.active.ActiveServletGroup.startAction(ActiveServletGroup.java:76)
at com.ibm.ejs.sm.active.ActiveObject.startObject(Compiled
Code)
at com.ibm.ejs.sm.active.ActiveObject.start(Compiled Code)
at
com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(Compiled
Code)
at
com.ibm.ejs.sm.active.ActiveServletEngine.startAction(ActiveServletEngine.java:60)
at
com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:668)
at com.ibm.ejs.sm.active.ActiveObject.start(Compiled Code)
at
com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(Compiled
Code)
at
com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:96)
at
com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:668)
at com.ibm.ejs.sm.active.ActiveObject.start(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at
com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(Compiled
Code)
at
com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(Unknown
Source)
at
com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown
Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source)
at com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source)
at com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(Compiled
Code)

0 new messages