Cannot create PoolableConnectionFactory (Connectig to the server ....)

318 views
Skip to first unread message

Alex Ditu

unread,
Sep 18, 2014, 10:27:43 AM9/18/14
to bigblueb...@googlegroups.com
I installed BBB 0.81, and built the bigbluebutton-client like in the tutorial, and when I try to connect it gets stuck at: "Connectig to the server ......."
And I get the following error:

/var/lib/tomcat6/logs/catalina.out:2014-09-18 16:09:20,459 ERROR [org.codehaus.groovy.grails.web.context.GrailsContextLoader] - <Error occurred shutting down plug-in manager: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))>
/var/lib/tomcat6/logs/catalina.out:org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: java.sql.SQLException: File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied)
/var/lib/tomcat6/logs/catalina.out:    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
/var/lib/tomcat6/logs/catalina.out:2014-09-18 16:19:23,308 ERROR [org.codehaus.groovy.grails.web.context.GrailsContextLoader] - <Error occurred shutting down plug-in manager: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))>
/var/lib/tomcat6/logs/catalina.out:org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: java.sql.SQLException: File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied)
/var/lib/tomcat6/logs/catalina.out:    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)


Is there a config file for a database connection? Because I can't find it.

If I set the client back to the original source (/var/www/bigbluebutton/client) it works fine.

Any ideas?



Fred Dixon

unread,
Sep 18, 2014, 7:43:58 PM9/18/14
to BigBlueButton-dev
Hi Alex,

Check out


Specifically

The config.xml file tells the BigBlueButton client what modules are retrieved and how to connect to the server. Later on, when you deploy your modified client to the BigBlueButton server, there will be two clients: your modified client and the default packaged client (again, this is good as you can switch back and forth). However, the BigBlueButton configuration command sudo bbb-conf only modifies the packaged client. If you need to change your config.xml (such as when the IP address of your server changes), you need to do it manually.


Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Alex Ditu

unread,
Sep 19, 2014, 2:58:22 AM9/19/14
to bigblueb...@googlegroups.com
I know I have to manually change the config.xml, but from the error I think it is trying to connect to a database, specifically to read form a file prodDb or something. In my config.xml I don't see nothing about any database. Can you tell me where is this file, or what part of the BBB is trying to connect to a db?

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/heKt5yICKUk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.

Alex Ditu

unread,
Sep 19, 2014, 5:36:48 AM9/19/14
to bigblueb...@googlegroups.com
Now I get the following error:

-- ERRORS found in /usr/share/red5/log/* --
/usr/share/red5/log/bigbluebutton.log:2014-09-19 12:32:38,641 [pool-9-thread-1] ERROR o.b.c.s.p.ConversionUpdatesMessageListener - Cannot handle recieved message.

Fred Dixon

unread,
Sep 19, 2014, 7:52:28 AM9/19/14
to BigBlueButton-dev
Hi Alex,

>  I think it is trying to connect to a database, specifically to read form a file prodDb or something

There is no database in BigBlueButton.  We think these messages come from the grails application which is expecting to connect to a database.

> [org.codehaus.groovy.grails.web.context.GrailsContextLoader] - <Error occurred shutting down plug-in manager: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException: prodDb.properties.new (Permission denied))>

As as aside, we did look into how to disable these messages -- or at least set the appropriate configuration in bbb-web so it doesn't try to create one -- but we didn't find the solution.

For now, you can ignore these messages.  We've see them as well on our servers.


Regards,... Fred

Alex Ditu

unread,
Sep 19, 2014, 8:20:17 AM9/19/14
to bigblueb...@googlegroups.com
Well, the problem is that when I launch the app (using my compiled version of bbb-client) it gets stuck at: "Connectig to server ...."
What am I missing out? Why it doesn't connect? Can you point me into the right direction?

Fred Dixon

unread,
Sep 19, 2014, 9:06:00 AM9/19/14
to BigBlueButton-dev
Hi Alex,

If the only changes you've made are to the client, then the problem isn't with bbb-web.

It's possible your browser is caching some components of the older client -- try clearing your cache or switching browsers.

Also, double-check that the config.xml being loaded by the BigBlueButton client is pointing to the correct hostname/IP address.  You can verify this by loading it directly in your browser



Regards,... Fred


Alex Ditu

unread,
Sep 19, 2014, 9:25:45 AM9/19/14
to bigblueb...@googlegroups.com
I didn't made any modification to the client: just cloned the repo, compiled and tried to run the app. When trying to join the meeting it gets stuck at: Connectig to server...
When I switch back to the default bbb-client (the one from /var/www/bigblueclient) it works fine.
The ip's in bbb-client-dev (from config.xml) are ok. Is there smth else I have to modify?

Fred Dixon

unread,
Sep 19, 2014, 9:31:10 AM9/19/14
to BigBlueButton-dev
> Connectig to server...

The client is trying to connect to the BigBlueButton server using the URLs in the config.xml.


> The ip's in bbb-client-dev (from config.xml) are ok.
Can you compare the config.xml in your development folder with the config.xml at

  /var/www/bigbluebutton/client/conf/config.xml

and ensure they match.  Also, verify that your getting the same config.xml in your browser as well.

Also, did you get any errors in compiling the client?

Regards,... Fred

Alex Ditu

unread,
Sep 19, 2014, 9:59:41 AM9/19/14
to bigblueb...@googlegroups.com
I found that in my config.xml after every module I had smth like this: ChatModule.swf?v=VERSION, and I replaced VERSION with the number found in the normal bbb-client which was 4359. Where is this number taken from?
Besides that there is no difference between config's.

I don't have errors, just a few warnings, but they seem ok to me:

Buildfile: build.xml

init-ant-contrib:

clean:
     [echo] Locale output dir exists. Deleting contents of /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/locale

generate-html-wrapper:

build-deskshare-no-linker:
     [echo] Compiling deskshare without optimization.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/DeskShareModule.swf (982526 bytes)

build-deskshare-standalone:
     [echo] Compiling deskshare standalone without optimization.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] Warning: DeskShareModule is a module or application that is directly referenced. This will cause DeskShareModule and all of its dependencies to be linked in with DeskshareStandalone. Using an interface is the recommended practice to avoid this.
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/DeskshareStandalone.swf (986448 bytes)

compile-deskshare-standalone:
     [echo] Deskshare standalone built without optimization.

build-mic-check:
     [echo] Compiling Microphone Check Application.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/MicrophoneCheck.swf (508637 bytes)

build-cam-check:
     [echo] Compiling Camera Check Application.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/CameraCheck.swf (514224 bytes)

build-conn-check:
     [echo] Compiling Connection Check Application.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/RTMPConnCheck.swf (510079 bytes)

build-webcam-preview-standalone:
     [echo] Compiling webcam preview standalone without optimization.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/WebcamPreviewStandalone.swf (515233 bytes)

build-webcam-view-standalone:
     [echo] Compiling webcam view standalone without optimization.
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/WebcamViewStandalone.swf (516835 bytes)

build-bbb-main:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml(160): Warning: var 'chromeBrowser' will be scoped to the default namespace: MainApplicationShell: internal.  It will not be visible outside of this package.
    [mxmlc]
    [mxmlc]             var chromeBrowser:ChromeWebcamPermissionImage = null;
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/main/api/JSLogger.as(5): col: 9 Warning: class 'JSLogger' will be scoped to the default namespace: org.bigbluebutton.main.api internal.  It will not be visible outside of this package.
    [mxmlc]
    [mxmlc]   class JSLogger {
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.swf (1753247 bytes)
     [echo] **********************************************
     [echo] *    Generated bundles.txt                   *
     [echo] * Make sure you include all resources listed *
     [echo] * in the file when building the locales.     *
     [echo] **********************************************
     [echo] Copying common assets for BBB Main
     [copy] Copying 113 files to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/org/bigbluebutton/common/assets/images

build-chat:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/modules/chat/services/ChatMessageService.as(113): col: 15 Warning: Duplicate variable definition.
    [mxmlc]
    [mxmlc]           var msg:ChatMessageVO = new ChatMessageVO();
    [mxmlc]               ^
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/modules/chat/services/ChatMessageService.as(125): col: 15 Warning: Duplicate variable definition.
    [mxmlc]
    [mxmlc]           var pcEvent:PublicChatMessageEvent = new PublicChatMessageEvent(PublicChatMessageEvent.PUBLIC_CHAT_MESSAGE_EVENT);
    [mxmlc]               ^
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/ChatModule.swf (323846 bytes)

build-present:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml(298): Warning: Data binding will not be able to detect assignments to "width".
    [mxmlc]
    [mxmlc]       <mx:Label id="lblFileName" width="{lblFileName.parent.width-selectBtn.width-uploadBtn.width-30}" selectable="false" click="selectFile()" text="{ResourceUtil.getInstance().getString('bbb.fileupload.lblFileName.defaultText')}" />
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/PresentModule.swf (186026 bytes)

build-layout:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/LayoutModule.swf (118344 bytes)

build-broadcast:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/BroadcastModule.swf (94079 bytes)

build-users:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/UsersModule.swf (162240 bytes)

build-main-chat-present:

build-deskshare:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/DeskShareModule.swf (114245 bytes)
     [echo] Copying deskshare applet for Deskshare Module
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client

build-phone:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/main/api/JSLogger.as(5): col: 9 Warning: class 'JSLogger' will be scoped to the default namespace: org.bigbluebutton.main.api internal.  It will not be visible outside of this package.
    [mxmlc]
    [mxmlc]   class JSLogger {
    [mxmlc]         ^
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/PhoneModule.swf (107705 bytes)
     [echo] Copying assets for Phone Module
     [copy] Copying 6 files to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/org/bigbluebutton/modules/phone/views/assets/images

build-video:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/VideoconfModule.swf (130721 bytes)

build-videodock:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/VideodockModule.swf (95276 bytes)

build-whiteboard:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml(298): Warning: Data binding will not be able to detect assignments to "width".
    [mxmlc]
    [mxmlc]       <mx:Label id="lblFileName" width="{lblFileName.parent.width-selectBtn.width-uploadBtn.width-30}" selectable="false" click="selectFile()" text="{ResourceUtil.getInstance().getString('bbb.fileupload.lblFileName.defaultText')}" />
    [mxmlc]
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/WhiteboardModule.swf (335857 bytes)

build-notes:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/NotesModule.swf (96988 bytes)

build-polling:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/PollingModule.swf (413186 bytes)

build-deskshare-phone-video-whiteboard-dyn:

copy-resource-files:
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/swfobject
     [copy] Copying 13 files to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/lib
     [copy] Copying 4 files to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/check
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/conf
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/conf
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/conf
     [echo] Copying config.xml for development environment
     [copy] Copying 1 file to /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/conf

compile-bbb:

branding:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] Required RSLs:
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz with 1 failover.
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/mx_4.5.0.20967.swz with 1 failover.
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/branding/css/BBBDefault.css.swf (102244 bytes)

branding-black:
    [mxmlc] Loading configuration file /home/alex/Desktop/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] Required RSLs:
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz with 1 failover.
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/mx_4.5.0.20967.swz with 1 failover.
    [mxmlc] /home/alex/Desktop/dev/bigbluebutton/bigbluebutton-client/client/branding/css/BBBBlack.css.swf (88746 bytes)

clean-build-all:

BUILD SUCCESSFUL
Total time: 4 minutes 41 seconds

Richard Alam

unread,
Sep 19, 2014, 10:11:59 AM9/19/14
to BigBlueButton-dev
Hi,

You installed 0.81 but compiling the upcoming 0.9.0 client. I believe you are compiling the master branch instead of the 

As mentioned on this section (https://code.google.com/p/bigbluebutton/wiki/DevelopingBBB#Checking_out_the_Source) you need to checkout the
0.81 branch.

git checkout -b my-bbb-branch v0.81-release
Then "ant && ant locales"

Richard

Alex Ditu

unread,
Sep 19, 2014, 10:18:26 AM9/19/14
to bigblueb...@googlegroups.com
Wow, big mistake. Thank you for your time. I'll fix it up right now.

Reply all
Reply to author
Forward
0 new messages