In configuring our AS400 web server I've set up using to the redbook as
a guide (and have even been desperate enough to look at a standard IBM
manual). Other TCP utilities work fine, and QTMHHTTP has all the
authority needed and is in the system directory. All of the mapping
rules are set up properly. Yet when I try to access a document the web
browser returns a "Document contains no data" message.
When I began the configuration I had to create the QTMHHTTP profile
because it did not already exist (perhaps it was once deleted as a
security precaution), and I am wondering if there is something wrong
with the way I have the newly created profile set up. When I try
access the web server a job log is created, and it always gets an error
at the same point . If anyone knows how I might correct this, please
e-mail or follow-up.
Error message: CPF22E7 - Message . . . . : ProfileHandle is not valid.
Thanks,
-- Richard Evans
Rule number one... NEVER delete a Q-object yourself. The result of doing
so can be unpredictable as you noticed. The CPF-id you're referring to is
related to changing the current user for a job, and is indeed related to
the QTMHHTTP profile. Maybe you can verify your definition with the
details listed below, and if that doesn't help, you can maybe try to delete
57xxTC1 and re-install it (I don't know however if this step will also
create the related userprofiles).
User profile . . . . . . . . . . . . . . . : QTMHHTTP
Previous sign-on . . . . . . . . . . . . . :
Sign-on attempts not valid . . . . . . . . : 0
Status . . . . . . . . . . . . . . . . . . : *ENABLED
Password expiration interval . . . . . . . : *NOMAX
Set password to expired . . . . . . . . . : *NO
User class . . . . . . . . . . . . . . . . : *USER
Special authority . . . . . . . . . . . . : *NONE
Group profile . . . . . . . . . . . . . . : *NONE
Owner . . . . . . . . . . . . . . . . . . : *USRPRF
Group authority . . . . . . . . . . . . . : *NONE
Group authority type . . . . . . . . . . . : *PRIVATE
Supplemental groups . . . . . . . . . . . : *NONE
Assistance level . . . . . . . . . . . . . : *SYSVAL
Current library . . . . . . . . . . . . . : *CRTDFT
Initial program . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . :
Initial menu . . . . . . . . . . . . . . . : MAIN
Library . . . . . . . . . . . . . . . . : *LIBL
Limit capabilities . . . . . . . . . . . . : *NO
Text . . . . . . . . . . . . . . . . . . . : HTTP SERVER PROFILE
Display sign-on information . . . . . . . : *SYSVAL
Limit device sessions . . . . . . . . . . : *SYSVAL
Keyboard buffering . . . . . . . . . . . . : *SYSVAL
Maximum storage allowed . . . . . . . . . : *NOMAX
Highest scheduling priority . . . . . . . : 3
Job description . . . . . . . . . . . . . : QDFTJOBD
Library . . . . . . . . . . . . . . . . : QGPL
Accounting code . . . . . . . . . . . . . :
Message queue . . . . . . . . . . . . . . : QTMHHTTP
Library . . . . . . . . . . . . . . . . : QUSRSYS
Message queue delivery . . . . . . . . . . : *NOTIFY
Message queue severity . . . . . . . . . . : 00
Output queue . . . . . . . . . . . . . . . : *WRKSTN
Library . . . . . . . . . . . . . . . . :
Printer device . . . . . . . . . . . . . . : *WRKSTN
Special environment . . . . . . . . . . . : *SYSVAL
Attention program . . . . . . . . . . . . : *SYSVAL
Library . . . . . . . . . . . . . . . . :
Sort sequence . . . . . . . . . . . . . . : *SYSVAL
Library . . . . . . . . . . . . . . . . :
Language identifier . . . . . . . . . . . : *SYSVAL
Country identifier . . . . . . . . . . . . : *SYSVAL
Coded character set identifier . . . . . . : *SYSVAL
Locale job attributes . . . . . . . . . . : *SYSVAL
Locale . . . . . . . . . . . . . . . . . . : *SYSVAL
User options . . . . . . . . . . . . . . . : *NONE
Object auditing value . . . . . . . . . . : *NONE
Action auditing values . . . . . . . . . . : *NONE
Group ID number . . . . . . . . . . . . . : *NONE
Home directory . . . . . . . . . . . . . . : /home/QTMHHTTP
Kind regards,
Paul
_____________
Richard Evans <nep...@mindspring.com> wrote in article
<35E1C7BC...@mindspring.com>...
The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
>
>
>In configuring our AS400 web server I've set up using to the redbook as
>a guide (and have even been desperate enough to look at a standard IBM
>manual). Other TCP utilities work fine, and QTMHHTTP has all the
>authority needed and is in the system directory. All of the mapping
>rules are set up properly. Yet when I try to access a document the web
>browser returns a "Document contains no data" message.
>
>When I began the configuration I had to create the QTMHHTTP profile
>because it did not already exist (perhaps it was once deleted as a
>security precaution), and I am wondering if there is something wrong
>with the way I have the newly created profile set up. When I try
>access the web server a job log is created, and it always gets an error
>at the same point . If anyone knows how I might correct this, please
>e-mail or follow-up.
>
>Error message: CPF22E7 - Message . . . . : ProfileHandle is not valid.
>
>Thanks,
>
>-- Richard Evans
>
>
Check Paul's response and set up the profile exactly as he stated. If
it still doesn't work, check a few things.
When you start your HTTP server, do you have any QTMHHTTP jobs
running? If not, check the HTTP attributes with the CHGHTTPA command.
I don't think you can specify less than one for the minimum jobs.
I would also make sure that other Q profiles such as QTCP haven't been
deleted.
Finally, check out the "Determining Problems With you HTTP Sever"
section of the TCPIP Configuration and Reference book.
Bradley V. Stone
http://prairie.lakes.com/~bvstone
"Closing my my mouth before I scream. No one can shake my self-esteem." - YJM
> when I try to access a document the web
> browser returns a "Document contains no data" message.
>
> Error message: CPF22E7 - Message . . . . : ProfileHandle is not valid.
Richard --
Are you by chance trying to run a CGI? You may need to also check that
the QTMHTP1 profile exists.
Tom Harding
ThinLink Solutions - AS/400 Internet Commerce
http://www.thinlink.com
email is tomh