Re: checking webobject's version
Use the following for WebObjects version: defaults read /System/Library/Frameworks/JavaWebObjects.framework/Resources/Info CFBundleShortVersionString For Openbase I am not so sure. On 7/5/07, Florijan Stamenkovic [EMAIL PROTECTED] wrote: On Jul 05, 2007, at 17:52, Angelo Chen wrote: Hi, I just installed the weobjects come with June 2007's developer DVD, but any way to check what's the version of this WebObjects? Also I do see /application/Openbase folder, but can't create any new database, any way to use Openbase? Thanks. You need the OpenBase Manager app, from the Applications/OpenBase/ folder, to manage your databases. Assuming all is installed correctly, it is straightforward and easy. A.C. 無限電郵儲存量,立即使用Yahoo! Mail,你就無 需再擔心收件箱儲存空間會否過量! ___ 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/flor385% 40mac.com This email sent to [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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy ___ 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 [EMAIL PROTECTED]
Webservices - Newbie
Hi all, I am a total newbie to WebSevices world. so kindly pardon my ignorance. I have been developing WebObjects based application for quite some time now. So I will be very comfortable if I can develop a WebServices application in WebObjects. Here is my requirement, there will be a Webpage (not owned by us) where in we will provide a link to our service that will capture information. I was going through the WebObjects-WebServices tutorial and going by the Client-Server codes it seems that a lot of coding is needed by the client as well to use the service of the Server/Provider. In my case that will not be possible. As we do not own the clients we cannot do any change in them. So is it that I will not be able to use WebObjects? Also is it possible to have a WebObjects application without any Front-End. What I am asking is a Direct-Action enabled aplication which will just do some logic and will not throw-up any front-end. I will be highly benefitted if anyone can give me some pointers or resolve my doubts. -- Thanks and regards, Tanmoy ___ 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 [EMAIL PROTECTED]
Re: How to tell what WO version is installed?
Hi Janine, Just type in the following command in your terminal: defaults read /System/Library/Frameworks/JavaWebObjects.framework/Resources/Info CFBundleShortVersionString I hope this will resolve your problem Cheers Tanmoy On 3/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm trying to figure out how to figure out what version of WO has been installed on a system. I tried looking in /Library/Reciepts, where I have the following packages: WebObjects5.3.3Update.pkg WebObjectsDevelopment.pkg WebObjectsDocumentation.pkg WebObjectsExamples.pkg WebObjectsRuntime.pkg I've looked at version.plist in all of them. With the exception of the 5.3.3 package, they all have CFBundleShortVersionString set to 1.0.0, so I must not be looking in the right place. Any pointers? thanks, janine ___ 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/tanmoy.roy%40gmail.com This email sent to [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
Pagination in WO for a big resultset
Hi All, I have page where the resultset fetched from database will be quite big and hence it will be very difficult to fit in a single page. I am thinking of implementing a pagination when 10 rows will be shown at a time. I can implement it using a temp. array which will store first 10 and then upon click of the user it will show the next 10 and so on but I feel there is a better way of doing it. Any pointer will be of great help. -- Thanks, Tanmoy ___ 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: Large deployment advice
Hi Ken, I manage quite a big configuration : ( 20 machines , 64 instances/machine) So here what I do get things simpler. 1) I have my App to refresh its cached memory in every 10 minutes (with a WOTimer). 2) AutoRecover is always set to ON always for all instances. 3) have added a parameter which when true the application's refuseNewSession will get called. 4) Now I have a table which maintains the list of the hostname+posrt combination and a column which says whether the refuseNewSession to be true or false. 5) So after every 10 minutes the WOTimer will get executed and it will start the refuseNewSession for that host and port. 6) Now to deploy my app I have a automated script which does all the deployment across all the machines and at the end it it will make the flag for refusing new session to true. I this way I do not bother to look into the monitor (unless some thing awefull has happened) . Let me know if this helps. I would really like to know if I can improve on my deployment process. Thanks much, Tanmoy On 2/27/07, Ken Anderson [EMAIL PROTECTED] wrote: WO friends, I have to start working on a plan to deploy possibly hundreds of instances of about 10 different WO applications. I currently find it extremely painful to start/stop my existing test instances using JavaMonitor (too much clicking!). I would love to hear from people how they handle large deployments. Do you use JavaMonitor at all? Are you deploying with some way other than on OS X like SSDD or war (I've heard of these things, but have no idea what they are or how to deploy in this manner) ? Any thoughts would be greatly appreciated. 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 archive@mail-archive.com
Strange Exception in WO 531
Hi All, We have just upgraded our App-Server boxes with the latest WO531. However after that we are facing a strange exception which is coming up [2007-01-29 13:28:09 GMT] WorkerThread2 WOWorkerThread id=2 socket=Socket[addr=/206.236.132.25,port=50311,localport=9280] Exception while creating request: java.lang.IllegalArgumentException: com.webobjects.appserver.WORequest: Can not initialize a WORequest with a null method.; dropping connection I cannot find a place where we might have changed something which could have generated this exception. The same code is running fine in WO523 without this exception. If anybody is having any kind pointers it will be very helpgul -- Best, Tanmoy ___ 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: Strange Exception in WO 531
Hi Art, How do I specify that in xcodebuild command. I am using xcodebuild to compile my code. Please help. Thanks, Tanmoy On 1/29/07, Art Isbell [EMAIL PROTECTED] wrote: On Jan 29, 2007, at 10:40 AM, Tanmoy Roy wrote: We have just upgraded our App-Server boxes with the latest WO531. However after that we are facing a strange exception which is coming up [2007-01-29 13:28:09 GMT] WorkerThread2 WOWorkerThread id=2 socket=Socket[addr=/206.236.132.25,port=50311,localport=9280] Exception while creating request: java.lang.IllegalArgumentException: com.webobjects.appserver.WORequest: Can not initialize a WORequest with a null method.; dropping connection I cannot find a place where we might have changed something which could have generated this exception. The same code is running fine in WO523 without this exception. Have you recompiled your code under WO 5.3.1, maybe with show deprecated methods turned on? 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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy ___ 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
XCode build command for XCode 2.2 and above
Hi all, I am looking for the xcodebuild command for building a WO application in XCode 2.2.1. Our application uses .properties file with localized texts. We used to build our app. with the following coomand: xcodebuild install -buildstyle Deployment DSTROOT=$HOME/ This command used to work just fine for XCode 1.5. But it is failing in the latest version. Any pointer will be highly appreciated. Regards Tanmoy ___ 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
WO App Server - Request Handling - Parallel or Sequential ?
Hi all, We have deployed our WO application using Java Monitor in a OSX Box. We normally have around 10-11 instances of the application running. Normally we see the Active Sesion count to vary between 8-10 always. The monitor shows the average request processing time for our application is around 0.02 secs/request. Also we have seen that the max number of simulteneous requests is 50. Now here I have a question, does a single WO instance serves this 8-10 request parallely or is it sequentially. Lets say if we want to determine the capacity of request handling for our application will it be correct to say that our application can serve 50x10 requests simulteneously in 0.02 secs. Or is 50x10x0.02. If anybody has this kind of calculation or throw some lights on it it will be great. -- Best, Tanmoy ___ 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: Convert UNIX timestamp
Hi Drew, I normally use my own method to do what you are trying. Please find attached a sample code which I believe will solve your purpose. In the code I have used system date just for example. You can pass any valid date. USAGE: eyeMAC:~/Desktop ccdbbsr$ javac DateConverter.java eyeMAC:~/Desktop ccdbbsr$ java DateConverter MMMdd 06-21-2006 MM-dd- MMMdd Jun212006 Let me know if that resolves your issue. Thanks, Tanmoy On 6/21/06, Drew Thoeni [EMAIL PROTECTED] wrote: I have a UNIX timestamp (seconds since 1/1/70) that is a string and am trying to convert it to an NSTimestamp. I can find plenty of info on converting strings to dates, but all the methods expect dates in some month-day-year format. I'm pretty sure others have faced this. Ideas? Regards, Drew ___ 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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy DateConverter.java Description: Binary data ___ 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: java.lang.outofmemory
You can increase the memory in the Monitor setup as well as in the Application where you can add some more memory in the Java Heap which will help in the memory management. On 3/7/06, Randy Wigginton [EMAIL PROTECTED] wrote: Hello, My program loads a great deal of data from the database. I process it, then attempt to free the memory. My code looks vaguely like this: For (all objects) { EOEditingContext tmp = new EOEditingContext(); load objects from tmp with a fetch specification tmp.invalidateAllObjects(); tmp = null; System.gc(); } Even with this, I'm running out of memory. Any hints on making EO throw away everything it knows about? ___ 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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy ___ 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: JSON / AJAX Requesthandler from Jean-Fran çois Veillette
Hi Jason, Please mark a copy to me as well. Thanks a lot, Tanmoy On 2/15/06, Jean-François Veillette [EMAIL PROTECTED] wrote: For those interested, let me know, I'll send you an archive. - jfv Le 06-02-14, à 08:38, Rico Landefeld a écrit : hi, i found many references for the json requesthandler written by Jean-François Veillette on this list. do anyone knows where i can download it? it seems that he would share it, but i can't find it anywhere. are there any free ajax related frameworks or projects for webobjects available? thanks a lot, rico __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy ___ 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: wocheckbox?
Hi Leila, We have implemented something in the lines you are planning to do. Kindly let me know if you are populating the WORepitition from an array fetched from a database. If that is the case then add a boolean variable in the .java class that you have generated from the EOModel. Bind the set and get method for the boolean variable to the WOCheckbox. Now after the user clicks on the delete button loop through the array to check for which object the boolean variable is +ve and then delete the object. Let me know if the approach is fine with you. Tanmoy On 1/30/06, leila nemmiche [EMAIL PROTECTED] wrote: Hi Group; I've been working with a wocheckbox in worepetition. The goal is removing those objects checked in the list. I've not been able to do this when invoking a wocomponent action (button). I supposed that the problem came from the fact that the checkbox is in a WOIFrame... is it possible? I'm looking for any example of this. Thanks in advance, Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta. ___ 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/tanmoy.roy%40gmail.com This email sent to [EMAIL PROTECTED] -- Best, Tanmoy ___ 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