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
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Where to look for this symbol in the launch file LoginServer.bat or in the database file? Maybe someone can throw off their server that was actually launched. Or a file to register the server. I downloaded the server and inserted the MSQL password everywhere. I don't understand the rest. Help please.
GameServer.
I apologize, I managed to launch it without errors. I moved the server from the desktop to the root of the C drive and it launched without errors. Thank you very much. If anyone has the RegisterGameServer.bat file, I would be very grateful.
Question
Feelmyspells
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
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.