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

          People

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

            Dates

            • Created:
              Updated: