• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Websphere 4 exception

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, I am frequently getting this exception and I am not able to start my application server (Websphere 4.0 ) ..."Error occurred during startup
java.lang.IllegalAccessError: try to access field COM/ibm/db2/jdbc/app/DB2Driver.loaded from class COM/ibm/db2/jdbc/DB2BaseDataSource ".
Can anyone give me a solution for this. Even if I reinstall the application server after a few days I am getting this error again.
Regds
Shiva
************ End Display Current Environment *************
[02.06.10 10:21:49:218 GMT+05:30] 351d975b Server U Version : 4.0.1
[02.06.10 10:21:49:279 GMT+05:30] 351d975b Server U Edition: Advanced Edition for Multiplatforms
[02.06.10 10:21:49:289 GMT+05:30] 351d975b Server U Build date: Thu Aug 09 00:00:00 GMT+05:30 2001
[02.06.10 10:21:49:289 GMT+05:30] 351d975b Server U Build number: a0131.07
[02.06.10 10:21:50:030 GMT+05:30] 351d975b ORBRas W com.ibm.CORBA.iiop.Util Util P=709629 =0:CT JORB0012: Pass by reference has been set to: true (NoLocalCopies = true)
[02.06.10 10:21:52:493 GMT+05:30] 351d975b AdminServer X WSVR0009E:
at COM.ibm.db2.jdbc.DB2BaseDataSource.isLoaded(DB2BaseDataSource.java:354)
at COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource.getPooledConnection(DB2ConnectionPoolDataSource.java:100)
at com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectionFactory.java:42)
at com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:914)
at com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.java:846)
at com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:764)
at com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:676)
at com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:610)
at com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:274)
at com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:269)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:99)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:206)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminServer.java:1135)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:943)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:407)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java:1104)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:882)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:391)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
[02.06.10 10:21:52:633 GMT+05:30] 351d975b AdminServer F WSVR0067E: Failed to initialize WebSphere Administration server
 
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shiva,
Were you ever able to solve this problem. I am having a similar problem when my application makes a request to an EJB. I am running WebSphere 4.1 sp3 going against DB2 sp7 on AIX. I see by your stack trace that you are also using DB2. By the exception I am getting, it looks like there is a problem trying to access a method setClosed() in DB2Connection class. I was able to decompile the DB2Connection class and look at the access modifier for setClosed(). The method is synchronized, so does this meaning there is some threading issue??? Here is the stack trace I get from WebSphere:

Thanks,
Barry
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic