dbTalk Databases Forums  

UnsatisfiedLinkError while using XA in an App Server environment

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss UnsatisfiedLinkError while using XA in an App Server environment in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Prashant Ponnala
 
Posts: n/a

Default UnsatisfiedLinkError while using XA in an App Server environment - 08-22-2003 , 09:56 PM






I am trying to run XA in a App Server using UDB 8.1 Fixpack 0 on
Windows.
I see the UnsatisfiedLinkError in the log file.

Some posts have mentioned to check if the db2java.zip is of the same
version as the server/client however in 8.1 there is only one
db2java.zip unlike 7.1
which I believe is correct in my environment.

Others have mentioned to run the window which starts the app server
after setting the db2profile.

If anyone have any clues or can eloborate on any of the suggestions it
would be of great help.

Regards

Reply With Quote
  #2  
Old   
Fan Ruo Xin
 
Posts: n/a

Default Re: UnsatisfiedLinkError while using XA in an App Server environment - 08-23-2003 , 08:46 AM






Prashant,
This error should follow with the Library Name. So which Library?
I guess it is a DB2 library. That is why it makes sense some person
suggestd to run db2profile.
Are your Application Server and DB2 UDB server in the same box?
Regards,
Fan RX

Prashant Ponnala wrote:

Quote:
I am trying to run XA in a App Server using UDB 8.1 Fixpack 0 on
Windows.
I see the UnsatisfiedLinkError in the log file.

Some posts have mentioned to check if the db2java.zip is of the same
version as the server/client however in 8.1 there is only one
db2java.zip unlike 7.1
which I believe is correct in my environment.

Others have mentioned to run the window which starts the app server
after setting the db2profile.

If anyone have any clues or can eloborate on any of the suggestions it
would be of great help.

Regards


Reply With Quote
  #3  
Old   
Prashant Ponnala
 
Posts: n/a

Default Re: UnsatisfiedLinkError while using XA in an App Server environment - 08-26-2003 , 02:35 AM



Fan RX,
Thanks for the reply. I am running on the same machine and I donot
have the problem when I run a stand alone app. I figure that the
path/classpath which are set by DB2 are not being seen by the
appserver. However the question which library? I couldn't figure out
which library from the stacktrace.

any ideas would be helpful.

regards,

Fan Ruo Xin <fanruox (AT) sbcglobal (DOT) net> wrote

Quote:
Prashant,
This error should follow with the Library Name. So which Library?
I guess it is a DB2 library. That is why it makes sense some person
suggestd to run db2profile.
Are your Application Server and DB2 UDB server in the same box?
Regards,
Fan RX

Prashant Ponnala wrote:

I am trying to run XA in a App Server using UDB 8.1 Fixpack 0 on
Windows.
I see the UnsatisfiedLinkError in the log file.

Some posts have mentioned to check if the db2java.zip is of the same
version as the server/client however in 8.1 there is only one
db2java.zip unlike 7.1
which I believe is correct in my environment.

Others have mentioned to run the window which starts the app server
after setting the db2profile.

If anyone have any clues or can eloborate on any of the suggestions it
would be of great help.

Regards

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.