Re: fetchLimit don't affect SQL fetching limit?

2012-06-27 Thread Gennady Kushnir
s. The default behaviour of EOF is to limit > in memory after the fetch. > > On Jun 26, 2012, at 10:23 AM, Gennady Kushnir wrote: > >> Hello all! >> I am fetching from a table that has lots of records. So I decided to >> fs.setFetchLimit(10) on my EOFetchSpeci

fetchLimit don't affect SQL fetching limit?

2012-06-26 Thread Gennady Kushnir
Hello all! I am fetching from a table that has lots of records. So I decided to fs.setFetchLimit(10) on my EOFetchSpecification, but nevertheless when I perform ec.objectsWithFetchSpecification(fs) I get JavaOutOfMemoryError. It seems to me that fetchLimit does not actually convert to a LIMIT claus

Re: RHEL 6 High memory usage

2012-06-23 Thread Gennady Kushnir
I think it is because Mac OS is "smarter" using physical memory and virtual memory. I always have much greater memory usage on linux than on mac for the same WO app... 2012/6/23 Pascal Robert : > > Le 2012-06-22 à 13:00, Ron Lift a écrit : > > > I want to thank everyone for the wiki on Deploying o

Time profiling

2011-05-24 Thread Gennady Kushnir
Hello list. I have noticed that my app is becoming slow. Are there any methods to analyze it's activity and find performance bottlenecks? I did use memory profiling and decided to extend available memory for my app. It did help me with OutOfMemoryError's and with too frequent and long fullGC events

Re: Concurrent request handling

2011-05-24 Thread Gennady Kushnir
So I assume those issues don't cause deadlocks. However users do complain that the App is running slow sometimes. Maybe that is because of such "local" locks? Gennady Kushnir 2011/3/10 Chuck Hill : > > On Mar 10, 2011, at 1:22 AM, Gennady Kushnir wrote: > >> Hello all

Re: wotaskd fails with java.net.UnknownHostException

2011-04-17 Thread Gennady Kushnir
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 >&

Re: wotaskd fails with java.net.UnknownHostException

2011-04-13 Thread Gennady Kushnir
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

Re: wotaskd fails with java.net.UnknownHostException

2011-04-13 Thread Gennady Kushnir
st to IP then it fails to parse SiteConfig.xml It drives me crazy (( 2011/4/9 Chuck Hill : > 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. &

wotaskd fails with java.net.UnknownHostException

2011-04-09 Thread Gennady Kushnir
hostname there. Where did wotaskd get that hostname? Why does it need one? And is it possible to override in somewhere? Gennady Kushnir ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: Scheduled Actions

2011-03-30 Thread Gennady Kushnir
I use java.util.Timer in my app. It works nice for me sending weekly emails and performing some other actions 2011/3/29 Tim Worman : > I have used the cron/script approach for a long time and it works quite well. > I am starting to transition my apps to use quartz. There's a chance my apps > cou

Re: Memory control

2011-03-18 Thread Gennady Kushnir
>>> 64M seems small to me for a Java app. >> I did not do any memory regulations myself. It is just default on my >> absolutely standard deployment system for WO (Xserve G4 , 2GB, MacOS X >> 10.5, Java 1.5.0_24) >> >> I found this 64M doing >> ps ax | grep "java" >> >> It lists all WO apps like thi

Re: Memory control

2011-03-17 Thread Gennady Kushnir
> Hi, >> Finally at about 95 hours I get OutOfMemory error as the heap is >> limited by default to 64M. > > 64M seems small to me for a Java app. I did not do any memory regulations myself. It is just default on my absolutely standard deployment system for WO (Xserve G4 , 2GB, MacOS X 10.5, Java 1

Re: Memory control

2011-03-14 Thread Gennady Kushnir
what should I do now? >> Is it expected behavior for large WO application? >> Should I simply rise max heap limit to find memory amount that would be >> enough? >> Should I schedule WOMonitor to restart the App every night? >> Or such behavior should be considered as my

Re: Memory control

2011-03-14 Thread Gennady Kushnir
nitor to restart the App every night? Or such behavior should be considered as my error somewhere in code? So where should I look for memory leaks? 2011/3/3 Gennady Kushnir : > Hello All! > I would raise this topic again. Thanks for all tips you have me. > Jprofiler is too commercial for me

Re: Concurrent request handling

2011-03-11 Thread Gennady Kushnir
>> Hello all ! >> I am wondering whether to turn on concurrent request handling on my >> deployment or not. > > I always have this on. > >> What are potential drawbacks of this? I assume there should be some. >> Why would it be off by default otherwise? >> I could not find anything interesting on t

Concurrent request handling

2011-03-10 Thread Gennady Kushnir
Hello all ! I am wondering whether to turn on concurrent request handling on my deployment or not. What are potential drawbacks of this? I assume there should be some. Why would it be off by default otherwise? I could not find anything interesting on this in documentation. And another question: wo

Re: Memory control

2011-03-03 Thread Gennady Kushnir
Hello All! I would raise this topic again. Thanks for all tips you have me. Jprofiler is too commercial for me unfortunately. And VisualVM failed to run on my deployment system (Xserve G4). In fact even when run on my dev system, I could not actually figure out how it could help me :( I feel sad ab

Re: Linux deployment advice

2011-02-25 Thread Gennady Kushnir
I have aready made my own set of rpms for automated WO install. It is targeted for AltLinux (russian distribution) but after certain modifications it may work for others Here they are: helloWO is a set of frameworks with a "product" - "Hello WOrld" application. http://sisyphus.ru/en/srpm/Sisyphus/

Re: Employing mod_deflate Apache module

2011-02-23 Thread Gennady Kushnir
x27;t read headers for plugin generated responses? Regards, Gennady Kushnir 2011/2/15 Patrick Middleton : > > On 15 Feb 2011, at 09:54, Patrick Middleton wrote: > >> >> On 14 Feb 2011, at 18:27, Gennady Kushnir wrote: >> > ... >> >> Is this a module load o

Re: Mailing software

2011-02-14 Thread Gennady Kushnir
We are sending emails via gmail using 10 seconds delay. Works yet. 2011/2/11 Miguel Arroz : > Hey Anjo, > >  In essence, you have to throttle down the mail sending rate. Services like > GMail and others will block your IP temporarily if they see a burst of emails > coming from it to them. > >  R

Re: Deployment question: WO puts IP address in URL when using HTTPS

2011-02-14 Thread Gennady Kushnir
As I remember, WO uses -WOHost runtime environment variable to form such urls. As to me, I use my own method to form secure URLs depending on client IP. Maybe Wonder offers some hook for that, let's wait for other replies. 2011/2/14 Christoph Wick : > Hi John, thanks for your hint. > > Unfortunate

Re: Employing mod_deflate Apache module

2011-02-14 Thread Gennady Kushnir
It is not Wonder app. Why make such tricks whereas Apache should do that already? 2011/2/14 Timo Hoepfner : > If it's a Wonder app, add this to you Properties and you're done: > > er.extensions.ERXApplication.responseCompressionEnabled=true > > Timo > > Am 14.0

Employing mod_deflate Apache module

2011-02-14 Thread Gennady Kushnir
Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascri

Re: Any ideas how to minimize bot access?

2011-02-14 Thread Gennady Kushnir
Can you identify those bots by User-Agent? That would not disturb legitimate users. 2011/2/14 Amiel Montecillo : > Yeah that would be my last resort if I can't find a WO way to handling this. > > Thanks, > Amiel > > On Mon, Feb 14, 2011 at 2:32 PM, Anthony Paras wrote: >> >> Why don’t you impleme

Re: WOLips deadlock

2010-12-18 Thread Gennady Kushnir
>I'm getting the exact same problem. Does your deadlocks occurs when you save >changes made in a component? I did not notice that first time. But now I'd say YES. 2010/12/18 Q : > I spoke to mike about this recently, it's a race condition related to locking > used for validation and validation c

WOLips deadlock

2010-12-17 Thread Gennady Kushnir
Hello all I'v recently upgraded my dev environment to Eclipse 3.6 and a WOLips version recommended in wiki I like some new features but now I regularly bump into Eclipse deadlock and have to force quit it. Here is the jstack dump from the last deadlock. I am writing here and not Eclipse support as

Memory control

2010-11-30 Thread Gennady Kushnir
Hello list. I've got "Out of memory" error once, when an app was under significant load serving multiple users. I am wondering if there is a way to monitor memory usage and possibly force garbage-collection of unused objects. For example, when debugging with MultiECLockManager I noticed that former

Re: Snow Leopard Deployment

2010-11-30 Thread Gennady Kushnir
In my case I did the same thing as on linux deployment: substituted /cgi-bin/... with /Apps/... in woadaptor configuration file ( /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf ) so that WO does not conflict with standard ScriptAlias 2010/11/24 Ron Lift : > Thank you > commenting ou

Re: Database Connection Question

2010-11-30 Thread Gennady Kushnir
Thank you for these tips The point is that I do use multiple EOF stacks. I clearly admit that each EOObjectStoreCoordinator gets its own set of db connections. >>> >>> It only needs a single connection to work. >> >> Let's say single connection for each used database ;) >> In fact that i

Re: Database Connection Question

2010-11-24 Thread Gennady Kushnir
>> The point is that I do use multiple EOF stacks. I clearly admit that >> each EOObjectStoreCoordinator gets its own set of db connections. > > It only needs a single connection to work. Let's say single connection for each used database ;) In fact that is a goal I'd like to achieve to have a sin

Re: Database Connection Question

2010-11-23 Thread Gennady Kushnir
rested you may review my code on github: https://github.com/baywind/reusables/blob/master/Sources/net/rujel/reusables/DataBaseConnector.java Here I am speaking about row 222 and around 2010/11/23 Chuck Hill : > Hi, > > On Nov 23, 2010, at 1:54 AM, Gennady Kushnir wrote: > >> Hello

Re: Database Connection Question

2010-11-23 Thread Gennady Kushnir
result when running multiple instances on a server with limited DB-connections I do get "too many connections" error sometimes. How could I fight it? Is it possible to control the number of open connections and close unused ones after certain idle time? Gennady Kushnir > Chuck > &

WebObjects RPM package for Linux

2010-10-22 Thread Gennady Kushnir
them. Installation paths are chosen to meet Linux JPackage Policy . Feedback welcome Gennady Kushnir Russia ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update

Re: Avoiding java.lang.OutOfMemoryError: Java heap space

2010-06-23 Thread Gennady Kushnir
Thanks to all. Susanne, in fact my background pages should not be stored because I initialize my dummyContext to deny page storing: WOContext dummyContext = new WOContext(request) { public boolean shouldNotStorePageInBacktrackCache() {

Avoiding java.lang.OutOfMemoryError: Java heap space

2010-06-22 Thread Gennady Kushnir
Hello List! I have a task to form an archive of a good bunch of WO-generated HTML pages to HDD. To achieve this I create a background thread to perform the task. In this thread I create a dummy WOContext : WOApplication app = WOApplication.application(); String du

Current licensing policy

2010-02-03 Thread Gennady Kushnir
for their stores and they have no reason to release any updates to it for us. Their shops are so cool full of AJAX and other stuff... I hardly believe they still use that primitive Component Actions Request Handler unmodified to make it. Well... that's offtop

Re: Objects don't get initialized sometimes

2010-01-25 Thread Gennady Kushnir
It seems like these errors are finally gone! Yippee!! The last thing I have done was to retire nested editing context and stay in main one. In fact, during this operation I've mentioned one improper transfer of object between these contexts. But I decided to fulfill my plan to be sure. Thanks every

Re: need help with javascript path when app is deployed

2010-01-24 Thread Gennady Kushnir
Why don't you use dynamic url construction? WOResourceManager.urlForResourceNamed(String aResourceName, String aFrameworkName, NSArray aLanguagesList, WORequest aRequest) As to me, I've written a custom dynamic element for scripts and stylesheets: http://github.com/baywind/reusables/blob/master/So

Re: Objects don't get initialized sometimes

2010-01-13 Thread Gennady Kushnir
2010/1/13 Chuck Hill : > > On Jan 13, 2010, at 4:04 AM, Gennady Kushnir wrote: > >> may this be the reason? >> >>   public void setWeight(BigDecimal aValue) { >>      if(weight().compareTo(aValue) != 0) { >>           if(w

Re: Objects don't get initialized sometimes

2010-01-13 Thread Gennady Kushnir
in awakeFromInsertion? 2010/1/12 Chuck Hill : > > On Jan 11, 2010, at 2:14 PM, Gennady Kushnir wrote: > >> I am on MySQL 5.0.x >> I don't use change notification framework. >> Stack trace of exception says it is raised during ec.saveChanges(). >> >> May it be caused

Re: Objects don't get initialized sometimes

2010-01-11 Thread Gennady Kushnir
gt;> On Jan 11, 2010, at 1:03 PM, Chuck Hill wrote: >>>> >>>> On Jan 11, 2010, at 4:26 AM, Gennady Kushnir wrote: >>>> >>>>> Hello again. >>>>> I've got it that I was doing something wrong. I've found and removed >>>&g

Re: Wrong classpath generated (JavaWOExtensions.jar)

2010-01-11 Thread Gennady Kushnir
that you are mixing your environment. I would md5 a known jar and > compare, or just take the one you know to be right and put it everywhere. > > ms > > On Jan 11, 2010, at 6:58 AM, Gennady Kushnir wrote: > >> I assume I substituted framework both on development and deployme

Re: Objects don't get initialized sometimes

2010-01-11 Thread Gennady Kushnir
EOF-Breaking+EOF > > Then > http://www.google.com/search?q=llegalStateException+rowDiffsForAttributes+snapshot > > > Chuck > > > On Nov 3, 2009, at 2:02 AM, Gennady Kushnir wrote: > >> Hello list! >> I have an occasionally occurring problem which I can not reprodu

Re: Wrong classpath generated (JavaWOExtensions.jar)

2010-01-11 Thread Gennady Kushnir
to do this. > > On Jan 9, 2010, at 7:17 PM, Gennady Kushnir wrote: > >> 2010/1/9 Mike Schrag : >>> what does the Info.plist for that framework say the name of the jar is? >>> >> Thank you for that comment. Editing Info.plist did help. >> Actually i

Re: Wrong classpath generated (JavaWOExtensions.jar)

2010-01-09 Thread Gennady Kushnir
sspaths. btw for what reason Wonder version of JavaWOExtensions.jar is named differently from native one? > On Jan 9, 2010, at 12:03 PM, Gennady Kushnir wrote: > >> Hello list. >> after upgrading to WOLips 3.5 from 3.3 I've got a problem with >> erroneous classpath

Wrong classpath generated (JavaWOExtensions.jar)

2010-01-09 Thread Gennady Kushnir
Hello list. after upgrading to WOLips 3.5 from 3.3 I've got a problem with erroneous classpath to JavaWOExtensions.framework it generates WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar whereas real jar filename is in lowercase: javawoextensions.jar As a re

Re: Objects don't get initialized sometimes

2009-11-03 Thread Gennady Kushnir
thank you for hints 2009/11/3 Chuck Hill : > Start here: > http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-Breaking+EOF > > Then > http://www.google.com/search?q=llegalStateException+rowDiffsForAttributes+snapshot > > > Chuck > > > On Nov 3, 2009,

Re: EOModels occasionally loading too slowly?

2009-11-03 Thread Gennady Kushnir
Hi, Normally EOmodels are loaded on demand (when they are requested) you may force EModel to load calling EODatabaseContext.forceConnectionWithModel see API for details Regards, Gena 2009/11/3 Paul Hoadley : > Hello, > > I am using Wonder and extending ERXApplication, but I don't think this is >

Objects don't get initialized sometimes

2009-11-03 Thread Gennady Kushnir
Hello list! I have an occasionally occurring problem which I can not reproduce but regularly meet in usage logs. Editing context fails to save changes and reports: java.lang.IllegalStateException: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {}; ...

Re: Exception occurred while finalizing EOEditingContext

2009-06-28 Thread Gennady Kushnir
Thank you for this tip. I think that will be useful once. I did already solve this problem. Solution was to unlock ec before separating Thread and to lock it again in new thread. Thanks Dov Rosenberg. 2009/6/28 Chuck Hill : > > On Jun 27, 2009, at 4:02 AM, Gennady Kushnir wrote: > >

Re: Exception occurred while finalizing EOEditingContext

2009-06-28 Thread Gennady Kushnir
Should I also lock editing context if I do not make any changes in it, just reading? 2009/6/28 Dov Rosenberg : > If you use an editingcontext in a thread you should manually lock/unlock it, > otherwise you can see these kinds of errors. > > Dov > > > On 6/27/09 7:02 AM, &qu

Exception occurred while finalizing EOEditingContext

2009-06-27 Thread Gennady Kushnir
Hello list. My applications console log displays this error (multiple times) when performing a scheduled task (not in RR loop) [2009-6-27 14:53:30 MSD] Exception occurred while finalizing EOEditingContext #13941350 :null In fact everything works fine, but I think this error should be dealt with t

Re: Zero dates "0000-00-00"

2009-03-17 Thread Gennady Kushnir
> If it's MySQL your jdbc connection url should probably have: > ?zeroDateTimeBehavior=convertToNull WOW! that worked! Thanks a lot! 2009/3/17 Lachlan Deck : > On 18/03/2009, at 4:48 AM, Gennady Kushnir wrote: > >> Hello list. >> Is there some known hint to get r

Re: Zero dates "0000-00-00"

2009-03-17 Thread Gennady Kushnir
/WO54_Reference/com/webobjects/eoaccess/EOAdaptorChannel.Delegate.html#adaptorChannelDidFetchRow(com.webobjects.eoaccess.EOAdaptorChannel,%20com.webobjects.foundation.NSMutableDictionary) > > I don't recall offhand how to set the delegate. I thought there was a > notification, but I could not find it. > > &g

Re: Zero dates "0000-00-00"

2009-03-17 Thread Gennady Kushnir
Dictionary.java:570) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at net.rujel.vseobuch._VOStudent.lastName(_VOStudent.java:71) 2009/3/17 Chuck Hill : > > On Mar 17, 2009, at 10:48 AM, Gennady Kushnir wrote: > >> Hello list. >> Is there some known hint to get rid wit

Fwd: NDN:

2009-03-17 Thread Gennady Kushnir
I get this reply every time I post into the list. Is it normal? Gennady -- Forwarded message -- From: Date: 2009/3/17 Subject: NDN: To: Gennady Kushnir Sorry. Your message could not be delivered to: wodev,mail (The name was not found at the remote site. Check that the name

Zero dates "0000-00-00"

2009-03-17 Thread Gennady Kushnir
Hello list. Is there some known hint to get rid with exception raised when dealing with zero dates in SQL? I'm taking data from database maintained with a third party program. When a date is undefined that program puts "-00-00" into database which is acceptable for SQL but raises an exception i

Re: AJAX without Wonder?

2009-03-12 Thread Gennady Kushnir
Thanks everybody for replies. I shall think it over. I believe that sometimes it may be better to "reinvent" some little wheel that would fit perfectly my specific road instead of adopting some ultimate wheel that can drive any unnecessary road. And it is uncertain what would take more time. _

AJAX without Wonder?

2009-03-10 Thread Gennady Kushnir
Hello all I have a question. Is there a way to use AJAX in WebObjects other than employing Wonder? I have rather large project and in fact I would not like to move it to using Wonder. I use AJAX for some tasks not related to modifying already displayed data on the page but in some cases it would b

Re: directActionURLForActionNamed produce corrupted hostname

2009-03-09 Thread Gennady Kushnir
Hello I have the same problem and this annoys me much. I seems an unexpected behavior to me to generate complete URLs including hostname when I don't ask for that. Also even when adding host name it would better take value from "host" header instead of "server_name" header. As "host" represents act

Re: Making a fake EO

2009-02-19 Thread Gennady Kushnir
I thank everybody for you replies. > Why don't you want to store null? Is this a situation where you don't have > control over the DB? Is there a DBA that is trying to impose extreme > normalization? I don't want null because on the other object in my database that may be related to some employee

Making a fake EO

2009-02-19 Thread Gennady Kushnir
Hello list! I have rather complicated question: is it possible to make an Enterprise Object that does not relate to any specific existing row in database? I want it to indicate vacant employee places where on the other hand I don't want to store NULL. So I want relationships pointing to "zero" whic

Obtaining newly generated primary keys during save

2008-12-19 Thread Gennady Kushnir
Hello, list I'm trying to get primary key value from one enterprise object to get stored in another table. But if the object is recently inserted it does not have any primary key and consequently I have nothing to save. I tried to trigger second tabe initialisation on EOGlobalID.GlobalIDChangedNoti

Re: Can not get objectForGlobalID

2008-12-17 Thread Gennady Kushnir
properly register the eo in the editing context. > > On Dec 16, 2008, at 9:50 AM, Gennady Kushnir wrote: > >> Hello list. >> I can not understand if it is a bug or I am doing something wrong. >> I am caching EOGlobalID's for a reference table in a static >> NSMu

Can not get objectForGlobalID

2008-12-16 Thread Gennady Kushnir
Hello list. I can not understand if it is a bug or I am doing something wrong. I am caching EOGlobalID's for a reference table in a static NSMutableDictionary However I noticed that this cache is not working: EOEditingContext.objectForGlobalID returns null but when getting that EO by other means, i

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Gennady Kushnir
Hmm... I'm not quite shure in what parts of WO programming it is vital to be thread safe? 2008/7/9 Ken Anderson <[EMAIL PROTECTED]>: > I'm sure Pierre could answer this better than anyone else, but I always lock > NSTimestampFormatter when used in multi-threaded situations... > > On Jul 8, 2008, a

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-08 Thread Gennady Kushnir
> NSTimestampFormatter also understands the SimpleDateFormat pattern symbols. > Just use the SimpleDateFormat symbols for both. Does it work only for 5.4 or also for earler versions of WO? Gennady 2008/7/9 Chuck Hill <[EMAIL PROTECTED]>: > > On Jul 8, 2008, at 3:59 PM, Gen

Re: empty relationship qualifier question

2008-07-08 Thread Gennady Kushnir
Очень похоже на ошибку в модели. Check your relationship "tracks" to be "toMany" "is NULL" behavior is usually for "toOne" relationships. 2008/7/8 Michael Bushkov <[EMAIL PROTECTED]>: > Hi, Pierre! Thanks for the answer. > I've actually tried using EOKeyValueQualifier("tracks", > EOQualifier.Quali

SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-08 Thread Gennady Kushnir
Hello list! As mentioned in WO 5.4 documentation NSTimestampFormatter class is now deprecated. They recommend using java.text.SimpleDateFormat instead. Pattern formats for NSTimestampFormatter and SimpleDateFormat a different. But when binding WOString and WOTextFiend it still takes patterns for da

WOLips "Problem Occured"

2008-07-08 Thread Gennady Kushnir
Hello, List I have problems with my Eclipse IDE (3.3.2) with WOLips 3.3.5047 Every time I configure frameworks it shows me "Problem Occured" error message: } WOLips Include Files Updates } Attempted to beginRule: R/, does not match outer scope rule: P/Rujel I don't get what it means. But as a r

WOLips BUG: can't configure frameworks set used in application

2008-06-14 Thread Gennady Kushnir
Hello list. I think it should be a common problem using WOLips with a common solution either... When adding and/or removing installed framework dependency (using WO Frameworks -> Configure...) an alert arised about some exception adding files to build path. As a result - these changes did not aff

Re: Versioning ... CVS or Subversion?

2008-06-11 Thread Gennady Kushnir
2008/6/12 Jean-François Veillette <[EMAIL PROTECTED]>: > > Le 08-06-11 à 23:00, Gennady Kushnir a écrit : > >>> I'm still on tiger, just './configure ; make ; sudo make install ' and >>> you >>> are done. >> >> yep! that'

Re: Versioning ... CVS or Subversion?

2008-06-10 Thread Gennady Kushnir
s different. Every feature the SMC system has > to offer is available and there's no question of the "maturity" of some > plugin. But, that's just me. :-) > +2 hg > +1 git > -1 svn > -999 cvs > On May 14, 2008, at 2:54 PM, Chuck Hill wrote: > > On May

Fwd: Relationship across model boundaries failing

2008-05-30 Thread Gennady Kushnir
Flattening relationshops (consequently - many-to-many relations) does not work across database (consequently - EOModel) boundaries Unfortunately. It is mentioned in Using EOModeler manual. So you have to traverse relationships programmatically I assume. Gennady 2008/5/29 Juergen Lorenz Simon <[EM

Looking forward to 5.4.2

2008-05-29 Thread Gennady Kushnir
Hello, All Does anybody know when WO 5.4.2 is going to be officially released? It seemes to have numerous bugfixes, some of which I really need. People say it is already a part of iPhone SDK... but I'm afraid, it can not be considered as release. And I'm not shure it would be a good idea to experi

Re: Application became sluggish when deployed on 5.4 [Problem found]

2008-05-14 Thread Gennady Kushnir
regular WO Properties files? > > ms > > On May 14, 2008, at 4:09 PM, Gennady Kushnir wrote: > >> Thanks for jstack idea >> Though with problems (it refused to run until I found solution in >> lists and after that generated excepions) it gave me a clue to the >>

Re: Application became sluggish when deployed on 5.4 [Problem found]

2008-05-14 Thread Gennady Kushnir
Thanks for jstack idea Though with problems (it refused to run until I found solution in lists and after that generated excepions) it gave me a clue to the problem. It seemes like java.util.prefs library became slow on Leopard. And I access preferences extensively in my app. Luckily I've already m

Re: Versioning ... CVS or Subversion?

2008-05-14 Thread Gennady Kushnir
> Are they hiring? :-P Russian citizens only. ;-) someone wants to spend a workday without Internet? :-o 2008/5/12 Chuck Hill <[EMAIL PROTECTED]>: > > On May 12, 2008, at 12:23 PM, Gennady Kushnir wrote: >> >> P.S. For those who are stunned about lacking internet

Re: Versioning ... CVS or Subversion?

2008-05-12 Thread Gennady Kushnir
Hello All. I'm very grateful for your comments. They are very useful and give very interesting information for final choice. I think I'll get unto it as soon as I have time for learning - I think in a few weeks. And I'll make my final decision then. Good integration is quite important for me, but u

Re: Versioning ... CVS or Subversion?

2008-05-11 Thread Gennady Kushnir
y have a file in version 25 (because you changed it 25 times) > and another file in version 3 (you changed it 3 times) that were actually > added to the rep at the same time. It just doesn't make any sense, again, at > least for me. Also, SVN has a very good open so

Re: Broken outline in WOLips component(HTML) editor

2008-05-11 Thread Gennady Kushnir
What regads to browser? Mac OS X 10.4.12, Safari 3.1.1 in fact maybe really Safari version does matter. As i have aforementioned problems on macs with Safari 3.1.1 and have no problems with this on macs with not updated Safari Genady 2008/5/11 Mike Schrag <[EMAIL PROTECTED]>: > > > Can it be co

Versioning ... CVS or Subversion?

2008-05-11 Thread Gennady Kushnir
p in group work. Interested in your opinions Gennady Kushnir ___ 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.ap

Broken outline in WOLips component(HTML) editor

2008-05-11 Thread Gennady Kushnir
gle). This kind of outline is hardly helpful at all. The strange thing is that on some computers it does show and on some - it does not with the same workspace (I work with several computers and have my workspace with me on flashdrive). Can it be corrected somewhere or I should fully reinslall Eclipse

Re: Application became sluggish when deployed on 5.4

2008-05-11 Thread Gennady Kushnir
thank you for your answer - it seemes helpful. but i have no idea about neither profiler nor jstack what are they and where i can get them (preferably with some documentation) Gennady 2008/5/11 Mike Schrag <[EMAIL PROTECTED]>: > > > Any suggestions? Where should I concentrate with debugging? EOF

Application became sluggish when deployed on 5.4

2008-05-11 Thread Gennady Kushnir
to HDD (as shown by Activity Monitor). But it produces heavy CPU load - so it is all related to some not optimal processes in memory. Any suggestions? Where should I concentrate with debugging? EOF of wo.appserver? Gennady Kushnir ___ Do not post admin

Re: Portal suggestions?

2008-05-05 Thread Gennady Kushnir
Take a look at Google Apps In corporate version you can integrate them with your local infrastructure using GoogleAPI and SSO services Gennady ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects

Re: Problem on WOLips

2008-05-04 Thread Gennady Kushnir
Did you force your application to generate UTF8 responses in constructor? ___ 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:

Re: How to get rid of ?wosid=

2008-05-04 Thread Gennady Kushnir
Yes, I do create session And I repeat once again : it is not expected behavior for WOHyperlink to append ?wosid to href-bound instances In 5.3 there were no wosids Gennady 2008/5/4 John Huss <[EMAIL PROTECTED]>: > You must be creating a session accidentally somewhere. There is a method in > Appl

How to get rid of ?wosid=

2008-05-03 Thread Gennady Kushnir
Hello list I have problems moving from WO 5.3.1 to WO 5.4.1 I have something like a collection of bookmarks in my application. So I'm accessing them via WOHyperlinks with "href" bindings. Whereas it did work fine in 5.3 in 5.4 is begun to append ?wosid to all the URLs. Again: WOHyperlinks are init

NSMutableArray conflict

2008-03-12 Thread Gennady Kushnir
Hello list. I've bumped into problems compiling (in Eclipse) project (primarily made on xcode) using ERExtensions Wonder library. As I could understand the problem there is a replacement class for com.webobjects.foundation.NSMutableArray in ERExtensions library made to conform Collections interfac

com.apple.cocoa.foundation ???

2008-03-12 Thread Gennady Kushnir
Hello list, I'm making my first steps in eclipse dev environment when first trying to run on eclipse my project made on xcode I bumped into a problem i can't figure out. after cleaning out all compiler problems i finally succeeded to build it, however failed to run. just after launch it throws me

Compiling WO project in Xcode 3

2008-03-06 Thread Gennady Kushnir
Hello list. Moving my WO 5.3 projects to WO 5.4 some issues raised (I suppose everybody knows about them). So i decided to move my projects to Leopard machine with Xcode 3 and WO installed and debug all these issues so that I could run my app on Leopard server. As I know Xcode does not allow to cr

Re: Direct Actions in 5.4

2007-12-16 Thread Gennady Kushnir
your DirectAction class should be in anonymous package. otherwise url will be like wa/my.package.DirectAction/welcome anyway if you are experimenting just try adding to your Main page a hyperlink to that welcome action (using WOHyperlink dynamic element) and see what url it renders into and how th

Re: Generating HTML without WORequest

2007-12-16 Thread Gennady Kushnir
thank you for that. it seems to fit. another question is concerned generating multiple responses. because i need to sent multiple unique emails (maybe several hundreds) at one transaction. the problem is that when WOComponent generates response WOContext gets initialized with this response. do i ne

Re: Generating HTML without WORequest

2007-12-14 Thread Gennady Kushnir
2007 7:09 PM, Kieran Kelleher < [EMAIL PROTECTED]> wrote: > > > Solution: > > > > Project Wonder -> ERJavaMail framework will get you where you want to > > go. That is what all the cool kids use. > > > > On Dec 14, 2007, at 12:59 PM, Gennady Kushnir wrote:

Fwd: Generating HTML without WORequest

2007-12-14 Thread Gennady Kushnir
not initialised with WORequest - because there is no request when in scheduled action. The question is : How can I generate HTML from WOComponent without WOContext or how to get WOContext not in R-R loop. Gennady Kushnir ___ Do not post admin requests to

Re: Which way is more efficient to get particular EOEnterpriseObject

2007-08-15 Thread Gennady Kushnir
> With a hundred objects, that is quite okay. If you have to do it > multiple times, it might be an idea to convert it into a dictionary > and base the keys on the attributes you're looking for - if that is > doable. You haven't given enough information here. In fact, building a dictionary - it is

Which way is more efficient to get particular EOEnterpriseObject

2007-08-15 Thread Gennady Kushnir
Hello, List It is not an unresolvable problem. However I just want to perform tasks in the most efficient way. I have a to-many relationship, which points to rather large (about 100) heap of objects. I need to get one of these objects - which one depends on some other attributes of one (or get nu

Re: help with mysql

2006-08-21 Thread Gennady Kushnir
You should insert into the beginning of your dump file the statement pointing its encoding:SET NAMES utf8; Regards,Gennady Kushnir On 19.08.2006, at 16:05, Gino Pacitti wrote:Hi allI have a database with 5 different languages used for products in different tables.I did a mysql dump and loaded that

Re: EOUtilities.primaryKeyForObject

2006-07-13 Thread Gennady Kushnir
anges() before you can access the primary key of you object. Regards, Gennady Kushnir On 13.07.2006, at 13:46, David Griffith wrote: Hi all, In an application that has been working great for a long time, suddenly I am getting this error: [2006-07-13 11:19:22 CEST] java.lang.NullPointerExce

  1   2   >