Setup BBB Dev on server

26 views
Skip to first unread message

jeff

unread,
Oct 10, 2010, 8:21:40 PM10/10/10
to BigBlueButton-Setup
Ideally I would like to develop bbb on the server live. The checkout
feature works well and then I just mapped the network drive which I
can access from my windows box for use with flash builder. However I
am having problems setting up the compile build for the server. The
flex_sdk was just the framework and ubuntu does not know to look for
it even through I added it to the bashrc. So I also copied it into
the ant directory. That got the compile further along but still not
right. Is there an instruction sequence of how to build server side
live yet develop on a window/mac box using flash builder? It can be
for an older version of BBB or ubuntu. I should be able to figure out
the updates to the files or approach.

Jeremy Thomerson

unread,
Oct 10, 2010, 8:34:14 PM10/10/10
to bigbluebu...@googlegroups.com
Did you use bbb-conf --setup-dev?


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


jeff

unread,
Oct 10, 2010, 10:15:56 PM10/10/10
to BigBlueButton-Setup
Yes, and it worked great. The problem is in the build. The
environment is not set up correctly and I am not sure how to fix it.

On Oct 10, 8:34 pm, Jeremy Thomerson <jer...@thomersonfamily.com>
wrote:
> Did you use bbb-conf --setup-dev?
>
> On Sun, Oct 10, 2010 at 7:21 PM, jeff <jeffausf...@gmail.com> wrote:
> > Ideally I would like to develop bbb on the server live.  The checkout
> > feature works well and then I just mapped the network drive which I
> > can access from my windows box for use with flash builder.  However I
> > am having problems setting up the compile build for the server.  The
> > flex_sdk was just the framework and ubuntu does not know to look for
> > it even through I added it to the bashrc.  So I also copied it into
> > the ant directory.  That got the compile further along but still not
> > right.  Is there an instruction sequence of how to build server side
> > live yet develop on a window/mac box using flash builder?  It can be
> > for an older version of BBB or ubuntu.  I should be able to figure out
> > the updates to the files or approach.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "BigBlueButton-Setup" group.
> > To post to this group, send email to bigbluebu...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bigbluebutton-s...@googlegroups.com<bigbluebutton-setup%2Bunsu...@googlegroups.com>
> > .

Php Forhire

unread,
Oct 10, 2010, 10:19:19 PM10/10/10
to bigbluebu...@googlegroups.com
Don't ssh on to it or exit from bash or go to csh environment. I think is messed up when you use SSH(connecting remotely) when you compile.

hope this helps.


To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.

jeff

unread,
Oct 10, 2010, 10:44:57 PM10/10/10
to BigBlueButton-Setup
I will certainly try that tomorrow and get back to you. Thanks for
the suggestion.

On Oct 10, 10:19 pm, Php Forhire <php4hi...@gmail.com> wrote:
> Don't ssh on to it or exit from bash or go to csh environment. I think is
> messed up when you use SSH(connecting remotely) when you compile.
>
> hope this helps.
>
> > <bigbluebutton-setup%2Bunsu...@googlegroups.com<bigbluebutton-setup%252Buns...@googlegroups.com>
Message has been deleted

jeff

unread,
Oct 11, 2010, 7:50:42 AM10/11/10
to BigBlueButton-Setup
Seems to be the same output if I compile directly on the server or if
I compile remotely through putty. Here is the output.

Buildfile: build.xml

BUILD FAILED
java.lang.IllegalAccessError: class
org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl cannot
access its superclass org.apache.xerces.util.XMLAttributesImpl
$Attribute
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDocumentFragmentScannerMMImpl.java:
254)
at
org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentScannerMMImpl.java:
238)
at
org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.<init>(XMLNSDocumentScannerMMImpl.java:
75)
at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:
562)
at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:
409)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown
Source)
at
org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown
Source)
at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl
$JAXPSAXParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
Source)
at
org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:215)
at
org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
172)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
185)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
140)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
93)
at org.apache.tools.ant.Main.runBuild(Main.java:743)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
104)

Total time: 0 seconds
java.lang.IllegalAccessError: class
org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl cannot
access its superclass org.apache.xerces.util.XMLAttributesImpl
$Attribute
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:
277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDocumentFragmentScannerMMImpl.java:
254)
at
org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentScannerMMImpl.java:
238)
at
org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.<init>(XMLNSDocumentScannerMMImpl.java:
75)
at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:
562)
at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:
409)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown
Source)
at
org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown
Source)
at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at
org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl
$JAXPSAXParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
Source)
at
org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:215)
at
org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
172)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
185)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
140)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
93)
at org.apache.tools.ant.Main.runBuild(Main.java:743)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
104)
class org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl
cannot access its superclass org.apache.xerces.util.XMLAttributesImpl
$Attribute


Thanks for taking a look. That ant, flex-sdk, setup is still probably
very wrong.

jeff

unread,
Oct 11, 2010, 7:52:30 AM10/11/10
to BigBlueButton-Setup
Also in case it was not clear, I am attempting to build the client
using ant.
> ...
>
> read more »

Richard Alam

unread,
Oct 11, 2010, 8:10:17 AM10/11/10
to bigbluebu...@googlegroups.com
Hi Jeff,

Are you using the BBB VM for your development? The Flex SDK and Ant
environment should already been setup for you when you run bbb-conf
setup-dev.

We develop on windows (run FlexBuilder and Eclipse) while the code is
on the VM. That's what the setup for samba is for. So Eclipse and
FlexBuilder are able to access the VM directories.

When you type "ant -V" (not sure what the correct command), what's the
output? Seems like ant has a problem loading some dependencies.

Richard

> To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.


> For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
>
>

--
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

jeff

unread,
Oct 12, 2010, 3:17:53 PM10/12/10
to BigBlueButton-Setup
Hi Adam,

No I am not using the VM for my development. Two reasons mainly, I
want to work live on the server and VM zip file is corrupted (although
I have not tried downloading from an FTP client). Once I have created
the build directories, I can map the network drive and then use flex
builder from that point forward. When it comes to compiling(building)
it then I would like to compile server side (putty in on SSH). So
what I would ideally like to do is define the environment for building
on the server directly. The setup should be identical to the VM but
instructions for setting up the VM from scratch are not listed in a
place I can find (not saying it does not exist, I just cannot find
it). Hope that helps.

Cheers!
Jeff.

On Oct 11, 8:10 am, Richard Alam <ritza...@gmail.com> wrote:
> Hi Jeff,
>
> Are you using the BBB VM for your development? The Flex SDK and Ant
> environment should already been setup for you when you run bbb-conf
> setup-dev.
>
> We develop on windows (run FlexBuilder and Eclipse) while the code is
> on the VM. That's what the setup for samba is for. So Eclipse and
> FlexBuilder are able to access the VM directories.
>
> When you type "ant -V" (not sure what the correct command), what's the
> output? Seems like ant has a problem loading some dependencies.
>
> Richard
>
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages