java.lang.IllegalStateException

ClassLoader "current-workspace-app.web.DUMMY-dummy-webapp:0.0.0" (from in /C:/jdevstudio10133/jdev/mywork/DUMMY/dummy/public_html/): This loader has been closed and should not be in use. The JSP page: ========== <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=Big5"%> <%@ page import="org.w3c.dom.Document"%> <%@ page import="java.security.*"%> <%@ page import="java.security.cert.*"%> <%@ page import="javax.xml.crypto.*"%> <%@ page import="javax.xml.crypto.dom.*"%> <%@ page import="javax.xml.crypto.dsig.*"%> <%@ page import="javax.xml.crypto.dsig.dom.*"%> <%@ page import="javax.xml.crypto.dsig.keyinfo.*"%> <%@ page import="javax.xml.crypto.dsig.spec.*"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Big5"/> <title>crypto</title> </head> <body> <% try{ // Create a DOM XMLSignatureFactory that will be used to // generate the enveloped signature. //// XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM"); String providerName = System.getProperty("jsr105Provider", "org.jcp.xml.dsig.internal.dom.XMLDSigRI"); XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM", (Provider) Class.forName(providerName).newInstance()); String sha1 = DigestMethod.SHA1; DigestMethod dm = fac.newDigestMethod(sha1,null); String enveloped = Transform.ENVELOPED; Transform tf0 = null; Reference ref = null; tf0 = fac.newTransform(enveloped, (TransformParameterSpec) null); }catch(Exception e){ %> <%=e.toString()%> <%} %> </body> </html> More error (turns the JSP into servlet and got from printStackTrace): ========================

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web37069

  • via Oracle Community by 652068, 11 months ago
    ClassLoader "current-workspace-app.web.DUMMY-dummy-webapp:0.0.0" (from in /C:/jdevstudio10133/jdev/mywork/DUMMY/dummy/public_html/): This loader has been closed and should not be in use. The JSP page: ========== <!DOCTYPE HTML PUBLIC "-//W3C//DTD
  • via GitHub by damithc
    , 11 months ago
    Not a valid login page :<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="/favicon.png" rel="shortcut icon" /> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <meta content="width=device
  • Not in the correct page!
  • Stack trace

    • java.lang.IllegalStateException: ClassLoader "current-workspace-app.web.DUMMY-dummy-webapp:0.0.0" (from in /C:/jdevstudio10133/jdev/mywork/DUMMY/dummy/public_html/): This loader has been closed and should not be in use. The JSP page: ========== <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=Big5"%> <%@ page import="org.w3c.dom.Document"%> <%@ page import="java.security.*"%> <%@ page import="java.security.cert.*"%> <%@ page import="javax.xml.crypto.*"%> <%@ page import="javax.xml.crypto.dom.*"%> <%@ page import="javax.xml.crypto.dsig.*"%> <%@ page import="javax.xml.crypto.dsig.dom.*"%> <%@ page import="javax.xml.crypto.dsig.keyinfo.*"%> <%@ page import="javax.xml.crypto.dsig.spec.*"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Big5"/> <title>crypto</title> </head> <body> <% try{ // Create a DOM XMLSignatureFactory that will be used to // generate the enveloped signature. //// XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM"); String providerName = System.getProperty("jsr105Provider", "org.jcp.xml.dsig.internal.dom.XMLDSigRI"); XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM", (Provider) Class.forName(providerName).newInstance()); String sha1 = DigestMethod.SHA1; DigestMethod dm = fac.newDigestMethod(sha1,null); String enveloped = Transform.ENVELOPED; Transform tf0 = null; Reference ref = null; tf0 = fac.newTransform(enveloped, (TransformParameterSpec) null); }catch(Exception e){ %> <%=e.toString()%> <%} %> </body> </html> More error (turns the JSP into servlet and got from printStackTrace): ======================== at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154) at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:1994) at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1659) at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635) at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620) at javax.xml.crypto.dsig.XMLDSigSecurity.doGetImpl(XMLDSigSecurity.java:171) at javax.xml.crypto.dsig.XMLDSigSecurity.getImpl(XMLDSigSecurity.java:143) at javax.xml.crypto.dsig.TransformService.findInstance(TransformService.java:204) at javax.xml.crypto.dsig.TransformService.getInstance(TransformService.java:130) at org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.newTransform(DOMXMLSignatureFactory.java:208) at dummy.servCryto.signedSamlResponse(servCryto.java:63) at dummy.servCryto.doGet(servCryto.java:157) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago