From: David Tann on
Hi there,

I can't run my webMathematica due the following problem?
Can anyone tell me the cause and solution to the problem?

Thanks,
David


HTTP Status 500 -
________________________________________
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: A Kernel cannot be activated.

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:825)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:758)
org.apache.jsp.Examples.Plot_jsp._jspService(Plot_jsp.java:111)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspTagException: A Kernel cannot be activated.
com.wolfram.webmathematica.tags.AllocateKernel.doStartTag(Unknown
Source)

org.apache.jsp.Examples.Plot_jsp._jspx_meth_msp_allocateKernel_0(Plot_jsp.ja
va:128)
org.apache.jsp.Examples.Plot_jsp._jspService(Plot_jsp.java:91)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
________________________________________
Apache Tomcat/5.0.28


From: Chris Williamson on
This generally happens because it cannot find Mathematica or it can't
start a kernel due to a licensing issue. You should check to make sure
that the proper path is being used in MSP.conf. If so you check to make
sure there are not multiple kernels running that would prevent you from
launching a kernel in webMathematica.

Chris

David Tann wrote:
> Hi there,
>
> I can't run my webMathematica due the following problem?
> Can anyone tell me the cause and solution to the problem?
>
> Thanks,
> David
>
>
> HTTP Status 500 -
> ________________________________________
> type Exception report
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> exception
> javax.servlet.ServletException: A Kernel cannot be activated.
>
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
> mpl.java:825)
>
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:758)
> org.apache.jsp.Examples.Plot_jsp._jspService(Plot_jsp.java:111)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 24)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> javax.servlet.jsp.JspTagException: A Kernel cannot be activated.
> com.wolfram.webmathematica.tags.AllocateKernel.doStartTag(Unknown
> Source)
>
> org.apache.jsp.Examples.Plot_jsp._jspx_meth_msp_allocateKernel_0(Plot_jsp.ja
> va:128)
> org.apache.jsp.Examples.Plot_jsp._jspService(Plot_jsp.java:91)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 24)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.0.28 logs.
> ________________________________________
> Apache Tomcat/5.0.28
>
>
>