Brekeke on OSX 10.8.2 and Tomcat 7

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
dbesoli
Posts: 3
Joined: Wed Oct 03, 2012 2:57 am
Location: BARCELONE

Brekeke on OSX 10.8.2 and Tomcat 7

Post by dbesoli »

1. Brekeke Product Name and version:
3.0.7

2. Java version:
1.6.0_35

3. OS type and the version:
OSX 10.8.2

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 :
Pattern 1

6. Your problem:
When I deploy sip war to tomcat and try to url: http://localhost:8080/sip this is the result on navigator

Code: Select all

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error that prevented it from fulfilling this request.

exception

java.lang.NullPointerException
	com.brekeke.sipadmin.web.Login.exec(Unknown Source)
	com.brekeke.web.Bean.execMain(Unknown Source)
	com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
	com.brekeke.web.Bean.execute(Unknown Source)
	com.brekeke.web.Bean.go(Unknown Source)
	com.brekeke.web.Bean.startBean(Unknown Source)
	com.brekeke.web.GateServlet.performTask(Unknown Source)
	com.brekeke.web.GateServlet.doGet(Unknown Source)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs.

Apache Tomcat/7.0.30
And in catalina.out

Code: Select all


INFO: Deploying web application archive /usr/local/apache-tomcat-7.0.30/webapps/sip.war
initialize error!!!!!!!!! com.brekeke.sipadmin.web.Initializer
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.brekeke.web.GateServlet.init(Unknown Source)
        at javax.servlet.GenericServlet.init(GenericServlet.java:160)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /usr/local/apache-tomcat-7.0.30/webapps/sip/WEB-INF/work/nativelib/x86_64/libbrlic.so
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1020)
        at com.brekeke.license.LicenseClient.initialize(Unknown Source)
        at com.brekeke.sipadmin.SipAdminBase.initProperties(Unknown Source)
        at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
        at com.brekeke.sipadmin.web.Initializer.initialize(Unknown Source)
        ... 23 more
java.lang.UnsatisfiedLinkError: Can't load library: /usr/local/apache-tomcat-7.0.30/webapps/sip/WEB-INF/work/nativelib/x86_64/libbrlic.so
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1020)
        at com.brekeke.license.LicenseClient.initialize(Unknown Source)
        at com.brekeke.sipadmin.SipAdminBase.initProperties(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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.brekeke.web.GateServlet.init(Unknown Source)
        at javax.servlet.GenericServlet.init(GenericServlet.java:160)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[/b]

do i need some additional package or simply i can't test brekeke on this platform?

thx
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Brekeke SIP Server version 2.x supports Mac OS X.
But version 3.x doesn't support it.

Use Windows or Linux if you try Brekeke version 3.
dbesoli
Posts: 3
Joined: Wed Oct 03, 2012 2:57 am
Location: BARCELONE

Post by dbesoli »

redroof wrote:Brekeke SIP Server version 2.x supports Mac OS X.
But version 3.x doesn't support it.

Use Windows or Linux if you try Brekeke version 3.
what a pity!

are there plans to support it in the near future?
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

I run Brekeke SIP Server on Linux under VirtualBox on Mac OS X.
Let you try :)
dbesoli
Posts: 3
Joined: Wed Oct 03, 2012 2:57 am
Location: BARCELONE

Post by dbesoli »

Tata wrote:I run Brekeke SIP Server on Linux under VirtualBox on Mac OS X.
Let you try :)
Me too with ubuntu on VBox. I will continue this way

thx!
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Note, the Network Adapter setting at VirtualBox must be "Bridged Adapter".
If it is "NAT", Brekeke SIP Server will enable the NAT traversal option automatically which will consume the memory.
Post Reply