PDA

View Full Version : setup another instance of Valence


jmartin
03-12-2010, 11:00 AM
[resolved] I just completed a duplicate instance of Valence21 in which I used Valence21J.

Everything seemed stright forward and OK until Step 26 of setting of multiple instances of Valence.

In the browser I get the login screen but in returns a blank page. I doubled checked everything and it looks OK.

Below is the HTTP configuration for VALENCE21J

# Valence Standard Apache HTTP Server Configuration
Listen *:6021
DocumentRoot /valence-2.1J/
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -Indexes -MultiViews
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{Cookie}n \"%r\" %t" cookie
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
LogMaint logs/access_log 7 0
LogMaint logs/error_log 7 0
DefaultNetCCSID 1208
# DefaultFsCCSID 37
AddCharset UTF-8 .html
AddCharset UTF-8 .js
SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
CGIConvMode BINARY

<Directory />
Order Deny,Allow
Deny From all
</Directory>

# valence extjs directives
Alias /extjs /valence-2.1J/ext-3.1.0
<Directory /valence-2.1J/ext-3.1.0>
Order Allow,Deny
allow from all
</Directory>

# valence resource directives
Alias /vvresources /valence-2.1J/vvresources
<Directory /valence-2.1J/vvresources>
Order Allow,Deny
allow from all
</Directory>

# valence program directives
ScriptAliasMatch /valence(.*)/vvlogin.pgm /QSYS.LIB/VALENCE21J.LIB/VVLOGIN.PGM
ScriptAliasMatch /valence(.*)/vvheader.pgm /QSYS.LIB/VALENCE21J.LIB/VVHEADER.PGM
ScriptAliasMatch /valence(.*)/vvvport.pgm /QSYS.LIB/VALENCE21J.LIB/VVVPORT.PGM
ScriptAliasMatch /valence(.*)/vvcall.pgm /QSYS.LIB/VALENCE21J.LIB/VVCALL.PGM
ScriptAliasMatch /valence(.*)/exns01.pgm /QSYS.LIB/VALENCE21J.LIB/EXNS01.PGM

# set cgi program call CCSID based on language code in url
<Location /valence>
CGIJobCcsid 37
</Location>
<Location /valence-de>
CGIJobCcsid 273
</Location>
<Location /valence-en>
CGIJobCcsid 37
</Location>
<Location /valence-es>
CGIJobCcsid 284
</Location>
<Location /valence-fr>
CGIJobCcsid 297
</Location>
<Location /valence-it>
CGIJobCcsid 280
</Location>
<Location /valence-ja>
CGIJobCcsid 5035
</Location>
<Location /valence-nl>
CGIJobCcsid 500
</Location>
<Location /valence-ru>
CGIJobCcsid 1025
</Location>

<Directory /QSYS.LIB/VALENCE21J.LIB>
Order Allow,Deny
allow from all
</Directory>

# valence chart directives
Alias /FusionCharts /valence-2.1J/FusionCharts
<Directory /valence-2.1J/FusionCharts>
Order Allow,Deny
allow from all
</Directory>

# valence widgets directives
Alias /FusionWidgets /valence-2.1J/FusionWidgets
<Directory /valence-2.1J/FusionWidgets>
Order Allow,Deny
allow from all
</Directory>

I check the IFS and it has: valence-2.1J with all subdir same as valence-2.1

Can anyone tell me what might be wrong.

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

jmartin
03-12-2010, 02:54 PM
solved by richard.milone
CNX Development Team

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.

jmartin
05-11-2010, 12:10 PM
Support:

I downloaded Valence Version 2.1.20100409.0 deleted the old valence21 library and installed the new Version 2.1.20100409.0

I just completed a duplicate instance of Valence21 in which I called it Valence21J.

I checked the files: vvauq100 and VVVSQ100 then changed the records to

Valence21J. This was the problem before and when I recopied the files and made the changes everything worked.

In the browser I get the login screen but in returns a blank page. I doubled checked everything and it looks OK.


I don't know what is wrong. The Valence21 works OK.

Can anyone tell me what might be wrong.

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

sean.lanktree
05-11-2010, 08:35 PM
Did you double check each step in the manual?