--
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi.I am running a virtual machine in my laptop using VirtualBox a Lubuntu (x86).I have download the jars of the application using the firefox browser on Lubuntu. I have used the jar urls of the catalog.xml to check if this jars are available, and everything is ok, so.. I do not know which will be the problem. Will the VM be?Thank you for your help.Jose2013/12/5 Richard Downer <richard...@cloudsoftcorp.com>
Hi,Yes, it's correct to download the brooklyn.properties and catalog.xml from the web - the example files from the brooklyn website should be ready-to-go.Can you tell me a bit more about the machine you are running Brooklyn on? The directory tree you posted looks like it's from a Linux-like system. If you're running this on Windows, are you running Cygwin?ThanksRichard.On 5 December 2013 14:24, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.This is my directory structure/home/brooklyn-0.6.0/bin/conf/dropin/lib/patchbrooklyn.debug.logbrooklyn.info.log
LICENSE.txtpid_javaREADME.md/brooklynbrooklyn.propertiescatalog.xmlI downloaded brooklyn.properties and catalog.xml from web. is it correct?Thanks.
Hello again.I have moved brooklyn directory and brooklyn-0.6.0 to home:
/home/brooklyn-0.6.0/brooklynbut Brooklyn does not find the example installed application.what do you recommend me?Thanks a lot.Jose2013/12/10 Jose Carrasco <kiu...@gmail.com>
Hello again.I am sorry, I went to holidays last days. I have prove echo ${HOME}/.brooklyn and it tell me: /home/jose/.brooklyn so My directory structure was wrong and I think this is the problem. The following directory structure is the correct:/home/jose
/brooklyn-0.6.0/bin/conf
/dropin/lib/patchbrooklyn.debug.logbrooklyn.info.logLICENSE.txtpid_javaREADME.md/brooklynbrooklyn.propertiescatalog.xml
I am going to change the directories brooklyn and I will send you the results.Thanks
Hi Jose,I dont if this helps you, but I used CLI maven to build brooklyn, and not from eclipse. So maybe you can try that too to see if its ok.
Rusty
On Thu, Dec 12, 2013 at 1:19 PM, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.
Now I am trying to prove the �application examples from�http://brooklyncentral.github.io/use/examples/index.html.
I have download the code from github using the�github��deskopt application for Windows (I am using Windows 7). Following I am build the project correctly in NetBeans, The maven dependences are resulved and the project are built. However, I do not get to build the sample code in Eclipse, so I have decided ask about this questions in this tread*.�
I have import the parent project (brooklyn-sampled which is download from GitHub) as Maven project in Eclipse, the project is built and the dependences resolved.The next step is open the simple-web-cluster example (I want to see the class to understand how brooklyn work and how the application is built), but this callenge look like impossible for me.
I have imported the simple-web-cluster as a maven project from the parent project(which is built in the previous step),�nevertheless the result is not as expected. There are some errors in the pom, you can see them in the picture. The dependences is not resolved and the java classes are not recognized.
*I do know if this is the correct thread to ask �one more time, so if it is not I will change �it.
El martes, 10 de diciembre de 2013 16:36:55 UTC+1, David Toy escribi�:
Jose,
Great to read!
fyi - This GitHub repo[1] of catalogs and properties may be useful as you continue with Brooklyn.
David
On Tue, Dec 10, 2013 at 3:30 PM, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.
Yes, this was the problem.
Thanks a los Richar and David.I am begining to use Brooklyn so I will ask about this challenge a lot ;-)
Jose
El martes, 10 de diciembre de 2013 15:50:35 UTC+1, David Toy escribi�:
Hi Jose, Richard,
I've had a similar problem when I copied and pasted a catalog.xml from my web browser, rather than downloading it with curl or wget.
The urls in your catalog have become un-urlencode-d. Check the ampersands.
Your urls should have "&", �not "&".
Good
Bad:
Let us know how you get on!HTH,David
On Tue, Dec 10, 2013 at 2:45 PM, Jose Carrasco <kiu...@gmail.com> wrote:
Hello.Of course, I have �posted the code in�http://pastie.org/8542183.
I got the code of catalog from�http://brooklyncentral.github.io/use/guide/quickstart/catalog.xml
Thanks.Jose.
El martes, 10 de diciembre de 2013 15:26:43 UTC+1, Richard Downer escribi�:
Jose,
I think you're right, the problem is with catalog.xml. It looks like it has an XML syntax error in it. Could you post your catalog.xml here, or in a GitHub gist, or on http://pastie.org? Then I'll see if I can see where the syntax error is.
Richard.
On 10 December 2013 14:11, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.
I have changed the root, but I do not get to run correctly the example.I have the following error:
jose@ubuntu:~/brooklyn-0.6.0$ brooklyn launch
�_�������������������� _��� _�������������
| |__� _ __ ___�� ___ | | _| |_�� _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \�
| |_) | | | (_) | (_) |�� <| | |_| | | | |
|_.__/|_|� \___/ \___/|_|\_\_|\__, |_| |_|
����������������������������� |___/������������ 0.6.0
2013-12-10 14:55:21,147 INFO� Starting brooklyn web-console on loopback interface because no security config is set
2013-12-10 14:55:26,113 INFO� Started Brooklyn console at�http://127.0.0.1:8081/, running classpath://brooklyn.war and []
2013-12-10 14:55:26,729 WARN� Error importing catalog XML at file://~/.brooklyn/catalog.xml; using default (local classpath) catalog. Error was: com.thoughtworks.xstream.converters.ConversionException:� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)� :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
---- Debugging information ----
message������������ :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
cause-exception���� : com.thoughtworks.xstream.io.StreamException
cause-message������ :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
class�������������� : java.lang.String
required-type������ : java.lang.String
converter-type����� : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter�� : com.thoughtworks.xstream.converters.basic.StringConverter
path��������������� : /catalog/classpath/entry
line number�������� : 1
class[1]����������� : brooklyn.catalog.internal.CatalogClasspathDto
converter-type[1]�� : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]����������� : brooklyn.catalog.internal.CatalogDto
version������������ : null
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)� :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
---- Debugging information ----
message������������ :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
cause-exception���� : com.thoughtworks.xstream.io.StreamException
cause-message������ :� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
class�������������� : java.lang.String
required-type������ : java.lang.String
converter-type����� : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter�� : com.thoughtworks.xstream.converters.basic.StringConverter
path��������������� : /catalog/classpath/entry
line number�������� : 1
class[1]����������� : brooklyn.catalog.internal.CatalogClasspathDto
converter-type[1]�� : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]����������� : brooklyn.catalog.internal.CatalogDto
version������������ : null
-------------------------------
��� at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) ~[xstream-1.4.3.jar:na]
Caused by: com.thoughtworks.xstream.io.StreamException:� : entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
��� at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124) ~[xstream-1.4.3.jar:na]
Caused by: org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: START_TAG seen ...s.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=... @1:755)�
��� at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222) ~[xpp3_min-1.1.4c.jar:na]
2013-12-10 14:55:32,660 INFO� Launched Brooklyn; now blocking to wait for cntrl-c or kill
^C2013-12-10 14:59:44,725 INFO� BrooklynWebServer detected shut-down: stopping web-console
I think the problem is catalog.xml, but I am not sure, Do anybody know where is the problem?
Thanks a lot. :-)
El martes, 10 de diciembre de 2013 14:34:56 UTC+1, Richard Downer escribi�:
Jose,
The directory for the catalog is ".brooklyn" - with a dot in front.
So I think if you run "mv /home/jose/brooklyn /home/jose/.brooklyn" it should work for you.
Let us know if it works or not!ThanksRichard.
Could I ask you to send your replies to�brookly...@googlegroups.com�too?�Since this thread was started on this list, it's good to keep it there so other people can see the answer in future. It also means that other people may be able to help you too.
On 10 December 2013 08:42, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.
I have moved brooklyn directory and brooklyn-0.6.0 to home:
/home� � �/brooklyn-0.6.0 � � � ��� � �/brooklyn
�but Brooklyn does not find the example installed application.
what do you recommend me?
Thanks a lot.Jose
2013/12/10 Jose Carrasco <kiu...@gmail.com>
Hello again.
I am sorry, I went to holidays last days. I have prove�echo ${HOME}/.brooklyn and it tell me: /home/jose/.brooklyn so My directory structure was wrong and I think this is the problem. The following directory structure is the correct:
/home� /jose� � � �/brooklyn-0.6.0� � � � � �/bin� � � � � �/conf
� � � � � �/dropin
� � � � � �/lib
� � � � � �/patch
� � � � � �brooklyn.debug.log
� � � � � �brooklyn.info.log
� � � � � �LICENSE.txt
� � � � � �pid_java
� � � � � �README.md
� � � � �� � � �/brooklyn� � � � � �brooklyn.properties� � � � � �catalog.xml
I am going to change the directories brooklyn and I will send you the results.Thanks
(Adding brooklyn-users list as it seems to have dropped off)
My apologies if I misunderstood, I thought you were running on Windows.
Brooklyn will try to find the files in your home directory. If you run this command, it will tell you where the catalog.xml and brooklyn.properties files should go:
echo ${HOME}/.brooklyn
My guess is that it is /home/brooklyn/.brooklyn but it does depend on the user configuration in your Lubuntu install.
On 5 December 2013 16:12, Jose Carrasco <kiu...@gmail.com> wrote:
Hi.
I am running a virtual machine in my laptop using VirtualBox a Lubuntu (x86).I have download the jars of the application using the firefox browser on Lubuntu. I have used the jar urls of the catalog.xml to check if this jars are available, and everything is ok, so.. I do not know which will be the problem. Will the VM be?
Thank you for your help.Jose
Hi,
Yes, it's correct to download the brooklyn.properties and catalog.xml from the web - the example files from the brooklyn website should be ready-to-go.
Can you tell me a bit more about the machine you are running Brooklyn on? The directory tree you posted looks like it's from a Linux-like system. If you're running this on Windows, are you running Cygwin?
ThanksRichard.
On 5 December 2013 14:24, Jose Carrasco <kiu...@gmail.com> wrote:
Hello again.
This is my directory structure
/home
� � �/brooklyn-0.6.0� � � � �/bin� � � � �/conf
� � � � �/dropin
� � � � �/lib
� � � � �/patch
� � � � �brooklyn.debug.log
� � � � �brooklyn.info.log
� � � � �LICENSE.txt
� � � � �pid_java
� � � � �README.md
� � � � �� � �/brooklyn� � � � �brooklyn.properties� � � � �catalog.xml
I downloaded brooklyn.properties and catalog.xml from web. is it correct?
Thanks.
El jueves, 5 de diciembre de 2013 14:54:55 UTC+1, Richard Downer escribi�:
Jose,
Where is your catalog.xml file located?
Brooklyn looks for its config files in the ".brooklyn" subdirectory of your home directory. Brooklyn should be using Java's property for the user's home directory, and I would expect on Windows this will be something like "C:\Users\Administrator\.brooklyn" - your catalog.xml and brooklyn.properties should go there.
Richard.
On 5 December 2013 11:32, Jose Carrasco <kiu...@gmail.com> wrote:
Hello.
I have installed Brooklyn in my local machine (on Windows).
I have run Brooklyn using brooklyn launch command, but I do not get see the first example�Demo Web Cluster with DB.
I have checked the catalog.xml and the Brooklyn version (0-6-0) are the correct to download the jars.
Any idea?Thanks.
--To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
--
Richard Downer � Principal Engineer � Cloudsoft Corporation � http://www.cloudsoftcorp.comGitHub richardcloudsoft � Twitter @FrontierTown
--
Richard Downer � Principal Engineer � Cloudsoft Corporation � http://www.cloudsoftcorp.comGitHub richardcloudsoft � Twitter @FrontierTown
--
Richard Downer � Principal Engineer � Cloudsoft Corporation � http://www.cloudsoftcorp.comGitHub richardcloudsoft � Twitter @FrontierTown
--
Richard Downer � Principal Engineer � Cloudsoft Corporation � http://www.cloudsoftcorp.comGitHub richardcloudsoft � Twitter @FrontierTown
To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.--
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
--
Richard Downer � Principal Engineer � Cloudsoft Corporation � http://www.cloudsoftcorp.comGitHub richardcloudsoft � Twitter @FrontierTown
--
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "brooklyn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brooklyn-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Rusty
Thanks.Jose.
jo...@ubuntu:~/brooklyn-0.6.0$ brooklyn launch
...<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc