Solved by Chuck via http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=66181&nextMode=list My hostname wasn't set up to fqdn.
Once I changed that and rebooted everything, I was able to get up and running! On Mon, Nov 17, 2008 at 2:06 PM, Ted Archibald <[EMAIL PROTECTED]>wrote: > Under ps it lists wotaskd and JavaMonitor under User 1000 > id appserver > uid=1000(appserver) gid=110(appserveradm) groups=110(appserveradm) > > I also restarted both under appserver just in case, but it's made no > difference. > > On Mon, Nov 17, 2008 at 1:57 PM, Chuck Hill <[EMAIL PROTECTED]>wrote: > >> Are you sure that wotaskd is running as appserver? >> >> >> >> On Nov 17, 2008, at 11:46 AM, Ted Archibald wrote: >> >> Sorry, but I might be confused. >>> >>> When logged into appserver I can both do: >>> >>> cd /temp/Logs >>> >>> and >>> >>> echo 'test 123' > /temp/Logs/test_log.txt >>> >>> If I can do that, how is it a permission problem? >>> >>> On Mon, Nov 17, 2008 at 1:38 PM, Chuck Hill <[EMAIL PROTECTED]> >>> wrote: >>> >>> On Nov 17, 2008, at 11:37 AM, Ted Archibald wrote: >>> >>> I did that, and the command that was causing this problem was >>> -WOOutputPath >>> >>> That is a permissions problem. >>> >>> >>> >>> >From the command line, the output would stopped before getting to >>> "Waiting for requests..." but if I went to the output of the log file it >>> would get to that point just fine. I still can't connect to the app with or >>> without any of these commands. >>> >>> Fix the permissions first. >>> >>> >>> >>> >>> On Mon, Nov 17, 2008 at 1:20 PM, Chuck Hill <[EMAIL PROTECTED]> >>> wrote: >>> Try removing them one by one to find the one that is preventing it from >>> launching. I'd start with any that have file system paths. >>> >>> Chuck >>> >>> >>> >>> On Nov 17, 2008, at 11:17 AM, Ted Archibald wrote: >>> >>> Here's what I got using the same parameters as the JavaMonitor. >>> >>> The app doesn't get to the "Welcome To" or "Waiting for requests...." >>> when I uses the extra commands, without the commands I do get to that point. >>> >>> Here's the output (Fyi, I'm using the Wonder SpoutCoreExample App): >>> >>> Reading UNIXClassPath.txt ... >>> Launching SproutCoreExample.woa ... >>> java -DWORootDirectory="/opt; export NEXT_ROOT" >>> -DWOLocalRootDirectory="/opt; export NEXT_ROOT/Local" >>> -DWOUserDirectory="/WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa" >>> -DWOEnvClassPath="" -DWOApplicationClass=er.sproutcore.example.Application >>> -DWOPlatform=UNIX -Dcom.webobjects.pid=4718 -classpath WOBootstrap.jar >>> com.webobjects._bootstrap.WOBootstrap -WOPort 2002 -WOCachingEnabled YES >>> -WODebuggingEnabled NO -WOOutputPath /temp/Logs/SproutCoreExample-2 >>> -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval >>> 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor >>> WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 >>> -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -WOSessionTimeOut >>> 3600 -WOApplicationName SproutCoreExample -WOMonitorEnabled YES -WONoPause >>> YES >>> appRoot is >>> /WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa/Contents >>> Loading >>> /WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa/Contents/UNIX/UNIXClassPath.txt >>> Generated classpath: >>> >>> >>> /WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa/Contents/Resources/Java/ >>> >>> >>> /WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa/Contents/Resources/Java/SproutCoreExample.jar >>> >>> >>> /WebObjects/Wonder-latest-Applications-54/SproutCoreExample.woa/Contents/Resources/Java/src.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar >>> >>> >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/icu4j_2_8.jar >>> >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/icu4jdocs_2_8.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar >>> >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar >>> >>> >>> /opt/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar >>> >>> >>> /opt/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar >>> >>> >>> /opt/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar >>> /opt/Library/Frameworks/WOOgnl.framework/Resources/Java/ognl-2.6.7.jar >>> /opt/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar >>> /opt/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl53.jar >>> /opt/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl54.jar >>> /opt/Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar >>> /opt/Library/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar >>> /opt/Library/Frameworks/Ajax.framework/Resources/Java/jsonrpc.jar >>> >>> /opt/Library/Frameworks/SproutCore.framework/Resources/Java/SproutCore.jar >>> >>> >>> /opt/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar >>> >>> >>> /opt/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar >>> >>> >>> /opt/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar >>> >>> >>> /opt/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar >>> >>> >>> /opt/Library/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar >>> >>> >>> /opt/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar >>> /opt/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar >>> [2008-11-17 19:13:21 UTC] <main> Initialized : >>> er.extensions.ERXExtensions >>> You are referencing er.extensions.ERXPatternLayout but should use >>> er.extensions.logging.ERXPatternLayout instead >>> Nov 17 19:13:23 N/A[N/A] (ERXLogger.java:211) INFO >>> org.apache.log4j.Logger - Updated the logging configuration with the >>> current system properties. >>> Nov 17 19:13:23 N/A[N/A] (ERXLogger.java:213) DEBUG >>> org.apache.log4j.Logger - log4j.loggerFactory: null >>> Nov 17 19:13:23 N/A[N/A] (ERXLogger.java:214) DEBUG >>> org.apache.log4j.Logger - Factory: null >>> Nov 17 19:13:23 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - >>> Initialized : er.ajax.Ajax >>> Nov 17 19:13:23 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - >>> Initialized : er.sproutcore.SproutCore >>> Nov 17 19:13:23 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - >>> WebObjects version = 5.4.3 >>> Nov 17 19:13:23 SproutCoreExample[N/A] (ERXNSLogLog4jBridge.java:46) >>> DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 2002 and >>> address ATL/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of >>> 256 >>> Nov 17 19:13:23 SproutCoreExample[2002] (ERXNSLogLog4jBridge.java:46) >>> DEBUG NSLog - Creating LifebeatThread now with: SproutCoreExample 2002 ATL/ >>> 127.0.0.1 1085 30000 >>> >>> >>> On Mon, Nov 17, 2008 at 1:07 PM, Chuck Hill <[EMAIL PROTECTED]> >>> wrote: >>> >>> On Nov 17, 2008, at 10:57 AM, Ted Archibald wrote: >>> >>> I logged in as the appserver and the permissions seem fine, I can both >>> write to the logs directory and I can start the app manually via the command >>> line. >>> >>> Can you start it from the command line if you use all the same launch >>> parameters that JavaMonitor does? If this works, then look for a host name >>> difference between JavaMonitor and wotaskd. >>> >>> Chuck >>> >>> >>> >>> On Mon, Nov 17, 2008 at 12:10 PM, Chuck Hill <[EMAIL PROTECTED]> >>> wrote: >>> >>> On Nov 17, 2008, at 2:03 AM, Ted Archibald wrote: >>> >>> My next problem is that JavaMonitor won't start apps. When I configure >>> an app and turn it on, it never successfully turns on (or fails), it also >>> produces no log into my specified log path. If I run the app via the >>> command line, it appears to start fine, but I can't connect to it directly. >>> >>> See >>> http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=19193 >>> >>> >>> >>> >>> >>> On Mon, Nov 17, 2008 at 12:30 AM, Ted Archibald <[EMAIL PROTECTED]> >>> wrote: >>> That was exactly it, I must've accidentally deleted the ADAPTOR_OS = >>> LINUX line. >>> >>> Thanks! >>> >>> >>> On Mon, Nov 17, 2008 at 12:23 AM, Q <[EMAIL PROTECTED]> wrote: >>> >>> On 17/11/2008, at 3:26 PM, Ted Archibald wrote: >>> >>> /usr/bin/apxs2 -c -S CC=gcc -Wc,"-O2 -Wall -I`/usr/bin/apxs2 -q >>> INCLUDEDIR` -I../Adaptor -DSINGLE_THREADED_ADAPTOR -D - >>> >>> The end of this line should read -DSINGLE_THREADED_ADAPTOR -DLINUX - >>> >>> It would appear that you have no ${OS} defined, or have a modified >>> Makefile in Apache2.2, which shouldn't happen if you have followed Pascal's >>> instructions. >>> >>> Have you done anything NOT listed in pascal's instructions. I have tested >>> the build on Ubuntu Server 8.04.1 64-bit and it works with virtually no >>> modification other than editing make.config to set ADAPTOR_OS = LINUX >>> >>> Are you using the latest Wonder source? >>> >>> -- >>> Seeya...Q >>> >>> Quinton Dolan - [EMAIL PROTECTED] >>> Gold Coast, QLD, Australia (GMT+10) >>> Ph: +61 419 729 806 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net >>> >>> This email sent to [EMAIL PROTECTED] >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/products/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net >>> >>> This email sent to [EMAIL PROTECTED] >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/products/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net >>> >>> This email sent to [EMAIL PROTECTED] >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/products/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/products/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net >>> >>> This email sent to [EMAIL PROTECTED] >>> >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall >> knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/products/practical_webobjects >> >> >> >> >> >> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]