Re: WOLips development

2024-11-04 Thread D Tim Cummings via Webobjects-dev

Neither do I

Tim

On 5/11/24 12:11, Dev WO via Webobjects-dev wrote:

Hello Ramsey,

Personally I don’t use any of them.

Thanks for working on this,

Xavier


On 5 Nov 2024, at 08:50, Ramsey Gurley via Webobjects-dev 
 wrote:

Hi all,

I'm doing some work on WOLips currently and I am wondering how many of you 
active WO devs actually use jprofiler or jrebel. Does anyone actually use 
either of those or are they like workspace mechanic where nobody even noticed 
when that went away?

Ramsey

___
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%40anazys.com

This email sent to webobje...@anazys.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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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: wolifecycle-maven-plugin configuration options

2024-04-06 Thread D Tim Cummings via Webobjects-dev

Hi Samuel

Yes. "flattenComponents" is the correct way of doing this. I can't think 
of a reason not to set this.


For migration notes I use 
https://gist.github.com/hugithordarson/3c269a3196d0c4f2da486f1109c16d42


Regards

Tim

On 7/4/24 06:00, Samuel Pelletier via Webobjects-dev wrote:

Hi,

My journey to Maven is going well, I ported 2 shared frameworks I use on every projects 
and my first app. There is many subtle details to go pass a "Hello world !" app.

My last discovery is a problem with component template in sub directory that 
are not found when deployed. I always use directories to group components, my 
app have 10s of them, one with 213...

After some digging, I found a configuration in wolifecycle-maven-plugin that 
resolved this situation.


true


There are some others options available including flattenResources and 
readPatternsets with a basic explanation but no real way to know if they are 
required or desirable and the defaults are disabled.

Is my fix is the correct way to use components in sub directory ?

Is there a reason to have this option disabled by default and in the new 
projects templates ?

Should I also enable flattenResources and readPatternsets ?

BTW, I use the migrations script with few modification from  
https://github.com/getsharp/womavenmigration.

Regards,

Samuel


  ___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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: Maven follow up

2024-04-01 Thread D Tim Cummings via Webobjects-dev

Hi Samuel

I suspect it takes a while for eclipse to download the index before 
searching will work. I have heard it can be about 6GB.


To build and deploy the app I link my maven to an ant build script. Then 
I can install with a command like "mvn clean package -Dinstall_optiplex"




MMddHHmm 





${project.artifactId}${maven.build.timestamp}



maven-antrun-plugin

3.1.0





install-actions

package























run









My build.xml looks like





xmlns:if="ant:if" xmlns:unless="ant:unless">




















value="/var/lib/webobjects/htdocs/WebObjects" />




















value="${remote.host}:Documents/${build.app.name}.woapplication.tar.gz" />








value="${remote.host}:Documents/${build.app.name}.wowebserverresources.tar.gz" 
/>




















































value="${remote.local.root}/${remote.dest.dir}/${build.app.name}.woa" />









On 2/4/24 12:10, Samuel Pelletier wrote:

Tim,

Thank for the reply. I tried the download index on startup but still 
no search.


I do not understand the nature thing but found a preference in Eclipse 
that disable the annoying dialog : "Automatically detect missing 
natures and propose IDE extensions from Marketplace".


Follow up on my component problem, I just found the solution for with 
my framework component, it was related to the order of dependencies 
declaration, like ant, original WebObjects packages need to be after 
wonder ERExtensions...


Is there a way inside Eclipse to do mvn install ?

I still have not figured out how to build and deploy the app (replace 
the ant install and manual rsync to server I actually do)


Regards,

Samuel



Le 1 avr. 2024 à 20:32, D Tim Cummings via Webobjects-dev 
 a écrit :


Hi Samuel

Apparently we need to have the nature 
org.maven.ide.eclipse.maven2Nature in our .project file because it is 
hard-coded in the original WebObjects. I think we should add into 
WOLips that it also needs this nature and then eclipse would stop 
complaining that no plugins are referencing this nature. 
Unfortunately I don't know enough about eclipse plugin development to 
program this.


I don't use search in maven pom editor myself but does this option 
help "Download repository index updates on startup"?





I haven't used maven with my own frameworks so can't help you there.

Tim


On 2/4/24 07:53, Samuel Pelletier via Webobjects-dev wrote:

Hi all,

Sorry for long time since last message, my maven switch had to be postponed.

I manages to set up the basic and create a frameworks and an app.

I have few questions with my current setup.

Why Eclipse always complain about missing nature, the maven stuff is already 
there and working, I always click cancel but the prompt comes back from time to 
time. Is there a way to get rid of this alert ?

In the maven pom editor, the search function does not works, even for maven 
central libraries... This search seems a time saver tool I would like to use 
instead of copy paste from maven central...

I ported a frameworks but when I want to use it's component (TimeField here), I have this 
error: "Cannot find class or component named 'TimeField" in runtime or in a loadable 
bundle"

BTW, I did "mvn install" to have the framework in my local maven repository and 
it's sources are in my current workspace.

Thank in advance for help!

Samuel



  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au

___
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/samuel%40samkar.com

This email sent to sam...@samkar.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: Maven follow up

2024-04-01 Thread D Tim Cummings via Webobjects-dev

Hi Samuel

Apparently we need to have the nature org.maven.ide.eclipse.maven2Nature 
in our .project file because it is hard-coded in the original 
WebObjects. I think we should add into WOLips that it also needs this 
nature and then eclipse would stop complaining that no plugins are 
referencing this nature. Unfortunately I don't know enough about eclipse 
plugin development to program this.


I don't use search in maven pom editor myself but does this option help 
"Download repository index updates on startup"?



I haven't used maven with my own frameworks so can't help you there.

Tim


On 2/4/24 07:53, Samuel Pelletier via Webobjects-dev wrote:

Hi all,

Sorry for long time since last message, my maven switch had to be postponed.

I manages to set up the basic and create a frameworks and an app.

I have few questions with my current setup.

Why Eclipse always complain about missing nature, the maven stuff is already 
there and working, I always click cancel but the prompt comes back from time to 
time. Is there a way to get rid of this alert ?

In the maven pom editor, the search function does not works, even for maven 
central libraries... This search seems a time saver tool I would like to use 
instead of copy paste from maven central...

I ported a frameworks but when I want to use it's component (TimeField here), I have this 
error: "Cannot find class or component named 'TimeField" in runtime or in a loadable 
bundle"

BTW, I did "mvn install" to have the framework in my local maven repository and 
it's sources are in my current workspace.

Thank in advance for help!

Samuel



  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: FORBIDDEN

2023-11-18 Thread D Tim Cummings via Webobjects-dev

https://jenkins.wocommunity.org/job/WOLips_master/lastSuccessfulBuild/artifact/temp/dist/

On 19/11/23 04:31, Theodore Petrosky via Webobjects-dev wrote:

What are you using as the URL to update/install WOLips?




On Nov 18, 2023, at 1:25 PM, Jesse Tayler  wrote:

Yes, the wiki is DOWN — I noticed that literally yesterday or the day 
before and forgot to mention —


Who’s hosting it?



On Nov 18, 2023, at 12:19 PM, Theodore Petrosky via Webobjects-dev 
 wrote:


I am trying to set ups new computer and I am getting a


  Forbidden

You don't have permission to access this resource.

At this URL

https://wiki.wocommunity.org/display/documentation/How-tos

Help please!!
___
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/jtayler%40oeinc.com

This email sent tojtay...@oeinc.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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: AjaxAutoComplete

2023-11-11 Thread D Tim Cummings via Webobjects-dev

Hi Stavros

Sorry to mislead you. I thought you were looking for the behaviour of 
AjaxObserveField to send updated data back to the server immediately 
rather than updating a container on the current page. There may be a way 
to do what you ask but I have never tried it. Maybe you could put some 
javascript in afterUpdateElement to update a different field which is in 
an AjaxObserveField.


Regards

Tim

On 10/11/23 20:55, Stavros Panidis wrote:

Tim,

Sorry!. I could not put it to work. I am sure that I am making 
something wrong.


My AjaxAutocomplete is

class = "form-control" list = "$currentValuesForCustomers" selection = 
"$global" value = "$value" item = "$currentValue" />


And then I have a AjaxObserveField as follows


"invoiceslist" action = "$customerSelected">


Can you see what I am doing wrong?

Stavros




On 9 Nov 2023, at 10:00 PM, webobjects-dev-requ...@lists.apple.com wrote:

Send Webobjects-dev mailing list submissions to
webobjects-dev@lists.apple.com

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.apple.com/mailman/listinfo/webobjects-dev
or, via email, send a message with subject or body 'help' to
webobjects-dev-requ...@lists.apple.com

You can reach the person managing the list at
webobjects-dev-ow...@lists.apple.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Webobjects-dev digest..."


Today's Topics:

  1. AjaxAutoComplete (Stavros Panidis)
  2. Re: AjaxAutoComplete (D Tim Cummings)
  3. Re: AjaxAutoComplete (Jesse Tayler)


--

Message: 1
Date: Thu, 9 Nov 2023 09:54:40 +0200
From: Stavros Panidis 
To: webobjects-dev@lists.apple.com
Subject: AjaxAutoComplete
Message-ID: 
Content-Type: text/plain;charset=us-ascii

Hi,

Is there any trick available to make AjaxAutoComplete field 
observable (by AjaxAobserveField) ?


Many thanks in advance for your help

Stavros

--

Message: 2
Date: Thu, 9 Nov 2023 20:00:33 +1000
From: D Tim Cummings 
To: webobjects-dev@lists.apple.com
Subject: Re: AjaxAutoComplete
Message-ID: 
Content-Type: text/plain; charset=UTF-8; format=flowed

Set parameter afterUpdateElement to "observe" and it will behave like it
is in an AjaxObserveField



Tim

On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:

Hi,

Is there any trick available to make AjaxAutoComplete field 
observable (by AjaxAobserveField) ?


Many thanks in advance for your help

Stavros
 ___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au



------

Message: 3
Date: Thu, 9 Nov 2023 12:00:52 -0500
From: Jesse Tayler 
To: D Tim Cummings 
Cc: webobjects-dev@lists.apple.com
Subject: Re: AjaxAutoComplete
Message-ID: <48f21de2-2301-4c1f-a473-25d1850a4...@oeinc.com>
Content-Type: text/plain; charset="utf-8"

I have used Ajax quite easily on a couple of components and for some 
reason, implementing even the simplest test was failing on updating a 
component of a similar sort.


Before I make a wholly new component ? are there flags or tests aside 
from jQuery which seems fine? I don?t readily see why this just isn?t 
seemingly observing and updating the way I expect?


Thoughts?

On Nov 9, 2023, at 5:00 AM, D Tim Cummings via Webobjects-dev 
 wrote:


Set parameter afterUpdateElement to "observe" and it will behave 
like it is in an AjaxObserveField


"$theCustomerName" afterUpdateElement = "observe" />


Tim

On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:

Hi,

Is there any trick available to make AjaxAutoComplete field 
observable (by AjaxAobserveField) ?


Many thanks in advance for your help

Stavros
___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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/jtayler%40oeinc.com

This email sent to jtay...@oeinc.com


-- next part --
An HTML attachment was scrubbed...
URL: 
<https://lists.apple.com/archives/webobjects-dev/attachments/20231109/a4ce1245/attachment.htm>


--

Re: AjaxAutoComplete

2023-11-09 Thread D Tim Cummings via Webobjects-dev
Set parameter afterUpdateElement to "observe" and it will behave like it 
is in an AjaxObserveField


"$theCustomerName" afterUpdateElement = "observe" />


Tim

On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:

Hi,

Is there any trick available to make AjaxAutoComplete field observable (by 
AjaxAobserveField) ?

Many thanks in advance for your help

Stavros
  ___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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: Deployment Ubuntu 22.04

2023-10-01 Thread D Tim Cummings via Webobjects-dev
I have deployed to ubuntu 22.04. I have added the steps I used to 
wocommunity wiki


https://wiki.wocommunity.org/display/documentation/Deploying+on+Ubuntu+22.04

Tim

On 1/10/23 18:15, Stavros Panidis via Webobjects-dev wrote:

Hi all,

Anyone tried to deploy to Ubuntu 22.04? Any issues?

Many thanks in advance

Stavros
  ___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au

___
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: New installation WOLips problems

2023-09-17 Thread D Tim Cummings via Webobjects-dev

To get EOModeler to work in Eclipse 2022-12 you need WOLips_master

https://jenkins.wocommunity.org/job/WOLips_master/lastSuccessfulBuild/artifact/temp/dist/

Tim

On 16/9/23 17:43, Stavros Panidis via Webobjects-dev wrote:

Hi again

I downloaded and installed Eclipse ID version 2022-12 (4.26.0)

Now everything inconcerning WOLips is working except EOModel. Details 
as follows:


java.lang.NoClassDefFoundError: org/eclipse/jface/util/Assert
at 
org.objectstyle.wolips.baseforuiplugins.utils.KeyComboBoxCellEditor.setItems(KeyComboBoxCellEditor.java:171)
at 
org.objectstyle.wolips.baseforuiplugins.utils.KeyComboBoxCellEditor.(KeyComboBoxCellEditor.java:151)

etc…

With my poor knowledge I understand that this is a problem of WOLips 
plugin with new releases of Eclipse.


Can anyone let me know what is the latest version of Eclipse (aarch64) 
which can be used with WOLips plugin downloaded from


https://jenkins.wocommunity.org/job/WOLips410/lastSuccessfulBuild/artifact/temp/dist/

Many thanks in advance


Stavros

  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: Help ..!!

2023-04-21 Thread D Tim Cummings via Webobjects-dev

You probably want to alter build.properties

jvmOptions=--add-exports=java.base/sun.security.action=ALL-UNNAMED

For example see pull request 
https://github.com/wocommunity/wonder/pull/998 for wotaskd and JavaMonitor


On 22/4/23 07:24, Kwasi O-Ahoofe via Webobjects-dev wrote:
How do I correct this for an WOLips Installed Project Wonder 
Application?:


Error Message is:

2023-04-21 17:18:22,674 {MMM dd HH:mm:ss} 
ProjectComplianceWonderProduction[64177] WARN  NSLog  - A fatal 
exception occurred: class com.webobjects.foundation.NSTimeZone (in 
unnamed module @0x6f3c660a) cannot access class 
sun.security.action.GetPropertyAction (in module java.base) because 
module java.base does not export sun.security.action to unnamed module 
@0x6f3c660a


[2023-4-21 17:18:22 EDT]  java.lang.IllegalAccessError: class 
com.webobjects.foundation.NSTimeZone (in unnamed module @0x6f3c660a) 
cannot access class sun.security.action.GetPropertyAction (in module 
java.base) because module java.base does not export 
sun.security.action to unnamed module @0x6f3c660a


at 
com.webobjects.foundation.NSTimeZone.systemTimeZone(NSTimeZone.java:971)


at 
com.webobjects.foundation.NSTimeZone.defaultTimeZone(NSTimeZone.java:818)


at 
com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTimestampFormatter.java:734)


.
.

APPLICATION SHUTDOWN SEQUENCE COMPLETE


Thanks

Kwasi

  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: Exception within EOModeler

2023-01-09 Thread D Tim Cummings via Webobjects-dev
Thanks Ralf for solving this problem. Your effort is much appreciated. I 
had a quick look in the eclipse plugin documentation to see what was 
required and I couldn't even find the new packages which were to replace 
the removed packages.


Thanks Ramsey for committing these changes and letting us know.

Tim

On 9/1/23 23:26, Aaron Rosenzweig via Webobjects-dev wrote:

I’m a poet and didn’t know it :-)

On Jan 9, 2023, at 1:36 AM, Ramsey Gurley 
 wrote:


>Wonderful way

I see what you did there :)

*From:*Aaron Rosenzweig 
*Sent:*Monday, January 9, 2023 12:31 PM
*To:*Ramsey Gurley 
*Cc:*André Rothe ; Paul Yu ; 
Webobjects-dev 

*Subject:*Re: Exception within EOModeler
Thank you Ralf and Ramsey :-) Wonderful way to start the new year :-)

On Jan 8, 2023, at 6:34 PM, Ramsey Gurley via Webobjects-dev 
 wrote:


This is fixed now thanks to some contributions from Ralf Schuchardt. 
The WOLips_master build is successful and it seems to work as 
expected under 2022-12 for me.


*From:*Paul Yu via Webobjects-dev 
*Sent:*Monday, December 26, 2022 11:53 PM
*To:*André Rothe 
*Cc:*Webobjects-dev 
*Subject:*Re: Exception within EOModeler
Yeah, if we don’t fix the APIs in WOLips/TBLips, these plugins will 
be dead now.


Paul

Sent from my iPad

> On Dec 26, 2022, at 6:36 AM, André Rothe  
wrote:

>
> Hi Paul,
>
> The previous Eclipse version works
>
> Version: 2022-09 (4.25.0)
> Build id: 20220908-1902
>
> Best regards
> André
>
> Am 25.12.2022 11:41, schrieb Paul Yu:
>> Andre
>> That API has been removed in Eclipse 2022-12.   You have to fall back
>> to 2022-09.
>> Paul
 ___
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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apple.com%2Fmailman%2Foptions%2Fwebobjects-dev%2Framsey.gurley%2540practicemojo.com&data=05%7C01%7Cramsey.gurley%40practicemojo.com%7C61c23e75f45d4924fd1a08dae7510aa5%7Cde0a512999d34d35a92809047a134775%7C0%7C0%7C638076632519390613%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PH4Karml8zzBVUbIBCEiDqDhB2AXnvzuxH5h6uBxGoA%3D&reserved=0 



This email sent toramsey.gur...@practicemojo.com

*Confidentiality Notice:*/This email, including all attachments and 
replies thereto, are covered by the Electronic Communications 
Privacy Act, 18 U.S.C. Sections 2510-2521 and are legally 
privileged. This information is confidential, and intended only for 
the use of the individuals or entities named above. If you are not 
the intended recipient, you are hereby notified that any disclosure, 
copying, distribution or the taking of any action in reliance on the 
contents of this transmitted information is strictly prohibited. 
Please notify us if you have received this transmission in error. 
Thank you./

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



This email sent toaa...@chatnbike.com



*Confidentiality Notice:*/This email, including all attachments and 
replies thereto, are covered by the Electronic Communications Privacy 
Act, 18 U.S.C. Sections 2510-2521 and are legally privileged. This 
information is confidential, and intended only for the use of the 
individuals or entities named above. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the taking of any action in reliance on the conten

Re: WebObjects Docker Deployment

2022-08-15 Thread D Tim Cummings via Webobjects-dev
Hi Oleksii, I read your post and it was great. Removing wotaskd from a 
deployment is enticing. One thing I can do with wotaskd/womonitor 
deployments is upgrade the webobjects application to a new version 
without taking down the application for users who are currently logged 
in. They continue using their old instance until they log out and log 
back in, at which stage they get the new instance. I haven't been able 
to achieve this with tomcat or jetty. I am interested in your second 
last example which uses traefik but not jetty and wonder if this 
deployment scenario is possible.


I tried using webojects and servlets many years ago and didn't enjoy the 
experience. The fact that I would be limited to jetty 9 (which is end of 
life since April 2022) is not encouraging me to try it again.


Tim


On 15/8/22 07:20, Oleksii Serhiienko via Webobjects-dev wrote:


Good evening everyone,


In the past, I was working with a WebObjects application which was 
migrated to the Cloud.


To share more findings and experience, I have created a demo 
application 


You should be able to run with docker-compose and docker swarm.

I have some more explanations in the post I made 
 and 
some helpful docker images .



Hope, my experience will be helpful and feel free to ask some questions.


best,

Oleksii



  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: [Proposal] Drop Wonder's Ant Build

2022-07-29 Thread D Tim Cummings via Webobjects-dev

Thanks Hugi

That worked.

Maven didn't copy the built frameworks into 
/Library/WebObjects/Local/Library/Frameworks like the ant install used 
to (sudo ant -Duser.home=$HOME frameworks.install). But my apps are 
maven now so they don't need that except for when I was eogenerating. I 
changed default.eogen to point to the built framework in the source code


refmodel 
../wonder/Frameworks/Core/ERPrototypes/target/ERPrototypes.framework/Resources/erprototypes.eomodeld 
\


and eogenerate worked.

In fact I could have just pointed to the model without building

refmodel 
../wonder/Frameworks/Core/ERPrototypes/Resources/erprototypes.eomodeld \


Cheers

Tim

On 29/7/22 22:05, Hugi Thordarson wrote:

Hi Tim,
currently the easiest way to build Wonder on JDK 17 is to comment out 
ERProfiling and ERXiss in Frameworks/Misc/pom.xml (given that you 
don't use those two).


Time to revisit this, I guess…

https://github.com/wocommunity/wonder/pull/944

Cheers,
- hugi


On 29 Jul 2022, at 00:19, D Tim Cummings via Webobjects-dev 
 wrote:


FYI, these URLs have changed to the following

https://gist.github.com/hugithordarson/3c269a3196d0c4f2da486f1109c16d42

https://gist.github.com/hugithordarson/d2ba6da9e4942f4ece95d7a721159cd1


And by the way, how do I build wonder with maven? I need the 
frameworks built so I can use eogenerate. I tried


cd Frameworks

mvn clean install

I get

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
(default-compile) on project ERProfiling: Compilation failure: 
Compilation failure:
[ERROR] 
/home/tim/git/wonder/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:[8,16] 
cannot find symbol

[ERROR]   symbol:   class Resource
[ERROR]   location: package sun.misc

I am using Java 17 on Ubuntu 22.04

Thanks in advance

Tim

On 17/6/22 09:26, Hugi Thordarson via Webobjects-dev wrote:
Thanks for raising the issue Henrique! It probably comes as no 
surprise that I support this :).


Ted; just to clarify, this proposal only applies to the building of 
Wonder itself. Wonder's maven build generates artifacts/bundles that 
can be consumed by Ant applications, so nothing changes in that 
regard (and if you're using the builds from jenkins.wocommunity.org 
<http://jenkins.wocommunity.org/>, you're already using the maven 
built frameworks).
In other words, this won't affect you unless you're building Wonder 
yourself (and if you are, that's very easy to do with maven).


That being said, if you still want to try out maven for your own 
projects (which I do recommend) the maven wiki docs do indeed need 
some work. Probably time to finally start working on that…
But we mavenistas tend to be helpful if you want to give it a go! 
And until the docs get some lovin',  here are a couple of documents 
that can help you off the ground:


https://gist.github.com/hugith/d2ba6da9e4942f4ece95d7a721159cd1
https://gist.github.com/hugith/3c269a3196d0c4f2da486f1109c16d42

Cheers,
- hugi


On 16 Jun 2022, at 22:47, Theodore Petrosky via Webobjects-dev 
 wrote:


What about us guys whose projects are smallish projects and never 
instituted Maven...


Riddle me this how are the docs or examples on the Wiki to 
implement Maven?


Can you point me to some good references so I can come on board?

Ted


On 6/16/22, 6:42 PM, "Henrique Prange via Webobjects-dev" 
 wrote:


   Hey guys,

   I've been talking to other Wonder users/committers lately. 
Keeping the Ant build configuration up to date in Wonder is 
becoming increasingly counterproductive. Most of us have been using 
Maven for years. As a result, our environments are not prepared to 
build the project with Ant, making it hard to check if we broke 
something after every change. For this reason, I'd like to propose 
the removal of the Ant build configuration from project Wonder.


   What do you think?

   Cheers,

   HP
___
   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/tpetrosky%40agencysacks.com

   This email sent to tpetro...@agencysacks.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/hugi%40karlmenn.is

This email sent to h...@karlmenn.is



  ___
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

Re: [Proposal] Drop Wonder's Ant Build

2022-07-28 Thread D Tim Cummings via Webobjects-dev

FYI, these URLs have changed to the following

https://gist.github.com/hugithordarson/3c269a3196d0c4f2da486f1109c16d42

https://gist.github.com/hugithordarson/d2ba6da9e4942f4ece95d7a721159cd1


And by the way, how do I build wonder with maven? I need the frameworks 
built so I can use eogenerate. I tried


cd Frameworks

mvn clean install

I get

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
(default-compile) on project ERProfiling: Compilation failure: 
Compilation failure:
[ERROR] 
/home/tim/git/wonder/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:[8,16] 
cannot find symbol

[ERROR]   symbol:   class Resource
[ERROR]   location: package sun.misc

I am using Java 17 on Ubuntu 22.04

Thanks in advance

Tim

On 17/6/22 09:26, Hugi Thordarson via Webobjects-dev wrote:
Thanks for raising the issue Henrique! It probably comes as no 
surprise that I support this :).


Ted; just to clarify, this proposal only applies to the building of 
Wonder itself. Wonder's maven build generates artifacts/bundles that 
can be consumed by Ant applications, so nothing changes in that regard 
(and if you're using the builds from jenkins.wocommunity.org 
, you're already using the maven built 
frameworks).
In other words, this won't affect you unless you're building Wonder 
yourself (and if you are, that's very easy to do with maven).


That being said, if you still want to try out maven for your own 
projects (which I do recommend) the maven wiki docs do indeed need 
some work. Probably time to finally start working on that…
But we mavenistas tend to be helpful if you want to give it a go! And 
until the docs get some lovin',  here are a couple of documents that 
can help you off the ground:


https://gist.github.com/hugith/d2ba6da9e4942f4ece95d7a721159cd1
https://gist.github.com/hugith/3c269a3196d0c4f2da486f1109c16d42

Cheers,
- hugi


On 16 Jun 2022, at 22:47, Theodore Petrosky via Webobjects-dev 
 wrote:


What about us guys whose projects are smallish projects and never 
instituted Maven...


Riddle me this how are the docs or examples on the Wiki to 
implement Maven?


Can you point me to some good references so I can come on board?

Ted


On 6/16/22, 6:42 PM, "Henrique Prange via Webobjects-dev" 
 wrote:


   Hey guys,

   I've been talking to other Wonder users/committers lately. Keeping 
the Ant build configuration up to date in Wonder is becoming 
increasingly counterproductive. Most of us have been using Maven for 
years. As a result, our environments are not prepared to build the 
project with Ant, making it hard to check if we broke something after 
every change. For this reason, I'd like to propose the removal of the 
Ant build configuration from project Wonder.


   What do you think?

   Cheers,

   HP
___
   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/tpetrosky%40agencysacks.com

   This email sent to tpetro...@agencysacks.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/hugi%40karlmenn.is

This email sent to h...@karlmenn.is



  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: [Proposal] Drop Wonder's Ant Build

2022-06-16 Thread D Tim Cummings via Webobjects-dev
I also support this proposal. Thanks for maintaining and improving 
wonder Henrique et al.


Tim

On 17/6/22 09:58, Paul Hoadley via Webobjects-dev wrote:
On 17 Jun 2022, at 08:12, Henrique Prange via Webobjects-dev 
 wrote:



What do you think?


I fully support this proposal.


--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/


  ___
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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: Weird apache crash in Ubuntu

2022-02-28 Thread D Tim Cummings via Webobjects-dev

Hi Patrick

After installing apache on ubuntu I type the following to use the 
prefork version


sudo a2dismod mpm_event
sudo a2enmod mpm_prefork

Regards

Tim

On 1/3/22 09:58, Patrick Abuzeni via Webobjects-dev wrote:

Thank you Samuel. Can you elaborate a bit more.


Best Regards,

Patrick Abuzeni, MD

www.xeoTECH.com 

The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination 
or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient 
is prohibited. If you received this information in error, please 
contact the sender and delete the message and material from all computers.



On Feb 28, 2022, at 4:42 PM, Samuel Pelletier  wrote:

Hi Patrick,

Your apache mp3 is probably set to something other than prefork. The 
WOAdaptor does not support threaded mpm.


Regards,

Samuel


Le 28 févr. 2022 à 14:22, Patrick Abuzeni via Webobjects-dev 
 a écrit :



Hello everyone

Have a Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-90-generic x86_64) cloud 
server with a number of WO applications deployed. WOAdapter was 
compiled on the server. Apache (Server version: Apache/2.4.41 
(Ubuntu)) is regularly crashing and for no reason. The application 
remains unaffected but an error does pop up on the page from time to 
time and occasionally going to next page hangs. Are considering 
running the applications without the WOAdapter and wonder if anyone 
has seen this and if there is a way to get around this error maybe 
without resorting to the mod_proxy?


[Mon Feb 28 11:55:57.449896 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 754580 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2
[Mon Feb 28 12:08:20.227915 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 754978 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2
[Mon Feb 28 12:08:20.227987 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 755017 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2
[Mon Feb 28 12:08:20.228009 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 755302 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2
[Mon Feb 28 13:11:34.192992 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 755479 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2

double free or corruption (out)
[Mon Feb 28 13:32:56.523508 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 756719 exit signal Aborted (6), 
possible coredump in /etc/apache2
[Mon Feb 28 13:33:39.569401 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 755371 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2
[Mon Feb 28 13:34:42.635028 2022] [core:notice] [pid 719456:tid 
140259097431104] AH00051: child pid 757457 exit signal Segmentation 
fault (11), possible coredump in /etc/apache2

[Mon Feb 28 13:50:2

The "possible coredump" is a tease and is non-existent.


Best Regards,

Patrick Abuzeni, MD

www.xeoTECH.com 

The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance 
upon, this information by persons or entities other than 
the intended recipient is prohibited. If you received this 
information in error, please contact the sender and delete the 
message and material from all computers.


___
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/samuel%40samkar.com

This email sent to sam...@samkar.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/tim%40triptera.com.au

This email sent to...@triptera.com.au ___
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: How often do you bounce your apps?

2020-08-05 Thread D Tim Cummings via Webobjects-dev
Daily for us. Once every few months we get an instance hanging and it is clear 
at the start of the day that it has hung because it hasn’t restarted overnight.

Tim

> On 6 Aug 2020, at 05:37, Lon Varscsak via Webobjects-dev 
>  wrote:
> 
> We don't bounce our apps unless we do a release or if there's an instance 
> that hangs.
> 
> -Lon
> 
> On Wed, Aug 5, 2020 at 9:09 AM Theodore Petrosky via Webobjects-dev 
> mailto:webobjects-dev@lists.apple.com>> 
> wrote:
> My apps upload pdfs. As Java keeps the temp file that was uploaded until the 
> app that did the upload quits, I bounce my apps every night to clean things 
> up.
> 
> Ted
> 
>> On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> I never bounce them - even with EOF ;)
>> 
>>> On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> What do you use to keep an eye on memory? JAVA has such an old-school 
>>> approach with the VM I use AWS and really don’t have any good automated 
>>> visualizing report on how instances or JAVA is running under the hood.
>>> 
>>> My apps seem to run for a long time as a few times my scheduler has failed 
>>> and they racked up 10X or even 100X normal sessions, but who knows what the 
>>> user patterns were really — I have had to increase my JAVA VM and set 
>>> memory stuff from JavaMonitor to keep things sane.
>>> 
>>> 
>>> 
 On Aug 5, 2020, at 3:35 AM, Jérémy DE ROYER via Webobjects-dev 
 mailto:webobjects-dev@lists.apple.com>> 
 wrote:
 
 Hi Aaron,
 
 (I’m still using EOF) and, for the main apps, I bounce every morning.
 
 After updates I sometimes forget to activate the schedules without any 
 problems… but I’m used to do it in the pasts where I had a lot of meomry 
 leaks so I still do it.
 
 Jérémy
 
> Le 5 août 2020 à 00:04, Hugi Thordarson via Webobjects-dev 
> mailto:webobjects-dev@lists.apple.com>> 
> a écrit :
> 
> Never. Uptime on my apps is usually weeks or months.
> 
> Cycled regularly when I used EOF though. That thing leaks.
> 
> - hugi
> 
> 
> 
>> On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> Personally I feel better bouncing my .woa instances daily. Even if it is 
>> a small site I have at least two instances and I gracefully cycle them 
>> on a daily schedule. I feel better knowing that it is fresh every 
>> morning for the new day. 
>> 
>> On the other hand, I could see an argument that a java app shouldn’t 
>> have any memory leaks. The garbage collector should get everything. If 
>> it cannot do so, then you’ve got something messed up in your app that 
>> you should track down and rectify. So maybe it’s better to just leave 
>> your .woa instances running forever until the next redeployment to get 
>> new features. 
>> 
>> What does the community do? Do you cycle often (daily, twice per day, or 
>> once per week) or do you leaving your instances running without a 
>> scheduled restart? 
>> 
>> Thanks to all those who chime in :-)
>> ___
>> 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/hugi%40karlmenn.is
>>  
>> 
>> 
>> This email sent to h...@karlmenn.is 
> 
> ___
> 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/jeremy.deroyer%40ingencys.net
>  
> 
> 
> This email sent to jeremy.dero...@ingencys.net 
> 
 
 ___
 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/jtayler%40oeinc.com 
 
 
 This email sent to jtay...@oeinc.com 
>>> 

Re: WebObjects and prototype.js

2019-02-28 Thread D Tim Cummings
Hi Aaron

I found a solution. It can be fixed by changing the way the container tags were 
nested in AjaxAutocomplete. I have created a pull request with the fix. I would 
appreciate if you could test it. 

https://github.com/wocommunity/wonder/pull/906 
<https://github.com/wocommunity/wonder/pull/906>

Regards

Tim Cummings


> On 26 Feb 2019, at 00:26, Aaron Rosenzweig  wrote:
> 
> Hi Tim and WOFriends,
> 
> Thanks for the update - that could be what we were experiencing. Our page was 
> rather long… it might have showed the auto-completer way down out of view - I 
> don’t know - but that is what you appear to be suggesting and very well could 
> be it. 
> 
> For us, the “solution” was to make a fork of current wonder and replace the 
> version of prototype with the blessed one for the version of Scriptaculous in 
> Wonder. I believe that was Prototype v1.7.0 (going from memory, not verifying 
> right now). It’s whatever version that originally shipped with Scriptaculous 
> and there is not a newer version of Scriptaculous to upgrade too - that 
> project appears dead. 
> 
> So it’s not ideal - next time we update Wonder we’ll have to replace 
> prototype - or build something different. Anyway - I stuck my finger in the 
> dike and moved on. 
> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319
>   
> 
>> On Feb 25, 2019, at 12:54 AM, D Tim Cummings > <mailto:t...@triptera.com.au>> wrote:
>> 
>> Aaron
>> 
>> I have just updated to the latest Wonder and found that the Ajax 
>> Autocomplete is working but the location of the drop-down menu is located 
>> much further down the screen rather than next to the textfield where the 
>> user is typing. I need to fix it also so I am keen to hear if you come 
>> across a solution. 
>> 
>> For example running the old Wonder and the new Wonder on the same data, the 
>> div where the suggestions are have different values of 'top'. Sometimes the 
>> differences are big and sometimes small so I think it is related to other 
>> html on the same page. This is why it looks like it is working on simple 
>> examples.
>> 
>> OLD GENERATED HTML
>> 
>>  
>>   > style="position: absolute; left: 670px; top: 855px; width: 144px; ">
>> 
>>   FMFRANK
>> 
>> 
>> NEW GENERATED HTML
>> 
>> 
>>   > style="position: absolute; left: 670px; top: 1197px; width: 138px; ">
>> 
>>   FMFRANK
>> 
>> 
>> In this example, 855px correctly places the drop-down menu while 1197px 
>> places the drop-down menu off the screen.
>> 
>> Regards
>> 
>> Tim Cummings
>> 
>> 
>>> On 14 Feb 2019, at 06:03, Aaron Rosenzweig >> <mailto:aa...@chatnbike.com>> wrote:
>>> 
>>> Yes it is a bit of a mystery.
>>> 
>>> Without any errors in the JS console of the web browser and no errors in 
>>> the java console either… it is silently not working.
>>> 
>>> When I say “not working” mean the suggestions in the drop-down menu do not 
>>> display. There is no menu - it seems like there is no autocomplete at all. 
>>> No border, no remnant, nothing. 
>>> 
>>> Thank you Samuel for taking time to make a simpler example and finding that 
>>> it still worked. I cannot explain it. There must be something else subtle 
>>> that is not clear. Maybe it *is* working but is somehow not visible with 
>>> z-index and whatnot… no idea really just spouting BS now. 
>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>>> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319
>>> 
>>> 
>>>> On Feb 13, 2019, at 2:41 PM, Samuel Pelletier >>> <mailto:sam...@samkar.com>> wrote:
>>>> 
>>>> Aaron,
>>>> 
>>>> I notice that you did not use the item and display string, i.e. use only a 
>>>> text form of auto complete. I tried to simplify one use and it still works.
>>>> 
>>>> Did the value got set when user is typing and the suggestion getter called 
>>>> ?
>>>> 
>>>> You may have another problem in the page that block the javascript 
>>>> execution during the initialization...
>>>> 
>>>> Another thing that may differ is the usage (or non usage) of javascript 
>>>> files .min versions, I use the full versions even on production.
>>&g

Re: WebObjects and prototype.js

2019-02-24 Thread D Tim Cummings
The problem with AjaxAutoComplete depends on how far down you have scrolled the 
page before typing in the textfield. Simple examples at the top of the page 
work fine. If you have scrolled down 200px before typing then the drop-down 
menu will be 200px below the textfield it is related to.

Tim

> On 25 Feb 2019, at 15:54, D Tim Cummings  wrote:
> 
> Aaron
> 
> I have just updated to the latest Wonder and found that the Ajax Autocomplete 
> is working but the location of the drop-down menu is located much further 
> down the screen rather than next to the textfield where the user is typing. I 
> need to fix it also so I am keen to hear if you come across a solution. 
> 
> For example running the old Wonder and the new Wonder on the same data, the 
> div where the suggestions are have different values of 'top'. Sometimes the 
> differences are big and sometimes small so I think it is related to other 
> html on the same page. This is why it looks like it is working on simple 
> examples.
> 
> OLD GENERATED HTML
> 
>  
>style="position: absolute; left: 670px; top: 855px; width: 144px; ">
> 
>   FMFRANK
> 
> 
> NEW GENERATED HTML
> 
> 
>style="position: absolute; left: 670px; top: 1197px; width: 138px; ">
> 
>   FMFRANK
> 
> 
> In this example, 855px correctly places the drop-down menu while 1197px 
> places the drop-down menu off the screen.
> 
> Regards
> 
> Tim Cummings
> 
> 
>> On 14 Feb 2019, at 06:03, Aaron Rosenzweig > <mailto:aa...@chatnbike.com>> wrote:
>> 
>> Yes it is a bit of a mystery.
>> 
>> Without any errors in the JS console of the web browser and no errors in the 
>> java console either… it is silently not working.
>> 
>> When I say “not working” mean the suggestions in the drop-down menu do not 
>> display. There is no menu - it seems like there is no autocomplete at all. 
>> No border, no remnant, nothing. 
>> 
>> Thank you Samuel for taking time to make a simpler example and finding that 
>> it still worked. I cannot explain it. There must be something else subtle 
>> that is not clear. Maybe it *is* working but is somehow not visible with 
>> z-index and whatnot… no idea really just spouting BS now. 
>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319
>>  
>> 
>>> On Feb 13, 2019, at 2:41 PM, Samuel Pelletier >> <mailto:sam...@samkar.com>> wrote:
>>> 
>>> Aaron,
>>> 
>>> I notice that you did not use the item and display string, i.e. use only a 
>>> text form of auto complete. I tried to simplify one use and it still works.
>>> 
>>> Did the value got set when user is typing and the suggestion getter called ?
>>> 
>>> You may have another problem in the page that block the javascript 
>>> execution during the initialization...
>>> 
>>> Another thing that may differ is the usage (or non usage) of javascript 
>>> files .min versions, I use the full versions even on production.
>>> 
>>> Samuel
>>> 
>>> 
>>>> Le 13 févr. 2019 à 14:01, Aaron Rosenzweig >>> <mailto:aa...@chatnbike.com>> a écrit :
>>>> 
>>>> Hi, actual neither of us are using “local” I didn’t remember the default 
>>>> and assumed it was true. Appears the default is false, I was just 
>>>> explicitly setting it. 
>>>> 
>>>> So I don’t know why it works for you but not for us with Prototype 1.7.3
>>>> 
>>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>>>> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319
>>>>
>>>> 
>>>>> On Feb 13, 2019, at 2:00 PM, Aaron Rosenzweig >>>> <mailto:aa...@chatnbike.com>> wrote:
>>>>> 
>>>>> Hi Everyone especially Samuel!
>>>>> 
>>>>> This is what our code looks like:
>>>>> 
>>>>> >>>> isLocal = "$false" afterUpdateElement = "$afterUpdateElementAction" 
>>>>> frequency = "0.2" />
>>>>> 
>>>>> >>>> "$submitUserSelectedValueCustomFunction" updateContainerID = 
>>>>> "$checkMarkContainerID" action = "$userSelectedFreeFormAddressText" />   
>>>>> 
>>>>> Note: the "afterUpdateElementAction" is javas

Re: WebObjects and prototype.js

2019-02-24 Thread D Tim Cummings
Aaron

I have just updated to the latest Wonder and found that the Ajax Autocomplete 
is working but the location of the drop-down menu is located much further down 
the screen rather than next to the textfield where the user is typing. I need 
to fix it also so I am keen to hear if you come across a solution. 

For example running the old Wonder and the new Wonder on the same data, the div 
where the suggestions are have different values of 'top'. Sometimes the 
differences are big and sometimes small so I think it is related to other html 
on the same page. This is why it looks like it is working on simple examples.

OLD GENERATED HTML

 
  

  FMFRANK


NEW GENERATED HTML


  

  FMFRANK


In this example, 855px correctly places the drop-down menu while 1197px places 
the drop-down menu off the screen.

Regards

Tim Cummings


> On 14 Feb 2019, at 06:03, Aaron Rosenzweig  wrote:
> 
> Yes it is a bit of a mystery.
> 
> Without any errors in the JS console of the web browser and no errors in the 
> java console either… it is silently not working.
> 
> When I say “not working” mean the suggestions in the drop-down menu do not 
> display. There is no menu - it seems like there is no autocomplete at all. No 
> border, no remnant, nothing. 
> 
> Thank you Samuel for taking time to make a simpler example and finding that 
> it still worked. I cannot explain it. There must be something else subtle 
> that is not clear. Maybe it *is* working but is somehow not visible with 
> z-index and whatnot… no idea really just spouting BS now. 
> AARON ROSENZWEIG / Chat 'n Bike 
> e:  aa...@chatnbike.com   t:  (301) 956-2319
>   
> 
>> On Feb 13, 2019, at 2:41 PM, Samuel Pelletier > > wrote:
>> 
>> Aaron,
>> 
>> I notice that you did not use the item and display string, i.e. use only a 
>> text form of auto complete. I tried to simplify one use and it still works.
>> 
>> Did the value got set when user is typing and the suggestion getter called ?
>> 
>> You may have another problem in the page that block the javascript execution 
>> during the initialization...
>> 
>> Another thing that may differ is the usage (or non usage) of javascript 
>> files .min versions, I use the full versions even on production.
>> 
>> Samuel
>> 
>> 
>>> Le 13 févr. 2019 à 14:01, Aaron Rosenzweig >> > a écrit :
>>> 
>>> Hi, actual neither of us are using “local” I didn’t remember the default 
>>> and assumed it was true. Appears the default is false, I was just 
>>> explicitly setting it. 
>>> 
>>> So I don’t know why it works for you but not for us with Prototype 1.7.3
>>> 
>>> AARON ROSENZWEIG / Chat 'n Bike 
>>> e:  aa...@chatnbike.com   t:  (301) 956-2319
>>> 
>>> 
 On Feb 13, 2019, at 2:00 PM, Aaron Rosenzweig >>> > wrote:
 
 Hi Everyone especially Samuel!
 
 This is what our code looks like:
 
 >>> isLocal = "$false" afterUpdateElement = "$afterUpdateElementAction" 
 frequency = "0.2" />
 
 >>> "$submitUserSelectedValueCustomFunction" updateContainerID = 
 "$checkMarkContainerID" action = "$userSelectedFreeFormAddressText" />
 
 Note: the "afterUpdateElementAction" is javascript that clicks the submit 
 button.
 
 One difference, besides linguistic preference, is that yours is local but 
 ours is not. We hand off to a service to scrub what is partially typed and 
 then come back with suggestions. Note the “isLocal = false”
 
 I have not tried the AjaxExample project. Literally our apps stopped 
 working, people started screaming that the sky is falling, and to put out 
 the fire I replaced the version of Prototype. 
 
 AARON ROSENZWEIG / Chat 'n Bike 
 e:  aa...@chatnbike.com   t:  (301) 956-2319

 
> On Feb 13, 2019, at 1:51 PM, Samuel Pelletier  > wrote:
> 
> Hi Aaron,
> 
> I have the latest wonder and my AjaxAutoCompletes are working as expected.
> 
> Have you tried the AjaxExample project ?
> 
> Maybe we have a different usage. I use it like this:
>    displayString = "$enseignant.contact.nomComplet" value = 
> "$textToFindEnseignant" selection = "$selectedEnseignant" style="display: 
> inline-block; margin-bottom:0; width:120px;" afterUpdateElement = 
> "function(){ajouteEnseignant();}"/>
>    updateContainerID = "blocPeriodeEditor" action = "$ajouterEnseignant" 
> class="tiny button" style="margin-bottom:0;"/>
> 
> Samuel
> 
> 
> 
> 
>> Le 12 févr. 2019 à 16:26, Aaron Rosenzweig > > a écrit :
>> 
>> Hi Everyone,
>> 
>> We discovered after recently updating Wonder… that Prototype 1.7.

Deploying WebObjects on Ubuntu 18.04 LTS drops support for SHA-1 signing

2018-05-01 Thread D Tim Cummings
I am trying to deploy WebObjects on Ubuntu 18.04 LTS using method at

https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu

I am getting the following error when updating apt.

sudo apt update

Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 https://packages.wocommunity.org/ubuntu trusty InRelease [3,303 B]
Err:6 https://packages.wocommunity.org/ubuntu trusty InRelease
  The following signatures were invalid: 
1D2A5E5AA13158380229B94925C7D0023AAD08A4
Reading package lists... Done
W: GPG error: https://packages.wocommunity.org/ubuntu trusty InRelease: The 
following signatures were invalid: 1D2A5E5AA13158380229B94925C7D0023AAD08A4
E: The repository 'http://packages.wocommunity.org/ubuntu trusty InRelease' is 
not signed.
N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration 
details.

I think the problem is that InRelease is hashed using SHA1 and SHA1 is no 
longer supported.

Has anyone else had any luck deploying on Ubuntu 18.04?

Cheers

Tim


signature.asc
Description: Message signed with OpenPGP
 ___
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: wocommunity wiki is down

2017-06-21 Thread D Tim Cummings
Working now. Thanks


> On 21 Jun 2017, at 11:09, D Tim Cummings  wrote:
> 
> https://wiki.wocommunity.org/display/WEB/Home 
> <https://wiki.wocommunity.org/display/WEB/Home>
> 
> gives me
> 
> Service Temporarily Unavailable
> 
> The server is temporarily unable to service your request due to maintenance 
> downtime or capacity problems. Please try again later.
> 
> Apache/2.2.15 (CentOS) Server at wiki.wocommunity.org Port 443
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au

 ___
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


wocommunity wiki is down

2017-06-20 Thread D Tim Cummings
https://wiki.wocommunity.org/display/WEB/Home

gives me

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance 
downtime or capacity problems. Please try again later.

Apache/2.2.15 (CentOS) Server at wiki.wocommunity.org Port 443
 ___
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 2015 dates and location?

2014-06-29 Thread D Tim Cummings
Hi 

Have the dates and location for WOWODC 2015 been set yet?

Regards

Tim



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-27 Thread D Tim Cummings
Hi Bastian

Thanks for doing this Bastian. 

I am getting the following error during an update

A package failed to install.  Trying to recover:
Setting up libapache2-mod-wo (6.1.1~git20140506.a5ffd1f-1) ...
/var/lib/dpkg/info/libapache2-mod-wo.postinst: 6: 
/var/lib/dpkg/info/libapache2-mod-wo.postinst: a2enmod: not found
dpkg: error processing package libapache2-mod-wo (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 libapache2-mod-wo

I think it is because apache2-mpm-prefork was installed as a dependency of 
libapache2-mod-wo but in your new version apache2-mpm-prefork  is no longer a 
dependency and so was removed when I did the update using aptitude. Of course 
apache2-mpm-prefork is only a transitional package in Ubuntu 14.04 to apache2. 

By the way, what is the procedure for creating these packages?

Regards

Tim
 

PRECISE DEPENDENCIES

apt-cache showpkg libapache2-mod-wo

Package: libapache2-mod-wo
Versions: 
6.0.0-1precise1 
(/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
 File: 
/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages
  MD5: 80f23336bdc90e02b026d889a67488ed


Reverse Depends: 
  libapache2-mod-wo:i386,libapache2-mod-wo
Dependencies: 
6.0.0-1precise1 - libc6 (2 2.15) apache2-mpm-prefork (0 (null)) 
libapache2-mod-wo:i386 (0 (null)) 
Provides: 
6.0.0-1precise1 - 
Reverse Provides: 

TRUSTY DEPENDENCIES

apt-cache showpkg libapache2-mod-wo

Package: libapache2-mod-wo
Versions: 
6.1.1~git20140506.a5ffd1f-1 
(/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
 File: 
/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages
  MD5: 8e02e63398073c15535b21fd3b6a7667


Reverse Depends: 
Dependencies: 
6.1.1~git20140506.a5ffd1f-1 - libc6 (2 2.15) 
Provides: 
6.1.1~git20140506.a5ffd1f-1 - 
Reverse Provides: 



On 28 May 2014, at 6:12, Bastian Triller  wrote:

> the default wotaskd and javamonitor is from the webobjects package. This is 
> kind of bad documented. webobjects is a dependency of the wonder wotaskd and 
> javamonitor, so webobjects gets installed first. with it the old applications 
> from apple, because it's practically possible to use this in deployment. but 
> since it's recommended to use the wonder versions (and distributing the stack 
> across multiple hosts isn't very common, at least it wasn't for me), i used 
> the wonder packages in the install instructions. if you want to switch 
> versions, you can configure them with
> update-alternatives --config wotaskd
> respectively
> update-alternatives --config javamonitor
> On 27 May 2014 16:23, "CHRISTOPH WICK | i4innovation GmbH, Bonn" 
>  wrote:
> Hi Bastian,
> 
> it works like a charm now - thx a lot. Checked on a clean fresh installation.
> 
> One more question: the WOMonitor that comes with that installation LOOKS as 
> it is the old one from Apple (big fat Aqua-Tabs), not like the one from 
> Wonder (see 
> http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux).
> 
> On the other hand, it contains some Wonder-Frameworks (if you take a look 
> into 
> /var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).
> 
> So my question: is this intended? Are there two separat version of Wonder's 
> WOMonitor. Or is the one in you package simply outdated? (Can't remember 
> anymore when Wonder's WOMonitor got the new design. But it must haven been 
> some years ago). If so, can it be updated also?
> 
> Thx again for the installer. Great to work with this community.
> C.U.CW
> --
> What are the three enemies of a programmer? Sunlight, oxygen, and the 
> appalling roar of the birds.
> 
> On 27.05.2014, at 15:15, Bastian Triller  wrote:
> 
> > I forgot to include the webobjects package as well. It would be nice, if 
> > you can test again.
> >
> > On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH, Bonn 
> > wrote:
> >> Hi Bastian,
> >>
> >> thanks for updating the Ubuntu/Debian installer.
> >>
> >> Unfortunately, it doesn't work for me.
> >>
> >> I installed a fresh and clean Ubuntu 14 LTS and followed the instructions 
> >> on
> >>
> >>
> >> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
> >>
> >>
> >> with
> >>
> >> DIST=ubuntu
> >> SUITE=trusty
> >>
> >> I get the following error:
> >>
> >>
> >> > $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor 
> >> > projectwonder-wotaskd
> >> > Reading package lists... Done
> >> > Building dependency tree
> >> > Reading state information... Done
> >> > Some packages could not be installed. This may mean that you have
> >> > requested an impossible situ

Re: Building Apache Adaptor on Ubuntu 14 LTS

2014-05-20 Thread D Tim Cummings
Thanks Markus.

This worked for me too.

I should check the list for updates before posting but comforting to know I 
came up with the same solution ;)

Tim


On 21 May 2014, at 7:04, Markus Stoll, junidas GmbH  
wrote:

> Hi,
> 
> I could reproduce your problem.
> pleass try patching Adaptor/shmem.c
> 
> replace this line
> 
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
> *)offset))
> 
> with
> 
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + offset))
> 
> This helped for me, if this helps for you too, I will test with other targets 
> and create a pull request.
> 
> Markus
> 
> Am 20.05.2014 um 17:08 schrieb CHRISTOPH WICK | i4innovation GmbH, Bonn 
> :
> 
>> Hallo Markus,
>> 
>> thanks for your help.
>> 
>> My compiler says:
>>> $ gcc -v
>>> Using built-in specs.
>>> COLLECT_GCC=gcc
>>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
>>> Target: x86_64-linux-gnu
>>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
>>> 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs 
>>> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
>>> --program-suffix=-4.8 --enable-shared --enable-linker-build-id 
>>> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
>>> --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls 
>>> --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
>>> --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap 
>>> --enable-plugin --with-system-zlib --disable-browser-plugin 
>>> --enable-java-awt=gtk --enable-gtk-cairo 
>>> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre 
>>> --enable-java-home 
>>> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 
>>> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 
>>> --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
>>> --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 
>>> --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic 
>>> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
>>> --target=x86_64-linux-gnu
>>> Thread model: posix
>>> gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
>>> 
>> 
>> 
>> It's the gcc you get, when you install it with "sudo apt-get install gcc".
>> 
>> C.U.CW
>> -- 
>> The three great virtues of a programmer are Laziness, Impatience and Hubris. 
>> (Randal Schwartz)
>> 
>> On 20.05.2014, at 15:53, Markus Stoll, junidas GmbH 
>>  wrote:
>> 
>>> Hi,
>>> 
 I'm trying to build the Apache Adaptor for Ubuntu 14 LTS manually 
 following the instructions on 
 http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux
 
 If I try to execute "make CC=gcc", I get the following error:
 
> gcc -I/usr/local/include -O2 -I../Adaptor  -DSINGLE_THREADED_ADAPTOR 
> -DLINUX -DCGI -c ../Adaptor/shmem.c
> ../Adaptor/shmem.c:69:38: warning: initialization makes pointer from 
> integer without a cast [enabled by default]
> static void * WOShmem_base_address = -1;
> ^
> ../Adaptor/shmem.c: In function '€˜WOShmem_alloc'€™:
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 
> '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
> *)offset))
>  ^
>>> 
>>> WOAdaptor does its pointer arithmetics in a way, that your compiler does 
>>> not like (well, me neither)
>>> Your compiler probably needs some additional flags...
>>> Which compiler does your Ubuntu 14 TLS use? What does „gcc -v“ give?
>>> 
>>> regards, Markus
>>> 
>>> 
> ../Adaptor/shmem.c:294:18: note: in expansion of macro 
> '€˜offset_to_addr'€™
> r = (Region *)offset_to_addr(0);
> ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 
> '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
> *)offset))
>  ^
> ../Adaptor/shmem.c:305:19: note: in expansion of macro 
> '€˜offset_to_addr'€™
>ret = offset_to_addr(r->offset);
>  ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 
> '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
> *)offset))
>  ^
> ../Adaptor/shmem.c:330:41: note: in expansion of macro 
> '€˜offset_to_addr'€™
>  newRegion = (Region *)offset_to_addr(r->nextRegion);
>^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 
> '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offs

Re: Building Apache Adaptor on Ubuntu 14 LTS

2014-05-20 Thread D Tim Cummings
Hi Christoph (and markusstoll)

The reason this isn't compiling is because of a change made by markusstoll on 
18 April to Utilities/Adaptors/Adaptor/shmem.c .With his changes, shown below,  
WOShmem_base_address is type (void *) and on line 78 offset is cast to (void 
*). The compiler is rightfully complaining that you are adding a pointer 
address to a pointer address which you would never want to do. I changed line 
78 to remove the cast to (void *) of offset and it now compiles. I haven't 
tested it though so I am not sure of the ramifications of my change or other 
changes made by markusstoll. (In markusstoll's defence, the original code was 
probably also wrong, it was just the compiler couldn't pick up the error).

The following is the diff shown on github between before and after 
markusstoll's change.

69  
-static intptr_t WOShmem_base_address = -1;
 69 
+static void * WOShmem_base_address = -1;
70   70 
 
71   71 
 /*
72   72 
  * The total size of the mapped memory.
 @@ -75,8 +75,8 @@ static unsigned int WOShmem_size = 0;
75   75 
 
76   76 
 static WA_recursiveLock WOShmem_mutex;
77   77 
 
78  
-#define offset_to_addr(offset) ((void *)(WOShmem_base_address + 
(intptr_t)offset))
79  
-#define addr_to_offset(addr) ((intptr_t)addr - WOShmem_base_address)
 78 
+#define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
*)offset))
 79 
+#define addr_to_offset(addr) ((void *)addr - WOShmem_base_address)



Regards

Tim


On 20 May 2014, at 19:41, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 wrote:

> Hi List,
> 
> I'm trying to build the Apache Adaptor for Ubuntu 14 LTS manually following 
> the instructions on 
> http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux
> 
> If I try to execute "make CC=gcc", I get the following error:
> 
>> gcc -I/usr/local/include -O2 -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DLINUX 
>> -DCGI -c ../Adaptor/shmem.c
>> ../Adaptor/shmem.c:69:38: warning: initialization makes pointer from integer 
>> without a cast [enabled by default]
>> static void * WOShmem_base_address = -1;
>>  ^
>> ../Adaptor/shmem.c: In function '€˜WOShmem_alloc'€™:
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:294:18: note: in expansion of macro '€˜offset_to_addr'€™
>>r = (Region *)offset_to_addr(0);
>>  ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:305:19: note: in expansion of macro '€˜offset_to_addr'€™
>> ret = offset_to_addr(r->offset);
>>   ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:330:41: note: in expansion of macro '€˜offset_to_addr'€™
>>   newRegion = (Region *)offset_to_addr(r->nextRegion);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:336:25: note: in expansion of macro '€˜offset_to_addr'€™
>>   ret = offset_to_addr(newRegion->offset);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:345:24: note: in expansion of macro '€˜offset_to_addr'€™
>>  r = (Region *)offset_to_addr(r->nextRegion);
>>^
>> make[1]: *** [shmem.o] Error 1
>> make[1]: Leaving directory 
>> `/tmp/wocommunity-wonder-a5ffd1f/Utilities/Adaptors/CGI'
>> make: *** [CGI] Error 2
>> 
> 
> Any ideas how to get this running?
> 
> Thx,
> C.U.CW
> -- 
> The three great virtues of a programmer are Laziness, Impatience and Hubris. 
> (Randal Schwartz)
> 
> 
> ___
> 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:

Re: Building Apache Adaptor on Ubuntu 14 LTS

2014-05-20 Thread D Tim Cummings
Hi Christoph,

I built the Apache Adaptor when I upgraded from 13.04 to 13.10 and didn't need 
to build again when upgrading from 13.10 to 14.04.  This is the procedure I 
used. I hope this helps

Tim


# WebObjects Apache adaptors didn’t work with 2.4 and new ones don’t exist yet 
so installed from source
cd wonder/Utilities/Adaptors
#install apxs
sudo apt-get install apache2-dev
nano make.config
#Near top
ADAPTOR_OS = LINUX
#In other LINUX section  (after REDHAT 9 section) almost at bottom
ADAPTORS = Apache2.4

make
cd Apache2.4
sudo apxs -i -a -n WebObjects mod_WebObjects.la

#remove created load module because already there
rm /etc/apache2/mods-enabled/WebObjects.load

#follow instructions in README.txt re permissions to 
/etc/apache2/mods-available/WebObjects.conf

Require all granted


Require all granted



On 20 May 2014, at 19:41, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 wrote:

> Hi List,
> 
> I'm trying to build the Apache Adaptor for Ubuntu 14 LTS manually following 
> the instructions on 
> http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux
> 
> If I try to execute "make CC=gcc", I get the following error:
> 
>> gcc -I/usr/local/include -O2 -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DLINUX 
>> -DCGI -c ../Adaptor/shmem.c
>> ../Adaptor/shmem.c:69:38: warning: initialization makes pointer from integer 
>> without a cast [enabled by default]
>> static void * WOShmem_base_address = -1;
>>  ^
>> ../Adaptor/shmem.c: In function '€˜WOShmem_alloc'€™:
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:294:18: note: in expansion of macro '€˜offset_to_addr'€™
>>r = (Region *)offset_to_addr(0);
>>  ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:305:19: note: in expansion of macro '€˜offset_to_addr'€™
>> ret = offset_to_addr(r->offset);
>>   ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:330:41: note: in expansion of macro '€˜offset_to_addr'€™
>>   newRegion = (Region *)offset_to_addr(r->nextRegion);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:336:25: note: in expansion of macro '€˜offset_to_addr'€™
>>   ret = offset_to_addr(newRegion->offset);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void 
>> *'€™ and '€˜void *'€™)
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void 
>> *)offset))
>>   ^
>> ../Adaptor/shmem.c:345:24: note: in expansion of macro '€˜offset_to_addr'€™
>>  r = (Region *)offset_to_addr(r->nextRegion);
>>^
>> make[1]: *** [shmem.o] Error 1
>> make[1]: Leaving directory 
>> `/tmp/wocommunity-wonder-a5ffd1f/Utilities/Adaptors/CGI'
>> make: *** [CGI] Error 2
>> 
> 
> Any ideas how to get this running?
> 
> Thx,
> C.U.CW
> -- 
> The three great virtues of a programmer are Laziness, Impatience and Hubris. 
> (Randal Schwartz)
> 
> 
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
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: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-14 Thread D Tim Cummings
Hi Bastian

I have been having ssh problems recently with Mac OS X Mavericks. I needed to 
set the ServerAliveInterval to send a keep alive message every 30 seconds 
otherwise my ssh session would die after a minute. Could be the same problem 
you are having.

sudo nano /etc/ssh_config

ServerAliveInterval 30


Cheers

Tim


On 15 May 2014, at 16:03, Bastian Triller  wrote:

> I wanted to look into it yesterday, but I   somehow screwed up my repo ssh 
> access. I get "Write failed: broken pipe". Authentication looks fine. My 
> remote url is g...@github.com:btriller/wonder.git. Any ideas?
> 
> On 14 May 2014 01:57, "D Tim Cummings"  wrote:
> Hi all (and Bastian Triller)
> 
> I have tried using the instructions at
> 
> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
> 
> for installing WebObjects on Ubuntu 14.04 LTS but the built libapache2-mod-wo 
> doesn't work and has to be rebuilt manually. I built it myself for Ubuntu 
> 13.10, but now that 14.04 with long term support is out we should probably 
> add a built version into the repository.  
> 
> http://packages.wocommunity.org/ubuntu/
> 
> If Bastian could provide a procedure how he did it last time, I would be 
> happy to do this.
> 
> Regards
> 
> 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/bastian.triller%40gmail.com
> 
> This email sent to bastian.tril...@gmail.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
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

Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-14 Thread D Tim Cummings
Hi all (and Bastian Triller)

I have tried using the instructions at

http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu

for installing WebObjects on Ubuntu 14.04 LTS but the built libapache2-mod-wo 
doesn't work and has to be rebuilt manually. I built it myself for Ubuntu 
13.10, but now that 14.04 with long term support is out we should probably add 
a built version into the repository. 

http://packages.wocommunity.org/ubuntu/

If Bastian could provide a procedure how he did it last time, I would be happy 
to do this.

Regards

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/archive%40mail-archive.com

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

Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-13 Thread D Tim Cummings
Hi all (and Bastian Triller)

I have tried using the instructions at

http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu

for installing WebObjects on Ubuntu 14.04 LTS but the built libapache2-mod-wo 
doesn't work and has to be rebuilt manually. I built it myself for Ubuntu 
13.10, but now that 14.04 with long term support is out we should probably add 
a built version into the repository. 

http://packages.wocommunity.org/ubuntu/

If Bastian could provide a procedure how he did it last time, I would be happy 
to do this.

Regards

Tim


signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
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: Deploy on Ubuntu 13.10

2013-11-27 Thread D Tim Cummings
Thanks. I have got it working now. I had added the host by ip address to 
javamonitor but this wouldn't allow me to start the app. I removed the host and 
added it again by host name and now I can start the app.

Tim



On 28 Nov 2013, at 3:07 pm, Chuck Hill  wrote:

> It seems odd that changing the OS would cause this to stop working.  That 
> should be just normal TCP communication.  Has anything been changed on the 
> DNS/networking side?   Or is it that you can't start apps on that server at 
> all?  That would suggest more of a permissions issue.
> 
> 
> Chuck
> 
> 
> On 2013-11-27 8:11 PM, "D Tim Cummings" wrote:
> 
> Rebuilding worked, thanks. I don't think the API changed, just that it had to 
> be built linked to the correct libraries.
> 
> Now I just need to get JavaMonitor on my other deployment machine (Ubuntu 
> 12.04 LTS) able to start up apps on the Ubuntu 13.10 server.
> 
> Tim
> 
> 
> On 28 Nov 2013, at 10:46 am, Chuck Hill  wrote:
> 
>> My first guess is that the API has changed and you will need to re-build the 
>> WO adaptor on 13.10
>> 
>> Chuck
>> 
>> 
>> -- 
>> Chuck Hill 
>> Executive Managing Partner, VP Development and Technical Services
>> 
>> 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
>> 
>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>> Growing Companies in B.C! 
>> 
>> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
>> Canada’s Fastest-Growing Companies by PROFIT Magazine!
>> 
>> On 2013-11-27 4:19 PM, "D Tim Cummings" wrote:
>> 
>> I have a deployment running fine on Ubuntu 13.04 using the instructions from 
>> 
>> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
>> 
>> with DIST=ubuntu and SUITE=quantal
>> 
>> I have now done a 'do-release-upgrade' to upgrade ubuntu to 13.10 but it has 
>> broken my WebObjects deployment. Apache has been upgraded from 2.2 to 2.4 
>> but now won't start. Configtest gives the following error
>> 
>> apache2ctl configtest
>> 
>> apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error 
>> on line 1 of /etc/apache2/mods-enabled/webobjects.load: Cannot load 
>> /usr/lib/apache2/modules/mod_WebObjects.so into server: 
>> /usr/lib/apache2/modules/mod_WebObjects.so: undefined symbol: 
>> ap_get_server_version
>> Action 'configtest' failed.
>> 
>> Has anyone deployed on Ubuntu 13.10 successfully?
>> 
>> 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/archive%40mail-archive.com

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

Re: Deploy on Ubuntu 13.10

2013-11-27 Thread D Tim Cummings
Rebuilding worked, thanks. I don't think the API changed, just that it had to 
be built linked to the correct libraries.

Now I just need to get JavaMonitor on my other deployment machine (Ubuntu 12.04 
LTS) able to start up apps on the Ubuntu 13.10 server.

Tim


On 28 Nov 2013, at 10:46 am, Chuck Hill  wrote:

> My first guess is that the API has changed and you will need to re-build the 
> WO adaptor on 13.10
> 
> Chuck
> 
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> 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
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> 
> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> On 2013-11-27 4:19 PM, "D Tim Cummings" wrote:
> 
> I have a deployment running fine on Ubuntu 13.04 using the instructions from 
> 
> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
> 
> with DIST=ubuntu and SUITE=quantal
> 
> I have now done a 'do-release-upgrade' to upgrade ubuntu to 13.10 but it has 
> broken my WebObjects deployment. Apache has been upgraded from 2.2 to 2.4 but 
> now won't start. Configtest gives the following error
> 
> apache2ctl configtest
> 
> apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error 
> on line 1 of /etc/apache2/mods-enabled/webobjects.load: Cannot load 
> /usr/lib/apache2/modules/mod_WebObjects.so into server: 
> /usr/lib/apache2/modules/mod_WebObjects.so: undefined symbol: 
> ap_get_server_version
> Action 'configtest' failed.
> 
> Has anyone deployed on Ubuntu 13.10 successfully?
> 
> 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/archive%40mail-archive.com

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

Deploy on Ubuntu 13.10

2013-11-27 Thread D Tim Cummings
I have a deployment running fine on Ubuntu 13.04 using the instructions from 

http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu

with DIST=ubuntu and SUITE=quantal

I have now done a 'do-release-upgrade' to upgrade ubuntu to 13.10 but it has 
broken my WebObjects deployment. Apache has been upgraded from 2.2 to 2.4 but 
now won't start. Configtest gives the following error

apache2ctl configtest

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on 
line 1 of /etc/apache2/mods-enabled/webobjects.load: Cannot load 
/usr/lib/apache2/modules/mod_WebObjects.so into server: 
/usr/lib/apache2/modules/mod_WebObjects.so: undefined symbol: 
ap_get_server_version
Action 'configtest' failed.

Has anyone deployed on Ubuntu 13.10 successfully?

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/archive%40mail-archive.com

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

Re: WOWODC 2013 presentations

2013-07-23 Thread D Tim Cummings
What sort of stuff needs to be cut? 

I can't believe that listening to all the recordings for this is the job of 
only one person. That would take longer than the conference itself. And be 
quite tedious for someone who has already sat through the sessions.

If I can be of any assistance let me know. Even if it is just to listen to the 
raw recordings and let you know where on the timeline stuff has to be cut. That 
would save you having to listen to the whole thing.

Regards

Tim Cummings

 
On 24/07/2013, at 12:54 AM,   wrote:

> I have to listen to all of them to see if we have to cut stuff or not. And I 
> have to make sure that the members list is good. And I have a job.
> 
>> Haven't heard from Pascal on the recordings yet. I guess they are not yet 
>> ready.
>> On Jul 23, 2013, at 8:38 AM, D Tim Cummings  wrote:
>>> Are the recordings available yet? I have viewed the slides and they are 
>>> very interesting. Tim
>>> On 19/07/2013, at 8:35 PM, Andrus Adamchik wrote:
>>>> Now that Cayenne 3.2M1 is released, I updated GitHub code with the 
>>>> official version. So now you can actually compile and run the examples at 
>>>> https://github.com/andrus/wowodc13 yourself.
>>>> Andrus
>>>> On Jun 24, 2013, at 10:10 PM, Andrus Adamchik  
>>>> wrote:
>>>>> And I just uploaded the Cayenne/Tapestry code that was shown during the 
>>>>> demo sessions to GitHub:
>>>>> https://github.com/andrus/wowodc13
>>>>> These are fully working (albeit simple) apps. This should get you started 
>>>>> on your next Cayenne[Tapestry] app ;)
>>>>> Andrus
>>>>> On Jun 24, 2013, at 9:36 AM, Pascal Robert  wrote:
>>>>>> Hi everyone,
>>>>>> We are uploading the slides from WOWODC 2013 on Slideshare:
>>>>>> http://www.slideshare.net/wocommunity/
>>>>>> The recordings for paid members and WOWODC attendees will be available 
>>>>>> in the next two weeks.
>>>>>> ___
>>>>>> 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/andrus%40objectstyle.org
>>>>>> This email sent to and...@objectstyle.org
>>>>> ___
>>>>> 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/andrus%40objectstyle.org
>>>>> This email sent to and...@objectstyle.org
>>>> ___
>>>> 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/tim%40triptera.com.au
>>>> This email sent to t...@triptera.com.au
>>> ___
>>> 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/andrus%40objectstyle.org
>>> This email sent to and...@objectstyle.org
>> ___
>> 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: WOWODC 2013 presentations

2013-07-22 Thread D Tim Cummings
Are the recordings available yet? I have viewed the slides and they are very 
interesting. 

Tim




On 19/07/2013, at 8:35 PM, Andrus Adamchik wrote:

> Now that Cayenne 3.2M1 is released, I updated GitHub code with the official 
> version. So now you can actually compile and run the examples at 
> https://github.com/andrus/wowodc13 yourself.
> 
> Andrus
> 
> On Jun 24, 2013, at 10:10 PM, Andrus Adamchik  wrote:
> 
>> And I just uploaded the Cayenne/Tapestry code that was shown during the demo 
>> sessions to GitHub:
>> 
>> https://github.com/andrus/wowodc13
>> 
>> These are fully working (albeit simple) apps. This should get you started on 
>> your next Cayenne[Tapestry] app ;)
>> 
>> Andrus
>> 
>> On Jun 24, 2013, at 9:36 AM, Pascal Robert  wrote:
>> 
>>> Hi everyone,
>>> 
>>> We are uploading the slides from WOWODC 2013 on Slideshare:
>>> 
>>> http://www.slideshare.net/wocommunity/
>>> 
>>> The recordings for paid members and WOWODC attendees will be available in 
>>> the next two weeks.
>>> ___
>>> 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/andrus%40objectstyle.org
>>> 
>>> This email sent to and...@objectstyle.org
>> 
>> 
>> ___
>> 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/andrus%40objectstyle.org
>> 
>> This email sent to and...@objectstyle.org
> 
> 
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au


 ___
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: do I have to clone ERCoreBusinessLogic?

2013-07-09 Thread D Tim Cummings
I added the following code in Application.java to solve this problem


public Application() {
super();

NSSelector connSelector = new 
NSSelector("doPatchAuditTrail", new Class[] 
{NSNotification.class});
NSNotificationCenter.defaultCenter().addObserver(this, connSelector, 
EOModelGroup.ModelAddedNotification, null);
}

public final void doPatchAuditTrail(NSNotification n) {
EOModel model = ((EOModel)n.object());
if ( !"ERCoreBusinessLogic".equals(model.name()) ) return;
EOEntity e = model.entityNamed(ERCAuditTrailEntry.ENTITY_NAME);
e.attributeNamed(ERCAuditTrailEntry.Key.NEW_VALUES).setWidth(4000);
e.attributeNamed(ERCAuditTrailEntry.Key.OLD_VALUES).setWidth(4000);
}


On 09/07/2013, at 11:53 PM, Theodore Petrosky wrote:

> i have run into a wall. the oldValues as well as newValues are hard coded to 
> a varchar size 1000.
> 
> I will never use this on anything other than Postgresql and the docs say the 
> there is no penalty for using a column type of 'text', effectively no limit. 
> But I will have to alter the model.
> 
> I can update the backend and change the column to type text, but is there a 
> way to trick the model with out cloning the whole thing?
> 
> Ted
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au

 ___
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: Enum method overrides and WO bindings

2013-06-07 Thread D Tim Cummings
Fair enough.  Looks like your original workaround is the way to go.  I haven't 
come across a situation where I needed to override methods in enums.

Tim


On 07/06/2013, at 9:22 PM, Musall Maik wrote:

> 
> Uh, I should have made the implementation more different in the two. In 
> general, the enums I have are more lengthy, and they do all sorts of 
> different stuff to compute something in their methods. They can't share a 
> common implementation, or at least there could be a common one, but the point 
> would be that a few enum instances would need to override the implementation, 
> not just differ in fixed values.
> 
> 
> Am 07.06.2013 um 12:45 schrieb D Tim Cummings :
> 
>> public enum Status {
>>   one (1),
>>   two (2);
>>   private final int days;
>>   Status(int days) {
>> this.days = days;
>>   }
>>   public DateTime computeValue() {
>> return new DateTime().plusDays(days);
>>   }
>> }
>> 
>> On 07/06/2013, at 8:34 PM, Musall Maik wrote:
>> 
>>> 
>>> Got that already by private mail. All right, let's modify the example. 
>>> Returning a fixed string was oversimplifying.
>>> 
>>> 
>>> public enum Status {
>>> one { @Override public DateTime computeValue() { new 
>>> DateTime().plusDays( 1 ); },
>>> two { @Override public DateTime computeValue() { new 
>>> DateTime().plusDays( 2 ); };
>>> public abstract DateTime computeValue();
>>> }
>>> 
>>> 
>>> Maik
>>> 
>>> 
>>> Am 07.06.2013 um 12:27 schrieb D Tim Cummings :
>>> 
>>>> Another workaround which is less ugly.
>>>> 
>>>> public enum Status {
>>>>   one ("eins"),
>>>>   two ("zwei");
>>>>   private final String description;
>>>>   Status(String description) {
>>>> this.description = description;
>>>>   }
>>>>   public String description() {
>>>> return description;
>>>>   }
>>>> }
>>>> 
>>>> Tim
>>>> 
>>>> 
>>>> On 07/06/2013, at 5:58 PM, Musall Maik wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> some time ago, I discovered the following problem with Enums and WO 
>>>>> bindings (broken down to a simple example):
>>>>> 
>>>>>package com.foo.bar;
>>>>>public class MyClass {
>>>>>public static enum Status {
>>>>>one{ @Override public String description() { return 
>>>>> "eins"; } },
>>>>>two{ @Override public String description() { return 
>>>>> "zwei"; } };
>>>>>public abstract String description();
>>>>>}
>>>>>}
>>>>> 
>>>>> While this works nicely in all Java code, WO bindings will not see the 
>>>>> overridden description() implementations. At least not when using Java 
>>>>> packages (it seems to work if everything is in the default package, but 
>>>>> that doesn't help me). You get an error like:
>>>>> 
>>>>>java.lang.IllegalAccessException: Class 
>>>>> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>>>>>a member of class com.foo.bar.MyClass$Status$1 with modifiers "public"
>>>>> 
>>>>> or, if using JRebel, you get
>>>>> 
>>>>>java.lang.IllegalAccessException: Class 
>>>>> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>>>>>com.foo.bar.MyClass$Status$1!
>>>>> 
>>>>> My current workaround:
>>>>> 
>>>>>package com.foo.bar;
>>>>>public class MyClass {
>>>>>public static enum Status {
>>>>>one{ @Override String descriptionImpl() { return "eins"; } 
>>>>> },
>>>>>two{ @Override String descriptionImpl() { return "zwei"; } 
>>>>> };
>>>>>abstract String descriptionImpl();
>>>>>public String description() { return descriptionImpl(); }
>>>>>}
>>>>>}
>>>>> 
>>>>> which works but is ugly. Now I'm about to implement another Enum with a 
>>>>> lot of methods and it bothers me. Anyone an idea how to improve the 
>>>>> situation?
>>>>> 
>>>>> Thanks
>>>>> Maik
>>>>> ___
>>>>> 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/tim%40triptera.com.au
>>>>> 
>>>>> This email sent to t...@triptera.com.au
>>>> 
>>> 
>> 
>> ___
>> 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/maik%40selbstdenker.ag
>> 
>> This email sent to m...@selbstdenker.ag
> 

 ___
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: Enum method overrides and WO bindings

2013-06-07 Thread D Tim Cummings
public enum Status {
  one (1),
  two (2);
  private final int days;
  Status(int days) {
this.days = days;
  }
  public DateTime computeValue() {
return new DateTime().plusDays(days);
  }
}

On 07/06/2013, at 8:34 PM, Musall Maik wrote:

> 
> Got that already by private mail. All right, let's modify the example. 
> Returning a fixed string was oversimplifying.
> 
> 
> public enum Status {
> one { @Override public DateTime computeValue() { new 
> DateTime().plusDays( 1 ); },
> two { @Override public DateTime computeValue() { new 
> DateTime().plusDays( 2 ); };
> public abstract DateTime computeValue();
> }
> 
> 
> Maik
> 
> 
> Am 07.06.2013 um 12:27 schrieb D Tim Cummings :
> 
>> Another workaround which is less ugly.
>> 
>> public enum Status {
>>   one ("eins"),
>>   two ("zwei");
>>   private final String description;
>>   Status(String description) {
>> this.description = description;
>>   }
>>   public String description() {
>> return description;
>>   }
>> }
>> 
>> Tim
>> 
>> 
>> On 07/06/2013, at 5:58 PM, Musall Maik wrote:
>> 
>>> Hi,
>>> 
>>> some time ago, I discovered the following problem with Enums and WO 
>>> bindings (broken down to a simple example):
>>> 
>>>package com.foo.bar;
>>>public class MyClass {
>>>public static enum Status {
>>>one{ @Override public String description() { return "eins"; 
>>> } },
>>>two{ @Override public String description() { return "zwei"; 
>>> } };
>>>public abstract String description();
>>>}
>>>}
>>> 
>>> While this works nicely in all Java code, WO bindings will not see the 
>>> overridden description() implementations. At least not when using Java 
>>> packages (it seems to work if everything is in the default package, but 
>>> that doesn't help me). You get an error like:
>>> 
>>>java.lang.IllegalAccessException: Class 
>>> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>>>a member of class com.foo.bar.MyClass$Status$1 with modifiers "public"
>>> 
>>> or, if using JRebel, you get
>>> 
>>>java.lang.IllegalAccessException: Class 
>>> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>>>com.foo.bar.MyClass$Status$1!
>>> 
>>> My current workaround:
>>> 
>>>package com.foo.bar;
>>>public class MyClass {
>>>public static enum Status {
>>>one{ @Override String descriptionImpl() { return "eins"; } },
>>>two{ @Override String descriptionImpl() { return "zwei"; } };
>>>abstract String descriptionImpl();
>>>public String description() { return descriptionImpl(); }
>>>}
>>>}
>>> 
>>> which works but is ugly. Now I'm about to implement another Enum with a lot 
>>> of methods and it bothers me. Anyone an idea how to improve the situation?
>>> 
>>> Thanks
>>> Maik
>>> ___
>>> 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/tim%40triptera.com.au
>>> 
>>> This email sent to t...@triptera.com.au
>> 
> 

 ___
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: Enum method overrides and WO bindings

2013-06-07 Thread D Tim Cummings
Another workaround which is less ugly.

public enum Status {
  one ("eins"),
  two ("zwei");
  private final String description;
  Status(String description) {
this.description = description;
  }
  public String description() {
return description;
  }
}

Tim


On 07/06/2013, at 5:58 PM, Musall Maik wrote:

> Hi,
> 
> some time ago, I discovered the following problem with Enums and WO bindings 
> (broken down to a simple example):
> 
>package com.foo.bar;
>public class MyClass {
>public static enum Status {
>one{ @Override public String description() { return "eins"; } 
> },
>two{ @Override public String description() { return "zwei"; } 
> };
>public abstract String description();
>}
>}
> 
> While this works nicely in all Java code, WO bindings will not see the 
> overridden description() implementations. At least not when using Java 
> packages (it seems to work if everything is in the default package, but that 
> doesn't help me). You get an error like:
> 
>java.lang.IllegalAccessException: Class 
> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>a member of class com.foo.bar.MyClass$Status$1 with modifiers "public"
> 
> or, if using JRebel, you get
> 
>java.lang.IllegalAccessException: Class 
> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access
>com.foo.bar.MyClass$Status$1!
> 
> My current workaround:
> 
>package com.foo.bar;
>public class MyClass {
>public static enum Status {
>one{ @Override String descriptionImpl() { return "eins"; } },
>two{ @Override String descriptionImpl() { return "zwei"; } };
>abstract String descriptionImpl();
>public String description() { return descriptionImpl(); }
>}
>}
> 
> which works but is ugly. Now I'm about to implement another Enum with a lot 
> of methods and it bothers me. Anyone an idea how to improve the situation?
> 
> Thanks
> Maik
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au

 ___
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


WOCommunity site down

2013-04-19 Thread D Tim Cummings
www.wocommunity.org

The requested application was not found on this server.


wiki.wocommunity.org

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET 
/display/WONDER/Getting+Started.

Reason: Error reading from remote server


Apache/2.2.3 (CentOS) Server at wiki.wocommunity.org Port 80

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: New Tomcat 6 Deployment

2012-05-29 Thread D Tim Cummings
I have noticed these messages too and would like to know if there is anything 
that can be done about them

Tim



On 29/05/2012, at 23:31, Ron Lift  wrote:

> At work we are migrating from RHEL 5 to RHEL 6 and also upgrading to Tomcat 
> 6. When I deploy the current application that is running on Tomcat 5.5 to 
> tomcat 6, I see the following messages in the catalina.out when I either 
> deploy the app, start/ stop the app or the tomcat instance.  I do not have 
> these messages in my tomcat 5.5 log files. Is there some setting that I am 
> missing?  Any help will be greatly appreciated
> Eclipse 3.6.1 , WOLips 3.6. MSSQL 2008R2 Database.
>  
> The last 2 messages repeat multiple times
>  
>  
> May 29, 2012 8:59:00 AM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesJdbc
> SEVERE: The web application [/CoopApp] registered the JDBC driver 
> [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it 
> when the web application was stopped. To prevent a memory leak, the JDBC 
> Driver has been forcibly unregistered.
>  
> May 29, 2012 8:59:00 AM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: The web application [/CoopApp] created a ThreadLocal with key of type 
> [er.extensions.eof.ERXEC$1] (value [er.extensions.eof.ERXEC$1@1083964f]) and 
> a value of type [java.util.Vector] (value [[]]) but failed to remove it when 
> the web application was stopped. This is very likely to create a memory leak.
>  
> May 29, 2012 8:59:00 AM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: The web application [/CoopApp] created a ThreadLocal with key of type 
> [er.extensions.foundation.ERXThreadStorage.ERXThreadStorageCloneableThreadLocal]
>  (value 
> [er.extensions.foundation.ERXThreadStorage$ERXThreadStorageCloneableThreadLocal@2f012501])
>  and a value of type [java.util.HashMap] (value [{}]) but failed to remove it 
> when the web application was stopped. This is very likely to create a memory 
> leak.
>  
> Ron Lift
> C-E
> ___
> 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/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au
 ___
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 + WOnder on Windows

2012-02-17 Thread D Tim Cummings
I use tomcat when deploying on Windows.  I haven't been able to get a ERModern 
Direct to Web app to deploy in tomcat, so for me that rules out Direct to Web 
on Windows.  Could be just me of course.

Tim


On 17/02/2012, at 9:45 AM, Kevin Hinkson wrote:

Hi,
I have a new client who's internal software stack is all windows based. I have 
not previously run WebObjects in any kind of Windows environment and I get the 
impression that most of the community is moving away from doing so. Can anyone 
let me know if they currently run WebObjects on a Windows stack? I'd be (if 
there are no issues) running on Windows Small Business Server 2008 and 
interacting with SQL Server 2005. Also are there any nuances I should be aware 
of?

Any comments would be appreciated. Thanks in advance.

— K.R.H.

___
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/tim%40triptera.com.au

This email sent to t...@triptera.com.au



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: Tomcat deployment - how do you allocate memory to app

2012-01-25 Thread D Tim Cummings
Thanks Farrukh for showing me the correct place to do this.  It appears that I 
am setting the total maximum memory for all the webapps running in tomcat.  I 
notice that a recommended way to make these changes in catalina.bat (or 
catalina.sh) is to create an additional batch file which catalina.bat or 
catalina.sh calls.

1. Mac OS X or Linux

#create a file called setenv.sh in the CATALINA_HOME/bin directory with the 
following line
JAVA_OPTS="$JAVA_OPTS -Xmx1000m"

2. Windows

#create a file called setenv.bat in the CATALINA_HOME\bin directory with the 
following line
set JAVA_OPTS=%JAVA_OPTS% -Xmx1000m

3. Windows when Tomcat is installed as a service

In the Monitor Tomcat application which is used to start and stop the Tomcat 
service, there is a Java tab and a place to set the Maximum memory pool. 

Regards

Tim


On 25/01/2012, at 3:43 PM, Farrukh Ijaz wrote:

Hi Tim,

You can specify these options in your Catalina script file. On windows it's 
catalina.bat and for other platforms it's catalina.sh IIRC.

When you deploy your application in J2EE or JavaEE, your application shares the 
JVM in which the application server is running. If you want to run multiple 
apps with one JavaEE application server, better switch to GlassFish. You can 
create multiple instances under one domain server and each can run multiple 
applications and thus you can specify different JVM settings for each instance.

Farrukh

Sent from my iPad 2

On 2012-01-25, at 3:14 AM, D Tim Cummings  wrote:

> When I am using JavaMonitor I just put -Xmx256m in additional arguments.  
> 
> How do I set this when I am deploying in Tomcat 6?
> 
> Thanks
> 
> 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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.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/tim%40triptera.com.au

This email sent to t...@triptera.com.au



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: Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread D Tim Cummings
Thanks


On 25/01/2012, at 3:43 PM, Farrukh Ijaz wrote:

Hi Tim,

You can specify these options in your Catalina script file. On windows it's 
catalina.bat and for other platforms it's catalina.sh IIRC.

When you deploy your application in J2EE or JavaEE, your application shares the 
JVM in which the application server is running. If you want to run multiple 
apps with one JavaEE application server, better switch to GlassFish. You can 
create multiple instances under one domain server and each can run multiple 
applications and thus you can specify different JVM settings for each instance.

Farrukh

Sent from my iPad 2

On 2012-01-25, at 3:14 AM, D Tim Cummings  wrote:

> When I am using JavaMonitor I just put -Xmx256m in additional arguments.  
> 
> How do I set this when I am deploying in Tomcat 6?
> 
> Thanks
> 
> 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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.com



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


Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread D Tim Cummings
When I am using JavaMonitor I just put -Xmx256m in additional arguments.  

How do I set this when I am deploying in Tomcat 6?

Thanks

Tim

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: Problem with Golipse build 13 [SOLVED]

2011-11-20 Thread D Tim Cummings
Looks like the problem was I had some jar files in /Library/Java/Extensions 
including log4j-1.2.15.jar .  Not sure why they were there because I know it 
causes problems putting jars in there, but I removed them all and the install 
proceeded past the failure point.  It still hung frequently and I had to Cancel 
and Go! again about 5 times, getting a little bit further each time until 
finally installed.  Looks like the eclipse plugin installer is flaky, but that 
is outside golipse's control. 

Cheers

Tim


On 21/11/2011, at 2:12 PM, D Tim Cummings wrote:

Installing on a clean Mac which didn't even have WebObjects installed worked, 
although it hung three times during the install and I had to press the Golipse 
[cancel] button and then the Golipse [go] button to continue.  This could well 
be because not all the repositories were online at once.  I tested the original 
Mac again and tried installing in a different place and got the same failure.  
I will try to work out why it is not working.

Tim


On 21/11/2011, at 12:05 PM, prob...@macti.ca wrote:

I had the same problem two days (I didn't retry since).

Envoyé de mon iPhone

Le 2011-11-20 à 20:52, "D Tim Cummings"  a écrit :

> Hi David
> 
> Failed again the same way.
> 
> I will try on another Mac that doesn't have any previous installations.

> 
> Tim
> 
> 
> On 21/11/2011, at 11:13 AM, David LeBer wrote:
> 
> Tim,
> 
> Thanks for updating the wiki. I just downloaded build 13 and tried it here.
> 
> Worked fine. It looks like it encountered a network error for you 
> (repositories off line?).
> 
> Try running it again.
> 
> On 2011-11-20, at 7:52 PM, D Tim Cummings wrote:
> 
>> I want to upgrade my Eclipse from 3.6 to 3.7.1 so I am trying Golipse for 
>> the first time on my MacBook Pro running Snow Leopard 10.6.8.
>> 
>> The wiki page ( 
>> http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started ) 
>> was linking to 
>> https://github.com/downloads/rebeld/Golipse/Golipse.app_build_12.zip but 
>> that file did not exist.  I discovered a build 13 so I have updated the wiki 
>> page to link to build 13.  I hope this was the right thing to do.
>> 
>> I ran Golipse but it appears the plugins were not installed.  The last few 
>> lines in the Golipse window say
>> 
>> Downloading and Installing the recommended Eclipse plugins ...
>> Installation failed.
>> Unable to load repositories.
>> Application failed, log file location: 
>> /Users/tim/Applications/eclipse/configuration/1321835310888.log
>> Cleaning up ...
>> You should be good to go. Eclipse is installed in 
>> '/Users/tim/Applications/eclipse'.
>> 
>> I checked the log file and it had lots of errors about NoClassDefFound 
>> HttpClient (see below).
>> 
>> Regards
>> 
>> Tim
>> 
>> 
>> 
>> $ cat /Users/tim/Applications/eclipse/configuration/1321835310888.log
>> !SESSION 2011-11-21 10:28:30.638 
>> ---
>> eclipse.buildId=M20110909-1335
>> java.version=1.6.0_26
>> java.vendor=Apple Inc.
>> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
>> Framework arguments:  -application org.eclipse.equinox.p2.director -d 
>> /Users/tim/Applications/eclipse -p SDKProfile -profileproperties 
>> org.eclipse.update.install.features=true -followReferences -r 
>> http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
>>  -i 
>> org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofile
r.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofiler.feature.feature.group,org.objectstyle.wolips.jrebel.feature.feature.group,com.google.eclipse.mechanic.feature.group,org.polarion.eclipse.team.svn.connector.javahl16.feature.group,org.polarion.eclipse.team.svn.co

Re: Problem with Golipse build 13

2011-11-20 Thread D Tim Cummings
Installing on a clean Mac which didn't even have WebObjects installed worked, 
although it hung three times during the install and I had to press the Golipse 
[cancel] button and then the Golipse [go] button to continue.  This could well 
be because not all the repositories were online at once.  I tested the original 
Mac again and tried installing in a different place and got the same failure.  
I will try to work out why it is not working.

Tim


On 21/11/2011, at 12:05 PM, prob...@macti.ca wrote:

I had the same problem two days (I didn't retry since).

Envoyé de mon iPhone

Le 2011-11-20 à 20:52, "D Tim Cummings"  a écrit :

> Hi David
> 
> Failed again the same way.
> 
> I will try on another Mac that doesn't have any previous installations.

> 
> Tim
> 
> 
> On 21/11/2011, at 11:13 AM, David LeBer wrote:
> 
> Tim,
> 
> Thanks for updating the wiki. I just downloaded build 13 and tried it here.
> 
> Worked fine. It looks like it encountered a network error for you 
> (repositories off line?).
> 
> Try running it again.
> 
> On 2011-11-20, at 7:52 PM, D Tim Cummings wrote:
> 
>> I want to upgrade my Eclipse from 3.6 to 3.7.1 so I am trying Golipse for 
>> the first time on my MacBook Pro running Snow Leopard 10.6.8.
>> 
>> The wiki page ( 
>> http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started ) 
>> was linking to 
>> https://github.com/downloads/rebeld/Golipse/Golipse.app_build_12.zip but 
>> that file did not exist.  I discovered a build 13 so I have updated the wiki 
>> page to link to build 13.  I hope this was the right thing to do.
>> 
>> I ran Golipse but it appears the plugins were not installed.  The last few 
>> lines in the Golipse window say
>> 
>> Downloading and Installing the recommended Eclipse plugins ...
>> Installation failed.
>> Unable to load repositories.
>> Application failed, log file location: 
>> /Users/tim/Applications/eclipse/configuration/1321835310888.log
>> Cleaning up ...
>> You should be good to go. Eclipse is installed in 
>> '/Users/tim/Applications/eclipse'.
>> 
>> I checked the log file and it had lots of errors about NoClassDefFound 
>> HttpClient (see below).
>> 
>> Regards
>> 
>> Tim
>> 
>> 
>> 
>> $ cat /Users/tim/Applications/eclipse/configuration/1321835310888.log
>> !SESSION 2011-11-21 10:28:30.638 
>> ---
>> eclipse.buildId=M20110909-1335
>> java.version=1.6.0_26
>> java.vendor=Apple Inc.
>> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
>> Framework arguments:  -application org.eclipse.equinox.p2.director -d 
>> /Users/tim/Applications/eclipse -p SDKProfile -profileproperties 
>> org.eclipse.update.install.features=true -followReferences -r 
>> http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
>>  -i 
>> org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofile
r.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofiler.feature.feature.group,org.objectstyle.wolips.jrebel.feature.feature.group,com.google.eclipse.mechanic.feature.group,org.polarion.eclipse.team.svn.connector.javahl16.feature.group,org.polarion.eclipse.team.svn.connector.svnkit16.feature.group,org.polarion.eclipse.team.svn.connector.feature.group,org.eclipse.egit.feature.group,org.eclipse.jgit.feature.group
>> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -application 
>> org.eclipse.equinox.p2.director -d /Users/tim/Applications/eclipse -p 
>> SDKProfile -profileproperties org.eclipse.update.install.features=true 
>> -followReferences -r 
>> http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,htt

Re: Problem with Golipse build 13

2011-11-20 Thread D Tim Cummings
Hi David

Failed again the same way.

I will try on another Mac that doesn't have any previous installations.

Tim


On 21/11/2011, at 11:13 AM, David LeBer wrote:

Tim,

Thanks for updating the wiki. I just downloaded build 13 and tried it here.

Worked fine. It looks like it encountered a network error for you (repositories 
off line?).

Try running it again.

On 2011-11-20, at 7:52 PM, D Tim Cummings wrote:

> I want to upgrade my Eclipse from 3.6 to 3.7.1 so I am trying Golipse for the 
> first time on my MacBook Pro running Snow Leopard 10.6.8.
> 
> The wiki page ( 
> http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started ) 
> was linking to 
> https://github.com/downloads/rebeld/Golipse/Golipse.app_build_12.zip but that 
> file did not exist.  I discovered a build 13 so I have updated the wiki page 
> to link to build 13.  I hope this was the right thing to do.
> 
> I ran Golipse but it appears the plugins were not installed.  The last few 
> lines in the Golipse window say
> 
> Downloading and Installing the recommended Eclipse plugins ...
> Installation failed.
> Unable to load repositories.
> Application failed, log file location: 
> /Users/tim/Applications/eclipse/configuration/1321835310888.log
> Cleaning up ...
> You should be good to go. Eclipse is installed in 
> '/Users/tim/Applications/eclipse'.
> 
> I checked the log file and it had lots of errors about NoClassDefFound 
> HttpClient (see below).
> 
> Regards
> 
> Tim
> 
> 
> 
> $ cat /Users/tim/Applications/eclipse/configuration/1321835310888.log
> !SESSION 2011-11-21 10:28:30.638 
> ---
> eclipse.buildId=M20110909-1335
> java.version=1.6.0_26
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -application org.eclipse.equinox.p2.director -d 
> /Users/tim/Applications/eclipse -p SDKProfile -profileproperties 
> org.eclipse.update.install.features=true -followReferences -r 
> http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
>  -i 
> org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofiler.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofiler.feature.feature.group,org.objectstyle.wolips.jrebel.feature.feature.group,com.google.eclipse.mechanic.feature.group,org.polarion.eclipse.team.svn.connector.javahl16.feature.group,org.polarion.eclipse.team.svn.connector.svnkit16.feature.group,org.polarion.eclipse.team.svn.connector.feature.group,org.eclipse.egit.feature.group,org.eclipse.jgit.feature.group
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -application 
> org.eclipse.equinox.p2.director -d /Users/tim/Applications/eclipse -p 
> SDKProfile -profileproperties org.eclipse.update.install.features=true 
> -followReferences -r 
> http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
>  -i 
> org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofiler.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofi

Problem with Golipse build 13

2011-11-20 Thread D Tim Cummings
I want to upgrade my Eclipse from 3.6 to 3.7.1 so I am trying Golipse for the 
first time on my MacBook Pro running Snow Leopard 10.6.8.

The wiki page ( 
http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started ) was 
linking to https://github.com/downloads/rebeld/Golipse/Golipse.app_build_12.zip 
but that file did not exist.  I discovered a build 13 so I have updated the 
wiki page to link to build 13.  I hope this was the right thing to do.

I ran Golipse but it appears the plugins were not installed.  The last few 
lines in the Golipse window say

Downloading and Installing the recommended Eclipse plugins ...
Installation failed.
Unable to load repositories.
Application failed, log file location: 
/Users/tim/Applications/eclipse/configuration/1321835310888.log
Cleaning up ...
You should be good to go. Eclipse is installed in 
'/Users/tim/Applications/eclipse'.

I checked the log file and it had lots of errors about NoClassDefFound 
HttpClient (see below).

Regards

Tim



$ cat /Users/tim/Applications/eclipse/configuration/1321835310888.log
!SESSION 2011-11-21 10:28:30.638 ---
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.director -d 
/Users/tim/Applications/eclipse -p SDKProfile -profileproperties 
org.eclipse.update.install.features=true -followReferences -r 
http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
 -i 
org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofiler.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofiler.feature.feature.group,org.objectstyle.wolips.jrebel.feature.feature.group,com.google.eclipse.mechanic.feature.group,org.polarion.eclipse.team.svn.connector.javahl16.feature.group,org.polarion.eclipse.team.svn.connector.svnkit16.feature.group,org.polarion.eclipse.team.svn.connector.feature.group,org.eclipse.egit.feature.group,org.eclipse.jgit.feature.group
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -application 
org.eclipse.equinox.p2.director -d /Users/tim/Applications/eclipse -p 
SDKProfile -profileproperties org.eclipse.update.install.features=true 
-followReferences -r 
http://download.eclipse.org/releases/helios,http://dist.springsource.org/release/GRECLIPSE/e3.6,http://webobjects.mdimension.com/jadclipse/3.6,http://webobjects.mdimension.com/jprofiler6,http://www.zeroturnaround.com/update-site,http://m2eclipse.sonatype.org/sites/m2e,http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site,http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic,http://download.eclipse.org/technology/subversive/0.7/update-site,http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site
 -i 
org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group,org.eclipse.buckminster.subversive.feature.feature.group,org.eclipse.mylyn_feature.feature.group,net.sf.jadclipse.feature.group,com.jprofiler.integrations.eclipse.feature.group,org.zeroturnaround.eclipse.feature.feature.group,org.zeroturnaround.eclipse.debug.feature.feature.group,org.maven.ide.eclipse.feature.feature.group,org.objectstyle.wolips.feature.feature.group,org.objectstyle.wolips.goodies.feature.feature.group,org.objectstyle.wolips.jprofiler.feature.feature.group,org.objectstyle.wolips.jrebel.feature.feature.group,com.google.eclipse.mechanic.feature.group,org.polarion.eclipse.team.svn.connector.javahl16.feature.group,org.polarion.eclipse.team.svn.connector.svnkit16.feature.group,org.polarion.eclipse.team.svn.connector.feature.group,org.eclipse.egit.feature.group,org.eclipse.jgit.feature.group

!ENTRY org.eclipse.equinox.p2.artifact.repository 4 0 2011-11-21 10:28:36.895
!MESSAGE Unexpected error loading extension: 
org.eclipse.equinox.p2.artifact.repository.simpleRepository
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.commons.httpclient.HttpClient
at 
org.eclipse.ecf.provide

Re: New D2W app won't deploy in Tomcat

2011-10-06 Thread D Tim Cummings
Thanks. That gives me somewhere to start looking. 

Tim



On 07/10/2011, at 11:13, Gavin Eadie  wrote:

> On Wed, Oct 5, 2011 at 3:02 AM, D Tim Cummings  wrote:
>> I have tried creating two new "Hello World" webobjects apps, one using "New" 
>> -> "Wonder Application" and the other using "New" -> "D2W Wonder 
>> Application".
>> 
>> I can deploy the Wonder Application to Tomcat, but the D2W Wonder 
>> Application fails to start with the following error message in the Tomcat 
>> logs.  Does anyone have any ideas how to deploy D2W in Tomcat?
>> 
>> Tim
>> 
>> [2011-10-5 15:13:11 EST]  Initialized : er.extensions.ERXExtensions
>> [2011-10-5 15:13:11 EST]  Initialized : er.prototypes.ERPrototypes
>> [2011-10-5 15:13:11 EST]  Initialized : er.directtoweb.ERDirectToWeb
>> [2011-10-5 15:13:11 EST]  Initialized : er.ajax.Ajax
>> [2011-10-5 15:13:11 EST]  WebObjects version = 5.4.3
>> No loader: /Users/tim/Applications/apache-tomcat-6.0.33/bin/bootstrap.jar
>> java.lang.reflect.InvocationTargetException
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> That's commonly as a result of a jar file conflict, two copies, but
> different versions, of the same jar in the class path, maybe?
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Has anyone deployed an ERModernLook D2W application to Tomcat?

2011-10-05 Thread D Tim Cummings
Rephrasing my question from yesterday. Has anyone deployed an ERModernLook D2W 
application to Tomcat? I have given up for this project but it would be good to 
know if anyone has managed this for when I try future projects. 

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

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


New D2W app won't deploy in Tomcat

2011-10-05 Thread D Tim Cummings
I have tried creating two new "Hello World" webobjects apps, one using "New" -> 
"Wonder Application" and the other using "New" -> "D2W Wonder Application".

I can deploy the Wonder Application to Tomcat, but the D2W Wonder Application 
fails to start with the following error message in the Tomcat logs.  Does 
anyone have any ideas how to deploy D2W in Tomcat?

Tim

[2011-10-5 15:13:11 EST]  Initialized : er.extensions.ERXExtensions
[2011-10-5 15:13:11 EST]  Initialized : er.prototypes.ERPrototypes
[2011-10-5 15:13:11 EST]  Initialized : er.directtoweb.ERDirectToWeb
[2011-10-5 15:13:11 EST]  Initialized : er.ajax.Ajax
[2011-10-5 15:13:11 EST]  WebObjects version = 5.4.3
No loader: /Users/tim/Applications/apache-tomcat-6.0.33/bin/bootstrap.jar
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:421)
at 
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at 
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:525)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: com.webobjects.foundation.NSForwardException 
[java.lang.NullPointerException] null: 
failed instantiation. Exception thrown :
java.lang.NullPointerException: null
at 
com.webobjects.foundation._NSUtilities._explainInstantiationException(_NSUtilities.java:632)
at 
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:646)
at 
com.webobjects.appserver.WOApplication.primeApplication(WOApplication.java:634)
... 34 more
Caused by: java.lang.NullPointerException
at 
er.extensions.foundation.ERXConfigurationManager.commandLineArgumentProperties(ERXConfigurationManager.java:170)
at 
er.extensions.foundation.ERXConfigurationManager.applyConfiguration(ERXConfigurationManager.java:308)
at 
er.extensions.foundation.ERXConfigurationManager.loadConfiguration(ERXConfigurationManager.java:289)
at 
er.extensions.ERXExtensions.finishInitialization(ERXExtensions.java:261)
at 
er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke

Re: postgresql schema ignored when adding foreign key

2011-04-07 Thread D Tim Cummings
Thanks Pascal

Tim



On 07/04/2011, at 21:53, Pascal Robert  wrote:

> Patch committed.
> 
>> Schemas don't work if you have the following property true
>> 
>> com.webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting=true
>> 
>> I have a patch to fix this in 
>> 
>> http://issues.objectstyle.org/jira/browse/WONDER-489
>> Postgresql PlugIn inconsistent application of identifier quoting to table 
>> names with schemas - Migrations don't work
>> 
>> 
>> Regards
>> 
>> Tim Cummings
>> 
>> On 06/04/2011, at 2:27 AM, Michael Gargano wrote:
>> 
>>> 
>>> 
>>> EOSchemaGeneration foreignKeyConstraintStatementsForRelationship() seems to 
>>> ignore schemas.  Anyone else have problems with that when using 
>>> addForeignKey() in a migration with tables with non-default schemas?  I 
>>> tried to fix it on my own, but either my brain is too small or wonder is 
>>> too complex... maybe both.  :p
>>> 
>>> -Mike
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
>>> 
>>> This email sent to t...@triptera.com.au
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: postgresql schema ignored when adding foreign key

2011-04-05 Thread D Tim Cummings
Schemas don't work if you have the following property true

com.webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting=true

I have a patch to fix this in 

http://issues.objectstyle.org/jira/browse/WONDER-489
Postgresql PlugIn inconsistent application of identifier quoting to table names 
with schemas - Migrations don't work


Regards

Tim Cummings

On 06/04/2011, at 2:27 AM, Michael Gargano wrote:

> 
> 
> EOSchemaGeneration foreignKeyConstraintStatementsForRelationship() seems to 
> ignore schemas.  Anyone else have problems with that when using 
> addForeignKey() in a migration with tables with non-default schemas?  I tried 
> to fix it on my own, but either my brain is too small or wonder is too 
> complex... maybe both.  :p
> 
> -Mike
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au



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

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

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
Does your Application class extend ERXApplication?


On 16/12/2010, at 8:44 AM, Jesse Tayler wrote:

> ack! yes, thanks - it works better when you actually use the ERJavaMail!
> 
> now I just get a transport error, which seems less mysterious at least --
> 
> 
> 
> 
>> ERROR er.javamail.ERMailSender  - Unable to connect to SMTP Transport. 



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

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

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
WOMailDelivery

WOMailDelivery.sharedInstance().composePlainTextEmail(String aSender,NSArray 
toAddresses,NSArray bccAddresses,String aSubject,String aMessage,boolean 
sendNow)


ERJavaMail

er.javamail.ERMailDeliveryPlainText mail = new 
er.javamail.ERMailDeliveryPlainText ();
mail.newMail();
mail.setFromAddress(aSender);
mail.setSubject(aSubject);
mail.setToAddresses(toAddresses);
mail.setTextContent(aMessage);
mail.sendMail();


On 16/12/2010, at 8:05 AM, Jesse Tayler wrote:

> ah, well, I _thought_ I was using ERJavaMail...
> 
> I think I was looking at the BugTracker app for implementation --
> 
> did I misunderstand?
> 
> should I be using another method construct to actually do things like send 
> notifications?
> 
> I'm just setting up the usual "welcome" emails and notifications typical of 
> social systems.
> 
> I figure I'll trigger these emails based on changes in EO attributes which 
> would be my next step from here.
> 
> Suggestions?
> 
> On Dec 15, 2010, at 5:01 PM, D Tim Cummings wrote:
> 
>> setSMTPHost() sets the host for WOMailDelivery.  There is also a launch 
>> argument "-WOSMTPHost hostname" or property WOSMTPHost=hostname
>> 
>> er.javamail.smtpHost is used for ERJavaMail which is a better way of sending 
>> emails but sounds like it is not what you are using.
>> 
>> Tim
>> 
>> On 16/12/2010, at 7:30 AM, Jesse Tayler wrote:
>> 
>>> well, I can set the application's setSMTPHost() method at launch which will 
>>> point to the server, but still doesn't seem to read the properties where I 
>>> ask for authentication etc.
>>> 
>>> I can see the properties file is being used by some packages, so I wonder 
>>> why these rules don't seem to want to stick.
>>> 
>>> I don't know how to print out those properties at launch as you suggest, 
>>> but maybe it's a good idea to figure. Do you know a method call that 
>>> reports what the app is using for properties?
>>> 
>>> 
>>> On Dec 15, 2010, at 4:09 PM, Farrukh Ijaz wrote:
>>> 
>>>> We don't use er.javamail.smtpHost property and it works for us.
>>>> 
>>>> nslookup resolves both oeinc.com and mail.oeinc.com with same IP and 
>>>> telnet on port 25 is working.
>>>> 
>>>> Try log the properties in your applications' didFinishLaunching() method 
>>>> and inspect what are the values. (You can also look at the console as it 
>>>> spits complete properties list).
>>>> 
>>>> Farrukh
>>>> 
>>>> On 2010-12-15, at 11:56 PM, Jesse Tayler wrote:
>>>> 
>>>>> hmm -- good idea, I was not aware of those
>>>>> 
>>>>> however, I get the same error even after listing my host and port 25 I 
>>>>> think, same error anyway
>>>>> 
>>>>> checking around on example apps, I see similar configurations, but all to 
>>>>> fake domains of course.
>>>>> 
>>>>> sure seems simple enough, if I'm interpreting the error correctly anyway 
>>>>> --
>>>>> 
>>>>> On Dec 15, 2010, at 3:47 PM, Farrukh Ijaz wrote:
>>>>> 
>>>>>> Dis you try setting following properties as well?
>>>>>> 
>>>>>> mail.smtp.host
>>>>>> mail.smtp.port
>>>>> 
>>>>> ___
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>>>>> 
>>>>> This email sent to farrukh.i...@fuegodigitalmedia.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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
>>> 
>>> This email sent to t...@triptera.com.au
>> 
> 



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

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

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
setSMTPHost() sets the host for WOMailDelivery.  There is also a launch 
argument "-WOSMTPHost hostname" or property WOSMTPHost=hostname

er.javamail.smtpHost is used for ERJavaMail which is a better way of sending 
emails but sounds like it is not what you are using.

Tim

On 16/12/2010, at 7:30 AM, Jesse Tayler wrote:

> well, I can set the application's setSMTPHost() method at launch which will 
> point to the server, but still doesn't seem to read the properties where I 
> ask for authentication etc.
> 
> I can see the properties file is being used by some packages, so I wonder why 
> these rules don't seem to want to stick.
> 
> I don't know how to print out those properties at launch as you suggest, but 
> maybe it's a good idea to figure. Do you know a method call that reports what 
> the app is using for properties?
> 
> 
> On Dec 15, 2010, at 4:09 PM, Farrukh Ijaz wrote:
> 
>> We don't use er.javamail.smtpHost property and it works for us.
>> 
>> nslookup resolves both oeinc.com and mail.oeinc.com with same IP and telnet 
>> on port 25 is working.
>> 
>> Try log the properties in your applications' didFinishLaunching() method and 
>> inspect what are the values. (You can also look at the console as it spits 
>> complete properties list).
>> 
>> Farrukh
>> 
>> On 2010-12-15, at 11:56 PM, Jesse Tayler wrote:
>> 
>>> hmm -- good idea, I was not aware of those
>>> 
>>> however, I get the same error even after listing my host and port 25 I 
>>> think, same error anyway
>>> 
>>> checking around on example apps, I see similar configurations, but all to 
>>> fake domains of course.
>>> 
>>> sure seems simple enough, if I'm interpreting the error correctly anyway --
>>> 
>>> On Dec 15, 2010, at 3:47 PM, Farrukh Ijaz wrote:
>>> 
 Dis you try setting following properties as well?
 
 mail.smtp.host
 mail.smtp.port
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>>> 
>>> This email sent to farrukh.i...@fuegodigitalmedia.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:
> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au



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

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

Re: Memory leak but only on Red Hat [SOLVED]

2010-12-01 Thread D Tim Cummings
Thanks Q, Mike and Pascal

I rewrote using Apache HttpComponents HttpClient and now I don't have a memory 
leak on Red Hat.  Thanks for your help.

Cheers

Tim


On 01/12/2010, at 10:05 PM, Mike Schrag wrote:

> Just never use that class. Rewrite your stuff with Commons HttpClient and 
> you'll be happier all around.
> 
> Sent from my iPhone
> 
> On Dec 1, 2010, at 2:00 AM, D Tim Cummings  wrote:
> 
>> Hi Q
>> 
>> WOHTTPConnection sendRequest(WORequest request) creates a new thread to 
>> implement timeout.  I was creating threads also because the sendRequest 
>> implementation of timeout wasn't working for me.  I disabled my code that 
>> created threads but was still getting the OutOfMemory problem.
>> 
>> Start of the thread dump below. I was able to reproduce the problem by 
>> manually clicking on the refresh page button over and over again.
>> 
>> jstack 9451
>> 2010-12-01 16:52:02
>> Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode):
>> 
>> "Attach Listener" daemon prio=10 tid=0x57371800 nid=0x4485 waiting 
>> on condition [0x]
>>java.lang.Thread.State: RUNNABLE
>> 
>> "Thread-1129" prio=10 tid=0x57093800 nid=0x2cde in Object.wait() 
>> [0x5bb4a000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab07d17a8> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab07d17a8> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-1126" prio=10 tid=0x564f8000 nid=0x2cdb in Object.wait() 
>> [0x5ba49000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab0784fc8> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab0784fc8> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-1123" prio=10 tid=0x564af000 nid=0x2cd8 in Object.wait() 
>> [0x5b948000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab073c040> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab073c040> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-1120" prio=10 tid=0x563e0800 nid=0x2cd5 in Object.wait() 
>> [0x5b847000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab06f18f0> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab06f18f0> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-1117" prio=10 tid=0x5695c000 nid=0x2cd2 in Object.wait() 
>> [0x5b746000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab06a5360> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab06a5360> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-1114" prio=10 tid=0x566de800 nid=0x2cc0 in Object.wait() 
>> [0x5b645000]
>>java.lang.Thread.State: WAITING (on object monitor)
>>  at java.lang.Object.wait(Native Method)
>>  - waiting on <0x2aaab0659af8> (a [Z)
>>  at java.lang.Object.wait(Object.java:485)
>>  at 
>> com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
>>  - locked <0x2aaab0659af8> (a [Z)
>>  at java.lang.Thread.run(Thread.java:619)
>> 
>> "Thread-" prio=10 tid=0x57098800 nid=0x2cbd in Object.wait() 
>

Re: Memory leak but only on Red Hat

2010-11-30 Thread D Tim Cummings
g.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2aaab057f298> (a [Z)
at java.lang.Object.wait(Object.java:485)
at 
com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
- locked <0x2aaab057f298> (a [Z)
at java.lang.Thread.run(Thread.java:619)

"Thread-1102" prio=10 tid=0x564b5800 nid=0x2cb4 in Object.wait() 
[0x5b241000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2aaab0535cc8> (a [Z)
at java.lang.Object.wait(Object.java:485)
at 
com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
- locked <0x2aaab0535cc8> (a [Z)
at java.lang.Thread.run(Thread.java:619)

"Thread-1099" prio=10 tid=0x564ee000 nid=0x2cb1 in Object.wait() 
[0x5b14]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2aaab04e9d98> (a [Z)
at java.lang.Object.wait(Object.java:485)
at 
com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
- locked <0x2aaab04e9d98> (a [Z)
at java.lang.Thread.run(Thread.java:619)

"Thread-1096" prio=10 tid=0x5699a800 nid=0x2cae in Object.wait() 
[0x5b03f000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2aaab049ea28> (a [Z)
at java.lang.Object.wait(Object.java:485)
        at 
com.webobjects.appserver._private.WOUrlConnection$UrlDataReader.run(WOUrlConnection.java:452)
- locked <0x2aaab049ea28> (a [Z)
at java.lang.Thread.run(Thread.java:619)



On 01/12/2010, at 4:04 PM, Q wrote:

> 
> On 01/12/2010, at 3:36 PM, D Tim Cummings wrote:
> 
>> We have a sessionless app that we have been running for years on Mac OS X on 
>> XServes.  We recently moved it to Red Hat servers and now we are getting Out 
>> of Memory errors even though we have significantly increased the memory 
>> available.  Red Hat is using the java sun jvm 1.6.0_20 64 bit, while the Mac 
>> servers were running java from Apple 1.5.0_24.  I also tried on my Mac 
>> workstation using Apple java 1.6.0.22 64 bit and the memory appeared to be 
>> getting garbage collected without problem.
>> 
>> I configured the app to do a heap dump when the error occured (Additional 
>> arguments -XX:+HeapDumpOnOutOfMemoryError ) and used the Eclipse Memory 
>> Analyzer Tool (http://www.eclipse.org/mat) and it reported the following 
>> problem suspects:
>> 
>> 1,296 instances of "java.lang.Thread", loaded by "" 
>> occupy 111,947,632 (43.21%) bytes.
>> 1,292 instances of "er.extensions.eof.ERXEC", loaded by 
>> "java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 37,478,352 (14.46%) bytes.
>> 1,280 instances of "er.extensions.appserver.ERXRequest", loaded by 
>> "java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 27,297,992 (10.54%) bytes. 
> 
> It looks to me like your app had 1280 odd concurrent request handling threads 
> running. Is it likely that they are getting deadlocked or not running to 
> completion? Do you launch any new threads programmatically?
> 
> Try making a thread dump of the app and see what's running.
> 
> -- 
> Seeya...Q
> 
> Quinton Dolan - qdo...@gmail.com
> Gold Coast, QLD, Australia (GMT+10)
> 
> 
> 
> 



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

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

Memory leak but only on Red Hat

2010-11-30 Thread D Tim Cummings
We have a sessionless app that we have been running for years on Mac OS X on 
XServes.  We recently moved it to Red Hat servers and now we are getting Out of 
Memory errors even though we have significantly increased the memory available. 
 Red Hat is using the java sun jvm 1.6.0_20 64 bit, while the Mac servers were 
running java from Apple 1.5.0_24.  I also tried on my Mac workstation using 
Apple java 1.6.0.22 64 bit and the memory appeared to be getting garbage 
collected without problem.

I configured the app to do a heap dump when the error occured (Additional 
arguments -XX:+HeapDumpOnOutOfMemoryError ) and used the Eclipse Memory 
Analyzer Tool (http://www.eclipse.org/mat) and it reported the following 
problem suspects:

1,296 instances of "java.lang.Thread", loaded by "" occupy 
111,947,632 (43.21%) bytes.
1,292 instances of "er.extensions.eof.ERXEC", loaded by 
"java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 37,478,352 (14.46%) bytes.
1,280 instances of "er.extensions.appserver.ERXRequest", loaded by 
"java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 27,297,992 (10.54%) bytes. 

I am using WebObjects 5.4.3 and Wonder from February 2010.

I think I have identified the page that causes the problem because I can 
reproduce the problem by continually hitting that page.  It uses 
WOHTTPConnection to call an external web service (by sending a WORequest) and 
then includes the data received from the web service when it renders the page.

Does anyone have any ideas?

Tim

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

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

Re: Sessions DirectAction Apache Rewrite und Cookies

2010-11-17 Thread D Tim Cummings
One word of warning.  Don't remove the AppName from the domainForIDCookies if 
it is possible that your users will be using more than one WebObjects app on 
the same host name at the same time.

Tim


On 17/11/2010, at 5:10 AM, Chuck Hill wrote:

> Try adding this to your session:
> 
>/**
> * Despite the name, this is actually the path used in the cookies for the 
> session ID and instance number.
> * Returning just the root '/' ensures that the cookies are always sent 
> for any request to the domain.
> * This was needed so that they are sent with URLs which will be rewritten.
> * Note that super.domainForIDCookies() would return: 
> /cgi-bin/WebObjects/AppName.woa
> *
> * @return "/"
> */
>public String domainForIDCookies()
>{
>return "/";
>}
> 
> 
> Chuck
> 
> 
> On Nov 16, 2010, at 3:13 AM, ute Hoffmann wrote:
> 
>> Hi,
>> I have a application which has sessions, but defaults to direct Actions.
>> 
>> As a Apache rewrite of the URLs strips the wosid from the Direct Adtion URLS,
>> the session is lost with every click on a hyperlink.
>> 
>> I tried to have the sessions stored in cookies in place of in the URL. But 
>> the session loss
>> still takes place.
>> 
>> This is what I did in session.java:
>> setStoresIDsInURLs(false);
>> setStoresIDsInCookies(true);
>> 
>> The URL in Cookies seemed to work for wo-links but not for the directAction 
>> links.
>> 
>> Question:
>> a) Does someone know whether Apache rewrite strips the URL by rewriting from 
>> cookies as well?
>> b) Does Session in Cookies work in connection with direct Action and  the 
>> call to existing Session in the directAction?
>> c) Did I miss something when changing between Session in URL and Cookies, do 
>> I need more than the
>> above (Change session Store to cookies in Session) to get this working with 
>> DirectActions?
>> 
>> 
>> Thanks for your help. The App is running wonder (the version from 2007, wo 
>> 5.5).
>> 
>> Regards,
>> 
>> Ute
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.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/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au



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

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

Re: Now it won't find application or session in wods?

2010-10-19 Thread D Tim Cummings
I too have had strange behaviour on validation in the .wo in a new install, 
with source freshly checked out of subversion.  Application and session are 
prime candidates for problems, as well as using methods from super classes.  I 
am not sure what it is that triggers wo validation to start working.  I think 
the wo has to be closed when doing a project clean, and then opening the wo's 
which still have errors.  Once the wo's are open the errors go away.  If the 
binding validation errors don't go away, I try editing the binding in the wo to 
some gibberish, close the wo, restarting eclipse, open the wo and retype the 
original binding which had an error.

Once that first batch of errors is cleared, WOLips is rock solid, and I can't 
repeat the problem.

Tim


On 20/10/2010, at 12:43 PM, Paul D Yu wrote:

> I've seen some strange behavior on validation in the .wo as well.   Mine 
> would show up for some random inline component all of a sudden becoming not 
> found.  A clean usually does the trick.
> 
> Remember there are LOTS of property files.  All it takes is one of them in 
> the process to over rule the one you thought should be ruling.
> 
> My setup now is Properties.paul er.javamai.centralize is true, then 
> Properties that is set to false.
> 
> But you need to make sure the . properties file has all the 
> parameters that you want to override.  In your case it may be overriding what 
> you don't want.
> 
> Paul
> On Oct 19, 2010, at 10:32 PM, James Cicenia wrote:
> 
>> it seems as though... if I go into the wod the errors disappear... sort of 
>> like an incomplete build.
>> 
>> Now when I run it, it can't seem to find my properties file because it 
>> thinks that er.javamail.centralize is true.
>> 
>> James
>> 
>> 
>> On Oct 19, 2010, at 9:27 PM, James Cicenia wrote:
>> 
>>> nothing in those directories.
>>> 
>>> 
>>> 
>>> On Oct 19, 2010, at 8:40 PM, Chuck Hill wrote:
>>> 
 You have undesirable elements, er jars, in /Library/Java/Extensions or 
 /Library/WebObjects/Extensions.
 
 
 On Oct 19, 2010, at 6:22 PM, James Cicenia wrote:
 
> This is a cursed computer.
> 
> Anyway, I did some fresh installs for the third time.
> Ran an example app. Setup all my paths like my
> other two workstations... blah, blah, blah.
> 
> Did a clean build and now my components can't see
> application or session in the wod files.
> 
> ???
> 
> help.
> James
> 
> 
> 
> 
> 
> 
> 
> On Oct 19, 2010, at 2:13 PM, James Cicenia wrote:
> 
>> Hmmm...
>> 
>> That is something to look at... 
>> 
>> - j-
>> 
>> On Oct 19, 2010, at 1:58 PM, Paul D Yu wrote:
>> 
>>> IIRC.  The version number thing sounds like JVM version difference 
>>> between those three frameworks and the running app?  MS had me look 
>>> inside my frameworks/class wrapper to see what version those were.  I 
>>> don't remember exactly how to do that, sorry.
>>> 
>>> Paul
>>> On Oct 19, 2010, at 2:05 PM, James Cicenia wrote:
>>> 
 I noticed this at the top of the log:
 
 [2010-10-19 13:1:30 CDT]  Couldn't load properties file: 
 /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
 [2010-10-19 13:1:30 CDT]  The bundle MyEOPrototypes has 
 malformed version number: 
 [2010-10-19 13:1:30 CDT]  The bundle QualifierAdditions has 
 malformed version number: 
 [2010-10-19 13:1:31 CDT]  The bundle NoxymoCore has malformed 
 version number: null
 [2010-10-19 13:1:31 CDT]  Couldn't load properties file: 
 /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
 
 I don't see WebObjects.properties as file in the users directory on my 
 other two installs.
 
 Where is this set to look for it?
 
 Thanks
 
 
 On Oct 19, 2010, at 10:31 AM, James Cicenia wrote:
 
> Nothing in there.
> 
> 
> 
> On Oct 19, 2010, at 10:19 AM, Pascal Robert wrote:
> 
>> 
>> Le 2010-10-19 à 10:48, James Cicenia a écrit :
>> 
>>> A couple of things:
>>> 
>>> I am not using ERXApplication and why would I have to do this if it 
>>> compiles and runs on two of my other development machines?
>> 
>> You probably have something in /Library/Java/Extensions that have a 
>> class called "Main" and that class is taking over your Main class. 
>> Cleanup /Library/Java/Extensions (close Eclipse before doing that) 
>> and check if the problem goes away.
>> 
>>> Thanks
>>> James
>>> 
>>> 
>>> On Oct 19, 2010, at 9:37 AM, Henrique Prange wrote:
>>> 
 Hi James,
 
 Add to your Application class:
>

Re: TurnKey Installer Components

2010-10-07 Thread D Tim Cummings
When I was first trying out eclipse, I was on a multi user machine with eclipse 
in /Applications.  I couldn't work out why sometimes a user could install 
plugins and sometimes a user couldn't.  As a Mac user I never expected it to be 
important which user had installed the original application in /Applications.   
 I thought eclipse was just flakey and so I stayed with XCode which didn't have 
these problems.  

Later I worked out the problem, installed eclipse in ~/Applications  and 
haven't had a problem since.

Tim

On 08/10/2010, at 12:53 AM, John Huss wrote:

> I have put eclipse into /Applications forever and I've never had a single 
> problem with permissions.  I think that is a non-issue.
> 
> John
> 
> On Thu, Oct 7, 2010 at 9:48 AM, Kieran Kelleher  wrote:
> David,
> 
> I disagree with you and Timo, and I agree with Mike and others. ;-)
> 
> In summary 2 good reasons for installing in ~/Applications, considering that 
> novice/intermediate users are the ones we are trying to make life easy 
> for.
> 
> 1) Writeable Eclipse dir ... keep writeable in user dir. Prevent permission 
> issues that 'stump' newbies into giving up too early.
> 
> 2) Painless migrations to new machines
> 
> -Kieran
> 
> On Oct 7, 2010, at 7:54 AM, David Avendasora wrote:
> 
> > I'm pretty against ~/Applications. Nothing installs there by default. Why 
> > would we make an installer that's targeted at getting new users up and 
> > running install in a place other than the normal /Applications? Sure 
> > ~/Applications is _better_ but it's not _normal_.
> >
> > If they're advanced enough to want it in ~/Applications then they can move 
> > it.
> >
> > Dave
> >
> > On Oct 6, 2010, at 9:49 PM, Jeremy Matthews wrote:
> >
> >> I had no idea what I was getting myself intoheh.
> >>
> >> This is for newbies...generally speaking, so we'll do 
> >> ~/Applications...maybe offer a choice...dunno yet.
> >>
> >> -j
> >>
> >> On Oct 6, 2010, at 8:57 PM, Mike Schrag wrote:
> >>
>  I was the same until recently when I switched to a new machine and 
>  forgot to copy over eclipse for the umteen'th time. So I moved it to my 
>  home directory instead.
> 
>  If eclipse kept it's plugins and other global config in my home 
>  directory I would have no reason to keep it there also.
> >>> welcome to one of the longest-standing debates in eclipse history
> >>>
> >>> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
> 
> This email sent to johnth...@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:
> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au

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

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

Re: TurnKey Installer Components

2010-10-06 Thread D Tim Cummings
Like Lachlan, I install eclipse in ~/Applications.  If you have more than one 
user on your Mac using eclipse, but only one installation of eclipse, you have 
all sorts of permissions problems when each one is installing their own plugins.

Tim


On 07/10/2010, at 7:55 AM, Lachlan Deck wrote:

> On 07/10/2010, at 8:48 AM, Mark Ritchie wrote:
> 
>> On 6/Oct/2010, at 2:06 PM, Mike Schrag wrote:
>>> I'm a /Developer/Applications fan, personally ... I also like shuffling the 
>>> config around so I only have an Eclipse.app and the plugins and 
>>> configuration folders are inside the bundle.
>> 
>> Ick, clearly NOT someone who erases and installs every new Xcode build... ;-)
>> 
>> I put Eclipse in /Additions/Applications myself so it's clear that I've made 
>> an addition to the machine.  
>> In a newbie case, I'd default to /Applications
>> VMMV! ;-)
> 
> 
> Personally I install in ~/Applications. That way you can just back up your 
> home directory and should a re-install be needed it's simple. No worries re 
> permissions either.
> 
> with regards,
> --
> 
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
> 
> This email sent to t...@triptera.com.au

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

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


Re: Weird JavaMonitor wotaskd behavior on Snow Leopard [Solved]

2010-08-02 Thread D Tim Cummings
We had a similar problem with Tomcat starting before network was  
ready.  We solved the problem by putting


/usr/sbin/ipconfig waitall

in the tomcat startup script.  This might help here, and be a bit more  
reliable than just sleeping for 15 seconds.


Tim


On 03/08/2010, at 9:22 AM, Tusker wrote:



Turns out that it was the launchd launch daemon.  It was starting  
wotaskd and JavaMonitor before setting up the network for the  
machine resulting in weird behavior.  Adding sleep 15 to the wotaskd  
and JavaMonitor init script solved the problem.  I'm looking into a  
better way of doing this.  Tried but that did not work.


Thanks everyone for your help/suggestions.

M.


On Jul 29, 2010, at 7:42 AM, Chuck Hill wrote:


On Jul 28, 2010, at 9:57 PM, Tusker wrote:

I looked at the SpawnofWotaskd.log further:

Something even more weird further up in the logs

Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:43) WARN   
NSLog  - WOApplication Error: Failed to rename previously  
existing WOOutputPath file: /Library/WebObjects/Logs/testpp-1

.
Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG  
NSLog  - WOAdaptorURL=http://localhost/cgi-bin/WebObjects


Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG  
NSLog  - com.webobjects.pid = 3140



I set the HTTP Adaptor to my other server in JavaMonitor, not  
localhost.  Is WOAdaptorURL set correctly above.


I prefer it to have a FQDN for deployment boxes.



Well, that what I did.  I entered the FQDN for my server where the  
WOAdaptor sits.  I did this in JavaMonitor.  But WOAdaptorURL  
still points to http://localhost/cgi-bin/WebObjects in the logs.


Could this be the problem?



I don't think so.  What is this getting set to in the additional  
args of the app?



Chuck

--
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/products/practical_webobjects









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

This email sent to t...@triptera.com.au


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

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


Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-29 Thread D Tim Cummings
We have seen this behaviour intermittently (1 in 20 restarts) when  
restarting OS X 10.5 XServes.  Our solution has been to restart them  
again.  Sounds like your problem is more than intermittent so this may  
not work for you.


Another solution to a similar problem is to deactivate the network  
port and then activate it again.  Obviously, deactivating and  
activating a network port is difficult to do remotely.  Make sure you  
connect through the other network port!


Good luck

Tim

On 29/07/2010, at 3:54 AM, Tusker wrote:


Hi,

I'm seeing some very bizarre things with javamonitor and wotaskd.  I  
have new clean Snow Leopard servers.  I have a 3 machine setup.  1  
Websever, 1 Application server (Javamonitor, wotaskd) and 1 database  
server.  I followed the following instructions (http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server 
).


I can initially start up wotaskd and javamonitor.  I setup host and  
my test application using Javamonitor.  I can start up my test  
application fine.  Everything works fine, but as soon as I restart  
the server, I can't start the application that I just setup.  Both  
the wotaskd and javamonitor process start up and I can see them in  
the Activity Monitor.  I modified SpawnOfWotaskd.sh to capture the  
logs when I hit go.  Initially, I see these logs.  When I restart  
the server, these stop as well.


I tried adding -_DeploymentDebugging  true to the plist but it will  
not output the debugging level logs.


Any clues?

Thanks,
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:
http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au

This email sent to t...@triptera.com.au


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

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


Re: Javamonitor adds session instead of stopping the instance.

2010-07-18 Thread D Tim Cummings
With earlier versions (5.2.4, 5.3.3) of WebObjects I needed to add the  
additional arguments


-WODirectConnectEnabled NO

or I would get the behaviour you are seeing.

Tim


On 17/07/2010, at 9:28 AM, David Holt wrote:


Hi all,

Has anyone ever seen this behaviour? Stock Javamonitor on Tiger  
Server.


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

This email sent to t...@triptera.com.au


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

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


Re: Linux Apache 2.2 webserver update causing problems

2010-04-27 Thread D Tim Cummings

Hi

We were getting a couple of segmentation faults each day using apache2- 
mpm-worker on Debian Lenny.  We switched to using apache2-mpm-prefork  
and haven't had a segmentation fault since.


Tim

On 28/04/2010, at 1:43 AM, Aurélien Minet wrote:


Hi,

I have had a some problem with Apache package of Ubuntu 8.04 on  
x86_32: several Segmentation fault each days

causing no response or application/instance not found error.
Check apache error_log (not the error logs of vhost) for errors like  
"child pid 12345 exit signal Segmentation fault (11)".


Switching to Gentoo x86_32 with gcc-4.3.4 (hardened with Pie),  
apache-2.2.15, apr-util-1.3.9, apr-1.3.9, only one apache
child got a segmentation fault per week actually (it's not perfect  
but far better).


mod_WebObjects isn't free of bug, there is a double free problem in  
ac_readConfiguration() but I still haven't found a
way to reproduce this problem in order to fix it (but it's a rare  
problem).


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

This email sent to t...@triptera.com.au


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

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


Re: Sometime WebObjects drives me a little crazy!

2009-01-26 Thread D Tim Cummings
String attributes called "description" are ok, and EOGenericRecord is  
ok with relationships called "description".  However ERXGenericRecord  
has a method description() which returns toString() hence you can't  
call a relationship "description" or it tries to override the return  
type and gives a compile error.


Tim


On 27/01/2009, at 10:32 AM, Chuck Hill wrote:



On Jan 26, 2009, at 2:34 PM, Mike Schrag wrote:

Entity Modeler USED to (maybe still does) warn about this ... If  
you look at EOEnterpriseObject, there's:


String eoDescription() -- Returns a String that describes the  
receiver.


so maybe it was renamed?  I think I dodged "description" for a  
really long time until someone said "you don't have to" a year or  
so ago ... probably was Chuck.


Maybe, but I still mostly try to avoid it out of remembrance of the  
pain of the week that I discovered that this was NOT a good name to  
use with Obj-C.


Chuck



On Jan 26, 2009, at 5:18 PM, Lachlan Deck wrote:


On 27/01/2009, at 8:24 AM, Ken Anderson wrote:


Doesn't it still?  I NEVER use it :)


I believe it's still the case... unless that was Entity Modeler  
complaining. Can't recall.



On Jan 26, 2009, at 4:22 PM, Mark Morris wrote:

Back in the old days, an attribute named "description" would  
cause you grief.  ;-)



with regards,
--

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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to msch...@mdimension.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:
http://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/products/practical_webobjects






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

This email sent to ti...@tpg.com.au




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

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


Re: split install issue with 5.4.3

2009-01-13 Thread D Tim Cummings


On 14/01/2009, at 8:00 AM, Lachlan Deck wrote:
Sure. I'm just suggesting to double check the end of the app script  
i.e.,

$ tail YourApp.woa/YourApp


Hi Lachlan

Thanks for your interest.  The last lines of the launch script look  
good.  I also tried setting -WOFrameworksBaseURL in JavaMonitor and  
WOFrameworksBaseURL in the Properties file, before I worked out it was  
an Apple bug in WebObjects 5.4.3



tail WeboTest.woa/WeboTest

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

echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath  
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap $ 
{COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/WeboTest.woa/ 
Frameworks
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath  
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap $ 
{COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/WeboTest.woa/ 
Frameworks


Cheers

Tim








and check if it's adding the frameworkbase url arg. If not then  
everything you've said still holds.


with regards,
--

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

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


Re: split install issue with 5.4.3

2009-01-13 Thread D Tim Cummings


On 13/01/2009, at 4:38 PM, Lachlan Deck wrote:


On 13/01/2009, at 11:14 AM, D Tim Cummings wrote:


Yes, bug radar 6487590


This may, of course, not be a bug of Apple's but with the final  
build. Check the executable script for your app. i.e.,

$ less YourApp.woa/YourApp

The last line of mine has this:
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath  
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap $ 
{COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/MyApp.woa/ 
Contents/Frameworks


i.e., the WOFrameworksBaseURL is specifically getting set (whereas  
in the past this used to not be the case). Now I'm building with  
maven (using the woproject-maven plugin) but it's highly possible  
that seeing as it shares some functionality with woproject ant stuff  
that this is also happening for you for embedded builds.


If yours also has this - then this *is* the problem. That's why your  
properties are getting ignored - because the first property wins.


with regards,
--

Lachlan Deck




Hi Lachlan

This is definitely an Apple bug.  It doesn't occur in WebObjects 5.3.3  
but does occur in WebObjects 5.4.3.  Are you deploying using  
WebObjects 5.4.3 in your apps which use WOFrameworksBaseURL?  If so  
you need to check the urls of any static webserver resources from  
frameworks because I would say they are coming from the wrong place.   
Below is what I already posted to the WebObjects deploy mailing list  
which shows that when you first call WOApplication.frameworksBaseURL()  
it actually changes the value from whatever you have set it, to / 
WebObjects/Frameworks.  This is particularly dangerous in a deploy  
situation because you think it is using the latest ajax scripts from  
your embedded frameworks in your split install, but in fact it is  
using some old ajax javascript that happened to be sitting /Library/ 
WebServer/Documents/WebObjects/Frameworks.



To identify the bug I added some more logging and overrode some  
WOApplication methods.  As you can see the first call to  
frameworksBaseURL() in WebObjects 5.4.3 actually calls  
setFrameworksBaseURL("/WebObjects/Frameworks").  This does not happen  
in WebObjects 5.3.3


public class Application extends WOApplication {
public static void main(String[] argv) {
WOApplication.main(argv, Application.class);
}

public Application() {
NSLog.out.appendln("Welcome to " + name() + " !");
/* ** put your initialization code in here ** */
		if ( System.getProperty("WOFrameworksBaseURL") != null )  
setFrameworksBaseURL(System.getProperty("WOFrameworksBaseURL"));

frameworksBaseURL();
		if ( System.getProperty("WOFrameworksBaseURL") != null )  
setFrameworksBaseURL(System.getProperty("WOFrameworksBaseURL"));

frameworksBaseURL();
}

@Override
public String frameworksBaseURL() {
		NSLog.out.appendln("frameworksBaseURL() pre  super:  
WOProperties.TheFrameworksBaseURL   = " +  
WOProperties.TheFrameworksBaseURL);
		NSLog.out.appendln("frameworksBaseURL() pre  super:  
System.getProperty(WOFrameworksBaseURL) = " +  
System.getProperty("WOFrameworksBaseURL"));

String s = super.frameworksBaseURL();
		NSLog.out.appendln("frameworksBaseURL() post super:  
WOProperties.TheFrameworksBaseURL   = " +  
WOProperties.TheFrameworksBaseURL);		
		NSLog.out.appendln("frameworksBaseURL() post super:  
System.getProperty(WOFrameworksBaseURL) = " +  
System.getProperty("WOFrameworksBaseURL"));		
		NSLog.out.appendln("frameworksBaseURL() post super:  
super.frameworksBaseURL()   = " + s);		

NSLog.out.appendln("");   
return s;
}

@Override
public void setFrameworksBaseURL(String string) {
		NSLog.out.appendln("setFrameworksBaseURL(String string): change from  
" + WOProperties.TheFrameworksBaseURL + " to " + string);

super.setFrameworksBaseURL(string);
}

}




WEBOBJECTS 5.4.3 - SHOWS BUG

[2009-1-11 11:26:8 EST]  WOFrameworksBaseURL=/WebObjects/ 
WeboTest.woa/Frameworks

...
[2009-1-11 11:26:8 EST]  WebObjects version = 5.4.3
...
Welcome to WeboTest !
setFrameworksBaseURL(String string): change from null to /WebObjects/ 
WeboTest.woa/Frameworks
frameworksBaseURL() pre  super:  
WOProperties.TheFrameworksBaseURL   = /WebObjects/WeboTest.woa/ 
Frameworks
frameworksBaseURL() pre  super:  
System.getProperty(WOFrameworksBaseURL) = /WebObjects/WeboTest.woa/ 
Frameworks
setFrameworksBaseURL(String string): change from /WebObjects/ 
WeboTest.woa/Frameworks to /WebObjects/Frameworks  <--WHO'S CALLING THIS
frameworksBaseURL() post super:  
WOProperties.TheFrameworksBaseURL

Re: split install issue with 5.4.3

2009-01-12 Thread D Tim Cummings

Yes, bug radar 6487590

Tim

On 13/01/2009, at 9:31 AM, Travis Britt wrote:


Thanks! That works perfectly.

Was this filed with Apple yet?

tb

On Jan 12, 2009, at 5:57 PM, D Tim Cummings wrote:

For the benefit of those not on the webobjects deploy mailing list  
the workaround is to add the following two lines to your  
Application constructor.


public Application() {
NSLog.out.appendln("Welcome to " + name() + " !");
/* ** put your initialization code in here ** */
frameworksBaseURL();
		if ( System.getProperty("WOFrameworksBaseURL") != null )  
setFrameworksBaseURL(System.getProperty("WOFrameworksBaseURL"));

}

Note that it is important to call frameworksBaseURL() before your  
call to setFrameworksBaseURL() because the first call to  
frameworksBaseURL() calls setFrameworksBaseURL("/WebObjects/ 
Frameworks") which would override any setting you have made.   
Fortunately subsequent calls to frameworksBaseURL() do not do this.


Tim

On 13/01/2009, at 8:40 AM, Johann Werner wrote:


Hi Travis,

I am experiencing the same change in the WSR path since I switched  
to WO 5.4.3. There is a thread "-WOFrameworksBaseURL not working -  
WebObjects 5.4.3 BUG" on the wo-deploy mailing list that describes  
exactly that problem. Seems that it is a bug in the current WO  
version.


jw

Am 12.01.2009 um 18:37 schrieb Travis Britt:

When I do an ant build I end up with the two tarballs (one for  
the app, the other for WSR.) All seems fine. When I deploy, the  
paths for WSR are wrong. The app is looking for WSR as if it was  
not a split install.


This is a new app built against 5.4.3, latest Wonder, nightly of  
WOLips and a build.xml from about a week ago.


Anybody else seen this? Maybe I forgot something...

tb

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


This email sent to j...@oyosys.de



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

This email sent to ti...@tpg.com.au


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

This email sent to tbr...@phigment.org


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

This email sent to ti...@tpg.com.au


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

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

Re: split install issue with 5.4.3

2009-01-12 Thread D Tim Cummings
For the benefit of those not on the webobjects deploy mailing list the  
workaround is to add the following two lines to your Application  
constructor.


public Application() {
NSLog.out.appendln("Welcome to " + name() + " !");
/* ** put your initialization code in here ** */
frameworksBaseURL();
		if ( System.getProperty("WOFrameworksBaseURL") != null )  
setFrameworksBaseURL(System.getProperty("WOFrameworksBaseURL"));

}

Note that it is important to call frameworksBaseURL() before your call  
to setFrameworksBaseURL() because the first call to  
frameworksBaseURL() calls setFrameworksBaseURL("/WebObjects/ 
Frameworks") which would override any setting you have made.   
Fortunately subsequent calls to frameworksBaseURL() do not do this.


Tim

On 13/01/2009, at 8:40 AM, Johann Werner wrote:


Hi Travis,

I am experiencing the same change in the WSR path since I switched  
to WO 5.4.3. There is a thread "-WOFrameworksBaseURL not working -  
WebObjects 5.4.3 BUG" on the wo-deploy mailing list that describes  
exactly that problem. Seems that it is a bug in the current WO  
version.


jw

Am 12.01.2009 um 18:37 schrieb Travis Britt:

When I do an ant build I end up with the two tarballs (one for the  
app, the other for WSR.) All seems fine. When I deploy, the paths  
for WSR are wrong. The app is looking for WSR as if it was not a  
split install.


This is a new app built against 5.4.3, latest Wonder, nightly of  
WOLips and a build.xml from about a week ago.


Anybody else seen this? Maybe I forgot something...

tb

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

This email sent to j...@oyosys.de



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

This email sent to ti...@tpg.com.au


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

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

Re: Brand new WOLips install = Failed to process eclipse frameworks

2008-12-05 Thread D Tim Cummings
The Wonder Frameworks need to be installed in the one of the  
frameworks directories and not just a project in the workspace.  For  
me I have set


wo.local.frameworks=/Developer/WebObjects53/Library/Frameworks

in my ~/Library/Application Support/WOLips/wolips.properties

and installed the frameworks there.

Tim




On 06/12/2008, at 8:07 AM, Simon McLean wrote:


Hi All -

Attempting to move to 3.4.1

Downloaded very latest Eclipse today -  Version: 3.4.1 Build id:  
M20080911-1700)

Downloaded latest WOLips nightly build today (3.4.5581)
Downloaded wonder source & imported frameworks as projects in my  
brand new 3.4.1 workspace

Create a brand new WOnderApplication
Right click on new WOnderApp > WOLips Ant Tolls > Install
Build fails with ..

Buildfile: /Users/eclipse3/NewApp/build.xml
init.properties:
init.install:
compile:

BUILD FAILED
/Users/eclipse3/NewApp/build.xml:207: Failed to process eclipse  
frameworks.


Total time: 3 seconds

The point in the build.xml at which it fails is here:



		classname="org.objectstyle.woproject.ant.WOCompile" />




 <<< FAILS HERE



















I found this thread on a similar subject (the only one i could  
find) but the mail thread doesn't reach a conclusion.


http://www.mail-archive.com/webobjects-dev@lists.apple.com/ 
msg24364.html


Does anyone have any pointers ?

Thanks, Simon


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


This email sent to [EMAIL PROTECTED]


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

This email sent to [EMAIL PROTECTED]

Re: Immortal sessions in production

2008-08-20 Thread D Tim Cummings
We have a couple of sessionless apps that have started showing this  
problem with sessions that don't terminate.  It turned out the  
sessions were being created by malformed urls coming from malicious  
robot web crawlers.  The urls were of the form


http://www.courses.qut.edu.au/cgi-bin/WebObjects/Courses.woa/wa/cgi- 
bin/WebObjects/Courses.woa


Maybe see if you are getting incorrect links to your sessionless  
login page.


We solved the problem by catching unknown direct actions in  
DirectAction.java


@Override
public WOActionResults performActionNamed(String actionName) {
try {
return super.performActionNamed(actionName);
} catch (NSForwardException nsfe) {
			log.info("ns forward exception - prbalby no such method for " +  
actionName);

}
return defaultAction();
}

and in Application.java directing exceptions back to the Main page  
(for URLs with more than one / after wa).


@Override
public WOComponent pageWithName(String namePage, WOContext context) {
if ( "WOExceptionPage".equals(namePage) ) {
namePage = "Main";
}
if ( "WOSessionRestorationError".equals(namePage) ) {
namePage = "Main";
}
return super.pageWithName(namePage, context);
}


and in Main.java

public void setException ( Exception e ) {
log.error("an exception occurred " + e);
}


We are running apps with embedded Wonder 4 and WebObjects 5.3.3 on  
Mac OS X Server 10.5.4 with WebObjects 5.4.2 deployment.  We didn't  
have the problem before we went to this setup, but maybe we weren't  
getting hit with the same url format then.


Tim

On 21/08/2008, at 4:02 AM, Chuck Hill wrote:



On Aug 20, 2008, at 9:54 AM, Simon McLean wrote:


Hi All -

Wondering if someone can throw me some ideas on solving what looks  
like an immortal session problem.


- Start up 1 instance in java monitor.
- User lands on sessionless login page. No sessions.
- User logs in. 1 session.
- User logs out. 0 sessions.
- User logs in. 1 session.
- User does nothing. Session times out. 0 sessions.

All looks good. However, we get to the end of the day and the  
instance has 376 active sessions. But I know for this particular  
app there are only 6 users, because they are all sitting next  
door :-) Also, If i now leave this instance overnight none of  
those active sessions will go away.


So what could be going on ? Something appears to be creating  
immortal sessions, but forced session termination (by the user  
logging out) and session expiration seem to be behaving themselves.



If the users don't notice any problems, my money would be on an  
exception thrown from your Session.terminate().  Also check the  
sleep() method to ensure it can never throw.


I have seen a related problem where two requests come in for the  
same session (user double clicks, Ajax etc), and the first calls  
terminate() on the session.  The second thread is stuck and the app  
can't gracefully shut down.  IIRC, you would see zero sessions in  
this case.  The "fix" for this is to not call terminate() and  
instead set the session timeout to a small number of seconds.


Chuck

--
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/products/practical_webobjects






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


This email sent to [EMAIL PROTECTED]




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

This email sent to [EMAIL PROTECTED]

Re: failed to open database channel with mysql (Again)

2007-08-10 Thread D Tim Cummings

You have an odd choice of username and password

username = [password];
password = wouser;

Maybe try the other way around!

Tim

On 11/08/2007, at 4:59 AM, David BON wrote:


Hi,

I'm still in the process of converting an XCode project to WOLips  
and Wonder.


I found an old post with the same title but couln't find any  
solution attached to it.


Here's my situation:

I run a mySQL database (the Movies DB from the D2WListExample  
example) that I import into my project by drag and drop from the  
finder into Eclipse of the differents files created by EOModel.
I can connect to it through Eclipse (v3.2.2 this time) using the  
SQLExplorer plug-in (so I suppose that my JDBC adaptor and my  
connection paramaters are OK).


I have set the connectionDictionnary like that:
{
EOModelVersion = 2.1;
adaptorName = JDBC;
connectionDictionary =
{
password = wouser;
URL = jdbc:mysql://localhost:8889/Movies;
username = [password];
};
entities = (...)

I also try with:
{
EOModelVersion = 2.1;
adaptorName = JDBC;
connectionDictionary =
{
password = "wouser";
URL = "jdbc:mysql://localhost:8889/Movies";
username = "[password]";
 driver = "";
};
entities = (...)

and this one :
{
EOModelVersion = 2.1;
adaptorName = JDBC;
connectionDictionary =
{
password = "wouser";
URL = "jdbc:mysql://localhost:8889/Movies";
username = "[password]";
 driver = "com.mysql.jdbc.Driver";
};
entities = (...)

But I always get an error: the log says that the applicaton fails  
to find a JNDI adaptor, then use a default openbase one and (of  
course) I get errors:  'com.webobjects.jdbcadaptor.OpenBasePlugIn'  
and 'connecting with dictionary: {LC_ALL = "iso_1"; password =  
""; databaseEncoding = "ISO Latin-1"; URL  
= "jdbc:openbase://127.0.0.1/WOMovies:wo";}'


How to solve that or at least get more hints to find where is the  
problem?


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


This email sent to [EMAIL PROTECTED]


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

This email sent to [EMAIL PROTECTED]

Re: WXCheckboxList & deployment question - making jars from frameworks

2007-07-24 Thread D Tim Cummings
The following has worked for me to make jars of frameworks.  (It  
doesn't work if there are other jar's in the Resources/Java directory)


cp -R /Library/Frameworks/WOComponentElements.framework /Library/ 
WebObjects/lib/
mv /Library/WebObjects/lib/WOComponentElements.framework/Resources/ 
Java/WOComponentElements.jar /Library/WebObjects/lib

cd /Library/WebObjects/lib/WOComponentElements.framework
jar uvf ../WOComponentElements.jar *
cd ..
rm -R WOComponentElements.framework

Alternatively you can try the Apple script which does work with other  
jars in Resources/Java directory except in cases like  
ERJavaMail.framework which have important files in META_INF that get  
clobbered.


/Developer/Makefiles/java_makefiles/CoaxBundleIntoJar.sh /Library/ 
Frameworks/WOComponentElements.framework /Library/WebObjects/lib



Tim Cummings


On 25/07/2007, at 9:29 AM, Chuck Hill wrote:



On Jul 24, 2007, at 4:14 PM, Randy Wigginton wrote:



For my project I wanted to use the WXCheckbox element; so, I  
loaded the project into XCode, built the deployment version (which  
made /Library/Frameworks/WOComponentElements), added that  
framework to my project.  Immediately, I noticed the build never  
worked; it always gave an error that the jar was not in /Library/ 
WebObjects/lib.


No.  The jars in that location are not the same as the jar in / 
Library/Frameworks/WOComponentElements/Resourcs/Java/ 
WOComponentElements.jar.  The jars in the lib/ directory are entire  
frameworks packaged as jars.


No, I don't know how to make Xcode generate one of these jars,  
hopefully someone else will.



So, I copied the jar to that location, wondering why I needed to  
do that extra step.  I continue on, everything seems to be working  
fine.


That is because it is using what is in /Library/Frameworks/


So I build a WAR file from my project (which has been successful,  
thanks to all those that helped).  When I deploy the WAR, and  
attempt  to go to the page with the checkbox list, I get this error:

- WOBundle.lookForClassInAllBundles(WXCheckBoxList) failed!
- :  
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException  
[java.lang.ClassNotFoundException] Cannot find class or component  
named WXCheckBoxList in runtime or in a loadable bundle:  
parsing template for Component : 'jar:file:///quigo/adsonar-server/ 
webapps/MediaKommandantWO/WEB-INF/lib/MediaKommandantWO.jar!/ 
Resources/ManageSectionsLibraries.wo':
java.lang.ClassNotFoundException: Cannot find class or component  
named WXCheckBoxList in runtime or in a loadable bundle


That is because the jar you put in lib/ is an ordinary jar, not a  
jar'ed bundle.


Chuck


--

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/products/practical_webobjects





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


This email sent to [EMAIL PROTECTED]




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

This email sent to [EMAIL PROTECTED]

Re: WOLips Ant Build

2007-07-10 Thread D Tim Cummings
When you create a new Wonder Application it creates a folder  
"Libraries" which is already set up like this in build.xml.  Drop  
your third party jars in the "Libraries" folder.  Right-click on them  
and select Build Path -> Add to Build Path, and you are done!


Tim

On 10/07/2007, at 8:55 AM, Chuck Hill wrote:


To handle the jars, just fill out this part of the build.xml file:






e.g.





or







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

This email sent to [EMAIL PROTECTED]

Re: SSDD builds with WOLIPS

2007-01-25 Thread D Tim Cummings

thanks Dov

Where does OurApplication.jar go?  The XCode build puts it in lib.   
The WOLips build puts it somewhere else as OurApplication.woa.


I personally have had more success building all the frameworks as  
jars and putting them in lib, like the XCode build.


Tim

On 25/01/2007, at 2:22 PM, Dov Rosenberg wrote:

We have been deploying our apps as servlets for the past 2+ years.  
We started using the SSDD target but found it lacking. The biggest  
hassle we found was the SSDD didn’t seem to include everything we  
needed. One of the only limitations I have come across is that the  
resulting WAR file can be run without having the container expand  
it first (which is the default behavior for Tomcat but not WebLogic  
– see below for the reason). Our apps get built using the following  
steps:


Build the frameworks using  and 
Build the applications using  and 
Assemble the web applications manually instead of using the  
supplied SSDD target. Our final deployment includes the following  
structure:

   WEB-INF
classes
Library
Frameworks
OurFoundation.framework
OurModel.framework
OurServices.framework
JavaEOAccess.framework
JavaEOControl.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaWebObjects.framework
JavaWebServicesClient.framework (if needed)
JavaWebServicesSupport.framework (if needed)
JavaWOExtensions.framework (if needed)
JavaWOJSPServlet.framework
JavaXML.framework
lib
parsers, mail.jar, etc>
web.xml (Need to make sure that the WOClasspath  
context parameter includes all of the WO frameworks listed above  
plus your application frameworks. There is an environment variable  
WEBINFROOT that gets resolved at runtime to the path where the WEB- 
INF folder is located. This is the primary reason that the WAR file  
must be expanded in order to run properly.


4. After the web app is assembled it is WARed using the ant  
 task.


Hope this helps others.


--
Dov Rosenberg
Conviveon/Inquira
Knowledge Management Experts
http://www.conviveon.com
http://www.inquira.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:
http://lists.apple.com/mailman/options/webobjects-dev/timcu% 
40tpg.com.au


This email sent to [EMAIL PROTECTED]


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

This email sent to archive@mail-archive.com

Re: Deploy on Windows?

2007-01-09 Thread D Tim Cummings
Make sure you are using the WebObjects 5.3.2 license key.  The  
WebObjects 5.3.1 license key won't work.  You can check using the  
code below.


//to compile, save as LicenseCheck.java and then type
// javac -classpath /Library/WebObjects/lib/JavaWebObjects.jar  
LicenseCheck.java

//
public class LicenseCheck extends  
com.webobjects.appserver._private.License {


public LicenseCheck(String s) {
super(s);
}

public static void main(String args[]) {
if(args.length == 0){
System.out.println("Usage: java -cp /Library/WebObjects/ 
lib/JavaWebObjects.jar:. LicenseCheck serial-number");

System.exit(0);
}
try {
System.out.println(SerialNumberUtil.FSSerialBytes2Struct 
(SerialNumberUtil.FSSerialString2Bytes(args[0])));

System.out.println(new LicenseCheck(args[0]));
} catch(IllegalArgumentException iae) {
System.out.println("Invalid serial number");
}
}

}

The output gives a bit more information than Apple's  
WebObjectsLicenseUpgrader which hasn't shipped since 5.2 anyway. Here  
is some sample output I got from recent keys


WebObjects 5.3 key
serialNumberVersion=1 serialNumber=3 check=398563 station=0  
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=true  
wounix=true multithreading=true loadbalancing=true >



WebObjects 5.3.1 key
serialNumberVersion=1 serialNumber=2 check=523789 station=0  
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=false  
wounix=false multithreading=true loadbalancing=true >



WebObjects 5.3.2 key
serialNumberVersion=1 serialNumber=4 check=1022001 station=0  
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=true  
wounix=true multithreading=true loadbalancing=true >



It looks like productCode=10 is WebObjects Developer, while  
productCode=11 is WebObjects Deployment.  As expected the 5.3.1 key  
didn't work with linux (wounix=false), but the 5.3 key did.  It looks  
like the 5.3.2 key is a true deployment key for all platforms.



On 10/01/2007, at 4:13 AM, Fredrik Lindgren wrote:

I am trying to get a working deployment on windows using Tomcat. I  
have it working om macosx under tomcat but when moved to windows I  
get Servlet WOServletAdaptor is not available error. I have tested  
all the workarounds on the lists and wikis but none of them seem to  
mater. Should I try an older version of WebObjects?


Any suggestion?


/Fredrik
_
drop, Kålsängsgränd 10 B, 753 19 UPPSALA, Sweden
018-50 56 00, http://www.drop.se


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


This email sent to [EMAIL PROTECTED]


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

This email sent to archive@mail-archive.com

Re: Problem with Subversion and Xcode line encodings

2006-12-02 Thread D Tim Cummings
XCode 2.4.1 fixes an incompatibility between XCode 2.4 and Subversion  
1.4.2.  Note that XCode 2.4 works fine with Subversion 1.3.2.


Cheers

Tim

On 02/12/2006, at 7:04 AM, David Aspinall wrote:

I have been having a very strange problem with Subversion and  
Xcode.  I am trying to convert from CVS to SVN but when I commit a  
file that I have edited in Xcode i get


~/trunk/Core/src/ticoon $ svn commit crypto
Adding crypto
Adding crypto/HexTool.java
Transmitting file data .svn: Commit failed (details follow):
svn: Unrecognized line ending style
svn: Your commit message was left in a temporary file:
svn:'/Users/daspinall/trunk/Core/src/ticoon/svn-commit.tmp'

The repository is a linux (Debian) server. The cvs2svn worked  
fine.  I can edit and commit to this repo, but if I add a new file  
it fails.


If I query the properties

ticoon $ svn proplist -v crypto/HexTool.java
Properties on 'crypto/HexTool.java':
  svn:executable : *
  svn:eol-style : native svn:keywords="Date Author Id  Revision"
ticoon $

I have tried setting the svn:eol-style to CR, LF, I have tried  
changing the line encoding in XCode, all to no success.


Please don't say _use eclipse_, I am looking at that also, but the  
developers have projects and comfort levels with XCode, so I think  
a migration for both CVS and XCode at once is too much.


Subversion is the same on both the Macs and the Linux server
$ svn --version
svn, version 1.4.2 (r22196)

XCode is version 2.4

I don't know what else could be the problem.

Help?

David
---
[EMAIL PROTECTED]
(416) 513-9524 x263

Ticoon Technology Inc.
56 The Esplanade, Suite 404, Toronto, ON, M5E 1A7



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


This email sent to [EMAIL PROTECTED]



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

This email sent to archive@mail-archive.com


Re: Jboss 4.0.x deployment

2006-06-30 Thread D Tim Cummings
Hi Andrew,WebObjects is clever because it uses the standard EOModel database connection in development and then when you deploy (and  is uncommented in web.xml.template) EOF ignores the EOModel connection string and automatically uses the jboss data source connection which of course could be to a different database.For development I am using XCode 2.3 WebObjects 5.3.1 When starting the project I selected true WAR (frameworks must be built as jars)I built an EOModel which matched the data structure in the postgresql 8.1.3 database.  I am using the postgresql-8.0-310.jdbc3.jar jdbc driver in /Library/Java/Extensions.  I am using the Project wonder PostgresqlPlugin.framework in /Library/Frameworks. I am using case sensitive field names so I had to set the property in Application.java constructor   System.setProperty("com.webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting","true");For deployment I am using jboss 4.0.3SP1 on a debian system with 2.6 kernel and java 1.5.0_06. To prepare my app for deployment I used a WebObjects 5.3 licence key in SERVLET_DEPLOY_LICENSE in main project target.My jboss-web.xml  "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">      jdbc/DefaultDataSource    java:/PostgresDS  From my web.xml.template      The data source to be used by EOF. If there are multiple data sources,                 then the definition below must be used to configure which JDBC URL (Model) should                 use which data source. If EOF should use a JDBC driver directly, this section must be commented out    jdbc/DefaultDataSource    javax.sql.DataSource    Container  From postgres-ds.xml in jboss deploy directory      PostgresDS    jdbc:postgresql://192.168.0.1:5432/my_database    org.postgresql.Driver    my_username    my_password            PostgreSQL 8.0      To ensure the PostgresqlPlugin.framework was built as a jar I ran the following command/Developer/Makefiles/java_makefiles/CoaxBundleIntoJar.sh /Library/Frameworks/PostgresqlPlugin.framework /Library/WebObjects/libI also had issues with primary key generation because the sequences in the database didn't match the sequence names that the framework was expecting.  For each eogenerated model subclass class I overrode the method awakeFromInsertion with the following:    public void awakeFromInsertion(com.webobjects.eocontrol.EOEditingContext ec) {        if ( ec != null && idEnquiry() == null ) {                   String sql = "select nextval('my_schema.\"Enquiry_EnquiryNumber_seq\"'::text);";            NSArray ar = com.webobjects.eoaccess.EOUtilities.rawRowsForSQL(ec, "my_eomodel", sql, new NSArray("id"));             if ( ar.count() > 0 ) {                NSDictionary nsd = (NSDictionary) ar.objectAtIndex(0);                setIdEnquiry((Number) nsd.objectForKey("id"));            }        }            }I hope this helps.D Tim CummingsTriptera Pty LtdOn 30/06/2006, at 13:49, Andrew Madu wrote:Hi D,I am using postgresql within jboss 4.0.x in exactly the same way, using postgres-ds.xml, with my current cocoon/hibernate project. As I am now going to move the project over to webobjects framework could you let know how to reference the jndi connection from within your webobject project? regardsAndrewOn 29/06/06, D Tim Cummings <[EMAIL PROTECTED]> wrote: We are using jboss 4.  We are letting jboss handle the connectionsusing the jndi by putting a datasource xml file in the deploymentdirectory (in our case postgres-ds.xml)  that was referenced fromjboss-web.xml D Tim Cummings ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: Jboss 4.0.x deployment

2006-06-29 Thread D Tim Cummings
We are using jboss 4.  We are letting jboss handle the connections  
using the jndi by putting a datasource xml file in the deployment  
directory (in our case postgres-ds.xml)  that was referenced from  
jboss-web.xml


D Tim Cummings


On 29/06/2006, at 03:40, David Aspinall wrote:

We are not using JBoss, but we are using WebSphere and all database  
connections are handled by the IBM Connection pool.  We got all  
kinds of connection issues (incomplete transactions, deadlocks,  
closed connections) because EOF like to make a connection and hold  
it forever.


To fix it i created an alternate EOF adaptor based on the  
JavaPoolingJDBCAdaptor.  It manages the connections using delegate  
hooks from EOF.


Let me know, I can probably post it if you are interested.

David
---
Ticoon Technology Inc.
56 The Esplanade, Suite 404, Toronto, ON, M5E 1A7



On 28-Jun-06, at 1:09 PM, Andrew Madu wrote:


Hi,
is anyone deploying their webobjects peoject withing Jboss 4.0.x?  
If so, how are you handling your DB connections, are you letting  
Jboss handle the connection via JNDI or are you letting webojects  
handle it?


thanks in advance

Andrew
 ___

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


This email sent to [EMAIL PROTECTED]



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

This email sent to archive@mail-archive.com


[SOLUTION] Re: Using Project Wonder frameworks in standalone war for jboss deployment

2006-06-21 Thread D Tim Cummings
I searched through the Apple build scripts to see how Apple build frameworks as jars when you set the BUNDLE_AS_JAR property to YES and found a shell script that does it.  All I needed to do was run /Developer/Makefiles/java_makefiles/CoaxBundleIntoJar.sh /Library/Frameworks/ERJavaMail.framework /Library/WebObjects/liband the script built ERJavaMail.framework into ERJavaMail.jar and put it in /Library/WebObjects/lib ready for use.How easy was that!D Tim CummingsTriptera Pty LtdOn 25/05/2006, at 20:51, D Tim Cummings wrote:When setting up my project in xcode and selecting standalone war, there was an instruction that custom frameworks must be built as jars.  How do you do that?  For example, if I am looking at ERJavaMail.framework, I am guessing I need to take the ERJavaMail.jar from ERJavaMail.framework/Resources/Java/ as my starting point and put it in /Library/WebObjects/lib.  Then I have to add the Resources and WebServerResources directories into the ERJavaMail.jar.  However, that doesn't work because the additional jar files (activation, jakarta-oro, mail) in the ERJavaMail.framework/Resources/Java/ directory are not in the class path. I took them out of the framework and put them in /Library/WebObjects/lib but xcode decided not to add them to the war when it built it.  I then put them in my project's /Servlet Resources/WEB-INF/lib and that seemed to work but then I haven't really built the whole framework as a single jar.Here are my shell commands showing what I did. cp -R /Library/Frameworks/ERJavaMail.framework /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/ERJavaMail.jar /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/activation-1.0.2.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/mail-1.3.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib cd /Library/WebObjects/lib/ERJavaMail.framework jar uvf ../ERJavaMail.jar * cd .. rm -R ERJavaMail.frameworkThanks in advance for any helpRegardsD Tim CummingsTriptera Pty Ltd ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/timcu%40tpg.com.auThis email sent to [EMAIL PROTECTED]  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: WebObjects on Windows 2003 Server

2006-06-15 Thread D Tim Cummings
Hi GarryI have deployed WO5.2.4 to Win2003 Server  SP1 and j2sdk1.4.2_08 without problems.  I am using IIS adaptor but not direct to web.TimOn 15/06/2006, at 06:00, Watkins, Garry wrote: Has anyone gotten WO 5.2.4 to run on Win2003 Server with JRE1.4.2.  It seems to have some issues, with the path.  See log info below.  However, when I direct connect to the port I have no problems.  However, if I try to use the IIS adaptor it gives me a service unavailable message.  Any hints would be appreciated.  BTW.  my admin guy doesn't want to install Win2K.   Thanks Garry   2006-06-14 12:22:33,320 INFO  CMPTest[2001] er.extensions.ERXLogger (ERXLogger.java:182)  - Updated the logging configuration with the current system properties.
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - **DirectToWeb could not load dictionary in \Apple\Library\Frameworks\JavaDirectToWeb.framework\Resources\d2w.d2wmodel
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb: Problem reading file \Apple\Library\Frameworks\JavaDirectToWeb.framework\Resources\d2w.d2wmodel reason:java.lang.NullPointerException
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb could not merge d2wmodel from C:\Apple\Library\Frameworks\JavaDirectToWeb.framework\Resources\d2w.d2wmodel for reason: null
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - **DirectToWeb could not load dictionary in \Apple\Local\Library\Frameworks\ERDirectToWeb.framework\Resources\d2w.d2wmodel
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb: Problem reading file \Apple\Local\Library\Frameworks\ERDirectToWeb.framework\Resources\d2w.d2wmodel reason:java.lang.NullPointerException
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb could not merge d2wmodel from C:\Apple\Local\Library\Frameworks\ERDirectToWeb.framework\Resources\d2w.d2wmodel for reason: null
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - **DirectToWeb could not load dictionary in \Apple\Local\Library\Frameworks\ERNeutralLook.framework\Resources\d2w.d2wmodel
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb: Problem reading file \Apple\Local\Library\Frameworks\ERNeutralLook.framework\Resources\d2w.d2wmodel reason:java.lang.NullPointerException
2006-06-14 12:22:33,367 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - ** DirectToWeb could not merge d2wmodel from C:\Apple\Local\Library\Frameworks\ERNeutralLook.framework\Resources\d2w.d2wmodel for reason: null
2006-06-14 12:22:33,586 DEBUG CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:44)  - The URL for webserver connect is:
http://HOBCAW/scripts/WebObjects.exe/CMPTest.woa/-2001
The URL for direct connect is:
http://HOBCAW:2001/scripts/WebObjects.exe/CMPTest.woa
2006-06-14 12:22:33,586 WARN  CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:41)  - 
2006-06-14 12:22:33,586 DEBUG CMPTest[2001] NSLog (ERXNSLogLog4jBridge.java:44)  - Waiting for requests...
 Confidential & PrivilegedUnless otherwise indicated or obvious from its nature, the information contained in this communication is attorney-client privileged and confidential information/work product. This communication is intended for the use of the individual or entity named above.  If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies--electronic, paper or otherwise--which you may have of this communication. ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/timcu%40tpg.com.auThis email sent to [EMAIL PROTECTED]  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Using Project Wonder frameworks in standalone war for jboss deployment

2006-05-25 Thread D Tim Cummings
When setting up my project in xcode and selecting standalone war, there was an instruction that custom frameworks must be built as jars.  How do you do that?  For example, if I am looking at ERJavaMail.framework, I am guessing I need to take the ERJavaMail.jar from ERJavaMail.framework/Resources/Java/ as my starting point and put it in /Library/WebObjects/lib.  Then I have to add the Resources and WebServerResources directories into the ERJavaMail.jar.  However, that doesn't work because the additional jar files (activation, jakarta-oro, mail) in the ERJavaMail.framework/Resources/Java/ directory are not in the class path. I took them out of the framework and put them in /Library/WebObjects/lib but xcode decided not to add them to the war when it built it.  I then put them in my project's /Servlet Resources/WEB-INF/lib and that seemed to work but then I haven't really built the whole framework as a single jar.Here are my shell commands showing what I did. cp -R /Library/Frameworks/ERJavaMail.framework /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/ERJavaMail.jar /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/activation-1.0.2.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/mail-1.3.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib cd /Library/WebObjects/lib/ERJavaMail.framework jar uvf ../ERJavaMail.jar * cd .. rm -R ERJavaMail.frameworkThanks in advance for any helpRegardsD Tim CummingsTriptera Pty Ltd ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com