killkool
Nombre de messages : 24 Date d'inscription : 12/11/2008
| Sujet: Marche sous windows mais pas linux Erreur :/ 15/06/11, 11:52 am | |
| Bonjour, j'ai donc mon serveur qui se lance sans aucun problème sur mon windows. Par contre lorsque je met mon serveur sous linux j'ai un gros problème. En effet une erreur java surviens et me donne ce genre d'erreur. Je vous donne le début du lancement de mon fichier log. On dirait qu'il n'arrive pas a charger ceci : EnchantGroupsTable: Loaded 0 groups. SkillTreeTable: Loaded 0 skills. Les fichiers qui suivent sont bien présent dans mon répertoire. - Code:
-
Loading GameServer Configuration Files... Loaded 7 Filter Words. Loading Custom GameServer Configuration Files... Loading settings/irc.properties -----------------------------------------------------------------=[ Database ] MLog clients using java 1.4+ standard logging. Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> omfajo8g14paz7rj1fazf|77fddc31, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> omfajo8g14paz7rj1fazf|77fddc31, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/freya, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 60, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, statementDestroyerNumActiveThreads -> -1, statementDestroyerNumConnectionsInUseAllUsers -> -1, statementDestroyerNumConnectionsInUseDefaultUser -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumIdleThreads -> -1, statementDestroyerNumTasksPending -> -1, statementDestroyerNumThreads -> -1, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] Updated characters online status. Cleaned 0 elements from database in 0 s Cleaned 0 expired timestamps from database. IDFactory: 102912 id's available. ------------------------------------------------------------------=[ Engines ] Initializing Script Engine Manager Script Engine: BeanShell Engine 1.1 - Language: BeanShell - Language Version: 2.0b5 Script Engine: java 1.6 - Language: java - Language Version: 1.6 Script Engine: Mozilla Rhino 1.6 release 2 - Language: ECMAScript - Language Version: 1.6 *sys-package-mgr*: processing modified jar, '/home/killkool/l2jfreya/gameserveur/freyaworld.jar' Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1 --------------------------------------------------------------------=[ World ] Initializing InstanceManager Loaded 147 instance names Multiverse Instance created Universe Instance created L2World: (128 by 136) World Region Grid set up. -------------------------------------------------------------------=[ Skills ] EnchantGroupsTable: Loaded 0 groups. SkillTreeTable: Loaded 0 skills. Error in file /home/killkool/l2jfreya/gameserveur/data/stats/skills/03400-03499.xml java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at freya.world.gameserver.templates.skills.L2SkillType.makeSkill(L2SkillType.java:232) at freya.world.gameserver.skills.DocumentSkill.makeSkills(DocumentSkill.java:796) at freya.world.gameserver.skills.DocumentSkill.parseSkill(DocumentSkill.java:401) at freya.world.gameserver.skills.DocumentSkill.parseDocument(DocumentSkill.java:123) at freya.world.gameserver.skills.DocumentBase.parse(DocumentBase.java:149) at freya.world.gameserver.skills.SkillsEngine.loadSkills(SkillsEngine.java:81) at freya.world.gameserver.skills.SkillsEngine.loadAllSkills(SkillsEngine.java:90) at freya.world.gameserver.datatables.SkillTable.load(SkillTable.java:61) at freya.world.gameserver.datatables.SkillTable.<init>(SkillTable.java:46) at freya.world.gameserver.datatables.SkillTable.<init>(SkillTable.java:28) at freya.world.gameserver.datatables.SkillTable$SingletonHolder.<clinit>(SkillTable.java:167) at freya.world.gameserver.datatables.SkillTable.getInstance(SkillTable.java:38) at freya.world.gameserver.GameServer.<init>(GameServer.java:225) at freya.world.gameserver.GameServer.main(GameServer.java:549) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at freya.world.gameserver.templates.skills.L2SkillType.makeSkill(L2SkillType.java:228) ... 13 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class freya.world.gameserver.datatables.SkillTreeTable$SingletonHolder at freya.world.gameserver.datatables.SkillTreeTable.getInstance(SkillTreeTable.java:66) at freya.world.gameserver.model.L2Skill.<init>(L2Skill.java:449) at freya.world.gameserver.skills.l2skills.L2SkillDefault.<init>(L2SkillDefault.java:27) ... 18 more Je vous remercie d'avance pour votre aide, car je bloque. | |
|
Katori
Nombre de messages : 12 Date d'inscription : 03/06/2011
| Sujet: Re: Marche sous windows mais pas linux Erreur :/ 15/06/11, 03:04 pm | |
| Bonjour,
Je ne m'y connais pas beaucoup avec linux mais la première chose que je vois quand je lis ton code c'est ça :
EnchantGroupsTable: Loaded 0 groups. SkillTreeTable: Loaded 0 skills. Error in file /home/killkool/l2jfreya/gameserveur/data/stats/skills/03400-03499.xml
Apparemment tu as une erreur dans le fichier 03400-03499.xml , sachant que ces fichiers sont répercutés dans EnchantGroupsTable et SkillTreeTable , à toi de voir après ^^
Amicalement,
Moi.
PS: vu le nom du fichier tu crées un serveur high five ^^ | |
|