[ 
https://issues.apache.org/jira/browse/DERBY-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691729#comment-13691729
 ] 

Dag H. Wanvik commented on DERBY-6271:
--------------------------------------

It seems the copying of that jar file gave an error; into 
C:\Users\Albert\derby-IMDB\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459.

a) Did you check that you have file system permissions to write into that 
location?
b)  If the server is running under a security manager, does the server policies 
allow writing into that location? 
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?



                
> 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=true';
> 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');
> ------------------------
> 错误代码 -1, SQL 状态XSRS5: 在备份期间将文件从 
> (db=E:\baocr\.netbeans-derby\imdb4tf)E:\baocr\.netbeans-derby\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459#exists=true,
>  isDirectory=false, length=2698, canWrite=true 复制到 
> C:\Users\Albert\derby-IMDB\imdb4tf\jar\APP\BCRFUNC.jar.G1371800096459 时出错。
> ------------------
> help please!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to