SAP Java Cryptographic Toolkit
Hi All,
I am useing EP 6.0, SP11. Could anyone please explain me how to determine if the SAP Java Cryptographic Toolkit is on the SAP J2EE engine. Is there anyway to find from the Portal?
Thnks for you help
Regards
Henry
Hi Henry,
You can find out that easily by logging into Visual Admin.
Navigate to this and you can find:
Goto Dispatachexx>Libraries>tc/sec/ssl
and also
Goto Dispatachexx>Libraries>IAIKSecurity
You can see entries here.
Regards,
Piyush
ps: please mark for all useful answers.
Similar Messages
-
No sdas for Java Cryptographic Toolkit
Hello all,
I want to install Java Cryptographic Toolkit on my WAS 6.40. I see the related doc
http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
Unfortunately, it is said:
"Using the SDM Remote GUI, connect to the SAP J2EE Engine and deploy the SAP Java Cryptographic Toolkit SDA that applies to your J2SE version (1.3.x or 1.4.x). "
But I do not have sda for the Toolkit.
What I have is 3 jar files (iaik_jsse.jar, iaik_jce.jar and iaik_ssl.jar), and some txt file.
I've allready installed the crypto lib (sapcrypto.dll).
Can anyone tell me where to find the sda or how to install crytpo toolkit without it ?
Thanks
SylvainHi Sylvain,
you can download the SDA file for cryptographic toolkit from the service.sap.com
Here, goto the Downloads option. There you can find SAP Cryptographic Software link. Here download <i>"SAP JAVA CryptoToolkit (J2EE Engine as of Release 6.30)"</i>.
Regards,
Bhavik -
Algorithms for Signing & Encryption for SAP Java cryptographic Tool kit
Hi,
We want to use SAP Java Cryptographic Toolkit for S/MIME for signing & encryption. Kindly let me know what are all the algorithms it supports for Signing & algorithms it supports for Encryption
With Regards
K.VaradharajanDES (Data Encryption Standard) algorithm is used to perform the encryption
Policy jurisdiction files regulate which algorithms are available. These jurisdiction files are provided by the same vendor as for your J2SE package.
Regards,
Prateek -
JAVA Cryptographic Toolkit sap java library archive
Hi Experts
I am trying to install SAP Net Weaver 04 support release 1 > oracle JAVA System. I am performing installation on Windows 2003 server.
While installing the JAVA Cryptographic Toolkit > sap java library archive I have getting problem please give any idea about this.
Where I get this path how to download the SAP JAVA library archive file.
Error finds out shown bellow
Regards,
RahulRahul wrote:>
> Hi Experts
>
> I am trying to install SAP Net Weaver 04 support release 1 > oracle JAVA System. I am performing installation on Windows 2003 server.
> While installing the JAVA Cryptographic Toolkit > sap java library archive I have getting problem please give any idea about this.
if you would give us the error message we could give you an advise.
> Where I get this path how to download the SAP JAVA library archive file.
on the screen where you need to enter the path to the JCT, the links are given on where to download those libararies.
Markus -
Error : JAVA Cryptographic Toolkit sap java library archive
Hi Experts
I am trying to install SAP Net Weaver 04 support release 1 > oracle JAVA System. I am performing installation on Windows 2003 server.
While installing the JAVA Cryptographic Toolkit > sap java library archive I have getting problem please give any idea about this.
Where I get this path how to download the SAP JAVA library archive file.
Error finds out shown bellow
Regards,
Rahulhi Rahul
You'll find the file on the following link:
Web page: http://java.sun.com/javase/downloads/index.jsp
(see section "Other downloads", "Java Cryptography Extension (JCE)
Unlimited Strength Jurisdiction Policy Files 5.0").
Regards
Ariyanto
(hi moderator, sorry for double posting, just notice that i have 2 IDs)
Edited by: Ariyanto Hong on Apr 2, 2008 3:23 PM -
Need to install Java Cryptographic Toolkit
I need to install the Java Cryptographic toolkit. In order to do that, I need to have J2SE. How can I tell if J2SE is installed? and if it is installed what version is it?
I have checked http://server:port and then system information. I don't see J2SE there. Under components, I have SAP-JEE and SAP-JEECOR.Hi
SAP Java Cryptographic
You can get it from the SAP Service Marketplace at service.sap.com/download under Download -> SAP Cryptographic Software.
also There is a guide out there on SDN. Enabling SSL for the SAPJ2EE Engine
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/ghi/installation%20guide%20-%20enabling%20ssl%20for%20the%20sap%20j2ee%20engine
http://help.sap.com/saphelp_nw04/helpdata/en/55/79cf4f7692064d969527a90e8e86c5/frameset.htm
Thanks -
SAP Java Crypto Toolkit was not found
Hi,
I m trying to install Netweaver 7.0 BI and portal with SR3 package. Installation is Cluster installation on windows 2008 and sql 2008 platform. When I came to Centarl instance installtion. On Start Java Phase I had the error. I put the error below. I check the notes Note 1071472 - FileSystem SecureStore connection issues, Note 914818 - JSPM: Could not detect database, Note 1154133 - JSPM: SAP Java Crypto Toolkit was not found.
Thank you For your Help.
Bootstrap MODE:
<INSTANCE GLOBALS>
determined by parameter [ID0276347].
Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
==[ Caused by: ]==----
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:115)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)
... 13 more
Caused by: com.sap.security.core.server.secstorefs.NoEncryptionException: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm.
at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1975)
at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
... 15 more
Caused by: javax.crypto.NoSuchPaddingException: Padding 'PKCS5Padding' not implemented.
at iaik.security.cipher.w.engineSetPadding(Unknown Source)
at iaik.security.cipher.PbeWithSHAAnd3_KeyTripleDES_CBC.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at javax.crypto.SunJCE_b.a(DashoA12275)
at javax.crypto.SunJCE_b.a(DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.getInstance(DashoA12275)
at com.sap.security.core.server.secstorefs.Crypt.<init>(Crypt.java:220)
at com.sap.security.core.server.secstorefs.SecStoreFS.<init>(SecStoreFS.java:1346)
at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:798)
... 17 more
[Bootstrap module]> Problem occurred while performing synchronization.Hi
> > Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..
> at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
> at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
> at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
> at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
> at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)
It looks like the JCE file which you have downloaded is not the correct one. As you can see some jar files are missing. Check JCE files.
Check SAP Note 1240081 - "Java Cryptography Extension Jurisdiction Policy" files
Thanks
Sunny -
Java is not coming up after deploying Cryptographic toolkit 1.4
Hi,
when i open the keystore service in visualadministrator, i got following issue.
Java.lang.NoClassDefFoundError.iaik/security/provider/IAIK
IAIK security library not found
after searching in SDN i got the following link :
http://help.sap.com/saphelp_nw04/helpdata/en/8d/cb71b8046e6e469bf3dd283104e65b/frameset.htm
After deploying Cryptographic toolkit 1.4 through SDM, i have restarted the system. java is not coming up. the system is ABAP+JAVA system.
Could you please tell how to undeploy the tc_sec_java_crypto_signed_fs_lib.sda component. i have tried through standalone mode also but i could not find that component. i could not able to login to the visual admin, configtool.
Regards,
JagadishI have pasted both server0 log and default trace.
please find the log which is pasted.
SERVER0 LOG
[Thr 6276] *************** SAP_STINIT3 ***************
[Thr 6276] SAP_STINIT3: my TP_name: >jlaunch<
[Thr 6276] SAP_STINIT3: new buffer state = BUFFER_EMPTY
[Thr 6276] SAP_STINIT3: GWHOST=localhost
[Thr 6276] SAP_STINIT3: GWSERV=sapgw22
[Thr 6276] SAP_STINIT3: PROTOCOL=I
[Thr 6276] GwIConnect: connect to gateway localhost / sapgw22 (timeout=60000)
[Thr 6276] NiHsLGetNodeAddr: found hostname 'localhost' in cache
[Thr 6276] NiIGetNodeAddr: hostname 'localhost' = addr
[Thr 6276] NiHsLGetServNo: found service name 'sapgw22' in cache
[Thr 6276] NiIGetServNo: servicename 'sapgw22' = port 0C.FA/3322
[Thr 6276] NiICreateHandle: hdl 11 state NI_INITIAL
[Thr 6276] NiIInitSocket: set default settings for new hdl 11 / sock 4656 (I4; ST)
[Thr 6276] NiIBlockMode: set blockmode for hdl 11 FALSE
[Thr 6272] *************** SAP_STINIT3 ***************
[Thr 6272] SAP_STINIT3: my TP_name: >jlaunch<
[Thr 6272] SAP_STINIT3: new buffer state = BUFFER_EMPTY
[Thr 6272] SAP_STINIT3: GWHOST=localhost
[Thr 6272] SAP_STINIT3: GWSERV=sapgw22
[Thr 6272] SAP_STINIT3: PROTOCOL=I
[Thr 6272] GwIConnect: connect to gateway localhost / sapgw22 (timeout=60000)
[Thr 6272] NiHsLGetNodeAddr: found hostname 'localhost' in cache
[Thr 6272] NiIGetNodeAddr: hostname 'localhost' = addr
[Thr 6272] NiHsLGetServNo: found service name 'sapgw22' in cache
[Thr 6272] NiIGetServNo: servicename 'sapgw22' = port 0C.FA/3322
[Thr 6272] NiICreateHandle: hdl 13 state NI_INITIAL
[Thr 6272] NiIInitSocket: set default settings for new hdl 13 / sock 4516 (I4; ST)
[Thr 6272] NiIBlockMode: set blockmode for hdl 13 FALSE
[Thr 2836] NiSelISelectInt: 0 handles selected (0 buffered)
[Thr 2836] SAP_CMLISTEN: timeout after 2000 msecs
[Thr 2836] *************** SAP_CMLISTEN ***************
[Thr 2836] SAP_CMLISTEN: timeout = 2000
[Thr 5584] Fri Feb 27 19:45:38 2009
[Thr 5584] JLaunchIShutdownCheck: check shutdown, 16 sec left to shutdown
[Thr 6276] NiHsLGetServName: found port number 0C.FA/3322 in cache
[Thr 6276] NiIGetServName: port 0C.FA/3322 = servicename 'sapgw22'
[Thr 6276] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2764]
[Thr 6276] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 11 / sock 4656
(SI_ECONN_REFUSE; I4; ST; 127.0.0.1:3322) [nixxi.cpp 2764]
[Thr 6276] NiICloseHandle: closing initial hdl 11
[Thr 6276] *** ERROR => GwIConnect: GwConnect to localhost / sapgw22 failed (rc=NIECONN_REFUSED) [gwxx.c 294]
[Thr 6276] ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx.c 295]
[Thr 6276] ***LOG S0R=> GwIConnect, GwConnect () [gwxx.c 297]
[Thr 6276] ***LOG S0S=> GwIConnect, GwConnect (sapgw22) [gwxx.c 299]
[Thr 6276] ***LOG S90=> SAP_STINIT3, GwIConnect ( 236) [r3cpic.c 2006]
[Thr 6276]
[Thr 6276] * LOCATION CPIC (TCP/IP) on local host with Unicode
[Thr 6276] * ERROR partner '127.0.0.1:sapgw22' not reached
[Thr 6276] *
TIME Fri Feb 27 19:45:38 2009
[Thr 6276] * RELEASE 700
[Thr 6276] * COMPONENT NI (network interface)
[Thr 6276] * VERSION 38
[Thr 6276] * RC -10
[Thr 6276] * MODULE nixxi.cpp
[Thr 6276] * LINE 2764
[Thr 6276] * DETAIL NiPConnect2
[Thr 6276] * SYSTEM CALL connect
[Thr 6276] * ERRNO 10061
[Thr 6276] * ERRNO TEXT WSAECONNREFUSED: Connection refused
[Thr 6276] * COUNTER 3
[Thr 6276] *
[Thr 6276] *****************************************************************************
[Thr 6272] NiHsLGetServName: found port number 0C.FA/3322 in cache
[Thr 6272] NiIGetServName: port 0C.FA/3322 = servicename 'sapgw22'
[Thr 6272] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2764]
[Thr 6272] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 13 / sock 4516
(SI_ECONN_REFUSE; I4; ST; 127.0.0.1:3322) [nixxi.cpp 2764]
[Thr 6272] NiICloseHandle: closing initial hdl 13
[Thr 6272] *** ERROR => GwIConnect: GwConnect to localhost / sapgw22 failed (rc=NIECONN_REFUSED) [gwxx.c 294]
[Thr 6272] ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx.c 295]
[Thr 6272] ***LOG S0R=> GwIConnect, GwConnect () [gwxx.c 297]
[Thr 6272] ***LOG S0S=> GwIConnect, GwConnect (sapgw22) [gwxx.c 299]
[Thr 6272] ***LOG S90=> SAP_STINIT3, GwIConnect ( 236) [r3cpic.c 2006]
[Thr 6272]
[Thr 6272] * LOCATION CPIC (TCP/IP) on local host with Unicode
[Thr 6272] * ERROR partner '127.0.0.1:sapgw22' not reached
[Thr 6272] *
TIME Fri Feb 27 19:45:38 2009
[Thr 6272] * RELEASE 700
[Thr 6272] * COMPONENT NI (network interface)
[Thr 6272] * VERSION 38
[Thr 6272] * RC -10
[Thr 6272] * MODULE nixxi.cpp
[Thr 6272] * LINE 2764
[Thr 6272] * DETAIL NiPConnect2
[Thr 6272] * SYSTEM CALL connect
[Thr 6272] * ERRNO 10061
[Thr 6272] * ERRNO TEXT WSAECONNREFUSED: Connection refused
[Thr 6272] * COUNTER 2
[Thr 6272] *
[Thr 6272] *****************************************************************************
[Thr 2836] Fri Feb 27 19:45:39 2009
[Thr 2836] NiSelISelectInt: 0 handles selected (0 buffered)
[Thr 2836] SAP_CMLISTEN: timeout after 2000 msecs
[Thr 2836] *************** SAP_CMLISTEN ***************
[Thr 2836] SAP_CMLISTEN: timeout = 2000
[Thr 3508] ShmCache_nativeDelete (3)
[Thr 3508] ShmCache_nativeDelete (2)
[Thr 3508] ShmCache_nativeDelete (0)
[Thr 3508] ShmCache_nativeDelete (1)
[Thr 3508] Fri Feb 27 19:45:40 2009
[Thr 3508] JHVM_NativeSetState: set process state to 6
[Thr 3508] JLaunchISetState: change state from [Stopping (5)] to [Stopped (6)]
[Thr 5584] JLaunchIShutdownCheck: check shutdown, 14 sec left to shutdown
[Thr 2836] Fri Feb 27 19:45:41 2009
[Thr 2836] NiSelISelectInt: 0 handles selected (0 buffered)
[Thr 2836] SAP_CMLISTEN: timeout after 2000 msecs
[Thr 2836] *************** SAP_CMLISTEN ***************
[Thr 2836] SAP_CMLISTEN: timeout = 2000
[Thr 5584] Fri Feb 27 19:45:42 2009
[Thr 5584] JLaunchIShutdownCheck: check shutdown, 12 sec left to shutdown
[Thr 2836] Fri Feb 27 19:45:43 2009
[Thr 2836] NiSelISelectInt: 0 handles selected (0 buffered)
[Thr 2836] SAP_CMLISTEN: timeout after 2000 msecs
[Thr 2836] *************** SAP_CMLISTEN ***************
[Thr 2836] SAP_CMLISTEN: timeout = 2000
[Thr 5584] Fri Feb 27 19:45:44 2009
[Thr 5584] JLaunchIShutdownCheck: check shutdown, 10 sec left to shutdown
[Thr 5840] Fri Feb 27 19:45:45 2009
[Thr 5840] JLaunchIExitJava: exit hook is called (rc = 0)
[Thr 5840] JsfCloseShm: JsfCloseShm() -> 0
[Thr 5840] JLaunchCloseProgram: good bye (exitcode = 0)
DEFAULT TRACE
#1.5#001143318A03002C00000186000015CC000463E71A6EB1E0#1235744138921#com.sap.engine.services.connector##com.sap.engine.services.connector#######SAPEngine_System_Thread[impl:5]_18##0#0#Error#1#/System/Server#Java#connector_0500##"ResourceObjectFactory" is closed. Possible reasons: the Connector Service is stopped or not started.#1#ResourceObjectFactory#
#1.5#001143318A03002C00000187000015CC000463E71A6EB538#1235744138921#com.sap.engine.services.connector##com.sap.engine.services.connector#######SAPEngine_System_Thread[impl:5]_18##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.connector.exceptions.BaseResourceException: "ResourceObjectFactory" is closed. Possible reasons: the Connector Service is stopped or not started.
at com.sap.engine.services.connector.ResourceObjectFactory.removeConnectionFactory(ResourceObjectFactory.java:401)
at com.sap.engine.services.jmsconnector.deploy.ContainerImpl.clearAllResources(ContainerImpl.java:1677)
at com.sap.engine.services.jmsconnector.deploy.ContainerImpl.commitStop(ContainerImpl.java:768)
at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:244)
at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:290)
at com.sap.engine.services.deploy.server.application.StopTransaction.commitLocal(StopTransaction.java:278)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:374)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
at com.sap.engine.services.deploy.server.FinishListener.run(FinishListener.java:77)
at com.sap.engine.services.deploy.server.FinishListener.makeOperation(FinishListener.java:57)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startTransactionsLocal(DeployServiceImpl.java:4244)
at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.stopMyApplications(DeployCommunicatorImpl.java:214)
at com.sap.engine.services.servlets_jsp.server.ServletsAndJspServerFrame.stop(ServletsAndJspServerFrame.java:243)
at com.sap.engine.core.service630.container.ServiceStopper.run(ServiceStopper.java:31)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
#1.5#001143318A03003E0000000D000015CC000463E71A7BC7F1#1235744139781#com.sap.engine.services.deploy##com.sap.engine.services.deploy#######SAPEngine_System_Thread[impl:5]_73##0#0#Error##Plain###CACHE MAY BE NOT CLEARED, while stopping sap.com/crmmigrxcm application.#
#1.5#001143318A0300740000004B000015CC000463E71A8A8DA4#1235744140750#com.sap.engine.core.thread.impl5.ThreadManagerImpl##com.sap.engine.core.thread.impl5.ThreadManagerImpl#J2EE_GUEST#0#####Thread[Thread-715,5,main]##0#0#Error##Plain###Unexpected thread activity after interrupt() is executed in shutdown of SAPEngine_System_Thread[impl:5]_ThreadManager:
Thread[SAPEngine_System_Thread[impl:5]_50]
Task: com.sap.engine.core.thread.impl5.ActionObject - Processing Task [classname: com.sap.engine.services.log_configurator.archive.ArchivingThread | toString: [email protected]106a69b] with classloader [[email protected]be66@service:log_configurator]#
#1.5#001143318A0300740000004C000015CC000463E71A8B2DF0#1235744140781#com.sap.engine.core.thread.impl5.ThreadManagerImpl##com.sap.engine.core.thread.impl5.ThreadManagerImpl#J2EE_GUEST#0#####Thread[Thread-715,5,main]##0#0#Error##Plain###Unexpected thread activity after interrupt() is executed in shutdown of SAPEngine_System_Thread[impl:5]_ThreadManager:
Thread[SAPEngine_System_Thread[impl:5]_69]
Task: com.sap.engine.core.thread.impl5.ActionObject - Processing Task [classname: com.sap.jms.client.connection.AsyncCloser | toString: com.sap.jms.client.connection.AsyncCloser@1a41c14] with classloader [[email protected]f854@common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore] -
SAP Cryptographic Library Vs JAVA Cryptographic Library
Hello All,
Whats the functional difference between SAP Cryptographic Library and JAVA Cryptographic Library. How they differ in fuctionality and When do we use one over the other. Naming convention says both are different but I am not sure of the functional difference. Any help in making me understand this is appriciable.
Thanks in advance.
Farooq.Well, it's pretty easy:
"SAP Cryptographic Library" (aka "SAPcryptolib") is a native library (DLL) - and therefore platform-specific. It's typically used with components such as WebAS ABAP, JCO, WebDispatcher, etc.
"Java Cryptographic Library" (aka "IAIK Toolkit") is implemented in Java. It's typically used for the WebAS Java. -
Error in "Run Java migration toolkit", doing a SAP system copy.
Hi all,
Migration to new hardware with system copy, get an error in CI installation on "Run Java Migration Toolkit".
From the sapinst.log:
ERROR 2009-05-13 12:46:47.188
FJS-00003 TypeError: ci.getInstanceDir() has no properties (in script NW_Doublestack_CI|ind|ind|ind|ind, line 120276: ???)
ERROR 2009-05-13 12:46:48.318
FCO-00011 The step InitPrivateContext with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|InitPrivateContext was executed with status ERROR .
From the sapinst_dev.log:
ERROR 2009-05-13 12:46:47.188 [iaxxejsbas.cpp:204]
FJS-00003 TypeError: ci.getInstanceDir() has no properties (in script NW_Doublestack_CI|ind|ind|ind|ind, line 120276: ???)
TRACE 2009-05-13 12:46:48.038 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 23620
ERROR 2009-05-13 12:46:48.318 [sixxcstepexecute.cpp:951]
FCO-00011 The step InitPrivateContext with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|InitPrivateContext was executed with status ERROR .
TRACE 2009-05-13 12:46:48.368 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > High-Availability System > Based on AS ABAP and AS Java > Central Instance . 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/LM/COPY/ORA/SYSTEM/HA/AS/CI. </p> </body></html>
TRACE 2009-05-13 12:46:48.368 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
I had checked the INSTANCE_NAME parameter, in every profile, and is ok.
I tried a new instalation, after importing the profiles, and checking the INSTANCE_NAME, but got the same error.
Please, advice.
Thanks in advance.
Best Regards.
JorgeThanks Manoj for your advice.
We had already checked the procedures, we are working based on the System Copy Guide: "System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP+Java".
I had to mention that source and target systems are HP-UX, 11.23, Itanium and the DataBase is Oracle 10.2.02.
The copy was made from a Central System (ABAP + Java) to a High-Availability System (ABAP + Java), and the problem appeared when copying the Central Instance.
Thanks in adavance.
Regards.
Jorge -
Installing the SAP Cryptographic Toolkit
Hello everybody,
the install guide says something about "Unpack the SAP Cryptographic Toolkit package into a local directory."
How can i unpack a CAR File?
regards,
MarkusHope this link would help
/thread/41504 [original link is broken]
You can unpack the CAr file by using sapcar.exe file available in the server
search for the file in the server
Message was edited by: Noufal Kareem -
Java system copy problems with the Java Migration Toolkit
During the JAVA system copy, we have have got the error in second last
step i.e;Java Migration Toolkit. We tried to do the system copy twice
but every time we have got the below error.
Is this a know bug? I have got the OSS note 966752 but the value
of 'src.ci.host' is already correct. has anybody come across the similar issue. please help.
" CJSlibModule::writeInfo_impl()
Output of /usr/java14_64/bin/java -
classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
com.sap.engine.offline.OfflineToolStart
com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
resume downtime mti.properties is written to the
logfile /home/cmtadm/CI_Import_08312009/runJmt.log.
WARNING 2009-09-01 20:49:43.473
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/java14_64/bin/java -
classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
com.sap.engine.offline.OfflineToolStart
com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
resume downtime mti.properties" finished with return code 27. Output:
ERROR 2009-09-01 20:49:43.477
CJSlibModule::writeError_impl()
CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
ERROR 2009-09-01 20:49:43.479
CJSlibModule::writeError_impl()
CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
ERROR 2009-09-01 20:49:43.480 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step RunMigrationController with step key
|NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|RunMigrationController was executed with status ERROR ."
There is no log file by the name runJmt.log.
Regards,
SagarThis issue was resolved by OSS note 966752 itself. Below is the important line in the OSS note.
Note: The default value is crucial! If a custom value other than the default value was applied, we highly recommend that you restore the default value.
Thanks,
Sagar -
Configuring JCo3 Connection Pool with single sign on on non SAP Java server
Hi Everyone,
i have configured a connection pool on JBoss as per JCo3 Documentation and is working great.
Now I need help to configure this connection pool with single sign on so that RFc on SAP ECC systems are executed using end users credential rather than using single user name password used to configure JCo connection pool.
On SAP Java stack I am sure its possible within Java WebDynpro and i assume using JCA resource adapter. But what if we don't want to use SAP Java App server.
Any help will be appreciated.
Thanks,
Divyakumar JainEason, 你好!
I have exactly the same problem. Did you find a solution to this problem? If so, please let me know! -
Hi there,
I'm trying to generate Java Proxies for SAPJCO using the SAP Java Connectivity Builder (JCB). I got it from the NetWeaver 6.20 Release. The tool installs and runs properly but after putting in the connection properties and klicking "next", the application hangs. When activating System output, I get the error shown below.
I already tried to put all jar files contained in the C:\JBuilder5\lib\ext directiry into the classpath (but none of them contains the class mentioned).
Which is the right (standalone) tool for generating Java Proxies for a standalone Java application?
If it is JCB, is there a bug on the version I use (NetWeaver Release 6.20)?
Any help would be apreciated.
C:\JBuilder5>java -Dlog.handler.FileLog=FileHandler,log.txt -Dlog.logger.com=ALL,FileLog -cp lib/ext/aii_basis.jar;lib/e
xt/aii_ifr_core.jar;lib/ext/aii_ifr_jbtool.jar;lib/ext/aii_lcraccess.jar;lib/ext/aii_msg_runtime.jar;lib/ext/aii_proxy_g
en.jar;lib/ext/aii_proxy_rt.jar;lib/ext/aii_util.jar;lib/ext/aii_util_log.jar;lib/ext/lcrclient.jar;lib/ext/logging.jar;
lib/ext/SapIdeHelp.jar;lib/ext/SapIdeJBUtil.jar;lib/ext/SapIdeJspInsight.jar;lib/ext/SapIdeTaglibReflection11.jar;lib/ex
t/SapIdeTracing.jar;lib/ext/SapIdeUtil.jar;lib/ext/SAPJ2EEEngineJBuilderPlugin.jar;lib/ext/sapjco.jar;lib/ext/SAPmdi.jar
;lib/ext/servlet.jar;lib/ext/tc_sec_core.jar com.sap.aii.ifr.tool.jbuilder.JBuilderTool
#0 12:35:37 [main] DEBUG com.sap.aii.util.misc.api.AIIProperties: Initial AIIProperties
com.sap.aii.client = true
#1 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.standalone" from "null" t
o "true"
#2 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.parserFactory" from "
null" to "com.inqmy.lib.jaxp.SAXParserFactoryImpl"
#3 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.transformerFactory" f
rom "null" to "com.inqmy.lib.jaxp.TransformerFactoryImpl"
#4 12:35:46 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.client.SAPNavigationPane: New file is C:\Documents and Setti
ngs\kalkoo1\Desktop\t.jar
#5 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Client : 010
#6 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Logon Name : kalkoo1
#7 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Password : #########
#8 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Language : EN
#9 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Host name: bgstsapedai01.s
t.behr.de
#10 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for System number : 20
#11 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.client.R3LogonScreen: trying to establish connection
#12 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Looking up identity
#13 12:36:08 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.util.IdentityCheck: Results of identity check: isIFRServer: false;
isIFRRMIClient: false; isStandaloneIFR: true
#14 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Checking IdentityCheck.isIFRServer. Result: f
alse
#15 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.sap.SAPConnection: connecting to system 20 on bgstsapedai01.
st.behr.de via JCo
#16 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.sap.SAPUploadSource: init MDI to System bgstsapedai01.st.be
hr.de (system=20, client=010) (BasisRelease: 620)
#17 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.UploadBuffer: new UploadBuffer
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sap/aii/ifr/client/editor/Reference
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
at java.awt.Component.access$100(Unknown Source)
at java.awt.Component$2.run(Unknown Source)
at java.awt.Component$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Unknown Source)
at java.awt.Component.<init>(Unknown Source)
at java.awt.Container.<init>(Unknown Source)
at javax.swing.JComponent.<init>(Unknown Source)
at javax.swing.JTree.<init>(Unknown Source)
at javax.swing.JTree.<init>(Unknown Source)
at com.sap.aii.ifr.navigation.IFRJTree.<init>(IFRJTree.java:84)
at com.sap.aii.ifr.navigation.IFRTreePane.buildPane(IFRTreePane.java:123)
at com.sap.aii.ifr.navigation.IFRTreePane.<init>(IFRTreePane.java:33)
at com.sap.aii.ifr.upload.client.SAPNavigationPane.<init>(SAPNavigationPane.java:43)
at com.sap.aii.ifr.upload.client.SAPBrowser.setIsConnected(SAPBrowser.java:252)
at com.sap.aii.ifr.upload.client.SAPBrowser$ConnectAction.actionPerformed(SAPBrowser.java:594)
at com.sap.aii.ifr.upload.client.SAPBrowser$NextAction.actionPerformed(SAPBrowser.java:536)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Hi,
>> Error :- java.lang.NoClassDefFoundError: com/sap/aii/security/proxy/KeystoreHelp
1) Can you check the class path you have mentioned is correctly
2) Setting of the Java in your system ( Desk top /Lap top ) check the Proxy settings
3) Re start the J2EE engine in the server
Regards
Agasthuri Doss -
Hi all,
When I use the following code
JComponent c;
FontMetrics metrics = getToolkit().getFontMetrics(c.getFont());
I get this following warning during compilation:-
warning: getFontMetrics(java.awt.Font) in java.awt.Toolkit has been deprecated
JDK suggests to use getLineMetrics() of the Font class.
But there's an issue with that: if I use getLineMetrics(), there is no API method that I can use to get the width of a string as opposed to FontMetrics which provides stringWidth(String str) method for that purpose. In fact all the methods in FontMetrics are not mapped into LineMetrics.
Could anyone please help or provide me at least some pointers on how to tackle this issue so that I can get rid of the deprecated method along with the existing methods mapped to equivalent APIs? The bottomline is that I should be able to maintain the existing functinality of my application for those part of code that uses getToolkit().getFontMetrics().
Thank you for your help in advance.
-Sanjoy DasUse Graphics.getFontMetrics(font) instead.
After creation your frame and calling frame.show();
You can access it like that
frame.show();
frame.getGraphics().getFontMetrics(new Font("Arial",0,10));
before showing graphics is null.
Or just create a BufferedImage and ask it for graphics.
BufferedImage img=new BufferedImage(...);
img.getGraphics().getFontMetrics(font);
regards
Stas
Maybe you are looking for
-
I accidently hit do not save password on my iphone when I do want to save
I accidently hit do not save password for this website on my iphone and I am trying to figure out how to clear that so I can save my password for that website. I have tried resetting, clearing cookies and cache and nothing works. Any ideas?
-
I am trying to clear out all remnants of old software, before upgrading to Snow Leopard. (I don't want to do a clean install, just put everything in order before doing a normal one.) For example, I discovered that my trial of Retrospect 8 had left th
-
Hello, I have a large pdf, 2mb and I would like to be able to send this through email easily so I was hoping to be able to size it smaller. I was told that I could use "save as" and it would convert smaller but that application in Adobe Reader was "s
-
My Safari is not working right. It often stalls and I get the "colored spinning wheel of Death". I send reports to Apple, but I never get any response or helpful info. What do I do to get Safari working correctly on my MacBook laptop?
-
Page link on press to play swf animation
Hello, I'm pretty sure I can do this in Flash but was thinking of doing it in Dreamweaver for seo purposes. When each page link is pressed the animation will play, obviously before going to the directed page. Any pointers anyone? Many Thanks and kind