Re: wotaskd fails with java.net.UnknownHostException
My guess is that Failed to parse is really caused by some other unexpected error like: Caused by: java.net.UnknownHostException: NET-DIST.school19.xeno.ru: NET-DIST.school19.xeno.ru You could take a look at SiteConfig.xml to ensure that it is correctly formed. If you are using the (OpenSource) version from Wonder, you could add additional debug logging to it. Chuck On Apr 17, 2011, at 4:44 AM, Gennady Kushnir wrote: 2011/4/14 Chuck Hill ch...@global-village.net: What is the error message? [2011-4-17 15:39:11 MSD] main WebObjects version = 5.4.3 [2011-4-17 15:39:11 MSD] main WOLocalRootDirectory set to non-default: /opt/apple/Local [2011-4-17 15:39:11 MSD] main Failed to parse /opt/apple/Local/Library/WebObjects/Configuration/SiteConfig.xml. Backing up original SiteConfig and continuing as if empty. [2011-4-17 15:39:11 MSD] main Multicast Response Disabled [2011-4-17 15:39:11 MSD] Thread-1 Created UDP socket; listening for requests... [2011-4-17 15:39:11 MSD] main The URL for webserver connect is: I am quite sure SiteConfig is OK. It is the same one used on many deployments without WOHost setting before and it also parses fine on this deployment when -WOHost is set to localhost. On Apr 13, 2011, at 10:04 PM, Gennady Kushnir wrote: If I set any host other than localhost a get an error parsing SiteConfig.xml Do I have to reenter everything manually instead of using prepared SiteConfig? 2011/4/13 Chuck Hill ch...@global-village.net: Then instead of localhost, use the canonical name of the machine. This needs to be the reverse lookup of the machine's IP address. They must resolve correctly between each other. Then use the same WOHost on your apps. Chuck On Apr 13, 2011, at 11:55 AM, Gennady Kushnir wrote: Adding -DWOHost=localhost (or the cannonical name of that machine) to the launch args. Thank you Chuck. This option did help to run wotaskd. But now I can't use it with Monitor. If I set both of them to localhost, then I can't access Web-interface from outside. If I set WOHost to IP then it fails to parse SiteConfig.xml It drives me crazy (( 2011/4/9 Chuck Hill ch...@global-village.net: Adding -DWOHost=localhost (or the cannonical name of that machine) to the launch args. Chuck On Apr 9, 2011, at 12:39 AM, Gennady Kushnir wrote: Hello list. I was asked to help setting up deployment on Linux system. It is not my first linux deployment, so I do know main steps and some possible errors. But this time it is something new for me. I can not even start wotaskd. When running from terminal it fails with [2011-4-9 10:46:41 MSD] main A fatal exception occurred: WOApplication: Cannot be initialized. [2011-4-9 10:46:41 MSD] main com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:WOApplication: Cannot be initialized. at com.webobjects.appserver.WOApplication.init(WOApplication.java:918) at Application.init(Application.java:112) . Caused by: java.lang.reflect.InvocationTargetException . at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614) at com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.java:1316) at com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java:1386) at com.webobjects.appserver.WOApplication.init(WOApplication.java:802) . Caused by: java.net.UnknownHostException: NET-DIST.school19.xeno.ru: NET-DIST.school19.xeno.ru at java.net.InetAddress.getLocalHost(InetAddress.java:1354) at com.webobjects.appserver._private.WOClassicAdaptor.init(WOClassicAdaptor.java:93) ... 23 more I have explored all WO configuration files I could remember , but I did not find aforementioned hostname there. Where did wotaskd get that hostname? Why does it need one? And is it possible to override in somewhere? Gennady Kushnir -- 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 smime.p7s Description: S/MIME cryptographic signature ___ 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
DB2 Plugin Testing
So I am taking my ancient DB2 plugin and updating into a more modern plugin. My hope is to contribute this to Wonder. Is there a standard test suite I should run the plugin against? I am planing to test against both DB2 for Linux and DB2 for iSeries. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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: DB2 Plugin Testing
I don't know of a suite, but it is a good idea. Chuck On Apr 18, 2011, at 1:27 PM, Jeffrey Simpson wrote: So I am taking my ancient DB2 plugin and updating into a more modern plugin. My hope is to contribute this to Wonder. Is there a standard test suite I should run the plugin against? I am planing to test against both DB2 for Linux and DB2 for iSeries. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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 smime.p7s Description: S/MIME cryptographic signature ___ 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: DB2 Plugin Testing
It would be great to have unit tests for EOF, so that we can try all plugins and check if they are all working. I don't know of a suite, but it is a good idea. Chuck On Apr 18, 2011, at 1:27 PM, Jeffrey Simpson wrote: So I am taking my ancient DB2 plugin and updating into a more modern plugin. My hope is to contribute this to Wonder. Is there a standard test suite I should run the plugin against? I am planing to test against both DB2 for Linux and DB2 for iSeries. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: DB2 Plugin Testing
For the plugin, you really need to test SQL generation, DDL generation, model reverse engineering, PK generation, that kind of stuff. You don't need to test all of EOF, so it is a bit constrained. But the results you are testing for are definitely plugin specific. Chuck On Apr 18, 2011, at 3:39 PM, Pascal Robert wrote: It would be great to have unit tests for EOF, so that we can try all plugins and check if they are all working. I don't know of a suite, but it is a good idea. Chuck On Apr 18, 2011, at 1:27 PM, Jeffrey Simpson wrote: So I am taking my ancient DB2 plugin and updating into a more modern plugin. My hope is to contribute this to Wonder. Is there a standard test suite I should run the plugin against? I am planing to test against both DB2 for Linux and DB2 for iSeries. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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/probert%40macti.ca This email sent to prob...@macti.ca -- 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 smime.p7s Description: S/MIME cryptographic signature ___ 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