on 07-28-2009 4:03 AM
Hi, I have some problem with sapjco. When I start the application I have an error: u201Cjava.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
access denied (java.util.PropertyPermission jco.middleware_library read)
at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)
at app_draw.connect(app_draw.java:44)
at app_draw.start(app_draw.java:18)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)u201D
I use sapjco 2.1.8.
I start sapjco.jar from command string (java u2013jar sapjco.jar) SAPJCo application open. In the PATH block there are there are tree points: JCo classes, JCo library, RFC library. Opposite RFC library the system written u201CSystem-defined pathu201D
Thank you for your answers.
Do you ever use SAP JCo in your projects?
Can you give me a root to deploy the archives (two dll, and sapjco.jar)
I use Windows XP, jre6.
Thank you for you attention.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please refer the following link
http://help.sap.com/saphelp_nw04/Helpdata/EN/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
Regards
Manohar
Hi,
These exceptions typically occur when different versions of sapjcorfc.dll and sapjco.jar have been installed. Anytime the JCo connector is upgraded to a new version, you need to ensure that all three libraries are updated (librfc32.dll, sapjcorfc.dll, and sapjco.jar). If any are left at the older version, one of the above exceptions is likely to occur.
regards
Manohar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but it couldnu2019t help me.
I have 3 files from the same archive.
Iu2019ve copy librfc32.dll and sapjcorfc.dll into c:\windows\system32
Check the PATH.
Nothing happened (the same trouble) when I start my application with sapjco.jar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Glavin,
in that link what i posted to u there are some more links u have u can refer those also
in my point of u ther is path problem. application is unable to get the absolute path
refer this wikki u wll get some idea
https://wiki.sdn.sap.com/wiki/display/EP/PointersforTroubleshootingPortalRuntime+Errors
bvr
hi Glavin,
this may be the one of the reason
http://searchsap.techtarget.com/generic/0,295582,sid21_gci1096472,00.html#
let me know u need any further information
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.