Session EC Exception
So, I have over 4000 user objects related to about 20 country objects. I had a few duplicate countries in the country table because of record imports. So, I wrote a quick direct action that allows me to merge the countries. Basically, there are two drop-down lists, each with the full country list (including duplicates). I can select two different country objects and the page moves all users of the first selected country to the second selected country. Here's the problem. I've been successful merging almost every country to the appropriate country. The successful merges have had between 1-500 user objects to move. When I was trying to move USA related users to United States, 900 records successfully move, but I get the following error for over 200 records. er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database Where should I start looking to resolve? I've compared the data from objects that successfully transferred against those that didn't transfer and I'm not seeing a clear pattern. Thanks, Ken ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Scheduled Actions
How would I handle scheduled actions with WebObjects. Cron or some other approach? I'd like to have my application run a daily process to check a remote client's membership status and update my application's membership status. Thanks, Ken ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Mod_Rewrite
I know this is a topic that has been exhausted extensively, but I need some help finding resources that address my difficulty with mod_rewrite and wo. I notice that a number of tutorials explain how to mod_rewrite direct actions for shorter URLs, but is there a way to just generically remove the cgi-bin/WebObjects/App.woa portion of the URL? I don't mind the wo/ or wa/ part, but it would be nice to just have www.mysite.com/wo/dynamic_stuff or www.mysite.com/wa/direct_action especially for tracking purposes. I've read a number of articles about this, but either they only address the direct actions and require some application class imports or they just don't seem to work. Btw, I'm running Centos 5, WebObjects 5.4, and Apache2. Thanks, Ken Anderson ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC 2011 coming to your city
If anyone wants to have it in San Francisco or Sacramento (both beautiful cities) I can help with planning. Next year will be my first WOWODC. Even though I'm a few hundred miles away, I'd also like to suggest Santa Barbara. That is one of the most beautiful summer cities in the US. Great beach, amazing restaurants, and very nice hotels. Ken Anderson (the one from Sacramento) Sent from my iPhone ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC 2011 coming to your city
UHF was such a great movie! Lol...the good ol' days when you had to adjust the frequency of every preset channel button. Now we have Hulu. Back to WOWODC, I was thinking of SF for the exact same reason of having more Apple folks there. I'm in Sacramento, but SF is only a little over an hour drive away. I'd definitely be willing to help with planning if we had it in SF. Either way, I'll be there next year no matter where the location is. Ken Anderson Watermark Studios 916-868-7299 http://www.watermarkstudios.com **Check out my new blog at http://www.watermarkstudios.com/blog On Sep 8, 2010, at 11:12 AM, Pascal Robert wrote: Le 2010-09-08 à 14:09, Chuck Hill a écrit : On Sep 8, 2010, at 10:37 AM, David Holt wrote: I was thinking during some of the presentations this year that in the not-too-distant future the whole video store rental metaphor will have lost its meaning for young developers. Good thing most of us are older ;-) Some of use still remember BW TV with no cable. UHF! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Fwd: Object Store Error
Disregard my last post...I feel like an idiot. I didn't have my EOModel in my resources folder. Duh. Fixed it! Thanks, Ken Begin forwarded message: From: Ken - Watermark Studios k...@watermarkstudios.com Date: August 28, 2010 5:54:18 PM PDT To: WebObjects Apple webobjects-dev@lists.apple.com Subject: Object Store Error Okay, this has been driving me crazy and I've seen a few posts in the mailing list regarding it. I followed the recommendations and am still having the problem. java.lang.IllegalArgumentException: An object store for the entity LeadRank could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of EOModelGroup.defaultGroup() in your application. The entity is definitely defined in the EOModel and the EOModel was used with EOGenerate to create my object classes. I've done this a hundred times and this is the first time I've come across this error. Thanks, Ken ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Consuming Remote XML
Both SAX and Digester seem to be rather complicated compared to the PHP / Ajax method. With PHP I can overcome the cross-domain policy issue by creating a proxy copy of the XML document I am trying to access. Then with XPath or SimpleXML is just map the XML document to some form fields in the HTML. That's all I'm needing to do...allow a user to enter in a license number on one page, then have the application lookup the license number on a remote server that returns VERY basic XML, then map the results to form fields in my application. The idea is to make form completion very easy for the end-user because we can use their public information to fill out half of the form for them. Also, although I am new to Web Objects, I've been programming for a few years in .NET (VB C#) and scripting for about 10 years in PHP/HTML/Javascript. Unfortunately, even though concepts are similar, the actual implementation of some of the code in Web Objects references is still new to me. I may need a little more explanation on some things before I fully understand. Thanks again, Ken On Aug 20, 2010, at 11:20 PM, Joe Kramer wrote: +1 for Digester. I am in the midst of getting it to work on the gigantic ACORD standard for the insurance industry. I've found Digester to be pretty easy to use and works efficiently enough for our purposes. Joe Kramer CyberApps, Inc. On Fri, Aug 20, 2010 at 4:24 PM, David Holt programming...@mac.com wrote: I used Apache Digester to do this several years ago. This message might help you: http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg19536.html David On 2010-08-20, at 4:07 PM, Ken - Watermark Studios wrote: So, with PHP I can use either Curl or SimpleXML to consume remote XML files, then I can navigate and parse the XML files with XPath. I have a web service that transmits simple XML objects (no WSDL). How can I consume and parse with WO? I also know how to consume a local domain XML file with JQuery as well, but the cross-domain policy keeps me from doing so with JQuery. Thanks, Ken ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jkramer%40cyberapps.net This email sent to jkra...@cyberapps.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Consuming Remote XML
So, with PHP I can use either Curl or SimpleXML to consume remote XML files, then I can navigate and parse the XML files with XPath. I have a web service that transmits simple XML objects (no WSDL). How can I consume and parse with WO? I also know how to consume a local domain XML file with JQuery as well, but the cross-domain policy keeps me from doing so with JQuery. Thanks, Ken ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Configuring CentOS 5.5 for WebObjects
Okay, I finally got the reverse DNS set up. Here are the changes I made. 1) Set the reverse DNS to point to web01.polestarpilates.com from 66.175.98.51. 2) I created an A Record for web01.polestarpilates.com pointing to 66.175.98.51. 3) I set the hostname of the server to web01.polestarpilates.com in /etc/sysconfig/network. 4) I added -WOHost=web01.polestarpilates.com to my wotaskd parameters. Now, when I start wotaskd and JavaMonitor and log into JavaMonitor to set the Host, I get an error. I set the Host to web01.polestarpilates.com and I get the error Failed to contact web01.polestarpilates.com-1085. I've set the WOHost parameters to: -WOHost web01.polestarpilates.com -WOHost='web01.polestarpilates.com -WOHost=web01.polestarpilates.com and I tried without the WOHost parameter Same results each time. Thanks, Ken On Aug 13, 2010, at 3:40 AM, Pascal Robert wrote: Le 2010-08-13 à 06:33, Ken - Watermark Studios a écrit : Okay, the URL in the host tab should be www.polestartv.com? Yes. How can I set up reverse DNS? Unless you have a C class (255 IPs), you might have to ask your provider to do the reserve DNS entry. Thanks, Ken On Aug 13, 2010, at 3:18 AM, Pascal Robert wrote: Le 2010-08-13 à 06:05, Ken - Watermark Studios a écrit : ... 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. You have that URL in the Hosts tab? In the host tab, it should be just the host name, without /cgi-bin/... That URL goes to the Site tab. 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. That is normal since you have put a password in Monitor. 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. At least you have the HTTP adaptor running. $ cat /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 66.175.98.51web01.polestarpilates.com web01 Reserve DNS is not set : mbp-pascal-robert-4:~ probert$ host 66.175.98.51 Host 51.98.175.66.in-addr.arpa. not found: 3(NXDOMAIN) Fix this, WO (and a lot of other services) just love to have reserve DNS setup. $ 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 java14594 appserver 49u IPv6 63124 TCP *:webobjects (LISTEN) $ sudo /usr/sbin/lsof -i tcp:2001 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14737 appserver 47u IPv6 63212 TCP *:dc (LISTEN) $ sudo /usr/sbin/lsof -i tcp:56789 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14603 appserver 49u IPv6 63123 TCP *:56789 (LISTEN) java14603 appserver 51u IPv6 65378 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57263 (ESTABLISHED) java14603 appserver 52u IPv6 65384 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57264 (ESTABLISHED) java14603 appserver 62u IPv6 65385 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57267 (ESTABLISHED) java14603 appserver 64r IPv6 65386 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57266 (ESTABLISHED) java14603 appserver 65r IPv6 65387 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57265 (ESTABLISHED) java14603 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
Re: Configuring CentOS 5.5 for WebObjects
Log shows: The URL for webserver connect is: http://web01.polestarpilates.com/cgi-bin/WebObjects/wotaskd.woa/-1085 The URL for direct connect is: http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa When I try to connect via curl, this is what I get: $ curl http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig curl: (7) couldn't connect to host It seems that either wotaskd isn't running or the server doesn't recognize that it is running. Thanks, ken On Aug 17, 2010, at 11:29 AM, Mark Ritchie wrote: Hey Ken, On 17/Aug/2010, at 11:08 AM, Ken - Watermark Studios wrote: Now, when I start wotaskd and JavaMonitor and log into JavaMonitor to set the Host, I get an error. I set the Host to web01.polestarpilates.com and I get the error Failed to contact web01.polestarpilates.com-1085. I would start by checking the logs for WOTaskd and seeing what host and port it thinks it's running on. The log lines you're looking for are: [2010-8-17 11:21:45 PDT] main The URL for webserver connect is: http://app.server.fqdn/cgi-bin/WebObjects/wotaskd.woa/-1085 The URL for direct connect is: http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa both versions give the host name and the port. You can check that wotaskd is speaking by using curl with something like: app.server.fqdn $ curl http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig The URL used above should match what you see in the WOAdaptorInfo page of your webserver. The output of that should be XML with details of all instances running on app.server.fqdn. For a single instance, this would be something like: ?xml version=1.0 encoding=ASCII? adaptor application name=MySuperApp instance id=1 port=2001 host=app.server.fqdn/ /application /adaptor Good luck! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Configuring CentOS 5.5 for WebObjects
Okay, it seems that everything is running and communicating now. I'll just leave a note of what I had to do to make sure everything worked. 1) /etc/hosts: 127.0.0.1 web01.polestarpilates.com localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 66.175.98.51web01.polestarpilates.com web01 2) /etc/sysconfig/network: NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=web01.polestarpilates.com GATEWAY=172.16.1.1 3) Set the reverse DNS for my IP to web01.polestarpilates.com. I had to call my managed hosting rep to do this. It took about 10 hours. 4) Set wotaskd startup string to: $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd -WOPort 1085 -WOHost web01.polestarpilates.com 5) Set Host tab in JavaMonitor to web01.polestarpilates.com 6) Set URL adaptor under Site tab in JavaMonitor to http://web01.polestarpilates.com/cgi-bin/WebObjects; 7) After rebooting a few times, I have to remember to restart Apache, FrontBase server and FrontBase database. I felt like an idiot when I did everything above and couldn't even start my application from the command line because I forgot to start FrontBase. Now I am able to start JavaMonitor and start instances of the application as needed. I'm sure there will be more questions about the application as I continue with my configurations, but at least everything is communicating and working! Thanks so much to Chuck, Pascal and Mark for helping me out with this. I'm going to post a blog article about my struggles for easy reference and shoot everyone a link. Thanks, Ken On Aug 17, 2010, at 11:59 AM, Chuck Hill wrote: On Aug 17, 2010, at 11:36 AM, Ken - Watermark Studios wrote: Log shows: The URL for webserver connect is: http://web01.polestarpilates.com/cgi-bin/WebObjects/wotaskd.woa/-1085 The URL for direct connect is: http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa When I try to connect via curl, this is what I get: $ curl http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig curl: (7) couldn't connect to host Do you have a password set for wotaskd? It seems that either wotaskd isn't running or the server doesn't recognize that it is running. Verify with sudo lsof -i tcp:1085 Chuck On Aug 17, 2010, at 11:29 AM, Mark Ritchie wrote: Hey Ken, On 17/Aug/2010, at 11:08 AM, Ken - Watermark Studios wrote: Now, when I start wotaskd and JavaMonitor and log into JavaMonitor to set the Host, I get an error. I set the Host to web01.polestarpilates.com and I get the error Failed to contact web01.polestarpilates.com-1085. I would start by checking the logs for WOTaskd and seeing what host and port it thinks it's running on. The log lines you're looking for are: [2010-8-17 11:21:45 PDT] main The URL for webserver connect is: http://app.server.fqdn/cgi-bin/WebObjects/wotaskd.woa/-1085 The URL for direct connect is: http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa both versions give the host name and the port. You can check that wotaskd is speaking by using curl with something like: app.server.fqdn $ curl http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig The URL used above should match what you see in the WOAdaptorInfo page of your webserver. The output of that should be XML with details of all instances running on app.server.fqdn. For a single instance, this would be something like: ?xml version=1.0 encoding=ASCII? adaptor application name=MySuperApp instance id=1 port=2001 host=app.server.fqdn/ /application /adaptor Good luck! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Configuring CentOS 5.5 for WebObjects
I tried to create an account with Confluence to post on the wiki.objectstyle.org Wiki, but it's not allowing me to create an account. Am I missing something? Also, would you mind reviewing my post to make sure I'm not missing any technical issues? I figure the more recent we can keep documentation, the more people we can help. http://www.watermarkstudios.com/blog/?p=48 Thanks, Ken On Aug 17, 2010, at 12:46 PM, Mark Ritchie wrote: On 17/Aug/2010, at 12:40 PM, Ken - Watermark Studios wrote: Thanks so much to Chuck, Pascal and Mark for helping me out with this. I'm going to post a blog article about my struggles for easy reference and shoot everyone a link. Oh excellent! Glad to hear that you're up and working! A good place to document your steps might be http://www.wocommunity.org ;-) M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Configuring CentOS 5.5 for WebObjects
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.51web01.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 java14594 appserver 49u IPv6 63124 TCP *:webobjects (LISTEN) $ sudo /usr/sbin/lsof -i tcp:2001 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14737 appserver 47u IPv6 63212 TCP *:dc (LISTEN) $ sudo /usr/sbin/lsof -i tcp:56789 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14603 appserver 49u IPv6 63123 TCP *:56789 (LISTEN) java14603 appserver 51u IPv6 65378 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57263 (ESTABLISHED) java14603 appserver 52u IPv6 65384 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57264 (ESTABLISHED) java14603 appserver 62u IPv6 65385 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57267 (ESTABLISHED) java14603 appserver 64r IPv6 65386 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57266 (ESTABLISHED) java14603 appserver 65r IPv6 65387 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57265 (ESTABLISHED) java14603 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/2S+ 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
Re: Configuring CentOS 5.5 for WebObjects
Okay, the URL in the host tab should be www.polestartv.com? How can I set up reverse DNS? Thanks, Ken On Aug 13, 2010, at 3:18 AM, Pascal Robert wrote: Le 2010-08-13 à 06:05, Ken - Watermark Studios a écrit : ... 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. You have that URL in the Hosts tab? In the host tab, it should be just the host name, without /cgi-bin/... That URL goes to the Site tab. 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. That is normal since you have put a password in Monitor. 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. At least you have the HTTP adaptor running. $ cat /etc/hosts 127.0.0.1localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 66.175.98.51web01.polestarpilates.com web01 Reserve DNS is not set : mbp-pascal-robert-4:~ probert$ host 66.175.98.51 Host 51.98.175.66.in-addr.arpa. not found: 3(NXDOMAIN) Fix this, WO (and a lot of other services) just love to have reserve DNS setup. $ 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 java14594 appserver 49u IPv6 63124 TCP *:webobjects (LISTEN) $ sudo /usr/sbin/lsof -i tcp:2001 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14737 appserver 47u IPv6 63212 TCP *:dc (LISTEN) $ sudo /usr/sbin/lsof -i tcp:56789 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java14603 appserver 49u IPv6 63123 TCP *:56789 (LISTEN) java14603 appserver 51u IPv6 65378 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57263 (ESTABLISHED) java14603 appserver 52u IPv6 65384 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57264 (ESTABLISHED) java14603 appserver 62u IPv6 65385 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57267 (ESTABLISHED) java14603 appserver 64r IPv6 65386 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57266 (ESTABLISHED) java14603 appserver 65r IPv6 65387 TCP 172.16.1.67:56789-c-71-197-123-64.hsd1.ca.comcast.net:57265 (ESTABLISHED) java14603 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/2S+ 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