JSP setup problems on XP Pro

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ed

    JSP setup problems on XP Pro

    Here's the scene:

    1) XP Pro, with IIS installed and running, as well as complete .NET
    Architect Enterprise development environment
    2) Tomcat server 4.1.27 in the default directory jakarta-tomcat-4.1.27
    3) Java NetBeans "cobundle" installed in the default directory
    (j2sdk_nb\j2sdk 1.4.2)
    4) JSP environment variables set (JAVA_HOME and CATALINA_HOME)

    WHen I run Internet Explorer and enter the address http://localhost:8080/ I
    get a user/password dialog that I never saw in my Win 2K/JSP setup. Can
    anyone tell me why this is happening? So far as I know I've properly set
    the required environment variables. I haven't added any new projects, so
    I'm not yet worried about something like having a directory named "web-inf"
    instead of "WEB-INF," and Tomcat and the Java SDK are in their (currently)
    default locations.

    Could this be related to script blocking in Norton AntiVirus, or a similar
    constraint elsewhere? Thanks in advance.


    Henry


  • PerfectDayToChaseTornados

    #2
    Re: JSP setup problems on XP Pro

    "Ed" <gumzilla@opton line.net> wrote in message
    news:zCyhb.4092 8$Ri4.16281054@ news4.srv.hcvln y.cv.net...
    | Here's the scene:
    |
    | 1) XP Pro, with IIS installed and running, as well as complete .NET
    | Architect Enterprise development environment
    | 2) Tomcat server 4.1.27 in the default directory
    jakarta-tomcat-4.1.27
    | 3) Java NetBeans "cobundle" installed in the default directory
    | (j2sdk_nb\j2sdk 1.4.2)
    | 4) JSP environment variables set (JAVA_HOME and CATALINA_HOME)
    |
    | WHen I run Internet Explorer and enter the address http://localhost:8080/
    I
    | get a user/password dialog that I never saw in my Win 2K/JSP setup. Can
    | anyone tell me why this is happening? So far as I know I've properly set
    | the required environment variables. I haven't added any new projects, so
    | I'm not yet worried about something like having a directory named
    "web-inf"
    | instead of "WEB-INF," and Tomcat and the Java SDK are in their (currently)
    | default locations.
    |
    | Could this be related to script blocking in Norton AntiVirus, or a similar
    | constraint elsewhere? Thanks in advance.
    |
    |
    | Henry

    What port have you got IIS running on? Could it be that IIS is running on
    port 8080?

    --
    -P
    "Sometimes I feel so goddam' trapped by everything that I know"


    Comment

    • Henry

      #3
      Re: JSP setup problems on XP Pro

      Nope- it looks as if the dfault IIS Web site is on port 80. I've found that
      IE and XP want me to enter the default JSP address
      as https://localhost:8080/ but even then, although I no longer get the
      password screen, I get an error page that says the page cannot be found.

      This is making me a bit nuts. I had no idea that it would be so much more
      difficult to set it up under XP Pro than Win2K.


      Henry


      "PerfectDayToCh aseTornados" <pdtct@emailadd ress.invalid> wrote in message
      news:YkChb.4$%9 3.1@news-binary.blueyond er.co.uk...[color=blue]
      > "Ed" <gumzilla@opton line.net> wrote in message
      > news:zCyhb.4092 8$Ri4.16281054@ news4.srv.hcvln y.cv.net...
      > | Here's the scene:
      > |
      > | 1) XP Pro, with IIS installed and running, as well as complete[/color]
      ..NET[color=blue]
      > | Architect Enterprise development environment
      > | 2) Tomcat server 4.1.27 in the default directory
      > jakarta-tomcat-4.1.27
      > | 3) Java NetBeans "cobundle" installed in the default directory
      > | (j2sdk_nb\j2sdk 1.4.2)
      > | 4) JSP environment variables set (JAVA_HOME and CATALINA_HOME)
      > |
      > | WHen I run Internet Explorer and enter the address[/color]
      http://localhost:8080/[color=blue]
      > I
      > | get a user/password dialog that I never saw in my Win 2K/JSP setup. Can
      > | anyone tell me why this is happening? So far as I know I've properly[/color]
      set[color=blue]
      > | the required environment variables. I haven't added any new projects,[/color]
      so[color=blue]
      > | I'm not yet worried about something like having a directory named
      > "web-inf"
      > | instead of "WEB-INF," and Tomcat and the Java SDK are in their[/color]
      (currently)[color=blue]
      > | default locations.
      > |
      > | Could this be related to script blocking in Norton AntiVirus, or a[/color]
      similar[color=blue]
      > | constraint elsewhere? Thanks in advance.
      > |
      > |
      > | Henry
      >
      > What port have you got IIS running on? Could it be that IIS is running on
      > port 8080?
      >
      > --
      > -P
      > "Sometimes I feel so goddam' trapped by everything that I know"
      >
      >[/color]


      Comment

      • simon

        #4
        Re: JSP setup problems on XP Pro

        On 10-Oct-2003, "Henry" <greenclay@opto nline.net> wrote:[color=blue]
        > Nope- it looks as if the dfault IIS Web site is on port 80.[/color]

        port 80 is port 8080.
        [color=blue]
        > This is making me a bit nuts. I had no idea that it would be so much more
        > difficult to set it up under XP Pro than Win2K.
        >[/color]

        That's not true. I use Windows XP Pro at home and I did not have any
        problem whatsoever doing Java on it. Just make sure you configure Tomcat
        correctly. Try and change the port for Tomcat to another port number.

        Comment

        • PerfectDayToChaseTornados

          #5
          Re: JSP setup problems on XP Pro


          "Henry" <greenclay@opto nline.net> wrote in message
          news:ECHhb.4923 6$Ri4.19222287@ news4.srv.hcvln y.cv.net...
          | Nope- it looks as if the dfault IIS Web site is on port 80. I've found
          that
          | IE and XP want me to enter the default JSP address
          | as https://localhost:8080/ but even then, although I no longer get the
          | password screen, I get an error page that says the page cannot be found.
          |
          | This is making me a bit nuts. I had no idea that it would be so much more
          | difficult to set it up under XP Pro than Win2K.
          |
          |
          | Henry
          |

          Henry, I have Tomcat running on XP pro with no problems at all. My guess
          would still be that the problem lies with running IIS as well. Have you
          tried turning IIS off & running it then?
          --
          -P
          "Sometimes I feel so goddam trapped by everything that I know"


          Comment

          • Henry

            #6
            Re: JSP setup problems on XP Pro

            I found the problem. I made one mistake, and the system just plain didn't
            like something else. In the jakarta-tomcat-4.1.27\bin\cata lina.bat I had
            set the JAVA_HOME variable, which is not necessary. I think this was, for
            me, a holdover from earlier versions of Tomcat, such as 3.2 and 3.3.

            I hadn't mentioned earlier that no instance of Tomcat actually ran- which
            was why I couldn't even point to the default Tomcat page at
            http://localhost:8080/.

            The last part of the puzzle was the port number. As soon as I changed it to
            7080 instead of 8080, the default page loaded in a blink of an eye.
            Changing back to 8080 again brings up the password/login dialog.

            I'm also running Oracle 9i, which installs JServ (optionally). I was just
            beginning to suspect something funny due to JServ.

            Maybe it was IIS after all. I'm not sure if I would have considered the
            port number so soon. I even have some documentation that recommends
            changing the default port as a normal course of operation; see
            http://www.moreservlets.com/Using-Tomcat-4.html for the reference.

            In any case, I've got things running. Thanks for your help!


            Henry


            "PerfectDayToCh aseTornados" <pdtct@emailadd ress.invalid> wrote in message
            news:5APhb.690$ 9O3.409@news-binary.blueyond er.co.uk...[color=blue]
            >
            > "Henry" <greenclay@opto nline.net> wrote in message
            > news:ECHhb.4923 6$Ri4.19222287@ news4.srv.hcvln y.cv.net...
            > | Nope- it looks as if the dfault IIS Web site is on port 80. I've found
            > that
            > | IE and XP want me to enter the default JSP address
            > | as https://localhost:8080/ but even then, although I no longer get the
            > | password screen, I get an error page that says the page cannot be found.
            > |
            > | This is making me a bit nuts. I had no idea that it would be so much[/color]
            more[color=blue]
            > | difficult to set it up under XP Pro than Win2K.
            > |
            > |
            > | Henry
            > |
            >
            > Henry, I have Tomcat running on XP pro with no problems at all. My guess
            > would still be that the problem lies with running IIS as well. Have you
            > tried turning IIS off & running it then?
            > --
            > -P
            > "Sometimes I feel so goddam trapped by everything that I know"
            >
            >[/color]


            Comment

            • PerfectDayToChaseTornados

              #7
              Re: JSP setup problems on XP Pro



              "Henry" <greenclay@opto nline.net> wrote in message
              news:di3ib.8255 9$Ri4.27973640@ news4.srv.hcvln y.cv.net...
              | I found the problem. I made one mistake, and the system just plain didn't
              | like something else. In the jakarta-tomcat-4.1.27\bin\cata lina.bat I had
              | set the JAVA_HOME variable, which is not necessary. I think this was, for
              | me, a holdover from earlier versions of Tomcat, such as 3.2 and 3.3.
              |
              | I hadn't mentioned earlier that no instance of Tomcat actually ran- which
              | was why I couldn't even point to the default Tomcat page at
              | http://localhost:8080/.
              |
              | The last part of the puzzle was the port number. As soon as I changed it
              to
              | 7080 instead of 8080, the default page loaded in a blink of an eye.
              | Changing back to 8080 again brings up the password/login dialog.
              |
              | I'm also running Oracle 9i, which installs JServ (optionally). I was just
              | beginning to suspect something funny due to JServ.
              |
              | Maybe it was IIS after all. I'm not sure if I would have considered the
              | port number so soon. I even have some documentation that recommends
              | changing the default port as a normal course of operation; see
              | http://www.moreservlets.com/Using-Tomcat-4.html for the reference.
              |
              | In any case, I've got things running. Thanks for your help!
              |
              |
              | Henry
              |

              Glad you got it sorted out, these things can be incredibly annoying :-)
              --
              -P


              Comment

              Working...