Skip to Content
Former Member
Oct 18, 2007 at 01:27 PM

Can't get jdbc connection to work


hi everyone,

it's me again (last time for today i hope).

I can't seem to connect to my database.

I get an exception when trying to make the connection to it.

Here is the exception:

<i>java.lang.ClassNotFoundException: -

Loader Info -

ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@7da8fa] Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@4bc52b] References: not registered! Resources: F:\usr\sap\CPD\JC00\j2ee\cluster\server0\apps\\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\ZwiwTry\private\lib\ZwiwTrycore.jar

I downloaded the jdbc drivers an put the msbase.jar, mssqlserver.jar and msutil.jar on my classpath.

Here is the classname i use and the url


String url = "jdbc:microsoft:sqlserver://;databaseName=ZWIWDataBase";

connection = DriverManager.getConnection(url);

Do you see any problems?

Thank you