• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS 5.0 Connection Pool set up

 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to set up a connection pool using the WAS 5.0 admin console as I am now migrating several apps from 4.5 to 5.0. Problem is, when I try to test a data source I have set up I get the following error:
java.lang.NullPointerException
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.extractWCCMCommonInfo(DataSourceConfigHelperMBean.java:598)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:363)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at java.lang.reflect.Method.invoke(Native Method)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:658)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at com.ibm.ws.console.resources.jdbc.DataSourceCollectionAction.perform(DataSourceCollectionAction.java:219)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[5/29/03 8:15:17:375 CDT] 1be2cdcc SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
I am setting it up using the Data Source (version 4) method and it seems very self explanatory and simular to the set up on WAS 4.0. Can anyone offer any suggestions?
Thanks in advance.
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And I have a follow-up...
when setting up the Connection, I noticed that default user id and password were eliminated. Any ideas on how to use this?
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read in the InfoCenter about JAAS Authentication Aliases. You set them up and then use them where it says "Container-Managed Authentication" or "Component-Managed Authentication".
Kyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic