bbb-api-demo (demo pages changes)

402 views
Skip to first unread message

Dhaval Patel

unread,
May 20, 2013, 10:13:05 AM5/20/13
to bigbluebu...@googlegroups.com
Hello Everyone,

I want to change demo pages(ex. demo1.jsp, demo2.jsp etc) .

And in which IDE I have to import bbb-api-demo directory ??

When ever I build bbb-api-demo it build fine, but when I try to run then I am getting below error.


Error ...................start

Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [34] in the generated java file: [E:\apache7\apache-tomcat-7.0.39\work\Catalina\localhost\demo\org\apache\jsp\demo1_jsp.java]
Only a type can be imported. org.apache.commons.lang.StringEscapeUtils resolves to a package

An error occurred at line: 486 in the jsp file: /bbb_api.jsp
StringEscapeUtils cannot be resolved
483:                     if (j != 0){
484:                         playback +=", ";
485:                     }
486:                     playback += StringEscapeUtils.escapeXml("<a href='" + urlP + "'>" + typeP + "</a>");
487:                    
488:                     if(typeP.equalsIgnoreCase("slides")){
489:                         length = lengthP;

Error ..........................end

What will be the issue?
Please help on this.

Thanks,
Dhaval.

Fred Dixon

unread,
May 20, 2013, 10:19:46 AM5/20/13
to bigbluebu...@googlegroups.com
Hi Dhaval,

Are you a developer?  If not, we would recommend you take the (much) easier approach and use an existing 3rd-party front-end for your existing BigBlueButton server.

One of the simplest way to start is to use the WordPress front-end.  See


Get yourself a WordPress site (there are many companies that will provide you one), add the BigBlueButton WordPress plugin (you can do it from within WordPress itself), and configure it to connect to your BigBlueButton server.  Note: If you are setting up your BigBlueButton server internally behind a firewall, you'll need to provide access to the internal BigBlueButton server from the external WordPress site.  See


Alternatively, if you want to modify the built-in demo API examples and create a custom landing page, see


And in which IDE I have to import bbb-api-demo directory ??

Don't use an IDE; rather, just edit the files directly.  Make small changes to the .jsp files and refresh the page each time to ensure it compiles correctly.  If you are new to .jsp programming, use Google to search for tutorials on Java Server Pages (JSP) programming; there are many.


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




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




Dhaval Patel

unread,
May 20, 2013, 10:35:13 AM5/20/13
to bigbluebu...@googlegroups.com
Hi Fred,
Thanks for replay,

Suppose I want to change in any demo.jsp page then I have to change it through  /var/lib/tomcat6/webapps/demo/demo1.jsp ??

Instead of changing manually I  want to configure bbb-api-demo  in any IDE so it is possible to import this project in any IDE?

Regards,
Dhaval.

Fred Dixon

unread,
May 20, 2013, 10:41:38 AM5/20/13
to bigbluebu...@googlegroups.com
Hi Dhaval,

You'll find the source for the API demos at


We don't have instructions for importing them into an IDE.  To be honest, we didn't use an IDE to develop them; rather, we just edited the source directly and refresh the web pages to re-load the updated version.

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



Dhaval Patel

unread,
May 20, 2013, 10:49:05 AM5/20/13
to bigbluebu...@googlegroups.com
Hi Fred,

Thanks for support.

I will follow your instruction if any query I will post my issue.

Regards,
Dhaval

Dhaval Patel

unread,
May 21, 2013, 7:52:41 AM5/21/13
to bigbluebu...@googlegroups.com
Hi Fred,

I am following your given steps.

When I am create a meeting room using WordPress then I am getting below error.

I am using WordPress 3.4.2.

Error: Fatal error: Call to undefined function openssl_random_pseudo_bytes() in C:\wamp\www\wordpress\wp-content\plugins\bigbluebutton\bigbluebutton-plugin.php on line 864
For more Information I am attaching error file.

Please help on this.

Regards,
Dhaval






wp_error.png

Fred Dixon

unread,
May 21, 2013, 8:10:09 AM5/21/13
to bigbluebu...@googlegroups.com
Hi Dhaval,

Can you prove us the steps to re-create this error?

Don't post your BigBlueButton URL and shared secret (salt) to the mailing list, but if you can e-mail me directly, I'll try duplicating the problem and post a follow-up to this thread.


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

Dhaval Patel

unread,
May 21, 2013, 10:26:37 AM5/21/13
to bigbluebu...@googlegroups.com
Hi Fred,

I resolved this problem I have just changed php.ini (;extension=php_openssl.dll). I have just removed ; from start of extension in php.ini.

Then restarting all services.

Thanks for your support.

Regards,
Dhaval
Reply all
Reply to author
Forward
0 new messages