• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

WS4 startup problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the exception below while starting the admin server. Any ideas whats causing this ? I also tried restarting db2 using the db2stop / db2start commands.
************* End Display Current Environment *************
[2/8/04 17:38:18:306 GMT+03:00] 758500 Server U Version : 4.0.5
[2/8/04 17:38:18:312 GMT+03:00] 758500 Server U Edition: Advanced Edition for Multiplatforms
[2/8/04 17:38:18:315 GMT+03:00] 758500 Server U Build date: Fri Nov 22 00:00:00 GMT+03:00 2002
[2/8/04 17:38:18:316 GMT+03:00] 758500 Server U Build number: ptf50246.04
[2/8/04 17:38:19:254 GMT+03:00] 758500 ORBRas W com.ibm.CORBA.iiop.Util Util P=98580 =0:CT JORB0012: Pass by reference has been set to: true (NoLocalCopies = true)
[2/8/04 17:38:22:974 GMT+03:00] 758500 AdminServer X WSVR0009E: Error occurred during startup
java.lang.NullPointerException
at COM.ibm.db2.jdbc.DB2PooledConnection.close(DB2PooledConnection.java:235)
at com.ibm.ejs.cm.portability.PortabilityLayerImpl.getInstance(PortabilityLayerImpl.java:1019)
at com.ibm.ejs.cm.portability.PortabilityLayerFactory.getPortabilityLayer(PortabilityLayerFactory.java:62)
at com.ibm.ejs.cm.JDBC1PhaseRF.createConnectionFactory(JDBC1PhaseRF.java:57)
at com.ibm.ejs.cm.DataSourceImpl$3.run(DataSourceImpl.java:219)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.cm.DataSourceImpl.getSource(DataSourceImpl.java:217)
at com.ibm.ejs.cm.DataSourceImpl$1.run(DataSourceImpl.java:135)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:133)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:102)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:206)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminServer.java:1178)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:945)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:408)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java:1147)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:401)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
[2/8/04 17:38:23:046 GMT+03:00] 758500 AdminServer F WSVR0067E: Failed to initialize WebSphere Administration server
[2/8/04 17:38:23:095 GMT+03:00] 758500 SystemOut U WSVR0067E: Failed to initialize WebSphere Administration server
java.lang.Throwable
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1570)
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1455)
at com.ibm.ejs.ras.Tr.fatal(Tr.java:907)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:415)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There seems to be problem with DB2 jdbc driver, have you upgraded the jdbc level :
Update the JDBC level IBM WebSphere Application Server V4.0 requires JDBC2.0, whereas the default installation of IBM DB2 uses JDBC1.2. To update the DB2 JDBC level, complete the following
steps: 1. Stop the DB2 JDBC Applet Server Windows service as follows: D:\> net stop "DB2 JDBC Applet Server"
2. In a command window, change to the <db2_install_path>\java12 directory where you installed DB2 and the type the following command: <db2_install_path>\java12\> usejdbc2.bat
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am also facing the same problem. But it could not be resolved after following the above steps. Can u please help me out?
Thanks in Advance.
Aravind
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am also getting the same kind of problem. It happened after i changed the password for db2admin. probably we have to do some change some parameter in db2. If anyof you has any solution please share with us.
Thanks
Karthick
 
Arvind Shukla
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you check whether db2java.zip is in classpath. Refer admin.config, and make sure that all db2 related libraries are in classpath.
Also check (in case you ahve changed db2 password) :
1. After changing db2admin password, did you see whether admin.config file is modified properly to connect to db repository. Check which schema you are using inside admin.config for storing config data.
2. If you have just installed WAS V4, have u done what I specified above.
3. Check whether your DB2 services are properly started, go to services and try to start all the services, also go to db2 command line processor (I suppose you are on windows), if on unix, then go to db2 prompt and connect to WAS db repository, do "list tables for all" or "list tables", check whether WAS tables have been there and also their data is accessible.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Could someone let me know where in the WAS4.0 installation DB is being created ?

When I went to DB2 command line here's what I get...

db2 => list tables
SQL1024N A database connection does not exist. SQLSTATE=08003

Thanks
Mefdo
 
bacon. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!