Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » COSMOS » example database mainly empty?
example database mainly empty? [message #8332] Fri, 03 August 2007 10:16 Go to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Since I am currently unable to generate a new database (see my other
append) I downloaded and installed the provided example database (as
described under
http://wiki.eclipse.org/COSMOSDataCollectorEnvironment#Set_u p_database).

If I now try to explore that database (as described under
http://wiki.eclipse.org/COSMOSEnd2EndSample#Viewing_reports_ from_Sample_database_and_Data_Center_SML) I
do get the expected COSMOS Web User Interface with a left hand side
Navigator tree that lists 5 machines, one os and a tomcat server. So - I
would presume - the DB was correctly unpacked and placed, the misc.
properties are set and also the tomcat webapp is properly installed.
However, I can click on whatever I want in the left pane, the two
right-hand side panes remain entirely empty. I guess, this is NOT
working as designed, is it?

BTW: this is NOT using a self-compiled version, but rather the canned
and downloaded current COSMOS drivers that I downloaded from
http://www.eclipse.org/cosmos/downloads/?buildId=COSMOS-1.0. 0-200706281537.
There is no msg. in the tomcat console nor any (visible) error in the
browser. Does anybody have a clue what could be wrong here or how to
find out?

Michael
Re: example database mainly empty? [message #8366 is a reply to message #8332] Fri, 03 August 2007 11:38 Go to previous messageGo to next message
Hubert Leung is currently offline Hubert Leung
Messages: 13
Registered: July 2009
Junior Member
Hi Michael,

The web application gets data from both SML documents and the relational
database. The content that you see on the navigation tree (machine, OS,
etc.) are taken from SML and that part of the program is working. It seems
like your relational database setting is not configured correctly. Please
check catalina.properties in the conf directory of your web server. Make
sure you have the derby.system.home attribute set with the path to the
parent directory of the sample database. i.e. if the database is called
cosmosdb, the path is set to the parent directory of cosmosdb.
For example:
derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert


"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:f8vdb5$7hj$1@build.eclipse.org...
> Since I am currently unable to generate a new database (see my other
> append) I downloaded and installed the provided example database (as
> described under
> http://wiki.eclipse.org/COSMOSDataCollectorEnvironment#Set_u p_database).
>
> If I now try to explore that database (as described under
> http://wiki.eclipse.org/COSMOSEnd2EndSample#Viewing_reports_ from_Sample_database_and_Data_Center_SML) I
> do get the expected COSMOS Web User Interface with a left hand side
> Navigator tree that lists 5 machines, one os and a tomcat server. So - I
> would presume - the DB was correctly unpacked and placed, the misc.
> properties are set and also the tomcat webapp is properly installed.
> However, I can click on whatever I want in the left pane, the two
> right-hand side panes remain entirely empty. I guess, this is NOT working
> as designed, is it?
>
> BTW: this is NOT using a self-compiled version, but rather the canned and
> downloaded current COSMOS drivers that I downloaded from
> http://www.eclipse.org/cosmos/downloads/?buildId=COSMOS-1.0. 0-200706281537.
> There is no msg. in the tomcat console nor any (visible) error in the
> browser. Does anybody have a clue what could be wrong here or how to find
> out?
>
> Michael
>
Re: example database mainly empty? [message #8459 is a reply to message #8366] Mon, 06 August 2007 07:42 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Hi Hubert,

"Hubert Leung" <hkyleung@ca.ibm.com> wrote in message
news:f8vi6a$l42$1@build.eclipse.org...
> Hi Michael,
>
> The web application gets data from both SML documents and the
> relational database. The content that you see on the navigation tree
> (machine, OS, etc.) are taken from SML and that part of the program is
> working. It seems like your relational database setting is not
> configured correctly. Please check catalina.properties in the conf
> directory of your web server. Make sure you have the
> derby.system.home attribute set with the path to the parent directory
> of the sample database. i.e. if the database is called cosmosdb, the
> path is set to the parent directory of cosmosdb.
> For example:
> derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert

in my case the line reads:
----------------------------
....
# added by MMO for COSMOS example
derby.system.home=C:/Program Files/Apache Software Foundation/Tomcat
5.5/webapps/database
----------------------------

but I guess otherwise the same. Could it be that the spaces in the path
cause a problem? I had simply used the default installation path when
installing tomcat.

BTW: I also tried with Tomcat 6.0 (which I also have installed), but
same result...

Michael
Re: example database mainly empty? [message #8522 is a reply to message #8459] Mon, 06 August 2007 09:21 Go to previous messageGo to next message
Mark Weitzel is currently offline Mark Weitzel
Messages: 78
Registered: July 2009
Member
i'm not sure if the space would cause a problem or not, but it's worth a
try. also, is there anything in the error log?


Michael Moser wrote:
> Hi Hubert,
>
> "Hubert Leung" <hkyleung@ca.ibm.com> wrote in message
> news:f8vi6a$l42$1@build.eclipse.org...
>> Hi Michael,
>>
>> The web application gets data from both SML documents and the
>> relational database. The content that you see on the navigation tree
>> (machine, OS, etc.) are taken from SML and that part of the program is
>> working. It seems like your relational database setting is not
>> configured correctly. Please check catalina.properties in the conf
>> directory of your web server. Make sure you have the
>> derby.system.home attribute set with the path to the parent directory
>> of the sample database. i.e. if the database is called cosmosdb, the
>> path is set to the parent directory of cosmosdb.
>> For example:
>> derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert
>
> in my case the line reads:
> ----------------------------
> ...
> # added by MMO for COSMOS example
> derby.system.home=C:/Program Files/Apache Software Foundation/Tomcat
> 5.5/webapps/database
> ----------------------------
>
> but I guess otherwise the same. Could it be that the spaces in the path
> cause a problem? I had simply used the default installation path when
> installing tomcat.
>
> BTW: I also tried with Tomcat 6.0 (which I also have installed), but
> same result...
>
> Michael
>
>
Re: example database mainly empty? [message #8551 is a reply to message #8522] Mon, 06 August 2007 10:36 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
OK - I'll try to use a junction (I'm on WinXP) to "virtually move"
things to a shorter path and then I'll try again. I'll keep you posted.

Michael

"Mark W." <weitzelm@us.ibm.com> wrote in message
news:f97795$qdt$1@build.eclipse.org...
> i'm not sure if the space would cause a problem or not, but it's worth
> a try. also, is there anything in the error log?
Re: example database mainly empty? [message #9291 is a reply to message #8551] Tue, 07 August 2007 07:07 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Nope - using a "short path" (i.e. a path without blanks) didn't help
here...
Still getting white right hand side and properties only.

Michael
Re: example database mainly empty? [message #9314 is a reply to message #9291] Tue, 07 August 2007 10:36 Go to previous message
Eclipse User
Originally posted by: david_whiteman.us.ibm.com

Michael Moser wrote:
> Nope - using a "short path" (i.e. a path without blanks) didn't help
> here...
> Still getting white right hand side and properties only.
>
> Michael

Did you see my post in the other thread regarding setting the derby home
on the command line?

David
Re: example database mainly empty? [message #569939 is a reply to message #8332] Fri, 03 August 2007 11:38 Go to previous message
Hubert Leung is currently offline Hubert Leung
Messages: 13
Registered: July 2009
Junior Member
Hi Michael,

The web application gets data from both SML documents and the relational
database. The content that you see on the navigation tree (machine, OS,
etc.) are taken from SML and that part of the program is working. It seems
like your relational database setting is not configured correctly. Please
check catalina.properties in the conf directory of your web server. Make
sure you have the derby.system.home attribute set with the path to the
parent directory of the sample database. i.e. if the database is called
cosmosdb, the path is set to the parent directory of cosmosdb.
For example:
derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert


"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:f8vdb5$7hj$1@build.eclipse.org...
> Since I am currently unable to generate a new database (see my other
> append) I downloaded and installed the provided example database (as
> described under
> http://wiki.eclipse.org/COSMOSDataCollectorEnvironment#Set_u p_database).
>
> If I now try to explore that database (as described under
> http://wiki.eclipse.org/COSMOSEnd2EndSample#Viewing_reports_ from_Sample_database_and_Data_Center_SML) I
> do get the expected COSMOS Web User Interface with a left hand side
> Navigator tree that lists 5 machines, one os and a tomcat server. So - I
> would presume - the DB was correctly unpacked and placed, the misc.
> properties are set and also the tomcat webapp is properly installed.
> However, I can click on whatever I want in the left pane, the two
> right-hand side panes remain entirely empty. I guess, this is NOT working
> as designed, is it?
>
> BTW: this is NOT using a self-compiled version, but rather the canned and
> downloaded current COSMOS drivers that I downloaded from
> http://www.eclipse.org/cosmos/downloads/?buildId=COSMOS-1.0. 0-200706281537
> There is no msg. in the tomcat console nor any (visible) error in the
> browser. Does anybody have a clue what could be wrong here or how to find
> out?
>
> Michael
>
Re: example database mainly empty? [message #570061 is a reply to message #8366] Mon, 06 August 2007 07:42 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Hi Hubert,

"Hubert Leung" <hkyleung@ca.ibm.com> wrote in message
news:f8vi6a$l42$1@build.eclipse.org...
> Hi Michael,
>
> The web application gets data from both SML documents and the
> relational database. The content that you see on the navigation tree
> (machine, OS, etc.) are taken from SML and that part of the program is
> working. It seems like your relational database setting is not
> configured correctly. Please check catalina.properties in the conf
> directory of your web server. Make sure you have the
> derby.system.home attribute set with the path to the parent directory
> of the sample database. i.e. if the database is called cosmosdb, the
> path is set to the parent directory of cosmosdb.
> For example:
> derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert

in my case the line reads:
----------------------------
....
# added by MMO for COSMOS example
derby.system.home=C:/Program Files/Apache Software Foundation/Tomcat
5.5/webapps/database
----------------------------

but I guess otherwise the same. Could it be that the spaces in the path
cause a problem? I had simply used the default installation path when
installing tomcat.

BTW: I also tried with Tomcat 6.0 (which I also have installed), but
same result...

Michael
Re: example database mainly empty? [message #570096 is a reply to message #8459] Mon, 06 August 2007 09:21 Go to previous message
Mark Weitzel is currently offline Mark Weitzel
Messages: 78
Registered: July 2009
Member
i'm not sure if the space would cause a problem or not, but it's worth a
try. also, is there anything in the error log?


Michael Moser wrote:
> Hi Hubert,
>
> "Hubert Leung" <hkyleung@ca.ibm.com> wrote in message
> news:f8vi6a$l42$1@build.eclipse.org...
>> Hi Michael,
>>
>> The web application gets data from both SML documents and the
>> relational database. The content that you see on the navigation tree
>> (machine, OS, etc.) are taken from SML and that part of the program is
>> working. It seems like your relational database setting is not
>> configured correctly. Please check catalina.properties in the conf
>> directory of your web server. Make sure you have the
>> derby.system.home attribute set with the path to the parent directory
>> of the sample database. i.e. if the database is called cosmosdb, the
>> path is set to the parent directory of cosmosdb.
>> For example:
>> derby.system.home=C:/apache-tomcat-5.5.23/webapps/databaseHu bert
>
> in my case the line reads:
> ----------------------------
> ...
> # added by MMO for COSMOS example
> derby.system.home=C:/Program Files/Apache Software Foundation/Tomcat
> 5.5/webapps/database
> ----------------------------
>
> but I guess otherwise the same. Could it be that the spaces in the path
> cause a problem? I had simply used the default installation path when
> installing tomcat.
>
> BTW: I also tried with Tomcat 6.0 (which I also have installed), but
> same result...
>
> Michael
>
>
Re: example database mainly empty? [message #570109 is a reply to message #8522] Mon, 06 August 2007 10:36 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
OK - I'll try to use a junction (I'm on WinXP) to "virtually move"
things to a shorter path and then I'll try again. I'll keep you posted.

Michael

"Mark W." <weitzelm@us.ibm.com> wrote in message
news:f97795$qdt$1@build.eclipse.org...
> i'm not sure if the space would cause a problem or not, but it's worth
> a try. also, is there anything in the error log?
Re: example database mainly empty? [message #570241 is a reply to message #8551] Tue, 07 August 2007 07:07 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Nope - using a "short path" (i.e. a path without blanks) didn't help
here...
Still getting white right hand side and properties only.

Michael
Re: example database mainly empty? [message #570313 is a reply to message #9291] Tue, 07 August 2007 10:36 Go to previous message
David Whiteman is currently offline David Whiteman
Messages: 166
Registered: July 2009
Senior Member
Michael Moser wrote:
> Nope - using a "short path" (i.e. a path without blanks) didn't help
> here...
> Still getting white right hand side and properties only.
>
> Michael

Did you see my post in the other thread regarding setting the derby home
on the command line?

David
Previous Topic:COSMOS 0.4 is now available
Next Topic:Failed trying to regenerate the samples - some handholding required...
Goto Forum:
  


Current Time: Thu Apr 24 01:53:31 EDT 2014

Powered by FUDForum. Page generated in 0.02070 seconds