Issue 195 in restcomm: Error building SqlSession

8 views
Skip to first unread message

rest...@googlecode.com

unread,
May 6, 2015, 6:45:51 AM5/6/15
to restcomm-issue...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium RestcommAMI

New issue 195 by njabs...@gmail.com: Error building SqlSession
https://code.google.com/p/restcomm/issues/detail?id=195

What steps will reproduce the problem?
1.downloaded Mobicents-JbossAS7-7.2.2619 ans extracted it
2.I ran the ..\mediaserver\run.bat it was running fine
3.the I ran Mobicents-Jboss-AS7-7.2.2.619/bin/standalone.bat -c
standalone-sip.xml

What is the expected output? What do you see instead?
==============================================================================
==
==
== Thank you for running Mobicents Community code
==
== For Commercial Grade Support, please request a TelScale Subscription
==
== http://www.telestax.com/
==
==
==
=============================================================================

instead i get this error message on my log

12:09:21,748 ERROR [org.mobicents.servlet.sip.startup.SipStandardContext]
(ServerService Thread Pool -- 54) An error occured when notifying the
servlet org.mobicents.servlet.restcomm.Bootstrapper of the event
SERVLET_INITIALIZED: org.apache.ibatis.exceptions.PersistenceException:
### Error building SqlSession.
### The error may exist in
file://C:\Mobicents-Restcomm-JBoss-AS7-7.2.2.619\standalone\deployments\restcomm.war\/WEB-INF/sql/accounts.xml
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL
Mapper Configuration. Cause: java.net.UnknownHostException: C
at
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)
at
org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:51)
at
org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:43)
at
org.mobicents.servlet.restcomm.dao.mybatis.MybatisDaoManager.start(MybatisDaoManager.java:197)
at
org.mobicents.servlet.restcomm.Bootstrapper.storage(Bootstrapper.java:104)
at
org.mobicents.servlet.restcomm.Bootstrapper.servletInitialized(Bootstrapper.java:142)
at
org.mobicents.servlet.sip.startup.SipStandardContext.notifySipContextListeners(SipStandardContext.java:1304)
[sip-servlets-as7-3.1.602.jar:3.1.602]
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.addSipApplication(SipApplicationDispatcherImpl.java:507)
[sip-servlets-impl-3.1.602.jar:3.1.602]
at
org.mobicents.servlet.sip.startup.SipStandardContext.start(SipStandardContext.java:362)
[sip-servlets-as7-3.1.602.jar:3.1.602]
at org.mobicents.as7.deployment.SIPWebContext.start(SIPWebContext.java:139)
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
at
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.7.0_11]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_11]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL
Mapper Configuration. Cause: java.net.UnknownHostException: C
at
org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:106)
at
org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:89)
at
org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:49)
... 18 more

What version of the product are you using? On what operating system?
I am running Mobicents-JbossAS7-7.2.2619 on using windows 7
java jdk version is 1.7

Please provide any additional information below.
PLease help I am new at this
please contact me on njab...@gmail.com or alternatively on
njabulo....@blackstars.net

please find a attached the server log fine


Attachments:
server.log 45.4 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

rest...@googlecode.com

unread,
May 11, 2015, 12:44:46 PM5/11/15
to restcomm-issue...@googlegroups.com

Comment #1 on issue 195 by jean.deruelle: Error building SqlSession
https://code.google.com/p/restcomm/issues/detail?id=195

Can you please report this issue on
https://github.com/Mobicents/RestComm/issues/new as this code repository is
not active anymore ?
Thanks
Reply all
Reply to author
Forward
0 new messages