Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with webaccess after upgrade to NW 6.5

Status
Not open for further replies.

lgnihlman

MIS
Dec 5, 2002
89
SE
I've upgraded my NW 5.1 server running GW 6.5.1 to NW 6.5.
(Going from Novonyx Enterprise server to Apache)

After that when I try to use GW webaccess I do get the
initial screen but when pressing the Go button I get a 404 error in my browser instead of the login page.

How can i resolve this problem ?

Regards
lgnihlman
 
If you're getting the initial screen it means Apache is ok. The next screen is generated by Tomcat though - which would appear to be the problem. There is a bit of config that tells Apache to hand off certain requests off to Tomcat. There is a piece in the httpd.conf file to tell Apache, and there is a workers.properties file for Tomcat.

Check the httpd.conf for a bit that looks something like this (yours will be a little different)
--------------------
# this section added to link Tomcat4 to Apache in order to
# run Groupwise Webaccess 6.5
# mod_jk.nlm was installed to sys\apache\modules
LoadModule jk_module modules/mod_jk.nlm
<IfModule mod_jk.c>
JkWorkersFile sys:/tomcat_4.0.6/conf/jk/workers.properties
JkLogFile "sys:/tomcat_4.0.6/conf/jk/mod_jk.log
JkLogLevel error
JkMount /servlet/* ajp13
</IfModule>
-------------------

In workers.properties you should see something like:
-----------------------
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
------------------------

this is assuming that Tomcat and Apache are on the same server, using port 8009. 6.5 might be using a different ajp..not sure. My config is from running Webacc 6.5 on NW5.1 and Apache (not supported) The basic idea is that if Apache does not know whether to or how to pass these requests off to Tomcat, you won't get any of the java-built pages - only the static ones.
 
Yes, Apache, Tomcat and Groupwise runs on the same machine.
This is how my httpd.conf looks like:

# The following line instructs Apache to load the jk module
LoadModule jk_module modules/mod_jk.nlm
<IfModule mod_jk.c>
JkWorkersFile "sys:/adminsrv/conf/mod_jk/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel error
</IfModule>

And this a section from the sys:/adminsrv/conf/mod_jk/workers.properties file:

#------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13.port=9010
worker.ajp13.host=127.0.0.1
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
worker.ajp13.cachesize=250
#---------------------------------------------------------------

I have not reinstalled GW Webacces after the upgrade of OS from 5.1 to 6.5.

What do you suggest that I modify in these files ?

Should I reinstall Webacess to resolve the problem ?

Regards
lgnihlman
 
I don't know what specifically goes into the configurations, but I would recommend just reinstalling it and choosing the Apache option for the webserver. Then it will build all the necessary configurations into the install and it will be much quicker.

Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
Thanks, reinstall fixed the problem.
TID10023428 is helpful for this job.

One question though:
After the upgrade to NW 6.5 I have a Novonyx directory on my SYS: volume, can I delete this folder ?

Regards
L-G Nihlman
 
should be ok

rename it too old crap please delete me in may

if all is ok then delete it else rename it back, by this time you will havehad a couple of monthly backups but 99% sure it's just crap that can be deleted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top