Minecraft (especially modded) isn't always working well with Java 8. Downgrade to Java 7.
can you post the Server Log, and if possible the Client log when you connecting to the server?
also try run your server with this string
java -server -Xms2G -Xmx2G -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar FTBServer-1.6.4-965.jar nogui
and you using 32 or 64 bit Java?
server.log file:
2014-11-19 14:30:32 [INFO] Starting minecraft server version 1.6.4
2014-11-19 14:30:56 [INFO] Loading properties
2014-11-19 14:30:56 [WARNING] server.properties does not exist
2014-11-19 14:30:56 [INFO] Generating new properties file
2014-11-19 14:30:56 [INFO] Default game type: SURVIVAL
2014-11-19 14:30:56 [INFO] Generating keypair
2014-11-19 14:30:57 [INFO] Starting Minecraft server on *:25565
2014-11-19 14:31:00 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 14:31:07 [WARNING] Failed to load operators list: java.io.FileNotFoundException: .\ops.txt (Impossibile trovare il file specificato)
2014-11-19 14:31:07 [WARNING] Failed to load white-list: java.io.FileNotFoundException: .\white-list.txt (Impossibile trovare il file specificato)
2014-11-19 14:31:07 [INFO] Preparing level "world"
2014-11-19 14:31:08 [INFO] Preparing start region for level 0
2014-11-19 14:31:10 [INFO] Preparing spawn area: 7%
2014-11-19 14:31:11 [INFO] Preparing spawn area: 20%
2014-11-19 14:31:12 [INFO] Preparing spawn area: 25%
2014-11-19 14:31:13 [INFO] Preparing spawn area: 29%
2014-11-19 14:31:14 [INFO] Preparing spawn area: 38%
2014-11-19 14:31:15 [INFO] Preparing spawn area: 48%
2014-11-19 14:31:16 [INFO] Preparing spawn area: 55%
2014-11-19 14:31:17 [INFO] Preparing spawn area: 65%
2014-11-19 14:31:18 [INFO] Preparing spawn area: 79%
2014-11-19 14:31:19 [INFO] Preparing spawn area: 93%
2014-11-19 14:31:20 [INFO] Done (12,282s)! For help, type "help" or "?"
2014-11-19 14:40:13 [INFO] Starting minecraft server version 1.6.4
2014-11-19 14:40:37 [INFO] Loading properties
2014-11-19 14:40:37 [INFO] Default game type: SURVIVAL
2014-11-19 14:40:37 [INFO] Generating keypair
2014-11-19 14:40:37 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 14:40:37 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 14:40:37 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 14:40:37 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 14:40:37 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 14:40:41 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 14:40:47 [INFO] Preparing level "DIO_Fresco"
2014-11-19 14:40:48 [WARNING] Unable to find spawn biome
2014-11-19 14:40:50 [INFO] Preparing start region for level 0
2014-11-19 14:40:51 [INFO] Preparing spawn area: 15%
2014-11-19 14:40:53 [INFO] Preparing spawn area: 23%
2014-11-19 14:40:54 [INFO] Preparing spawn area: 34%
2014-11-19 14:40:55 [INFO] Preparing spawn area: 42%
2014-11-19 14:40:56 [INFO] Preparing spawn area: 59%
2014-11-19 14:40:57 [INFO] Preparing spawn area: 66%
2014-11-19 14:40:58 [INFO] Preparing spawn area: 73%
2014-11-19 14:40:59 [INFO] Preparing spawn area: 87%
2014-11-19 14:41:00 [INFO] Preparing spawn area: 95%
2014-11-19 14:41:01 [INFO] Done (13,277s)! For help, type "help" or "?"
2014-11-19 14:42:40 [INFO] /25.132.67.85:56546 lost connection
2014-11-19 14:42:46 [INFO] /25.132.67.85:56547 lost connection
2014-11-19 14:43:03 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 14:43:26 [INFO] Starting minecraft server version 1.6.4
2014-11-19 14:43:49 [INFO] Loading properties
2014-11-19 14:43:49 [INFO] Default game type: SURVIVAL
2014-11-19 14:43:49 [INFO] Generating keypair
2014-11-19 14:43:49 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 14:43:49 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 14:43:49 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 14:43:49 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 14:43:49 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 14:43:53 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 14:44:00 [INFO] Preparing level "DIO_Fresco"
2014-11-19 14:44:01 [INFO] Preparing start region for level 0
2014-11-19 14:44:01 [INFO] Done (1,588s)! For help, type "help" or "?"
2014-11-19 14:44:02 [WARNING] [CalclaviaCore]SaveManager: Skipping object with id ModFlag
2014-11-19 14:45:01 [INFO] Starting minecraft server version 1.6.4
2014-11-19 14:45:25 [INFO] Loading properties
2014-11-19 14:45:25 [INFO] Default game type: SURVIVAL
2014-11-19 14:45:25 [INFO] Generating keypair
2014-11-19 14:45:25 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 14:45:25 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 14:45:25 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 14:45:25 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 14:45:25 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 14:45:28 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 14:45:35 [INFO] Preparing level "DIO_Fresco"
2014-11-19 14:45:36 [INFO] Preparing start region for level 0
2014-11-19 14:45:36 [INFO] Done (1,623s)! For help, type "help" or "?"
2014-11-19 14:45:36 [WARNING] [CalclaviaCore]SaveManager: Skipping object with id ModFlag
2014-11-19 14:47:26 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 14:47:29 [INFO] /25.132.67.85:56788 lost connection
2014-11-19 15:30:19 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 15:30:22 [INFO] /25.132.67.85:56919 lost connection
2014-11-19 15:30:23 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 18:43:06 [INFO] Starting minecraft server version 1.6.4
2014-11-19 18:43:36 [INFO] Loading properties
2014-11-19 18:43:36 [INFO] Default game type: SURVIVAL
2014-11-19 18:43:36 [INFO] Generating keypair
2014-11-19 18:43:36 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 18:43:36 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 18:43:36 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 18:43:36 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 18:43:36 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 18:43:40 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 18:43:51 [INFO] Preparing level "DIO_Fresco"
2014-11-19 18:43:52 [INFO] Preparing start region for level 0
2014-11-19 18:43:53 [INFO] Done (1,746s)! For help, type "help" or "?"
2014-11-19 18:43:53 [WARNING] [CalclaviaCore]SaveManager: Skipping object with id ModFlag
2014-11-19 18:46:43 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 18:46:46 [INFO] /25.132.67.85:55690 lost connection
2014-11-19 18:46:48 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 18:54:01 [INFO] /25.132.67.85:55961 lost connection
2014-11-19 18:54:04 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 18:54:07 [INFO] /25.132.67.85:55964 lost connection
2014-11-19 18:54:09 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 18:54:41 [INFO] Starting minecraft server version 1.6.4
2014-11-19 18:55:05 [INFO] Loading properties
2014-11-19 18:55:05 [INFO] Default game type: SURVIVAL
2014-11-19 18:55:05 [INFO] Generating keypair
2014-11-19 18:55:05 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 18:55:05 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 18:55:05 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 18:55:05 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 18:55:05 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 18:55:09 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 18:55:30 [INFO] Preparing level "DIO_Fresco"
2014-11-19 18:55:31 [INFO] Preparing start region for level 0
2014-11-19 18:55:31 [INFO] Done (1,687s)! For help, type "help" or "?"
2014-11-19 18:55:31 [WARNING] [CalclaviaCore]SaveManager: Skipping object with id ModFlag
2014-11-19 18:55:58 [INFO] /25.132.67.85:56009 lost connection
2014-11-19 18:56:00 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:00:37 [INFO] Starting minecraft server version 1.6.4
2014-11-19 19:01:01 [INFO] Loading properties
2014-11-19 19:01:01 [INFO] Default game type: SURVIVAL
2014-11-19 19:01:01 [INFO] Generating keypair
2014-11-19 19:01:01 [INFO] Starting Minecraft server on 25.132.67.85:25565
2014-11-19 19:01:01 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2014-11-19 19:01:01 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2014-11-19 19:01:01 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2014-11-19 19:01:01 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2014-11-19 19:01:05 [INFO] [qCraft] Loading qCraft v1.1 (rev 253)
2014-11-19 19:01:06 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:01:15 [INFO] Preparing level "DIO_Fresco"
2014-11-19 19:01:16 [INFO] Preparing start region for level 0
2014-11-19 19:01:17 [INFO] Done (1,515s)! For help, type "help" or "?"
2014-11-19 19:01:17 [WARNING] [CalclaviaCore]SaveManager: Skipping object with id ModFlag
2014-11-19 19:01:18 [INFO] /25.132.67.85:56061 lost connection
2014-11-19 19:01:18 [INFO] /25.132.67.85:56064 lost connection
2014-11-19 19:01:19 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:01:24 [INFO] /25.132.67.85:56079 lost connection
2014-11-19 19:01:27 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:02:03 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:02:04 [INFO] /25.132.67.85:56087 lost connection
2014-11-19 19:02:07 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:05:08 [INFO] BigCheester[/25.100.47.194:50810] logged in with entity id 400 at (771.5, 64.0, -26.5)
2014-11-19 19:05:08 [INFO] BigCheester joined the game
2014-11-19 19:05:37 [INFO] /25.132.67.85:56235 lost connection
2014-11-19 19:05:39 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:05:42 [INFO] /25.132.67.85:56239 lost connection
2014-11-19 19:05:44 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:06:45 [INFO] /25.132.67.85:56260 lost connection
2014-11-19 19:06:46 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:06:49 [INFO] /25.132.67.85:56262 lost connection
2014-11-19 19:06:50 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:07:55 [INFO] /25.132.67.85:56314 lost connection
2014-11-19 19:07:57 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 19:13:25 [INFO] nomefriends lost connection: disconnect.quitting
2014-11-19 19:13:25 [INFO] namefriends left the game
2014-11-19 20:46:54 [SEVERE] Reached end of stream for /25.132.67.85
2014-11-19 20:46:58 [INFO] /25.132.67.85:59754 lost connection
2014-11-19 20:47:01 [SEVERE] Reached end of stream for /25.132.67.85
this first string
&
My friend was able to get into the server.
and with your code the server don't start, it enters the loop
and i use java jre7 64 bit