🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19050

java.lang.noClassDefFoundError???

#19050
From: Brent Thompson
Date: Tue, 17 Mar 1998 00:00
60 lines
2406 bytes
  Has anyone had any experience with rogue wave and servlets.

I'm using roguewave jdbtools,  WinNT4.0 SP_3, and jbuilder professional
1.01



I can compile the rogue wave examples with no problems.
When I try and open up a server connection in a servlet I get the
following
run time error:

"java.lang.noClassDefFoundError"

the problem is in the DBCManager.createServer statement.

Does anyone have any suggestions.  All the code compiles fine.

It is a very simple example from their tutorial,  here is part of the
code,
which is called from a servlet.

.....

import com.roguewave.jdbtools.v2_0.jdbc.JDBCManager;
import com.roguewave.jdbtools.v2_0.Server;
import com.roguewave.jdbtools.v2_0.Connection;
import com.roguewave.jdbtools.v2_0.ConnectionPool;
import com.roguewave.jdbtools.v2_0.LoginFailureException;

.........

    try{
      Server server = JDBCManager.createServer(
                         JDBCManager.DATABASE_SYBASE,
                         url,
                         JDBC_Driver,
                         "aname");

      ConnectionPool connPool = server.createPool (username,
                                                       password,
                                                       "sales",
                                                       5,
                                                       "thename",
                                                       true
                                                      );
      Connection conn = connPool.getConnection ();
   }
      catch(ClassNotFoundException exc){
      System.out.println(">>ERROR 1 " + exc);
            exc.printStackTrace ();

      }
      catch(LoginFailureException e){
      System.out.println(">>ERROR 2 " + e);
      e.printStackTrace ();

    }
}
Technical Details
Message-ID: <350EFEE7.47F7907E@agency.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <350AAB4D.34D1@t-online.de> <350AE2D8.E0CDEA8@ForAWhile.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,cb2337682aa6abed
X-Google-Attributes: gidf74b3,public
From: Brent Thompson <brent@agency.com>
Subject: java.lang.noClassDefFoundError???
Date: 1998/03/17
Message-ID: <350EFEE7.47F7907E@agency.com>
X-Deja-AN: 335041863
Content-Transfer-Encoding: 7bit
References: <350AAB4D.34D1@t-online.de> <350AE2D8.E0CDEA8@ForAWhile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language