[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 ServicesTitle: 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
| Filename | Directory | Comparison result | Left Date | Right Date | Extension |
|---|---|---|---|---|---|
| catalina.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | bat | |
| catalina.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | sh | |
| commons-daemon.jar | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | jar | |
| cpappend.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | bat | |
| digest.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | bat | |
| digest.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | sh | |
| jsvc.tar.gz | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | gz | |
| service.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | bat | |
| setclasspath.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | bat | |
| setclasspath.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | sh | |
| shutdown.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | bat | |
| shutdown.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | sh | |
| startup.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | bat | |
| startup.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | sh | |
| tool-wrapper.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | bat | |
| tool-wrapper.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | sh | |
| version.bat | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:14 | bat | |
| version.sh | bin | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\bin | * 26/03/05 14:22:16 | sh | |
| host-manager.xml | conf\Catalina\localhost | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\conf\Catalina\localhost | * 26/03/05 14:22:16 | xml | |
| server.xml | conf | Files are different | 26/03/05 14:22:16 | * 04/10/05 16:51:34 | xml |
| tomcat-users.xml | conf | Files are different | * 26/10/05 10:51:24 | 25/10/05 17:31:28 | xml |
| admin.2005-10-26.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:29:05 | log | |
| catalina.2005-10-26.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:30:19 | log | |
| host-manager.2005-10-26.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:29:05 | log | |
| jakarta_service_20051026.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:58:22 | log | |
| localhost.2005-10-26.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:30:19 | log | |
| manager.2005-10-26.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:29:05 | log | |
| stderr_20051026.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:33:27 | log | |
| stdout_20051026.log | logs | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\logs | * 26/10/05 10:58:22 | log | |
| host-manager | server\webapps | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\server\webapps | * 26/10/05 10:14:21 | ||
| commons-logging-1.0.4.jar | shared\lib | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\shared\lib | * 04/10/05 16:18:43 | jar | |
| pluto-1.0.1-rc4.jar | shared\lib | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\shared\lib | * 04/10/05 16:18:43 | jar | |
| pluto-container-1.1-SNAPSHOT.jar | shared\lib | Binary files are different | * 26/10/05 10:50:05 | 25/10/05 17:30:49 | jar |
| pluto-descriptor-api-1.1-SNAPSHOT.jar | shared\lib | Binary files are different | * 26/10/05 10:50:05 | 25/10/05 17:30:49 | jar |
| pluto-descriptor-impl-1.1-SNAPSHOT.jar | shared\lib | Binary files are different | * 26/10/05 10:50:05 | 25/10/05 17:30:49 | jar |
| balancer | webapps | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\webapps | * 26/10/05 10:14:18 | ||
| pom.properties | webapps\pluto\META-INF\maven\org.apache.pluto\pluto-portal | Files are different | * 26/10/05 10:45:54 | 25/10/05 17:26:10 | properties |
| pluto-portal.jar | webapps\pluto\WEB-INF\lib | Binary files are different | * 26/10/05 10:45:54 | 25/10/05 17:26:10 | jar |
| pom.properties | webapps\pluto-portal\META-INF\maven\org.apache.pluto\pluto-portal | Files are different | * 26/10/05 10:45:54 | 25/10/05 17:26:10 | properties |
| pluto-portal.jar | webapps\pluto-portal\WEB-INF\lib | Binary files are different | * 26/10/05 10:45:54 | 25/10/05 17:26:10 | jar |
| pom.properties | webapps\pluto-testsuite\META-INF\maven\org.apache.pluto\pluto-testsuite | Files are different | * 26/10/05 10:46:02 | 25/10/05 17:26:16 | properties |
| pom.properties | webapps\testsuite\META-INF\maven\org.apache.pluto\pluto-testsuite | Files are different | * 26/10/05 10:46:02 | 25/10/05 17:26:16 | properties |
| webdav | webapps | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\webapps | * 26/10/05 10:14:29 | ||
| pluto-portal.war | webapps | Binary files are different | * 26/10/05 10:50:05 | 25/10/05 17:30:50 | war |
| pluto-testsuite.war | webapps | Binary files are different | * 26/10/05 10:50:06 | 25/10/05 17:30:50 | war |
| balancer | work\Catalina\localhost | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost | * 26/10/05 10:58:22 | ||
| host-manager | work\Catalina\localhost | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost | * 26/10/05 10:58:22 | ||
| portlets | work\Catalina\localhost\pluto\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp | * 04/10/05 16:59:47 | ||
| WEB_002dINF | work\Catalina\localhost\pluto\org\apache\jsp | Only 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.class | work\Catalina\localhost\pluto\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost\pluto\org\apache\jsp | * 26/10/05 10:53:36 | class | |
| index_jsp.java | work\Catalina\localhost\pluto\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost\pluto\org\apache\jsp | * 26/10/05 10:53:32 | java | |
| login_jsp.class | work\Catalina\localhost\pluto\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp | * 04/10/05 17:00:03 | class | |
| login_jsp.java | work\Catalina\localhost\pluto\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto\org\apache\jsp | * 04/10/05 17:00:02 | java | |
| SESSIONS.ser | work\Catalina\localhost\pluto | Binary files are different | * 26/10/05 10:58:22 | 25/10/05 17:31:50 | ser |
| org | work\Catalina\localhost\pluto-testsuite | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\pluto-testsuite | * 25/10/05 12:16:06 | ||
| jsp | work\Catalina\localhost\testsuite\org\apache\jsp | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved\work\Catalina\localhost\testsuite\org\apache\jsp | * 04/10/05 16:58:39 | ||
| SESSIONS.ser | work\Catalina\localhost\testsuite | Binary files are different | * 26/10/05 10:58:22 | 25/10/05 17:40:56 | ser |
| webdav | work\Catalina\localhost | Only in C:\DEV\Apache Software Foundation\jakarta-tomcat-5.5.9\work\Catalina\localhost | * 26/10/05 10:58:21 | ||
| LICENSE | . | Files are different | 26/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:14 | txt | |
| tomcat.ico | . | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved | * 26/03/05 20:23:09 | ico | |
| Uninstall.exe | . | Only in C:\DEV\Apache Software Foundation\Tomcat 5.5 saved | * 04/10/05 16:08:10 | exe |
