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:372) 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:161) 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:161) 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:324) 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:161) 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ swamp-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/swamp-devel
