NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot deploy the JDBC driver to /usr/share/tomcat6/lib/mysql-connector-java-5.1.6-bin.jar.

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
phiri



Joined: 04 Mar 2011
Posts: 4
Location: Cape Town, South Africa

PostPosted: Sat Mar 05, 2011 7:58 pm    Post subject: Cannot deploy the JDBC driver to /usr/share/tomcat6/lib/mysql-connector-java-5.1.6-bin.jar. Reply with quote

So I am new on NetBeans Forums and I accidentally posted this question in the NetBeans Users forums.

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo