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
Aaron Rosenzweig | 25 Apr 04:51 2014

Entity Modeler standalone

Hi WOrriors,

I’ve put a freshly built pure java stand-alone EntityModeler here for the moment:


But before you get excited, read on… 

Dave Avendasora cued me in to pure java app version of Entity Modeler that was created ages ago by some people in the WOCommunity. He had it stashed away like a treasured gem scavenged from a pharaoh’s tomb.

Dave passed it to me and I tried it out. It wouldn’t open the primary EOModel file in our biggest app. It got stuck on “Please Wait” and cpu was idle. I had to force quit. 

After installing a “delta pack”, etc. for Eclipse and looking at the WOLips source tree I see that there is a way to build it standalone. What it creates is a streamlined version of Eclipse with only the Entity Modeler bits and a custom UI. For all intents and purposes it’s a pure java app. A pure java standalone Entity Modeler.

So I did just that, right now, after a bit of futzing it is now a double-clickable app. It also opens that EOModel file that Dave’s old version could not. I started to get excited...

Unfortunately I don’t see it as being truly useful for the following reasons:

1) It won’t let you make a “Model Group” file.

2) It doesn’t appear to have any sense of your project tree which leads to the additional issues below

3) It won’t find your Prototypes. I believe the original Apple Cocoa app with the Objective-C-Java-bridge relied on the .pbxProj file to find the Prototypes. I have no idea if this java app looks for anything like a build.xml file but I can’t get it to find our prototypes. 

4) It won’t find other Entity Model files in your app, it can only open one at a time. 

Perhaps that’s why it’s obscure… I previously never even knew this app existed… it’s close but not quite usable. I was hoping it would be a “go to app” that would always work for modifying models, reverse engineering, and generating SQL tables but, alas, it’s not that today. 

If anyone wants to download and play with it please do. If you have other ideas or want to maybe push it further it might be doable but the Eclipse stuff seems like a quagmire I want to sidestep. If you think it is useful as is, please post it to WOCommunity for others to use. 
Aaron Rosenzweig / Chat 'n Bike
e:  aaron <at> chatnbike.com  t:  (301) 956-2319

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

Gmane