Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ellipse Java Middleware for Windows

Status
Not open for further replies.

TheJon

Programmer
Mar 11, 2002
71
GB
Using Mincom Connector with Java Middleware 1_06_0001 and experiencing problems.

I want to use the Tuxedo native connection. I assume a version of Tuxedo Client needs to be installed locally. Does anyone know if a specific version will have to be used?

I also have a question about setting up the environment. When making the call to getMimsSession to use the native Tuxedo components, upon compiling and running I get errors trying to access "wintuxjni.dll". Stack trace as follows:

Code:
java.lang.UnsatisfiedLinkError: no wintuxjni in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
	at java.lang.Runtime.loadLibrary0(Runtime.java:772)
	at java.lang.System.loadLibrary(System.java:832)
	at com.mincom.mims.tech.mware.tux.TuxNativeSession.<clinit>(TuxNativeSession.java:77)
	at com.mincom.mims.tech.mware.tux.TuxSession.connect(TuxSession.java:121)
	at GetMimsInstance.processRequest(GetMimsInstance.java:75)
	at GetMimsInstance.main(GetMimsInstance.java:43)

I see that the file wintuxjni.dll is within the middleware .jar file.

Note I am testing this connection through the Eclipse Java IDE, j2sdk1.4.0_01. on Windows NT4.

I have checked these 2 threads about Java Middleware


and


which show that what I want to do is possible, but I am still missing something...
 
Found out the answers:

Yes, tuxedo client needs ot be installed locally, and the environment variable TUXDIR set up with the location of the tuxedo installation directory, and the bin directory added to the PATH environment variable.

Wintuxjni.dll needs to be extracted from the .jar file, and placed in the same directory as the .jar file. This directory needs to be added to the PATH environment variable.

The Jon



Code:
|_ |_  _  | _  _
|, | )(/, |(_)| )
          '
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top