Error Building backstage

24 views
Skip to first unread message

Antonio Maria Sanchez

unread,
Oct 4, 2011, 11:13:56 AM10/4/11
to SIMILE Widgets
I ve followed the wiki https://github.com/zepheira/backstage/wiki/Building-backstage
to build backstage, but the script ./backstage it doesnt deploy
backstage into butterfly server. When i browse to jetty server i get a
404 not found error.
This is the script than is executed:

./backstage
/usr/bin/java -cp server/classes:server/lib/* -
Dbutterfly.name=backstage -Dbutterfly.log4j=/home/antoniomaria/
workspace/e3src/backstage/log4j.properties -Xms256M -Xmx1024M -
Dserver.memory=1024M -Dserver.port=8080 -Dserver.host=127.0.0.1 -
Dserver.webapp=main/webapp -Dbutterfly.modules.wirings=/home/
antoniomaria/workspace/e3src/backstage/modules.properties -
Dbutterfly.modules.path=/home/antoniomaria/workspace/e3src/backstage/
modules/ -Dbutterfly.properties=/home/antoniomaria/workspace/e3src/
backstage/butterfly.properties -Dbutterfly.default.zone=main -
Dserver.autoreload=true -Dbutterfly.autoreload=true
edu.mit.simile.butterfly.ButterflyServer


hopefully someone can help me

ma...@coactus.com

unread,
Oct 5, 2011, 12:34:59 AM10/5/11
to simile-...@googlegroups.com
On Tue, Oct 4, 2011 at 11:13 AM, Antonio Maria Sanchez <asan...@yaco.es> wrote:
> I ve followed the wiki https://github.com/zepheira/backstage/wiki/Building-backstage
> to build backstage, but the script  ./backstage it doesnt deploy
> backstage into butterfly server. When i browse to jetty server i get a
> 404 not found error.

Hi Antonio. In the normal course of things, you should never need to
point your browser at a Backstage serves since it only serves JSON,
not HTML.

Instead, you will (typically) point your browser at port 80 of the
same host where you will need to be running a Web server that serves
the Exhibit HTML. Then - as described in the authoring page on the
wiki - you link in the scripts and data in that HTML.

You're not the only one to raise this point, and I tried to clarify it
in the wiki, but apparently not well enough. Any input on a better way
to describe this would be gratefully received!

Thanks.

Mark.

Antonio Maria Sanchez

unread,
Oct 5, 2011, 2:59:43 AM10/5/11
to SIMILE Widgets
Sorrys, but my problems is that i don't understand the exhibit
architecture. I am trying to evaluate it through examples, but i'm not
able to make it work for my own.
After your advise i ve put the e3src/exhibit3/scripted/demos/ on
apache2 server when backstage jetty server runs on port 8181 (Starting
Butterfly at 'http://127.0.0.1:8181/').
But when i browse to for instance http://localhost/demos/senate/senate.html,
i can see nothing, and the source code says:

<script src="../src/exhibit-api.js">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /demos/src/exhibit-api.js was not found on this
server.</p>
<hr>
<address>Apache/2.2.17 (Ubuntu) Server at localhost Port 80</address>
</body></html>
</script>

I know that i'm doing something wrong, but i don't know what wiki
follow, after the building backstage wiki.

On Oct 5, 7:34 am, "m...@coactus.com" <m...@coactus.com> wrote:
> On Tue, Oct 4, 2011 at 11:13 AM, Antonio Maria Sanchez <asanc...@yaco.es> wrote:
>
> > I ve followed the wikihttps://github.com/zepheira/backstage/wiki/Building-backstage

ma...@coactus.com

unread,
Oct 5, 2011, 11:56:43 AM10/5/11
to simile-...@googlegroups.com
On Wed, Oct 5, 2011 at 2:59 AM, Antonio Maria Sanchez <asan...@yaco.es> wrote:
> Sorrys, but my problems is that i don't understand the exhibit
> architecture. I am trying to evaluate it through examples, but i'm not
> able to make it work for my own.
> After your advise i ve put the e3src/exhibit3/scripted/demos/ on
> apache2 server when backstage jetty server runs on port 8181 (Starting
> Butterfly at 'http://127.0.0.1:8181/').

Ah, those are the "scripted" mode demos and won't work as-is for
"staged" mode (i.e. Backstage).

Backstage doesn't have any stock demos right now, but we've been
meaning to check in those currently hosted at
http://databench.zepheira.com into the github repository... so, I've
gone ahead and checked in one of them, including HTML & data;

https://github.com/zepheira/backstage/tree/master/demos/sweden-europeana

You'll have to point the HTML at your Backstage instance instead of
ours to serve the scripts, and of course first upload the data using
the directions on the Wiki, but that should hopefully get you started.

Mark.

EricT

unread,
Jun 19, 2012, 3:29:37 AM6/19/12
to simile-...@googlegroups.com
Hi Antonio,

I have the same error here. I get an HTTP 404 when I browse to the jetty app server using the curl command.
How did you manage to solve this problem?

Thanks,
Eric
Reply all
Reply to author
Forward
0 new messages