Menu

Using the Source code of Borg Calendar

Help
2013-02-27
2013-03-03
  • pankaj kumar

    pankaj kumar - 2013-02-27

    HI sir, sir i am using the source code of Borg Calendar and using mysql database with localhost apache, i m getting this error "Feb 27, 2013 9:33:16 AM net.sf.borg.common.SocketClient sendMsg
    INFO: Connection closed by server.", sir please help me out.
    thank you for advance.

     
  • pankaj kumar

    pankaj kumar - 2013-02-27

    i also get error "java.io.IOException: invalid url"

     
  • Mike Berger

    Mike Berger - 2013-02-27

    Do you mean that you are running from within Eclipse? If so, the invalid url error is fine and you should ignore it.

    When the program starts, it checks to see if an instance of the program is already running. To do this, it sends a message over a socket. The default socket port is 2929 and can be changed in the Miscellaneous preferences. This port is for borg only. Make sure this port is not set to a port used by another program. Leave it as 2929, unless 2929 is used by another program.

    If Borg had already been running, then starting another copy of Borg would simply have opened the already running instance and not started a second copy. If Borg was not already running, it would have started. So, the error seems to indicate that the socket port is set to the port of another program, or perhaps some firewall is preventing Borg from opening the port.

     
  • pankaj kumar

    pankaj kumar - 2013-03-03

    HI sir sir i was using Borg with Netbeans,,,,but now i want to use BORG with Eclipse sir plz enlighten my Path how to use Borg with Eclipse.
    Thank you for Advance...

     
  • Mike Berger

    Mike Berger - 2013-03-03

    I already gave the steps in another thread:

    1. Install lombok in Eclipse. The lombok.jar included with borg is executable. Run it and follow the instructions to install in Eclipse.
    2. Import BORGCalendar into eclipse as an existing project
    3. Add the res/resource folder to the classpath if you want run from within eclipse. This is the classpath within the Eclipse run task that you create.

    You'll have to learn the basics of Eclipse on your own. Once you know how to use Eclipse for a basic Java project, the above steps are simple.

    Why do you want to use Eclipse if you already use Netbeans?

     
MongoDB Logo MongoDB