[Attempto] need help getting ACE Wiki running
Tobias Kuhn
t.kuhn at gmx.ch
Thu Sep 10 09:36:58 CEST 2009
Hi Bill,
Ok, let's see...
First of all, I made a mistake in my previous message. "http://localhost:8080/webapps/" is not the
default URL for web applications in general. It is just the default URL for a web application called
"webapps.war" as the one that can be created out of the Attempto Java Packages.
To make sure we talk about the same things, this is how I made it run under Tomcat 5.5:
- Create "webapps.war" from the Attempto Java Packages by running "ant createwebapps"
- Copy "webapps.war" into "TOMCAT_HOME/webapps/"
- Starting up Tomcat using "./startup.sh"
- Tomcat then automatically extracts "webapps.war" so that a new folder
"TOMCAT_HOME/webapps/webapps/" is created
- Accessing "http://localhost:8080/webapps/" through the browser shows me then the links to the
Attempto web applications
Have you done it the same way?
Tobias
Murray, William R wrote:
> Hi Tobias,
>
>
>
> I expected that would fix it. Unfortunately, I got this error message:
>
>
> *HTTP Status 404 - /webapps*
>
> ------------------------------------------------------------------------
>
> *type* Status report
>
> *message* _/webapps_
>
> *description* _The requested resource (/webapps) is not available._
>
> ------------------------------------------------------------------------
>
>
> *Apache Tomcat/5.0.28*
>
> so what I suspect is that I installed the Ace Wiki folder in the wrong
> place even though it appears to be installed similarly to the other apps.
>
>
>
> Here is what the Java console looks like, with what I suspect the
> relevant statements highlighted in red:
>
>
>
> Sep 9, 2009 2:51:30 PM org.apache.coyote.http11.Http11Protocol init
>
> INFO: Initializing Coyote HTTP/1.1 on http-8080
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.startup.Catalina load
>
> INFO: Initialization processed in 937 ms
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.core.StandardService start
>
> INFO: Starting service Catalina
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.core.StandardEngine start
>
> INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.core.StandardHost start
>
> INFO: XML validation disabled
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.core.StandardHost getDeployer
>
> INFO: Create Host deployer for direct deployment ( non-jmx )
>
> Sep 9, 2009 2:51:30 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Processing Context configuration file URL file:C:\Program
> Files\Apache Software Foundation\Tomcat
> 5.0\conf\Catalina\localhost\admin.xml
>
> Sep 9, 2009 2:51:31 PM org.apache.struts.util.PropertyMessageResources
> <init>
>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
>
> Sep 9, 2009 2:51:31 PM org.apache.struts.util.PropertyMessageResources
> <init>
>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
>
> Sep 9, 2009 2:51:31 PM org.apache.struts.util.PropertyMessageResources
> <init>
>
> INFO: Initializing,
> config='org.apache.webapp.admin.ApplicationResources', returnNull=true
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Processing Context configuration file URL file:C:\Program
> Files\Apache Software Foundation\Tomcat
> 5.0\conf\Catalina\localhost\balancer.xml
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Processing Context configuration file URL file:C:\Program
> Files\Apache Software Foundation\Tomcat
> 5.0\conf\Catalina\localhost\manager.xml
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path /jsp-examples from URL
> file:C:\Program Files\Apache Software Foundation\Tomcat
> 5.0\webapps\jsp-examples
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path from URL
> file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path /servlets-examples from
> URL file:C:\Program Files\Apache Software
> Foundation\Tomcat5.0\webapps\servlets-examples Sep 9, 2009 2:51:32 PM
> org.apache.catalina.core.StandardHostDeployer install INFO: Installing
> web application at context path /tomcat-docs from URL file:C:\P
>
> rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
>
> Sep 9, 2009 2:51:32 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path /VCTC from URL
> file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\VCTC
>
> Sep 9, 2009 2:51:33 PM org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path /war from URL
> file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\war
>
> Sep 9, 2009 2:51:33 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\web apps\war\WEB-INF\lib\servlet-api.jar) - jar
> not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class Sep 9, 2009 2:51:33 PM
> org.apache.catalina.core.StandardHostDeployer install
>
> INFO: Installing web application at context path /webdav from URL file:
> C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
>
> Sep 9, 2009 2:51:33 PM org.apache.coyote.http11.Http11Protocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080
>
> Sep 9, 2009 2:51:33 PM org.apache.jk.common.ChannelSocket init
>
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
>
> Sep 9, 2009 2:51:33 PM org.apache.jk.server.JkMain start
>
> INFO: Jk running ID=0 time=0/453 config=C:\Program Files\Apache
> Software Foundation\Tomcat 5.0\conf\jk2.properties
>
> Sep 9, 2009 2:51:33 PM org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 2985 ms
>
>
>
> That implies that maybe the servlet-api.jar file is missing or not located
>
> or has the wrong api. But, it is there. I checked the Which Download?
> page on Apache Tomcat and it said...
>
>
>
> **Apache Tomcat 5.5.x** supports the same Servlet and JSP Specification
> versions as Apache Tomcat 5.0.x.
>
>
>
> so 5.5 should have the same specs as 5.0. I tried to download it anyway
> but could not, even after a reboot. It fails to install even tho I have
> admin
>
> privileges; I’m not sure why, will have to get sysadmin help.
>
>
>
> Any ideas? The final part I remembering about installing another WAR file is
>
> having to configure an XML file. I’m confused about whether I need to
> edit the web.xml file for AceWiki or not.
>
>
>
> So I’m not sure what the problem is or what to do next.
>
>
>
> Thanks,
>
> Bill
>
>
>
> P.S. We can take this offline (off the mailing list) if you like.
>
>
>
> -----Original Message-----
> From: Tobias Kuhn [mailto:t.kuhn at gmx.ch]
> Sent: Tuesday, September 08, 2009 11:30 PM
> To: Murray, William R
> Cc: attempto at lists.ifi.uzh.ch
> Subject: Re: [Attempto] need help getting ACE Wiki running
>
>
>
> Hi Bill,
>
>
>
> I just tried it out with Apache Tomcat 5.5 which -I hope- should be the
> same as with 5.0. The
>
> default URL for the web applications seems to be
> http://localhost:8080/webapps/ . If everything went
>
> well, you should see a page with the title "Attempto Web Applications"
> and links to a predictive
>
> editor example, AceWiki, and the ACE Editor. The URL accessing AceWiki
> directly would then be
>
> http://localhost:8080/webapps/ .
>
>
>
> I hope it works like this for you as well. Let me know if you encounter
> further problems.
>
>
>
>
>
> Cheers,
>
> Tobias
>
>
>
>
>
>
>
> Murray, William R wrote:
>
>
>
More information about the attempto
mailing list