glassfish
  1. glassfish
  2. GLASSFISH-970

amx AppserverConnectionSource failures return non published class

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.0pe
    • Fix Version/s: not determined
    • Component/s: amx
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      If I have a Main program using appsrv-ext.jar for AMX usage, then if I enter a
      wrong password in this code:

      new AppserverConnectionSource(
      AppserverConnectionSource.PROTOCOL_RMI, host, 8686, username,
      WRONGpassword, null, null);

      then I get an exception showing ClassNotFoundException for
      "com.sun.enterprise.security.LoginException"

      See:

      Aug 15, 2006 5:49:14 PM com.sun.appserv.management.client.ProxyFactory getInstance
      SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory:
      java.lang.ClassNotFoundException: "com.sun.enterprise.security.LoginException
      (no security manager: RMI class loader disabled)"
      sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
      sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
      java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
      java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
      sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
      java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)

        Activity

        Hide
        km added a comment -

        This is a bit tricky to fix.

        Show
        km added a comment - This is a bit tricky to fix.
        Hide
        km added a comment -

        I am not sure how this can be fixed without making rather massive changes.
        For one, I think the security exception class should be an exposed interface.

        I accept that it is rather embarrassing, but can't do much.

        I tend to make it a P4. Do you agree?

        Show
        km added a comment - I am not sure how this can be fixed without making rather massive changes. For one, I think the security exception class should be an exposed interface. I accept that it is rather embarrassing, but can't do much. I tend to make it a P4. Do you agree?
        Hide
        gfbugbridge added a comment -

        <BT6543236>

        Show
        gfbugbridge added a comment - <BT6543236>
        Hide
        Tom Mueller added a comment -

        Kedar no longer on project.

        Show
        Tom Mueller added a comment - Kedar no longer on project.
        Hide
        prasads added a comment -

        Excluding these issues from v3.1

        Show
        prasads added a comment - Excluding these issues from v3.1
        Hide
        prasads added a comment -

        Assigning issues to Naman

        Show
        prasads added a comment - Assigning issues to Naman
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            naman_mehta
            Reporter:
            ludo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: