java - Exception while Deploying ear on glassfish server of amazon cloud -
we working on java technology , have created enterprise application in java. created instances on amazon aws. have following hosts our web enterpeise application on amazon
server amazon= ec2-54-235-50-8.compute-1.amazonaws.com mysql= mysqld@ec2-23-23-65-23.compute-1.amazonaws.com
we have created jdbc connection pool on glassfish follows
when ping jdbc connetction pool giving following exception "class name wrong or class path not set com.mysql.jdbc.mysqldatasource".
try this:
cd ./glassfish3/glassfish/domain/domainl/lib wget http://mysql.llarian.net/downloads/connector-j/mysql-connector-java-5.1.18.zip unzip mysql-connector-java-5.1.18.zip mv ./glassfish3/glassfish/domain/domainl/lib/mysql-connector-java-5.1.18/mysql-connector-java-5.1.18-bin.jar ./glassfish3/glassfish/domain/domainl/lib
by u mysql-coonector-java.jar
file in lib folder.
Comments
Post a Comment