Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-540

Unable to login to server when using jdk 1.5

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M4
    • Fix Version/s: 1.0-M4
    • Component/s: deployment, security
    • Labels:
      None
    • Environment:

      Windows XP / JDK 1.5

      Description

      1. Get the latest codeline (Jan 7/2005)
      2. Do a build
      3. Open a command prompt with JDK 1.5

      > java -version
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
      Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

      4. Start the server

      java -jar bin\server.jar org/apache/geronimo/RuntimeDeployer org/apache/geronimo/DebugConsole

      5. Open a second command prompt and setup the same jdk 1.5 environment
      6. Deploy a sample EJB (dead simple hello world ejb)

      > java -jar bin\deployer.jar deploy myejb.jar
      Username: system
      Password: manager
      Error: Unable to connect to server: Invalid login.

      I didn't notice any exceptions on the server side and nothing new is sent to the console or the server log file.

      If I used jdk 1.4 to start the server and run the client deployment tool then it works.

      > java -jar bin\deployer.jar deploy myejb.jar
      Username: system
      Password: manager
      Deployed myejb

      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

        Attachments

          Activity

            People

            • Assignee:
              jboynes Jeremy Boynes
              Reporter:
              delafran_j2ee Mark DeLaFranier
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: