Re: Newbie WOImageButton Question
On Oct 11, 2006, at 7:11 PM, Tarun Reddy wrote: Should I just start up wotaskd at startup (what is the right way to do that under Mac OS X) or is it supposed to get launched by mod_WebObjects.so? You need to configure wotaskd (and optionally, JavaMonitor) to start up at boot time. You'll need to uncomment the appropriate lines in the /System/Library/StartupItems/WebObjects/WebObjects startup item script. Or to really emulate the Mac OS X Server deployment environment, you could do as I have done: configure launchd to start wotaskd and JavaMonitor instead of using a startup item script. To do this, you'd need to copy com.apple.wotaskd.plist and com.apple.womonitor.plist from /System/Library/LaunchDaemons on Mac OS X Server and install them in /Library/LaunchDaemons on Mac OS X. If you want to emulate the logging that the WebObjects startup item script provides, you'd need to add the following to com.apple.wotaskd.plist and com.apple.womonitor.plist: keyStandardErrorPath/key string/var/log/WebObjects/webobjects.log/string keyStandardOutPath/key string/var/log/WebObjects/webobjects.log/string Aloha, Art ___ 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 archive@mail-archive.com
Re: Dealing with URLs length
shaun wrote: Miguel Arroz wrote: Hi! On 2006/10/10, at 21:50, Chuck Hill wrote: Interesting I never tried that. Thanks for the tip! You just have this then? WebObjectsAlias /WebObjects Yap! :) Taking the cgi-bin part out makes the URL look much better! Yours Cool. Thanks for that info. I think that is definitely Wiki worthy(if its not there already). Sweet, it works like a charm ! Thanks for all. ___ 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 archive@mail-archive.com
[External type] boolean vs bool / openbase vs mysql
Hi list, Currently I test my applications on openbase. I deploy my application on mysql on a different server. Each time I switch from test to deployment, I have to swith the external type of my boolean properties in order to generate sql code. For mysql, external type for boolean is bool. For openbase, external type for boolean is boolean. Is there a way to get round of this so that I would not have to switch external type ? Thank you for all your help. It is much appreciate :) -- Benoit ___ 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 archive@mail-archive.com
Re: [External type] boolean vs bool / openbase vs mysql
Prototypes are the way to go for that. Look at: http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Modeling/Prototypes and chapters in nearly every WebObjects book. cug On 10/12/06, Cantin Benoit [EMAIL PROTECTED] wrote: Hi list, Currently I test my applications on openbase. I deploy my application on mysql on a different server. Each time I switch from test to deployment, I have to swith the external type of my boolean properties in order to generate sql code. For mysql, external type for boolean is bool. For openbase, external type for boolean is boolean. Is there a way to get round of this so that I would not have to switch external type ? Thank you for all your help. It is much appreciate :) -- Benoit -- PostgreSQL Bootcamp, Big Nerd Ranch Europe, Nov 2006 http://www.bignerdranch.com/news/2006-08-21.shtml ___ 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 archive@mail-archive.com
Re: [External type] boolean vs bool / openbase vs mysql
Guido Neitzer wrote: Prototypes are the way to go for that. Look at: http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Modeling/Prototypes and chapters in nearly every WebObjects book. cug Thanks for your quick answer. I will have have a look my practical webobjects too looking for prototypes. -- Benoit ___ 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 archive@mail-archive.com
Re: [External type] boolean vs bool / openbase vs mysql
Cantin,While prototypes are the specific answer to your question; I was wondering what the benefit is in developing using OpenBase when your deployment database is MySQL. MySQL is a free download and a simple package install on Mac OS X. Isn't is more sensible to just develop and deploy using MySQL.You may have a very good reason for this, but I was just curious.On Oct 12, 2006, at 4:22 AM, Cantin Benoit wrote:Guido Neitzer wrote: Prototypes are the way to go for that. Look at:http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Modeling/Prototypesand chapters in nearly every WebObjects book.cug Thanks for your quick answer. I will have have a look my practical webobjects too looking for prototypes.-- Benoit___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/robertwalker1%40mac.comThis email sent to [EMAIL PROTECTED] --Robert Walker[EMAIL PROTECTED] ___ 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 archive@mail-archive.com
Re: [External type] boolean vs bool / openbase vs mysql
Robert Walker wrote: Cantin, While prototypes are the specific answer to your question; I was wondering what the benefit is in developing using OpenBase when your deployment database is MySQL. MySQL is a free download and a simple package install on Mac OS X. Isn't is more sensible to just develop and deploy using MySQL. You may have a very good reason for this, but I was just curious. Robert, It is just a matter of time. Openbase is convenient when developping since it is easier to change datas when using OpenBase Manager than writing command lines for Mysql. That's why, I am using OpenBase when developing. But I do not have OpenBase installed on the server used for deployment. You may say I should have installed Mysql to develop. The thing is that this is a temporary situation as we may install OpenBase in the near future on the server. That's why I keep developping with OpenBase. Of course, the situation is quite annoying. But I hope it won't be long. Cheers, -- Benoit ___ 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 archive@mail-archive.com
Re: Newbie WOImageButton Question
On Oct 11, 2006, at 11:41 PM, Art Isbell wrote: On Oct 11, 2006, at 7:11 PM, Tarun Reddy wrote: Should I just start up wotaskd at startup (what is the right way to do that under Mac OS X) or is it supposed to get launched by mod_WebObjects.so? You need to configure wotaskd (and optionally, JavaMonitor) to start up at boot time. You'll need to uncomment the appropriate lines in the /System/Library/StartupItems/WebObjects/WebObjects startup item script. My bad. I thought that was only commented on the server install. Chuck Or to really emulate the Mac OS X Server deployment environment, you could do as I have done: configure launchd to start wotaskd and JavaMonitor instead of using a startup item script. To do this, you'd need to copy com.apple.wotaskd.plist and com.apple.womonitor.plist from /System/Library/LaunchDaemons on Mac OS X Server and install them in /Library/LaunchDaemons on Mac OS X. If you want to emulate the logging that the WebObjects startup item script provides, you'd need to add the following to com.apple.wotaskd.plist and com.apple.womonitor.plist: keyStandardErrorPath/key string/var/log/WebObjects/webobjects.log/string keyStandardOutPath/key string/var/log/WebObjects/webobjects.log/string Aloha, Art -- 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 archive@mail-archive.com
MSSQL Server Unicode Issues Resolved!!
Title: MSSQL Server Unicode Issues Resolved!! I finally resolved my issues with MS SQL Server and unicode. Turns out that I didnt need to dive as deeply as I thought but there were some good lessons learned: Make sure your MS SQL Server tables use NCHAR, NVARCHAR, NTEXT column types for all string data that could contain unicode data. Make sure that your database driver is configured to send String parameters as unicode. Both JTds and MSFT drivers have jdbc url parameter called sendStringParametersAsUnicode that accepts TRUE or FALSE. The default for jTDS is TRUE. This generates the correct SQL for prepared statements. Make sure you use prepared statements as much as possible (WO seems to do that by default) Check your raw rows and JDBC queries for hard coded SQL that is not properly formatted for SQL server (i.e. The N syntax) Use EO Prototypes thru out your model. We have a large application (175 tables) - it would have taken forever to change the model by hand. I did not have to build a custom plugin or make any modifications to our EOModel. Thanks to everyone that made suggestions on helping me resolve the problem. I learned a bunch during the process. -- Dov Rosenberg Conviveon/Inquira Knowledge Management Experts http://www.conviveon.com http://www.inquira.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/archive%40mail-archive.com This email sent to archive@mail-archive.com
Trouble adding Project Wonder frameworks to XCode project
I'm having trouble adding Project Wonder to my project. It seems to compile fine but errors when launched. My classpath looks fine to me - /Users/mattkime/artdb/build/Development/artdb.woa/Contents/Resources/Java/artdb.jar /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar ERExtensions.framework/Resources/Java/ERExtensions.jar ERExtensions.framework/Resources/Java/src.jar /Users/mattkime/Library/Java /Library/Java/ /System/Library/Java/ /Network/Library/Java /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar /Library/WebObjects/Extensions/axis-ant.jar /Library/WebObjects/Extensions/axis.jar /Library/WebObjects/Extensions/commons-discovery.jar /Library/WebObjects/Extensions/commons-logging.jar /Library/WebObjects/Extensions/jaxrpc.jar /Library/WebObjects/Extensions/log4j-1.2.8.jar /Library/WebObjects/Extensions/saaj.jar /Library/WebObjects/Extensions/wsdl4j.jar /Library/WebObjects/Extensions/ ...but this is the error i get... [2006-10-12 21:07:58 EDT] main A fatal exception occurred: er/extensions/ERXSimpleHTMLFormatter [2006-10-12 21:07:58 EDT] main java.lang.NoClassDefFoundError: er/extensions/ERXSimpleHTMLFormatter at Application.init(Application.java:64) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.webobjects.appserver.WOApplication.main(WOApplication.java:323) at Application.main(Application.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) artdb has exited with status 1. Any ideas? I've spent a good amount of time banging my head against the wall over this before breaking down and asking for help. --matt ___ 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 archive@mail-archive.com