Q
Problem solve Get help with specific problems with your technologies, process and projects.

Recognizing middleware exception when porting JCo code

How do I resolve a middleware exception when porting JCo code from Windows to UNIX? Find out in this expert response from Austin Sincock.

How do I resolve a middleware exception when porting JCo code from Windows to UNIX?

This is a common problem that usually indicates an incomplete installation of the JCo connector on the UNIX platform. You have probably already installed the sapjco.jar file into your Java classpath, but you have likely missed the native RFC library installation.

Depending on the UNIX OS, the file extensions will differ, however you must point the environment variable LD_LIBRARY_PATH to the JCo connector install directory. This directory should include the .o or .so library files used by the JCo middleware. The environment variable name varies by platform, so check the JCo install guide for your specific operatiing system.

This was last published in April 2004

Dig Deeper on SAP Java and J2EE

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close