[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1891) Error when stopping JBoss

Gene Gretter (JIRA) jira-events at lists.jboss.org
Thu Apr 3 18:05:55 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1891?page=comments#action_12406980 ] 
            
Gene Gretter commented on JBIDE-1891:
-------------------------------------

This is what I see in the Event Log:

    Security Exception: Failed to authenticate principal=admin, securityDomain=jmx-console

A SecurityException in JMXPoller.java is caught around line 109.  

The source of the exception seems to be coming from:

    org.jboss.jmx.connector.invoker.AuthenticationInteceptor in the invoke method around line 97.  

I thought maybe I could set a breakpoint in the JBoss code to see what was causing the SecurityException, but I never
get to the breakpoint so I have not been able to determine the real cause for the problem.

> Error when stopping JBoss
> -------------------------
>
>                 Key: JBIDE-1891
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1891
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.0.GA
>         Environment: Windows XP, Eclipse 3.3.1.1, JBoss Tools 2.0.0GA, JBoss 4.2.0
>            Reporter: Gene Gretter
>         Assigned To: Rob Stryker
>             Fix For: LATER, 2.2.x
>
>
> When stopping JBoss from the Eclipse Server view, I receive the following error:  "Could not obtain connection to any of these urls: localhost:1099".  I found that this problem occurs because the process in which JBoss is running is terminated before shutdown is executed.  I found that eliminating the call to pollServer(IServerStatePoller.SERVER_DOWN); in the JBossServerBehavior.serverStopping() method resolves the problem, though I am not sure that this is the final fix.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list