CJS-30059 Java EE Engine configuration error FCO-00011 The step configCAF
Hallo
trying to install SAP EHP1 for NW 7.0 Developer Workplace for AS Java (no Abap) I get the error:
CJS-30059 Java EE Engine configuration error.
FCO-00011 The step configCAF with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|
SAP_Software_Features_Configuration|ind|ind|ind|ind|6|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_CAF|ind|ind|ind|ind|1|0|
configCAF was executed with status ERROR ( Last error reported by the step :Java EE Engine configuration error.
DIAGNOSIS: See output of logfile java.log: 'IO EXCEPTION: Connection reset:: '.).
which is very similar to an error here from October 2008 so I ask if anyone can help?
For me under windows xp on the pc installing the two sap dvd's "SAP EHP1 FOR SAP NETWEAVER 7.0 Developer Workplace"
and "Kernel 7.01" this happens in step 33 of 37 steps.
In sapinst_dev.log just beforehand I see
"NWCallJava: Arguments passed: ROLE=CAFAdmin, ACTIONS=com.sap.caf.rt.caf.auth".
With kind regards
Hi Marco
well yes it was very strange ... but it is now installed.
I think I'd better put a question into the main NW forum.
Happily I have someone here who is a genius and found out what was happening ...
1) the port 50000 wasnt useable, wasnt even in the log, but 50001 for https worked, so https:/localhost:50001 worked but http didnt;
2) a parameter "handlePromotionFailure" was used but not understood so the VM couldnt start
3) on top of that, being a huge concern, we have host names longer than the sap limit of 13 characters.
I have tried to assign you 6 points I hope it worked.
With kind regards
David
Similar Messages
-
CJS-30059 Java EE Engine configuration error
Hi,
I am installing Solution Manager 4.0 SR2 on windows X86_64/DB6.
I have stuck on forth phase from last.
Remaining phases (not yet completed) are:
- Configure System Landscape Directory
- Configure CAF
- Configure Adobe Document Services
- Prepare to install minimum configuration
Error in current phase - "Configure System Landscape Directory" is as under:
- WARNING 2008-02-09 16:57:48
CJSlibModule::writeWarning_impl()
Execution of the command "C:\j2sdk1.4.2_15-x64\bin\java.exe -classpath F:/usr/sap/SM1/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/tclmctcutilbasic_ear/servlet_jsp/ctc/root/WEB-INF/classes/ com.sap.ctc.util.ConfigMainExt XXXXXX PNBSAP01:50000 J2EE_ADMIN XXXXXX" finished with return code 1.
- ERROR 2008-02-09 16:57:48
CJSlibModule::writeError_impl()
CJS-30059 Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine.
- ERROR 2008-02-09 16:57:48 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step configSLDMainLocalMapSecRolesToUsers with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_SLD|ind|ind|ind|ind|0|0|configSLDMainLocalMapSecRolesToUsers was executed with status ERROR .
First I am trying again with downgraded version of j2sdk from 1.4.2_15 to j2sdk-1.4.2_12. I hope this should work. If not, is there any way, so that i skip this phase "Configure System Landscape Directory" and jump to next phase? I can configure SLD manually later-on. Please suggest is this the right approach?
Please help.
Thanks,
- GauravHI,
I think SAP recommend using J2SDK1.4.2_15. Since this windows, have your java env as >> Drive:\j2sdk1.4.2_15...
Try if this is gonna work.
Thanks, -
TREX 7.0 System AIX 5.3 DB2 Error FCO-00011 The step extractTrexBinaries
Hi Colleagues,
In the process 6 of 12 the installation the trex stopped with this error,
FCO-00011 The step extractTrexBinaries with step key |TREX_NW_CI_MAIN|ind|ind|TREX|ind|0|0|TREX_MAIN|ind|ind|TREX|ind|0|0|TREX_BINARY_INST|ind|ind|TREX|ind|4|0 |extractTrexBinaries was executed with status ERROR .
The version the sapinst is last in the sapnet.
Please Helpppppp MeeeeeHi Colleagues,
I installed the sapinst TREX70_37-20000466.SAR but the error continue.
Regards Victor. -
Error msg "FCO-00011 The step createJSF with step key " install SM7
Hi all
The following error msg as when I installing SM7
the error show "The step createJSF with step key " <== what meanings?
Regards
Kevin
WARNING[E] 2009-06-10 21:58:40.890
CJS-30197 User SAPJSF already exists
Diagnosis
You have tried to create or change a user that already exists.
Procedure
Edit the existing user or first delete the user and then recreate it.
Alternatively, you can choose another user name, for example, by
appending part of the first name.
[System: PAS(001), Message: 01 224]
. DIAGNOSIS: For more details see output of log file: User SAPJSF already exists
Diagnosis
You have tried to create or change a user that already exists.
Procedure
Edit the existing user or first delete the user and then recreate it.
Alternatively, you can choose another user name, for example, by
appending part of the first name.
[System: PAS(001), Message: 01 224]
*ERROR 2009-06-10 21:58:41.218*
*FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .*
Edited by: Kevin Wong on Jun 11, 2009 3:47 AMHi
anyone can help me or having the same problems?
*ERROR 2009-06-10 21:58:41.218*
*FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .*
Regard, -
FCO-00011 The step ExeProcs with step key
Hi Seniors,
I have tried to install SAP ERP ECC 6.0 IDES ERP2005 SR3 , I got the error in installation step 19/26 (Create SAP Stored Procedures).
OS : WIN 2008 SERVER
DB : MS SQL 2008
I have fallow the Note 1152240.
Error log :
ERROR 2010-03-02 12:08:20.282
FCO-00011 The step ExeProcs with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs was executed with status ERROR .
Please help me,
Thank you,
Sagar KDear Markus,
In that log also same error message,
=============================================================================================================
WARNING[E] 2010-04-23 19:46:55.288 [syxxcfstrm.cpp:406] CSyFileStreamImpl::open() FSL-02015 Node /db2/db2SM1/.dbsrc.sh does not exist.TRACE 2010-04-23 19:46:55.307 [iaxxejsbas.hpp:408] handleException<ESyException>() Converting exception into JS Exception ESyException. TRACE 2010-04-23 19:46:55.307 Function setMessageIdOfExceptionMessage: modlib.jslib.caughtException WARNING[E] 2010-04-23 19:46:55.307 CJSlibModule::writeError_impl() MUT-03025 Caught ESyException in Modulecall: ESAPinstException: error text undefined.TRACE 2010-04-23 19:46:55.308 [iaxxejsbas.hpp:483] EJS_Base::dispatchFunctionCall() JS Callback has thrown unknown exception. Rethrowing. TRACE 2010-04-23 19:46:55.397 [syuxctask.cpp:1382] CSyTaskImpl::start(bool) A child process has been started. Pid = 782582 TRACE 2010-04-23 19:46:55.590 [syuxctask.cpp:1382] CSyTaskImpl::start(bool)
A child process has been started. Pid = 782584 ERROR 2010-04-23 9:46:55.803 [sixxcstepexecute.cpp:951] FCO-00011 The step setUserEnvironment with step key|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_Users_Create_Do|ind|ind|ind|ind|5|0|setUserEnvironment was executed with status ERROR . TRACE 2010-04-23 19:46:55.833 [iaxxgenimp.cpp:752] CGuiEngineImp::showMessageBox <html> <head> </head> <body> <p> An error occurred while processing service SAP Solution Manager 4.0 Support Release 4 > SAP Systems > IBM DB2 for Linux, UNIX, and Windows > Central System > Central System. You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /hm/cdmedia/Install/sapinst_instdir/SOLMAN/SYSTEM/DB6/CENTRAL/AS. </p> </body></html> TRACE 2010-04-23 19:46:55.833 [iaxxgenimp.cpp:1255] CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
=============================================================================================================
Appreciate your suggestion.
regards,
Guna -
FCO-00011 The step runRADDBDIF with step key
hi all
I got the error message when installing process in RUN ABAP report
ERROR 2009-02-14 21:11:25.859
FCO-00011 The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR .
Regards,
KevinHi Sunny
thanks you reply
but how can I uninstall the instance?
and that means I should entry any password in DDIC?
attached with the error message as followings:
ERROR 2009-02-16 10:17:43.093
FRF-00025 Unable to call function. Error message: Exception condition "WRITE_FAILED" raised. .
INFO 2009-02-16 10:17:43.093
RFC connection closed.
ERROR 2009-02-16 10:17:43.109
MUT-03025 Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..
ERROR 2009-02-16 10:17:43.140
FCO-00011 The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR ( Last error reported by the step :Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..).
Regard
Kevin -
Installation NW7 SR3 ERROR: FCO-00011
Hi friends,
During installation NW 7 SR3 x86_64 on unix, oracle in phase 25 "install instance basics" occured ERROR:
FCO-00011 The step stopInstance with step key.
The last four logs from sapinst.log:
WARNING 2008-09-18 15:16:29.512 [iaxxcmsclient.cpp:93]
CIaMsgClient::CIaMsgClient(sapeao3-M01, 3901)
Connect to message server (sapeao3-M01/3901) failed: NIECONN_REFUSED.
WARNING 2008-09-18 15:16:49.622 [iaxxcmsclient.cpp:93]
CIaMsgClient::CIaMsgClient(sapeao3-M01, 3901)
Connect to message server (sapeao3-M01/3901) failed: NIECONN_REFUSED.
ERROR 2008-09-18 15:16:49.624
CJSlibModule::writeError_impl()
CJS-30087 Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.
ERROR 2008-09-18 15:16:49.754 [sixxcstepexecute.cpp:951]
FCO-00011 The step stopInstance with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_Instance|ind|ind|ind|ind|0|0|stopInstance was executed with status ERROR ( Last error reported by the step :Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.).
Thanks for help.
RegardsHi,
The last nine logs from sapinst_dev.log are:
TRACE 2008-09-18 15:16:49.624
NWException thrown: nw.progress.waitingForStopFailed:
Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.
TRACE 2008-09-18 15:16:49.624
Function setMessageIdOfExceptionMessage: nw.progress.waitingForStopFailed
ERROR 2008-09-18 15:16:49.624
CJSlibModule::writeError_impl()
CJS-30087 Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.
TRACE 2008-09-18 15:16:49.624 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2008-09-18 15:16:49.667 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 9265
TRACE 2008-09-18 15:16:49.725 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 9266
ERROR 2008-09-18 15:16:49.754 [sixxcstepexecute.cpp:951]
FCO-00011 The step stopInstance with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_Instance|ind|ind|ind|ind|0|0|stopInstance was executed with status ERROR ( Last error reported by the step :Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.).
TRACE 2008-09-18 15:16:49.776 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step :Instance M01/SCS01 [STOP] did not stop after 2:20 minutes. Giving up.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS. </p> </body></html>
TRACE 2008-09-18 15:16:49.785 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
The stopsap.log still not in /usr/sap/sid/instance/work. There is only sapstart.log
In /tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS is stop_sid_SCS01.log:
/usr/sap/sid/instance/work/kill.sap: line 1: kill: (25932) - No such process
Reagrds -
ECC 6.0 Installation Encountered with error FCO-00011
Hi Gurus,
Iam Installing ECC 6.0/MSSQL 2005 On windows (64 bit) QAS Box.
I got a error
FCO-00011 The step getDBInfo with step key |NW_Uninstall|ind|ind|ind|ind|0|0|NW_System_Uninstall|ind|ind|ind|ind|2|0|NW_uninstallDB|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|1|0|NW_getDBInfoGeneric|ind|ind|ind|ind|ind|ind|1|0|getDBInfo was executed with status ERROR.
at Task Process of <b>Create/modify database schema prd</b> Of Installtion.
Could you please advise me to Resolve the issue.
Thanks
A.KumarPlease copy & paste the last few statements from sapinst_dev.log that capture the begining of issue symtom, for better understanding.
-
Error FCO-00011 while performing System Import for PI 7.0
Hi All,
Error occured while performing system import for PI 7.0.
Error occured at phase 11 of 34 (Create database instance)
As per the log sapinst.log
FCO-00011 The step sdb_init_instance_type with step key |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0|sdb_init_instance_type was executed with status ERROR .
As per the log XCMDOUT.log
> Subprocess starts at 20090420093658
Execute Command : /sapdb/programs/bin/dbmcli -n lgsbie -d EXI -u CONTROL,********
Start subprocess as user with uid: root
Execute Session Command : param_startsession
> Subprocess stops at 20090420093658
Error! Connection failed to node (hostname) for database (SID):
database not found
Please let me know your valuable inputs.
Regards
Shiva.Details of Error :
This is the Test System.
When trying to do system copy by extracting the export from production, selected the option for ABAP+JAVA and moving further selected Homogenous System copy (backup n recovery), at phase 10 - 34 it has removed database instance n in the next phase while creating the database it got struck.
Error displayed even go ahead selecting New installation :
Subprocess starts at 20090422134100
Execute Command : /sapdb/programs/bin/dbmcli -n hostname -d SID -u CONTROL,******** db_online
Start subprocess as user with uid: root
> Subprocess stops at 20090422134133
ERR
-24988,ERR_SQL: SQL error
-902,I/O error
3,Database state: OFFLINE
6,Internal errorcode, Errorcode 9050 "disk_not_accessible"
20017,RestartFilesystem failed with 'I/O error'
Please provide me the best solution at the earliest which will be really aprreciated
Regards
Shiva -
Java.lang.SecurityException: Configuration Error
Hello,
Has anyone faced this exception before ?
java.lang.SecurityException: Configuration Error:
Can not specify multiple entries for initial
at com.sun.security.auth.login.ConfigFile.getAppConfigurationEntry(ConfigFile.java:221)
at javax.security.auth.login.LoginContext.init(LoginContext.java:172)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:319)
Thanks,
Luiz Ernesto P. Mal�reWe had similar errors occuring when multiple threads tried to login to our server at the same time. As it turns out, the com.sun.security.auth.login.ConfigFile class is not thread-safe. That is, if two threads try to login at the same time, we got this error.
Try setting the login.configuration.provider in your security.properties to your own-thread safe class and see if it helps. It did for us. -
Java.rmi.RemoteException: Protocol error reported by the card! why?
Hello,
I am currently trying to run the JCK 2.2.1 SecureRMIDemo using SmartCardIO instead of OCF, but getting an error:
java.rmi.RemoteException: Protocol error reported by the card
(in my last post I succesfully ran the RMIDemo using my SmartCardIO implementation, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15)
So here is what I did:
- I succesfully loaded the server app (com.sun.javacard.samples.SecureRMIDemo) on the card without changes.
- I created an new accessor class: public class PINCardAccessor extends SmartCardIOAccessor (I wrote SmartCardIOAccessor for the RMIDemo, it should work fine as an accessor)
- The contents of PINCardAccessor class and SecureOCFCardAccessor are the same, just the class declration makes the difference
- Here is the most important part of my main method:
ca = new PINCardAccessor(false);
JavaCardRMIConnect jcRMI = new JavaCardRMIConnect(ca);
jcRMI.selectApplet(appAID);
// send PIN
System.out.println("Sending PIN...");
if (! ((PINCardAccessor) ca).authenticateUser( PRINCIPAL_APP_PROVIDER_ID ))
System.out.println("Wrong PIN!");
System.exit(0);
Purse myServ = (Purse) jcRMI.getInitialReference();
if(myServ == null)
throw new Exception("Received null instead of the initial ref");
// print balance
System.out.println("Balance: "+myServ.getBalance());And finally here is the debug output:
accessor: select command
0 a4 4 0 a a0 0 0 0 62 3 1 c a 1 7f
90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
Sending PIN...
80 39 0 0 4 12 34 0 46 7f
90 0 0 0
Le=2
csum1=0
csum2=0
90 0
80 38 2 2 6 33 f1 ec a8 ff b8 7f
90 0 99 0 6 ff 9f
Le=5
csum1=-97
csum2=-97
90 0 99 0 6
java.rmi.RemoteException: Protocol error reported by the card
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.getBalance(Unknown Source)
at SecureClient.main(SecureClient.java:60)Please help me, I cant find the reason for this exception.
thank you
sebastaianOh, thanks for pointing at the JCRE Spec, it is very informative, but i still have not found the problem yet.
If i understand everything right, the communication's flow is
SecureClient <-> PINCardAccessor <-> SmartCardIOAccessor <-> MySecurityService <-> SecurePurseImpl (with help of SecurePurseApplet)
probably i made a mistake in a protocol of one or more layers.
- MySecurityService, SecurePurseImpl and SecurePurseApplet are EXACTLY the one's from com.sun.javacard.samples.SecureRMIDemo of JCDK 2.2.1, so there cant be any mistake (?).
- SmartCardIOAccessor worked fine in my RMIDemo tests, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15 - there is also the implementation)
- SecureClient must be obviously correctly
so maybe it's something about PINCardAccessor? hmm...i havent found anything, but here is the complete code:
import javax.smartcardio.CardException;
* Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* @(#)SecureOCFCardAccessor.java 1.11 03/07/08
public class PINCardAccessor extends SmartCardIOAccessor {
public PINCardAccessor(boolean debug) throws CardException {
super(debug);
private static final byte INS_SELECT = (byte)0xA4;
private static final byte APDU_CMD_MASK = (byte)0xFC;
private static final byte CLA_ISO7816 = (byte)0x00;
private static final byte CLA_AUTH = (byte)0x80;
private static final byte INS_AUTH = (byte)0x39;
private static final boolean debug2 = false;
/** Modifies the data and calls super.sendCommandAPDU to perform the actual send.
* The data returned from the smart card is returned by this method within
* the <CODE>ResponseAPDU</CODE> object
* @param apdu The command APDU to be sent to the smart card
* @return The response APDU returned from the card. <CODE>null</CODE> if none available.
* @throws Exception if a communication error or timeout occurred
public byte[] exchangeAPDU( byte[] sendData ) throws java.io.IOException{
System.out.println("Send Data:"+SmartCardIOAccessor.getHexString(sendData));
final boolean select = isSelect(sendData);
byte[] dataWithChecksum;
if(select) {
dataWithChecksum = new byte[ sendData.length ];
System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length);
else {
dataWithChecksum = new byte[ sendData.length + 2];
System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length-1);
dataWithChecksum[dataWithChecksum.length-1] = sendData[sendData.length-1];
int Lc = dataWithChecksum[4];
short csum = 0;
for(short n = 5; n<Lc+5; ++n) {
csum += sendData[n];
dataWithChecksum[Lc+5] = (byte) (csum>>8);
dataWithChecksum[Lc+6] = (byte) (csum);
dataWithChecksum[4] += 2; // increase Lc
if(debug2) {
for(int i=0; i<dataWithChecksum.length;++i) {
System.out.print(Integer.toHexString(dataWithChecksum[i] & 0x00FF) + " ");
System.out.println();
byte[] receiveDataWithChecksum = super.exchangeAPDU( dataWithChecksum );
byte[] receiveData;
if(debug2) {
for(int i=0; i<receiveDataWithChecksum.length;++i) {
System.out.print(Integer.toHexString(receiveDataWithChecksum[i] & 0x00FF) + " ");
System.out.println();
System.out.println();
if(!select) // verify the checksum
int Le = receiveDataWithChecksum.length - 2; // 2 bytes reserved for SW
if(debug2) {
System.out.println("Le=" + Le);
short csum1 = 0;
for(short n = 2; n<Le; ++n) {
csum1 += receiveDataWithChecksum[n];
short csum2 = (short)
(receiveDataWithChecksum[receiveDataWithChecksum.length - 2]<<8)
|
(receiveDataWithChecksum[receiveDataWithChecksum.length - 1] & 0x00FF)
if(debug2) {
System.out.println("csum1=" + csum1);
System.out.println("csum2=" + csum2);
System.out.println("csum1=" + Integer.toHexString(csum1));
System.out.println("csum2=" + Integer.toHexString(csum2));
if(csum1 != csum2) throw new java.io.IOException("Wrong checksum on returned data");
receiveData = new byte[receiveDataWithChecksum.length-2];
System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
else {
receiveData = new byte[receiveDataWithChecksum.length];
System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
if(debug2) {
for(int i=0; i<receiveData.length;++i) {
System.out.print(Integer.toHexString(receiveData[i] & 0x00FF) + " ");
System.out.println();
System.out.println();
System.out.println("Receive Data:"+SmartCardIOAccessor.getHexString(receiveData));
return receiveData;
boolean authenticateUser( short ID ){
byte[] externalAuthCommand = new byte[8];
externalAuthCommand[0] = CLA_AUTH;
externalAuthCommand[1] = INS_AUTH;
externalAuthCommand[4] = 2; // Lc
externalAuthCommand[5] = (byte)(ID>>8);
externalAuthCommand[6] = (byte)ID;
externalAuthCommand[7] = 0x7F;
try {
byte[] response = this.exchangeAPDU( externalAuthCommand );
if(response[0] != (byte)0x90 || response[1] != 0x00) return false;
else return true;
}catch (Exception e){
return false;
private boolean isSelect(byte[] buffer) {
if(buffer.length < 2) return false;
if((buffer[0]&APDU_CMD_MASK)==CLA_ISO7816 && buffer[1]==INS_SELECT) {
if(debug2) {
System.out.println("accessor: select command");
return true;
else {
return false;
} -
INTEGRATION ENGINE CONFIGURATION ERROR
Hi all,
I configured integration server through SXMB_ADM,but i'm getting error..
Current Configuration (local):
Role of Business System: Integration Server
Client 000 is Integration Server
Corresponding Integration Server: http://xxx:yyy/sap/xi/engine?type=entry
System Landscape:
Errors No access to system landscape at present
Comparison of Current Configuration with System Landscape
regds,
vasanth.Hi Vasanth,
You are getting this error because the Pipeline URL parameter defined for the XI Business System in SLD is either empty or different than the one defined in "Integration Engine Configuration" in the TCode: SXMB_ADM.
Check the same. I hope this provides you a solution.
Regards.
Praveen -
Configuration error in PID synthesis step of control design assistant
Hello,
I am exploring an evaluation version of NI LabVIEW Control Design Assistant 2011. For getting started with it ; I am using getting started tutorial provided in the labview signal express help. Upto the step of frequency domain analysis it is working fine ; but when I insert step called PID Synthesis it is showing me an error like...Configuration error -Sampling Time number is not the same...Though I have followed all the steps mentioned in the document sequentially why am I getting this error?..Please educate me in this regard.
Best Regards.I am having the same issue trying to install EM Grid Control 10.1.0.2 on a 9.2.0.5 Repository on HP-UX platform. I am wondering if you have found a solution?
Thanks,
Dawit -
Error-lsmw -in the step specify file
HI ALL,
Iam struck up in lsmw . I doing for the transaction "mb11" , opening inventory balance .
when i do the step " SPECIFY FILE " , iam getting error like "specify a logical path " . I have choosed a file on the local pc .
what would be the problem .
Plz help me in this.
thanks,
regards,
rajkasi.Just choose one of the logical files from the dropdown. This is not where you specify the file from PC. Hopefully there is one called "TEST". This is what I use for all of my LSMWs. It's just asking for a place to put the data that is read and converted.
Regards,
Rich Heilman -
Re: BI Java JDBC Connector configuration Error
Hi friends,
Our BW 3.5 system is working on win2003 with ms-sql db with sp10/J2EE 6.40 with SP8. We installed the MS-JDBC driver & Configurd based on standard documentation. When we use to test connection using the link
https://qbiwd1:50200/tjdbc/servlet/testjdbc in the browser following error is presisting
java.lang.ClassFormatError: com/sap/ip/bi/sdk/trialarea/connector/servlet/TestJdbc630 (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:143)
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:303)
at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:306)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
For your information I upgraded J2EE engine from 6.30 sp3 to 6.40 sp8
Is error might be related with "TestJdbc630" file?
Your help would be highly appreciated
Thanks,
KrishnaHi Mikhail,
Thanks for prompt reply. I read the link. Your info is very helpful to solve the problem. If installation of the BI SDK is the problem, can I re-install the BI-SDK again? If not is there any solution for that?
Your information would highly be helpful in solving the problem.
Thanks,
Krishna
Maybe you are looking for
-
Adding a site to a ftp connection
Hi, Just upgraded to DW CS4 and in doing so I pressed a wrong button...! I have numerous sites in my site manager window and one I am working on has reverted to being nothing more than an ftp connection. This was my fault as I went back into the set-
-
2012 Honda Accord // Software Upgrade from 7.1.x to 8.2
Hi, I just upgraded my iphone5 from 7 point something to 8.2. (I held off so long because of previous bad experience). Now, I am unable to control the ipod/itunes through my Honda Stereo controls. When I try to advance a song through the steering
-
Exporting AVI in Final Cut pro 7
I have to export a video I created in fcp 7 in avi format. It's a 20 minute video and when I exported it into quicktime conversion using the avi option, I've found that the video quality is poor. I'm using this to be used on a Web site and would like
-
Adobe Reader 7.0 で inline 表示できません
Adobe Reader 6.0 から Adobe Reader 7.0 に変更したところ.IE6 (XP SP2) で下記症状が出るようになりました. ■ Adobe Reader 6.0 ( 正常 ) 別窓で IE が開き. そこに Adobe Reader 6.0 が inline で表示されていました. ■ Adobe Reader 7.0 ( 異常 ) 別窓で IE が開き. さらに Adobe Reader 7.0 が別個に立ち上がり. そこに表示されるようになりました. IE に
-
Buildng team in org management in hr
hi guys, could any one help me with the code..org management is new to me... i have to build teams for head quaters:Teams are formed by Org Unit ID and Supervisor Position ID. From the root node, for each position, check if position is a supervisor u