Dynamic Java Connector set up issue

GermanFRios

Member
I am trying to create a java program to test the JDE dynamic java connector in 8.96, but using the sample code from the documentation i get stuck to the point where it attempts to establish a session:
int sessionID = Connector.getInstance().login("user", "password", "env","*ALL");

It compiles and I added all the required jar into my project but when I run I get:
com.jdedwards.system.connector.dynamic.ServerFailureException: Cannot connect to any OneWorld Security Server.FAILURE: null

I also set up the parameters in jdeinterop.ini for the EnterpriseOne server. The user is a valid user and I have connection to that server

[SERVER]
glossaryTextServer=WTDV0207:5207
codePage=1252

Any ideas why I can't connect?
 
Did you figure it out yet?
If not you may want to have a look at chapter 13 "Understanding jdeinterop.ini for Java Connector" in the "JD Edwards EnterpriseOne Tools 8.96 Connectors Guide" available on oracle.com.

Specifically I think you need to set up some more parameters correctly in jdeinterop.ini, e.g. under the sections [SECURITY] and [INTEROP] where you also need to specify the servers.

--
Thomas
 
Back
Top