You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Graham Klyne <gr...@oucs.ox.ac.uk> on 2006/01/11 12:47:00 UTC

Did something happen to Pluto 1.1, or is it me

[I did get this working, so I'm posting this message for information about the
hitches I encountered in updating the Pluto software.]

Just before Christmas I had succeeded in getting most of the Pluto 1.1 software
and test suite running under Tomcat in a ServletUnit test environment.  I then
updated the Pluto software version being used from SVN, and things stopped working.

Picking up the threads from where I left off, I've completely removed and
re-installed Tomcat (5.5.9), updated my Pluto 1.1 software to the latest code
revision (368011), and re-run the build, installation and deployment using Maven
per the instructions at [http://portals.apache.org/pluto/getting-started.html].
 But when I start Tomcat and browse to [http://localhost:8080/pluto/portal], I
get an HTTP 404 error:
[[
HTTP Status 404 - /pluto/portal/

type Status report

message /pluto/portal/

description The requested resource (/pluto/portal/) is not available.
Apache Tomcat/5.5.9
]]

No errors are reported in the Tomcat logs;  stderr_20060111.log (and
catalina.20060111.log) contain the following:
[[
11-Jan-2006 11:09:37 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
11-Jan-2006 11:09:37 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5649 ms
11-Jan-2006 11:09:38 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
11-Jan-2006 11:09:38 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
11-Jan-2006 11:09:38 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
11-Jan-2006 11:09:44 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/pluto]
11-Jan-2006 11:09:54 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
11-Jan-2006 11:09:55 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
11-Jan-2006 11:09:55 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/271  config=null
11-Jan-2006 11:09:55 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
11-Jan-2006 11:09:56 org.apache.catalina.startup.Catalina start
INFO: Server startup in 18777 ms
]]

The other Tomcat log files are empty, except jakarta_service_20050111.log, which
contains:
[[
[2006-01-11 11:09:29] [info] Running Service...
[2006-01-11 11:09:29] [info] Starting service...
[2006-01-11 11:09:31] [info] Service started in 1892 ms.
]]

Has something been broken in the Pluto SVN revision, or has the (now fading)
Christmas spirit addled my brains and caused me to forget some key step of the
installation procedure?  As far as I can tell, looking at my notes, I have
simply repeated what I have done several times before (modulo minor changes to
the setup instructions at [http://portals.apache.org/pluto/getting-started.html]).

....

[Later]

I retried the installation process, first running mvn clean on the Pluto 1.1
home directory, and deleting all Pluto-related files I could find in the Tomcat
directories.  This time, when I browse to [http://localhost:8080/pluto/portal] I
see the expected login screen.

So I guess there's an oversight somewhere with the rebuild/reinstallation logic?

#g

-- 
Graham Klyne
Research Technology Service
Oxford University Computing Services