|
Re: example database mainly empty? [message #8366 is a reply to message #8332] |
Fri, 03 August 2007 11:38   |
Eclipse User |
|
|
|
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 #9314 is a reply to message #9291] |
Tue, 07 August 2007 10:36  |
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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 #570313 is a reply to message #9291] |
Tue, 07 August 2007 10:36  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.26473 seconds