NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
phiri
Joined: 04 Mar 2011 Posts: 4 Location: Cape Town, South Africa
|
Posted: Sat Mar 05, 2011 6:11 pm Post subject: Cannot deploy the JDBC driver to /usr/share/tomcat6/lib/mysql-connector-java-5.1.6-bin.jar. |
|
|
I am trying to create a simple web application that connects to a MySQL database, but I seem to have issues deploying the JDBC driver from netbeans. Error details are below and my environment details are below as well.
OS: Ubuntu 10.10
IDE:
Product Version: NetBeans IDE 6.9 (Build 201007282301)
Java: 1.6.0_20; OpenJDK Client VM 19.0-b09
System: Linux version 2.6.35-25-generic running on i386; UTF-8; en_ZA (nb)
Userdir: /home/phiri/.netbeans/6.9
| Code: |
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Checking data source definitions for missing JDBC drivers...
Deploying JDBC driver to /usr/share/tomcat6/lib/mysql-connector-java-5.1.6-bin.jar
WARNING: Cannot deploy the JDBC driver to /usr/share/tomcat6/lib/mysql-connector-java-5.1.6-bin.jar.
Check whether you have write access rights to the /usr/share/tomcat6/lib folder.
Undeploying ...
undeploy?path=/IFPWAFCAD
OK - Undeployed application at context path /IFPWAFCAD
In-place deployment at /home/phiri/NetBeansProjects/IFPWAFCAD/build/web
deploy?config=file%3A%2Ftmp%2Fcontext8218556468631423485.xml&path=/IFPWAFCAD
OK - Deployed application at context path /IFPWAFCAD
Start is in progress...
start?path=/IFPWAFCAD
OK - Started application at context path /IFPWAFCAD
run-deploy:
BUILD SUCCESSFUL (total time: 0 seconds)
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|