Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

DATA_SOURCE

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
unavailable Exception:Initializing application data source org.apache.struts.action.DATA_SOURCE

this is the error which i encounter when im trying to connect to the Microsoft Access db.Im using weblogic to deploy my application.
I have tried connecting it using Drivermanager class which is working fine
but when im trying to use <data-source> tag in struts-config.xml file it gives this error.I think the problem is with the url specified....
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what version of struts u r using.DataSource dontwork in 1.2 version
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll give you the same advice I give everyone who has problems with a Struts Datasource: Don't use it.

Each application server has it's own quirks about how datasources are set up, and it's ultimately the application server's job to maintain datasources.

Look in your WebLogic documentation, and follow BEA's instructions for setting up a datasource.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic