Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Brekeke on OSX 10.8.2 and Tomcat 7
Author Message
dbesoli
Brekeke Newbie


Joined: 03 Oct 2012
Posts: 3
Location: BARCELONE

PostPosted: Wed Oct 03, 2012 3:11 am    Post subject: Brekeke on OSX 10.8.2 and Tomcat 7 Reply with quote

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/networkpatterns.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:

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:


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
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Wed Oct 03, 2012 11:03 am    Post subject: Reply with quote

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.
Back to top
View user's profile
dbesoli
Brekeke Newbie


Joined: 03 Oct 2012
Posts: 3
Location: BARCELONE

PostPosted: Thu Oct 04, 2012 2:47 am    Post subject: Reply with quote

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?
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Thu Oct 04, 2012 9:23 am    Post subject: Reply with quote

I run Brekeke SIP Server on Linux under VirtualBox on Mac OS X.
Let you try Smile
Back to top
View user's profile
dbesoli
Brekeke Newbie


Joined: 03 Oct 2012
Posts: 3
Location: BARCELONE

PostPosted: Thu Oct 04, 2012 9:26 am    Post subject: Reply with quote

Tata wrote:
I run Brekeke SIP Server on Linux under VirtualBox on Mac OS X.
Let you try Smile


Me too with ubuntu on VBox. I will continue this way

thx!
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Thu Oct 04, 2012 10:19 am    Post subject: Reply with quote

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.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1