cancel
Showing results for 
Search instead for 
Did you mean: 

SAP License Key configuration procedure in Web AS(J2EE)

Former Member
0 Kudos

Hi,

We installed Web AS 6.4 (J2ee). It is running on temporary license and going to expire in one week time. I applied for license key and got the permanent license key as a text file attachment through email. It is a simple text file containing the license key, system NR and etc. I saved that text file into my machine.

I tried to configure that license file into Web AS using visual administrator.

Server 0 --> Services --> Licensing Adapter --> Install License from file

I selected the text file which was sent by SAP to my mail.

It is giving error like

License file C:\(license file name).txt contains an incorrect SAP license key: Header or empty line expected.

License key(s) not completely installed.

I don't know what to do now. I think we can do through this through cmd. But I don't know how to do that.

Shall I delete the temporary license? Will the system allow me to enter the value manually.

Can any one guide me on this?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venu,

Note 746402 deals with the above error.

Looks like there might be some issue with the file.

You can use "saplicense -install" to install from the

commandline. For more see Note 0012809.

Also check the below link for better troubleshooting.

http://help.sap.com/saphelp_erp2005/helpdata/en/67/4c8838c04b275de10000009b38f8cf/content.htm

Regards

Srikishan

Former Member
0 Kudos

From which directory i need to execute the command "saplicense -install" I mean under which folder.

The usr folder is in D:\

Can u tell me the path? Under which folder I have to execute the command?

Thanks.

Former Member
0 Kudos

Hi Venu,

Please go to d:\usr\sap\<sid>\SYS\exe\run. This is the

kernel directory from which you can run the command.

Regards

Srikishan

Former Member
0 Kudos

Srikishan,

I am getting error lilke this.

D:\usr\sap\SID\SYS\exe\run>saplicense -install

      • SAPLICENSE (Release 640) 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)

Any idea about it?

I set the system variable like

dbms_type = mss

DIR_LIBRARY = D:\usr\sap\SID\SYS\exe\run

But still getting the error.

Do I need to set dbms_type in environment variables? I don't know it's value. My db is MS SQL DB.

Thanks.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Venu,

I assume the issue is long resolved by now, just to add that the note #746402 does deal with the issue but for a J2EE type license key you would not use the saplicence executable but instead follow note #87087 instructions only. An ABAP 24 uppercase character style license can be installed with saplicense at OS level but not a J2EE type key that should of been okay to install if requested correctly as that type. I assume this was a J2EE standalone system and not J2EE and ABAP where a J2EE license key would not be needed.

Regards, Mark

Former Member
0 Kudos

Please try the following working solution:

Edit your license file with text editor and check if you do not have trailing spaces at end of lines.

If it's the case please remove those space(s) at the end of each line, save ant try istall again.

Kr,

Hervé

Former Member
0 Kudos

Hi Venu,

While running the saplicense -install, what user are you

logged in as, please use <sid>adm for login. Then there

shouldn't be a problem with the environment variables.

Also check the "DIR_LIBRARY = D:\usr\sap\SID\SYS\exe\run"

Have you given the right <SID>?

Regards

Srikishan

Former Member
0 Kudos

I gone through the note and found saplicense.exe file conflict issue. Note # 359944. The saplicense.exe file is missing in the kernal directory. I think it should be a default one in the kernal directory after the installtion.

But in my installation i didn't found that file. I copied from different system and tried. I am getting the error message like this. The version of saplicense.exe file is different.

How to solve this issue. any clue?

Former Member
0 Kudos

Hi Venu,

Please go to http://service.sap.com/swdc -> download ->

support packages and patches -> Entry by appln group ->

Additional comp -> SAP Kernel. Then select your version

-> database independent. You can download the

saplicense.sar. Uncar and put it in the kernel directory.

Regards

Srikishan