11 Replies Latest reply on Jul 25, 2011 5:10 PM by 761373

    listenerConfig is currently unavailable

    761373
      Hello!

      I have Linux machine with SUN JDK and GlassFish server 3.1. I deployed apex.war to the GlassFish. When i tried to launch it throw http://localhost:8080/apex i had an errors:

      "HTTP Status 503 - Requested url http://localhost:8080/apex/ is currently unavailable.

      type Status report

      messageRequested url http://localhost:8080/apex/ is currently unavailable.

      descriptionThe requested service (Requested url http://localhost:8080/apex/ is currently unavailable.) is not currently available.
      Oracle GlassFish Server 3.1"

      While it is still unavaible i can't use listenerConfig.

      Help me please.

      P.S.: i have tried it on 2 different Linux systems and i had the same problems.
      Apex Listener version is 1.1.2.


      P.S.S.:
      I have just tried Windows XP + GlassFish Server3.1 + Apex Listener and result was the same.
      After that i have tried Windows XP + WebLogicServer 10.3 + Apex Listener and all was OK.

      Now i think that there is a problem with GlassFish Server3.1.

      Edited by: Alexys on 24.07.2011 8:18
        • 1. Re: listenerConfig is currently unavailable
          clcarter
          problem with GlassFish Server3.1
          Maybe, the install docs show getting to the config via a different port with a Glassfish setup, 4848. Or are you doing a standalone setup?

          http://www.oracle.com/technetwork/developer-tools/apex-listener/documentation/index.html
          • 2. Re: listenerConfig is currently unavailable
            761373
            No, not a standalong.

            I tried other applications and they worked fine on 8080 port.

            I have a problems just with Apex Listener.
            • 3. Re: listenerConfig is currently unavailable
              761373
              No, not a standalong.

              I tried other applications and they worked fine on 8080 port.

              I have a problems just with Apex Listener.
              • 4. Re: listenerConfig is currently unavailable
                Udo
                Hello,

                have you actually tried to run http://localhost:8080/apex/listenerConfigure yet? (P.S.: Since you post ".../listenerConfig" - did you really use the correct URL?)
                If so: What's the applications error log output for that 503 error you get there?
                And one last question: You posted you use Sun JDK. Which version is it? You probably know that it has to be at least 1.6 Update 20. Please check if your GlassFish is actually using the appropriate version. Even if you have it installed it could be that the GlassFish is using an older one available on your system.

                -Udo

                Edited by: Udo on 25.07.2011 00:30
                • 5. Re: listenerConfig is currently unavailable
                  761373
                  I have tried to run:
                  http://localhost:8080/apex/listenerConfigure
                  http://localhost:8080/apex/
                  http://localhost:8080/apex/listenerAdmin

                  and all that urls gave me 503 error on windows and linux machines.

                  On linux i use SUN JDK 1.6 Update 24 x65.
                  On windows i used SUN JDK 1.6 Update 20 i586.

                  P.S.: while i wrote this answes i have tried GlassFish on WIndows machine. Url: http://localhost:8080/apex/listenerConfigure work fine!! What happend?
                  • 6. Re: listenerConfig is currently unavailable
                    Udo
                    I'm glad to hear you got it working now.
                    If you want to dig deeper into the cause for the problem you had on your first attempts, you need to look for the application log files.
                    Otherwhise, please mark this thread as answered, and if you find any answer helpful or correct, you could mark them accordingly to help others spot relevant answers easily.

                    Thanks,

                    Udo
                    • 7. Re: listenerConfig is currently unavailable
                      761373
                      On Linux machine GlassFish work fine too! And now i am using APEX 4.0.2.
                      But i have some other subquestion:
                      http://localhost:8080/apex/listenerAdmin gives me Authentication request:
                      "A username and password are being requested by http://localhost:8080. The site says: "APEX" ".

                      Am i right if i say that i must use login and password of users which were added to Security -> Realms -> file by me? They are Admin and Manager.

                      Edited by: Alexys on 25.07.2011 0:46
                      • 8. Re: listenerConfig is currently unavailable
                        jflack
                        Alexys wrote:
                        On Linux machine GlassFish work fine too! And now i am using APEX 4.0.2.
                        But i have some other subquestion:
                        http://localhost:8080/apex/listenerAdmin gives me Authentication request:
                        "A username and password are being requested by http://localhost:8080. The site says: "APEX" ".

                        Am i right if i say that i must use login and password of users which were added to Security -> Realms -> file by me? They are Admin and Manager.
                        Yes, but Admin and Manager are groups, not users. The user names and passwords can be anything you want, but must belong to the Admin and/or Manager groups.
                        • 9. Re: listenerConfig is currently unavailable
                          Udo
                          Am i right if i say that i must use login and password of users which were added to Security -> Realms -> file by me? They are Admin and Manager.
                          Right, you have to create the roles "Admin" and "Manager" (whatch case-sensitivity) and assign these to users.
                          Note that only users with role "Admin" may access listenerAdmin, while "Manager" is the role needed for "listenerStatus".

                          -Udo
                          • 10. Re: listenerConfig is currently unavailable
                            Udo
                            Sorry, John, didn't see your answer when I finally came to get the submit of my reply through the broadband. I'll requery the thread next time when answering from a moving high-speed rail... ;)
                            • 11. Re: listenerConfig is currently unavailable
                              761373
                              Thank you, guys!

                              I mixed up User and Group. I tried to use Group name like loggin.

                              Stupid mistakes. Must be more attentive :-)