JDBC Recourse Websphere 6.1.0.5 - nullpointerException
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > JDBC Recourse Websphere 6.1.0.5 - nullpointerException




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    JDBC Recourse Websphere 6.1.0.5 - nullpointerException  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-23-07 06:23 PM

Hi all,

I can't seem to make a DataBase connection.
I perform the following steps:

1) create a new JDBC resource
- Database type: Oracle
- Provider type: Oracle JDBC Driver
- Implementation type: Connection pool datasource

2) Here it goes wrong, providing the directory location for ojdbc14.jar
I've placed the jar file in C:\MilesWS (C:\MilesWs\ojdbc14.jar)
And entered the following C:/MilesWS
(or C:\MilesWS or C:\\MilesWr or C://MilesWS) below
'Directory location for "ojdbc14.jar" which is saved as WebSphere variable
${ORACLE_JDBC_DRIVER_PATH}'

after clicking finish on the summary page I get a:

DSRA3601E: createJDBCProvider command failed for the following reason: java.
lang.NullPointerException.

I've also tried to provide C:\MilesWS as a value for ORACLE_JDBC_DRIVER_PATH
via the environment variable's of websphere. But same result.

Even reļnstalling the entire websphere didn't help. I realy don't have any i
dea how this error can occur. The file is on the specified location. I've tr
ied other locations as wel, same result.

The same configuration worked wel on Websphere 5.1 but now on Websphere 6.1.
0.5 I can't seem to get it running.

Any help is greatly appreciated!

regards,

Erik







[ Post a follow-up to this message ]



    Re: JDBC Recourse Websphere 6.1.0.5 - nullpointerException  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-28-07 12:21 PM

Nobody with the same problem?

Can someone perhaps post his settings (the effective location, and the url s
tring provided via the admin console), so I can ensure that I'm doing it rig
ht?

thanks





[ Post a follow-up to this message ]



    Re: JDBC Recourse Websphere 6.1.0.5 - nullpointerException  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-28-07 06:19 PM

Ok, I finally found the problem.

As still being a student (doing an internship) I'm not so familiar with clas
sloading stuff. The problem here was a classloading issue.

The company has been using Webphere 5.x and I was the first migrating to Web
sphere 6. When configuring websphere 6 I used the value's that were used in 
Websphere 5.

In WAS 5 they were using a single classloader + there were added jar's to th
e bootpath. (JDOM,SAXEN...)

When I made changes via the admin console webphere used the jar's in the boo
tpath. And appearently there was an incompatibilty when it tried to write th
e changes for the JDBC datasource.

After removing the jar's from the bootpath I could make the changes. Then pl
ace the jar's back in the bootpath and now everything is running.. finaly :-
)







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register