PDA

View Full Version : Setting a Multiple Instance of Valence - Error blank page after attempt to signon


jmartin
04-03-2010, 10:45 AM
I had setup a duplicated VALENCE21 Library as valence21J.

Every thing worked OK.

When I received the Valence Newsletter - April 2010 I went to the store and downloaded Valence_Install_2_1_20100322_0_Windows.

I deleted the Valence21 library and Valence21J which I had created before this release. Both instances were working.

I Installed the Valence_Install_2_1_20100322_0_Windows and it worked OK.

I recreated a duplicated VALENCE21J following the steps used the first time but it comes up OK and displayes the login screen. When I signon with vvadmin I get a blank page. I doubled check all the steps and don't see any thing wrong.

What migh be wrong. I looked for error logs but could not find them.

James
James R. Martin
J. Martin Associates
5185 Tara Ln., Bossier City, LA 71111 - 7810
Phone: (318) 752-4109 Cell Phone: ( 318) 773-9484
Personal e-mail: jmartin@jmartinassociates.net
Web Site: www.jmartinassociates.net

richard.milone
04-03-2010, 10:52 AM
Sounds like the exact same problem as this:

http://www.cnxforum.com/showthread.php?t=112

jmartin
04-05-2010, 11:52 AM
Richard:

I have added to my notes to check for the problem valence21J/vvauq100 file does not have all the records. Not sure why because in step 1 and 2 of my notes everything looked OK. Consider adding note to step 5 page 120 of the Administration and Programming Guide to check for this problem. Others might encounter the same problem.

1. ENDTCPSVR SERVER(*HTTP) HTTPSVR(VALENCE21)

2. WRKOBJLCK OBJ(VALENCE21) OBJTYPE(*LIB)


3. CPYLIB FROMLIB(VALENCE21) TOLIB(VALENCE21J)
with prompt and F10 to check for:
Duplicate data . . . . . . . . . *YES
Duplicate constraints . . . . . *YES
Duplicate triggers . . . . . . . *YES

Check for Problem valence21J/vvauq100 file did not have all the records. stop VALENCE21J server and the orginal VALENCE21 then deleted the new library valence21J that was setup with CPYLIB FROMLIB(VALENCE21) TOLIB(VALENCE21J) and did a WRKOBJLCK OBJ(VALENCE21) OBJTYPE(*LIB) for any locks then did a CPYLIB FROMLIB(VALENCE21) TOLIB(VALENCE21J) with prompt and F10 to check for:
Duplicate data . . . . . . . . . *YES
Duplicate constraints . . . . . *YES
Duplicate triggers . . . . . . . *YES
then changed file settings in VALENCE21j\VVVSQ100 again per step 19 of Setting Up Multiple Instances of Valence in Administration and Programming Guide
then completed step 20 WRKBNDDIRE BNDDIR(VALENCE21J/VVBNDDIR)
Problem was resolved.


4. CRTDIR DIR('/valence-2.1J') DTAAUT(*RWX) OBJAUT(*ALL)

5. CHGAUT OBJ('/valence-2.1J') USER(QDIRSRV) DTAAUT(*X)

6. CPY OBJ('/valence-2.1/*') TODIR('/valence-2.1J') SUBTREE(*ALL)

7. STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

8. Key in: http://192.168.1.107:2001/


9. Server Name: VALENCE21J

Create HTTP Server
Server name: VALENCE21J
Server description: Valence JMA
Server root: /www/valence21j
Document root: /www/valence21j/htdocs
IP address: All IP addresses
Port: 80
Log directory: /www/valence21j/logs
Access log file: access_log
Error log file: error_log
Log maintenance: 7 days
Click next until finish then click finish.

10. Using server drop down box select VALENCE21

11. Choose the Edit Configuration File link.

12. Copy all lines of configuration and Paste in notepad.

13. Change all references of valence-2.1 to valence-2.1J

14. Change all references of VALENCE21 to VALENCE21J

15. Change the Listen *:7021 to *:6021

16. Now copy all of notepad but do not paste yet.

17. Go back to the Apache HTTP Server Admin page and change the Server: drop-down to the VALENCE21J server instance and on the left-hand navigation tree choose the Edit Configuration File link.

18. Select all existing lines of the VALENCE21J server instance configuration and then paste in the new configuration you edited with notepad, then click ok.

19. CHANGE file settings in VVVSQ100

SELECT VVNAME, VVVALTYPE, VVVALUE FROM VALENCE21J/VVVSQ100 WHERE
vvName = 'BASE_LIB'

UPDATE VALENCE21J/VVVSQ100 SET VVVALUE = 'VALENCE21J' WHERE
VVNAME = 'BASE_LIB'

VVNAME VVVALTYPE VVVALUE
HTML_PATH *PATH-locked /valence-2.1/html/

UPDATE VALENCE21J/VVVSQ100 SET VVVALUE = '/valence-2.1J/html/' WHERE
VVNAME = 'HTML_PATH'

SELECT VVNAME, VVVALTYPE, VVVALUE FROM VALENCE21J/VVVSQ100 WHERE vvName = 'HTML_PATH'

VVNAME VVVALTYPE VVVALUE
ROOT_PATH *PATH-locked /valence-2.1/

SELECT VVNAME, VVVALTYPE, VVVALUE FROM VALENCE21J/VVVSQ100 WHERE vvName = 'ROOT_PATH'

UPDATE VALENCE21J/VVVSQ100 SET VVVALUE = '/valence-2.1J/html/' WHERE
VVNAME = 'ROOT_PATH'

20. From a green screen green-screen called up VVBNDDIR with the CMD
WRKBNDDIRE BNDDIR(VALENCE21J/VVBNDDIR).

Work with Binding Directory Entries

Binding Directory: VVBNDDIR Library: VALENCE21J

Type options, press Enter.
1=Add 4=Remove

--------Creation---------
Opt Object Type Library Date Time

4 VVSRVPGM *SRVPGM VALENCE21 03/06/10 23:34:47
1 VVSRVPGM *SRVPGM VALENCE21J 03/09/10 14:23:27






Bottom
Parameters or command
===>
F3=Exit F4=Prompt F9=Retrieve F5=Refresh F12=Cancel F17=Top
F18=Bottom
1 entries added, 0 entries not added to Binding directory VVBNDDIR in lib...

21. Start the new VALENCE21J server instance

22. From Browser login: http://192.168.1.107:6021/valence/vvlogin.pgm

23. User id: vvadmin password: vvadmin

24. Select the settings option from the navigation tree



Change “header output text” & IFS paths to new instance VALENCE21J



25. Select environments option ADD VALENCE21J for live and test remove VALENCE21 live and test.

26. Log out of the Valence21J portal and log back in to reset the library list.

Thanks for help.


James
James R. Martin
J. Martin Associates
5185 Tara Ln., Bossier City, LA 71111 - 7810
Phone: (318) 752-4109 Cell Phone: ( 318) 773-9484
Personal e-mail: jmartin@jmartinassociates.net
Web Site: www.jmartinassociates.net