SSL on Windows in dev-mode

2012-01-31 Thread Ron X
Hi every one. I need help to fix my settings to start WO with SSL. my settings: er.extensions.ERXApplication.ssl.enabled=true er.extensions.ERXApplication.ssl.host=localhost er.extensions.ERXApplication.ssl.port=0 but every time i have a WARN that port is used, but i have no app started before.

Limit Qualifier for FetchSpecification

2012-02-07 Thread Ron X
Hi to all! Is that possible to pass qualifier with limit into fetch specification? I need to limitate the querry to the database. So i don't need to build the whole fetch. I need paging and i want to not fetching the whole array of data, but i need the part of data for concrete page (get from

Re: Limit Qualifier for FetchSpecification

2012-02-08 Thread Ron X
I do that: ListPage page = .; page.displayGroup().setCurrentBatchIndex(2); - but index actually was not setted and only 1 batch page was displayed... ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Passing object to the Page

2012-02-10 Thread Ron X
Hello everyone! Maybe anybody helps me: i need to generate Excel page. So i could do it. But i wanna pass the object to export from action to the ExcelGeneratedPage. (like ModelAndView in Spring Framework) action method does the fetch of object from editingContext and should pass it to the excel

ERRest

2012-02-16 Thread Ron X
Hi everyone. I have a problem: in NavPanel: wo:ERXRouteLink entityName = Email id = 1 action = show format = html in EmailController extends ERXDefaultRouteController: @Override protected boolean isAutomaticHtmlRoutingEnabled() { return true; } but this comment: /**

Re: ERRest

2012-02-16 Thread Ron X
)); } ERXRouteRequestHandler.register(requestHandler); setAllowsConcurrentRequestHandling(true); } 2012/2/16 Pascal Robert prob...@macti.ca Le 2012-02-16 à 07:29, Ron X a écrit : Hi everyone. I have a problem: in NavPanel: wo:ERXRouteLink entityName = Email id

Re: ERRest

2012-02-16 Thread Ron X
at all! 2012/2/16 Pascal Robert prob...@macti.ca Le 2012-02-16 à 07:52, Ron X a écrit : email/Email - doesn't work app-constructor code: public Application() { setDefaultRequestHandler(requestHandlerForKey(directActionRequestHandlerKey())); ERXRouteRequestHandler

WOHyperlink

2012-02-17 Thread Ron X
Hi everyone. I have small trouble with WOHyperlink component: it sorts all parameters in url-string. (in both variants - when i pass tthrough ?key in .wod and through NSDictionary) This situation makes mash from Google Analytics :-) How can i solve it? Thank you.

SQL - log

2012-02-29 Thread Ron X
Hi everyone! How can I enable in properties logging of the sql-queries (SELECT t0 ... - example)? Thank you. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)

Re: SQL - log

2012-03-05 Thread Ron X
delegate to emit SQL debugging info. The Logger used is ## log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging # er.extensions.ERXAdaptorChannelDelegate.enabled=false On 2012-02-29, at 4:16 AM, Ron X wrote: Hi everyone! How can I enable in properties logging of the sql-queries

ERRest - IERXRestAuthenticationDelegate

2012-03-05 Thread Ron X
Hi. IERXRestAuthenticationDelegate is considered deprecated. What class i should use? Thank you. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update

ERRest - @PathParam

2012-03-05 Thread Ron X
Hello. i have this code in myChartController: public WOActionResults showAction(@PathParam(chart) Chart chart) throws Throwable { return response(chart, filter()); } when write the url .../Chart/1 - gets the fetch and shows xml-format of current entity object to me (accordingly

ERRest - RestDelegate

2012-03-05 Thread Ron X
hi, i have this code: @Override public Note objectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context){ Note - is the entity. When i go there - in this method - i have the right id and entity...But how can i get the object (Note) from it? Just simple get the

Re: ERRest - RestDelegate

2012-03-05 Thread Ron X
, Pascal Robert prob...@macti.ca wrote: Le 2012-03-05 à 11:33, Ron X a écrit : hi, i have this code: @Override public Note objectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context){ Note - is the entity. When i go there - in this method - i

Re: I need help, and I have paypal cash available.

2012-03-08 Thread Ron X
Give a screenshot of your problem with Jenkins. 2012/3/6 James Cicenia ja...@jimijon.com I am tired, confused, and i need to figure out how to get my code working properly on the test server. I am sure one of you deployment/Jenkins gurus could probably figure this out in 15 mins. I have

Re: SQL RTRIM

2012-03-13 Thread Ron X
What is the Value Type in the EOModel? Data type: String (RTRIM) External type: VARCHAR Class: java.lang.String as i understood - i need just change String (RTRIM) to String and i shall not see all these RTRIMs in SQL-log, right? 2012/3/12 Pascal Robert prob...@macti.ca Le 2012-03-12 à

Re: SQL RTRIM

2012-03-13 Thread Ron X
, that is correct. If that does not work, then there is a bug. Let us know how it works out. Chuck On 2012-03-12, at 11:11 PM, Ron X wrote: What is the Value Type in the EOModel? Data type: String (RTRIM) External type: VARCHAR Class: java.lang.String as i understood - i need

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-03-13 Thread Ron X
sorry, maybe i explain bad. so the workflow is so - that is how it works NOW. but i want to fetching objects at every click of the page and do not changing the url (or have control of changing). 2012/3/13 Pascal Robert prob...@macti.ca EODatabaseDataSource dataSource = new

Re: [ANN] WOInject 1.0

2012-03-15 Thread Ron X
current version 1.1 ^_^ 2012/3/15 Johann Werner j...@oyosys.de Am 15.03.2012 um 07:12 schrieb ISHIMOTO Ken: Would be nice to see that at WOWODC in Action. +1 Ken On 2012/03/14, at 22:34, Henrique Prange wrote: Hi all, Just one correction: WOInject requires Guice and

Ajax Framework vs. Ajax Maven

2012-03-16 Thread Ron X
hi everybody. when i use maven dependency - Ajax Framework - do not work corrctly - for example in wo:AjaxUpdateContainer. when i use git-repository pulled framework - everything is good. how can i fix it to use Maven? ___ Do not post admin requests to

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-03-16 Thread Ron X
but how can i connect this component with datasource? 2012/3/13 Pascal Robert prob...@macti.ca Use ERXDirectActionBatchNavigationBar wo:ERXDirectActionBatchNavigationBar actionName = organizations containerCssClass = paginator batchSize = $dgOrganizations.batchCount

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-03-19 Thread Ron X
hi! so we have url: .woa/wa/entities?batch=5 can i change batch to another word? 16 марта 2012 г. 15:16 пользователь Pascal Robert prob...@macti.caнаписал: Le 2012-03-16 à 08:08, Ron X a écrit : but how can i connect this component with datasource? dgOrganizations

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-03-19 Thread Ron X
г. 15:16 пользователь Pascal Robert prob...@macti.ca написал: Le 2012-03-16 à 08:08, Ron X a écrit : but how can i connect this component with datasource? dgOrganizations is a ERXBatchingDisplayGroup, so you just need to setup that display group. public Organizations(WOContext

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-03-19 Thread Ron X
hi again. i noticed strange thing: when i used /ra/ (REST) and used AjaxUpdateComponent and used /wa/ with ERXDirectActionBatchNavigationBar when i go to the rest-links - Session Expires - everytime. how can i fix that? 19 марта 2012 г. 16:08 пользователь Ron X ron.x.by...@gmail.com написал

ERXFetchSpecificationBatchIterator

2012-03-21 Thread Ron X
hi everybody! i have real trouble with ERXFetchSpecificationBatchIterator EOQualifier qualifier = ERXQ.and(clazz.availabilityQuialifier, qualifierForLetter(letter)); EOFetchSpecification fs = new EOFetchSpecification(Artist.ENTITY_NAME, qualifier, Artist.NAME.ascs());

Re: ERXFetchSpecificationBatchIterator

2012-03-21 Thread Ron X
fetching the pks or that getting the real objects? Is your DB in a good state, do you have an index on your pk column? jw Am 21.03.2012 um 08:29 schrieb Ron X: hi everybody! i have real trouble with ERXFetchSpecificationBatchIterator EOQualifier qualifier = ERXQ.and

Re: ERXFetchSpecificationBatchIterator

2012-03-21 Thread Ron X
fetchSpec.setFetchLimit(int) but then it will probably not work with ERXFetchSpecificationBatchIterator. You should look at the logs and step through ERXFetchSpecificationBatchIterator with the debugger to get the part that is causing you trouble. Am 21.03.2012 um 09:48 schrieb Ron X: Table is big, has

Re: ERXFetchSpecificationBatchIterator

2012-03-21 Thread Ron X
~50k 21 марта 2012 г. 14:41 пользователь Kieran Kelleher kelleh...@gmail.comнаписал: How many rows entirely? On Mar 21, 2012, at 6:39 AM, Ron X wrote: Is it the first fetch for the primary keys that is failing? ERROR (ERXEOAccessUtilities.java:1213) - Artist@45400 expression took

Re: [ANN] WOInject 1.0

2012-03-23 Thread Ron X
hi public class Application extends InjectableApplication {... fails in main. eclipse says: the hierarchy of application is not consistent. 15 марта 2012 г. 17:44 пользователь Ron X ron.x.by...@gmail.com написал: current version 1.1 ^_^ 2012/3/15 Johann Werner j...@oyosys.de Am

Re: [ANN] WOInject 1.0

2012-03-23 Thread Ron X
: er/extensions/appserver/ERXApplication 23 марта 2012 г. 9:56 пользователь Ron X ron.x.by...@gmail.com написал: hi public class Application extends InjectableApplication {... fails in main. eclipse says: the hierarchy of application is not consistent. 15 марта 2012 г. 17:44 пользователь

Re: [ANN] WOInject 1.0

2012-03-26 Thread Ron X
Sorry, i have problems with maven. I had fixed it. Thanx. 23 марта 2012 г. 18:30 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, Do you have the ERExtension framework in the classpath of you project? Cheers, Henrique On 23/03/2012, at 04:16, Ron X wrote: and i have

Re: EODataSource

2012-03-28 Thread Ron X
listPage = (ERD2WListPage) ERD2WUtilities.enclosingPageOfClass(this, ERD2WListPage.class); Integer count = ERXEOControlUtilities.objectCountWithQualifier(listPage.editingContext(), listPage.entity().name(), null); fails with exception: com.webobjects.foundation.NSForwardException

Re: EODataSource

2012-03-28 Thread Ron X
ERROR (ERXApplication.java:1716) - Exception caught: registeredDatabaseContextForModel() Cannot register the database context for the model TestModel 28 марта 2012 г. 11:16 пользователь Ron X ron.x.by...@gmail.com написал: listPage = (ERD2WListPage) ERD2WUtilities.enclosingPageOfClass

Action and Fetch

2012-03-29 Thread Ron X
hello community! how can i get the name of action last invoked in the component-class and how can i invoke it in component again? i have strange situation: in DIrectAction i hava testAtion() method. than i go to the component - and i want invoke the same action with new parameters: 1.

Re: Newbie question about on WOInject (so for Henrique)

2012-04-04 Thread Ron X
i have created simple app: package com.ronx; import com.google.inject.Module; import com.woinject.InjectableApplication; import com.woinject.WOInject; public class Application extends InjectableApplication { public static void main(String[] argv) {

Re: Newbie question about on WOInject (so for Henrique)

2012-04-05 Thread Ron X
пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 04/04/2012, at 12:24, Ron X wrote: ... at com.ronx.Application.main(Application.java:10) Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read. Did you run as a Java Application

Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-04-09 Thread Ron X
-links - Session Expires - everytime. how can i fix that? 19 марта 2012 г. 16:08 пользователь Ron X ron.x.by...@gmail.com написал: hi! so we have url: .woa/wa/entities?batch=5 can i change batch to another word? 16 марта 2012 г. 15:16 пользователь Pascal Robert prob...@macti.ca

SQL

2012-04-11 Thread Ron X
hi everybody! can i execute SQL-code inside the application without using special methods of framework? if i can - please show me how. thanx. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: SQL

2012-04-11 Thread Ron X
of framework Do you mean *without* using Wonder? In general, using EOF, we try to avoid writing raw SQL and let the framework do it's job. What are you trying to achieve? -- David LeBer Codeferous Software On 2012-04-11, at 9:55 AM, Ron X wrote: hi everybody! can i execute SQL-code

Re: SQL

2012-04-12 Thread Ron X
but how can i do COUNT() and SUM() in ONE query? aggregateFunctionWithQualifier - name of the function - just one (count/sum), but i need two (count sum) 11 апреля 2012 г. 19:17 пользователь Ramsey Gurley rgur...@smarthealth.comнаписал: ERXEOControlUtilities.aggregateFunctionWithQualifier

Re: [ANN] WOInject 1.0

2012-04-12 Thread Ron X
please tell me - how you start app with woinject? i can't do that! everytime i have Exception in thread main java.lang.NoClassDefFoundError: com/ronx/Application Caused by: java.lang.ClassNotFoundException: com.ronx.Application at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at

Re: [ANN] WOInject 1.0

2012-04-13 Thread Ron X
com.ronx.module.Socialable 1 error at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004) why it happens? 13 апреля 2012 г. 0:05 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 12/04/2012, at 08:04, Ron X wrote: please tell me - how you start app with woinject

Re: SQL

2012-04-13 Thread Ron X
: EOUtilities.rawRowsForSQL 2012/4/12 Ron X ron.x.by...@gmail.com but how can i do COUNT() and SUM() in ONE query? aggregateFunctionWithQualifier - name of the function - just one (count/sum), but i need two (count sum) 11 апреля 2012 г. 19:17 пользователь Ramsey Gurley rgur

Re: SQL

2012-04-13 Thread Ron X
: On Apr 13, 2012, at 9:19 AM, Ron X wrote: @Override public WOActionResults defaultAction() { NSArrayChart result = EOUtilities.rawRowsForSQL(session().defaultEditingContext(), Chart.ENTITY_NAME, SELECT count(*), sum(size)); return pageWithName(Main.class

Foreign Keys

2012-04-13 Thread Ron X
hi community does EOF use foreign keys? we use in Migration java class: ERXMigrationTable oldCodeTable = database.newTableNamed(Code); oldCodeTable.addForeignKey(repTypeId, rep_type, _rowid); oldCodeTable.addForeignKey(actionId, action, _rowid); but no foreign keys

Re: [ANN] WOInject 1.0

2012-04-13 Thread Ron X
problem is not in logger. i commented logger - but exception and fail occured 13 апреля 2012 г. 14:40 пользователь Lachlan Deck lachlan.d...@gmail.comнаписал: I wonder if the static loggers are initializing things too early? On 13/04/2012, at 5:55 PM, Ron X wrote: public class Application

Re: Foreign Keys

2012-04-13 Thread Ron X
sorry, we check - we used MyISAM - and it has not transactions and foreign keys 13 апреля 2012 г. 15:09 пользователь Pascal Robert prob...@macti.caнаписал: Le 2012-04-13 à 07:50, Ron X a écrit : hi community does EOF use foreign keys? we use in Migration java class

Re: SQL

2012-04-17 Thread Ron X
Error! The method rawRowsForSQL(EOEditingContext, String, String, NSArray) in the type EOUtilities is not applicable for the arguments (EOEditingContext, String, String, String[]) 13 апреля 2012 г. 21:47 пользователь Larry Mills-Gahl l...@webfarm.comнаписал: On Apr 13, 2012, at 7:07 AM, Ron X

Re: SQL

2012-04-17 Thread Ron X
г. 10:20 пользователь Ron X ron.x.by...@gmail.com написал: Error! The method rawRowsForSQL(EOEditingContext, String, String, NSArray) in the type EOUtilities is not applicable for the arguments (EOEditingContext, String, String, String[]) 13 апреля 2012 г. 21:47 пользователь Larry Mills-Gahl

Re: SQL

2012-04-17 Thread Ron X
compilation error: The constructor NSArrayString(String, String) is undefined 17 апреля 2012 г. 11:53 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 09:22 schrieb Ron X: NSArrayString keys = new NSArrayString(new String[]{chart_count, chart_size_sum}); don't

Re: SQL

2012-04-17 Thread Ron X
i use maven 17 апреля 2012 г. 17:17 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 15:52 schrieb Ron X: compilation error: The constructor NSArrayString(String, String) is undefined Then something with your class path is wrong, the Wonder version of NSArray has

WOUnit

2012-04-18 Thread Ron X
hi everybody @Spy - not find in classpath dependency groupIdcom.wounit/groupId artifactIdwounit/artifactId version1.3-SNAPSHOT/version /dependency why? ___ Do not post admin requests to the list.

Re: WOUnit

2012-04-18 Thread Ron X
What is the meaning of using @UnderTest? it can be omitted and using mock(entity). when i do confirm(song, canBeSaved()); - it falls with exception but when i do: mock(Song.class); and than do confirm(song, canBeSaved()); everything works fine 18 апреля 2012 г. 11:53 пользователь Ron X ron.x.by

Re: WOUnit

2012-04-19 Thread Ron X
why didn't you include this dependency in WOUnit? and why should i use 1.2 version instead 1.3-SNAPSHOT? 18 апреля 2012 г. 19:29 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 18/04/2012, at 13:06, Henrique Prange wrote: Hi Ron, On 18/04/2012, at 08:06, Ron X wrote

Maven

2012-04-19 Thread Ron X
hi does anybody know how set up maven for wonder in right way? mvn clean install i have this error: [INFO] Creating output folders [INFO] Defining WO resources [INFO] Defining WO properties [INFO] Defining WO classpath [INFO] Coping WebServerResources [INFO]

Re: Maven

2012-04-19 Thread Ron X
пользователь Ron X ron.x.by...@gmail.com написал: hi does anybody know how set up maven for wonder in right way? mvn clean install i have this error: [INFO] Creating output folders [INFO] Defining WO resources [INFO] Defining WO properties [INFO] Defining WO classpath [INFO] Coping

Re: Maven

2012-04-24 Thread Ron X
[ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:woapplication (default-cli) on project XMobile: Failed to execute: Executing Ant script: wolifecycle.build.xml [build-woapplication]: Failed to execute. The dependencies.lib property is not set - [Help

Re: SQL

2012-04-24 Thread Ron X
апреля 2012 г. 18:43 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, The m2e plug-in usually respects the order of your dependencies. Always add ERExtensions as your first dependency to avoid problems. Cheers, Henrique On 17/04/2012, at 12:30, Ron X wrote: i use maven

Re: SQL

2012-04-25 Thread Ron X
dependencies. Always add ERExtensions as your first dependency to avoid problems. Cheers, Henrique On 17/04/2012, at 12:30, Ron X wrote: i use maven 17 апреля 2012 г. 17:17 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 15:52 schrieb Ron X

Re: SQL

2012-04-25 Thread Ron X
i think it's an error in wonder-mysql-plugin 25 апреля 2012 г. 9:22 пользователь Ron X ron.x.by...@gmail.com написал: i think i use MySQL-plugin checkouted from WONDER-repo. 25 апреля 2012 г. 1:33 пользователь Pascal Robert prob...@macti.caнаписал: You have to use the MySQL plugin from

Re: Maven

2012-04-26 Thread Ron X
-e -X maven.log Cheers, Henrique On 25/04/2012, at 03:28, Ron X wrote: Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) 23 апреля 2012 г. 19:24 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 21/04/2012, at 06:02, Ron X wrote: [ERROR] Failed to execute

Components Trouble

2012-04-26 Thread Ron X
hi i have some problem with components: @Override public WOActionResults defaultAction() { WOComponent page = pageWithName(Main.class); return page; } DEBUG 42.53 MB used/38.53 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) -

Re: Maven

2012-04-26 Thread Ron X
it. but maven considers it as broken 26 апреля 2012 г. 14:12 пользователь Lachlan Deck lachlan.d...@gmail.comнаписал: On 26/04/2012, at 5:28 PM, Ron X wrote: [INFO] [INFO] BUILD FAILURE [INFO

Re: Components Trouble

2012-04-26 Thread Ron X
* resources.include.patternset* under *woproject* folder. It should be something like this. Looks like the app can't locate the .wo folder. Farrukh On 2012-04-26, at 11:56 AM, Ron X wrote: hi i have some problem with components: @Override public WOActionResults defaultAction

MySQL: InnoDB vs MyISAM or InnoDB + MyISAM

2012-05-02 Thread Ron X
Did anybody do chain like this - InnoDB (some tables) + MyISAM (other tables)? And what problems I will get when will use this sheme? Thanx. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: MySQL: InnoDB vs MyISAM or InnoDB + MyISAM

2012-05-03 Thread Ron X
MySQL Regards Kieran ___ Sent from my iPad. On May 2, 2012, at 10:46 AM, Ron X ron.x.by...@gmail.com wrote: Did anybody do chain like this - InnoDB (some tables) + MyISAM (other tables)? And what problems I will get when will use this sheme? Thanx

Main or other...

2012-05-03 Thread Ron X
hi for all i wanna to start application using another component - not Main! so i do: @Override public WOActionResults defaultAction() { return pageWithName(Start.class); } but i have again: Error: com.webobjects.appserver.WOPageNotFoundException:

Re: Main or other...

2012-05-03 Thread Ron X
yes, now i do that: public LSXApplication() { setDefaultRequestHandler(new ERXDirectActionRequestHandler()); } but nothing changed :-( 2012/5/3 Paul Hoadley pa...@logicsquad.net Hi Ron, On 03/05/2012, at 5:12 PM, Ron X wrote: hi for all i wanna to start application

Re: Main or other...

2012-05-03 Thread Ron X
and it is very strange - because i have Main component. but i have exception, that i haven't it! 2012/5/3 Ron X ron.x.by...@gmail.com yes, now i do that: public LSXApplication() { setDefaultRequestHandler(new ERXDirectActionRequestHandler()); } but nothing changed

Re: Selenium

2012-05-03 Thread Ron X
yes, thanks. it helps :-) 2012/5/3 Paul Hoadley pa...@logicsquad.net Hi Ron, On 03/05/2012, at 6:43 PM, Ron X wrote: but no tests i've seen: and so i have seen in all my applications - i have selenium test, but they aren't displayed in browser. what is the error? I've seen

Re: Main or other...

2012-05-04 Thread Ron X
but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session? they are existing in the package! if i fix it with Patcher... then i have the same error with all components, PageWrapper for example: Error:

Re: Main or other...

2012-05-04 Thread Ron X
:09 PM, Ron X wrote: but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session? Historically WO had no concept of java packages. Possibly classpath ordering. You could try it yourself with NS utilities looking up class for name. Lachlan Deck lachlan.d

Re: Main or other...

2012-05-04 Thread Ron X
found for component Main at file:/Users/user/Documents/workspace/LSX/. 2012/5/4 Ron X ron.x.by...@gmail.com but what should i do now? every time when i try to convert project into Maven - 8 of 10 cases i get error of Session class or Main class or just nothing on page (defaultAction executes

Re: Main or other...

2012-05-04 Thread Ron X
JarResourceRequestHandler - what is it? i can not import it 2012/5/4 Lachlan Deck lachlan.d...@gmail.com On 04/05/2012, at 4:38 PM, Ron X wrote: but what should i do now? every time when i try to convert project into Maven - 8 of 10 cases i get error of Session class or Main class or just

JDBC

2012-05-04 Thread Ron X
how can i use JavaERJDBCAdaptor instead of JavaJDBCAdaptor? if i add a dependency of JavaERJDBCAdaptor i've got: WARN 27.64 MB used/53.43 MB free [main] (ERXNSLogLog4jBridge.java:43) - Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle ERCoolComponents WARN 27.87 MB

Percona mysql

2012-05-10 Thread Ron X
hi, on official site of MySQL - jdbc-driver has version 5.1.20. but Percona use MySQL version 5.5.x what driver can i use working with Percona? (there is no 5.5 driver on official site and maven repo) thank you. ___ Do not post admin requests to the

Re: ListPage MySQL OutOfMemory

2012-05-10 Thread Ron X
to prevent all the EOs being pulled into memory. Big to-many relationships tend to cause issues when you addObjectToBothSides anyway. Ramsey On May 4, 2012, at 6:58 AM, Ron X wrote: i have small database - about 50 Mb... code: ListPageInterface listPage = D2W.factory

Re: ListPage MySQL OutOfMemory

2012-05-10 Thread Ron X
ESs-Mac:~ user$ top 5340 java 94.2 01:40.99 42/1 1370 393 487M+ 9124K 525M+ RuntimeException: Statement running too long at er.extensions.eof.ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1213) at

Re: ListPage MySQL OutOfMemory

2012-05-10 Thread Ron X
: 2012/5/10 Johann Werner j...@oyosys.de Your fetch is taking too long. What is the SQL that is sent to your db? How big is the resultset you are expecting? Perhaps your indexes are broken (you have indexes, don't you)? jw Am 10.05.2012 um 10:37 schrieb Ron X: ESs-Mac:~ user$ top 5340 java

Re: ListPage MySQL OutOfMemory

2012-05-10 Thread Ron X
) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) ... skipped 6 stack elements _ignoredPackages:: ( ) 2012/5/10 Ron X ron.x.by...@gmail.com i use Navicat to see the DB so select * from Song was 0.8 sec. but in code the same query: ERROR 150.87 MB used/359.07 MB free [WorkerThread2

JavaMonitor or wotaskd

2012-05-15 Thread Ron X
hi for all, how can i control my application by remote commands? for example i have Jenkins with BuildJob, TestJod, DeployJob for several projects which depends of each other. After Build i want to stop current applications, and than start tests. But now the situation is after build i need to go

JavaMonitor

2012-05-18 Thread Ron X
hi, did anybody build JavaMonitor as .war application? if so - explain please how :-) thanks ___ 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

WONDER on Windows

2012-05-22 Thread Ron X
hi i have some difficuilts with start of app: ERROR (DMEOAccessUtilities.java:332) - prepareExtraEntityForEntityNamed: exception=java.net.URISyntaxException: Illegal character in path at index 162:

Re: WONDER on Windows

2012-05-22 Thread Ron X
method: public synchronized static EOEntity prepareExtraEntityForEntityNamed(EOEditingContext ec, String entityName) { String newEntityName = EXTRA_ENTITY_NAME_PREFIX+entityName; EOEntity result = ERXEOAccessUtilities.entityNamed(ec, newEntityName); if (result==null) {

Re: WONDER on Windows

2012-05-22 Thread Ron X
and than we get :-) : ls.eomodeld/\Album.plist but NSPathUtilities.stringByAppendingPathComponent is Apple NS method - i can not go into it 2012/5/22 Mike Schrag msch...@pobox.com / ___ Do not post admin requests to the list. They will be ignored.

Re: WONDER on Windows

2012-05-22 Thread Ron X
to build a URL. you can also use ERXMutableURL. ms On May 22, 2012, at 9:53 AM, Ron X wrote: and than we get :-) : ls.eomodeld/\Album.plist but NSPathUtilities.stringByAppendingPathComponent is Apple NS method - i can not go into it 2012/5/22 Mike Schrag msch...@pobox.com

Session awake after shell-script run

2012-05-22 Thread Ron X
hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second

Re: ERXJDBCAdaptor

2012-05-23 Thread Ron X
but do i need exclude JavaJDBCAdaptor from the dependencies? 2012/5/23 John Huss johnth...@gmail.com er.extensions.ERXJDBCAdaptor.className = er.extensions.jdbc.ERXJDBCAdaptor ___ Do not post admin requests to the list. They will be ignored.

Re: Session awake after shell-script run

2012-05-24 Thread Ron X
if i use ERXFileUtilities.copyFileToFile(newSongFile, new File(fullSongPath), false, true); than Session.awake invoke too. what cause Session to invoke aeake-method? 2012/5/22 Ron X ron.x.by...@gmail.com hi for all i found strange behaviour: after execution such line Runtime.getRuntime

Re: Session awake after shell-script run

2012-05-24 Thread Ron X
and what for this code? i asked - why the cause of session awake? 2012/5/24 Lachlan Deck lachlan.d...@gmail.com public Session() { super(); LOG.warn(Invoked from, new Exception()); } On 24/05/2012, at 4:34 PM, Ron X wrote: if i use ERXFileUtilities.copyFileToFile

Re: Session awake after shell-script run

2012-05-24 Thread Ron X
no, it is not may be: @Override public void awake() { super.awake(); LOG.warn(Invoked from, new Exception()); } ? 2012/5/24 Mike Schrag msch...@pobox.com That will show why. Sent from my iPhone On May 24, 2012, at 7:57 AM, Ron X ron.x.by...@gmail.com wrote: and what

Re: Session awake after shell-script run

2012-05-24 Thread Ron X
at com.extensions.LSApplication.dispatchRequest(LSApplication.java:115) ... skipped 3 stack elements 2012/5/24 Mike Schrag msch...@pobox.com oh .. yes, if it's an existing session. if it's a new session, the original will show you where it's created. ms On May 24, 2012, at 9:31 AM, Ron X wrote

wcap

2012-05-25 Thread Ron X
hi, in Jenkins i have log: ** [ERSelenium] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Misc/ERSelenium -rHEAD ** [ERSelenium] Path: ERSelenium ** [ERSelenium] URL:

Re: wcap

2012-05-25 Thread Ron X
these are legacy settings. i have no time now to move to git hub. we use 5_0_0 svn branch. moving on 5.6 from github - it will be in next iteration. so what about wondercap? 2012/5/25 Pascal Robert prob...@macti.ca Why are you building from the Wonder SVN repository instead of GitHub? hi,

Maven Plugin

2012-05-29 Thread Ron X
hi for all, Maven 3 supports parallel building - -T number_of_threads option. but wolifecycle-plugin is not threadSafe: [WARNING] * [WARNING] * Your build is requesting parallel execution, but project * [WARNING] * contains

jdbc error at start up

2012-05-31 Thread Ron X
hi, i use maven lo load dependencies and enable Java ERJDBCAdaptor, but at star up i've got: WARN 28.05 MB used/53.01 MB free [main] (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred: null [2012-5-31 6:26:9 PDT] main java.lang.ExceptionInInitializerError at

Re: jdbc error at start up

2012-06-01 Thread Ron X
just a static block: static { ... setting delegate...} 2012/6/1 Lachlan Deck lachlan.d...@gmail.com On 31/05/2012, at 11:31 PM, Ron X wrote: hi, i use maven lo load dependencies and enable Java ERJDBCAdaptor, but at star up i've got: WARN 28.05 MB used/53.01 MB free [main

plist

2012-06-01 Thread Ron X
hi everobody, could you help me - i need some set of classes of java to work with plists in MacOS or WebObjects - what classes should i use? Thanks ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: plist

2012-06-01 Thread Ron X
yes, thanks, i have founded before read email. thanks 2012/6/1 Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Hi, I don't know what exactly are you intending to do but if you're using WebObjects you can use NSPropertListSerialization class. Farrukh On 2012-06-01, at 3:39 PM, Ron X wrote

@count

2012-06-19 Thread Ron X
hi4all EOEditingContext editingContext = ERXEC.newEditingContext(); NSMutableArrayEOQualifier qualifiers; { qualifiers = new NSMutableArrayEOQualifier(); qualifiers.add(Artist.NAME_WITHOUT_THE_PREFIX.count().gt(1)); } EOQualifier

  1   2   >