• 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

Connection pooling using datasource with JNDI - Jboss server

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need one help from you. In JDBC connection pool using jboss server, It is compiled successfully but when I am trying to run that program it is showing request resourse not found (DSMain1.java) but it is there in .war file (WEB-INF folder). please tel me the solution.

I placed mysql-ds.xml file in server/default/deploy.
mysql-ds.xml



java classes are

DSUtil.java


DSMain.java


I added all .jar to the class path. please tel me solution........

it is showing the error

HTTP Status 404 - /JDBCConnectionPool/WEB-INF/classes/DSMain1.java
--------------------------------------------------------------------------------
type Status report
message /JDBCConnectionPool/WEB-INF/classes/DSMain1.java
description The requested resource (/JDBCConnectionPool/WEB-INF/classes/DSMain1.java) is not available.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error message you posted comes from a browser, but the DSMain1 class you posted is for a standalone Java application. It appears that you are trying to run a standalone Java class as a servlet, you cannot do that.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic