{"id":327,"date":"2010-06-10T18:51:37","date_gmt":"2010-06-10T18:51:37","guid":{"rendered":""},"modified":"2012-05-26T17:30:39","modified_gmt":"2012-05-26T17:30:39","slug":"funambol-first-run","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/funambol-first-run\/","title":{"rendered":"Funambol &#8211; first run"},"content":{"rendered":"<p><a href=\"https:\/\/www.funambol.com\/\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.funambol.com\/images\/logo.png\" style=\"float: right;\" data-recalc-dims=\"1\" \/><\/a><br \/>\nOK. I assume that we have installed Funambol, as I described <a href=\"\/en\/content\/funambol-first-try\">here<\/a>. It is time to run the server. Go to the Funambol directory (default: \/opt\/Funambol) and run:<\/p>\n<pre># .\/bin\/funambol start<\/pre>\n<p>if you are lucky the server will start, but on Solaris, you need to modify scripts, because you problably will see that message:<\/p>\n<pre>.\/bin\/funambol: J2EE_HOME=\/opt\/Funambol\/tools\/tomcat: is not an identifier<\/pre>\n<p>and again &#8211; this is compatibility problem between Linux and Unix shell. But personally I think, that Funambol developers should correct this, and in place of:<\/p>\n<pre>export J2EE_HOME=${FUNAMBOL_HOME}\/tools\/tomcat<\/pre>\n<p>should be:<\/p>\n<pre>J2EE_HOME=${FUNAMBOL_HOME}\/tools\/tomcat\r\nexport J2EE_HOME<\/pre>\n<p>this solves this problem, another one is:<\/p>\n<pre>OS=$(uname)<\/pre>\n<p>should be:<\/p>\n<pre>OS=`uname`<\/pre>\n<p>this is example of course, there are more this kind of commands, and you can correct them if you want, but I simply decide to modify shell call in first lines of those scripts. Let&#8217;s find scripts in <b>bin<\/b> and <b>admin<\/b> directory:<\/p>\n<pre># find bin admin -type f -exec file {} \\;|grep shell\r\nbin\/xml-to-wbxml:       executable shell script\r\nbin\/admin-passwd:       executable shell script\r\nbin\/inbox-listener:     executable shell script\r\nbin\/funambol-server:    executable shell script\r\nbin\/encrypt-passwords:  executable shell script\r\nbin\/pim-listener:       executable shell script\r\nbin\/patch:      executable shell script\r\nbin\/install:    executable shell script\r\nbin\/funambol:   executable shell script\r\nbin\/hypersonic: executable shell script\r\nbin\/ctp-server: executable shell script\r\nbin\/wbxml-to-xml:       executable shell script\r\nbin\/install-modules:    executable shell script\r\nadmin\/bin\/unix\/funamboladmin:   executable shell script\r\nadmin\/bin\/funamboladmin:        executable shell script\r\nadmin\/platform6\/lib\/nbexec:     executable shell script<\/pre>\n<p>in <b>admin<\/b> you will need only <b>admin\/bin\/funamboladmin<\/b>, but this one looks good, and you probably will use it on desktop machine, so you do not need to change it. You need to correct those in <b>bin<\/b> directory, so:<\/p>\n<pre>\r\n# find bin -type f -exec file {} \\; | grep shell | cut -d: -f1 > mod.txt\r\n# for a in `cat mod.txt`; do gsed -i \"s\/#\\!\\\/bin\\\/sh\/#\\!\\\/bin\\\/bash\/\" $a; done\r\n# gsed -i \"s\/ sh \/ bash \/g\" bin\/funambol\r\n# gsed -i \"s\/ sh \/ bash \/g\" bin\/funambol-server\r\n<\/pre>\n<p><i>remember that <b>gsed = GNU sed<\/b>, if you do not have one, you should consider to install some GNU utilities<\/i><br \/>\ntime to run:<\/p>\n<pre>\r\n# .\/bin\/funambol start\r\n# ps -ef|grep -v grep|grep -i funambol\r\n    root 16346 25522   0 17:55:10 pts\/1       0:03 \/usr\/java\/bin\/java -Dfile.encoding=UTF-8 -Dfunambol.home=\/opt\/Funambol -Djava.n\r\n    root 16378 25522   0 17:55:10 pts\/1       0:03 \/usr\/java\/bin\/java -Dfile.encoding=UTF-8 -Dfunambol.home=\/opt\/Funambol -Dfunamb\r\n    root 16373 25522   0 17:55:10 pts\/1       0:03 \/usr\/java\/bin\/java -Dfile.encoding=UTF-8 -Dfunambol.home=\/opt\/Funambol -Dfunamb\r\n    root 16367 25522   0 17:55:10 pts\/1       0:14 \/usr\/java\/bin\/java -Xmx512M -Dfunambol.debug=false -Dfunambol.home=\/opt\/Funambo\r\n# netstat -an|grep 8080\r\n      *.8080               *.*                0      0 49152      0 LISTEN\r\n<\/pre>\n<p>it looks like it works, well done \ud83d\ude42<br \/>\nNow, to verify that the Funambol Data Synchronization Service is running, start a web browser and open the URL http:\/\/servername:8080\/funambol. A Data Synchronization Service test page should appear. You can log in to Web Demo Client using &#8216;guest&#8217; as login name and password.<br \/>\nNext stage is to run Funambol Administration Tool, I ran this from my Linux desktop, change dir to Funambol home directory and ran:<\/p>\n<pre>% .\/admin\/bin\/funamboladmin<\/pre>\n<p>this is shown in Funambol Installation and Administration Guide with pictures, then I will not describe it here.<br \/>\nNext thing I have done is described in chapter <b>14. Taking the &#8220;proof of concept&#8221; test drive<\/b>, but described there Java Demo Client does not work for me. I changed settings in File->Configure->Server URL and tried to synchronize, but nothing has been done. When I enter configuration once more, I saw that URL is set to default http:\/\/localhost:8080\/funambol\/ds again. So I get desktop client for Thunderbird from <a href=\"https:\/\/www.forge.funambol.org\/download\/#desktop\" target=\"_blank\">this page<\/a>, installed it and configured for my server. Then I succesfully synchronize contacts in address book. Synchronization with calendar was not possible, because plugin is (was) compatible with Lightning v0.8, and I have newer version (v0.9).<br \/>\nI do not have a BlackBerry device yet, so I downloaded plugin for my Nokia with Symbian s60 from <a href=\"https:\/\/www.forge.funambol.org\/download\/#phone\" target=\"_blank\">Mobile Clients page<\/a>. After installation and configuration I synchronized succesfully contacts and calendar with my Funambol BIS server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/www.funambol.com\/\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/www.funambol.com\/images\/logo.png\" style=\"float: right;\" \/><\/a><br \/>\nOK. I assume that we have installed Funambol, as I described <a href=\"\/en\/content\/funambol-first-try\">here<\/a>. It is time to run the server. Go to the Funambol directory (default: \/opt\/Funambol) and run:<\/p>\n<pre># .\/bin\/funambol start<\/pre>\n<p>if you are lucky the server will start, but on Solaris, you need to modify scripts, because you problably will see that message:<\/p>\n<pre>.\/bin\/funambol: J2EE_HOME=\/opt\/Funambol\/tools\/tomcat: is not an identifier<\/pre>\n<p>and again &#8211; this is compatibility problem between Linux and Unix shell. But personally I think, that Funambol developers should correct this, and in place of:<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[],"tags":[],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-5h","jetpack-related-posts":[{"id":186,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":327,"position":0},"title":"Funambol &#8211; first run","author":"drfugazi","date":"Thursday June 10th, 2010","format":false,"excerpt":"OK. I assume that we have installed Funambol, as I described here. It is time to run the server. Go to the Funambol directory (default: \/opt\/Funambol) and run: # .\/bin\/funambol start if you are lucky the server will start, but on Solaris, you need to modify scripts, because you problably\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":324,"url":"https:\/\/drfugazi.eu.org\/en\/funambol-pierwsze-uruchomienie\/","url_meta":{"origin":327,"position":1},"title":"Funambol &#8211; pierwsze uruchomienie","author":"","date":"Thursday June 10th, 2010","format":false,"excerpt":"OK. Zak\u0142adam, \u017ce mamy zainstalowany serwer Funambol, tak jak opisa\u0142em tutaj. Nadszed\u0142 czas na uruchomienie serwera. Prosz\u0119 wej\u015b\u0107 do katalogu Funambol (domy\u015blnie: \/opt\/Funambol) i wykonaj polecenie: # .\/bin\/funambol start je\u015bli masz szcz\u0119\u015bcie to serwer wystartuje, ale na Solarisie trzeba zmodyfikowa\u0107 skrypty startowe, gdy\u017c prawdopodobnie zobaczysz taki komunikat: .\/bin\/funambol: J2EE_HOME=\/opt\/Funambol\/tools\/tomcat: is\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":187,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":327,"position":2},"title":"Funambol &#8211; pierwsze uruchomienie","author":"drfugazi","date":"Thursday June 10th, 2010","format":false,"excerpt":"OK. Zak\u0142adam, \u017ce mamy zainstalowany serwer Funambol, tak jak opisa\u0142em tutaj. Nadszed\u0142 czas na uruchomienie serwera. Prosz\u0119 wej\u015b\u0107 do katalogu Funambol (domy\u015blnie: \/opt\/Funambol) i wykonaj polecenie: # .\/bin\/funambol start je\u015bli masz szcz\u0119\u015bcie to serwer wystartuje, ale na Solarisie trzeba zmodyfikowa\u0107 skrypty startowe, gdy\u017c prawdopodobnie zobaczysz taki komunikat: .\/bin\/funambol: J2EE_HOME=\/opt\/Funambol\/tools\/tomcat: is\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":326,"url":"https:\/\/drfugazi.eu.org\/en\/funambol-first-try\/","url_meta":{"origin":327,"position":3},"title":"Funambol &#8211; first try","author":"","date":"Wednesday June  9th, 2010","format":false,"excerpt":"Funambol is Open Source software, which act as a server BIS (BlackBerry Internet Server) and provide contacts, calendars, notes and email synchronization with BlackBery devices. Funambol is not only BIS server - it also provides related projects like plugins to most popular email clients like Outlook or Thunderbird, desktop software\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":185,"url":"https:\/\/drfugazi.eu.org\/en\/","url_meta":{"origin":327,"position":4},"title":"Funambol &#8211; first try","author":"drfugazi","date":"Wednesday June  9th, 2010","format":false,"excerpt":"Funambol is Open Source software, which act as a server BIS (BlackBerry Internet Server) and provide contacts, calendars, notes and email synchronization with BlackBery devices. Funambol is not only BIS server - it also provides related projects like plugins to most popular email clients like Outlook or Thunderbird, desktop software\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":323,"url":"https:\/\/drfugazi.eu.org\/en\/funambol-pierwsze-podejscie\/","url_meta":{"origin":327,"position":5},"title":"Funambol &#8211; pierwsze podej\u015bcie","author":"","date":"Wednesday June  9th, 2010","format":false,"excerpt":"Funambol to oprogramowanie Open Source, kt\u00f3re dzia\u0142a jako serwer BIS (BlackBerry Internet Server) i umo\u017cliwia synchronizacj\u0119 kontakt\u00f3w, kalendarzy, notatek i poczty z urz\u0105dzeniami wykorzystuj\u0105cymi us\u0142ug\u0119 BlackBerry. Funambol to jednak nie tylko serwer BIS, to tak\u017ce powi\u0105zane projekty takie jak wtyczki do popularnych klient\u00f3w poczty takich jak Outlook czy Tunderbird, oprogramowanie\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/327"}],"collection":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":0,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}