• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[SOLVED] New Instance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] New Instance

    Hi.. I try create new Instance for my development

    from Valence32... to aaaaa library: aaaLIB

    it already create.. adn running when i put on browser : http://192.168.71.100:/valence/vvlogin.pgm

    when i change :

    # valence program directives
    ScriptAliasMatch /aaaaa(.*)/vvlogin.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVLOGIN.PGM
    ScriptAliasMatch /aaaaa(.*)/vvappauto.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVAPPAUTO.PGM
    ScriptAliasMatch /aaaaa(.*)/vvheader.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVHEADER.PGM
    ScriptAliasMatch /aaaaa(.*)/vvvport.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVVPORT.PGM
    ScriptAliasMatch /aaaaa(.*)/vvcall.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVCALL.PGM
    ScriptAliasMatch /aaaaa(.*)/exns01.pgm /QSYS.LIB/AKUWEBLIB.LIB/EXNS01.PGM
    ScriptAliasMatch /aaaaa(.*)/vvxlate.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVXLATE.PGM
    ScriptAliasMatch /aaaaa(.*)/vvupload.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVUPLOAD.PGM
    ScriptAliasMatch /aaaaa(.*)/vvtest.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVTEST.PGM
    ScriptAliasMatch /aaaaa(.*)/vvtouch.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVTOUCH.PGM
    ScriptAliasMatch /aaaaa(.*)/vvnews.pgm /QSYS.LIB/AKUWEBLIB.LIB/VVNEWS.PGM


    and try with : http://192.168.71.100:/aaaaa/vvlogin.pgm ---> Not working

    It said : The requested URL /aaaaa/vvlogin.pgm was not found on this server.

    do u think i did something wrong?

    Can u tell me..
    Thx

  • #2
    Perhaps it's because you're missing the port number in your URL?

    http://192.168.71.100:xxxx/valence/vvlogin.pgm

    The xxxx after the colon should correspond to whatever you have in the "Listen" setting at the top of your config.

    Comment


    • #3
      HI... i didi like this :

      http://192.168.71.100:6055/aaaaa/vvlogin.pgm

      browser : You do not have permission to access /trimweb/vvlogin.pgm on this server. (403 Forbidden)
      What should i do... ??
      Can tell me how ? Thx

      Comment


      • #4
        It could be that user QTMHHTTP and/or QTMHHTP1 do not have authority to the library and/or program object, or possibly your httpd.config file is corrupt.

        If you have Valence Enterprise, using the Valence Instance Manager app is a much cleaner & safer way to copy instances.

        Comment


        • #5
          Hi.. today
          I try to create new instance from Instance Manager.....

          it work fine, http://192.168.70.100:6032/valence/v...rceprompt=true

          When I change to : http://192.168.70.100:6032/aaaaaa/vv...rceprompt=true

          with httpd.conf :

          # valence program directives
          ScriptAliasMatch /aaaaaa(.*)/vvlogin.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVLOGIN.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvappauto.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVAPPAUTO.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvheader.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVHEADER.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvvport.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVVPORT.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvcall.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVCALL.PGM
          ScriptAliasMatch /aaaaaa(.*)/exns01.pgm /QSYS.LIB/TRIMWEBLIB.LIB/EXNS01.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvxlate.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVXLATE.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvupload.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVUPLOAD.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvtest.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVTEST.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvtouch.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVTOUCH.PGM
          ScriptAliasMatch /aaaaaa(.*)/vvnews.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVNEWS.PGM


          It empty on the browser....???
          Do i did something wrong?

          How i can change : http://192.168.70.100:6032/valence/vvlogin.pgm
          to :http://192.168.70.100:6032/aaaaaa/vvlogin.pgm

          look likes i can not change this area : ScriptAliasMatch ???
          Any idea?
          THx
          Last edited by eddytjhin; 10-01-2013, 04:56 AM.

          Comment


          • #6
            Did you shut down the original Valence 3.2 instance before attempting to log in to your aaaaaa instance? You cannot have two active instances listening on port 6032.

            Comment


            • #7
              i have valence32 running with : http://192.168.70.100:7032/valence/v...rceprompt=true
              from Instance Manager, i create new instance aaaaaa : it created like this : http://192.168.70.100:6032/valence/v...rceprompt=true -- its running smooth

              now... i like to change valence to aaaaaa .. it should be like this on the browser : http://192.168.70.100:6032/aaaaaa/vv...rceprompt=true

              with httpd.conf :

              # valence program directives
              ScriptAliasMatch /aaaaaa(.*)/vvlogin.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVLOGIN.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvappauto.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVAPPAUTO.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvheader.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVHEADER.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvvport.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVVPORT.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvcall.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVCALL.PGM
              ScriptAliasMatch /aaaaaa(.*)/exns01.pgm /QSYS.LIB/TRIMWEBLIB.LIB/EXNS01.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvxlate.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVXLATE.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvupload.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVUPLOAD.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvtest.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVTEST.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvtouch.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVTOUCH.PGM
              ScriptAliasMatch /aaaaaa(.*)/vvnews.pgm /QSYS.LIB/TRIMWEBLIB.LIB/VVNEWS.PGM

              it not running when i change from valence to aaaaaa...
              any idea why?

              Needed Badly....
              Thx
              Last edited by eddytjhin; 10-01-2013, 09:43 PM.

              Comment


              • #8
                I don't know what else to suggest to you...

                I just did the following very simple test on our V7R1 machine:
                1. copied a 3.2 Valence instance using Instance Manager
                2. edited the httpd.conf file of the new instance, changing all its ScriptAliasMatch config lines such that they read as "/aaaaaa(.*)/" instead of "/valence(.*)/"
                3. ended and re-started the server instance


                I was subsequently able to log in and run the new instance using URL "http://192.168.75.1:6666/aaaaaa/vvlogin.pgm" with no problems.

                So the problems you're having appear to be unique to your system. Perhaps your httpd.conf file got corrupted after you made the "aaaaaa" changes. Look for logs on the server instance (i.e., WRKJOB TRIMWEBLIB or whatever you're calling it) and see if it's reporting any errors when you try to log in. If you edit the httpd.conf file outside of the web-based IBM i Admin utility you can easily corrupt the file, particularly with some green screen clients like TN5250J. IBM Client Access seems to work okay though.

                Comment


                • #9
                  Ok.. thx for ur info

                  i running on V6.1

                  I will try on anothe ras400 V5.4

                  i will tell u later...
                  Thx again

                  Comment

                  Working...
                  X