File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pooling using datasource with JNDI - Jboss server

 
K Padmavathi
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic