Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 71407 invoked from network); 12 Feb 2011 16:09:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2011 16:09:13 -0000 Received: (qmail 39744 invoked by uid 500); 12 Feb 2011 16:09:13 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 39338 invoked by uid 500); 12 Feb 2011 16:09:10 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 39324 invoked by uid 99); 12 Feb 2011 16:09:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Feb 2011 16:09:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Feb 2011 16:09:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PoI1a-0002I9-Ti for derby-user@db.apache.org; Sat, 12 Feb 2011 08:08:42 -0800 Message-ID: <30909596.post@talk.nabble.com> Date: Sat, 12 Feb 2011 08:08:42 -0800 (PST) From: gbattinelli To: derby-user@db.apache.org Subject: can't accesso to derby db folder... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: giuseppe.battinelli@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, I've a problem with generating jar perfectly working outside netbeans ide. I developed a javafx application with netneans and this application use derby db through hibernate. Under Netbeans everything works fine. In the root of my project folder i've database folder, dbderby (with his subfolders). Following this tutorial http://download.oracle.com/javafx/1.3/tutorials/deployment/deploy-outside-ide.html I created a new folder, I put into it application.jar and lib folder from dist and db folder...so in the new folder I've (at same level) application.jar lib (folder) applicationdb(folder) I run C:\Program Files (x86)\NetBeans 6.9.1\javafx\javafx-sdk\bin>javafx -classpath c: \application\application.jar application.Main and application starts correctly. When I click on button to interact with db an exception occurrs, saying it can't find db GRAVE: could not get database metadata java.sql.SQLException: Database 'applicationdb'(name of db) not found. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknow n Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) How can I do? Thanks, Regards -- View this message in context: http://old.nabble.com/can%27t-accesso-to-derby-db-folder...-tp30909596p30909596.html Sent from the Apache Derby Users mailing list archive at Nabble.com.