Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sirs,

I cannot call my dbserver..

Firstly I build Web server virtual machine and then build AP server virtual machine.

In AP server, I used Jboss and JDBC(postgresql-9.3-1102-jdbc4.jar)

And then I deploy my war file under /usr/share/jboss-as/jboss-eap-6.2/standalone/deployment/sample.war

And then I place my jar file under /usr/share/jboss-as/jboss-eap-6.2/standalone/deployment/sample.war/WEB-INF/lib/postgresql-9.3-1102-jdbc4.jar

I configured all of file.. such as module.xml and standalone.xml in apserver.

I then I build DB Server virtual machine.. I configured all of file from db server such as.. pg_hba.conf and postgresql.conf and then I start my postgresql and I closed firewall and selinux .. And then I call AP server from Web server using firefox browser..It is ok.. And then I call Web server from AP server jsp file..
In jsp file I connect jdbc .. but I cannot call ... I saw all JDBC Driver not found..
I make class file is ok..
using command==> javac -cp '.:postgresql-9.3-1102-jdbc4.jar' Test.java
java -cp '.:postgresql-9.3-1102-jdbc4.jar' Test

After typing above command I found my data from db server..
But when I call my jsp file from web browser I cannot call ...
Driver not found error occur...
But java file and jsp file setting is same..

Thanks you all..

Kindly reply me...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900