db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlasov Igor (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DERBY-6848) Unable to start derbyNetworkServer.bat
Date Wed, 23 Dec 2015 17:20:46 GMT

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

Vlasov Igor edited comment on DERBY-6848 at 12/23/15 5:20 PM:
--------------------------------------------------------------

I'v added permission to D:/java/db-derby-10.12.1.1-bin/lib/derbynet.jar!/org/apache/derby/drda/server.policy:
permission java.lang.RuntimePermission "exitVM"; to derby.jar and derbynet.jar. But this do
not change anything/

Thin I have switched locale by adding -Duser.language=en -Duser.region=US in run-script.bat.


The output changed and contains many derby specific security error. Such as
"policy: evaluation (codesource/principals) passed
access: access denied org.apache.derby.security.SystemPermission( "engine", "usederbyinternals"
)
"

May be this could help. I have attached "permission-output2.txt" and "run-output2.txt"



was (Author: vigor78):
I have switched locale by adding -Duser.language=en -Duser.region=US in run-script.bat.
Then I'v added permission to D:/java/db-derby-10.12.1.1-bin/lib/derbynet.jar!/org/apache/derby/drda/server.policy

The output changed and contains many derby specific security error. Such as
"policy: evaluation (codesource/principals) passed
access: access denied org.apache.derby.security.SystemPermission( "engine", "usederbyinternals"
)
"

May be this could help. I have attached "permission-output2.txt" and "run-output2.txt"


> Unable to start derbyNetworkServer.bat
> --------------------------------------
>
>                 Key: DERBY-6848
>                 URL: https://issues.apache.org/jira/browse/DERBY-6848
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.11.1.1, 10.12.1.1
>         Environment: Windows 7 x64 Russian Encoding
> Java 8. _25 _66 _65
>            Reporter: Vlasov Igor
>         Attachments: derby_networkserver.png, derby_networkserver2.png, permission-output2.txt,
run-output2.txt, run-script-console-screenshot.jpg, run-script-output.txt, run-script.bat
>
>
> I tried to call startNetworkServer.bat.
> The only way to start derby in my enviroment is to use "-noSecurityManager"
> argument
> Atnother way is halting executiong without any message.
> Tried to start from: 
> 1)jdk/db/bin
> 2)Download db-derby-10.11.1.1-bin.zip and extract to folder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message