Evan wrote:
> Does anyone have any further information for the following issue. I'm
> installing on Fedora Core 4 with Tomcat 5.0.30 and Sun java SDK 1.4.2. I'm
> getting exactly the same exception. Installing on Suse is not an option.
>
Hi, does it work if you replace
<jsp:forward page="swamp" />
with
<%
response.sendRedirect("/webswamp/swamp");
%>
in the index.jsp page?
Greetings
>
>
>
> Hi,
>
> I am trying to install SWAMP on the following.
>
> Debian
> Tomcat/5.0
> Sun Java
>
> I have run:
>
> ant local-init
> ant torque-init
> ./bin/install-swamp.sh
>
> with no problems
>
> The database has been created
>
> I am pointing my browser at http://192.168.1.11:8180/webswamp/
>
> And get the following error (my build file attached to the bottom)
>
> Any help would be appreciated.
>
> Regards
>
> Martin Stevens
>
> =============================================================
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> org.apache.jasper.JasperException
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 72)
>
> 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)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:16
> 1)
>
> root cause
>
> java.lang.NullPointerException
> org.apache.turbine.Turbine.doGet(Turbine.java:869)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:16
> 1)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.AccessController.doPrivileged(Native Method)
>
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691
> )
>
> org.apache.jasper.runtime.PageContextImpl.access$10(PageContextImpl.java:662
> )
>
> org.apache.jasper.runtime.PageContextImpl$11.run(PageContextImpl.java:645)
> java.security.AccessController.doPrivileged(Native Method)
>
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:643)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
> 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)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
>
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:16
> 1)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.0 logs.
>
> =============================================================
>
> # use the database at all? set this to false if you don't want torque to
> # setup the database at all (i.e. if you are building / developing
> # without having a database at your disposal)
>
> local.setupdb = true
>
> # database settings
>
> local.torqueproject = swamp
> local.database.createUrl = jdbc:mysql://127.0.0.1/mysql
> local.database.buildUrl = jdbc:mysql://127.0.0.1/swamp
> local.database.user = swamp
> local.database.password = swamppwd
> local.database.host = 127.0.0.1
>
> # email settings
> local.swamp.mailserver = mailserver.chace.enfield.sch.uk
> # this value will be the smtp.from value in the email header
> local.swamp.postmaster = [EMAIL PROTECTED]
> # if set to true all mails are sent to the postmaster, default: true
> local.swamp.mail.debug = true
>
> # Location of Logfiles:
> local.swamp.logfilelocation = /var/lib/tomcat5/base/logs
>
> # Location of workflow attachments:
> local.swamp.filelocation = /var/lib/tomcat5/base/temp
>
>
> # tomcat settings
> local.catalina.home = /usr/share/tomcat5
> local.catalina.base = /var/lib/tomcat5/base
> local.webswamp.home = /var/lib/tomcat5/base/webapps/webswamp/WEB-INF
> local.swamp.conf = conf/defaults
>
> # settings for turbine generated links
> # ports:
> local.webswamp.port=8180
> local.webswamp.sslport=
> # Link is used by Turbine to generate Links
> local.webswamp.hostname=192.168.1.11
> local.webswamp.path=/webswamp
>
>
> #VM settings for running tomcat
> #add switches here that will be appended when running tomcat by
> bin/startup.sh
> local.webswamp.javaopts = "-server -Djava.net.preferIPv4Stack=true -Xmx128M"
>
>
> # which compiler to use, modern for javac, jikes for jikes, rest see
> # ant documentation
> local.compiler=modern
>
> #Compilation Control Options
> #These properties control option settings on the Javac compiler when it
> #is invoked using the <javac> task.
> # Should compilation include the debug option?
> local.compile.debug=true
> #Should compilation include the optimize option?
> local.compile.optimize=false
> #Should compilation include the deprecation option?
> local.compile.deprecation=false
> local.compile.verbose=true
>
> # this is checked from build.xml
>
> local.setup.succeeded = true
>
>
>
>
>
>
>
>
> From: Thomas Schmidt <[EMAIL PROTECTED]>
> <http://sourceforge.net/mailarchive/message.php?msg_id=14742914> Re:
> Installation problem.
> 2006-02-08 10:17
>
>
> Martin N Stevens schrieb:
>> Hi,
>>
>> I am trying to install SWAMP on the following.
>>
>> Debian
>> Tomcat/5.0
>> Sun Java
>>
>> I have run:
>>
>> ant local-init
>> ant torque-init
>> ./bin/install-swamp.sh
>>
>> with no problems
>>
>> The database has been created
>>
>> I am pointing my browser at http://192.168.1.11:8180/webswamp/
>>
>> And get the following error (my build file attached to the bottom)
>>
>> Any help would be appreciated.
>
> Hi, it seems that in your case tomcat has problems to compile the
> JSP startpage.
> I can't see the cause from the stacktrace, do other JSP pages work?
> You can also try to access the SWAMP startpage directly by
> http://192.168.1.11:8180/webswamp/swamp
>
> Greetings
>
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"memory management can be a bitch" (linux/kernel/fork.c:11)
-------------------------------------------------------
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
_______________________________________________
swamp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net