EVGENIAST / cumulusrdf

Automatically exported from code.google.com/p/cumulusrdf
0 stars 0 forks source link

CumulusRDF is not open! #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Run tomcat 6
2.Start CumulusRDF service
3. Click the Load data

What is the expected output? What do you see instead?
an interface I can load my RDF data

What version of the product are you using? On what operating system?
The last version, Winodws

Please provide any additional information below.

After clicking load data, the page says "CumulusRDF is not open!"

Original issue reported on code.google.com by enayatra...@gmail.com on 24 Apr 2014 at 5:28

GoogleCodeExporter commented 8 years ago
Hi, 

thanks for reporting the problem. I'll check it out today/tomorrow and get back 
to you ...

Kind regards
Andreas

Original comment by andreas.josef.wagner on 24 Apr 2014 at 11:29

GoogleCodeExporter commented 8 years ago
Hi,

I could not reproduce your problem. I'm using:
* Cassandra 1.2.16
* Tomcat 6
* Java, OpenJDK 7

The most likely explanation for your issue is that (a) Cassandra is not running 
or (b) the cumulusRDF configuration is not correct (i.e., cumulusRDF can't 
connect to your Cassandra).

When you go to http://localhost:8080/cumulusrdf-1.0.1/ it should say something 
like:

Cluster name: Test Cluster  
Status per Pool: {localhost(127.0.0.1):9160}; IsActive?: true; Active: 0; 
Blocked: 0; Idle: 16; NumBeforeExhausted: 50

HTH
Andreas

Original comment by andreas.josef.wagner on 24 Apr 2014 at 4:24

GoogleCodeExporter commented 8 years ago
Sorry, forgot to mention, I deployed the latest war [1].

If you have further problems, I think the best way would be to drop us a line 
in the cumulusRDF user list [2]. This way, other users can read up on your 
problems ...

Kind regards
Andreas

[1] https://cumulusrdf.googlecode.com/svn/wiki/downloads/cumulusrdf-1.0.1.war
[2] http://groups.google.com/group/cumulusrdf-list

Original comment by andreas.josef.wagner on 24 Apr 2014 at 4:28

GoogleCodeExporter commented 8 years ago
Hi, 
as Andreas said, we cannot reproduce your problem because basically something 
happened in your installation at startup time. 
You should have some error at that time saying something wrong about 
initialisation. In that case Cumulus doesn't open the underlying store and the 
webapp is not useful. Servlets specs give no way to block an ongoing (failed 
from the application perspective) webapp startup so all what we can do is to 
signal this "wrong" state.

In this cases, most probably the unedrlying problema is something that has to 
do with Cassandra connection. In any case, you should have in your log file 
these 2 messages 

<CRDF-00011> : Unable to initialize CumulusRDF repository. See below for 
further details. 
...
(stacktrace)
...
<CRDF--00015> : CumulusRDF has been started, however there were failures during 
startup initialization. As consequence of that, System is supposed to be 
unstable. Please check your configuration, log files and try to fix problems."

Could you please post the (stacktrace)?

Best, 
Andrea

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 5:39

GoogleCodeExporter commented 8 years ago
Hi, 
Two notes comes up here:
- Where is the log file? I explored the log folder in the related webapp, but I 
couldn't find the log file
- Is the problem because Cassandra is not running on my windows machine? Is 
this mandatory? If so, how can I run?
I think it would a good point for your software if you can integrate these two 
app as one package, so that users can run or try your tool from one source, no?

Regards,

Original comment by enayatra...@gmail.com on 25 Apr 2014 at 8:48

GoogleCodeExporter commented 8 years ago
Hi,

The log file directory depends on the servlet engine where you are running
CumulusRDF. If for example

- you are using Tomcat they are under $CATALINA_HOME/logs.
- if you are running jetty under $JETTY_HOME/logs
- JBoss 5.x $JBOSS_HOME/server/<your active config>/logs
- ...

Cassandra is the underlying storage of CumulusRDF and it is mandatory; to
be more precise: it could run wherever you want (your PC, your server, AWS)
but CumulusRDF needs to connect with it; if you don't have a Cassandra node
running that's probably the reason why the store cannot be open. The log
for sure contains connection errors.

On top of that, Cassandra is a distribuited column store and it is not
supposed, in a production scenario, to be a single node but instead a ring
of nodes...so your suggestion doesn't make sense (it should be like
embedding Oracle in your webapps just because it uses that)

In order to solve your issue,

*as user* you can download and start a single node of Cassandra 1.2.x
*as developer* you can use our development pages that will guide you to
have a smart environment (cumulus + embedded tomcat + embedded Cassandra).
This is a bit "technical" and assume you have some dev tools like JDK,
maven, SVN...that's the reason why I tagged this options as
"developer"...not sure if that apply to your case.

In general, I think it would be great if you could explain us a bit more
about what you're trying to do, what is your background and your goals
(just few lines); in this way we will be able to help you to build your
environment in an optimal way.

Best,
Gazza

2014-04-25 10:48 GMT+02:00 <cumulusrdf@googlecode.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 9:16

GoogleCodeExporter commented 8 years ago
As you probably know, Jena Fuseki is very nice triple store that works fine 
with even large number of data. Using recent TDB commands of Jena, you would be 
able to load a large dump into Fuseki. So we intend to use Fuseki in our 
project.
Recently, we've received a notification that you are providing a 
well-performance approach on cloud based infrastructure and I saw that you are 
providing a SPARQL endpoint on top. So we were carious about your work, as we 
face a large number of data dump and it would be good if we have some 
indications that your approach works perfectly in this regard. Though we had 
some difficulty to run and try it with simple dump, and it seems it refers to 
Cassandra platform which is not familiar for us. Any case, it seems we have to 
work on it a little more. Just tell me, if I run the Cassandra in my machine, I 
would be able run the tool or some configuration I should do in your tool 
(e.g., connection setting, ...)
Regards,

Original comment by enayatra...@gmail.com on 25 Apr 2014 at 9:27

GoogleCodeExporter commented 8 years ago
Hi,
many thanks for the explanation...mind if you move this discussion on the
user list?

Best,
Andrea

2014-04-25 11:27 GMT+02:00 <cumulusrdf@googlecode.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 9:31

GoogleCodeExporter commented 8 years ago
Sorry, I meant "If I move"

2014-04-25 11:31 GMT+02:00 Andrea Gazzarini <a.gazzarini@gmail.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 9:36

GoogleCodeExporter commented 8 years ago
No problem. Then let me know where is the user list. Do we continue over there? 

Original comment by enayatra...@gmail.com on 25 Apr 2014 at 9:37

GoogleCodeExporter commented 8 years ago
User list is open: https://groups.google.com/forum/#!forum/cumulusrdf-list

I think you're referring to our devist,

https://groups.google.com/forum/#!forum/cumulusrdf-dev-list

which yes, requires subscription and approval, but that is supposed to be
used by developers...however, if you aren't and just want to be an
observer. Just click on "Subscribe", I will accept your request.

Best,
Andrea

2014-04-25 11:38 GMT+02:00 <cumulusrdf@googlecode.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 9:43

GoogleCodeExporter commented 8 years ago
Sorry again...to be more precise with observer on the devlist I do not mean
a passive observer, you can contribute with suggestions, comments (and code
of course)

2014-04-25 11:43 GMT+02:00 Andrea Gazzarini <a.gazzarini@gmail.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 9:47

GoogleCodeExporter commented 8 years ago
Did you move the discussion? I prefer to participate as a developer in this 
regard.

Original comment by enayatra...@gmail.com on 25 Apr 2014 at 10:00

GoogleCodeExporter commented 8 years ago
For dev list you need first to request a subscription. Then I will accept
that
Instead, About this thread, personally I think this is more related with
the usage of the tool, not its development...so please open a post in the
user list by pasting your post

"As you probably know, Jena Fuseki is very nice triple store that works
fine with even large number of data. Using recent TDB commands of Jena, you
would be able to load a large dump into Fuseki. So we intend to use Fuseki
in our project.
Recently, we've received a notification that you are providing a
well-performance approach on cloud based infrastructure and I saw that you
are providing a SPARQL endpoint on top. So we were carious about your work,
as we face a large number of data dump and it would be good if we have some
indications that your approach works perfectly in this regard. Though we
had some difficulty to run and try it with simple dump, and it seems it
refers to Cassandra platform which is not familiar for us. Any case, it
seems we have to work on it a little more. Just tell me, if I run the
Cassandra in my machine, I would be able run the tool or some configuration
I should do in your tool (e.g., connection setting, ...)"

Many thanks,
Andrea

2014-04-25 12:00 GMT+02:00 <cumulusrdf@googlecode.com>:

Original comment by a.gazzarini@gmail.com on 25 Apr 2014 at 10:05