Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9420710478 for ; Mon, 24 Jun 2013 06:30:24 +0000 (UTC) Received: (qmail 65259 invoked by uid 500); 24 Jun 2013 06:30:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65066 invoked by uid 500); 24 Jun 2013 06:30:23 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 65046 invoked by uid 99); 24 Jun 2013 06:30:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 06:30:21 +0000 Date: Mon, 24 Jun 2013 06:30:21 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6271) Backup error when in-memory with jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6271?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1369= 1729#comment-13691729 ]=20 Dag H. Wanvik commented on DERBY-6271: -------------------------------------- It seems the copying of that jar file gave an error; into C:\Users\Albert\d= erby-IMDB\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459. a) Did you check that you have file system permissions to write into that l= ocation? b) If the server is running under a security manager, does the server poli= cies allow writing into that location?=20 c) If so, could you be out of file space? d) Did you see any stack trace in derby.log? If so, could you post it? =20 > Backup error when in-memory with jar > ------------------------------------ > > Key: DERBY-6271 > URL: https://issues.apache.org/jira/browse/DERBY-6271 > Project: Derby > Issue Type: Bug > Affects Versions: 10.8.2.2 > Reporter: Albert > > connect 'jdbc:derby://localhost:1527/memory:imdb4tf;create=3Dtrue'; > call sqlj.install_jar('E:\baocr\NetBeansProjects\derbyFunc\dist\derbyFunc= .jar', 'app.bcrFunc',0); > call syscs_util.syscs_set_database_property('derby.database.classpath', '= app.bcrFunc'); > CREATE FUNCTION regexp_substr > ( srcstr varchar(100), pattern varchar(100)) > RETURNS varchar(100) > PARAMETER STYLE JAVA > NO SQL LANGUAGE JAVA > EXTERNAL NAME 'bcr.derby.MyFunc.regexp_substr'; > call syscs_util.syscs_backup_database('C:\Users\Albert\derby-IMDB'); > ------------------------ > =E9=94=99=E8=AF=AF=E4=BB=A3=E7=A0=81 -1, SQL =E7=8A=B6=E6=80=81XSRS5: =E5= =9C=A8=E5=A4=87=E4=BB=BD=E6=9C=9F=E9=97=B4=E5=B0=86=E6=96=87=E4=BB=B6=E4=BB= =8E (db=3DE:\baocr\.netbeans-derby\imdb4tf)E:\baocr\.netbeans-derby\imdb4tf= \jar\APP\BCRFUNC.jar.G1371800096459#exists=3Dtrue, isDirectory=3Dfalse, len= gth=3D2698, canWrite=3Dtrue =E5=A4=8D=E5=88=B6=E5=88=B0 C:\Users\Albert\der= by-IMDB\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459 =E6=97=B6=E5=87=BA=E9=94= =99=E3=80=82 > ------------------ > help please! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira