on 05-30-2007 12:02 PM
Hello all,
I have appiled and recieved a license from SAP. When I tried to install it using saplicense command, I got the following error. Please help, I am not sure how to set the dbms_type and DIR_LIBRARY environment variables. I am using MYSQL and installed the NW portal under Windows XP professional SP2.
C:\usr\sap\J2E\SYS\exe\uc\NTI386>saplicense -install ifile=c:\j2e dbms_type=maxd
b DIR_LIBRARY=\usr\sap\J2E\SYS\exe\uc\NTI386
SAPLICENSE (Release 700) ERROR ***
ERROR: Can not set DbSl trace function
DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
RC-INFO: error loading dynamic db-library - check environment for:
dbms_type = <db-type> (e.g. ora)
DIR_LIBRARY = <path to db-dll> (e.g. /usr/sap/SID/SYS/exe/run)
thanks
Hello Ruchit,
I switched to use j2eadm acct to run saplicense -install ifile=licensefile. It seems the environment variables are set correctly by default but it complains about database connection this time. Here are the error message:
C:\usr\sap\J2E\SYS\exe\uc\NTI386>saplicense -install ifile=c:\j2e
SAPLICENSE (Release 700) ERROR ***
ERROR: Connect to database failed
DETAILS: DbSlConnect failed with return code 99
SQL-ERROR -4008 (check DB manual for explanation)
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wing,
I am not too much of an expert with Java alone systems but I found this OSS note for you: 870871.
It states that in your case license needs to be applied via visual administrator.
The SAPLICENSE utility as OS level is not used any more with higher releases in case of ABAP or ABAP+Java stack. Seems this extends for Java only systems as well.
Anyways this note states the proceedure to do it and mentios only visual administrator settings.Please check it out
Regards.
Ruchit.
Hello Ruchit,
Visual Administrator seems to solve my problem, I am able to import the license file thru license adaptor in Visual Administrator. Just want to share with you that I need to start the J2EE server even only some processes are running, otherwise, you won't be able to connect thru Visual Administrator.
best regards,
Hello Wing,
Please dont use the OS utility saplicense. Instead use transaction SLICENSE at SAP level. That you solve the issue.
Regards.
Ruchit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.