I went through everything Chuck recommended and I'm still struggling. I am on a time crunch with this project and deployment to this CentOS server is turning out to be more difficult than I imagined.
Okay, I'm just going to data dump here and see if anyone can help with the resolution. My web server name is www.polestartv.com. If you visit that link, it will take you to a redirect to the old site. I'm trying to getwww.polestartv.com/cgi-bin/WebObjects/PUPPolestarUniversityPortal.woa to run, but it only works if I do a direct connect, bypassing Apache (www.polestartv.com:2001). I can log into javamonitor via: www.polestartv.com:56789 In javamonitor, under the Host tab, I have "www.polestartv.com/cgi-bin/WebObjects" listed as the host name. I can not log into wotaskd via: www.polestartv.com:1085 I get the error "Attempt to call Direct Action: defaultAction on wotaskd with incorrect password." I can not access my application via: www.polestartv.com/cgi-bin/WebObjects/PUPPolestarUniversityPortal.woa I get the error "The requested application was not found on this server." So here comes my data dump: < $ sudo /usr/sbin/sestatus > SELinux status: disabled < $ cat /etc/sysconfig/network > NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=www.polestartv.com GATEWAY=172.16.1.1 < $ cat /etc/hosts > 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 66.175.98.51 web01.polestarpilates.com web01 < $ cat /etc/init.d/webobjects > ... su $USER -c "$NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd -WOPort 1085 &" su $USER -c "$NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor -WOPort 56789 &" ... < $ sudo /usr/sbin/lsof -i tcp:1085 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 14594 appserver 49u IPv6 63124 TCP *:webobjects (LISTEN) < $ sudo /usr/sbin/lsof -i tcp:2001 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 14737 appserver 47u IPv6 63212 TCP *:dc (LISTEN) < $ sudo /usr/sbin/lsof -i tcp:56789 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 14603 appserver 49u IPv6 63123 TCP *:56789 (LISTEN) java 14603 appserver 51u IPv6 65378 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57263 (ESTABLISHED) java 14603 appserver 52u IPv6 65384 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57264 (ESTABLISHED) java 14603 appserver 62u IPv6 65385 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57267 (ESTABLISHED) java 14603 appserver 64r IPv6 65386 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57266 (ESTABLISHED) java 14603 appserver 65r IPv6 65387 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57265 (ESTABLISHED) java 14603 appserver 334u IPv6 65337 TCP 172.16.1.67:56789->c-71-197-123-64.hsd1.ca.comcast.net:57262 (ESTABLISHED) < $ ps auxwww | grep 1085 > 501 14594 0.2 0.9 1207768 58636 ? Sl 00:49 0:04 java -DWORootDirectory=/opt -DWOLocalRootDirectory=/opt/Local -DWOUserDirectory=/home/watermark -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=UNIX -Dcom.webobjects.pid=14594 -Dcom.sun.management.jmxremote=false -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085 501 14737 0.8 2.1 1224664 131040 ? Sl 00:51 0:12 java -DWORootDirectory=/opt -DWOLocalRootDirectory=/opt/Local -DWOUserDirectory=/opt/Library/WebObjects/JavaApplications/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.digitalesdesign.pup.Application -DWOPlatform=UNIX -Dcom.webobjects.pid=14737 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /opt/Local/Library/WebObjects/Logs/PUPPolestarUniversityPortal-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName PUPPolestarUniversityPortal -WOMonitorEnabled YES -WONoPause YES -WOFrameworksBaseURL /WebObjects/PUPPolestarUniversityPortal.woa/Frameworks 500 14984 0.0 0.0 3996 688 pts/2 S+ 01:13 0:00 grep 1085 < $ ps auxwww | grep 2001 > 501 14737 0.8 2.1 1224664 131040 ? Sl 00:51 0:12 java -DWORootDirectory=/opt -DWOLocalRootDirectory=/opt/Local -DWOUserDirectory=/opt/Library/WebObjects/JavaApplications/wotaskd.woa -DWOEnvClassPath= -DWOApplicationClass=com.digitalesdesign.pup.Application -DWOPlatform=UNIX -Dcom.webobjects.pid=14737 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /opt/Local/Library/WebObjects/Logs/PUPPolestarUniversityPortal-1 -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName PUPPolestarUniversityPortal -WOMonitorEnabled YES -WONoPause YES -WOFrameworksBaseURL /WebObjects/PUPPolestarUniversityPortal.woa/Frameworks 500 14992 0.0 0.0 3996 692 pts/2 S+ 01:14 0:00 grep 2001 < $ ps auxwww | grep 56789 > 501 14603 0.4 1.2 1212592 76724 ? Sl 00:49 0:07 java -DWORootDirectory=/opt -DWOLocalRootDirectory=/opt/Local -DWOUserDirectory=/home/watermark -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=UNIX -Dcom.webobjects.pid=14603 -Dcom.sun.management.jmxremote=false -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789 500 14997 0.0 0.0 3996 688 pts/2 S+ 01:15 0:00 grep 56789 We'll start there...I've tried changing some configurations, but I won't go into detail about all those variations. This is the initial config. Thank you in advance for all your help! Ken On Aug 12, 2010, at 8:03 PM, Chuck Hill wrote: > Hi Ken, > > Follow this thread: > http://lists.apple.com/archives/webobjects-dev/2010/Jul/msg00369.html > > Hint: start near the end. :-) > > > Chuck > > > On Aug 12, 2010, at 7:17 PM, Info at Watermark Studios wrote: > >> I'm at a road block implementing WO on my dedicated CentOS 5.5 server. Below >> is my configuration and error. If anyone can help me, that would be great! >> >> OS: CentOS 5.5 (32-bit) >> Memory: 6Gb >> Web Server: Apache 2.2 >> WebObjects Version: 5.4 >> JDK: 1.6.0_21 >> SELinux: Disabled >> DB: FrontBase >> >> So, I successfully installed WO and my application. There are two main >> problems. >> >> First, JavaMonitor recognizes the server under Host tab, but under the >> Application tag, the monitor fails to see my application status. When I >> press the green light to start the app, it looks like it's trying, then >> times out with a red light. Strangely enough, the application is started, >> but JavaMonitor doesn't seem to know it. I thought it might be WOTaskd, but >> I can confirm that is running. I've also verified that SELinux is disabled >> and not preventing WOTaskd from doing its work. >> >> Second, as long as I enter >> "http://host.name.com:2001/cgi-bin/WebObjects/Application.woa" with the port >> number, the application runs without flaw. When I remove the port number I >> get the error message "The requested application was not found on this >> server." I went through my Apache configuration (/etc/httpd/conf/httpd.conf) >> and my Apache WebObjects configuration (/etc/httpd/conf.d/webobjects.conf) >> and made sure that the cgi-bin was pointing in the right place and that >> mod_webobjects was set up. Even before that I installed the apache adaptor >> from Project Wonder using make. So, everything looks like it should be >> working right, but for whatever reason I can only access the application >> directly and not through Apache. >> >> If anyone could help me probe into these problems more and find a solution, >> that would be much appreciated. I followed the Confluence installation >> directions as closely as I could (while changing some of the files and >> directories to match my configuration). >> >> Thanks, >> >> Ken >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/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-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
