[
https://issues.apache.org/jira/browse/DERBY-6848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071409#comment-15071409
]
Vlasov Igor commented on DERBY-6848:
------------------------------------
In summary
Derby 10.10 run always ( through Netbeans or .bat file.)
I can run derbyNetworkServer 10.11 or 10.12 through Netbeans 8.0.2 on jre8_25.
BUT derbyNetworkServer 10.11 or 10.12 do not run through .bat file.
I do not understand why I see sush behaviour.
On other machine jre8_66 and Netbeans 8.1 cannot start 10.11 or 10.12 version
of derby, but 10.10 is started.
And 10.10 starts through .bat file.
Solution
I downloaded source of 10.12 and extracted sourcecode of derbynet.jar. Then I
made my own version of org.apache.derby.drda.NetworkServerControl with
corrected method needsSecurityManager (it always run in insecure mode) and
replaced the original file in jar.
Now I can run derby 10.12. through .bat file or Netbeans 8.1. This was my
target.
Seems this issue is very rare.
You may close it If you want.
> 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.12.1.1-bin.zip and extract to folder.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)