Re: Installing WO 5.4 on Linux
Re: Installing WO 5.4 on Linux
- Subject: Re: Installing WO 5.4 on Linux
- From: Chuck Hill <email@hidden>
- Date: Mon, 17 Nov 2008 11:38:52 -0800
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 <chill@global-
village.net> 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 <chill@global-
village.net> 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 <chill@global-
village.net> 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@hidden
> 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@hidden> 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@hidden
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-
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
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-
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
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-
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
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-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden