Skip to content

Some Help Please

Featured Replies

Guys i need your help, just tried to register a gameserver and  when i open registergameserver.bat (using latest stable version of l2jfree Gracia)i get this error :

 

INFO : loading login config

INFO : MLog clients using log4j logging.

INFO : Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace

: 10]

FATAL : Unable to load registry : Error creating bean with name 'sessionFactory'

defined in class path resource [spring.xml]: Invocation of init method failed;

nested exception is org.hibernate.InvalidMappingException: Could not read mappin

g documents from jar: l2jfree-login-1.1.0.jar check that you update xml file in

config folder ! org.springframework.beans.factory.BeanCreationException: Error c

reating bean with name 'sessionFactory' defined in class path resource [spring.x

ml]: Invocation of init method failed; nested exception is org.hibernate.Invalid

MappingException: Could not read mapping documents from jar: l2jfree-login-1.1.0

.jar

Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen

ts from jar: l2jfree-login-1.1.0.jar

        at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)

        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi

onFactory(LocalSessionFactoryBean.java:670)

        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr

opertiesSet(AbstractSessionFactoryBean.java:131)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb

ject(AbstractBeanFactory.java:250)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr

y.getSingleton(DefaultSingletonBeanRegistry.java:141)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:247)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:161)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.

preInstantiateSingletons(DefaultListableBeanFactory.java:270)

        at org.springframework.context.support.AbstractApplicationContext.refres

h(AbstractApplicationContext.java:346)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:92)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:77)

        at com.l2jfree.L2Registry.loadRegistry(L2Registry.java:65)

        at com.l2jfree.gsregistering.GameServerRegister.main(GameServerRegister.

java:47)

Caused by: java.io.FileNotFoundException: C:\Documents and Settings\dimitris\╬Χ╧

Α╬╣╧Η╬υ╬╜╬╡╬╣╬▒ ╬╡╧?╬│╬▒╧Δ╬ψ╬▒╧Γ\Server\Login\l2jfree-login-1.1.0.jar (╘Ύ ≤²≤ΪύΉ

ά ϊίΊ ί▀Ίάώ ≤ί ϋ▌≤ύ Ίά ίΊΪΎΏ▀≤ίώ ΪύΊ ΆάϋΎ±ώ≤Ή▌Ίύ ϊώάϊ±ΎΉ▐ ϊ▀≤ΆΎΫ)

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(Unknown Source)

        at java.util.jar.JarFile.<init>(Unknown Source)

        at java.util.jar.JarFile.<init>(Unknown Source)

        at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)

        ... 15 more

 

Exception in thread "main" org.springframework.beans.factory.BeanCreationExcepti

on: Error creating bean with name 'sessionFactory' defined in class path resourc

e [spring.xml]: Invocation of init method failed; nested exception is org.hibern

ate.InvalidMappingException: Could not read mapping documents from jar: l2jfree-

login-1.1.0.jar

Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen

ts from jar: l2jfree-login-1.1.0.jar

        at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)

        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi

onFactory(LocalSessionFactoryBean.java:670)

        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr

opertiesSet(AbstractSessionFactoryBean.java:131)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBean

Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb

ject(AbstractBeanFactory.java:250)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr

y.getSingleton(DefaultSingletonBeanRegistry.java:141)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:247)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean

(AbstractBeanFactory.java:161)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.

preInstantiateSingletons(DefaultListableBeanFactory.java:270)

        at org.springframework.context.support.AbstractApplicationContext.refres

h(AbstractApplicationContext.java:346)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:92)

        at org.springframework.context.support.ClassPathXmlApplicationContext.<i

nit>(ClassPathXmlApplicationContext.java:77)

        at com.l2jfree.L2Registry.loadRegistry(L2Registry.java:65)

        at com.l2jfree.gsregistering.GameServerRegister.main(GameServerRegister.

java:47)

Caused by: java.io.FileNotFoundException: C:\Documents and Settings\dimitris\╬Χ╧

Α╬╣╧Η╬υ╬╜╬╡╬╣╬▒ ╬╡╧?╬│╬▒╧Δ╬ψ╬▒╧Γ\Server\Login\l2jfree-login-1.1.0.jar (╘Ύ ≤²≤ΪύΉ

ά ϊίΊ ί▀Ίάώ ≤ί ϋ▌≤ύ Ίά ίΊΪΎΏ▀≤ίώ ΪύΊ ΆάϋΎ±ώ≤Ή▌Ίύ ϊώάϊ±ΎΉ▐ ϊ▀≤ΆΎΫ)

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(Unknown Source)

        at java.util.jar.JarFile.<init>(Unknown Source)

        at java.util.jar.JarFile.<init>(Unknown Source)

        at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)

        ... 15 more

Have you edited the loginserver.config?....You have to make the option:

 

AcceptNewGameserver = True...

  • Author

Well thought it could fix it but no it didn't , it comes up with the same message . Pfff im trying to fix it like 5 hours now

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.