Huge question about developing

87 views
Skip to first unread message

ali amiri

unread,
Dec 2, 2012, 12:02:10 AM12/2/12
to bigblueb...@googlegroups.com
Dear All,
Unfortunately,I cant compile bbb-web.I think source is Incomplete.
I do it with this way:
1- bbb-conf --setup-dev web
    # Copying the bigbluebutton.properites in /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties to ~/.grails/bigbluebutton-config.properties
# Copying the bbb_api_conf.jsp into /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties to /root/dev/source/bigbluebutton/bigbluebutton-web/web-app/demo
# Enabling root to write to /var/bigbluebutton to upload slides
# Enabling root to write to /var/log/bigbluebutton to write log files
# Copying bbb-common-message-0.7.jar into /root/dev/source/bigbluebutton/bigbluebutton-web/lib

# Done.  To run your local build of bbb-web:

        sudo /etc/init.d/tomcat6 stop
        cd /root/dev/source/bigbluebutton/bigbluebutton-web
        ant


2-
sudo /etc/init.d/tomcat6 stop
3-
cd /root/dev/source/bigbluebutton/bigbluebutton-web
4- ant
  
Buildfile: /root/dev/source/bigbluebutton/bigbluebutton-web/build.xml

check-port-8080:
     [echo] Checking whether tomcat6 is running before doing 'grails run-app'

run:
     [echo] Running grails ...
     [exec] Welcome to Grails 1.1.1 - http://grails.org/
     [exec] Licensed under Apache Standard License 2.0
     [exec] Grails home is set to: /usr/local/grails
     [exec]
     [exec] Base Directory: /root/dev/source/bigbluebutton/bigbluebutton-web
     [exec] Running script /usr/local/grails/scripts/RunApp.groovy
     [exec] Environment set to development
     [exec]      [copy] Copying 1 file to /root/.grails/1.1.1/projects/bigbluebutton-web
     [exec] Running Grails application..
     [exec] [02.12.12 07:07:39.450] WARN  com.opensymphony.oscache.base.Config  - OSCache: No properties file found in thin the classpath by filename /oscache.properties
     [exec] [02.12.12 07:07:40.230] WARN  org.codehaus.groovy.grails.web.servlet.mvc.GrailsUrlHandlerMapping  - Neither  'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
     [exec] [02.12.12 07:07:40.576] DEBUG org.bigbluebutton.api.messaging.RedisMessagingService  - Starting redis pubsub...
     [exec] [02.12.12 07:07:40.625] ERROR org.springframework.web.context.ContextLoader  - Context initialization failed
     [exec] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meetingService' defined in URL [file:./grails-app/conf/spring/resources.xml]: Error setting property values; nested exception is org.sp
     [exec] PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'messagingService' org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
     [exec]     at java.security.AccessController.doPrivileged(Native Method)
     [exec]     at grails.web.container.EmbeddableServer$start.call(Unknown Source)
 PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'messagingService' t$
     [exec]     at java.security.AccessController.doPrivileged(Native Method)
     [exec]     at grails.web.container.EmbeddableServer$start.call(Unknown Source)
     [exec]     at _GrailsRun_groovy$_run_closure5_closure11.doCall(_GrailsRun_groovy:145)
     [exec]     at _GrailsRun_groovy$_run_closure5_closure11.doCall(_GrailsRun_groovy)
     [exec]     at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
     [exec]     at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
     [exec]     at _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_groovy:137)
     [exec]     at _GrailsRun_groovy$_run_closure5.call(_GrailsRun_groovy)
     [exec]     at _GrailsRun_groovy.runInline(_GrailsRun_groovy:104)
     [exec]     at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
     [exec]     at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:58)
     [exec]     at RunApp$_run_closure1.doCall(RunApp.groovy:33)
     [exec]     at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
     [exec]     at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
     [exec]     at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
     [exec]     at gant.Gant.dispatch(Gant.groovy:334)
     [exec]     at gant.Gant.this$2$dispatch(Gant.groovy)
     [exec]     at gant.Gant.invokeMethod(Gant.groovy)
     [exec]     at gant.Gant.processTargets(Gant.groovy:495)
     [exec]     at gant.Gant.processTargets(Gant.groovy:480)
     [exec] Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
     [exec] PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'messagingService' t$
     [exec]     ... 23 more
     [exec] [02.12.12 07:07:40.625] ERROR org.mortbay.log  - Failed startup of context org.mortbay.jetty.webapp.WebAppCon$
     [exec] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meetingService' defin$
     [exec] PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'messagingService' t$
     [exec]     at java.security.AccessController.doPrivileged(Native Method)
     [exec]     at grails.web.container.EmbeddableServer$start.call(Unknown Source)
     [exec]     at _GrailsRun_groovy$_run_closure5_closure11.doCall(_GrailsRun_groovy:145)
     [exec]     at _GrailsRun_groovy$_run_closure5_closure11.doCall(_GrailsRun_groovy)
     [exec]     at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
     [exec]     at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
     [exec]     at _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_groovy:137)
     [exec]     at _GrailsRun_groovy$_run_closure5.call(_GrailsRun_groovy)
     [exec]     at _GrailsRun_groovy.runInline(_GrailsRun_groovy:104)
     [exec]     at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
     [exec]     at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:58)
     [exec]     at RunApp$_run_closure1.doCall(RunApp.groovy:33)
     [exec]     ... 466 more
     [exec] Caused by: java.net.ConnectException: Connection refused
     [exec]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [exec]     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
     [exec]     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
     [exec]     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
     [exec]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
     [exec]     at java.net.Socket.connect(Socket.java:546)
     [exec]     at redis.clients.jedis.Connection.connect(Connection.java:119)
     [exec]     ... 471 more
     [exec] Server running. Browse to http://localhost:8080/bigbluebutton



I need help you . :(

Chad Pilkey

unread,
Dec 3, 2012, 11:03:39 AM12/3/12
to bigblueb...@googlegroups.com
It looks like you're trying to build the 0.7 code. I would suggest upgrading your server to 0.8 as the 0.7 code hasn't been worked on in 2 years and I'm not sure how much assistance you're going to get with old code.

ali amiri

unread,
Dec 3, 2012, 11:38:57 AM12/3/12
to bigblueb...@googlegroups.com
Hi Chad ,
can you get me a port of bbb-web to the netbeans or eclipse file?
I can't do porting bbb-web to the eclipse or netbeans

Chad Pilkey

unread,
Dec 3, 2012, 12:11:06 PM12/3/12
to bigblueb...@googlegroups.com
The 0.8 bbb-web is a grails application. If you google for them there are quite a few examples for importing a grails project into Eclipse.

shabgard javaan

unread,
Dec 3, 2012, 12:57:06 PM12/3/12
to bigblueb...@googlegroups.com
very very thanks for answer,
I find http://www.grails.org/STS+Integration ,do you think this is good for this action?
How  i use grails 2.1.1 and gradle 1.3 for bbb-web?


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/HcLRWo_1OIkJ.

To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

shabgard javaan

unread,
Dec 3, 2012, 1:05:35 PM12/3/12
to bigblueb...@googlegroups.com
Sorry,my mean in the latest line:
 Grails 2.1.1 and Gradle 1.3  working for developing  bbb-web or i should use just Grails 1.1.1 and Gradle 0.8?
I'm java developer and I'm still learning groovy.I have very little information about Grails and Gradle.

Chad Pilkey

unread,
Dec 3, 2012, 1:12:22 PM12/3/12
to bigblueb...@googlegroups.com
I'm not really sure, I haven't done any development with bbb-web myself. Using Grails 2.1.1 and Gradle1.3 might work, but you could also run into issues.
Reply all
Reply to author
Forward
0 new messages