facebook

[Closed] Application not working in 4.1.0 GA

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245759 Reply

    MCI-IA
    Member

    Hi,

    Our application (EAR) works fine with the older Myeclipse version (3.8) and with JBOSS 3 as well as with JBoss 4. I have installed the new version of Myeclipse (4.1.0 GA) and trying to bring up my application but it is not working. I am getting the following error <b>”Failure in loading T2 native library db2jcct2″. </b>This error is not related with the DB Explorer, this error comes up during the EAR deployment (we have a DB2 connection while bringing up the SERVER to load some application level data into the Server).

    I have checked my System Classpath and it does have all the DB2 driver classes and necessary *.dll directory in it.

    When I manually start the server from the JBoss 3 or JBoss 4 Bin directory then my application comes up without any error. The above error is coming up only when I start the JBoss server via Myeclipse 4.1.0.

    Please let me know what is the cause of this error.

    Thanks in advance.

    #245764

    Riyad Kalla
    Member

    The reason is that you most likely need to add the directory that containst he db2jcct2 DLL to the Library Path for JBoss 3 and/or 4. To do that, you need to navigate to Window > Prefs > MyEclipse > Application Servers > JBoss 3/4 > Paths, the last box “Append to Library Path”, click Add and select the dir with that DLL in it. Then restart your app server and try your application again.

    #245855

    MCI-IA
    Member

    Riyad,

    Thanks for you help. Yes, it did work now. I added the DLL parent directory to the Library path and now the application comes up without any error. Looks like the older version of Myeclipse was getting the DLL in the path by looking at my Windows system path. The new Eclipse is expecting explicitly in the Library path of it’s own.

    Anyway, thanks again for your suggestion.

    #245858

    Riyad Kalla
    Member

    Glad it’s working now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Application not working in 4.1.0 GA

You must be logged in to post in the forum log in