Solved Can not login to server.

Discussion in 'Bukkit Help' started by Its_A_Username, Aug 16, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Its_A_Username

    OS: CentOS 5.8
    Java: 1.7.0_04-ea

    Log:
    Code:
    2012-08-16 06:48:48 [INFO] Starting minecraft server version 1.3.1
    2012-08-16 06:48:48 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2012-08-16 06:48:48 [INFO] Loading properties
    2012-08-16 06:48:48 [INFO] Default game type: SURVIVAL
    2012-08-16 06:48:48 [INFO] Generating keypair
    2012-08-16 06:48:50 [INFO] Starting Minecraft server on *:25565
    2012-08-16 06:48:51 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R1.0-b2320jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.0)
    2012-08-16 06:48:51 [INFO] Preparing level "world"
    2012-08-16 06:48:51 [INFO] Preparing start region for level 0 (Seed: -4353979801362528526)
    2012-08-16 06:48:52 [INFO] Preparing spawn area: 48%
    2012-08-16 06:48:53 [INFO] Preparing start region for level 1 (Seed: -4353979801362528526)
    2012-08-16 06:48:53 [INFO] Preparing spawn area: 20%
    2012-08-16 06:48:54 [INFO] Preparing start region for level 2 (Seed: -4353979801362528526)
    2012-08-16 06:48:54 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-08-16 06:48:54 [INFO] Done (3.341s)! For help, type "help" or "?"
    2012-08-16 06:49:03 [SEVERE] Exception in thread "Connection #1 read thread"
    2012-08-16 06:49:03 [SEVERE] java.lang.ExceptionInInitializerError
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.Cipher.getInstance(Cipher.java:498)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.MinecraftEncryption.a(SourceFile:132)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.MinecraftEncryption.a(SourceFile:120)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.MinecraftEncryption.b(SourceFile:115)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.MinecraftEncryption.a(SourceFile:107)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.Packet252KeyResponse.a(SourceFile:52)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.NetworkManager.i(NetworkManager.java:203)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.NetworkManager.c(NetworkManager.java:331)
    2012-08-16 06:49:03 [SEVERE]    at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
    2012-08-16 06:49:03 [SEVERE] Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:86)
    2012-08-16 06:49:03 [SEVERE]    ... 9 more
    2012-08-16 06:49:03 [SEVERE] Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:254)
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
    2012-08-16 06:49:03 [SEVERE]    at java.security.AccessController.doPrivileged(Native Method)
    2012-08-16 06:49:03 [SEVERE]    at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)
    2012-08-16 06:49:03 [SEVERE]    ... 9 more
     
  2. Offline

    nggmc

    Jnstall the latest version of Java 7 then..
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    
    as your launch file. Your forgetting to dedicate RAM for the server using the batch file. Not sure if you have or not but consider dedicated some RAM using a RAMDisk software.
     
  3. Offline

    zipfe

    He already has a new Java 7 running, and your .exe and .bat will work wonders, considering he's on CentOS.
     
  4. Offline

    Its_A_Username

    Thanks, Updating Java to 1.7.0_06 fixed it.
     
Thread Status:
Not open for further replies.

Share This Page