[Resend -- I used the wrong sender address, again.  Is it possoble to
register alternative addresses for posting with the Apache mail system? #g]

David H. DeWolf wrote:
> Basically, what I see is the following:
> 
> 1) Error starting up the portal  - NoSuchMethodError
> 
> 2) Error starting up the testsuite -  NullPointer
> 
> Both of these strike me as version or classpath issues.  Interestingly,
> the log indicates that all of the libraries required are being added to
> the tomcat installation.  Is this a clean copy Tomcat or would there
> possible be old versions of things hanging around?  Look in shared/lib
> and common/endorsed to see if anything looks strange.  If not, can you
> try to download the zip version of tomcat 5.5.9,  unzip it, install
> pluto and use it without any modifications.  If that works, then we can
> compare the two versions to see what the differences are and what our
> issues are.

I did use this installation of Tomcat for a previous Pluto 1.0.1
installation.  There's one Pluto 1.0.1 jar hanging about in shared\lib
(also an old commons logging jar).

...

OK, here I go...  Previously I used the .exe Tomcat installer, so I'm
noting here the exact steps I used to install from the ZIP file:

1. Download
http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.9/bin/jakarta-tomcat-5.5.9.zip
http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.9/bin/jakarta-tomcat-5.5.9-admin.zip

2. Unzip jakarta-tomcat-5.5.9.zip to working directory (creates
subdirectory jakarta-tomcat-5.5.9)

3. Unzip jakarta-tomcat-5.5.9-admin.zip to same working directory

4. Define system environment variable CATALINA_HOME to be this working
directory (C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9) -
remember this is Windows system.

5. Check that Tomcat starts up OK using bin\startup.bat.  Shut down
tomcat.  (I note that Tomcat runs as a console application rather than
as a Windows service.)

6. Install Tomcat as service using the bin\service.bat script, start
service and check Tomcat responds OK.  Shut down service again.

7. Add my preferred admin account details to conf\tomcat-users.xml

8. Update my Pluto 1.1 sources from SVN.  At revision 328610 (no change
from yesterday).

9. Go to Pluto 1.1 base directory and execute:
   cd D:\Work\OxfordCS\Pluto-1.1
   mvn clean
   mvn install
   cd pluto-util
   mvn pluto:install -DinstallDir="C:/DEV/Apache Software
Foundation/jakarta-tomcat-5.5.9"

All successful.  (BTW, the CD command on the page at
http://portals.apache.org/pluto/1.1/getting-started.html is still
incorrect, even though the -D option has been addded.)

10. Restart Tomcat service.  This time, the Pluto portal driver appears
to start without error (none seen in stdout log file).

11. Browse to http://localhost:8080/pluto/
    "Hello world" is displayed.
conf\Catalina\localhost\pluto.xml contains:
<Context path="/pluto" docBase="pluto-portal.war" crossContext="true">
</Context>

12. Browse to http://localhost:8080/testsuite
    "Hello world" is displayed.
conf\Catalina\localhost\testsuite.xml contains:
<Context path="/testsuite" docBase="pluto-testsuite.war"
crossContext="true">
</Context>

13./ Shut down tomcat service.  Still no sign of any errors in the log
files.

...

So, it's success of a kind, but I'm still not seeing the full testsuite,
just the "Hello world" page.

What files would you like me to examine for differences?  I attach a
report of a WinMerge directory tree comparison between the previous
installation and the new one.  The pom.properties files differ only in
the date they contain.

#g

-- 
Graham Klyne
Research Technology Service
Oxford University Computing Services
Title: Compare C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9 with C:\DEV\Apache Software Foundation\Tomcat 5.5 saved

Compare C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9 with C:\DEV\Apache Software Foundation\Tomcat 5.5 saved

26/10/05 11:17:43

FilenameDirectoryComparison resultLeft DateRight DateExtension
catalina.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14bat
catalina.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14sh
commons-daemon.jarbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16jar
cpappend.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14bat
digest.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16bat
digest.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14sh
jsvc.tar.gzbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14gz
service.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16bat
setclasspath.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14bat
setclasspath.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16sh
shutdown.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16bat
shutdown.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14sh
startup.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14bat
startup.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14sh
tool-wrapper.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16bat
tool-wrapper.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16sh
version.batbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:14bat
version.shbinOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin* 26/03/05 14:22:16sh
host-manager.xmlconf\Catalina\localhostOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\conf\Catalina\localhost* 26/03/05 14:22:16xml
server.xmlconfFiles are different26/03/05 14:22:16* 04/10/05 16:51:34xml
tomcat-users.xmlconfFiles are different* 26/10/05 10:51:2425/10/05 17:31:28xml
admin.2005-10-26.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:29:05log
catalina.2005-10-26.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:30:19log
host-manager.2005-10-26.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:29:05log
jakarta_service_20051026.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:58:22log
localhost.2005-10-26.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:30:19log
manager.2005-10-26.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:29:05log
stderr_20051026.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:33:27log
stdout_20051026.loglogsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs* 26/10/05 10:58:22log
host-managerserver\webappsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\server\webapps* 26/10/05 10:14:21
commons-logging-1.0.4.jarshared\libOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\shared\lib* 04/10/05 16:18:43jar
pluto-1.0.1-rc4.jarshared\libOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\shared\lib* 04/10/05 16:18:43jar
pluto-container-1.1-SNAPSHOT.jarshared\libBinary files are different* 26/10/05 10:50:0525/10/05 17:30:49jar
pluto-descriptor-api-1.1-SNAPSHOT.jarshared\libBinary files are different* 26/10/05 10:50:0525/10/05 17:30:49jar
pluto-descriptor-impl-1.1-SNAPSHOT.jarshared\libBinary files are different* 26/10/05 10:50:0525/10/05 17:30:49jar
balancerwebappsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\webapps* 26/10/05 10:14:18
pom.propertieswebapps\pluto\META-INF\maven\org.apache.pluto\pluto-portalFiles are different* 26/10/05 10:45:5425/10/05 17:26:10properties
pluto-portal.jarwebapps\pluto\WEB-INF\libBinary files are different* 26/10/05 10:45:5425/10/05 17:26:10jar
pom.propertieswebapps\pluto-portal\META-INF\maven\org.apache.pluto\pluto-portalFiles are different* 26/10/05 10:45:5425/10/05 17:26:10properties
pluto-portal.jarwebapps\pluto-portal\WEB-INF\libBinary files are different* 26/10/05 10:45:5425/10/05 17:26:10jar
pom.propertieswebapps\pluto-testsuite\META-INF\maven\org.apache.pluto\pluto-testsuiteFiles are different* 26/10/05 10:46:0225/10/05 17:26:16properties
pom.propertieswebapps\testsuite\META-INF\maven\org.apache.pluto\pluto-testsuiteFiles are different* 26/10/05 10:46:0225/10/05 17:26:16properties
webdavwebappsOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\webapps* 26/10/05 10:14:29
pluto-portal.warwebappsBinary files are different* 26/10/05 10:50:0525/10/05 17:30:50war
pluto-testsuite.warwebappsBinary files are different* 26/10/05 10:50:0625/10/05 17:30:50war
balancerwork\Catalina\localhostOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost* 26/10/05 10:58:22
host-managerwork\Catalina\localhostOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost* 26/10/05 10:58:22
portletswork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp* 04/10/05 16:59:47
WEB_002dINFwork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp* 04/10/05 16:44:21
index_jsp.classwork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost\pluto\org\apache\jsp* 26/10/05 10:53:36class
index_jsp.javawork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost\pluto\org\apache\jsp* 26/10/05 10:53:32java
login_jsp.classwork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp* 04/10/05 17:00:03class
login_jsp.javawork\Catalina\localhost\pluto\org\apache\jspOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp* 04/10/05 17:00:02java
SESSIONS.serwork\Catalina\localhost\plutoBinary files are different* 26/10/05 10:58:2225/10/05 17:31:50ser
orgwork\Catalina\localhost\pluto-testsuiteOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto-testsuite* 25/10/05 12:16:06
jspwork\Catalina\localhost\testsuite\org\apache\jspOnly in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\testsuite\org\apache\jsp* 04/10/05 16:58:39
SESSIONS.serwork\Catalina\localhost\testsuiteBinary files are different* 26/10/05 10:58:2225/10/05 17:40:56ser
webdavwork\Catalina\localhostOnly in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost* 26/10/05 10:58:21
LICENSE.Files are different26/03/05 14:23:34* 26/03/05 20:22:13
NOTICE.Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9* 26/03/05 14:23:34
RELEASE-NOTES.Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9* 26/03/05 14:22:14
RUNNING.txt.Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9* 26/03/05 14:22:14txt
tomcat.ico.Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved* 26/03/05 20:23:09ico
Uninstall.exe.Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved* 04/10/05 16:08:10exe

Reply via email to