Larry Mills-Gahl | 5 Oct 17:50 2014
Picon

ERXMigraton and er.migration.skipModelNames

I am removing a model from the defaultModelGroup in the principal class of my model framework because I’m
using that model for multi-tennant data.

I’ve confirmed that modelNames and skipModelNames is getting passed to ...
	protected Map<IERXMigration, ERXModelVersion>
_buildDependenciesForModelsNamed(NSArray<String> modelNames, NSArray<String> skipModelNames) 

... as expected but it keeps trying to migrate the model in skipModelNames. 

Can I use migrations if I have the models separated like this or do I need to do this in a more manual fashion?
ERXMigrator is using EOModelGroup.defaultGroup() but it appears it’s getting the default group
before the principal class is initialized.

Does anybody have any insight about what is going wrong here (and why that model just can’t wait for it’s
own migration)?

Larry Mills-Gahl
elemgee <at> gmail.com

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Wonder-disc mailing list
(Continue reading)

Catalin Simioana | 12 Jun 22:56 2014
Picon

is anybody using D2W assistant

Hi, 
Is anybody using D2W assistant? If yes, on which platform? Is there any documentation about how to make it work?
Thank you, 
Catalin

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
Ramsey Gurley | 9 Jun 23:50 2014

Six bounces

I sent a message to webobjects-dev <at> lists.apple.com and got six bounces from various senders. Is this list
as bad? If not, I’ll use this one from now on.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
Catalin Simioana | 7 Jun 03:00 2014
Picon

problem launching D2W assistant on Windows

Hi, 

I am not able to start the D2W assitant in a D2W Web application.

Here is what I am getting in the console:

NullPointerException
  at com.webobjects._eoproject._WBInterfaceContext.initWithProject(_WBInterfaceContext.java:142)
  at com.webobjects._eoproject._WBInterfaceContext.<init>(_WBInterfaceContext.java:84)
  at com.webobjects.directtoweb.D2W.activateWebAssistantServer(D2W.java:356)
  at com.webobjects.directtoweb.D2WActions.openWebAssistantAction(D2WActions.java:26)
     ... skipped 4 stack elements
  at com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
  ... skipped 9 stack elements

and in the error page:

Re-enter
TaskManagement	Exception Description
Application:	 TaskManagement
Error:	 java.lang.NullPointerException
Reason:	
Stack trace:	
File	Line#	Method	Package
_WBInterfaceContext.java	142	initWithProject	com.webobjects._eoproject
_WBInterfaceContext.java	84	<init>	com.webobjects._eoproject
D2W.java	356	activateWebAssistantServer	com.webobjects.directtoweb
D2WActions.java	26	openWebAssistantAction	com.webobjects.directtoweb
NativeMethodAccessorImpl.java	NA	invoke0	sun.reflect
NativeMethodAccessorImpl.java	NA	invoke	sun.reflect
(Continue reading)

Giancarlo Dessena | 12 May 17:52 2014

AjaxTree usage

Hello everybody :)

I’m trying to figure out how to use the AjaxTree Component.
Can someone give me an example? I already looked at the one in the wonder repository but I still not quite get
how it is supposed to work.

Greetings Carlo
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
Anil Bajaj | 10 May 00:19 2014

_rewriteURL with query parameter

Hi,

I've setup a mod_rewrite rule to rewrite a simple URL to a WebObjects direct action, like

mydomain.com/<username>		to 	mydomain.com/cgi-bin/WebObjects/MyApp.woa/wa/profile?uid=<username>

This works fine except the browser displays the long URL, instead of the short URL, as expected.

Is there anyway, using either ERXApplication._rewriteURL or ERXApplication.replaceApplicationPath
properties, to display the short URL that includes the username param that was originally passed into the
direct action query and display something like mydomain.com/<username>.

All the documentation/examples I've seen are of the type where replaced URL is always static i.e the App name.

Thanks,

Anil Bajaj
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
René Bock | 5 May 14:22 2014
Picon

Isn't ERXActiveImage obsolete?

Hi,


we have an issue that for our application that WOActive image generates no alt tag.

The the culprit is ERXActiveImage, that generates a 'title' attribute instead of in 'alt' attribute.  


To solve this issue im our application,  I've overwritten in Application the method installPatches:

public void installPatches() { super.installPatches(); ERXPatcher.setClassForName(ActiveImage.class, "WOActiveImage"); }


If there are no objections, I would submit a bug report, suggesting to remove the class ERXActiveImage completely.






Mit freundlichem Gruß,

René Bock
Software Engineering

--
salient doremus salient GmbH Kontorhaus -  Lindleystraße 12 60314 Frankfurt Main

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Matt Ness | 2 May 09:51 2014
Picon

Re: Slow with direct action on mavericks 10.9.2

Hi again,

1) I would still recommend it - at least some multiple of your block size, and at the very least a power of 2 value.

2) terminal: > stat -f "%k" [some file]

eg.

> cd
> stat -f "%k" .bash_history

for me the result would mostly be :
4096

I believe that's the way to do it ;)

3) Just out of interest, is there a defined reason to use octet-string? Looks like you are presenting a
Tagged Image as a download. I've not seen octet-string used for tif(f)s before, I've always used octet-stream.

Regards,

Matt
--
http://logicsquad.net

On 02/05/2014, at 4:24 PM, Jürgen Rohrbach <juergen.rohrbach <at> xs-solutions.de> wrote:

> Hello Matt,
> 
> thanks for your response.
> 
> 1) changing the buffer size to smaller values does not solve the problem.
> 
> 2) it is a new mac pro with a ssd hd. where can i get/set the system block size?
> 
> 3) no, same speed.
> 
> 
>> Hi Jürgen,
>> 
>> What happens when you set your buffer size to a smaller value, 4096, 8192, or at least a power of 2 value?
>> 
>> What is the file system block size for the system you are serving from?
>> 
>> Is there a speed difference when you use "application/octet-stream"?
>> 
>> 
>> Regards,
>> 
>> Matt
>> --
>> http://logicsquad.net
>> 
>> 
>> 
>> On 29/04/2014, at 9:59 PM, Jürgen Rohrbach <juergen.rohrbach <at> xs-solutions.de> wrote:
>> 
>>> hello,
>>> 
>>> i have a empty erxapplication with only on direct action.
>>> the direct action streams a large file.
>>> the problem is that i only get about 120kB/s download speed.
>>> does anybody have a solutions for this problem?
>>> this problem does not exits perior to mavericks!
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 	public WOActionResults downloadAction() throws Exception {
>>> 		WOResponse aResponse = WOApplication.application
>>> ().createResponseInContext(null);
>>> 		
>>> 		// contentTyp
>>> 		String contentType = "application/octet-string";
>>> 		String filepath = "large.tif";
>>> 		
>>> 		aResponse.setHeader(contentType, "Content-type");
>>> 		File f = new File(filepath);
>>> 		int bufferSize = 10000000;
>>> 		aResponse.setContentStream(new FileInputStream(f), bufferSize,
>>> (long) f.length());
>>> 		String fileName = NSPathUtilities.lastPathComponent( filepath );
>>> 		aResponse.setHeader("inline; filename="+fileName, "Content-
>>> disposition");
>>> 		return aResponse;
>>> 	}
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
>>> unparalleled scalability from the best Selenium testing platform available.
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Wonder-disc mailing list
>>> Wonder-disc <at> lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>> 
> 

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
Sankar R | 2 May 08:42 2014
Picon

JDK 9 support for WebObjects

Hi All,

  https://blogs.oracle.com/java-platform-group/entry/closing_the_closed_apis

  I am using WebObject 4.3 and when I execute Jdeps i am seeing few WebObjects modules uses Java closed APIs. Is there any plan to release new version to support JDK 9?

 

Snapshot of the result :

ERExtensions.jar -> javawebobjects.jar
   er.extensions.components.ERXGracefulShutdown (ERExtensions.jar)
      -> sun.misc.Signal                                    JDK internal API (rt.jar)
      -> sun.misc.SignalHandler                             JDK internal API (rt.jar)
   er.extensions.eof.ERXEC (ERExtensions.jar)
      -> sun.misc.SignalHandler                             JDK internal API (rt.jar)
   er.extensions.eof.ERXEC$DumpLocksSignalHandler (ERExtensions.jar)
      -> sun.misc.Signal                                    JDK internal API (rt.jar)
      -> sun.misc.SignalHandler                             JDK internal API (rt.jar)
   er.extensions.eof.ERXObjectStoreCoordinator$DumpLocksSignalHandler (ERExtensions.jar)
      -> sun.misc.Signal                                    JDK internal API (rt.jar)
      -> sun.misc.SignalHandler                             JDK internal API (rt.jar)
   er.extensions.foundation.ERXSignalHandler (ERExtensions.jar)
      -> sun.misc.Signal                                    JDK internal API (rt.jar)
      -> sun.misc.SignalHandler                             JDK internal API (rt.jar)
   er.extensions.jdbc.ERXJDBCUtilities (ERExtensions.jar)
      -> com.sun.rowset.CachedRowSetImpl                    JDK internal API (rt.jar)
   er.extensions.jdbc.ERXJDBCUtilities$3 (ERExtensions.jar)
      -> com.sun.rowset.CachedRowSetImpl                    JDK internal API (rt.jar)

 

Thanks

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Jürgen Rohrbach | 29 Apr 13:59 2014
Picon

Slow with direct action on mavericks 10.9.2

hello,

i have a empty erxapplication with only on direct action.
the direct action streams a large file.
the problem is that i only get about 120kB/s download speed.
does anybody have a solutions for this problem?
this problem does not exits perior to mavericks!

	public WOActionResults downloadAction() throws Exception {
		WOResponse aResponse = WOApplication.application 
().createResponseInContext(null);
		
		// contentTyp
		String contentType = "application/octet-string";
		String filepath = "large.tif";
		
		aResponse.setHeader(contentType, "Content-type");
		File f = new File(filepath);
		int bufferSize = 10000000;
		aResponse.setContentStream(new FileInputStream(f), bufferSize,  
(long) f.length());
		String fileName = NSPathUtilities.lastPathComponent( filepath );
		aResponse.setHeader("inline; filename="+fileName, "Content- 
disposition");
		return aResponse;
	}

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
Ray Kiddy | 29 Apr 01:16 2014

wonder pull-request age report


If anyone knows how to get a report like this out of github without
scraping the site, please give a holler.

cheers - ray

How Many Months?

2013-10 => 5
2013-11 => 1
2013-12 => 1
2014-01 => 1
2014-02 => 2
2014-03 => 2
2014-04 => 7

lastDate: 2013-10-06
url: https://github.com/wocommunity/wonder/pull/491
desc: "ERMailUtils.emailsFromBulkList translates too many characters"

lastDate: 2013-10-10
url: https://github.com/wocommunity/wonder/pull/493
desc: "Enabling checkHashCodes on object repetitions in ERModern"

lastDate: 2013-10-11
url: https://github.com/wocommunity/wonder/pull/496
desc: "Prevent NSKeyValueCoding$UnknownKeyException when ERModern
attempts to ..."

lastDate: 2013-10-11
url: https://github.com/wocommunity/wonder/pull/498
desc: "Fix for wonder-89: Don&#39;t attempt to save the parent EC of a
new EO as no..."

lastDate: 2013-10-11
url: https://github.com/wocommunity/wonder/pull/500
desc: "Reset tabSectionContents key on d2w context to prevent stale tab
section..."

lastDate: 2013-11-06
url: https://github.com/wocommunity/wonder/pull/506
desc: "use long instead of int in AjaxFileUpload classes"

lastDate: 2014-01-28
url: https://github.com/wocommunity/wonder/pull/533
desc: "Get correct host info"

lastDate: 2014-02-20
url: https://github.com/wocommunity/wonder/pull/547
desc: "Fix incorrect use of URLDecoder"

lastDate: 2014-02-26
url: https://github.com/wocommunity/wonder/pull/548
desc: "Connection validation, auto reconnect"

lastDate: 2014-03-10
url: https://github.com/wocommunity/wonder/pull/550
desc: "CookieParser fails when json object is in the cookie."

lastDate: 2014-03-25
url: https://github.com/wocommunity/wonder/pull/518
desc: "Avoid deadlock when more than one OSC is active"

lastDate: 2014-04-20
url: https://github.com/wocommunity/wonder/pull/566
desc: "Restore of the switch to EOSchemaSynchronizationFactory.
Warning: "

lastDate: 2014-04-20
url: https://github.com/wocommunity/wonder/pull/567
desc: "ERXKey.Type and NSArray#valueForKey(ERXKey) additions"

lastDate: 2014-04-24
url: https://github.com/wocommunity/wonder/pull/569
desc: "Fix for false security exception"

lastDate: 2014-04-25
url: https://github.com/wocommunity/wonder/pull/570
desc: "WOStart rework"

lastDate: 2014-04-25
url: https://github.com/wocommunity/wonder/pull/571
desc: "JavaMonitorFramework dead time calculation"

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

Gmane