[SIPForum-discussion] SIP Programming guide

Rakesh V vrakesh.techie at gmail.com
Sat Jun 27 13:40:35 UTC 2009


Hi Yevgen Krapiva ,
First of all i should tell you Kudos for your Great Work .
Though i'm good at Java/Oracle/Java Fx, I'm a beginner ( totally new ) in
SIP/VOIP stuff and the way you have organised the code, it's easy to
understand and follow .
I have manged to set up the Project in windows ( working in NetBeans IDE ) .

Initially i have faced several issues and i could resolve most of them
successfully .
Once i'm able to successfully test it, i'll mail the netbeans project (
including the executables for windows )  and the experiences, i.e the
problems i encountered while running and how i over came them in detail .
First I have compiled all the files and generated 3 different jar files . (
to start the 3 services ) I also have written 3 bat files and simply
clicking those 3 bat files should start the Location Service Server, the
Registrar and the Proxy .
First i have started the rmiregistry.exe file  in the JRE_HOME/bin directory
.
Then i have tried to start the Location Service, then the Registrar and then
the Proxy in order .
But still i have some issues with the Location Service Server .
The log file of the location server shows that the Application has started
well but it's strange that the registrar and proxy are not able to locate
the location server .

I'm pasting the output of the 3 log files below . Kindly look in to it and
suggest me if i need to make any additional settings or changes .
location-service.log
==================================================================
2009-06-27 18:44:58,875  [main] INFO  - Starting Location Service server
v0.01...
2009-06-27 18:44:58,890  [main] INFO  - Default domain: openjsip.net
2009-06-27 18:44:58,890  [main] INFO  - Reading user database...
2009-06-27 18:44:58,921  [main] INFO  - Domain openjsip.net contains 6
records.
2009-06-27 18:44:58,953  [main] INFO  - Skipped 0 records.
2009-06-27 18:44:58,953  [main] INFO  - Update period: 5s.

registrar.log
===================================================================
2009-06-27 18:45:05,031  [main] INFO  - Starting Registrar v0.01...
2009-06-27 18:45:05,031  [main] INFO  - Connecting to Location Service
server at localhost:1099 ...
2009-06-27 18:45:05,125  [main] ERROR - Cannot connect to Location Service
server. Check if server is running and registered within RMI registry at
target host.
2009-06-27 18:45:05,125  [main] ERROR -
java.lang.NullPointerException
    at openjsip.registrar.Registrar.<init>(Registrar.java:438)
    at openjsip.registrar.Registrar.main(Registrar.java:184)

proxy.log
===================================================================
2009-06-27 18:45:10,093  [main] INFO  - Starting Proxy v0.01...
2009-06-27 18:45:10,296  [main] INFO  - Connecting to Location Service
server at localhost:1099 ...
2009-06-27 18:45:10,468  [main] ERROR - Cannot connect to Location Service
server. Check if server is running and registered within RMI registry at
target host.



Looking forward for your reply .........................

Thanks & Regards,
Rakesh
http://vrakesh.20.googlepages.com/rakeshvagvala


On Fri, Jun 26, 2009 at 5:35 PM, Yevgen Krapiva <ykrapiva at gmail.com> wrote:

> Yes it can, but I could not to run it. Windows says I have some
> troubles with permissions (its about Java Security).
> I think the problem is in allperms.policy file but I couldn't manage
> it yet. I will create a test hello world project and find the right
> settings.
>
> 2009/6/26, Rakesh V <vrakesh.techie at gmail.com>:
> > HiYevgen Krapiva,
> > I have downloaded our project just now and extracted the zip file . It's
> a
> > great work .
> > This Application of yours seems to be designed for running on Linux
> machine
> > . i have seen the file
> > openjsip <file:///D:/openjsip-v0.1/openjsip/bin/openjsip> unix script in
> > that project .
> > Kindly let me know if  your project can be configured to run on Windows
> > machine also ?
> >
> > Thanks
> >
> > On Thu, Jun 25, 2009 at 7:07 PM, Yevgen Krapiva <ykrapiva at gmail.com>
> wrote:
> >
> >> Guys, I've decided to publish what I have already done, because I need
> >> to leave for a couple of weeks.
> >> Maybe someone would comment my work and I will know in what direction
> >> I should move.
> >>
> >> http://code.google.com/p/openjsip/
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20090627/e2d40b4f/attachment-0002.html>


More information about the discussion mailing list