cancel
Showing results for 
Search instead for 
Did you mean: 

AS java export issue

Former Member
0 Kudos

Hi All,

I am trying to perform Central instance export in java (Portal) system and facing the below issue. Please help me on fix this issue.  Also database up and running fine.

java version "1.6.0"

Java(TM) SE Runtime Environment (build pap3260sr15fp1-20140110_01(SR15 FP1))

IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr15-20131231_180656 (JIT enabled, AOT enabled)

J9VM - 20131231_180656

JIT  - r9_20130920_46510ifx3

GC   - GA24_Java6_SR15_20131231_1152_B180656)

JCL  - 20140107_01

ERROR      2015-07-07 06:46:39.394 [iaxxejsbas.cpp:204]

FJS-00003  uncaught exception: nw.usageTypes.utlConnectionError:

Execution of UTL tool '/usr/java6/bin/java -classpath /usr/sap/FKP/SYS/global/sltools/sharedlib/launcher.jar -showversion -Xmx256m -Xj9 com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/FKP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/FKP/SYS/global/security/lib/tools/w3c_http.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/antlr.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/exception.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/jddi.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/logging.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/offlineconfiguration.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/opensqlsta.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~tc~sdt~cvl~impl.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/SDMutil.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/SLUtil.jar:/usr/sap/FKP/JC26/exe/db2jcc.jar:/usr/sap/FKP/JC26/exe/db2jcc_license_cu.jar -export -type=keydb -expfile=/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/usages_data.xml -log=UTL_load_usages.log -sid=FKP -dsn=jdbc/pool/FKP -ssprops=/usr/sap/FKP/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/FKP/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/UTL.java.log' for more information. (in script unknown, line 0: ???)

ERROR      2015-07-07 06:46:41.243 [sixxcstepexecute.cpp:950]

FCO-00011  The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR ( Last error reported by the step :uncaught exception: nw.usageTypes.utlConnectionError:

Execution of UTL tool '/usr/java6/bin/java -classpath /usr/sap/FKP/SYS/global/sltools/sharedlib/launcher.jar -showversion -Xmx256m -Xj9 com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/FKP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/FKP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/FKP/SYS/global/security/lib/tools/w3c_http.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/antlr.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/exception.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/jddi.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/logging.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/offlineconfiguration.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/opensqlsta.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/sap.com~tc~sdt~cvl~impl.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/SDMutil.jar:/usr/sap/FKP/SYS/global/sltools/sharedlib/SLUtil.jar:/usr/sap/FKP/JC26/exe/db2jcc.jar:/usr/sap/FKP/JC26/exe/db2jcc_license_cu.jar -export -type=keydb -expfile=/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/usages_data.xml -log=UTL_load_usages.log -sid=FKP -dsn=jdbc/pool/FKP -ssprops=/usr/sap/FKP/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/FKP/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/UTL.java.log' for more information. (in script unknown, line 0: ???)).

Regards,

Raj

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member185239
Active Contributor
0 Kudos

Hi Laxmikanth,

You need to  check the sapnote http://service.sap.com/sap/support/notes/1724516

sdm changeauthenticationprotocol “version=2.0” “password=<…>” “forcesecurelogon=enable” “encrypttraffic=enable” “adminportonlylocallyaccessible=enable” “forcesecureadminlogon=enable”

The above command will only work if you have java SPS 28 or 29.

Otherwise , you will not able to take the export of java system unless and until you run the above

command.

If you receive the error , as unknown command , then you need to apply the java patches.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos
Former Member
0 Kudos

Hello Laxmikanth,

Please check following SAP note for reference.

1893493 - Additional Application Server Instance installation with SAPinst aborts with "return code...

Regards

Anand

divyanshu_srivastava3
Active Contributor
0 Kudos
 DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/UTL.java.log' for more information. (in script unknown, line 0: ???)

What is the version of JAVA that you are running ?

Quickly check if you are able to logon to configtool and password are maintained correctly in securestore.

If that if fine, the share the logs which are highlighted above.

Regards,

Former Member
0 Kudos

Hi All,

I have fixed this permission issue and facing below issue.Please help me on this.

WARNING    2015-07-07 08:09:45.194

           CJSlibModule::writeWarning_impl()

Execution of the command "/usr/java14_64/bin/java -Xmx256M -Djava.ext.dirs=/usr/sap/FKP/JC26/SDM/program/lib:/usr/java14_64/jre/lib/ext -Xj9 -jar /usr/sap/FKP/JC26/SDM/program/bin/SDM.jar jstartup mode=standalone sdmhome=/usr/sap/FKP/JC26/SDM/program logfile=/usr/sap/trans/log6/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-JAVA/EXPCI/callSdmViaSapinst.log" finished with return code 4. Output:

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0029.20130222114450.0000

Initializing Network Manager (52617)

Checking if another SDM is running on port 52618

Could not start SDM - another Server may be running already.

Exiting ....

ERROR: Another SDM is running already for this SDM_HOME directory. Exiting.

Processing error. Return code: 4

ERROR      2015-07-07 08:09:45.196 [iaxxinscbk.cpp:260]

MUT-02041  SDM call of jstartup mode=standalone ends with returncode 4

WARNING[E] 2015-07-07 08:09:45.198

           CJSlibModule::writeError_impl()

MUT-03025  Caught ESAPinstException in Modulecall: SDM call of jstartup mode=standalone ends with returncode 4.

ERROR      2015-07-07 08:09:45.962 [sixxcstepexecute.cpp:950]

FCO-00011  The step setSDMStandAloneMode with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|NW_JAVA_Export_CI|ind|ind|ind|ind|3|0|setSDMStandAloneMode was executed with status ERROR ( Last error reported by the step :SDM call of jstartup mode=standalone ends with returncode 4).

Regards,

Raj

.

divyanshu_srivastava3
Active Contributor
0 Kudos

May I have callSdmViaSapinst.log file ?

Refer - 905856 - Failed SDM command execution if that falls for your system release.

Regards,

Former Member
0 Kudos

Hi All,

huxp0030:fkpadm 76> ./StopServer.sh

Starting '/usr/sap/FKP/JC26/exe/sapjvm_4/bin/java' '-Xmx512M' -jar '/usr/sap/FKP/JC26/SDM/program/bin/SDM.jar' shutdown 'sdmguiport=52618' 'sdmhome=/usr/sap/FKP/JC26/SDM/program'

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0029.20130222114450.0000

Password cannot be retrieved from Secure Store. Execute command "changeauthenticationprotocol". For reference check SAP note 1724516.

Sending shutdown request on Port 52618

Attempting to logon to Host "localhost", Port "52618", Role "admin"

Logon to host "localhost" was successful

Shutdown failed: Error disabling SDM Process with JStartup Framework (Could not create JStartupClusterController: A remote host refused an attempted connect operation.)/

Could not shutdown server: Could not shutdown Server(4)

Details: Shutdown failed: Error disabling SDM Process with JStartup Framework (Could not create JStartupClusterController: A remote host refused an attempted connect operation.)/

Processing error. Return code: 4

Regards,

Raj

divyanshu_srivastava3
Active Contributor
0 Kudos

OK.. Have you checked 1724616

if that is not applicable then check below

Reset sdm password

http://service.sap.com/sap/support/notes/1910179

Reset SDM Password in Unix and Windows Environment - Portal - SCN Wiki

Former Member
0 Kudos

Hello,

Please check attachment in the SAP note 1724516.

which describes similar step

Former Member
0 Kudos

Hi,

I am unable to stop SDM server.Pls find the log details below.

Starting '/usr/sap/FKP/JC26/exe/sapjvm_4/bin/java' '-Xmx512M' -jar '/usr/sap/FKP/JC26/SDM/program/bin/SDM.jar' shutdown 'sdmguiport=52618' 'sdmhome=/usr/sap/FKP/JC26/SDM/program'

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0029.20130222114450.0000

Password cannot be retrieved from Secure Store. Execute command "changeauthenticationprotocol". For reference check SAP note 1724516.

Sending shutdown request on Port 52618

Attempting to logon to Host "localhost", Port "52618", Role "admin"

Logon to host "localhost" was successful

Shutdown failed: Error disabling SDM Process with JStartup Framework (Could not create JStartupClusterController: A remote host refused an attempted connect operation.)/

Could not shutdown server: Could not shutdown Server(4)

Details: Shutdown failed: Error disabling SDM Process with JStartup Framework (Could not create JStartupClusterController: A remote host refused an attempted connect operation.)/

Processing error. Return code: 4

Regards,

Raj

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Raj,

I do understand that you are not able to stop SDM. However, did you read SAP note - 1724516 ?


Goto y /usr/sap/<SID>/<Instance>/SDM/program

and then execute below command


sdm changeauthenticationprotocol “version=2.0” “password=<Give SDM command>” “forcesecurelogon=enable” “encrypttraffic=enable” “adminportonlylocallyaccessible=enable” “forcesecureadminlogon=enable”

This is what the system is asking to do.

Now, if you don't have the password, use the above to links to reset the SDM password and update.

Once that is done.

You have to run the above command again.

Regards,

Former Member
0 Kudos

Hi All,

Different issue now.

huxp0030:fkpadm 60> ./sdm.sh changeauthenticationprotocol "version=2.0" "password=mar1g0ld" "forcesecurelogon=enable" "encrypttraffic=enable" "adminportonlylocallyaccessible=enable" "forcesecureadminlogon=enable"

Starting '/usr/sap/FKP/JC26/exe/sapjvm_4/bin/java' '-Xmx512M' -jar '/usr/sap/FKP/JC26/SDM/program/bin/SDM.jar' changeauthenticationprotocol 'sdmhome=/usr/sap/FKP/JC26/SDM/program' version=2.0 password=mar1g0ld forcesecurelogon=enable encrypttraffic=enable adminportonlylocallyaccessible=enable forcesecureadminlogon=enable

Starting SDM - Software Deployment Manager...

tc/SL/SDM/SDM/sap.com/SAP AG/7.0029.20130222114450.0000

Initializing Network Manager (52617)

Checking if another SDM is running on port 52618

Could not start SDM - another Server may be running already.

Exiting ....

ERROR: Another SDM is running already for this SDM_HOME directory. Exiting.

Processing error. Return code: 4

Regards,

Raj

divyanshu_srivastava3
Active Contributor
0 Kudos

1st stop everything and restart again.

Regards,

Former Member
0 Kudos

Laxmikanth,

Please try this

Kill sdm process. Check what GUI port is used by SDM process. Open sdmrepository.sdc and search for section <GuiPort> </GuiPort>. Use netstat -ano | findstr <guiport>. Use taskkill /PID <processid> to kill the process.

Regards

Anand

Former Member
0 Kudos

Hi,

Where to get the file sdmrepository.sdc.

Regards,

Raj

Former Member
0 Kudos
  1. Go to /usr/sap/<SID>/<Instance>/SDM/program/config directory.
  2. Open sdmrepository.sdc file with a text editor.
Former Member
0 Kudos

have you tried using JCMON to stop SDM process

Stop SDM using jcmon tool

  1. Start jcmon pf=<J2EE Instance profile>
  2. Type 20 (Local Administration Menu)

select process to be stopped accordingly.

parth_raval
Participant
0 Kudos

Hi Laxmikanth,

As ram told you, please once again check your DB is up and running..??

Because log file which you shared, we found that database connection error. Also share UTL_load_usage.log.

Also find below SCN threads, it will help you.

https://scn.sap.com/thread/3461296

https://scn.sap.com/thread/3351271

Best Regards,

Parth Raval

Former Member
0 Kudos

Hi Laxmikanth,

Good day. Can you please check if your DB is up and running well.

Also whats the version of your AS JAVA system.

2ndly from the error log can see that below issue is there.

ssk=/usr/sap/FKP/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/usr/sap/trans/log4/sapinst_instdir/NW701/LM/COPY/DB6/EXP/DISTRIBUTED/AS-

So request you to chekc your DB is up and running.

also can you paste the UTL_load_usages.log' here.

Also one more thing is check in your configtool for the SAPSR3DB user and java administrator passwords are updated &  which are latest and working in the secstore.

Update us with your further findings.

Regards,

Ram