RuneScape 2 Development > Server Tutorials
Teaching How To Update Your Server Without Restarting!
<<< (20/23) >>>
doom_j:
Just so everyone knows a free version is available. ;)

https://zeroturnaround.com/rebellabs/free-version-of-jrebel-social/
Eyeownyew:

--- Quote from: narutas on March 26, 2012, 02:19:17 PM ---
--- Code: [email protected] off
title Troy's Compiler
echo starting...
"C:\Program Files\Java\jdk1.7.0/bin/javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/*.java src/com/rs/cache/*.java src/com/rs/cache/loaders/*.java src/com/rs/cores/*.java src/com/rs/game/*.java src/com/rs/game/item/*.java src/com/rs/game/minigames/*.java src/com/rs/game/npc/*.java src/com/rs/game/npc/combat/*.java src/com/rs/game/npc/combat/impl/*.java src/com/rs/game/npc/corp/*.java src/com/rs/game/npc/dragons/*.java src/com/rs/game/npc/dungeonnering/*.java src/com/rs/game/npc/familiar/*.java src/com/rs/game/npc/godwars/*.java src/com/rs/game/npc/godwars/*.java src/com/rs/game/npc/godwars/bandos/*.java src/com/rs/game/npc/godwars/barrows/*.java src/com/rs/game/npc/godwars/saradomin/*.java src/com/rs/game/npc/godwars/zammorak/*.java src/com/rs/game/npc/godwars/zaros/*.java src/com/rs/game/npc/kalph/*.java src/com/rs/game/npc/others/*.java src/com/rs/game/npc/slayer/*.java src/com/rs/game/player/*.java src/com/rs/game/player/actions/*.java src/com/rs/game/player/content/*.java src/com/rs/game/player/content/dungeoneering/*.java src/com/rs/game/player/content/dungeoneering/rooms/*.java src/com/rs/game/player/controlers/*.java src/com/rs/game/player/cutscenes/*.java src/com/rs/game/player/cutscenes/actions/*.java src/com/rs/game/player/dialogues/*.java src/com/rs/game/tasks/*.java src/com/rs/*.java src/com/rs/io/*.java src/com/rs/net/*.java src/com/rs/net/decoders/*.java src/com/rs/net/decoders/handlers/*.java src/com/rs/net/encoders/*.java src/com/rs/tools/*.java src/com/rs/utils/*.java src/com/rs/utils/huffman/*.java src/com/rs/game/npc/godwars/armadyl/*.java                                                                                                                                           
pause
--- End code ---

Is there a way to make mine work? =(

--- End quote ---
That's your compiler............... FACEPALM
abtekk:
I've got 2 issues here if anyone could help me: (This is a PI server)

My original runserver:

--- Code: [email protected] off
title Mem leak fix

"C:\Program Files (x86)\Java\jdk1.7.0_03\bin\java.exe" -Xmx1300m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server

pause

--- End code ---

My runserver when jRebel is added:

--- Code: ---title InsidiaX
"C:\Program Files\Java\jdk1.7.0\bin\java.exe" -Xmx1300m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
java -noverify -javaagent:"C:\Program Files\ZeroTurnaround\JRebel\jrebel.jar" server
pause

--- End code ---

and now it's outcome

--- Code: ---
C:\Users\rsps\Desktop\RSTweak\RSTweak>title InsidiaX

C:\Users\rsps\Desktop\RSTweak\RSTweak>"C:\Program Files\Java\jdk1.7.0\bin\java.
xe" -Xmx1300m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;
eps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
The system cannot find the path specified.

C:\Users\rsps\Desktop\RSTweak\RSTweak>java -noverify -javaagent:"C:\Program Fil
s\ZeroTurnaround\JRebel\jrebel.jar" server

#############################################################

 JRebel 4.6.1 (201203151508)
 (c) Copyright ZeroTurnaround OU, Estonia, Tartu.

 Over the last 1 days JRebel prevented
 at least 0 redeploys/restarts saving you about 0 hours.

 This product is licensed to Lewis Cowtippin-melonballs Smith
 for non-commercial use only.

 The following plugins are disabled at the moment:
 * Apache MyFaces plugin (set -Drebel.myfaces_plugin=true to enable)
Reloads JSF configuration and reconfigures managed beans.
 * Click plugin (set -Drebel.click_plugin=true to enable)
Reloads menu.xml menu definitions of Apache Click projects.
 * JRuby Plugin (set -Drebel.jruby_plugin=true to enable)
 * Jersey plugin (set -Drebel.jersey_plugin=true to enable)
Reloads Jersey configuration from Java annotations.
 * Oracle ADF Core plugin (set -Drebel.adf_core_plugin=true to enable)
JRebel ADF Core Plugin
 * Oracle ADF Faces plugin (set -Drebel.adf_faces_plugin=true to enable)
JRebel ADF Faces Plugin
 * Seam-Wicket plugin (set -Drebel.seam_wicket_plugin=true to enable)
Integration with load time weaving seam annotations to wicket classes
(-javaagent:<path-to-jboss-seam-wicket-jar>)
 * WebObjects plugin (set -Drebel.webobjects_plugin=true to enable)
WebObjects JRebel Plugin

#############################################################

JRebel: Directory 'C:\Users\rsps\Desktop\RSTweak\RSTweak\src\server' will be mo
itored for changes.
Exception in thread "main" java.lang.NoClassDefFoundError: server
Caused by: java.lang.ClassNotFoundException: server
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: server.  Program will exit.

C:\Users\rsps\Desktop\RSTweak\RSTweak>pause
Press any key to continue . . .

--- End code ---

Once I got it to work, it said this:

--- Code: ---
JRebel: Directory 'C:\Users\rsps\Desktop\RSTweak\RSTweak\src\server' will be mon
itored for changes.
JRebel: SUCCESS: Acquired a new off-line license token.
[01/04/12 01:35]: Launching ReactionX- G Wishart & Nathan
[01/04/12 01:35]: [ObjectDef] DONE LOADING OBJECT CONFIGURATION
[01/04/12 01:35]: [Region] DONE LOADING REGION CONFIGURATIONS
[01/04/12 01:35]: Exception in thread "main" [01/04/12 01:35]: java.lang.NoClass
DefFoundError: org/apache/mina/transport/socket/nio/SocketAcceptor
[01/04/12 01:35]:       at server.Server.main(Server.java:143)
[01/04/12 01:35]: Caused by: java.lang.ClassNotFoundException: org.apache.mina.t
ransport.socket.nio.SocketAcceptor
[01/04/12 01:35]:       at java.net.URLClassLoader$1.run(Unknown Source)
[01/04/12 01:35]:       at java.security.AccessController.doPrivileged(Native Me
thod)
[01/04/12 01:35]:       at java.net.URLClassLoader.findClass(Unknown Source)
[01/04/12 01:35]:       at java.lang.ClassLoader.loadClass(Unknown Source)
[01/04/12 01:35]:       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So
urce)
[01/04/12 01:35]:       at java.lang.ClassLoader.loadClass(Unknown Source)
[01/04/12 01:35]:       ... 1 more
[01/04/12 01:35]: Saving players...

C:\Users\rsps\Desktop\RSTweak\RSTweak>pause
Press any key to continue . . .

--- End code ---

Any ideas?
ipwnu2day:
OMFG CAN SOME ONE PLEASE fudgeING FIX THIS!??!?!!?!?!?!?


--- Code: DOS [email protected] offtitle Infinity-Break Serverecho Infinity-Break Server is starting..."C:\Program Files\Java\jre7\bin\java.exe" -Xmx512m -cp bin;lib/*; com.rs.Launcher true true falsejava -noverify -javaagent:"C:\Program Files\ZeroTurnaround\jrebel.jar" serverpauseexit
EVERYTIME I TRY TO COMPILE IT DOESN'T CHANGE ANYTHING TO THE SERVER!!!!!
PLEASE HELP ME!
Eyeownyew:

--- Quote from: ipwnu2day on April 01, 2012, 12:03:27 PM ---OMFG CAN SOME ONE PLEASE fudgeING FIX THIS!??!?!!?!?!?!?


--- Code: DOS [email protected] offtitle Infinity-Break Serverecho Infinity-Break Server is starting..."C:\Program Files\Java\jre7\bin\java.exe" -Xmx512m -cp bin;lib/*; com.rs.Launcher true true falsejava -noverify -javaagent:"C:\Program Files\ZeroTurnaround\jrebel.jar" serverpauseexit
EVERYTIME I TRY TO COMPILE IT DOESN'T CHANGE ANYTHING TO THE SERVER!!!!!
PLEASE HELP ME!

--- End quote ---
That's probably because that isn't your fudgeing compiler -.-
Stop overreacting, calm down, and stop being mentally retarded. If you read the text for a split second you would realize that it clearly says "Server is starting".
Navigation
Message Index
Next page
Previous page

Go to full version
Powered by SMFPacks SEO Pro Mod |