l2jfree
September 03, 2010, 05:39:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home SVNFishEyeBugtrackerWikiOhlohGeodata Help Search Calendar Login Register  
*

Recent Topics

Pages: [1] 2   Go Down
  Print  
Author Topic: Problem while trying to run server on linux  (Read 3389 times)
iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« on: October 05, 2008, 01:17:28 pm »

Hi everyone I'm trying to run the server on a linux machine and I get some java errors:
root@diablo:/home/work/l2free/l2jfree-login-1.1.0/dist# ./RegisterGameServer.sh
Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jfree/gsregistering/GameServerRegister
Caused by: java.lang.ClassNotFoundException: com.l2jfree.gsregistering.GameServerRegister
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
This is when I try to run registergameserver.... I think is a java problem; the server was build on windows, with jdk1.0.6_07 and on linux I have same java version :
root@diablo:/home/work/l2free/l2jfree-login-1.1.0/dist# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Under windows it works fine actually I've observed that this problem appears only when I'm trying to run a maven build server .... for example I've builded under linux a L2emu server (hope that is no problem by mentioning here the l2emu name and also l2j) and again same problem (l2emu is being build again with maven)... also I've build a l2j server in windows environment and ported on the linux machine.... and works just fine.... but i want to use this version of server:( under linux ...
I mention that I've used eclipse for both experiments linux and windows environment....

Pls help!
Logged
Lestat
Fighter Lieutenant
**

Karma: -1
Offline Offline

Posts: 63


View Profile
« Reply #1 on: October 05, 2008, 01:29:18 pm »

Have you checked that setenv.sh has all entries that setenv.bat already has?
Logged
iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #2 on: October 05, 2008, 01:34:36 pm »

Yup there are the same entries in booth files
Logged
iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #3 on: October 05, 2008, 07:12:55 pm »

Never mind with this one I've solve it but in a very strange way actually I've used the stable version located in the /release folder of the repository (svn://l2jfree.com/repo/l2j-free/release) and the data-pack from /trunk folder of the repo. Now one problem with the data-pack the castle.sql script does not create 2 columns ( siegeDayOfWeek and siegeHourOfDay ) and when I run the server it pops up with an error; so I've created myself those 2 columns and they look like this:

Ok... done with this, but there's another one, somewhere along the way another warning pops up:
1. WARNING in /InquisitorElvenElder.java (at line 3)
        import com.l2jfree.gameserver.datatables.SkillTable;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.l2jfree.gameserver.datatables.SkillTable is never used
----------
1 problem (1 warning)INFO Compiled Scripts Cache is disabled.
Don't know what's that...Sad

And another little question why aren't working the builds from /trunk folder of the repository?... I've maked a mistake up in the 1'st post .... they aren't working even in windows environment.

Logged
VaNeSs11
Elder
****

Karma: 0
Offline Offline

Posts: 349


Where do we go?


View Profile
« Reply #4 on: October 05, 2008, 07:15:48 pm »

use stable datapack
Logged
iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #5 on: October 05, 2008, 07:19:32 pm »

Please tell me where I can find it....? Where's the stable data-pack? (link pls)
Logged
Noltari
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #6 on: October 05, 2008, 07:21:08 pm »

Use search!

http://l2jfree.com/releases/CT2_gameserver_1.2.1A.zip
Logged
iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #7 on: October 05, 2008, 07:25:14 pm »

10x man ... I'm pretty tired at the moment I'm working since yesterday on this  Sad
Logged
Noltari
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #8 on: October 05, 2008, 09:16:38 pm »

10x man ... I'm pretty tired at the moment I'm working since yesterday on this  Sad

Yeah, sometimes it's even boring to solve errors like these...
Logged
dony
Elder
****

Karma: -8
Offline Offline

Posts: 416


CoderOFhell


View Profile
« Reply #9 on: October 06, 2008, 06:04:53 am »

is a movie for how install on ubuntu a l2j server..and works for l2jfree too...i hope i will find and i will come with a link...
Logged

iqarmy
Fighter
*

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #10 on: October 06, 2008, 08:20:48 am »

I solved the problem 10x and btw the guy with the movie ..... Grin I'll say no more probably I'll make one much more shorter that can be applied to all linux versions not just ubuntu......
Logged
dony
Elder
****

Karma: -8
Offline Offline

Posts: 416


CoderOFhell


View Profile
« Reply #11 on: October 06, 2008, 12:27:43 pm »

part1:http://rapidshare.com/files/135936064/L2J_on_Ubuntu.part1.rar
part2:http://rapidshare.com/files/135964622/L2J_on_Ubuntu.part2.rar
Logged

NEFRIT
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #12 on: October 08, 2008, 11:38:37 am »

 Huh?  Cry
Quote
=======================================================-[ Events/ScriptEngine ]
INFO Initializing Script Engine Manager
INFO Script Engine: BeanShell Engine 1.1 - Language: BeanShell - Language Version: 2.0b5
INFO Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1
INFO Script Engine: Mozilla Rhino 1.6 release 2 - Language: ECMAScript - Language Version: 1.6
INFO Script Engine: java 1.6 - Language: java - Language Version: 1.6
----------
1. WARNING in /VanguardShilienKnight.java (at line 68)
        int level = player.getLevel() - 43;
            ^^^^^
The local variable level is never read
----------
1 problem (1 warning)INFO DayNightSpawnManager: Day/Night handler initialized
INFO SpawnTable: Loaded 40095 Npc Spawn Locations.
how fix it ? 1.2.2 rev
Logged
NEFRIT
Newbie
*

Karma: 0
Offline Offline

Posts: 8


View Profile
« Reply #13 on: October 08, 2008, 11:40:07 am »

and this error  Huh?  Cry
Quote
====================================================================-[ Skills ]
INFO SkillTreeTable: Loaded 41697 skills.
INFO FishingSkillTreeTable:   Loaded 109 general skills.
INFO FishingSkillTreeTable:   Loaded 8 dwarven skills.
INFO EnchantSkillTreeTable:   Loaded 261 enchant skills.
INFO PledgeSkillTreeTable:    Loaded 128 pledge skills.
INFO TransformSkillTreeTable: Loaded 50 transform skills.
SEVERE Blessing of Protection (id: 5182) has errors.
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.l2jfree.gameserver.skills.effects.EffectProtectionBlessing
        at com.l2jfree.gameserver.skills.effects.EffectTemplate.<init>(EffectTemplate.java:71)
        at com.l2jfree.gameserver.skills.DocumentBase.attachEffect(DocumentBase.java:281)
        at com.l2jfree.gameserver.skills.DocumentBase.parseTemplate(DocumentBase.java:176)
        at com.l2jfree.gameserver.skills.DocumentSkill.parseSkill(DocumentSkill.java:321)
        at com.l2jfree.gameserver.skills.DocumentSkill.parseDocument(DocumentSkill.java:116)
        at com.l2jfree.gameserver.skills.DocumentBase.parse(DocumentBase.java:112)
        at com.l2jfree.gameserver.skills.SkillsEngine.loadSkills(SkillsEngine.java:91)
        at com.l2jfree.gameserver.skills.SkillsEngine.loadAllSkills(SkillsEngine.java:100)
        at com.l2jfree.gameserver.datatables.SkillTable.<init>(SkillTable.java:46)
        at com.l2jfree.gameserver.datatables.SkillTable.getInstance(SkillTable.java:38)
        at com.l2jfree.gameserver.GameServer.<init>(GameServer.java:180)
        at com.l2jfree.gameserver.GameServer.main(GameServer.java:430)
Caused by: java.lang.ClassNotFoundException: com.l2jfree.gameserver.skills.effects.EffectProtectionBlessing
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.l2jfree.gameserver.skills.effects.EffectTemplate.<init>(EffectTemplate.java:67)
        ... 11 more
INFO SkillsEngine: Loaded 36719 Skill templates from XML files.
INFO NobleSkills initialized
INFO HeroSkills initialized
Logged
dony
Elder
****

Karma: -8
Offline Offline

Posts: 416


CoderOFhell


View Profile
« Reply #14 on: October 08, 2008, 11:48:57 am »

Huh?  :'(how fix it ? 1.2.2 rev
that is a WARNING not error:P
Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

TinyPortal v1.0 beta 3 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.293 seconds with 31 queries.