Re: JavaMonitor & wotask SSD Problem.

2012-03-01 Thread Simon J Oliver (sjoliver)
I was just diffing the application launch scripts for a default 
wotaskd/javamonitor that I had lying around (not exactly sure which version - 
probably from 5.3.x) and the Wonder versions - i.e., wotaskd.woa/wotaskd and 
JavaMonitor.woa/JavaMonitor (not the launchd code).

In both cases the stock versions include the following code right before the 
application is launched - and which is not present in the Wonder versions of 
the apps (or in my own built apps):

# Verify network services are intialized before starting
#
echo Checking network services
if [ "${PLATFORM_TYPE}" = "Darwin" ]
then
 /usr/sbin/ipconfig waitall
fi
#

It seems that Apple recognized this problem, and took steps to customize each 
of these 'likely to be launched boot time' applications' boot scripts to deal 
with it.

Is there a way to build the Wonder versions to include modified launch scripts 
by default? Alternatively, I think you could go with my earlier idea of a 
dedicated launchd task to wait for the interfaces at that point, and then bring 
up wotaskd, Monitor and Apache once the network is ready.

Simon




On Mar 1, 2012, at 1:21 PM, mailto:gsbr...@umich.edu>>
 mailto:gsbr...@umich.edu>> wrote:


I recall modifying the app.woa/app startup script at the end.

Basically, wotaskd should start first (it will start your app), then after it 
is running javamonitor should start. The tail end of my wotaskd.woa/wotaskd is 
like:

#
# Launch the application.
#
# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 100

#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...
echo Launching ${SCRIPT_NAME}.woa ...

echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS}
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS}


And for my  JavaMonitor.woa/JavaMonitor:

# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 240

#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...

#
# Launch the application.
#
echo Launching ${SCRIPT_NAME}.woa ...

echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS}
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS}


So I had javamonitor trying to restart wotaskd which was waiting for things to 
happen. This did not allow proper startup. With the wait and extra time for 
javamonitor reboots work properly.

I think the apple wo 5.4.3 startups had some waiting; this is the Wonder 
versions I had to modify.

A wait maybe should be added to the Wonder wotaskd and JavaMonitor startup 
scripts.

I could be wrong, of course.

Greg Brown
gsbr...@umich.edu



--
gsbr...@umich.edu
___
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:
https://lists.apple.com/mailman/options/webobjects-dev/sjoliver%40memphis.edu

This email sent to sjoli...@memphis.edu

--

Simon J. Oliver
MA (Cantab.)
CISSP-ISSAP, ISSMP, GWAPT, OSWP

Information, Architecture & Data Security Consultant
Applied Information Technology Center/SBBER
University of Memphis, TN

Phone: 901 313 4485
Skype: SJO0923
AIM/Yahoo: simonjoliver










 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Server side includes in components?

2012-03-01 Thread Ramsey Gurley
There's ERXExternalContent + ERXCachingWrapper

Ramsey

On Mar 1, 2012, at 4:20 PM, Klaus Berkling wrote:

> 
> Anyone ever used server side includes in their component pages?
> 
> 
> 
> kib
> 
> "We keep moving forward, opening new doors, and doing new things, because 
> we're curious and curiosity keeps leading us down new paths."
> Walt Disney
> 
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
> 
> This email sent to ramseygur...@gmail.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?

2012-03-01 Thread Tim Worman
Catalin:

It sounds as if you have Eclipse/WOLips installed but have not installed the 
Project Wonder frameworks. The "New Wonder Application" is going to require 
Wonder to be installed on your system whereas a generic WebObjects application 
does not. You definitely want to create a Wonder Application.

In case you missed some steps, here are the instructions for installing the 
entire tool stack for developing Wonder applications.

http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation

>From that page -

Overview of Steps:
- install Eclipse (if necessary)
- install WOLips Plugins for Eclipse
- install WebObjects frameworks and configure WOLips
- install Project Wonder and import into your workspace

Tim

On Mar 1, 2012, at 5:41 PM, Cretu Catalin  wrote:

> Hello Tim,
> 
> I followed all instructions, but when I tried to create first "Wonder 
> Application" project I got errors. But when I create a new "WebObjects 
> application" project there are no error. What resins can be?
> 
> Only when I create a new "Wonder Application" project I got these errors in 
> console:
> Description   ResourcePathLocationType
> The project cannot be built until build path errors are resolved
> 
>   
> OneTester Unknown Java Problem
> Unbound classpath container: 'ERExtensions WebObjects Framework' in project 
> 'OneTester'   OneTester   Build path  Build Path Problem
> Unbound classpath container: 'ERJars WebObjects Framework' in project 
> 'OneTester' OneTester   Build path  Build Path Problem
> Unbound classpath container: 'ERPrototypes WebObjects Framework' in project 
> 'OneTester'   OneTester   Build path  Build Path Problem
> Unbound classpath container: 'WOOgnl WebObjects Framework' in project 
> 'OneTester' OneTester   Build path  Build Path Problem
> 
> 
> Any thoughts?
> 
> Thank you in advance for your time and help.
> 
> Catalin
>  
> 
> From: Tim Worman 
> To: Cretu Catalin  
> Cc: Paul Yu ; jazz ; 
> "webobjects-dev@lists.apple.com"  
> Sent: Tuesday, February 28, 2012 2:15:26 PM
> Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
> 
> Cretu:
> 
> The instructions for installing the development tools are the same regardless 
> of whether it is 10.6 or 10.7.
> 
> http://wiki.wocommunity.org/display/WONDER/Getting+Started
> 
> Tutorials for WOLips are here:
> 
> http://wiki.wocommunity.org/display/WOL/Tutorials
> 
> Tim
> 
> On Feb 28, 2012, at 10:08 AM, Cretu Catalin  wrote:
> 
> > Hello Paul,
> > 
> > Is there a tutorial for updating for Mac 10.7?
> > 
> > Thank you
> > Catalin Cretu
> > 
> > From: Paul Yu 
> > To: jazz  
> > Cc: webobjects-dev@lists.apple.com 
> > Sent: Tuesday, February 28, 2012 12:12:04 PM
> > Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
> > 
> > Bart
> > 
> > You should upgrade to the latest WO and Wonder.  I know it may not be easy, 
> > but life will be much better afterwards.
> > 
> > The rest of us are already very nervous about being left behind by Apple at 
> > 5.4+, so you're not going to get a lot of love back there on 5.3...
> > 
> > -- 
> > Paul Yu
> > Sent with Sparrow
> > 
> > On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote:
> >> Hi,
> >> 
> >> I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large 
> >> txt files into the database crash the application. Is it possible to 
> >> update to OpenBase 11? Or will the compatibility with Xcode 2.1 / 
> >> WebObjects 5.3 break?
> >> 
> >> In general it would be nice to know who is developing for Webobjects in 
> >> 10.4. I read a lot about Eclipse in the mailing list but not so much about 
> >> the original Webobjects/Xcode environment.
> >> 
> >> Thanks for your help!
> >> 
> >> Best regards,
> >> 
> >> Bart
> >> ___
> >> 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:
> >> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> >> 
> >> This email sent to p...@mac.com
> > 
> > 
> > ___
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com
> > 
> > This email sent to catacr...@yahoo.com
> > 
> > 
> > ___
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> > 
> > This email sent to li...@thetimmy.com
> 
> 
> 


 __

Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?

2012-03-01 Thread Cretu Catalin
Hello Tim,

I followed all instructions, but when I tried to create first "Wonder 
Application" project I got errors. But when I create a new "WebObjects 
application" project there are no error. What resins can be?

Only when I create a new "Wonder Application" project I got these errors in 
console:
DescriptionResourcePathLocationType
The project cannot be built until build path errors are 
resolvedOneTesterUnknownJava Problem
Unbound classpath container: 'ERExtensions WebObjects Framework' in project 
'OneTester'OneTesterBuild pathBuild Path Problem
Unbound classpath container: 'ERJars WebObjects Framework' in project 
'OneTester'OneTesterBuild pathBuild Path Problem
Unbound classpath container: 'ERPrototypes WebObjects Framework' in project 
'OneTester'OneTesterBuild pathBuild Path Problem
Unbound classpath container: 'WOOgnl WebObjects Framework' in project 
'OneTester'OneTesterBuild pathBuild Path Problem


Any thoughts?

Thank you in advance for your time and help.

Catalin
 



 From: Tim Worman 
To: Cretu Catalin  
Cc: Paul Yu ; jazz ; 
"webobjects-dev@lists.apple.com"  
Sent: Tuesday, February 28, 2012 2:15:26 PM
Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
 
Cretu:

The instructions for installing the development tools are the same regardless 
of whether it is 10.6 or 10.7.

http://wiki.wocommunity.org/display/WONDER/Getting+Started

Tutorials for WOLips are here:

http://wiki.wocommunity.org/display/WOL/Tutorials

Tim

On Feb 28, 2012, at 10:08 AM, Cretu Catalin  wrote:

> Hello Paul,
> 
> Is there a tutorial for updating for Mac 10.7?
> 
> Thank you
> Catalin Cretu
> 
> From: Paul Yu 
> To: jazz  
> Cc: webobjects-dev@lists.apple.com 
> Sent: Tuesday, February 28, 2012 12:12:04 PM
> Subject: Re: WebObjects 5.3 on 10.4 compatible with OpenBase SQL 11?
> 
> Bart
> 
> You should upgrade to the latest WO and Wonder.  I know it may not be easy, 
> but life will be much better afterwards.
> 
> The rest of us are already very nervous about being left behind by Apple at 
> 5.4+, so you're not going to get a lot of love back there on 5.3...
> 
> -- 
> Paul Yu
> Sent with Sparrow
> 
> On Tuesday, February 28, 2012 at 11:43 AM, jazz wrote:
>> Hi,
>> 
>> I am running Webobjects from Mac OS 10.4 using OpenBase 8. Importing large 
>> txt files into the database crash the application. Is it possible to update 
>> to OpenBase 11? Or will the compatibility with Xcode 2.1 / WebObjects 5.3 
>> break?
>> 
>> In general it would be nice to know who is developing for Webobjects in 
>> 10.4. I read a lot about Eclipse in the mailing list but not so much about 
>> the original Webobjects/Xcode environment.
>> 
>> Thanks for your help!
>> 
>> Best regards,
>> 
>> Bart
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>> 
>> This email sent to p...@mac.com
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/catacretu%40yahoo.com
> 
> This email sent to catacr...@yahoo.com
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Server side includes in components?

2012-03-01 Thread Chuck Hill
I don't think that you can.  You can include WO generated content in static 
pages with SSI, but the other way does not work (or did not back when I tried). 
 The reason, IIRC, is that the SSI stuff happens earlier in Apache processing 
than the return of the content from the WO App.  This _was_ in Apache 1.3, so 
things may be all different now.


Chuck



On 2012-03-01, at 3:20 PM, Klaus Berkling wrote:

> 
> Anyone ever used server side includes in their component pages?
> 
> 
> 
> kib
> 
> "We keep moving forward, opening new doors, and doing new things, because 
> we're curious and curiosity keeps leading us down new paths."
> Walt Disney
> 
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects










smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WOWODC 2012 App

2012-03-01 Thread David Avendasora
Hi Ken!

That's awesome! I really like the easy iOS integration.

I don't suppose the project or the code for the QRCode generation and iOS 
integration is available anywhere?

Dave

On Mar 1, 2012, at 2:24 PM, ISHIMOTO Ken wrote:

> Hi,
> 
> Would you like to have WOWODC Infos on your iPhone?
> 
> Here you are go with the iPhone to : 
> 
> http://band.cat/wowodc2012
> 
> and download your App.
> 
> * Infos to WOWODC 2012
> * WO Icon on your Screen^^
> 
> 
> 
> Thank you
> 
> Ken Ishimoto
> 
> 
> K's ROOM
> 
> [E-Mail]  
> [iChat:]   
> [HP]  http://www.ksroom.com/
> _
> This e-mail has not been scanned for viruses because it was written on an Mac,
> and there are NO Viruses on an Apple Computer.
> For further information visit http://www.apple.com
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Server side includes in components?

2012-03-01 Thread Klaus Berkling

Anyone ever used server side includes in their component pages?



kib

"We keep moving forward, opening new doors, and doing new things, because we're 
curious and curiosity keeps leading us down new paths."
Walt Disney

Klaus Berkling
Web Application Dev. & Systems Analyst
DynEd International, Inc.
www.dyned.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Lachlan Deck
> Le 2012-03-01 à 05:52, "Lachlan Deck"  a écrit :
> 
>> On 01/03/2012, at 4:59 PM, Mike Schrag wrote:
>> 
>>> Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed 
>>> the response streaming api's to take longs, but didn't fix wohttpio and 
>>> worequest to make them parse content length as long.
>> 
>> Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 
>> (or whatever it got up it internally) under the door somewhere (?)
>> :)
> 
> Asking that on a public mailing list hosted by Apple is not a great idea :-)

A moment of attempted humour or 'tongue in cheek', but, of course, you're right 
:)


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Dan Beatty
Greetings Pascal and company,
I agree.  I had been working pro-bono on this for the ERAttachment version,
but I can switch over to the at large WOHTTP-IO case.   I can do it as a
civil servant, since I am what they call "industrially funded."  Basically,
as a long as I have a CRADA in place (as described in
http://www.chinalaketechnologies.org/collaboration.html) then basically,
that company contracts my organization (the U.S. Naval Air Warfare Center
Weapons Division at China Lake) to peform the labor.   This could be quite
useful now and in the future.

V/R,

-- 
Daniel Beatty
Information Assurance Officer (IAO), Energetics Research Division
Code 474300D
1 Administration Circle M/S 1109
China Lake, CA 93555
daniel.bea...@navy.mil
(LandLine) (760)939-7097
(iPhone) (806)438-6620





On 3/1/12 7:36 AM, "Pascal Robert"  wrote:

> Since this is, to my view, a bug affecting all of the community, wocommunity
> should paid for the workŠ if someone is willing to work on it. WOHttpIO is a
> final class...

> No workaround that I know of. It will require someone to
> write a patch in Wonder to overcome this limitation.
> 
> On Feb 29, 2012, at
> 11:52 PM, Gordon Belray wrote:
> 
>> Hi,
>> 
>> I'm running WebObjects 5.4.3
> and am seeing this error uploading a 2.1 GB file:
>> 
>>
>  Unable to parse content-length
> header: '2255571732'.
>> 
>> Mike suggested it was fixed in 5.4, anyone else
> encountering it. Is there a workaround?
>> 
>> Thanks,
>> Gordon
>> 
>> Gordon
> Belray
>> Information Technology Services 
>> University of Toronto
> Libraries
>> 
>> 
>> ___
>> 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:
>>
> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>
> > 
>> This email sent to kelleh...@gmail.com
> 
>
> ___
> Do not post admin requests
> to the list. They will be ignored.
> Webobjects-dev mailing list
> (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your
> Subscription:
> 
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca> 
>
> This email sent to prob...@macti.ca



> ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/daniel.be
> atty%40navy.mil

This email sent to daniel.bea...@navy.mil


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Instances don't show up in Monitor and URLs do not work.

2012-03-01 Thread Tim Worman
All:

I'm not using SSD's but I definitely recently had a problem on Lion where I'd 
made no changes and monitor and wotaskd were just not working. This was just a 
couple days ago and I posted about it in the thread:

http://osdir.com/ml/general/2012-02/msg38384.html

Ken, You're such a great contributor to the community. I'm WOndering if your 
deploy stuff could be moved onto wocommunity as a supported deployment method 
there? If there are problems deploying on Lion, we should leverage all the 
"easy" methods we have and make them all very visible. We should make it bone 
simple to find the easiest solutions to problems.

Tim

On Feb 29, 2012, at 10:16 PM, ISHIMOTO Ken  wrote:

> Hi,
> 
> In Deployment there can be 3 Problems.
> 
> 1. The WO Part
> 
> 2. The Application
> 
> 3. Apache
> 
> About the WO Part, I made the Installer 
> 
> http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy
> 
> because the standard WO543 Installer installed more then we need, also the 
> Apple wotask & JavaMonitor
> is the standard one. The Apache .so file is for Leopard, and won't work on 
> SnowLeopard or Lion.
> 
> Usually if you make an embedded Deploy you need only the woDeploy Script, 
> everything is in one Folder easy
> to find and check. No hidden files^^
> 
> The problem if you install both, then it can happens that you run 
>  * Apples wotask
>  * Wonders wotask
>  * Apple JavaMonitor
>  * Wonder JavaMonitor
> 
> Also the Apache looks maybe to the Leopard *so file.
> 
> I haven't try to use both yet. For my installations and that is the 8 Lion 
> Server now, everything works with woDeploy in Minutes.
> 
> Also this installer will install a Sample "Hello World" like App for testing, 
> if everything works. If that App works then your App
> know the Machine is ready to go.
> 
> The App show's only a Text, and a Picture (to can see that the 
> WebServerResources) split install is working.
> 
> Also for FrontBase User, it connects to the Sample Movie DB and find 1 
> Record, to check the connection.
> 
> 
> I think it is best to try to find if this installment is working, and the 
> Sample App is working. Then you can go next step to find the problem.
> 
> 
> Ken
> 
> 
> On 2012/02/28, at 0:02, Gaastra Dennis - WO Lists wrote:
> 
>> Dear List,
>> 
>> Just upgrading several boxes to Lion Server. 
>> We applied the standard WO543 Installer and Ken's Wonder wotaskd and 
>> WOMonitor from:
>> 
>> http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy
>> 
>> BTW: Thanks for making this available
>> 
>> When clicking on:
>> 
>> http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
>> 
>> We see our configured instances nicely listed; however, in Monitor, we all 
>> instances "Off" with 1 "Death" for each.
>> Also, the URLs (from remotely) don't work and show: The requested 
>> application was not found on this server.
>> However, in the application instances' log, everything starts up  and stays 
>> running nicely. 
>> Also,  the instances are running correctly according to ps -ax or sudo lsof 
>> -i tcp:
>> I don't understand how to debug this; already tried the spawof...ssh, and 
>> there everything was OK. Also DNS is working correclty both ways.
>> 
>> Another weird this is that one of the boxes works correctly every 5 reboots 
>> or so.
>> 
>> Any ideas? Thanks for any assistance.
>> 
>> 
>> -- 
>> With Kind Regards,
>> 
>> Dennis Gaastra, 
>> WEBAPPZ®  Systems, Inc.
>> (+1) 604.921.1333
>> 
>> www.webappz.com & www.scheduleDS.com & www.1tracker.com
>> 
>> 
>> 
>> 
>> 
>> 
>> This message contains confidential information and is intended only for the 
>> individual named. If you are not the named addressee you should not 
>> disseminate, distribute or copy this e-mail. Please notify the sender 
>> immediately by e-mail if you have received this e-mail by mistake and delete 
>> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
>> secure or error-free as information could be intercepted, corrupted, lost, 
>> destroyed, arrive late or incomplete, or contain viruses. The sender 
>> therefore does not accept liability for any errors or omissions in the 
>> contents of this message, which arise as a result of e-mail transmission. If 
>> verification is required please request a hard-copy version. WEBAPPZ 
>> Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, 
>> www.webappz.com
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
>> 
>> This email sent to k...@ksroom.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscript

Re: WebObjects 5.4.3 and JavaClient Apps

2012-03-01 Thread Raymond NANEON
Hi Paolo,

Thank to explain me your motivation. It's great

Ray



Le 1 mars 2012 à 13:40, Paolo Sommaruga  a écrit :

> we have several JC applications in production. When Apple has deprecated the 
> dev utility for JC development we need some tools in order to modify and 
> maintain our JC application. This is our motivation
> 
> Regards
> 
> Paolo
> 
> 
> 
> Il giorno 28/feb/2012, alle ore 08:56, Raymond NANEON  ha 
> scritto:
> 
>> Hi Paolo,
>> 
>> Thank for the link and the informations it contains. I hope to sample 
>> projects that hold back the answers to my problem. I wonder why did you just 
>> create a framework to launch JavaClient  under the WO?
>> 
>> Ray
>> Envoyé depuis iCloud
>> 
>> Le 27 fév 2012 à 03:07, Paolo Sommaruga  a écrit :
>> 
>>> Hi Raymond,
>>> 
>>> we don't use D2JC, but we build some JC application with our framework 
>>> JPBinding. We can view it at
>>> 
>>> http://www.jpaso.com/name/XMLBindingForJavaClient
>>>  
>>> 
>>> Unfortunately I do'nt have the time in order to complete the documentation. 
>>> I do'nt know if this can help you
>>> 
>>> Regards
>>> 
>>> Paolo
>>> 
>>> 
>>> Il giorno 23/feb/2012, alle ore 14:46, Raymond NANEON ha scritto:
>>> 
 Hi,
 
 I tried  a little JavaClient app but I can't launch the app because the 
 JavaClient.jnlp link is broken.
 
 I got this error : 
 
 [2012-2-23 14:33:42 CET]  Opening application's URL in browser:
 http://imac-cedre.utt.fr:51807/cgi-bin/WebObjects/WebStartJNLPTest.woa
 [2012-2-23 14:33:42 CET]  null
 [2012-2-23 14:33:42 CET]  Waiting for requests...
 [2012-2-23 14:33:49 CET]  
  Unable 
 to get contents of file for uri.  file: 
 /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp;
  uri: 
 /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
 [2012-2-23 14:33:49 CET]  java.io.FileNotFoundException: 
 /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
  (No such file or directory)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.(FileInputStream.java:120)
 at 
 com.webobjects.appserver._private.WOStaticResourceRequestHandler.handleRequest(WOStaticResourceRequestHandler.java:86)
 at 
 com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
 at 
 com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
 at 
 com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
 at java.lang.Thread.run(Thread.java:680)
 
 Main
 
 
   
 Main
   
   Please
  click here 
 to start WebStartJNLPTest through WebStart.
   
 
 
 JavaClientLink: WOHyperlink {
 href = javaClientLink;
 }
 
 JavaClient 
 
   
 
 JavaClientComponent: WOJavaClientComponent {
 j2seVersion = "1.4+";
 applicationClassName = 
 "com.webobjects.eogeneration.EODynamicApplication";
 applicationName = "D2JC WebStart Test";
 applicationDescription = "D2JC WebStart Test";
 downloadClientClasses = "noDownloadClientClasses";
 vendor = "TEST";
 }
 
 Thanks for your Help
 
 Envoyé depuis iCloud
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner, and is 
 believed to be clean.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/psomma%40jpaso.com
 
 This email sent to pso...@jpaso.com
>>> 
>> 
>> -- 
>> This message has been scanned for viruses and 
>> dangerous content by MailScanner, and is 
>> believed to be clean.
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean.

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WebObjects 5.4.3 and JavaClient Apps

2012-03-01 Thread Raymond NANEON
Hi Dave,

 Thank for details about making better JavaClient apps. 
I talk to Emmanuel Geze in private and He works too about a full solution 
working JavaClient on WebObjects 5.4. He says, If He have time, He goes to 
publish his work on the community wiki.

I continue to work on my little JavaClient app.

Ray


Le 1 mars 2012 à 16:18, David Avendasora  a écrit :

> Hey Raymond,
> 
> You may have only one Eclipse project, but you are creating _two_ WebObjects 
> applications. The server-side application and the client-side application. 
> While they may share some common classes and the source code may be in the 
> same Sources directory in your project, each application has completely 
> independent build output. The server-side java code is built into 
> /build/MyApp.woa/Contents/Resources/Java/. The client-side is built into 
> build/MyApp.woa/Contents/WebServerResources/Java/
> 
> The client application is an independent application in the same way that a 
> Safari/Firefox/IE/etc. are independent applications and not a part of a 
> "standard" WebObjects application. They both just make HTTP requests to a 
> server-side WebObjects application. One gets HTML in return, the other gets 
> serialized EOs. In fact, you can have the same server-side application serve 
> both web clients and Java Clients. 
> 
> It just happens that when you use Java WebStart the server-side application 
> knows how to distribute the client-side application to the user on-demand via 
> a link on a web page, which makes it seem like you are just running part of 
> the server-side application. Without Java WebStart you would simply need to 
> distribute the client-side application yourself and launch the executable in 
> the finder, instead of launching it via a link in a WebBrowser.
> 
> In fact, that's exactly what that launch script is doing. It's launching the 
> client without using Java WebStart. Eclipse doesn't need to be the one that 
> runs that script. You can run it yourself and it should launch the 
> client-side app.
> 
> Dave
> 
> On Feb 28, 2012, at 3:44 PM, Raymond NANEON wrote:
> 
>> Hi Dave,
>> 
>> Thank you for your availability and your valuable advice. I found the script 
>> and I will modify according to my applications. I do not create 2client / 
>> server applications, but only one. All work is done at levels of packages 
>> (client and server).
>> 
>> Thank you for your help and your support.
>> Envoyé depuis iCloud
>> 
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor & wotask SSD Problem.

2012-03-01 Thread gsbrown
I recall modifying the app.woa/app startup script at the end.
Basically, wotaskd should start first (it will start your app),
then after it is running javamonitor should start. The tail end
of my wotaskd.woa/wotaskd is like:
#
# Launch the application.
#
# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 100
#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...
echo Launching ${SCRIPT_NAME}.woa ...
echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
${COMMAND_LINE_ARGS}
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
${COMMAND_LINE_ARGS}
And for my  JavaMonitor.woa/JavaMonitor:
# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 240
#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...
#
# Launch the application.
#
echo Launching ${SCRIPT_NAME}.woa ...
echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
${COMMAND_LINE_ARGS}
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
${COMMAND_LINE_ARGS}
So I had javamonitor trying to restart wotaskd which was waiting
for things to happen. This did not allow proper startup. With the
wait and extra time for javamonitor reboots work properly.
I think the apple wo 5.4.3 startups had some waiting; this is the
Wonder versions I had to modify.
A wait maybe should be added to the Wonder wotaskd and
JavaMonitor startup scripts.
I could be wrong, of course.

Greg Brown
gsbr...@umich.edu
-- 
  
  gsbr...@umich.edu

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Ramsey Gurley
Perhaps this is fixable in ERWOAdaptor without need to fix WOHttpIO or 
WORequest.  ERWOAdaptor is currently limited to 100Mb.  I'll look at that 
possibility when I go back to update the WebSockets implementation, but I'm 
sorta busy at the moment. :-)

Ramsey

On Mar 1, 2012, at 9:24 AM, Kieran Kelleher wrote:

> Another viewpoint might be that only a few rare apps need > 2GB upload size, 
> so like everything else in Wonder, the person who needs a new feature should 
> implement it (themselves or via contractor) and then do a pull request 
> perhaps? I don't need this, and I don't know if I will ever need it, but the 
> day I need it in one of my apps is the day I would work on implementing it.
> 
> BTW, if the community was going to fund projects, it might be a good idea to 
> pick the github Issues with the most votes. I don't think github issues has 
> voting like JIRA had, so people can just add a '+1' comment on the Issue 
> discussion maybe.
> 
> Anyway, that was just a few thoughts to add to the discussion
> 
> Cheers, Kieran
> 
> On Mar 1, 2012, at 10:36 AM, Pascal Robert wrote:
> 
>> Since this is, to my view, a bug affecting all of the community, wocommunity 
>> should paid for the work… if someone is willing to work on it. WOHttpIO is a 
>> final class...
>> 
>>> No workaround that I know of. It will require someone to write a patch in 
>>> Wonder to overcome this limitation.
>>> 
>>> On Feb 29, 2012, at 11:52 PM, Gordon Belray wrote:
>>> 
 Hi,
 
 I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB 
 file:
 
  Unable to parse 
 content-length header: '2255571732'.
 
 Mike suggested it was fixed in 5.4, anyone else encountering it. Is there 
 a workaround?
 
 Thanks,
 Gordon
 
 Gordon Belray
 Information Technology Services 
 University of Toronto Libraries
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
 
 This email sent to kelleh...@gmail.com
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>> 
>>> This email sent to prob...@macti.ca
>> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to rgur...@smarthealth.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Paul Yu
Gordon 

Given that 85% of all IT projects fail (not on time and over budget, and many 
never deliver software), what you have accomplished should be commended by the 
University regardless of the software architecture.  Having said that, the fact 
that you were successful and the app is being used by many customers, you are 
actually a threat to the people that didn't produce with other "mo + better" 
technologies.

2GB is a BIG file does not matter the platform.  In the past, not many people 
would even think about uploading a file that size.  So, now you should ask how 
important this requirement is for the university and find a solution.  Could be 
to come up with a bit of money to pay a wocommunity member to solve it. 

-- 
Paul Yu
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday, March 1, 2012 at 9:46 AM, Gordon Belray wrote:

> 
> > 
> > > > > > Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 
> > > > > > changed the response streaming api's to take longs, but didn't 
> > > > > > fix wohttpio and worequest to make them parse content length as 
> > > > > > long.
> > > > > > 
> > > > > 
> > > > > 
> > > > > Perhaps, assuming you're still on the inside, you'd be able to 
> > > > > slip 5.4.3.1 (or whatever it got up it internally) under the door 
> > > > > somewhere (?)
> > > > > :)
> > > > > 
> > > > 
> > > > 
> > > > Asking that on a public mailing list hosted by Apple is not a 
> > > > great idea :-)
> > > > 
> > > 
> > > Don't worry ... The public and private answer is the same :)
> > > 
> > 
> > 
> > And the answer will probably be: "the community should fix it in 
> > Wonder" :-)
> > 
> 
> 
> This would be great but I fear outside my scope. I've developed a wo 
> app to manage video/audio content at the university and the uptake has 
> been great. It's hard enough justifying WebObjects here, and issues 
> such as this, if it cannot be resolved, raise more eyebrows.
> 
> Gordon
> 
> 
> > ___
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com 
> > (mailto:Webobjects-dev@lists.apple.com))
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca
> > 
> > This email sent to gordon.bel...@utoronto.ca 
> > (mailto:gordon.bel...@utoronto.ca)
> 
> Gordon Belray
> Systems and Interface Designer
> Information Technology Services
> University of Toronto Libraries
> gordon.bel...@utoronto.ca (mailto:gordon.bel...@utoronto.ca)
> 416-946-8617 w
> 416-427-7007 m
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com 
> (mailto:Webobjects-dev@lists.apple.com))
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> 
> This email sent to p...@mac.com (mailto:p...@mac.com) 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Kieran Kelleher
Another viewpoint might be that only a few rare apps need > 2GB upload size, so 
like everything else in Wonder, the person who needs a new feature should 
implement it (themselves or via contractor) and then do a pull request perhaps? 
I don't need this, and I don't know if I will ever need it, but the day I need 
it in one of my apps is the day I would work on implementing it.

BTW, if the community was going to fund projects, it might be a good idea to 
pick the github Issues with the most votes. I don't think github issues has 
voting like JIRA had, so people can just add a '+1' comment on the Issue 
discussion maybe.

Anyway, that was just a few thoughts to add to the discussion

Cheers, Kieran

On Mar 1, 2012, at 10:36 AM, Pascal Robert wrote:

> Since this is, to my view, a bug affecting all of the community, wocommunity 
> should paid for the work… if someone is willing to work on it. WOHttpIO is a 
> final class...
> 
>> No workaround that I know of. It will require someone to write a patch in 
>> Wonder to overcome this limitation.
>> 
>> On Feb 29, 2012, at 11:52 PM, Gordon Belray wrote:
>> 
>>> Hi,
>>> 
>>> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB 
>>> file:
>>> 
>>>  Unable to parse content-length 
>>> header: '2255571732'.
>>> 
>>> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
>>> workaround?
>>> 
>>> Thanks,
>>> Gordon
>>> 
>>> Gordon Belray
>>> Information Technology Services 
>>> University of Toronto Libraries
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>> 
>>> This email sent to kelleh...@gmail.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Gordon Belray


Since this is, to my view, a bug affecting all of the community,  
wocommunity should paid for the work… if someone is willing to work  
on it. WOHttpIO is a final class...


does the community have a budget for this? I recall membership fee but  
I don't see anything on wocommunity.org about a paid membership.


Gordon




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Gordon Belray




Yeah this wasn't fully fixed until later ... I think maybe 5.4.3  
changed the response streaming api's to take longs, but didn't  
fix wohttpio and worequest to make them parse content length as  
long.


Perhaps, assuming you're still on the inside, you'd be able to  
slip 5.4.3.1 (or whatever it got up it internally) under the door  
somewhere (?)

:)


Asking that on a public mailing list hosted by Apple is not a  
great idea :-)

Don't worry ... The public and private answer is the same :)


And the answer will probably be: "the community should fix it in  
Wonder" :-)


This would be great but I fear outside my scope. I've developed a wo  
app to manage video/audio content at the university and the uptake has  
been great. It's hard enough justifying WebObjects here, and issues  
such as this, if it cannot be resolved, raise more eyebrows.


Gordon



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca

This email sent to gordon.bel...@utoronto.ca


Gordon Belray
Systems and Interface Designer
Information Technology Services
University of Toronto Libraries
gordon.bel...@utoronto.ca
416-946-8617 w
416-427-7007 m




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Ramsey Gurley
And then re-patch it into a separate framework like WORequestExtension or 
something :-P

On Mar 1, 2012, at 8:01 AM, Kieran Kelleher wrote:

> No workaround that I know of. It will require someone to write a patch in 
> Wonder to overcome this limitation.
> 
> On Feb 29, 2012, at 11:52 PM, Gordon Belray wrote:
> 
>> Hi,
>> 
>> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB 
>> file:
>> 
>>  Unable to parse content-length 
>> header: '2255571732'.
>> 
>> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
>> workaround?
>> 
>> Thanks,
>> Gordon
>> 
>> Gordon Belray
>> Information Technology Services 
>> University of Toronto Libraries
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>> 
>> This email sent to kelleh...@gmail.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
> 
> This email sent to ramseygur...@gmail.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Chrome : Wonderbar

2012-03-01 Thread Pascal Robert
Thanks Ken!

> Hi,
> 
> Chrome Wonderbar Extension is out :
> 
> http://dl.dropbox.com/u/1548210/ChromeExtensions/Wonderbare.chrome.crx
> 
> 
> 
> 
> Thank you
> 
> Ken Ishimoto
> 
> 
> K's ROOM
> 
> [E-Mail]  
> [iChat:]   
> [HP]  http://www.ksroom.com/
> _
> This e-mail has not been scanned for viruses because it was written on an Mac,
> and there are NO Viruses on an Apple Computer.
> For further information visit http://www.apple.com
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Pascal Robert
Since this is, to my view, a bug affecting all of the community, wocommunity 
should paid for the work… if someone is willing to work on it. WOHttpIO is a 
final class...

> No workaround that I know of. It will require someone to write a patch in 
> Wonder to overcome this limitation.
> 
> On Feb 29, 2012, at 11:52 PM, Gordon Belray wrote:
> 
>> Hi,
>> 
>> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB 
>> file:
>> 
>>  Unable to parse content-length 
>> header: '2255571732'.
>> 
>> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
>> workaround?
>> 
>> Thanks,
>> Gordon
>> 
>> Gordon Belray
>> Information Technology Services 
>> University of Toronto Libraries
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>> 
>> This email sent to kelleh...@gmail.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Best Practice with inheritance in D2W

2012-03-01 Thread Ramsey Gurley
For an example, have a look at 

https://github.com/nullterminated/ponder/tree/master/ERR2d2w/Components/Nonlocalized.lproj/R2DCreateSubEntityChooser.wo

Ramsey

On Feb 29, 2012, at 3:46 PM, Tim Worman wrote:

> I'm working on a (hopefully) very simple D2W app. One entity I'm working with 
> represents door keys - which I've made Abstract in the model and set up an 
> inheritance structure for various types of keys.
> 
> What I'm wondering - what is the best practice for providing a quick and easy 
> way for the operator to add a new door key record that belongs to one of the 
> sub-types? I can't make a new key of the Abstract parent and I wouldn't want 
> to provide a tab in ERMD2W that represents each door key sub-entity. I know 
> this probably isn't overly complicated but sometimes with D2W I'm still 
> wondering how to "get there from here."
> 
> Tim
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
> 
> This email sent to ramseygur...@gmail.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WebObjects 5.4.3 and JavaClient Apps

2012-03-01 Thread David Avendasora
Hey Raymond,

You may have only one Eclipse project, but you are creating _two_ WebObjects 
applications. The server-side application and the client-side application. 
While they may share some common classes and the source code may be in the same 
Sources directory in your project, each application has completely independent 
build output. The server-side java code is built into 
/build/MyApp.woa/Contents/Resources/Java/. The client-side is built into 
build/MyApp.woa/Contents/WebServerResources/Java/

The client application is an independent application in the same way that a 
Safari/Firefox/IE/etc. are independent applications and not a part of a 
"standard" WebObjects application. They both just make HTTP requests to a 
server-side WebObjects application. One gets HTML in return, the other gets 
serialized EOs. In fact, you can have the same server-side application serve 
both web clients and Java Clients. 

It just happens that when you use Java WebStart the server-side application 
knows how to distribute the client-side application to the user on-demand via a 
link on a web page, which makes it seem like you are just running part of the 
server-side application. Without Java WebStart you would simply need to 
distribute the client-side application yourself and launch the executable in 
the finder, instead of launching it via a link in a WebBrowser.

In fact, that's exactly what that launch script is doing. It's launching the 
client without using Java WebStart. Eclipse doesn't need to be the one that 
runs that script. You can run it yourself and it should launch the client-side 
app.

Dave

On Feb 28, 2012, at 3:44 PM, Raymond NANEON wrote:

> Hi Dave,
> 
> Thank you for your availability and your valuable advice. I found the script 
> and I will modify according to my applications. I do not create 2client / 
> server applications, but only one. All work is done at levels of packages 
> (client and server).
> 
> Thank you for your help and your support.
> Envoyé depuis iCloud
> 

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Kieran Kelleher
No workaround that I know of. It will require someone to write a patch in 
Wonder to overcome this limitation.

On Feb 29, 2012, at 11:52 PM, Gordon Belray wrote:

> Hi,
> 
> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB file:
> 
>  Unable to parse content-length 
> header: '2255571732'.
> 
> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
> workaround?
> 
> Thanks,
> Gordon
> 
> Gordon Belray
> Information Technology Services 
> University of Toronto Libraries
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Rép : Re: WebObjects 5.4.3 and JavaClient Apps

2012-03-01 Thread Paolo Sommaruga
we have several JC applications in production. When Apple has deprecated the 
dev utility for JC development we need some tools in order to modify and 
maintain our JC application. This is our motivation

Regards

Paolo



Il giorno 28/feb/2012, alle ore 08:56, Raymond NANEON  ha 
scritto:

> Hi Paolo,
> 
> Thank for the link and the informations it contains. I hope to sample 
> projects that hold back the answers to my problem. I wonder why did you just 
> create a framework to launch JavaClient  under the WO?
> 
> Ray
> Envoyé depuis iCloud
> 
> Le 27 fév 2012 à 03:07, Paolo Sommaruga  a écrit :
> 
>> Hi Raymond,
>> 
>> we don't use D2JC, but we build some JC application with our framework 
>> JPBinding. We can view it at
>> 
>> http://www.jpaso.com/name/XMLBindingForJavaClient
>>  
>> 
>> Unfortunately I do'nt have the time in order to complete the documentation. 
>> I do'nt know if this can help you
>> 
>> Regards
>> 
>> Paolo
>> 
>> 
>> Il giorno 23/feb/2012, alle ore 14:46, Raymond NANEON ha scritto:
>> 
>>> Hi,
>>> 
>>> I tried  a little JavaClient app but I can't launch the app because the 
>>> JavaClient.jnlp link is broken.
>>> 
>>> I got this error : 
>>> 
>>> [2012-2-23 14:33:42 CET]  Opening application's URL in browser:
>>> http://imac-cedre.utt.fr:51807/cgi-bin/WebObjects/WebStartJNLPTest.woa
>>> [2012-2-23 14:33:42 CET]  null
>>> [2012-2-23 14:33:42 CET]  Waiting for requests...
>>> [2012-2-23 14:33:49 CET]  
>>>  Unable 
>>> to get contents of file for uri.  file: 
>>> /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp;
>>>  uri: 
>>> /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
>>> [2012-2-23 14:33:49 CET]  java.io.FileNotFoundException: 
>>> /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
>>>  (No such file or directory)
>>> at java.io.FileInputStream.open(Native Method)
>>> at java.io.FileInputStream.(FileInputStream.java:120)
>>> at 
>>> com.webobjects.appserver._private.WOStaticResourceRequestHandler.handleRequest(WOStaticResourceRequestHandler.java:86)
>>> at 
>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>> at 
>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>>> at 
>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>>> at java.lang.Thread.run(Thread.java:680)
>>> 
>>> Main
>>> 
>>> 
>>>   
>>> Main
>>>   
>>>   Please
>>>  click here 
>>> to start WebStartJNLPTest through WebStart.
>>>   
>>> 
>>> 
>>> JavaClientLink: WOHyperlink {
>>> href = javaClientLink;
>>> }
>>> 
>>> JavaClient 
>>> 
>>>   
>>> 
>>> JavaClientComponent: WOJavaClientComponent {
>>> j2seVersion = "1.4+";
>>> applicationClassName = 
>>> "com.webobjects.eogeneration.EODynamicApplication";
>>> applicationName = "D2JC WebStart Test";
>>> applicationDescription = "D2JC WebStart Test";
>>> downloadClientClasses = "noDownloadClientClasses";
>>> vendor = "TEST";
>>> }
>>> 
>>> Thanks for your Help
>>> 
>>> Envoyé depuis iCloud
>>> 
>>> -- 
>>> This message has been scanned for viruses and 
>>> dangerous content by MailScanner, and is 
>>> believed to be clean.
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/psomma%40jpaso.com
>>> 
>>> This email sent to pso...@jpaso.com
>> 
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Pascal Robert

Le 2012-03-01 à 06:47, Mike Schrag a écrit :

 Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed 
 the response streaming api's to take longs, but didn't fix wohttpio and 
 worequest to make them parse content length as long.
>>> 
>>> Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 
>>> (or whatever it got up it internally) under the door somewhere (?)
>>> :)
>> 
>> Asking that on a public mailing list hosted by Apple is not a great idea :-)
> Don't worry ... The public and private answer is the same :)

And the answer will probably be: "the community should fix it in Wonder" :-)
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Mike Schrag
>>> Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed 
>>> the response streaming api's to take longs, but didn't fix wohttpio and 
>>> worequest to make them parse content length as long.
>> 
>> Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 
>> (or whatever it got up it internally) under the door somewhere (?)
>> :)
> 
> Asking that on a public mailing list hosted by Apple is not a great idea :-)
Don't worry ... The public and private answer is the same :)

ms
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread probert


Envoyé de mon iPhone

Le 2012-03-01 à 05:52, "Lachlan Deck"  a écrit :

> On 01/03/2012, at 4:59 PM, Mike Schrag wrote:
> 
>> Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed the 
>> response streaming api's to take longs, but didn't fix wohttpio and 
>> worequest to make them parse content length as long.
> 
> Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 
> (or whatever it got up it internally) under the door somewhere (?)
> :)

Asking that on a public mailing list hosted by Apple is not a great idea :-)

> cheers,
> Lachlan Deck
> 
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: 5.4 uploading large files

2012-03-01 Thread Lachlan Deck
On 01/03/2012, at 4:59 PM, Mike Schrag wrote:

> Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed the 
> response streaming api's to take longs, but didn't fix wohttpio and worequest 
> to make them parse content length as long.

Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 (or 
whatever it got up it internally) under the door somewhere (?)
:)

cheers,
Lachlan Deck




 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: login multiple WOApps by passing same login credentials

2012-03-01 Thread Matthew Ness
> Hi,
>
> if security matters and you have time to learn something new, you need
> Single Sign On such as CAS : http://www.jasig.org/cas (easy to setup when
> deploying in Tomcat)
> If not you could implement something like this :
>
> - app1 generate a link to app2 with a token in it
> - app2 verify if the token is there and call a DA on app1 to ask if it's a
> valid token
>
> Cheers,
>
> Alex
>
> 2012/3/1 Raghavender Bokka 
>
>> Hi folks,
>>
>> I have two WO apps, both are running using the same user database, and
>> for
>> each app, the user authenticates against that user database before
>> they're
>> let into the app.  The userID and the Password are stored in the
>> database
>> table (without encrypted).
>>
>> Now I have added a link in the app1 that should allow the user to
>> navigate
>> to the app2 using the same login credentials (without the user entering
>> the
>> userID and Password for the app2).
>>
>> Please advise how this can be achieved or advise how the login
>> credentials
>> are added to the URL so that the user is navigated to the app2 without
>> entering the login credentials.
>>
>> Thanks in advance for any help.
>>
>> Rahu


Hello,

I agree with (the second point from) Alex.

The common trusted area of your apps is the shared database, so you can
create a database table for token provision (expiry, origin_app,
destination_app, token, user_id FK, status, ..).

App A creates the token, send the token (uuid or what-have-you) as a
parameter to a DA request to App B, App B checks for the token, and if
happy, hydrates the user in its session and marks the token complete.

There are other approaches of course - a SSO service, or encrypt the data
(symmetric or asymmetric) and send it to a DA of app B, but given your
info I think the db table is the easiest for your problem.

Cheers,

Matt



 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: login multiple WOApps by passing same login credentials

2012-03-01 Thread Alexis Tual
Hi,

if security matters and you have time to learn something new, you need
Single Sign On such as CAS : http://www.jasig.org/cas (easy to setup when
deploying in Tomcat)
If not you could implement something like this :

- app1 generate a link to app2 with a token in it
- app2 verify if the token is there and call a DA on app1 to ask if it's a
valid token

Cheers,

Alex

2012/3/1 Raghavender Bokka 

> Hi folks,
>
> I have two WO apps, both are running using the same user database, and for
> each app, the user authenticates against that user database before they're
> let into the app.  The userID and the Password are stored in the database
> table (without encrypted).
>
> Now I have added a link in the app1 that should allow the user to navigate
> to the app2 using the same login credentials (without the user entering the
> userID and Password for the app2).
>
> Please advise how this can be achieved or advise how the login credentials
> are added to the URL so that the user is navigated to the app2 without
> entering the login credentials.
>
> Thanks in advance for any help.
>
> Rahu
>
>  ___
> 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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com
>
> This email sent to alexis.t...@gmail.com
>
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor & wotask SSD Problem.

2012-03-01 Thread Simon J Oliver (sjoliver)
I'm not sure you'd need to restart Apache if you could wait and start the WO 
processes at the right time. Or maybe you would, simply because if it starts 
too soon, as well.

I'm working on setting up a new deployment environment, and was going to work 
on fleshing out that skeleton code. I'll share it here when I have it finished.





On Feb 29, 2012, at 7:43 PM, Gaastra Dennis - WO Lists wrote:

Now what booting script do you use to delay starting up wotaskd + JavaMonitor, 
and do an apache restart afterwards? Something similar to what Simon suggested?

Thanks
Dennis

On 28/Feb/12 11:49 PM, Chuck Hill wrote:
Yes. Four.  :-)



On Feb 29, 2012, at 12:48 PM, Gaastra Dennis - WO Lists 
mailto:webobjects_li...@webappz.com>> wrote:

and the webobjects apache configuration WebObjectsConfig 
http://:1085  10

On 28/Feb/12 7:49 PM, Chuck Hill wrote:
All three of wotaskd, java monitor, and your apps need to agree on WOHost



On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists 
mailto:webobjects_li...@webappz.com>> wrote:

Hi Ken et al,

After restarting the launchdaemons, Monitor seems to be happy with its 
instances showing as running, but we still get the famous "The requested 
application was not found on this server."

Thanks
Dennis.

On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote:
Hi,

It looks we have a problem with JavaMonitor and wotask, that had to be fixed.

I have seen this Problem now on several Machines, and found the problem, but 
think about a fix.
Maybe the only way is to fix the Apps Javacode itself...

Test Machine was OS X Lion & OS X SnowLeopard



What is going on:

The correctway : If the Machine starts

* LaunchD starts the Database

* LaunchD start JavaMonitor & wotask

* wotask will start the Instances

* Everybody is Happy



The Problem only appears if the Boot disk is a SSD Drive.

* LaunchD starts the Database

* LaunchD start JavaMonitor & wotask

BUT, JavaMonitor and wotask Launches and try to get the Network Interface for 
making work,
the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try 
for several time,
and give up. But running. a Zombi process

* wotask can't start the Instances

The only way after the Launch is to go to Activity Monitor to kill both 
processes, LaunchD will boot
both again and everybody is happy.



1. Fix 1 : LaunchD Script <- I have no idea if that is possible to say launch 
at Boot but delayed or so

2. Fix 2 : In the javacode after retry the App and can't get a Connection kill 
itself, and let launchD boot it again..


Thank you

Ken Ishimoto


K's ROOM

[E-Mail]  mailto:k...@ksroom.com>>
[iChat:]   mailto:ibase_...@mac.com>>
[HP]  http://www.ksroom.com/
_
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com







 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com

This email sent to 
webobjects_li...@webappz.com




--
With Kind Regards,

Dennis Gaastra,
WEBAPPZ®  Systems, Inc.
(+1) 604.921.1333
www.webappz.com & 
www.scheduleDS.com & 
www.1tracker.com





This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 
Marine Drive, West Vancouver, BC, CANADA V7T 1B8, 
www.webappz.com



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webob

file upload action using ERAttachment

2012-03-01 Thread Larry Mills-Gahl
I'm working on some workflow automation that takes files from an external 
process and loads them via curl. 

The following code is working, but it uses a private class 
com.webobjects.appserver._private.WOInputStreamData to grab the file contents. 
This makes me think there is probably a better, more WOnderful way of doing 
this, so if anybody sees problems or easier ways to do what I have here, I 
would welcome any suggestions. 

This is from a small, scratch application where the Center has many StubFile 
(which has an ERAttachment named fileAttachment)


public WOActionResults fileUploadAction() {

WOResponse res = new WOResponse();

if (!this.request().formValues().containsKey("centerkey") || 
!this.request().formValues().containsKey("fileToBeUploaded")) {
res.setStatus(400);

res.appendContentString("ERRORMissing
 ParametersERRORFile 
Error:" + e.getMessage() + "Successattachment
 loaded ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


login multiple WOApps by passing same login credentials

2012-03-01 Thread Raghavender Bokka
Hi folks,

I have two WO apps, both are running using the same user database, and for each 
app, the user authenticates against that user database before they're let into 
the app.  The userID and the Password are stored in the database table (without 
encrypted).

Now I have added a link in the app1 that should allow the user to navigate to 
the app2 using the same login credentials (without the user entering the userID 
and Password for the app2).

Please advise how this can be achieved or advise how the login credentials are 
added to the URL so that the user is navigated to the app2 without entering the 
login credentials.

Thanks in advance for any help.

Rahu
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Chrome : Wonderbar

2012-03-01 Thread ISHIMOTO Ken
Hi,

Chrome Wonderbar Extension is out :

http://dl.dropbox.com/u/1548210/ChromeExtensions/Wonderbare.chrome.crx




Thank you

Ken Ishimoto


K's ROOM

[E-Mail]  
[iChat:]   
[HP]  http://www.ksroom.com/
_
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


WOWODC 2012 App

2012-03-01 Thread ISHIMOTO Ken
Hi,

Would you like to have WOWODC Infos on your iPhone?

Here you are go with the iPhone to : 

http://band.cat/wowodc2012

and download your App.

* Infos to WOWODC 2012
* WO Icon on your Screen^^



Thank you

Ken Ishimoto


K's ROOM

[E-Mail]  
[iChat:]   
[HP]  http://www.ksroom.com/
_
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Instances don't show up in Monitor and URLs do not work.

2012-03-01 Thread ISHIMOTO Ken
Hi,

In Deployment there can be 3 Problems.

1. The WO Part

2. The Application

3. Apache

About the WO Part, I made the Installer 

http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy

because the standard WO543 Installer installed more then we need, also the 
Apple wotask & JavaMonitor
is the standard one. The Apache .so file is for Leopard, and won't work on 
SnowLeopard or Lion.

Usually if you make an embedded Deploy you need only the woDeploy Script, 
everything is in one Folder easy
to find and check. No hidden files^^

The problem if you install both, then it can happens that you run 
 * Apples wotask
 * Wonders wotask
 * Apple JavaMonitor
 * Wonder JavaMonitor

Also the Apache looks maybe to the Leopard *so file.

I haven't try to use both yet. For my installations and that is the 8 Lion 
Server now, everything works with woDeploy in Minutes.

Also this installer will install a Sample "Hello World" like App for testing, 
if everything works. If that App works then your App
know the Machine is ready to go.

The App show's only a Text, and a Picture (to can see that the 
WebServerResources) split install is working.

Also for FrontBase User, it connects to the Sample Movie DB and find 1 Record, 
to check the connection.


I think it is best to try to find if this installment is working, and the 
Sample App is working. Then you can go next step to find the problem.


Ken


On 2012/02/28, at 0:02, Gaastra Dennis - WO Lists wrote:

> Dear List,
> 
> Just upgrading several boxes to Lion Server. 
> We applied the standard WO543 Installer and Ken's Wonder wotaskd and 
> WOMonitor from:
> 
> http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy
> 
> BTW: Thanks for making this available
> 
> When clicking on:
> 
> http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
> 
> We see our configured instances nicely listed; however, in Monitor, we all 
> instances "Off" with 1 "Death" for each.
> Also, the URLs (from remotely) don't work and show: The requested application 
> was not found on this server.
> However, in the application instances' log, everything starts up  and stays 
> running nicely. 
> Also,  the instances are running correctly according to ps -ax or sudo lsof 
> -i tcp:
> I don't understand how to debug this; already tried the spawof...ssh, and 
> there everything was OK. Also DNS is working correclty both ways.
> 
> Another weird this is that one of the boxes works correctly every 5 reboots 
> or so.
> 
> Any ideas? Thanks for any assistance.
> 
> 
> -- 
> With Kind Regards,
> 
> Dennis Gaastra, 
> WEBAPPZ®  Systems, Inc.
> (+1) 604.921.1333
> www.webappz.com & www.scheduleDS.com & www.1tracker.com
> 
> 
> 
> 
> 
> This message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secure or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. The sender 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message, which arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version. WEBAPPZ Systems, 
> Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, 
> www.webappz.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
> 
> This email sent to k...@ksroom.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor & wotask SSD Problem.

2012-03-01 Thread ISHIMOTO Ken
I will try and check this script out, looks for an nice solution.

Now, after every Restart I have to kill all Java Apps once, and that is a pain. 

Especially in Active Monitor I can see only Java and nothing more^^

I have an deploy waiting for tomorrow, and will check it out.

Thanks

Ken


On 2012/03/01, at 2:43, Gaastra Dennis - WO Lists wrote:

> Now what booting script do you use to delay starting up wotaskd + 
> JavaMonitor, and do an apache restart afterwards? Something similar to what 
> Simon suggested?
> 
> Thanks
> Dennis
> 
> On 28/Feb/12 11:49 PM, Chuck Hill wrote:
>> 
>> Yes. Four.  :-)
>> 
>> 
>> 
>> On Feb 29, 2012, at 12:48 PM, Gaastra Dennis - WO Lists 
>>  wrote:
>> 
>>> and the webobjects apache configuration WebObjectsConfig 
>>> http://:1085  10
>>> 
>>> On 28/Feb/12 7:49 PM, Chuck Hill wrote:
 
 All three of wotaskd, java monitor, and your apps need to agree on WOHost
 
 
 
 On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists 
  wrote:
 
> Hi Ken et al,
> 
> After restarting the launchdaemons, Monitor seems to be happy with its 
> instances showing as running, but we still get the famous "The requested 
> application was not found on this server."
> 
> Thanks
> Dennis.
> 
> On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote:
>> 
>> Hi,
>> 
>> It looks we have a problem with JavaMonitor and wotask, that had to be 
>> fixed.
>> 
>> I have seen this Problem now on several Machines, and found the problem, 
>> but think about a fix.
>> Maybe the only way is to fix the Apps Javacode itself...
>> 
>> Test Machine was OS X Lion & OS X SnowLeopard
>> 
>> 
>> 
>> What is going on:
>> 
>> The correctway : If the Machine starts
>> 
>> * LaunchD starts the Database
>> 
>> * LaunchD start JavaMonitor & wotask
>> 
>> * wotask will start the Instances
>> 
>> * Everybody is Happy
>> 
>> 
>> 
>> The Problem only appears if the Boot disk is a SSD Drive.
>> 
>> * LaunchD starts the Database
>> 
>> * LaunchD start JavaMonitor & wotask
>> 
>> BUT, JavaMonitor and wotask Launches and try to get the Network 
>> Interface for making work,
>> the OS Networking isn't setup at that time. The Boot was to fast. Both 
>> Apps try for several time,
>> and give up. But running. a Zombi process
>> 
>> * wotask can't start the Instances
>> 
>> The only way after the Launch is to go to Activity Monitor to kill both 
>> processes, LaunchD will boot
>> both again and everybody is happy.
>> 
>> 
>> 
>> 1. Fix 1 : LaunchD Script <- I have no idea if that is possible to say 
>> launch at Boot but delayed or so
>> 
>> 2. Fix 2 : In the javacode after retry the App and can't get a 
>> Connection kill itself, and let launchD boot it again..
>> 
>> 
>> Thank you
>> 
>> Ken Ishimoto
>> 
>> 
>> K's ROOM
>> 
>> [E-Mail]  
>> [iChat:]   
>> [HP]  http://www.ksroom.com/
>> _
>> This e-mail has not been scanned for viruses because it was written on 
>> an Mac,
>> and there are NO Viruses on an Apple Computer.
>> For further information visit http://www.apple.com
>> 
>> 
>> 
>> 
>> 
>> 
>>  ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com
>> 
>> This email sent to webobjects_li...@webappz.com
> 
> 
> -- 
> With Kind Regards,
> 
> Dennis Gaastra, 
> WEBAPPZ®  Systems, Inc.
> (+1) 604.921.1333
> www.webappz.com & www.scheduleDS.com & www.1tracker.com
> 
> 
> 
> 
> 
> This message contains confidential information and is intended only for 
> the individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and 
> delete this e-mail from your system. E-mail transmission cannot be 
> guaranteed to be secure or error-free as information could be 
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
> c

Re: 5.4 uploading large files

2012-03-01 Thread Mike Schrag
Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed the 
response streaming api's to take longs, but didn't fix wohttpio and worequest 
to make them parse content length as long.

ms

On Mar 1, 2012, at 12:55 AM, Mike Schrag wrote:

> i THOUGHT that longs were punched all the way through in 5.4.3, but it 
> certainly appears that was done after 5.4.3 based on this exception .
> 
> On Feb 29, 2012, at 7:20 PM, Gordon Belray wrote:
> 
>> Hi,
>> 
>> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB 
>> file:
>> 
>>  Unable to parse content-length 
>> header: '2255571732'.
>> 
>> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
>> workaround?
>> 
>> Thanks,
>> Gordon
>> 
>> Gordon Belray
>> Information Technology Services 
>> University of Toronto Libraries
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>> 
>> This email sent to msch...@pobox.com
> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 5.4 uploading large files

2012-03-01 Thread Mike Schrag
i THOUGHT that longs were punched all the way through in 5.4.3, but it 
certainly appears that was done after 5.4.3 based on this exception .

On Feb 29, 2012, at 7:20 PM, Gordon Belray wrote:

> Hi,
> 
> I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB file:
> 
>  Unable to parse content-length 
> header: '2255571732'.
> 
> Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a 
> workaround?
> 
> Thanks,
> Gordon
> 
> Gordon Belray
> Information Technology Services 
> University of Toronto Libraries
> 
> 
> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com