1. Brekeke Product Name and version: BSS 2.0 latest download (eval)
2. Java version: jre1.6.0_04
3. OS type and the version: Win2k3 svr web edition
4. UA (phone), gateway or other hardware/software involved: none
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
Trying to get BSS to register to my MS SQL server 2000 DB have tried both latest JDBC driver :- http://msdn2.microsoft.com/en-us/data/aa937724.aspx
and an older one that seemed to work for someone else:-
http://www.brekeke-sip.com/bbs/viewtopic.php?t=2475
But getting nowhere fast! the biggest problem is when I input the DB config in for the first time, BSS seems to take it and connect ok, but when I try to start sip server, I get popup (port error) Then Database connection errors.
When I look in the log.log the first time, it shows it has connected to my server, but there after even though no config changes have been made, it shows that its tried to connect to 127.0.0.1 and not even tried my server!!
Heres sv.properties:-
#SIP Server properties file
#Thu Jan 31 22:01:34 GMT 2008
net.registrar.upper.url=
net.usrdir.plugins=SqlUserDir
net.sip.addrecordroute=on
net.rtp.video.port.max=0
net.rtp.loglevel.console=0
alias.url=
net.upnp.use=false
net.auth.realm=bss01
net.net1.interface=
userdir.url=jdbc\:sqlserver\://10.0.0.1\:1433;DatabaseName\=serverdb
sipadmin.net.upnp.timer.period.sec=30
net.registrar.thru.allow=off
alias.password=
net.rtp.port.min=10000
alias.enabled=off
net.registrar.loglevel.console=0
sipadmin.productname=
ua.loglevel.console=0
net.rtcp.loglevel.console=0
net.registrar.thru.nat.allow=true
net.upnp.timer.use=true
net.register.loglevel.console=0
sipadmin.net.portmap.cache.period.sec=86400
net.portmap.cache.period=86400000
networkaddress.cache.ttl=3600
net.net4.interface=
sv.location=UK
com.brekeke.sipadmin.startparam1=
net.sip.adjustif=off
net.registrar.upper.catchhere=true
net.sip.ipfilter.pattern=
alias.user=
userdir.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
net.sip.port.local=5060
net.auth.policy4=off
sipadmin.startup=auto
net.auth.policy3=off
net.auth.policy2=off
net.sip.res100.all=on
net.portmap.cache.size=24
net.rtp.port.max=10999
net.userdir.cryptpw=true
net.sip.addrport=on
userdir.enabled=on
net.auth.request=3
alias.driver=
net.net2.interface=
net.sip.followroute.nat=false
userdir.password=password
net.auth.request_r=on
sv.description=SIP server
net.auth.loglevel.console=0
net.auth.policy=0
net.auth.request_i=on
net.sip.timeout.talking=259200000
net.listener.loglevel.console=0
net.ip-gw=
net.sip.addrport.recv=off
net.net5.interface=
net.registrar.thru.catchhere=true
net.userdir.loglevel.console=0
registered.user=sa
embedded.port=
userdir.user=sa
sv.admin.sip=101@testsite
net.external-addr.pattern=
sv.name=Sip101
net.sip.timeout.ringing=240000
net.rtp.session.timeout=300000
net.registrar.upper.nat.allow=true
net.rtp.responseport=on
net.rtp.relay.localhost=on
net.registrar.awake.use=on
net.portmap.cache.use=true
net.sip.ipfilter.type=disable
registered.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
net.sip.ipfilter=false
net.rtp.video.port.min=0
registered.enabled=on
net.registrar.maxsession=100
registered.password=password
net.registrar.upper.timeout=30000
mng.loglevel.console=0
net.registrar.awake.interval=12000
sv.loglevel.console=0
sv.admin.mail=
net.sip.loglevel.console=0
net.net3.interface=
net.session.limit=-1
net.upnp.port.exact=false
net.registrar.upper.allow=off
net.upnp.timer.period=30000
registered.url=jdbc\:sqlserver\://10.0.0.1\:1433;DatabaseName\=serverdb
net.rtp.relay=on
Log.log :-
2008-01-31 22:01:36,531 [Thread-1] ERROR (?:?) -
com.brekeke.sipadmin.alias.AliasDBException: Connection error jdbc:hsqldb:hsql://127.0.0.1; prop={user=sa, enabled=off, password=, url=, driver=}
at com.brekeke.sipadmin.alias.SqlAliasDB.getConnection(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.initConnection(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.open(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.<init>(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.sipadmin.web.Initializer.initialize(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.brekeke.web.GateServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Can someone point me in the right direction?
Thanks
Wayne
2. Java version: jre1.6.0_04
3. OS type and the version: Win2k3 svr web edition
4. UA (phone), gateway or other hardware/software involved: none
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
Trying to get BSS to register to my MS SQL server 2000 DB have tried both latest JDBC driver :- http://msdn2.microsoft.com/en-us/data/aa937724.aspx
and an older one that seemed to work for someone else:-
http://www.brekeke-sip.com/bbs/viewtopic.php?t=2475
But getting nowhere fast! the biggest problem is when I input the DB config in for the first time, BSS seems to take it and connect ok, but when I try to start sip server, I get popup (port error) Then Database connection errors.
When I look in the log.log the first time, it shows it has connected to my server, but there after even though no config changes have been made, it shows that its tried to connect to 127.0.0.1 and not even tried my server!!
Heres sv.properties:-
#SIP Server properties file
#Thu Jan 31 22:01:34 GMT 2008
net.registrar.upper.url=
net.usrdir.plugins=SqlUserDir
net.sip.addrecordroute=on
net.rtp.video.port.max=0
net.rtp.loglevel.console=0
alias.url=
net.upnp.use=false
net.auth.realm=bss01
net.net1.interface=
userdir.url=jdbc\:sqlserver\://10.0.0.1\:1433;DatabaseName\=serverdb
sipadmin.net.upnp.timer.period.sec=30
net.registrar.thru.allow=off
alias.password=
net.rtp.port.min=10000
alias.enabled=off
net.registrar.loglevel.console=0
sipadmin.productname=
ua.loglevel.console=0
net.rtcp.loglevel.console=0
net.registrar.thru.nat.allow=true
net.upnp.timer.use=true
net.register.loglevel.console=0
sipadmin.net.portmap.cache.period.sec=86400
net.portmap.cache.period=86400000
networkaddress.cache.ttl=3600
net.net4.interface=
sv.location=UK
com.brekeke.sipadmin.startparam1=
net.sip.adjustif=off
net.registrar.upper.catchhere=true
net.sip.ipfilter.pattern=
alias.user=
userdir.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
net.sip.port.local=5060
net.auth.policy4=off
sipadmin.startup=auto
net.auth.policy3=off
net.auth.policy2=off
net.sip.res100.all=on
net.portmap.cache.size=24
net.rtp.port.max=10999
net.userdir.cryptpw=true
net.sip.addrport=on
userdir.enabled=on
net.auth.request=3
alias.driver=
net.net2.interface=
net.sip.followroute.nat=false
userdir.password=password
net.auth.request_r=on
sv.description=SIP server
net.auth.loglevel.console=0
net.auth.policy=0
net.auth.request_i=on
net.sip.timeout.talking=259200000
net.listener.loglevel.console=0
net.ip-gw=
net.sip.addrport.recv=off
net.net5.interface=
net.registrar.thru.catchhere=true
net.userdir.loglevel.console=0
registered.user=sa
embedded.port=
userdir.user=sa
sv.admin.sip=101@testsite
net.external-addr.pattern=
sv.name=Sip101
net.sip.timeout.ringing=240000
net.rtp.session.timeout=300000
net.registrar.upper.nat.allow=true
net.rtp.responseport=on
net.rtp.relay.localhost=on
net.registrar.awake.use=on
net.portmap.cache.use=true
net.sip.ipfilter.type=disable
registered.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
net.sip.ipfilter=false
net.rtp.video.port.min=0
registered.enabled=on
net.registrar.maxsession=100
registered.password=password
net.registrar.upper.timeout=30000
mng.loglevel.console=0
net.registrar.awake.interval=12000
sv.loglevel.console=0
sv.admin.mail=
net.sip.loglevel.console=0
net.net3.interface=
net.session.limit=-1
net.upnp.port.exact=false
net.registrar.upper.allow=off
net.upnp.timer.period=30000
registered.url=jdbc\:sqlserver\://10.0.0.1\:1433;DatabaseName\=serverdb
net.rtp.relay=on
Log.log :-
2008-01-31 22:01:36,531 [Thread-1] ERROR (?:?) -
com.brekeke.sipadmin.alias.AliasDBException: Connection error jdbc:hsqldb:hsql://127.0.0.1; prop={user=sa, enabled=off, password=, url=, driver=}
at com.brekeke.sipadmin.alias.SqlAliasDB.getConnection(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.initConnection(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.open(Unknown Source)
at com.brekeke.sipadmin.alias.SqlAliasDB.<init>(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.sipadmin.web.Initializer.initialize(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.brekeke.web.GateServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Can someone point me in the right direction?
Thanks
Wayne