DHIS-live: NO JSP Support for /,

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

Hi Mark

I also have a raspberry pi but don’t ever get the chance to play with it :slight_smile:

But if I was going to get dhis to run on it I don’t think I would use dhis2-live. dhis2-live assumes a window manager with shell support (like gnome) which is probably not what you want on your little pi. Are you just setting it up as a dhis2 server “appliance” or do you propose to run it as the desktop ui as well? I think the latter might be pushing it … having 2 or more pi’s, with one acting as server might make more sense. (how much ram do you have?) If you want to run server and desktop client together, then you are going to have to put things together more carefully and economically that dhis2-live.

Bob

···

On 13 April 2014 17:05, Mark Spohr mhspohr@gmail.com wrote:

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi Bob,

The Raspberry Pi Debian Wheezy does come with the LXDE window manager but to reduce the strain on the system it would be better to run it without the window manager and just use it as a server. The RPi has 500 Meg RAM.

I tried dhis-live first since it looked like that would be easiest to set up with the H2 db.

Since this seems to have problems, I’ll go through a manual install as a server with H2 but I hope I don’t run into this same issue.

.Mark

···

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

On Sun, Apr 13, 2014 at 3:44 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Hi Mark

I also have a raspberry pi but don’t ever get the chance to play with it :slight_smile:

But if I was going to get dhis to run on it I don’t think I would use dhis2-live. dhis2-live assumes a window manager with shell support (like gnome) which is probably not what you want on your little pi. Are you just setting it up as a dhis2 server “appliance” or do you propose to run it as the desktop ui as well? I think the latter might be pushing it … having 2 or more pi’s, with one acting as server might make more sense. (how much ram do you have?) If you want to run server and desktop client together, then you are going to have to put things together more carefully and economically that dhis2-live.

Bob

On 13 April 2014 17:05, Mark Spohr mhspohr@gmail.com wrote:

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

I’m not sure dhis2-live will make much sense of lxde. But as you say, given your memory constraints, you are most likely not going to want to run a window manager at all.

I’m also not 100% sure what is behind the jsp/jasper error, but its worth bearing in mind that dhis doesn’t use any jsp at all (afaik - someone please correct me if there are some views I have missed). So I am pretty sure that you can safely comment out the <servlet … /> section in web.xml in the main conf directory which loads the jasper JspServlet. That should get rid of the error as well as save you another smidgeon of ram.

···

On 14 April 2014 00:13, Mark Spohr mhspohr@gmail.com wrote:

Hi Bob,

The Raspberry Pi Debian Wheezy does come with the LXDE window manager but to reduce the strain on the system it would be better to run it without the window manager and just use it as a server. The RPi has 500 Meg RAM.

I tried dhis-live first since it looked like that would be easiest to set up with the H2 db.

Since this seems to have problems, I’ll go through a manual install as a server with H2 but I hope I don’t run into this same issue.

.Mark

Mark Spohr, MD
mhspohr@gmail.com

+1 530 554 2230

On Sun, Apr 13, 2014 at 3:44 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Hi Mark

I also have a raspberry pi but don’t ever get the chance to play with it :slight_smile:

But if I was going to get dhis to run on it I don’t think I would use dhis2-live. dhis2-live assumes a window manager with shell support (like gnome) which is probably not what you want on your little pi. Are you just setting it up as a dhis2 server “appliance” or do you propose to run it as the desktop ui as well? I think the latter might be pushing it … having 2 or more pi’s, with one acting as server might make more sense. (how much ram do you have?) If you want to run server and desktop client together, then you are going to have to put things together more carefully and economically that dhis2-live.

Bob

On 13 April 2014 17:05, Mark Spohr mhspohr@gmail.com wrote:

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

I’ll have to try commenting out the section (unless somebody can think of a reason it’s needed).

The LXDE window manager seems to handle dhis-live just fine since it does put up the menubar icon and menu before it hangs on the JSP error.

.Mark

···

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

On Sun, Apr 13, 2014 at 4:43 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

I’m not sure dhis2-live will make much sense of lxde. But as you say, given your memory constraints, you are most likely not going to want to run a window manager at all.

I’m also not 100% sure what is behind the jsp/jasper error, but its worth bearing in mind that dhis doesn’t use any jsp at all (afaik - someone please correct me if there are some views I have missed). So I am pretty sure that you can safely comment out the <servlet … /> section in web.xml in the main conf directory which loads the jasper JspServlet. That should get rid of the error as well as save you another smidgeon of ram.

On 14 April 2014 00:13, Mark Spohr mhspohr@gmail.com wrote:

Hi Bob,

The Raspberry Pi Debian Wheezy does come with the LXDE window manager but to reduce the strain on the system it would be better to run it without the window manager and just use it as a server. The RPi has 500 Meg RAM.

I tried dhis-live first since it looked like that would be easiest to set up with the H2 db.

Since this seems to have problems, I’ll go through a manual install as a server with H2 but I hope I don’t run into this same issue.

.Mark

Mark Spohr, MD
mhspohr@gmail.com

+1 530 554 2230

On Sun, Apr 13, 2014 at 3:44 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Hi Mark

I also have a raspberry pi but don’t ever get the chance to play with it :slight_smile:

But if I was going to get dhis to run on it I don’t think I would use dhis2-live. dhis2-live assumes a window manager with shell support (like gnome) which is probably not what you want on your little pi. Are you just setting it up as a dhis2 server “appliance” or do you propose to run it as the desktop ui as well? I think the latter might be pushing it … having 2 or more pi’s, with one acting as server might make more sense. (how much ram do you have?) If you want to run server and desktop client together, then you are going to have to put things together more carefully and economically that dhis2-live.

Bob

On 13 April 2014 17:05, Mark Spohr mhspohr@gmail.com wrote:

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

There is no use of JSP in DHIS 2.

Lars

···

On Mon, Apr 14, 2014 at 2:02 AM, Mark Spohr mhspohr@gmail.com wrote:

I’ll have to try commenting out the section (unless somebody can think of a reason it’s needed).

The LXDE window manager seems to handle dhis-live just fine since it does put up the menubar icon and menu before it hangs on the JSP error.

.Mark


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Mark Spohr, MD
mhspohr@gmail.com

+1 530 554 2230

On Sun, Apr 13, 2014 at 4:43 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

I’m not sure dhis2-live will make much sense of lxde. But as you say, given your memory constraints, you are most likely not going to want to run a window manager at all.

I’m also not 100% sure what is behind the jsp/jasper error, but its worth bearing in mind that dhis doesn’t use any jsp at all (afaik - someone please correct me if there are some views I have missed). So I am pretty sure that you can safely comment out the <servlet … /> section in web.xml in the main conf directory which loads the jasper JspServlet. That should get rid of the error as well as save you another smidgeon of ram.

On 14 April 2014 00:13, Mark Spohr mhspohr@gmail.com wrote:

Hi Bob,

The Raspberry Pi Debian Wheezy does come with the LXDE window manager but to reduce the strain on the system it would be better to run it without the window manager and just use it as a server. The RPi has 500 Meg RAM.

I tried dhis-live first since it looked like that would be easiest to set up with the H2 db.

Since this seems to have problems, I’ll go through a manual install as a server with H2 but I hope I don’t run into this same issue.

.Mark

Mark Spohr, MD
mhspohr@gmail.com

+1 530 554 2230

On Sun, Apr 13, 2014 at 3:44 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Hi Mark

I also have a raspberry pi but don’t ever get the chance to play with it :slight_smile:

But if I was going to get dhis to run on it I don’t think I would use dhis2-live. dhis2-live assumes a window manager with shell support (like gnome) which is probably not what you want on your little pi. Are you just setting it up as a dhis2 server “appliance” or do you propose to run it as the desktop ui as well? I think the latter might be pushing it … having 2 or more pi’s, with one acting as server might make more sense. (how much ram do you have?) If you want to run server and desktop client together, then you are going to have to put things together more carefully and economically that dhis2-live.

Bob

On 13 April 2014 17:05, Mark Spohr mhspohr@gmail.com wrote:

I’m trying to help a very resource poor organization get dhis-live running on Raspberry Pi (ARM) and am encountering the following error:

NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the same error.

This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

I'll have to try commenting out the <servlet /> section (unless somebody
can think of a reason it's needed).

The LXDE window manager seems to handle dhis-live just fine since it does
put up the menubar icon and menu before it hangs on the JSP error.

OK sorry I hadn't realized that. So you are in with a chance ... though
I'd still consider rolling your own minimal setup given the very tight RAM
constraints. Maybe a pi might work for you as a simple data collection
appliance. Its probably not going to be much good with analytics/datamart
reporting. But good luck. Let us know how you get on.

···

On 14 April 2014 01:02, Mark Spohr <mhspohr@gmail.com> wrote:

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

On Sun, Apr 13, 2014 at 4:43 PM, Bob Jolliffe <bobjolliffe@gmail.com>wrote:

I'm not sure dhis2-live will make much sense of lxde. But as you say,
given your memory constraints, you are most likely not going to want to run
a window manager at all.

I'm also not 100% sure what is behind the jsp/jasper error, but its worth
bearing in mind that dhis doesn't use any jsp at all (afaik - someone
please correct me if there are some views I have missed). So I am pretty
sure that you can safely comment out the <servlet ... /> section in
web.xml in the main conf directory which loads the jasper JspServlet. That
should get rid of the error as well as save you another smidgeon of ram.

On 14 April 2014 00:13, Mark Spohr <mhspohr@gmail.com> wrote:

Hi Bob,
The Raspberry Pi Debian Wheezy does come with the LXDE window manager
but to reduce the strain on the system it would be better to run it without
the window manager and just use it as a server. The RPi has 500 Meg RAM.
I tried dhis-live first since it looked like that would be easiest to
set up with the H2 db.
Since this seems to have problems, I'll go through a manual install as a
server with H2 but I hope I don't run into this same issue.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

On Sun, Apr 13, 2014 at 3:44 PM, Bob Jolliffe <bobjolliffe@gmail.com>wrote:

Hi Mark

I also have a raspberry pi but don't ever get the chance to play with
it :slight_smile:

But if I was going to get dhis to run on it I don't think I would use
dhis2-live. dhis2-live assumes a window manager with shell support (like
gnome) which is probably not what you want on your little pi. Are you just
setting it up as a dhis2 server "appliance" or do you propose to run it as
the desktop ui as well? I think the latter might be pushing it ... having
2 or more pi's, with one acting as server might make more sense. (how much
ram do you have?) If you want to run server and desktop client together,
then you are going to have to put things together more carefully and
economically that dhis2-live.

Bob

On 13 April 2014 17:05, Mark Spohr <mhspohr@gmail.com> wrote:

I'm trying to help a very resource poor organization get dhis-live
running on Raspberry Pi (ARM) and am encountering the following error:
NO JSP Support for /, did not find org.apache.jasper.servlet.jspServlet

I have tried to start dhis-live with OPTIONS=Server,jsp and get the
same error.
This Pi is using Debian Wheezy with Oracle Java 1.7.0_40

I noticed that Knut and others have identified this problem and I was
wondering if anyone had sorted the problem.

.Mark

Mark Spohr, MD
mhspohr@gmail.com
+1 530 554 2230

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp