Greetings all. I originally posted my problem over on the official Minecraft Forums (http://www.minecraftforum.net/viewtopic.php?f=10&t=355278), but haven't found an answer yet. It appears that these server-oriented forums are a bit more active, so hopefully someone has the solution. The difficulties I'm having are connecting to my MC server when running Bukkit through 64-bit Java. Everything works fine with 32-bit Java. My MC server specs: Windows 7 Enterprise Edition 64-bit SP1 Intel 3.00Ghz Core2 Duo 6GB RAM 160GB HD 10GB Page file Firewall set to allow exceptions across port 25565 Minecraft server 1.6.6 java version "1.6.0_25" Java(TM) SE Runtime Environment (build 1.6.0_25-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode) Bukkit version: git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6) Essentials version: 2.2.22 32-bit Java batch file: Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1536m -Xms1536m -jar craftbukkit-0.0.1-SNAPSHOT.jar PAUSE 64-bit Java batch file: Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx3072m -Xms3072m -jar craftbukkit-0.0.1-SNAPSHOT.jar PAUSE The server appears to launch fine and reports no errors with either batch file. The only difference is between the allocated memory for java and the specific java environment being called (32 vs 64 bit). The reason behind the desire to run the 64-bit Java over the 32-bit version is that the 32-bit Java environment is limited to 1.5GB of memory, while the 64-bit Java is capable of utilizing a higher memory range in excess of 1.5GB (I'd like to use around 3GB). Server output log for 32-bit batch executable: Code: 148 recipes 16 achievements 23:06:28 [INFO] Starting minecraft server version Beta 1.6.6 23:06:28 [INFO] Loading properties 23:06:28 [INFO] Starting Minecraft server on *:25565 23:06:28 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766- g3fc0460-b818jnks (MC: 1.6.6) 23:06:28 [INFO] Preparing level "world" 23:06:28 [INFO] Preparing start region for level 0 23:06:28 [INFO] Preparing start region for level 1 23:06:29 [INFO] Preparing spawn area: 32% 23:06:29 [INFO] Loaded Essentials build 2.2.22 by Zenexer, ementalo, Aelux, Bret tflan, KimKandor, snowleo, ceulemans and Xeology 23:06:29 [INFO] Loaded EssentialsChat build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:06:29 [INFO] Loaded EssentialsGeoIP build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:06:29 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/. 23:06:29 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes! 23:06:29 [INFO] GroupManager version 1.0(alpha-5) is enabled! 23:06:29 [INFO] Loaded EssentialsProtect build 2.2.22 by Zenexer, ementalo, Aelu x, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:06:29 [INFO] Loaded EssentialsSpawn build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:06:29 [INFO] [Runecraft] Rune blacklist with 0 runes loaded. 23:06:29 [INFO] [Runecraft] World 'world': id changed to 0 23:06:30 [INFO] [Runecraft] Runecraft 2.7 initialized. 23:06:30 [INFO] [Runecraft] World 'world_nether': id changed to 1 23:06:30 [INFO] Runecraft plugin version 0.4 is enabled! 23:06:30 [INFO] Fake Permissions version 2.7.2 is enabled! 23:06:30 [INFO] Done (0.180s)! For help, type "help" or "?" >mem 23:07:47 [INFO] Maximum memory: 1,532 MB 23:07:47 [INFO] Minimum memory: 1,409 MB 23:07:47 [INFO] World "world": 625chunks,92entities 23:07:47 [INFO] Nether "world_nether": 625chunks,0entities Server output log for 64-bit batch executable: Code: 148 recipes 16 achievements 23:08:54 [INFO] Starting minecraft server version Beta 1.6.6 23:08:54 [INFO] Loading properties 23:08:54 [INFO] Starting Minecraft server on *:25565 23:08:54 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766- g3fc0460-b818jnks (MC: 1.6.6) 23:08:54 [INFO] Preparing level "world" 23:08:54 [INFO] Preparing start region for level 0 23:08:55 [INFO] Preparing start region for level 1 23:08:55 [INFO] Preparing spawn area: 60% 23:08:56 [INFO] Loaded Essentials build 2.2.22 by Zenexer, ementalo, Aelux, Bret tflan, KimKandor, snowleo, ceulemans and Xeology 23:08:56 [INFO] Loaded EssentialsChat build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:08:56 [INFO] Loaded EssentialsGeoIP build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:08:56 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/. 23:08:56 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes! 23:08:56 [INFO] GroupManager version 1.0(alpha-5) is enabled! 23:08:56 [INFO] Loaded EssentialsProtect build 2.2.22 by Zenexer, ementalo, Aelu x, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:08:56 [INFO] Loaded EssentialsSpawn build 2.2.22 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology 23:08:56 [INFO] [Runecraft] Rune blacklist with 0 runes loaded. 23:08:56 [INFO] [Runecraft] World 'world': id changed to 0 23:08:56 [INFO] [Runecraft] Runecraft 2.7 initialized. 23:08:56 [INFO] [Runecraft] World 'world_nether': id changed to 1 23:08:56 [INFO] Runecraft plugin version 0.4 is enabled! 23:08:56 [INFO] Fake Permissions version 2.7.2 is enabled! 23:08:56 [INFO] Done (0.200s)! For help, type "help" or "?" >mem 23:09:07 [INFO] Maximum memory: 3,067 MB 23:09:07 [INFO] Minimum memory: 2,940 MB 23:09:07 [INFO] World "world": 625chunks,91entities 23:09:07 [INFO] Nether "world_nether": 625chunks,0entities I'll be happy to provide you with any other information that might lead to an answer. I figure at this point, I'm just over looking something simple. Thank you in advance, I appreciate your efforts. Short version for TL;DR people: 32-bit server: client connects fine 64-bit server: client unable to connect
I've tried dropping the allocated memory as low as 512MB for the 64-bit client. Still no success for clients/players to connect to the 64-bit java server. I haven't found any indication that the standard Minecraft client can't connect to a 64-bit java run server. All information I've come across so far says that a 32-bit java application should work fine within a 64-bit java environment; similar to running 32-bit programs in a 64-bit operating system.
have you tried uninstalling all your java versions and just installing 64 bit? have you tried without essentials or other plugins?
My server is running on 64-Bit java. and i know many of my players are just using a 32-bit java on the client side. and everything is just running fine.
All plugins removed and tested. Still unable to connect. Removing all Java now, and will install ONLY the 64-bit environment. I'll post the update in a moment.
Thanks Gudfaren for the info. That's been my exact understanding, is that it should be possible without error. Still trying to debug the issue and figure out why mine isn't behaving properly.
Uninstalled all versions of java. Restarted the system. Reinstalled only the 64-bit Java client. Still unable to connect. Client Message: Code: Connecting to the server... Failed to connect to the server Connection timed out: connect Server just sits back and stares blankly without noticing the attempts.
Created a new folder with the following three items only: -Minecraft_Server.exe (ver. 1.6.6) (I suppose this doesn't even need to be present) -craftbukkit-0.0.1-SNAPSHOT.jar (build 818) -RUN.bat (Batch file calling 64-bit Java environment with 3GB Memory) Server runs normal. Still unable to connect with client. Server log: Code: 148 recipes 16 achievements 00:45:07 [INFO] Starting minecraft server version Beta 1.6.6 00:45:07 [INFO] Loading properties 00:45:07 [WARNING] server.properties does not exist 00:45:07 [INFO] Generating new properties file 00:45:07 [INFO] Starting Minecraft server on *:25565 00:45:07 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766- g3fc0460-b818jnks (MC: 1.6.6) 00:45:07 [WARNING] Failed to load ban list: java.io.FileNotFoundException: banne d-players.txt (The system cannot find the file specified) 00:45:07 [WARNING] Failed to load ip ban list: java.io.FileNotFoundException: ba nned-ips.txt (The system cannot find the file specified) 00:45:07 [WARNING] Failed to load ops: java.io.FileNotFoundException: ops.txt (T he system cannot find the file specified) 00:45:07 [WARNING] Failed to load white-list: java.io.FileNotFoundException: whi te-list.txt (The system cannot find the file specified) 00:45:07 [INFO] Preparing level "world" 00:45:08 [INFO] Preparing start region for level 0 00:45:09 [INFO] Preparing spawn area: 4% 00:45:10 [INFO] Preparing spawn area: 16% 00:45:12 [INFO] Preparing spawn area: 32% 00:45:13 [INFO] Preparing spawn area: 40% 00:45:14 [INFO] Preparing spawn area: 48% 00:45:15 [INFO] Preparing spawn area: 56% 00:45:16 [INFO] Preparing spawn area: 61% 00:45:17 [INFO] Preparing spawn area: 69% 00:45:18 [INFO] Preparing spawn area: 73% 00:45:19 [INFO] Preparing spawn area: 81% 00:45:20 [INFO] Preparing spawn area: 93% 00:45:20 [INFO] Preparing start region for level 1 00:45:21 [INFO] Preparing spawn area: 4% 00:45:22 [INFO] Preparing spawn area: 4% 00:45:23 [INFO] Preparing spawn area: 8% 00:45:25 [INFO] Preparing spawn area: 12% 00:45:26 [INFO] Preparing spawn area: 12% 00:45:27 [INFO] Preparing spawn area: 16% 00:45:28 [INFO] Preparing spawn area: 20% 00:45:29 [INFO] Preparing spawn area: 20% 00:45:30 [INFO] Preparing spawn area: 24% 00:45:32 [INFO] Preparing spawn area: 24% 00:45:33 [INFO] Preparing spawn area: 28% 00:45:34 [INFO] Preparing spawn area: 32% 00:45:36 [INFO] Preparing spawn area: 36% 00:45:37 [INFO] Preparing spawn area: 40% 00:45:38 [INFO] Preparing spawn area: 40% 00:45:39 [INFO] Preparing spawn area: 40% 00:45:41 [INFO] Preparing spawn area: 44% 00:45:42 [INFO] Preparing spawn area: 48% 00:45:43 [INFO] Preparing spawn area: 52% 00:45:44 [INFO] Preparing spawn area: 53% 00:45:46 [INFO] Preparing spawn area: 61% 00:45:47 [INFO] Preparing spawn area: 65% 00:45:48 [INFO] Preparing spawn area: 69% 00:45:49 [INFO] Preparing spawn area: 73% 00:45:50 [INFO] Preparing spawn area: 73% 00:45:51 [INFO] Preparing spawn area: 77% 00:45:52 [INFO] Preparing spawn area: 81% 00:45:54 [INFO] Preparing spawn area: 85% 00:45:55 [INFO] Preparing spawn area: 89% 00:45:56 [INFO] Preparing spawn area: 93% 00:45:57 [INFO] Preparing spawn area: 97% 00:45:58 [INFO] Done (5.040s)! For help, type "help" or "?"
I do that before. If u delete all files. It can be annoying to running the server. Try every time restart the CDM!
I believe that's essentially what I just tested for Phaedrus. I tried starting up the server using only the Craftbukkit jar file and the RUN batch file, with no plugins, and allowed it to generate any additional items it needed along with a new world file. Unfortunately, I'm still unable to connect.
The system's firewall is set to allow all traffic across port 25565, regardless of type or request. The system is also using a static IP address accessible from any location (not on a home network or behind a basic router). Configuring port forwarding isn't needed. Testing the connection with the 32-bit java environment, clients can connect just fine. So the port (and computer) is perfectly accessible.
Can you post the contents of your server.properties file? Also try disabling the windows firewall entirely as well as any anti-virus product you may have running.
Server Properties for the "clean" server: Code: #Minecraft server properties #Wed Jun 01 00:45:08 CDT 2011 level-name=world allow-nether=true view-distance=10 spawn-monsters=true online-mode=true spawn-animals=true max-players=20 server-ip= pvp=true level-seed= server-port=25565 allow-flight=false white-list=false spawn-protection=16 Server Properties for the original server setup: Code: #Minecraft server properties #Thu May 26 08:44:00 CDT 2011 level-name=world hellworld=false allow-nether=true view-distance=10 spawn-monsters=true online-mode=true spawn-animals=true max-players=20 server-ip= pvp=true level-seed= server-port=25565 allow-flight=false white-list=false spawn-protection=16 I've just disabled the firewall (Windows Firewall) and AV (MS Security Essentials) and will be restarting the system next.
Phaedrus, you're a genius. Success - Disabling the firewall across Domain, Home/Work, and Public profiles allows the clients to connect to the server. I suppose I just assumed the firewall wasn't an issue since the 32-bit client worked perfectly fine with the firewall on and the port exception enabled. Now my next question is... Why is the firewall wall blocking traffic associated with the 64-bit Java environment and allowing the 32-bit hosted services? The port exception I have configured is for a specific port # with no association tied to a particular service or application. While I'd be happy to leave the firewall down; we have our networks department which does random scans across the network to identify "vulnerabilities". The system will eventually show up as having it's firewall disabled. Since the issue has been identified - any idea what additional settings need to be configured to make the firewall happy with 64-bit java?
And SOLVED. Apparently, when Java 32-bit and 64-bit were installed, they both made their own firewall exceptions (for a total of 4 exceptions). However, both exceptions were pointing to the 32-bit Program Files(x86) location of Java. Why the 64-bit version didn't create it's own proper pathing, I haven't a clue. When they were uninstalled, neither of them were removed. Now that only the 64-bit Java environment is installed, I re-examined the Java firewall exceptions and manually pointed all exceptions to the directory of the 64-bit Java. So either the Windows firewall was screwing me over, or someone at Java doesn't have the 64-bit firewall exception path set correctly by default. --- Feel free to cross-reference with the Minecraft forum thread (http://www.minecraftforum.net/topic/326475-solved-mc-server-windows-7-bukkit-64-bit-java/) should you experience any similar issues. The answers might be found within.
I'd blame java. They don't always properly register the java path variable either. It gets especially messy with both 32 and 64 bit versions installed. glad to see you got it sorted out.
Yea, it looks like Java screwed me on this one. I didn't see the error until we narrowed it down to a firewall issue and even then until I started going through the firewall settings one-by-one. Interestingly enough, Java also only makes exceptions to the incoming rules and none outgoing. Thanks for all your assistance helping me track down the issue!