Advertisement

06.19.2005 at 11:16PM PDT, ID: 21463641
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Configuration of jdbc and data source on websphere 6.0

Tags: websphere, jdbc
i deployed an aplication on webspere 6.0 but i dont know the steps to configure my jdbc and data source. i am using websphare on window 2000 and db2 on window please help me out
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: itgi
Solution Provided By: Scott_Knaffla
Participating Experts: 2
Solution Grade: C
Views: 278
Translate:
Loading Advertisement...
06.21.2005 at 08:32AM PDT, ID: 14266922

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.22.2005 at 08:48PM PDT, ID: 14281321

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.23.2005 at 05:35AM PDT, ID: 14283313

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.27.2005 at 04:06AM PDT, ID: 14307229

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.08.2005 at 06:56AM PDT, ID: 14397057

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
06.21.2005 at 08:32AM PDT, ID: 14266922

Rank: Master

You'll need to go to the admin console.  Go to resources.  JDBC providers.  Add a provider.  Pick DB2.  Point to your db2 driver (db2java.zip).  Once you've created the provider, click on it.  Then expand the datasources node under it.  There won't be any.  Click add to add a datasource.  Give the datasource a name and the SAME JNDI name as specified in your code.  For name, specify the db2 alias you created with Client Configuration Assistant.

I'm assuming that you aren't using resource refs because otherwise you wouldn't have been able to deploy your application in the first place.  After you get this working you can try using resource refs ... it's the preferred way.
 
06.22.2005 at 08:48PM PDT, ID: 14281321
I am not able to point db2java.zip, There are these setting to do

${DB2UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc.jar
${UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc_license_cu.jar
${DB2UNIVERSAL_JDBC_DRIVER_PATH}/db2jcc_license_cisuz.jar

Please provide me the steps how to configure them
when i test the connection following error comes

java.lang.classNotFoundException:com.ibm.db2.jcc.DB2ConnectionPooldataSource

when i copy the db2jcc.jar from db2 server to my PC in c:\workdir and select class path c:\workdir then following error is coming

est connection failed for data source claim on server server1 at node ISRARNode01 with the following exception: java.lang.Exception: java.sql.SQLException: Expired JDBC driver. IBM DB2 JDBC Universal Driver Architecture 1.2.34 Test Build expired on Sun Jun 01 00:00:00 PDT 2003DSRA0010E: SQL State = null, Error Code = -99,999. View JVM logs for further detail


please help me out

 
06.23.2005 at 05:35AM PDT, ID: 14283313

Rank: Master

My bad ... I assumed you were using the Type 2 driver.  In you want to use universal driver, db2jcc.jar is fine.  What platform is you DB2?  I'm assuming it's version 8.  I think you misspelled com.ibm.db2.jcc.DB2ConnectionPooldataSource .... Should be a capital D in DataSource...

I think you may have the wrong license file...you have to copy both the db2jcc.jar and the license file to the computer where you have the server installed.  The database platform determines which license file to use.
 
06.27.2005 at 04:06AM PDT, ID: 14307229
Provider is created sucessfully when i strat my applcation it open first loging page.
when i submit the page after giving log id and password it hit to login servlet but
dont show any thing

System out  showing error :


[6/27/05 15:33:31:984 PDT] 0000002b WebApp        E   SRVE0026E: [Servlet Error]-[login]: java.lang.NoClassDefFoundError: com/ibm/db2/jcc/SQLJContext
      at com.ibm.ws.rsadapter.spi.InternalDB2UniversalDataStoreHelper.createJDBCConnectionWrapper(InternalDB2UniversalDataStoreHelper.java:348)
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.getConnection(WSRdbManagedConnectionImpl.java:2558)
      at com.ibm.ejs.j2c.MCWrapper.getConnection(MCWrapper.java:1663)
      at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:578)
      at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:328)
      at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:297)
      at pre_emptive.xap.dbUtil.DBConn.getPooledConnection(DBConn.java:51)
      at pre_emptive.xap.dbUtil.DBConn.getConnection(DBConn.java:81)
      at pre_emptive.xap.xsm.UAM.doLogin(UAM.java:154)
      at pre_emptive.xap.xsm.Login.doPost(Login.java:173)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

[6/27/05 15:33:32:031 PDT] 0000002b SRTServletRes W   WARNING: Cannot set status. Response already committed.


Please help me out
 
07.08.2005 at 06:56AM PDT, ID: 14397057
The java.lang.NoClassDefFoundError makes me think that your
DB2UNIVERSAL_JDBC_DRIVER_PATH or UNIVERSAL_JDBC_DRIVER_PATH
is not set correctly.

It may also be a scoping issue, For example if you have your Driver at the
cell level and your variables at the server or node level.

Hope this helps and gives you some more ideas to look at ...

  - Scott
Accepted Solution
 
 
20080236-EE-VQP-29