cancel
Showing results for 
Search instead for 
Did you mean: 

"test" user authorizations for JNDI operations.

Former Member
0 Kudos

Hi experts

When to deploy BOE.SCA with JSPM  tool in NetWeaver 7.3 generate the following error:

Error: com.sap.ASJ.dpl_api.001226 Could not establish connection to AS

Java on [<hostname>:50304]. Cannot authenticate the user. Wrong or

missing security credentials (password) for principal [test], or the

specified principal has no permissions to perform JNDI related operations.

HOW I CAN TO CHECK, IF THE USER "test" HAVE ALL RIGHTS?

Technical Specifications:

- Suse Linux Entreprice Server 11 x86 64 Bits.

- SAP NetWeaver 7.3 JAVA

- Java version

java version "1.6.0_31"

Java(TM) SE Runtime Environment (build 6.1.039)

SAP Java Server VM (build 6.1.039 19.1-b02, May  3 2012 12:05:35 - 61_REL

- optU - linux amd64 - 6 - bas2:171636 (mixed mode))

-Business Objects 4.0 SP2

version JSPM Service Version 1.0 

In advance thank you very much for your help

thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Luz,

I know you're on Linux and I'm on Windows so this won't be exact but I patched the C runtime something or other (See note 1553465 - Prerequisites for running the 720_EXT kernel on Windows). It might not be exact but maybe there's something similar.

I was trying to find the version of sapstartsrv.exe. I tried to run command "sapcontrol -nr xx -function GetVersionInfo" per note 1656036 and got error "The program can't start because MSVCP100.dll is missing from your computer...". Program MSVCP100.dll is included in the vcredist_x64.msi package. I suspected if the command line couldn't start sapstartsrv in order to get the version maybe JSPM itself couldn't connect to it to stop SAP either. So I got the new version of vcredist_x64.msi and installed it and then the  "sapcontrol -nr xx -function GetVersionInfo" command worked and presto JSPM is running now. So try that command as <sid>adm and if it can't run maybe you can trace that down. Best of luck,

David

Here's a list of notes that I looked through:

877795 - Problems w/ sapstartsrv as of Release 7.00 & 6.40 patch 169

927637 Web service authentication in sapstartsrv as of Release 7.00 Details

1025085 How to manually patch the SAPJVM Details

1133020 How to import a SAP JVM patch into an AS Java Details

1439348 Extended security settings for sapstartsrv Details

1553465 - Prerequisites for running the 720_EXT kernel on Windows

1600846 JSPM/SUM calls sapcontrol without user credentials Details

1656036 - SUM functionality for checking sapstartsrv patch level

1678363 JSPM fails during the validation phase in NW 7.3

P.S. I was about to abandon JSPM and try with SUM. It may be a big left turn but you might look into that if you can't get JSPM working. Again, best of luck.

David

Former Member
0 Kudos

I have the solution for this problem ....

1. The server have 8GB RAM

   - Change values to JVM memory ... go to http://server:50000/sap/monitoring/JVMParams?instanceName=JC03&processName=server0&clusterID=3349585...

and search the variables:

-Xms2048m

-Xmx2048m

2. To change this variables go to configtool

- /usr/sap/SID/J00/j2ee/configtool

-sh  configtool.sh

-switch to configuration editor mode

-cluster_conf

-globals

-clusternode_config

-workernode

-jvm_params

-sap

-linuxx86_64 (To own system)

-porpertysheet_memory

Change values from maxHeapSize.value 8192

Thats all .... works for me .... I wait help you ...

Answers (3)

Answers (3)

Former Member
0 Kudos

hi.

check this link http://scn.sap.com/thread/2034483

seems there is file permssion issue. if it helps

regards,

Meenakshi

Former Member
0 Kudos

Yes .... Meenakshi Sharma.

We did read this link http://scn.sap.com/thread/2034483, many times,

and we tried updating the SAP JVM 6.1.0.18 to 6.1.039, the lastest version

available in SAP Market Place.

The same error we see after uptade.

Former Member
0 Kudos

can you paste the log /usr/sap/<SID>/J<>/j2ee/JSPM/log/log_<latest time stamp>/ DETECT_SYSTEM_COMPONENTS_01.LOG

JSPM/log

Former Member
0 Kudos

Hi ... Meenakshi Sharma.

This is the log from /usr/sap/<SID>/J<>/j2ee/JSPM/log/log_<latest time stamp>/ in this link:

https://dl.dropbox.com/u/37831064/Software/DETECT_SYSTEM_PARAMETERS_01.LOG

Thanks for your help ....

Luz Janeth.

Former Member
0 Kudos

It looks like the file is incomplete, you can download full from this link:

https://dl.dropbox.com/u/37831064/Software/DETECT_SYSTEM_PARAMETERS_01.zip

Thanks again.

Former Member
0 Kudos

Hello Luz,

we are also facing the same issue.

Hope you already found the solution for this issue, could you please update the solution here in this post??

Thank you,

Mohan.

Former Member
0 Kudos

Hi Luz,

I'm having the same issue on Windows 2008 R2. I've been going through notes and trying things like:

Note 927637 - Web service authentication in sapstartsrv as of Release 7.00

Note 1439348 - Extended security settings for sapstartsrv

Note 1600846 - JSPM/SUM calls sapcontrol without user credentials

Will look at notes mentioned in this thread but did you find a solution? Kinda getting desparate. Thanks everybody,

David

Former Member
0 Kudos

I'd like to meet the evil genius who wrote note 1678363 telling us to follow note 1133020 to patch the JVM. Guess what; note 1133020 tells us to use JSPM to patch the JVM. Mua ha ha ha ha.

It gets better, note 1025085 "How to manually patch the SAPJVM" is a big raised finger that says "Patching the SAP JVM on an SAP NetWeaver system is only supported using the Software Update Manager (SUM) or the Java Support Package Manager (JSPM)." Great, now I need to download a whole new Software Logistics Toolset, read all the notes and 250 page guides for SUM and TRY to apply the patch, all with go-live a couple weeks away. Thanks SAP.

I'll keep trying but please, please, please anybody if you have any tips. Thanks all,
David

Former Member
0 Kudos

Hello all

I have got the same error exactly and opened a high priority message to SAP. At the moment though, they treat it as a deployment issue rather than a SAPJVM issue. I have brought those notes to their attention. I have already gone to SAPJVM 1.6.0_39 but no luck.  I will update you with any findings.

My platform is Oracle Linux 5.5 and I am deploying NW 7.30 SPS07 JAVA after a PI 7.30 installation.

Regards

Andreas

Former Member
0 Kudos

Hello Andreas,

we are also facing the same issue.

Could you please update the solution given by SAP here in this post??

Thank you,

Mohan.

Former Member
0 Kudos

Hello Mohan and all,

SAP created a new patch for us that solved the issue.

J2EE ENGINE SERVERCORE 7.30 SP7 component, which is patch 8:

SERVERCORE07P_8-10007988.SCA

We downloaded that and applied it on its own. Then we applied all the other Java patches together and it worked. Not a single error!

Good luck, I hope it works for you too!

Andreas

Former Member
0 Kudos

Hello Andreas,

as suggested by you, using JSPM - Single Support Packages (advanced user) we have tried to deploy only SERVERCORE07P_8-10007988.SCA but the java stack is not coming up and the JSPM is hanging at this point.

This error is reported in dev_server0 file:

F  [Thr 2828] *** LOG => SfCJavaVm: exit hook is called. (rc = 2150)

F

F Mon Jun 25 15:40:24 2012

F

F  ********************************************************************************

F  *** ERROR => Java node 'server0' terminated with exit code 2150.

F  ***

F  *** Please see section 'Java program exit codes'

F  *** in SAP Note 1316652 for additional information and trouble shooting advice.

F  ********************************************************************************

I manually restarted the whole system but no luck. Server0 process is not coming up. Do you have a tip for me?

thanks,

Mohan.

Former Member
0 Kudos

Hi Andreas,

we have finally opened a ticket to SAP and the system came up with this solution:

((

Please rename the ENGINEAPI07P_6-10007921.SCA to ENGINEAPI07P_6-10007921.zip, navigate to the DeployArchives folder, and then extract

sap.com~tc~je~security_api~impl.jar from the security_api.sda

lib\private folder and place it on the file System here:

(overwrite the existing file, but make a backup first)

/usr/sap/<SID>/<instance_number/j2ee/cluster/bin/interfaces/security_api/lib/private/

Then restart the system and let me know if it starts up. Afterwards

you'll still need to redeploy the latest ENGINEAPI SPS7 patch using

force mode of JSPM, per note 1123333, so that the rest of the SDAs in

that SCA will get deployed as well(VersionRule=updateAll).

))

Brief Summary for others:

First patch SERVERCORE, ENGINEAPI components (download latest Builds available in Marketplace for SP7) together with the option - Single Support Packages (advanced user only). Then the rest components alltogether with the option - Support and Enhancement Package Stack which will work without any problems.

Regards,

Mohan.

former_member264034
Active Contributor
0 Kudos

Hi,

The problem you have described has been discussed in sap note

1678363 - JSPM fails during the validation phase in NW 7.3

The error in deployment may be caused by inconsistent version of SAP JVM.

According to the link sent earlier you should follow the SAP note

1133020.

Also useful notes:

1442124   How to download a SAP JVM patch from the SMP

1025085   How to manually patch the SAPJVM

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan McKiernan

Hemos seguido la recomendaciones de la notas 1025085-1133020-1442124 donde hay que actualizar el JVM  y se actualizó a l a versión 6.1.0.25  donde genera el mismo error.

java -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 6.1.025)

SAP Java Server VM (build 6.1.025, Mar 22 2011 00:40:20 - 61_REL - optU - linux amd64 - 6 - bas2:151251 (mixed mode))

the following error:

un 12, 2012 4:47:19 PM  Error: com.sap.ASJ.dpl_api.001226 Could not establish connection to AS Java on [columba:50304]. Cannot authenticate the user. Wrong or missing security credentials (password) for principal [test], or the specified principal has no permissions to perform JNDI related operations.

Jun 12, 2012 4:50:24 PM  Info: com.sap.ASJ.dpl_api.001243 component version handling rule is [UpdateLowerOrChangedVersionsOnly].

Jun 12, 2012 4:50:24 PM  Info: com.sap.ASJ.dpl_api.001244 deployment workflow strategy is [normal deploy strategy].

Jun 12, 2012 4:50:46 PM  Info: com.sap.ASJ.dpl_api.001249 +++ Validation finished with status [Success] +++ [

thanks,

Former Member
0 Kudos

Hi Aidan McKiernan

We followed the recommendations of the 1025085-1133020-1442124 notes where you have to update the JVM and updated version 6.1.0.25 wing where it generates the same error.

ava -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 6.1.025)

SAP Java Server VM (build 6.1.025, Mar 22 2011 00:40:20 - 61_REL - optU - linux amd64 - 6 - bas2:151251 (mixed mode))

the following error:

un 12, 2012 4:47:19 PM  Error: com.sap.ASJ.dpl_api.001226 Could not establish connection to AS Java on [columba:50304]. Cannot authenticate the user. Wrong or missing security credentials (password) for principal [test], or the specified principal has no permissions to perform JNDI related operations.

Jun 12, 2012 4:50:24 PM  Info: com.sap.ASJ.dpl_api.001243 component version handling rule is [UpdateLowerOrChangedVersionsOnly].

Jun 12, 2012 4:50:24 PM  Info: com.sap.ASJ.dpl_api.001244 deployment workflow strategy is [normal deploy strategy].

Jun 12, 2012 4:50:46 PM  Info: com.sap.ASJ.dpl_api.001249 +++ Validation finished with status [Success] +++ [

thanks,

Former Member
0 Kudos

hi ,

download the latest patch of JVM6 componet and deploy again..

and you are using administrator user id or j2ee_admin( ABAP+JAVA) system??

regards,

Meenakshi

Former Member
0 Kudos

Hi

has been downloaded version JVM 6.10.39 and deploy again, generate the same error.

are using administrator user id

thanks,

LUZ JANETH