Re: Problem running from Eclipse

2020-01-27 Thread Valerio Luccio via Webobjects-dev
OK, it seems to a problem with my workspace. If I create a "Hello World" 
app from template it doesn't work, but if I use another workspace it 
does ...


--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

___
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 running from Eclipse

2020-01-27 Thread Valerio Luccio via Webobjects-dev
My build path has both: "javafoundation.jar" in Resources, and 
"JavaFoundation.jar" in WebServerResources. That's is the default 
behavior went you add a library in the configure build path.


On 1/27/20 1:34 PM, Aaron Rosenzweig wrote:


Hi Valerio,

It’s that the error complained about not finding NSCoding which should 
be in JavaFoundation. Oh… but you know… there is a WebServerResources 
version that you do not want. Gotta be sure you got the right jar.


You want something like:
/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar

*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=tjYCXsU14faVxCMqLOsqhrhxPMCrUjqHNTjzrUCqDvI=kNsccW7GWn62QbYy_T6yrsb3NOAaJPe_ubk0JWVBJ7M=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 27, 2020, at 1:29 PM, Valerio Luccio <mailto:valerio.luc...@nyu.edu>> wrote:


Not sure what you're suggesting. I tried removing the JavaFoundation 
and add it back in the configure build path, didn't give me any 
errors in the build, but when I try to run it I got the same error.


I thinks it's clear that the path is screwed up somehow, but I can't 
figure out where.


On 1/27/20 10:35 AM, Aaron Rosenzweig wrote:


Hey Valerio,

That sheds some light… did you upgrade to Catalina or other OS 
changes? Many people got burned by Catalina moving directories under 
root to other locations messing up your class path. It’s very 
possible that your beans were arranged above your frank without you 
knowing… just by an OS upgrade.


In other words, it can find the magic locations for your frameworks 
anymore. “Configure build path” and see if things are read and need 
to be re-mapped.
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=bRvHvGoIE939lB-I22_KxvKkW3ZMv0zUs8X5LpWJgJM=y3LkTL0h31RLWNB0rwny6icU-m6hISpKWjcsWFPJwcA=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n Bike    Chat 'n Bike


On Jan 27, 2020, at 10:31 AM, Valerio Luccio 
mailto:valerio.luc...@nyu.edu>> wrote:


Thanks for the reply.

I started that project about 15 years ago and the last time I fired 
it up successfully from Eclipse was in September. Then in December, 
without changing anything in the project, I could not do it anymore.


The JavaFoundation.framework in my path is 
/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks 
and NSCoding is definitely there.


I guess I'll have to try reinstalling Eclipse (sigh).

On 1/23/20 11:17 PM, Aaron Rosenzweig wrote:


Sorry Valerio, 6 weeks is a long time indeed - you’ve been patient.

JNI has to do with Java making calls to a C library. That’s the 
“native method” part.


If it were me, I’d trash Eclipse and start over. I know that’s not 
what you want to hear but…


Hmm… thinking some more…

“NSCoding” lives inside the “JavaFoundation.framework” from Apple. 
Do you have that framework included in your project? Can you find 
it when you “configure build path” for your project?
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=CJPoFIXrpAoGaeUPBMEl0iEevpJ6LnRfeG-05Aqm6VI=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 23, 2020, at 2:24 PM, Valerio Luccio via Webobjects-dev 
<mailto:webobjects-dev@lists.apple.com>> wrote:


6 Weeks ago I sent this message, but got no replies. Really 
nobody has any clue ?


btw: I get the same using a simple example app and trying from a 
clean workspace.


On 12/9/19 2:23 PM, Valerio Luccio wrote:


Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 
1.8. I hadn't fired up my web app from Eclipse in a couple of 
months and today, without having any major changes to the O/S, 
when I tried I got:


Error: A JNI error has occurred, please check your
installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    .

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York University    New York, NY 10003

 "In an open world, who needs windows or gates ?"



--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 1

Re: Problem running from Eclipse

2020-01-27 Thread Valerio Luccio via Webobjects-dev
Not sure what you're suggesting. I tried removing the JavaFoundation and 
add it back in the configure build path, didn't give me any errors in 
the build, but when I try to run it I got the same error.


I thinks it's clear that the path is screwed up somehow, but I can't 
figure out where.


On 1/27/20 10:35 AM, Aaron Rosenzweig wrote:


Hey Valerio,

That sheds some light… did you upgrade to Catalina or other OS 
changes? Many people got burned by Catalina moving directories under 
root to other locations messing up your class path. It’s very possible 
that your beans were arranged above your frank without you knowing… 
just by an OS upgrade.


In other words, it can find the magic locations for your frameworks 
anymore. “Configure build path” and see if things are read and need to 
be re-mapped.
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=bRvHvGoIE939lB-I22_KxvKkW3ZMv0zUs8X5LpWJgJM=y3LkTL0h31RLWNB0rwny6icU-m6hISpKWjcsWFPJwcA=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 27, 2020, at 10:31 AM, Valerio Luccio <mailto:valerio.luc...@nyu.edu>> wrote:


Thanks for the reply.

I started that project about 15 years ago and the last time I fired 
it up successfully from Eclipse was in September. Then in December, 
without changing anything in the project, I could not do it anymore.


The JavaFoundation.framework in my path is 
/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks 
and NSCoding is definitely there.


I guess I'll have to try reinstalling Eclipse (sigh).

On 1/23/20 11:17 PM, Aaron Rosenzweig wrote:


Sorry Valerio, 6 weeks is a long time indeed - you’ve been patient.

JNI has to do with Java making calls to a C library. That’s the 
“native method” part.


If it were me, I’d trash Eclipse and start over. I know that’s not 
what you want to hear but…


Hmm… thinking some more…

“NSCoding” lives inside the “JavaFoundation.framework” from Apple. 
Do you have that framework included in your project? Can you find it 
when you “configure build path” for your project?
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=CJPoFIXrpAoGaeUPBMEl0iEevpJ6LnRfeG-05Aqm6VI=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 23, 2020, at 2:24 PM, Valerio Luccio via Webobjects-dev 
<mailto:webobjects-dev@lists.apple.com>> wrote:


6 Weeks ago I sent this message, but got no replies. Really nobody 
has any clue ?


btw: I get the same using a simple example app and trying from a 
clean workspace.


On 12/9/19 2:23 PM, Valerio Luccio wrote:


Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 
1.8. I hadn't fired up my web app from Eclipse in a couple of 
months and today, without having any major changes to the O/S, 
when I tried I got:


Error: A JNI error has occurred, please check your
installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
.

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"



--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
<mailto:Webobjects-dev@lists.apple.com>)

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_aaron-2540chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=tahru65z6JPxcM4IPpTjhtvuptpIVz_bLWVeh6Lhvfg=>


This email sent to aa...@chatnbike.com





--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York University    New York, NY 10003

 "In an open world, who needs windows or gates ?"




--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
Ne

Re: Problem running from Eclipse

2020-01-27 Thread Valerio Luccio via Webobjects-dev
Yes, I had upgraded to Catalina in November, but it screwed up a lot of 
things, so reverted to Mojave. I thought that I restored everything back 
to what it was, but maybe not.


Thanks,

On 1/27/20 10:35 AM, Aaron Rosenzweig wrote:


Hey Valerio,

That sheds some light… did you upgrade to Catalina or other OS 
changes? Many people got burned by Catalina moving directories under 
root to other locations messing up your class path. It’s very possible 
that your beans were arranged above your frank without you knowing… 
just by an OS upgrade.


In other words, it can find the magic locations for your frameworks 
anymore. “Configure build path” and see if things are read and need to 
be re-mapped.
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=bRvHvGoIE939lB-I22_KxvKkW3ZMv0zUs8X5LpWJgJM=y3LkTL0h31RLWNB0rwny6icU-m6hISpKWjcsWFPJwcA=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 27, 2020, at 10:31 AM, Valerio Luccio <mailto:valerio.luc...@nyu.edu>> wrote:


Thanks for the reply.

I started that project about 15 years ago and the last time I fired 
it up successfully from Eclipse was in September. Then in December, 
without changing anything in the project, I could not do it anymore.


The JavaFoundation.framework in my path is 
/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks 
and NSCoding is definitely there.


I guess I'll have to try reinstalling Eclipse (sigh).

On 1/23/20 11:17 PM, Aaron Rosenzweig wrote:


Sorry Valerio, 6 weeks is a long time indeed - you’ve been patient.

JNI has to do with Java making calls to a C library. That’s the 
“native method” part.


If it were me, I’d trash Eclipse and start over. I know that’s not 
what you want to hear but…


Hmm… thinking some more…

“NSCoding” lives inside the “JavaFoundation.framework” from Apple. 
Do you have that framework included in your project? Can you find it 
when you “configure build path” for your project?
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=CJPoFIXrpAoGaeUPBMEl0iEevpJ6LnRfeG-05Aqm6VI=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 23, 2020, at 2:24 PM, Valerio Luccio via Webobjects-dev 
<mailto:webobjects-dev@lists.apple.com>> wrote:


6 Weeks ago I sent this message, but got no replies. Really nobody 
has any clue ?


btw: I get the same using a simple example app and trying from a 
clean workspace.


On 12/9/19 2:23 PM, Valerio Luccio wrote:


Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 
1.8. I hadn't fired up my web app from Eclipse in a couple of 
months and today, without having any major changes to the O/S, 
when I tried I got:


Error: A JNI error has occurred, please check your
installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
.

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"



--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
<mailto:Webobjects-dev@lists.apple.com>)

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_aaron-2540chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=tahru65z6JPxcM4IPpTjhtvuptpIVz_bLWVeh6Lhvfg=>


This email sent to aa...@chatnbike.com





--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York University    New York, NY 10003

 "In an open world, who needs windows or gates ?"




--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 

Re: Problem running from Eclipse

2020-01-27 Thread Valerio Luccio via Webobjects-dev

Thanks for the reply.

I started that project about 15 years ago and the last time I fired it 
up successfully from Eclipse was in September. Then in December, without 
changing anything in the project, I could not do it anymore.


The JavaFoundation.framework in my path is 
/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks and 
NSCoding is definitely there.


I guess I'll have to try reinstalling Eclipse (sigh).

On 1/23/20 11:17 PM, Aaron Rosenzweig wrote:


Sorry Valerio, 6 weeks is a long time indeed - you’ve been patient.

JNI has to do with Java making calls to a C library. That’s the 
“native method” part.


If it were me, I’d trash Eclipse and start over. I know that’s not 
what you want to hear but…


Hmm… thinking some more…

“NSCoding” lives inside the “JavaFoundation.framework” from Apple. Do 
you have that framework included in your project? Can you find it when 
you “configure build path” for your project?
*Aaron Rosenzweig* / Chat 'n Bike 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=CJPoFIXrpAoGaeUPBMEl0iEevpJ6LnRfeG-05Aqm6VI=>
*e:* aa...@chatnbike.com <mailto:aa...@chatnbike.com> *t:*  (301) 
956-2319

Chat 'n BikeChat 'n Bike


On Jan 23, 2020, at 2:24 PM, Valerio Luccio via Webobjects-dev 
<mailto:webobjects-dev@lists.apple.com>> wrote:


6 Weeks ago I sent this message, but got no replies. Really nobody 
has any clue ?


btw: I get the same using a simple example app and trying from a 
clean workspace.


On 12/9/19 2:23 PM, Valerio Luccio wrote:


Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 1.8. 
I hadn't fired up my web app from Eclipse in a couple of months and 
today, without having any major changes to the O/S, when I tried I got:


Error: A JNI error has occurred, please check your installation
and try again
Exception in thread "main" java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
.

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"



--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
<mailto:Webobjects-dev@lists.apple.com>)

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_aaron-2540chatnbike.com=DwMFaQ=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=zNRTRtL2oKMEEiIf7TZw6uoVu7OjEorP2LTNGIVQQ8I=tahru65z6JPxcM4IPpTjhtvuptpIVz_bLWVeh6Lhvfg=>


This email sent to aa...@chatnbike.com




--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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 running from Eclipse

2020-01-23 Thread Valerio Luccio via Webobjects-dev
6 Weeks ago I sent this message, but got no replies. Really nobody has 
any clue ?


btw: I get the same using a simple example app and trying from a clean 
workspace.


On 12/9/19 2:23 PM, Valerio Luccio wrote:


Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 1.8. I 
hadn't fired up my web app from Eclipse in a couple of months and 
today, without having any major changes to the O/S, when I tried I got:


Error: A JNI error has occurred, please check your installation
and try again
Exception in thread "main" java.lang.NoClassDefFoundError:
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
.

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

 "In an open world, who needs windows or gates ?"



--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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


Problem running from Eclipse

2019-12-09 Thread Valerio Luccio via Webobjects-dev

Hello all,

I have Eclipse Mars.2 running on a Mac with Mojave with JavaSE 1.8. I 
hadn't fired up my web app from Eclipse in a couple of months and today, 
without having any major changes to the O/S, when I tried I got:


   Error: A JNI error has occurred, please check your installation and
   try again
   Exception in thread "main" java.lang.NoClassDefFoundError:
   com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
   .

I find this message terribly vague. What should I be looking for ?

Thanks,

--
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: Can't run anymore - Solved, maybe ?

2019-02-11 Thread Valerio Luccio
After banging my head (really hard) for over a week, I got my app to run
again on the desktop by deleting the run configuration and recreating
it. Why ? Who knows, but right now I don't care.

Thanks to all who tried to help.

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: Can't run anymore

2019-02-08 Thread Valerio Luccio
OK, that's interesting: "Hello world" works ... wtf !

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: Can't run anymore

2019-02-08 Thread Valerio Luccio
On 2/6/19 5:48 PM, Theodore Petrosky wrote:

> what happens when you create a new app and run it? does it run with the 
> normal empty hello?
>
> that’s what happened to me. Luckily, my app was very small. I created an 
> empty app and pulled  the parts that I needed. it worked.

Thanks Theodore,

unfortunately I only saw your reply today, it had ended in my spam
folder (I hate gmail !).

I'm going to try that later.

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: Can't run anymore

2019-02-06 Thread Valerio Luccio
Exact same behaviour with 2018-12.

Now I'm left to try to figure out the difference between my desktop and
my laptop  Argh !!

On 2/6/19 2:36 PM, Valerio Luccio wrote:

> Thanks Markus,
>
> unfortunately that did not work.
>
> I was able to do a clean install of Eclipse 2018-12 and now I'm going
> to see if it can run my application.
>
> -- 
> Valerio Luccio (212) 998-8736
> Center for Brain Imaging   4 Washington Place, Room 157
> New York UniversityNew York, NY 10003
>
> "In an open world, who needs windows or gates ?"


-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: Can't run anymore

2019-02-06 Thread Valerio Luccio
Thanks Markus,

unfortunately that did not work.

I was able to do a clean install of Eclipse 2018-12 and now I'm going to
see if it can run my application.

On 2/6/19 3:59 AM, Markus Ruggiero wrote:

> When such things happen it is often because Eclipse corrupts its
> workspace. Something that usually helps is rebuilding the workspace.
>
> Go into Finder (or Explorer) or Terminal and locate the (invisible)
> directories .metadata and .recommenders at the root of your workspace
> folder. These contain all the workspace settings. Simply delete them both.
> Start Eclipse. It will recreate those dirs cleanly.
> You now have to re-import the existing projects again.
> Recreate all your workspace settings (most everything you might have
> done throgh Eclipse preferences dialog)
> Clean and rebuild your projects and things should be back to ok.
>
> It sounds scary but it's a simple and normally painless process that
> takes only a minute or two. Rebuilding the workspace DOES NOT harm
> your projects!
>
> Hope this helps
> ---markus---
>
>> On 5 Feb 2019, at 21:50, Valerio Luccio > <mailto:valerio.luc...@nyu.edu>> wrote:
>>
>> I use Mars 4.5.2 on Mojave with JDK 1.8.201
>>
>> A couple of weeks ago all of a sudden my project stopped compiling
>> because it could not find the ERJars and ERExtensions frameworks,
>> even though they wee still on the same location on disk and my
>> properties file hadn't changed. Manged to get around that by adding
>> them as user libraries (it creates an issue when it comes to the ant
>> build, but I can get around that).
>>
>> Friday, out the blue, when I try to run the app, I get:
>>
>> Error: A JNI error has occurred, please check your installation and try 
>> again
>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>> com/webobjects/foundation/NSCoding
>>     at java.lang.ClassLoader.findBootstrapClass(Native Method)
>>
>> I've been going nuts. This happening on my office desktop, but my
>> laptop (same version of O/S, Eclipse and Java) does not have either
>> issue. It seems like something in the classpath got screwed up, but
>> what ?
>>
>> I tried deleting Java and re-installing both JRE andJDK. It didn't help.
>>
>> I tried downloading Eclipse 2018-12, but when I try to run it tells
>> me it cannot find Java, even though it's clearly there and I can use
>> (and Mars does not seem to have an issue).
>>
>> I'm out of ideas.
>>
>> Thanks,
>>
>> -- 
>> Valerio Luccio (212) 998-8736
>> Center for Brain Imaging   4 Washington Place, Room 157
>> New York UniversityNew York, NY 10003
>>
>> "In an open world, who needs windows or gates ?"
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_mailinglists-2540kataputt.com=DwMFAg=slrrB7dE8n7gBJbeO0g-IQ=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY=3SWA7zK4UqhbvOutwQt3NLAHKSlAUoANSjlonTnDio0=x_EIbnG0mXmBJ5xTf6kY4RcXXiLxwRcpeOklgZI9QYA=>
>>
>> This email sent to mailingli...@kataputt.com
>

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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


Can't run anymore

2019-02-05 Thread Valerio Luccio
I use Mars 4.5.2 on Mojave with JDK 1.8.201

A couple of weeks ago all of a sudden my project stopped compiling
because it could not find the ERJars and ERExtensions frameworks, even
though they wee still on the same location on disk and my properties
file hadn't changed. Manged to get around that by adding them as user
libraries (it creates an issue when it comes to the ant build, but I can
get around that).

Friday, out the blue, when I try to run the app, I get:

Error: A JNI error has occurred, please check your installation and try 
again
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/webobjects/foundation/NSCoding
    at java.lang.ClassLoader.findBootstrapClass(Native Method)

I've been going nuts. This happening on my office desktop, but my laptop
(same version of O/S, Eclipse and Java) does not have either issue. It
seems like something in the classpath got screwed up, but what ?

I tried deleting Java and re-installing both JRE andJDK. It didn't help.

I tried downloading Eclipse 2018-12, but when I try to run it tells me
it cannot find Java, even though it's clearly there and I can use (and
Mars does not seem to have an issue).

I'm out of ideas.

Thanks,

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: JDBC adaptor on RHEL 7 - Solved

2018-08-20 Thread Valerio Luccio
On 08/20/2018 01:06 PM, Paul Yu wrote:

> Valerio
>
> If you have the PlugIn framework in your project and you are building 
> Embedded applications, then you don’t have to install anything in RHEL.
>
> Paul

Hi Paul,

mine is a web application that I run and manage via the javamonitor. I
don't have a Plugin framework.

After installing the mysql-connector-java things work.

Thanks for your help,

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: JDBC adaptor on RHEL 7

2018-08-20 Thread Valerio Luccio
On 08/19/2018 11:35 PM, Steve Peery wrote:

> Do you have a connection library included in the application? Even if
> you are using a framework like MySQLPlugIn, you still a connection
> library (https://dev.mysql.com/downloads/connector/) in the application . 

What do you know, I thought I had installed the connector, but it
doesn't seem to be there. I'll do that and test again.

Thanks,

-- 
Valerio Luccio (212) 998-8736
Center for Brain Imaging   4 Washington Place, Room 157
New York UniversityNew York, NY 10003

"In an open world, who needs windows or gates ?"

 ___
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: JDBC adaptor on RHEL 7

2018-08-19 Thread Valerio Luccio

On 8/19/18 5:00 PM, Michael Kondratov wrote:

It appears as your application can’t actually connect to mysql server. 
Double check any port/ ip / firewall issues first.


Michael


That was the first thing I did, I turned off the firewall. In any case I 
have no problem connecting to the database from command line using the 
same credentials. And i can connect to it from my laptop. It's when I 
run the app on that server that I have an issue.


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   "In an open world, who needs windows or gates ?"

 ___
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: JDBC adaptor on RHEL 7

2018-08-19 Thread Valerio Luccio

On 8/19/18 12:46 PM, Michael Kondratov wrote:


Valerio,
What sort of error are you getting? What DB are you connecting to?

Michael


Thanks for your reply Michael.

So, this is an out-of-the-box MariaDB installation:

   $ mysql -V
   mysql  Ver 14.14 Distrib 5.5.39, for Linux (x86_64) using readline 5.2

To eliminate any issues having to do with schemas, etc, I tried:

   String dbUser = "user";
   String dbPass = "password";
   String dbURL = new String("jdbc:mysql://server/Default";

   EOModel model = EOModelGroup.defaultGroup().modelNamed("Default");
   NSMutableDictionary loginValues = new 
NSMutableDictionary();
   loginValues.takeValueForKey(dbUser, "username");
   loginValues.takeValueForKey(dbPass, "password");
   loginValues.takeValueForKey(dbURL, "URL");
   EODatabaseContext.forceConnectionWithModel(model, loginValues, 
ERXEC.newEditingContext());

Of course all strings contain the correct parameters.

The error I get is:


: Exception occurred 
while handling request:
   N/A
N/A
at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:222)
at 
com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:362)
at 
com.webobjects.jdbcadaptor.JDBCContext._channelWillOpen(JDBCContext.java:505)
at 
com.webobjects.jdbcadaptor.JDBCChannel.openChannel(JDBCChannel.java:111)
at 
com.webobjects.eoaccess.EODatabaseChannel._openChannel(EODatabaseChannel.java:713)
at 
com.webobjects.eoaccess.EODatabaseContext.availableChannel(EODatabaseContext.java:1324)
at 
com.webobjects.eoaccess.EODatabaseContext.forceConnectionWithModel(EODatabaseContext.java:1127)

This snippet works if I run it on my MacBook with High Sierra, but gives 
me an error when I run it on the RH server. I'm not sure how to start 
debugging this.


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   "In an open world, who needs windows or gates ?"

 ___
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


JDBC adaptor on RHEL 7

2018-08-18 Thread Valerio Luccio

Hi all,

I'm deploying an application on a RHEL 7 server. I seem to be having a 
problem opening a channel to the database. Running the same application 
on my MacBook I can connect to the database on the server. Is there an 
issue using the JavaJDBCadaptor on RHEL 7 ? Should I switch to the 
mariadb adaptor ?


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   "In an open world, who needs windows or gates ?"

 ___
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


Baffling WOD error

2011-08-24 Thread Valerio Luccio
I have a project that I hadn't worked on in a while. When I opened it in 
Eclipse yesterday I got some baffling error in WOD validation, although 
the application works.


First some info:

   O/S: X 10.6.8
   Eclipse: 3.6.1
   WOLips: 3.6.6212

Error: 'item' must be bounded when 'list' is bound
Example WOD snippet:

   DayRep: WORepetition {
  index = dayIndex;
  item = dayEntries_;
  list = dayEntriesArray_;
   }

All variables are declared as public in the .java source.

I tried clean/rebuild just in case, but it didn't help. I'm confused.

--
Valerio Luccio(212) 998-8736
Center for Brain Imaging   4 Wshington Place, Room 158
New York University  New York, NY 10003

 In an open world, who needs windows or gates ?

 ___
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: Baffling WOD error

2011-08-24 Thread Valerio Luccio

Chuck Hill wrote:

That is probably just Eclipse going insane.  You can delete the errors from the 
Problems view.  They usually don't come back.
Good to know it's Eclipse going insane and not me ... alright, maybe I'm 
already insane, but that's another story :-P


--
Valerio Luccio(212) 998-8736
Center for Brain Imaging   4 Wshington Place, Room 158
New York University  New York, NY 10003

 In an open world, who needs windows or gates ?

___
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: Application monitoring

2010-11-15 Thread Valerio Luccio

 Pascal Robert wrote:
Yes, the SiteConfig.xml is the same. Usually, I put the Wonder 
versions in /Library/WebObjects/JavaApplications (or 
/opt/Local/Library/WebObjects/JavaApplications if it's on Linux) and I 
change the startup scripts for wotaskd and JavaMonitor to use the 
Wonder versions. We are running the Wonder versions for months without 
any problems.

Pascal,
a couple of questions about this. I wanted to replace the JavaMonitor 
and wotaskd on my OS X Server with the project Wonder version to take 
advantage of the added features (mainly command line interaction).


   * Is there a bundle with just these two programs or do I have to
 download and run the whole WOInstaller.jar from mdimension, and if
 I do will it interfere with the Apple installed WebObjects ?
   * Where will the project wonder look for the SiteConfig.xml file ?
 The Apple version is in /Library/WebObjects/Configuration (on my
 box, anyway).

Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

 ___
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: Application monitoring

2010-11-15 Thread Valerio Luccio

 Thanks Pascal and Chuck
(Pascal won the race to reply by a minute and 26 seconds !  Chuck, 
Chuck, you're slowing down ... :)


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Oracle and Apple Announce OpenJDK Project for Mac OS X

2010-11-12 Thread Valerio Luccio

 Antonio Petri wrote:

Maybe, Oracle will pick WO up as well?

I hope not. Their m.o. with open sun products has been to make them 
commercial (see Sun Grid Engine).


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Interacting from command line with wotaskd

2010-08-30 Thread Valerio Luccio

Pascal Robert wrote:

Le 2010-08-27 à 15:55, Valerio Luccio a écrit :

   

John Huss wrote:
 

Or see the wiki:
http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder+additions+to+wotaskd+and+JavaMonitor

   

Thanks, that gave me a good starting point, but I get a LoginRequired page. I tried 
using pw=, but it didn't work, is that the wrong variable name ? Do I have to use 
the hashed version of the password ? I tried resetting the password for the monitor (from a web 
browser it took me right in), but that had the same effect.

PS: I had started by looking at the JavaMonitor source code, but didn't have 
the time to figure it out ...
 

Are you sure you are using the Wonder version of JavaMonitor and wotaskd? And no need for 
the hashed password, you need the plain text one.

   

No, the server in question is an XServe, so I'm using the Apple version.

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Interacting from command line with wotaskd

2010-08-27 Thread Valerio Luccio

John Huss wrote:

Or see the wiki:
http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder+additions+to+wotaskd+and+JavaMonitor

Thanks, that gave me a good starting point, but I get a LoginRequired 
page. I tried using pw=, but it didn't work, is that the wrong 
variable name ? Do I have to use the hashed version of the password ? I 
tried resetting the password for the monitor (from a web browser it took 
me right in), but that had the same effect.


PS: I had started by looking at the JavaMonitor source code, but didn't 
have the time to figure it out ...


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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


Interacting from command line with wotaskd

2010-08-26 Thread Valerio Luccio
I usually start and stop my application using JavaMonitor. Is there a 
way to send signals to wotaskd from the command line without using 
JavaMonitor ? I tried kill -HUP, but despite having Auto Recover on 
it didn't restart. Other signals either had the same behaviour or didn't 
kill the app at all.


Tjanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: SVN and Eclipse

2010-07-30 Thread Valerio Luccio

Farrukh Ijaz wrote:

At first place I would avoid svning the tar as it is a binary file and even a 
minor change will change the binary and I guess every time the commit will 
recognize it as new file will commit the whole tar instead of differences, as a 
result it will start eating repository disk space very fast. I see plan C would 
be the best choice iff you can switch to hudson. Otherwise instead storing the 
tar, tag the successful revision.

Farrukh
True, but I don't create tarballs that often and it's only 1.1 MB, 
storage space is not an issue. I guess they could check out the code 
from dist just as well, I'm not sure why I went down the tarball route ...


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Documenting schema using EOModeler files

2010-07-30 Thread Valerio Luccio

Found the bug in EOMdelDOC.

Firefox (and IE, ugh) choke on the following constructs:

   script ... /
  


should be

   script .../script
  


and also

   frame ... /
  


should be

   frame ...
  


Safari and Opera handle all forms.

I've modified the necessary templates and submitted them as a bug report 
to objectstyles.


... finally I managed to contribute something !

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

 ___
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

Documenting schema using EOModeler files

2010-07-29 Thread Valerio Luccio
I'm in the process of sharing one of my applications with another 
research institution. They actually expect me to provide a description 
of my database schema (what, they can't read inside my brain ?!).


How does the WO community handle these kind of requests ? Is there some 
software that can parse the EOModeler files and spit out some reasonably 
formatted document that I can then augment ? Maybe a schema for Doxygen ...


Any pointers would help.

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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


SVN and Eclipse

2010-07-29 Thread Valerio Luccio
OK, this is really an Eclipse SVN question, but since the WO is all 
Eclipse I figured I ask here (if this is not the right list, I apologize 
and will send to the right one).


I have a project in an SVN repository. I decided to add the tar ball 
produced by ant in my dist/ directory to the repository. From command 
line there are no problems, svn update/commit/status all work, but from 
within Eclipse the contents of dist/ seem to get ignored. If after a 
build I hit F5 and refresh the package explorer, the tar ball get's 
marked as changed, but the commit does not see it. The pattern *.gz 
is unselected in Team-Ignored Resources and neither dist/ nor the tar 
ball have any SVN attribute set.


A related annoying thing is that if I hit Clean... in project it 
deletes the dist/ directory, which means it loses all of the SVN 
information. Any way to customize the clean to keep it from doing this ?


Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Documenting schema using EOModeler files

2010-07-29 Thread Valerio Luccio

Mike Schrag wrote:

http://wiki.objectstyle.org/confluence/display/WOL/EOModelDoc

http://webobjects.mdimension.com/wolips/support/eomodeldoc_example/

   

Cool ! ... although the example comes up blank ...

And you managed to beat out Chuck in the reply by a whole second (sorry, 
the headers don't indicate fraction of seconds).


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: SVN and Eclipse

2010-07-29 Thread Valerio Luccio

Chuck Hill wrote:

On Jul 29, 2010, at 1:44 PM, Valerio Luccio wrote:

   

OK, this is really an Eclipse SVN question, but since the WO is all Eclipse I 
figured I ask here (if this is not the right list, I apologize and will send to 
the right one).

I have a project in an SVN repository. I decided to add the tar ball produced by ant in my dist/ directory to the 
repository. From command line there are no problems, svn update/commit/status all work, but from within Eclipse the contents of 
dist/ seem to get ignored. If after a build I hit F5 and refresh the package explorer, the tar ball get's marked as 
changed, but the commit does not see it. The pattern *.gz is unselected in Team-Ignored Resources and 
neither dist/ nor the tar ball have any SVN attribute set.

A related annoying thing is that if I hit Clean... in project it deletes the 
dist/ directory, which means it loses all of the SVN information. Any way to customize 
the clean to keep it from doing this ?
 


I'd choose Plan B: do this another way.  Make a LastBuild folder and modify 
build.xml to copy the tarball into that folder at the end of the build.  
Otherwise you are going to be fighting WOLips and WOLips is going to win.

Chuck


   

I was afraid that this was going to be the answer ...

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Documenting schema using EOModeler files

2010-07-29 Thread Valerio Luccio

David Holt wrote:


On 2010-07-29, at 1:49 PM, Valerio Luccio wrote:

   

Mike Schrag wrote:
 

http://wiki.objectstyle.org/confluence/display/WOL/EOModelDoc

http://webobjects.mdimension.com/wolips/support/eomodeldoc_example/


   

Cool ! ... although the example comes up blank ...
 

I just fixed the link in the wiki doc.

If you mean there are no docs in that model, you are right.

David
   
Actually, no. Both the example end the generated docs from my project 
appear as blank using Firefox, but they work fine using Safari ... must 
be something in the css that it don't like. If I figure out the problem, 
should I send it to you (as in David) directly ?


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Developing on Linux

2010-07-21 Thread Valerio Luccio

Amiel Montecillo wrote:
You should find wolips.properties in /home/user/Library/Application 
Support/WOLips/.


If its not there, try to create it.
It is the wolips.properties file that is cousing the problem and indeed 
it is in ~/Library/..., which for me is a problem (my home directory is 
shared). So I resorted to another solution, soft links on the Linux box: 
/System points to /usr/local/WO and /Library to 
/usr/local/WO/Local/Library. It seems to work (for now).


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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


Automatic perspective change in Eclipse

2010-07-14 Thread Valerio Luccio
Entity Modeler has this nice feature were you can enable automatic 
perspective switching when you select a model. Is there a way to 
implement the same for other perspectives ? If I turn on the EO 
automatic switching, then every time I go between a model and a java 
source I have to click on the Java perspective, kind of annoying. The 
File Association option seems to work only when opening a file, not 
when switching between tabs.


Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Automatic perspective change in Eclipse

2010-07-14 Thread Valerio Luccio

Mike Schrag wrote:

No .. It's a total hack to Entity Modeler. You should probably enable the Open 
Entity Modeler in New Window option as well -- that's really the original design 
intent for it, then close any entity modeler editors you have open in the current window.

ms
   

You're going completely the other way on this ... OK, I will adapt.

Thanks.

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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


Deployment on Leopard G4

2010-06-10 Thread Valerio Luccio

Pardon if the question seem silly, but I'm a bit confused.

I do my development on an Intel Mac, but my application is deployed on 
an old G4 Xserve. Up to now I had Leopard on both, no problems. Now I've 
installed Snow Leopard on my Intel. I've downloaded Eclipse 3.5, 
installed it, etc. When I open the project it complains that is cannot 
find com.webobjects.appserver.WOContext. What am I missing ? Also, when 
I open the build path it shows Java VM 1.5.0 and states that it's the OS 
X default, but I thought the default on Snow Leopard was 1.6.0 and the 
build path doesn't even show it.


What am I doing wrong ?

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Deployment on Leopard G4

2010-06-10 Thread Valerio Luccio

Chuck Hill wrote:

Hi Valerio,


On Jun 10, 2010, at 11:38 AM, Valerio Luccio wrote:


Pardon if the question seem silly, but I'm a bit confused.

I do my development on an Intel Mac, but my application is deployed 
on an old G4 Xserve. Up to now I had Leopard on both, no problems. 
Now I've installed Snow Leopard on my Intel. I've downloaded Eclipse 
3.5, installed it, etc. When I open the project it complains that is 
cannot find com.webobjects.appserver.WOContext. What am I missing ?


Have you installed WebObjects?  If so, check the file named 
wolips.properties found at

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

Are the paths in it correct?


 Also, when I open the build path it shows Java VM 1.5.0 and states 
that it's the OS X default, but I thought the default on Snow Leopard 
was 1.6.0 and the build path doesn't even show it.


Not sure about that, this might be an Eclipse thing.


Chuck


Thanks Chuck.
I seem to have solved my problem by adding all the WObjects library and 
slowly removing them one by one. It looks as if the organization of the 
build path GUI has changed and switching from the Eclipse 3.3 project to 
the 3.5 some got lost ...


I'm still confused about the JVM 1.5 thing though ...

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

In an open world, who needs windows or gates?

___
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: Lifebeat

2008-03-05 Thread Valerio Luccio
Oh boy, I really started something ! :) I was hoping to get an answer 
like set this variable ..., instead I got a very interesting dissertation.


Anyway, solving my problem is not that important, since it's such a rare 
occurrence, but all the answers made me learn a lot and pointed me to 
other things to read that will surely teach me even more.


Thanks to all, especially Chuck and Miguel who manage to always find 
time to reply to people ... do you guys sleep at all ?


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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]


Lifebeat

2008-03-04 Thread Valerio Luccio

Hello,
I have a WebObject application running on a Mac. Recently some 
operations have taken more than 30 seconds, which forces the application 
to restart. I've increased the lifebeat value to 60 through WOMonitor 
and when I look at how the process was launched, sure enough, I see 
-WOLifebeatInterval 60, yet the application still shuts down if it 
takes more than 30 seconds. Why is that ? How can I get this guy to 
behave the way I want ?


Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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: Lifebeat

2008-03-04 Thread Valerio Luccio

Chuck Hill wrote:
Are you running with concurrent request handling turned off?  Which 
version of WO?


Chuck
WO 5.3.3. This is a Tiger machine, going to migrate to a Leopard and WO 
5.4 in a few weeks.
As for concurrent request handling ... you're testing the limit of my 
knowledge, how do I control that ?


Miguel Arroz wrote:

Hi!

  You are trying to solve the problem in the wrong way. If you have a 
long operation, you should do it on a separate thread, and use 
WOLongResponse or the Ajax similar to handle the user interface. That 
way, you won't have any problem with lifebeat.
Of course you're right Miguel, but this is an exceptional case, that 
operation usually takes between 1 and 4 seconds and I didn't think it 
was worth separate threads. I don't feel like making the changes for 
something that has happened once in 3 years. If it happens more often 
I'll have to do some re-design.


Chuck Hill wrote:

Hold on there, Valerio said:

That is wotaskd killing an unresponsive app, IIRC.  The adaptor 
timeouts should not affect this.  I thought that the lifebeat came 
through on a different request handler, but if it gets blocked by 
having concurrent request handling off, that could explain this.


Valerio: WOLifebeatInterval controls how often the app is checked, not 
how long wotaskd waits for a response.


I think we need more information: which version of WO, is concurrent 
request handling on or off, what do you see in the app log when it 
shuts down?  Is the app running out of memory?


Chuck
OK, the WO version is above. I was under the impression that the 
WOLifeBeatInterval was supposed to control how long to wait between 
checks. The message in the log is:


Exception while sending response: java.net.SocketException: Broken pipe

The program would shut down after exactly 30 seconds  of course 
today the operation is taking only 3 seconds so I cannot duplicate the 
error. In case you're wondering about the disparity in response time, 
the database is on a server that, over the years, has taken on more and 
more tasks. I've already ordered another server to offload all the file 
serving operations, but for the moment this baby had to endure and 
yesterday it was very busy.


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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]


WOCheckbox strangeness

2007-12-10 Thread Valerio Luccio
I have a repetition that has, as one of it's cells, a WOCheckbox wrapped 
inside a WOHyperlink. When you press the check box the hyperlink 
function is called and updates some internal counters. This used to work 
fine both with Firefox and with Safari. Now is still works with Firefox 
and Safari 3.0.3, but it doesn't work with Safari 3.0.4. On 3.0.4 it 
doesn't seem to call the hyperlink function, but if I include a 
character inside the hyperlink and click on the character it works. Just 
to explain myself better:


   acheckbox/a  clicking on the checkbox does not work
   aA checkbox/a works by clicking on 'A'

When I look at the page source, you can clearly see the hyperlink, but 
the checkbox object seems to trump it.


Any clues/suggestions ?

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 156
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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]


WWDC

2007-03-29 Thread Valerio Luccio
It seems like I'm going to the WWDC in June. Does anyone know if Apple 
has some deal with local hotels ? Or does anyone have suggestions ?


Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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


XCode and debugging

2006-12-18 Thread Valerio Luccio

Hi all,
I have a strange problem: sometime the debugger will not stop on break 
points that I have set when I run a WO app (I only use XCode for the WO 
app, so I don't know if it would do it with other programs). This does 
not always happen and often, but not always, I can make it stop by 
placing a call to a dummy function and place the break point in that 
function (really annoying). I've tried to delete completely the build 
directory in case something was amiss there, but to no avail. The 
problem first started appearing in the summer 2005 and I was hoping that 
with XCode upgrades (I am now on 2.4.1), but it persists.


Has anyone else seen this problem ? Is there another Java debugging tool 
I can run on OSX 10.4.8 ? Yes, I have tried jdb, but it's really painful.


Thanks,

--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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: XCode and debugging

2006-12-18 Thread Valerio Luccio
I should have added that I've thought of switching to eclipse, but I 
need to fix a bug ASAP and don't have time to look into switching.


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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: XCode and debugging - Ugly workaround found.

2006-12-18 Thread Valerio Luccio
Well, my account is a network account with a network mounted home 
directory (via AFP, until recently it was NFS). If I use a local 
account (the admin account, to be precise), the debugger stops at the 
breakpoint, but it won't do it from my own network account. I have a 
feeling that it's some conflict between the way the home directory is 
specified and the actual disk where it lives (the home directory is a 
link to the network disk). A similar issue happens when running Matlab 
as root (the root home directory is located in /private/var/root but is 
specified as /var/root).


So, for now I have my workaround, but it's really ugly  I guess this 
is one more reason to switch to Eclipse 


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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: LDAP on tiger

2006-02-24 Thread Valerio Luccio

.::welemski::. wrote:

hi,

Does anyone tried authenticating in LDAP on tiger using JNDI successfully?
Yep, I have. Although I haven't moved my main deployment site to a tiger 
machine, I did experiment with another tiger box and everything seemed 
to work just fine.


--
Valerio Luccio  (212) 998-8736
Center for Brain Imaging4 Washington Place, Room 158
New York University New York, NY 10003

   In an open world, who needs windows or gates?

___
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