David Zhao wrote:
Hi there,
I was able to build base2, initialize database, and deploy base2 to
tomcat 5.5.15. However, when I tried to access base2 for the first time
through http://mytomcatserer:8080/base2
<http://mytomcatserer:8080/base2>, I've got this error:
Have you done an 'ant dist' and then pointed tomcat to the dist/www
directory? It seems that you are lacking several configration files, for
example:
base.config (located in dist/www/WEB-INF/classes)
web.xml (located in dist/www/WEB-INF)
/Nicklas
Thanks,
David
HTTP Status 500 -
------------------------------------------------------------------------
*type* Exception report
*message*
*description* _The server encountered an internal error () that
prevented it from fulfilling this request. _
*exception*
org.apache.jasper.JasperException: Exception in JSP: /index.jsp:36
33: %>
34: <%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
35: <%
36: SessionControl sc = Base.getSessionControl(pageContext, true);
37: String ID = sc.getId();
38: %>
39: <base:page type="frameset" title="">
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
*root cause*
java.lang.NullPointerException
net.sf.basedb.core.Config.init(Config.java:62)
net.sf.basedb.core.Application.start
(Application.java:289)
net.sf.basedb.core.Application.start(Application.java:272)
net.sf.basedb.core.Application.getSessionControl(Application.java:651)
net.sf.basedb.clients.web.Base.getSessionControl(Base.java
:107)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java
:802)
*note* _The full stack trace of the root cause is available in the
Apache Tomcat/5.5.15 logs._
------------------------------------------------------------------------
Apache Tomcat/5.5.15
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]