From: Johan H. <jo...@ne...> - 2008-09-30 15:56:59
|
Since some time, I can not seem to get the example applications started from the terminal. I go to the JavaApps folder, give the command, then there used to be an auto open n the browser, but that is not the case anymore. I am running wotaskd and java Womonitor on the development machine. Here an example; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== sh-3.2# ./AjaxExample2 Reading MacOSClassPath.txt ... Reading MacOSClassPath.txt ... Launching AjaxExample2.woa ... java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/ JavaAppsWO53/AjaxExample2.woa" -DWOEnvClassPath="" - DWOApplicationClass=er.ajax.example2.Application -DWOPlatform=MacOS - Dcom.webobjects.pid=7761 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap Loading /Library/WebObjects/JavaAppsWO53/AjaxExample2.woa/Contents/ MacOS/MacOSClassPath.txt Generated classpath: [classpath reading] [2008-09-30 17:07:56 CEST] <main> Initialized : er.extensions.ERXExtensions You are referencing er.extensions.ERXPatternLayout but should use er.extensions.logging.ERXPatternLayout instead sep 30 17:07:57 N/A[N/A] (ERXLogger.java:211) INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. sep 30 17:07:57 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Initialized : er.ajax.Ajax sep 30 17:07:57 AjaxExample2[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 54623 and address dhcp48.nest.nl/193.78.79.48 with WOWorkerThread minimum of 16 and maximum of 256 sep 30 17:07:57 AjaxExample2[54623] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Creating LifebeatThread now with: AjaxExample2 54623 dhcp48.nest.nl/193.78.79.48 1085 30000 sep 30 17:07:57 AjaxExample2[54623] (ERXApplication.java:691) INFO er.extensions.appserver.ERXApplication$JarChecker - The following packages appear multiple times: [lots of complaints about ] sep 30 17:09:45 AjaxExample2[54634] (ERXConfigurationManager.java:204) INFO er.extensions.foundation.ERXConfigurationManager - WOCachingEnabled is true. Disabling the rapid turnaround for Properties files sep 30 17:09:45 AjaxExample2[54634] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Finished initialization after launch: ERXExtensions sep 30 17:09:45 AjaxExample2[54634] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Finished initialization after launch: Ajax sep 30 17:09:45 AjaxExample2[54634] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - The URL for webserver connect is: http://dhcp48.nest.nl/cgi-bin/WebObjects/AjaxExample2.woa/-54634 sep 30 17:09:45 AjaxExample2[54634] (ERXNSLogLog4jBridge.java:43) WARN NSLog - sep 30 17:09:45 AjaxExample2[54634] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Waiting for requests... = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== When I try the given webserver connect (http://dhcp48.nest.nl/cgi-bin/WebObjects/AjaxExample2.woa/-54634 ), it is not responding, I get a "The requested application was not found on this server." If I try to run the application via WOTaskd, I get (in the case of AjaxExample2) a webpage that says: * Nothing or in the case of ERIUIExample: Back Prefs • Main LI Link 1 • Main LI Link 2 • Main LI Link 3 • Main LI Link 4 • Main LI Link 5 • Main LI Link 6 • Main LI Link 7 • Slide Left Link Something tells me I am missing something, somewhere. The machine is a fully updated 10.5.5 machine, with a 5.3.3 webobjects and a 5.4.3 webobjects installation. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 |