Did you ever find a solution to this problem? I appear to be facing a similar situation...
Thanks,
Erik
This is a discussion on Error when creation custom Authenticator - Weblogic ; Hi, I'm trying to create a new custom Authentication from the Weblogic 8.1 console. I followed all the steps written in the Weblogic documentation to create my MBean jar file and I put it in the WL_HOME\server\lib\mbeantypes directory. In the ...
Hi,
I'm trying to create a new custom Authentication from the Weblogic 8.1 console. I followed all the steps written in the Weblogic documentation to create my MBean jar file and I put it in the WL_HOME\server\lib\mbeantypes directory.
In the console, when I click on the "create" button to create my new provider, I get a NoClassDefFoundError, but no class is specified.
java.lang.ClassCastException: java.lang.NoClassDefFoundError
at javax.management.modelmbean.RequiredModelMBean.inv oke(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl .private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl .invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.console.utils.Security.createO bject(Security.java:766)
at weblogic.management.console.utils.Security.createP roviderMBean(Security.java:897)
at weblogic.management.console.utils.Security.createM Bean(Security.java:748)
at weblogic.management.console.utils.MBeans.createMBe an(MBeans.java:1386)
at weblogic.management.console.actions.mbean.DoCreate MBeanAction.perform(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.Actio nServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.Actio nServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletI nvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6452)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:178)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1559)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl .private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl .invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.console.utils.Security.createO bject(Security.java:766)
at weblogic.management.console.utils.Security.createP roviderMBean(Security.java:897)
at weblogic.management.console.utils.Security.createM Bean(Security.java:748)
at weblogic.management.console.utils.MBeans.createMBe an(MBeans.java:1386)
at weblogic.management.console.actions.mbean.DoCreate MBeanAction.perform(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.Actio nServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.Actio nServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletI nvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6452)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:178)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionExceptio n: RuntimeException thrown by the invoke method of the Dynamic MBean - with nested exception:
[javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean]
at weblogic.management.console.actions.ErrorAction.(E rrorAction.java:38)
at weblogic.management.console.actions.mbean.DoCreate MBeanAction.perform(DoCreateMBeanAction.java:230)
at weblogic.management.console.actions.internal.Actio nServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.Actio nServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletI nvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6452)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:178)
Can somebody help me?
Thanks.
Did you ever find a solution to this problem? I appear to be facing a similar situation...
Thanks,
Erik
Could you please help us on how this problem was sorted out, since we are also struck on the same issue.
Thanks
Naren