Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Start server problem in Netbeans (Working with the Java DB (Derby) Database)

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Start server problem in Netbeans (Working with the Java DB (Derby) Database)

    When Services, Databases, Java DB, Start Server is clicked, this msg appears:
    access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")

    This has been reported as a bug elsewhere, but I have not been able to resolve.

    One workaround is to edit the java.policy file, but when I try that, I get a msg upon save, that I don't have the authority.
    Is there a trick to do that?

    I also tried manually starting the server from Command Prompt with a command provided here:
    Running the Network Server without a security policy
    But when I go back to Netbeans, the "Stop Server" is dimmed, indicating that the Server has not been started. and I get further access denied errors if I try to Create a database.

    Any help?


  2. #2
    Junior Member
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Start server problem in Netbeans (Working with the Java DB (Derby) Database)

    I should have mentioned this problem is in Netbeans 7.4.
    When I installed Netbeans 8.0, there is an easy way to option away from the problem.

Similar Threads

  1. problem in Derby embedded database connection
    By brother in forum JDBC & Databases
    Replies: 6
    Last Post: December 24th, 2012, 01:17 PM
  2. Replies: 1
    Last Post: December 21st, 2012, 09:35 AM
  3. Replies: 1
    Last Post: April 19th, 2012, 08:24 AM
  4. Replies: 3
    Last Post: April 16th, 2011, 01:38 PM
  5. [SOLVED] Java app with Netbeans and Derby database
    By Kakashi in forum JDBC & Databases
    Replies: 3
    Last Post: March 17th, 2011, 02:35 PM