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

The driver must be assigned before the URL.

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm using Resin-3.0.12 and trying to define a <resource-ref> in my web.xml. But I always get this error message 'The driver must be assigned before the URL.'. I don't know where went wrong. Below is my web.xml. Thanks in advance.

<?xml version="1.0" encoding="ISO-8859-1"?>
<init-param driver-name="oracle.jdbc.driver.OracleDriver"/>
<init-param url="jdbc racle:thin:@xxx.xxx.xxx.xxx:1521:SID"/>
<init-param user="user"/>
<init-param password="password"/>
<init-param max-connections="20"/>
<init-param max-idle-time="30"/>

I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic