This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209227 - SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
Summary: SecurityException: Failed to authenticate principal=null, securityDomain=jmx-...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-06 11:29 UTC by davideconsonni
Modified: 2012-06-01 13:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185580


Attachments
stacktrace (3.67 KB, text/plain)
2012-03-06 11:29 UTC, davideconsonni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davideconsonni 2012-03-06 11:29:45 UTC
This bug was originally marked as duplicate of bug 161276, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

Stacktrace: 
java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
   at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:89)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
   at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
Comment 1 davideconsonni 2012-03-06 11:29:47 UTC
Created attachment 116387 [details]
stacktrace
Comment 2 Petr Hejl 2012-04-16 12:20:27 UTC
Is this still reproducible in recent trunk? There has been a major rewrite in this part. Thanks.
Comment 3 rjpike 2012-06-01 13:34:13 UTC
I've seen this issue with NB 7.1.2. I had to turn off security for the JBoss JMX console. FYI, you need to comment out the AuthenticationInterceptor in jmx-invoker-service.xml in your JBoss deploy dir. There doesn't seem to be a way to set credentials in NB.