bbb-web

720 views
Skip to first unread message

raja pradhan

unread,
Mar 27, 2012, 11:58:51 PM3/27/12
to bigblueb...@googlegroups.com
I think i am in serious problem.Please help me.

Everything was fine and the i ran the following (as mentioned in http://code.google.com/p/bigbluebutton/wiki/08SettingDevEnvironment#Developing_BBB-Web)

bbb-conf --setup-dev web

cd /home/firstuser/dev/bigbluebutton/bigbluebutton-web/

grails -Dserver.port=8888 run-app

now it shows compilation failed.
here is the output

Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/dev/bigbluebutton/bigbluebutton-web
Running script /home/firstuser/dev/tools/grails-1.1.1/scripts/RunApp.groovy
Environment set to development
     [copy] Copied 3 empty directories to 2 empty directories under /home/firstuser/.grails/1.1.1/projects/bigbluebutton-web/resources
  [groovyc] Compiling 61 source files to /home/firstuser/.grails/1.1.1/projects/bigbluebutton-web/classes
  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Compile error during compilation with javac.
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:11: package com.google.gson does not exist
  [groovyc] import com.google.gson.Gson;
  [groovyc]                       ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:12: package com.google.gson.reflect does not exist
  [groovyc] import com.google.gson.reflect.TypeToken;
  [groovyc]                               ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:13: package redis.clients.jedis does not exist
  [groovyc] import redis.clients.jedis.Jedis;
  [groovyc]                           ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:14: package redis.clients.jedis does not exist
  [groovyc] import redis.clients.jedis.JedisPool;
  [groovyc]                           ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:15: package redis.clients.jedis does not exist
  [groovyc] import redis.clients.jedis.JedisPubSub;
  [groovyc]                           ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:20: cannot find symbol
  [groovyc] symbol  : class JedisPool
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]     private JedisPool redisPool;
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:98: cannot find symbol
  [groovyc] symbol  : class JedisPool
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]     public void setRedisPool(JedisPool redisPool){
  [groovyc]                              ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:102: cannot find symbol
  [groovyc] symbol  : class JedisPubSub
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]     private class PubSubListener extends JedisPubSub {
  [groovyc]                                          ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/imp/SwfSlidesGenerationProgressNotifier.java:38: package com.google.gson does not exist
  [groovyc] import com.google.gson.Gson;
  [groovyc]                       ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/OfficeToPdfConversionSuccessFilter.java:33: package com.google.gson does not exist
  [groovyc] import com.google.gson.Gson;
  [groovyc]                       ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/SupportedDocumentFilter.java:32: package com.google.gson does not exist
  [groovyc] import com.google.gson.Gson;
  [groovyc]                       ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:40: cannot find symbol
  [groovyc] symbol  : class Jedis
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]             Jedis jedis = redisPool.getResource();
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:59: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]             Gson gson = new Gson();
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:59: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]             Gson gson = new Gson();
  [groovyc]                             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:64: cannot find symbol
  [groovyc] symbol  : class Jedis
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]             Jedis jedis = redisPool.getResource();
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:77: cannot find symbol
  [groovyc] symbol  : class Jedis
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService
  [groovyc]             final Jedis jedis = redisPool.getResource();
  [groovyc]                   ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:108: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:118: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService.PubSubListener
  [groovyc]                     Gson gson = new Gson();
  [groovyc]                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:118: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService.PubSubListener
  [groovyc]                     Gson gson = new Gson();
  [groovyc]                                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:119: cannot find symbol
  [groovyc] symbol  : class TypeToken
  [groovyc] location: class org.bigbluebutton.api.messaging.RedisMessagingService.PubSubListener
  [groovyc]                     HashMap<String,String> map = gson.fromJson(message, new TypeToken<Map<String, String>>() {}.getType());
  [groovyc]                                                                             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:113: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:168: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:173: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:178: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/RedisMessagingService.java:183: method does not override or implement a method from a supertype
  [groovyc]             @Override
  [groovyc]             ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/imp/SwfSlidesGenerationProgressNotifier.java:49: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.imp.SwfSlidesGenerationProgressNotifier
  [groovyc]                     Gson gson= new Gson();
  [groovyc]                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/imp/SwfSlidesGenerationProgressNotifier.java:49: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.imp.SwfSlidesGenerationProgressNotifier
  [groovyc]                     Gson gson= new Gson();
  [groovyc]                                    ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/OfficeToPdfConversionSuccessFilter.java:71: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.OfficeToPdfConversionSuccessFilter
  [groovyc]                     Gson gson = new Gson();
  [groovyc]                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/OfficeToPdfConversionSuccessFilter.java:71: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.OfficeToPdfConversionSuccessFilter
  [groovyc]                     Gson gson = new Gson();
  [groovyc]                                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/SupportedDocumentFilter.java:68: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.SupportedDocumentFilter
  [groovyc]                     Gson gson= new Gson();
  [groovyc]                     ^
  [groovyc] /home/firstuser/dev/bigbluebutton/bigbluebutton-web/src/java/org/bigbluebutton/presentation/SupportedDocumentFilter.java:68: cannot find symbol
  [groovyc] symbol  : class Gson
  [groovyc] location: class org.bigbluebutton.presentation.SupportedDocumentFilter
  [groovyc]                     Gson gson= new Gson();
  [groovyc]                                    ^
  [groovyc] 31 errors
  [groovyc]
  [groovyc]
  [groovyc] 1 error
Compilation error: Compilation Failed

What do i do now.Please help me.

markos calderon

unread,
Mar 28, 2012, 12:50:17 AM3/28/12
to bigblueb...@googlegroups.com
Hi raja,

Run: gradle resolveDeps

And try again...

- Markos


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
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.



--
- Markos
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BigBlueButton Developer
http://about.me/markoscalderon
"A programmer is just a tool which converts caffeine into code"

raja pradhan

unread,
Mar 28, 2012, 11:22:26 PM3/28/12
to bigblueb...@googlegroups.com
Hi Markos,
Thanx for your reply.

i ran gradle resolveDeps. It ran successfully.
again when i am running grails -Dserver.port=8888 run-app
it shows

Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/dev/bigbluebutton/bigbluebutton-web
Running script /home/firstuser/dev/tools/grails-1.1.1/scripts/RunApp.groovy
Environment set to development
     [copy] Copying 1 file to /home/firstuser/.grails/1.1.1/projects/bigbluebutton-web
Running Grails application..
[29.03.12 03:14:41.056] WARN  org.codehaus.groovy.grails.web.servlet.mvc.GrailsUrlHandlerMapping  - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
[29.03.12 03:14:41.529] DEBUG org.bigbluebutton.api.messaging.RedisMessagingService  - Starting redis pubsub...
[29.03.12 03:14:41.678] DEBUG org.bigbluebutton.api.messaging.RedisMessagingService  - Subscribed to the pattern:bigbluebutton:meeting:*
[29.03.12 03:14:46.325] WARN  org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin  - No JSecurity realms configured - access control won't work!
[29.03.12 03:14:46.348] DEBUG grails.app.bootstrap.BootStrap  - Bootstrapping bbb-web
Server running. Browse to http://localhost:8888/bigbluebutton
[29.03.12 03:15:41.526] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
[29.03.12 03:16:41.525] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
[29.03.12 03:17:41.526] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
[29.03.12 03:18:41.526] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
[29.03.12 03:19:41.526] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings

This continued for almost 2 hours.I am not sure if it is normal or i am having problem.
Please help me.

Fred Dixon

unread,
Mar 28, 2012, 11:31:20 PM3/28/12
to bigblueb...@googlegroups.com
Hi Raja

[29.03.12 03:19:41.526] INFO  org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings 

This is the normal background process to clean up expired meetings.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

raja pradhan

unread,
Mar 28, 2012, 11:35:27 PM3/28/12
to bigblueb...@googlegroups.com
That means its normal and i should wait.

Thanx for your reply Fred.I am your fan :)

markos calderon

unread,
Mar 28, 2012, 11:39:33 PM3/28/12
to bigblueb...@googlegroups.com
Hi raja,

yeah, that's fine, it means that it's running ok...

Let me explain, when you run the command "grails run-app"  basically is using the grails web server for deploy in this case the project bigbluebutton-web, this is not running in background, so you can see directly the output messages in the console...

If you want to deploy in tomcat, you should generate a war file and then deploy in the tomcat folder....
Something like:
1) Stop tomcat6 -> sudo /etc/init.d/tomcat6 stop
2) Delete the bigbluebutton folder from tomcat6 -> sudo rm -r /var/lib/tomcat6/webapps/bigbluebutton*
3) generate a war file, inside bigbluebutton-web run: grails war
4) copy the war file to tomcat folder: sudo cp bigbluebutton-XXX.war /var/lib/tomcat6/webapps/bigbluebutton.war 
5) start tomcat6: sudo /etc/init.d/tomcat6 start

Also, it's good that you should do a backup (you know just in case)....

Do I explain me well? :)

- Markos

raja pradhan

unread,
Mar 29, 2012, 3:13:09 AM3/29/12
to bigblueb...@googlegroups.com
Yup,markos you explained very nicely :)

Thanx for taking time interest to explain the concept.

raja pradhan

unread,
Mar 29, 2012, 7:58:17 AM3/29/12
to bigblueb...@googlegroups.com
Hi,

For the last 7-8 hours I have been seeing --cleaning up expired meetings after i run

grails -Dserver.port=8888 run-app

As i was said its a normal cleaning up process i am ready to wait for another X hours.
But i want to know do I have to go through this process every time i make some changes
in bigbluebutton-web and run the above command?
Can anybody tell me what is the normal time for the clean up process.

Please excuse me if i seem a bit impatient but i am ready to wait...

 

markos calderon

unread,
Mar 29, 2012, 1:03:21 PM3/29/12
to bigblueb...@googlegroups.com
Hi raja,

maybe, I wasn't very clear... :)

But, I have a few questions, why are you setting the dev environment, do you want the latest changes from master in your installation? or do you want to develop in one of the modules?... bigbluebutton-web, is the component in charge of the API and the presentation conversion, so you have two ways for "deploy" this module, using "grails run-app" or by generating a war file and deploy in tomcat6...

We use "grails run-app" when for example, we are going to do a change in the API, let's say a new call "getTotalUsers", so I can do changes in bigbluebutton-web (add new code, put logs, etc), then deploy with "grails run-app" and see directly the output in the console, if I type Ctrl+C it will stop that grails web server... The message Cleaning up expired meetings  is a process that is running constantly checking for the meetings that already ended and remove them from memory. (so by saying this, it never ends)...    

We use "generate a war file and deploy to tomcat6", when we want to put this module on production... So probably if you want the latest changes, you have to do this method...

 - Markos 
 



 

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
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.

raja pradhan

unread,
Mar 29, 2012, 5:24:30 PM3/29/12
to bigblueb...@googlegroups.com
Hi Markos,

I did the following :

1)First I ran the commands to setup the developing environment for BBB-web
bbb-conf --setup-dev web
gradle resolveDeps
grails
-Dserver.port=8888 run-app

But when i try to join a demo meeting I get an error page  displaying Status Code 500 and
information about a java.lang.NullPointerException.

Then i undo the development running the following commands :

   cd /etc/bigbluebutton/nginx
   sudo ln -s -f /etc/bigbluebutton/nginx/web web.nginx

then

  sudo bbb-conf --clean

But now the BigBlueButton server startup shows startup unsuccessfull:could not connect to http://myip/bigbluebutton/api

So what did i mesh up?How to overcome it.

3) I want to make the following changes(as instructed by my institution)
   i) Change the favicon
   ii)default presentation
   iii)Edit the welcome message in chat box to something like--Welcome to BigBlueButton
   iv)title of the web page which provides the main client interface

Please let me know if the above changes are possible.If yes how to do them.

markos calderon

unread,
Mar 29, 2012, 6:15:20 PM3/29/12
to bigblueb...@googlegroups.com
Hi raja,

I'm not sure what you did for mesh up...

But, the changes that you want to do, doesn't require to setup a development environment for bigbluebutton...

inline my answers


3) I want to make the following changes(as instructed by my institution)
   i) Change the favicon

replace the favicon from this location: /var/www/bigbluebutton-default 
(BTW, clear the cache from your browser when you do the change)

 
   ii)default presentation

You can change the default presentation by two ways:

1) You can set a new url for the default presentation:

This properties file in your installation is located in: /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

2) Or you can simply change the default.pdf for another with the same name in: /var/www/bigbluebutton-default/

 
   iii)Edit the welcome message in chat box to something like--Welcome to BigBlueButton

 
   iv)title of the web page which provides the main client interface


Change the title in: /var/www/bigbluebutton/client/BigBlueButton.html

- Markos 

raja pradhan

unread,
Mar 30, 2012, 12:13:43 AM3/30/12
to bigblueb...@googlegroups.com
Hi markos,
I am very much thankful to you from the core of my heart.
I followed your instructions word for word and everything works just great :)
I am back on track.
But one last question : I often get -- Sorry,we cannot connect to the server message
So can you explain me why it happens & what do i do in such a situation.

Thanx again :)

markos calderon

unread,
Mar 30, 2012, 11:48:26 AM3/30/12
to bigblueb...@googlegroups.com
Hi raja,

I'm not sure what could be the problem, you could try checking by running in the console:
bbb-conf --check

And see if there is a potential problem...

- Markos

zesmalik

unread,
Jun 13, 2012, 7:54:23 AM6/13/12
to bigblueb...@googlegroups.com
i have same the error when i perform the above steps.i found the following Warning and no more.

:compileJava
:processResources
:classes
:jar
[ant:jar] Warning: skipping jar archive /home/firstuser/dev/source/bigbluebutton/bigbluebutton-web/build/libs/bigbluebutton-web-unspecified.jar because no files were included.
[ant:jar] Warning: skipping jar archive /home/firstuser/dev/source/bigbluebutton/bigbluebutton-web/build/libs/bigbluebutton-web-unspecified.jar because no files were included.
:resolveDeps
kindly let me know.what is solution.i am using latest rc2 source code.
Reply all
Reply to author
Forward
0 new messages