Re: Blank page after deploy on Ubuntu
Re: Blank page after deploy on Ubuntu
- Subject: Re: Blank page after deploy on Ubuntu
- From: Chuck Hill <email@hidden>
- Date: Mon, 27 Aug 2007 09:16:46 -0700
On Aug 26, 2007, at 8:53 PM, Ren, Kevin wrote:
Hi,
I followed the "How_to" link, built WO-Apache adaptor for Ubuntu
and run wotaskd and JavaMonitor applications,
Everything looks fine. I could got my 1085 configuration page and
get JavaMonitor page to configure application.
But after I deploy HelloWorld App, I got app running but when click
URL, only have blank page in my FireFox browser.
Anyone has idea what's going wrong?
Your app is throwing an exception very early or very late in the R-R
loop. Override dispatchRequest in Application and performAction in
DirectAction to catch and log Throwable. That should show what is
failing. You _will_ need to have the Output Path configured for the
application.
Chuck
FOR wotaskd
xiaowen@xiaowen-desktop:/opt/Apple/Library/WebObjects/
JavaApplications/wotaskd.woa$ Reading UNIXClassPath.txt ...
Launching wotaskd.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/
wotaskd.woa"
-classpath " /opt/Apple/Library/WebObjects/JavaApplications/
wotaskd.woa/Contents/Resources/Java/wotaskd.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/
Java/javaeocontrol.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar:
/opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/
Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/
Java/JavaWOExtensions.jar:
/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar:
/home/xiaowen/Library/Java:
/opt/Apple/Local/Library/Java:
/opt/Apple/Library/Java:
/Network/Library/Java:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
/usr/local/tomcat/common/lib/jsp-api.jar:
/usr/local/tomcat/common/lib/servlet-api.jar"Application
[2007-08-26 19:42:06 NZST] <main> Multicast Response Disabled
[2007-08-26 19:42:06 NZST] <Thread-0> Created UDP socket; listening
for requests...
[2007-08-26 19:42:06 NZST] <main> The URL for webserver connect is:
http://xiaowen-desktop/cgi-bin/WebObjects/wotaskd.woa/-1085
The URL for direct connect is:
http://xiaowen-desktop:1085/cgi-bin/WebObjects/wotaskd.woa
[2007-08-26 19:42:06 NZST] <main> Waiting for requests...
FOR JavaMonitor
xiaowen@xiaowen-desktop:/opt/Apple/Library/WebObjects/
JavaApplications/JavaMonitor.woa$ sudo ./JavaMonitor &
[2] 19950
xiaowen@xiaowen-desktop:/opt/Apple/Library/WebObjects/
JavaApplications/JavaMonitor.woa$ Reading UNIXClassPath.txt ...
Launching JavaMonitor.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/
JavaMonitor.woa"
-classpath "
/opt/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/
Contents/Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/
Java/javaeocontrol.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar:
/opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/
Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/
Java/JavaWOExtensions.jar:
/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar:
/home/xiaowen/Library/Java:
/opt/Apple/Local/Library/Java:
/opt/Apple/Library/Java:
/Network/Library/Java:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
/usr/local/tomcat/common/lib/jsp-api.jar:
/usr/local/tomcat/common/lib/servlet-api.jar" Application
[2007-08-26 19:47:07 NZST] <main> Creating LifebeatThread now with:
JavaMonitor 48632 xiaowen-desktop/127.0.1.1 1085 30000
[2007-08-26 19:47:07 NZST] <main> Your application is not running
on a supported development platform. AutoLaunch will not work.
Your application's URL is:
http://xiaowen-desktop:48632/cgi-bin/WebObjects/JavaMonitor.woa
[2007-08-26 19:47:07 NZST] <main> Waiting for requests...
FOR HelloWorld
xiaowen@xiaowen-desktop:/opt/Apple/Local/Library/WebObjects/
Applications/HelloWorld.woa$ Reading UNIXClassPath.txt ...
Launching HelloWorld.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Local/Library/WebObjects/Applications/
HelloWorld.woa"
-classpath "
/opt/Apple/Local/Library/WebObjects/Applications/HelloWorld.woa/
Contents/Resources/Java/helloworld.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/
Java/javaeocontrol.jar:
/opt/Apple/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
Java/javajdbcadaptor.jar:
/opt/Apple/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar:
/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/
Java/JavaWOExtensions.jar:
/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar:
/home/xiaowen/Library/Java:
/opt/Apple/Local/Library/Java:
/opt/Apple/Library/Java:
/Network/Library/Java:
/usr/local/tomcat/common/lib/jsp-api.jar:
/usr/local/tomcat/common/lib/servlet-api.jar"
webobjectsexamples.helloworld.Application
[2007-08-26 19:52:49 NZST] <main> Creating LifebeatThread now with:
HelloWorld 33838 xiaowen-desktop/127.0.1.1 1085 30000
Welcome to HelloWorld!
[2007-08-26 19:52:49 NZST] <main> The URL for webserver connect is:
http://xiaowen-desktop/cgi-bin/WebObjects/HelloWorld.woa/-33838
[2007-08-26 19:52:49 NZST] <main> Waiting for requests...
Thanks,
Xiaowen(Kevin) Ren
"This communication is confidential and may contain privileged and/
or copyright material. If you are not the intended recipient you
must not use, disclose, copy or retain it. If you have received it
in error please immediately notify me by return email, delete the
emails and destroy any hard copies. ANZ National Bank Limited does
not guarantee the integrity of this communication, or that it is
free from errors, viruses or interference."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
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