Re: NullPointerException in EODatabaseContext java

2012-05-31 Thread Raghavender Bokka
Hi Cheong Hee,

I tried invalidating the objects in ec, then we are able to view the details of 
this eo object, but the other similar objects in the wodisplaygroup list is 
behaving weirdly when they are selected.  

Regards,
Raghu.

On 01-Jun-2012, at 11:41 AM, Cheong Hee (Gmail) wrote:

> i guessed one quick way is to invalidate the objects in ec and force it to 
> refetch from db.
> 
> - Original Message - From: "Raghavender Bokka" 
> 
> To: "Development WebObjects" 
> Sent: Thursday, May 31, 2012 9:04 PM
> Subject: NullPointerException in EODatabaseContext java
> 
> 
>> Hi Team,
>> 
>> I have created an enterprise object with one-to-many relationship objects 
>> associating.  Then in the search page searched for these enterprise objects 
>> (that has WODisplayGroup), I am able to view the newly created object, but 
>> when I try to select that object to view the details it is generating the 
>> following exception.   If I restart the application then I am able to view 
>> the details of the newly created object without any error, or If we try 
>> accessing the newly created object after sometime (around half an hour 
>> later) then without error able to view the object details. Otherwise the 
>> enterprise object is getting null.
>> 
>> This enterprise object's super class has the database table, and this object 
>> does not has the database table, it points to the same database table of the 
>> super class.  And the to-many relationship is existing with this enterprise 
>> object (sub-class), not the super class.
>> 
>> Any help would be appreciated.
>> 
>> EXCEPTION--
>> [2012-5-31 8:25:4 EDT]  java.lang.NullPointerException
>>   at 
>> com.webobjects.eoaccess.EODatabaseContext.arrayFaultWithSourceGlobalID(EODatabaseContext.java:3510)
>>   at 
>> com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2377)
>>   at 
>> com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
>>   at 
>> com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
>>   at 
>> com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
>>   at 
>> com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
>>   at _StoredDistrictTest.storedTestItems(_StoredDistrictTest.java:33)
>>   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 
>> KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
>>   at 
>> com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
>>   at 
>> com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1498)
>>   at 
>> com.webobjects.eocontrol.EOCustomObject.eoDescription(EOCustomObject.java:793)
>>   at 
>> com.webobjects.eocontrol.EOCustomObject.toString(EOCustomObject.java:299)
>>   at java.lang.String.valueOf(String.java:2826)
>>   at java.lang.StringBuilder.append(StringBuilder.java:115)
>>   at StoredTestListPage.printTestSession(StoredTestListPage.java:276)
>>   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 
>> KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
>>   at 
>> com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
>>   at 
>> com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
>>   at 
>> com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
>>   at 
>> com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
>>   at 
>> com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
>>   at 
>> com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
>>   at 
>> com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
>>   at 
>> com.webobjects.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
>>   at 
>> er.extensions.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:66)
>>   at 

Re: NullPointerException in EODatabaseContext java

2012-05-31 Thread Cheong Hee (Gmail)
i guessed one quick way is to invalidate the objects in ec and force it to 
refetch from db.


- Original Message - 
From: "Raghavender Bokka" 

To: "Development WebObjects" 
Sent: Thursday, May 31, 2012 9:04 PM
Subject: NullPointerException in EODatabaseContext java



Hi Team,

I have created an enterprise object with one-to-many relationship objects 
associating.  Then in the search page searched for these enterprise 
objects (that has WODisplayGroup), I am able to view the newly created 
object, but when I try to select that object to view the details it is 
generating the following exception.   If I restart the application then I 
am able to view the details of the newly created object without any error, 
or If we try accessing the newly created object after sometime (around 
half an hour later) then without error able to view the object details. 
Otherwise the enterprise object is getting null.


This enterprise object's super class has the database table, and this 
object does not has the database table, it points to the same database 
table of the super class.  And the to-many relationship is existing with 
this enterprise object (sub-class), not the super class.


Any help would be appreciated.

EXCEPTION--
[2012-5-31 8:25:4 EDT]  java.lang.NullPointerException
   at 
com.webobjects.eoaccess.EODatabaseContext.arrayFaultWithSourceGlobalID(EODatabaseContext.java:3510)
   at 
com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2377)
   at 
com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
   at 
com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
   at 
com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
   at 
com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)

   at _StoredDistrictTest.storedTestItems(_StoredDistrictTest.java:33)
   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 
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
   at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
   at 
com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1498)
   at 
com.webobjects.eocontrol.EOCustomObject.eoDescription(EOCustomObject.java:793)
   at 
com.webobjects.eocontrol.EOCustomObject.toString(EOCustomObject.java:299)

   at java.lang.String.valueOf(String.java:2826)
   at java.lang.StringBuilder.append(StringBuilder.java:115)
   at StoredTestListPage.printTestSession(StoredTestListPage.java:276)
   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 
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
   at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
   at 
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
   at 
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
   at 
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
   at 
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
   at 
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
   at 
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
   at 
com.webobjects.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
   at 
er.extensions.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:66)
   at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
   at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
   at 
er.extensions.components._private.ERXWORepetition.invokeAction(ERXWORepetition.java:496)
   at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
   at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
   at 

Re: Wrong CLASSPATH when installing WOApp with WOLips

2012-05-31 Thread Cheong Hee (Gmail)
my wolips: 3.7.1004814.


These are the output I have for 3.7 & 3.6 respectively, based on the code you 
posted:

::wolips 3.7::
wo.system.root = F:\Apple5_4_3wo.local.root = F:\Apple5_4_3\LocalEncoded 
wo.system.root = F:/Apple5_4_3Encoded wo.system.root = F:/Apple5_4_3/Local

::wolips3.6::
wo.system.root = F:\Apple5_4_3wo.local.root = F:\Apple5_4_3\LocalEncoded 
wo.system.root = F:/Apple5_4_3Encoded wo.system.root = F:/Apple5_4_3/Local

Both looks identical.  The same file wolips.properties is used by both 
versions, too.


Now, looks at the output file CLSSPATH generated by 3.7 & 3.6 respectively:
:: wolips 3.7 CLSSPATH ::
 # JVM  == java
# JVMOptions   == 
# JDB  == jdb
# JDBOptions   == 
# ApplicationClass == your.app.Application

APPROOT\Resources\Java\
APPROOT\Resources\Java\org.objectstyle.wolips.woproject_3.7.1004814.jar
APPROOT\Resources\Java\wo5environmentvariables1.jar
APPROOT\Resources\Java\woproject.jar

APPROOT/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
APPROOT/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar
APPROOT/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
APPROOT/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar
APPROOT/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
APPROOT/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar
APPROOT/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
APPROOT/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar
APPROOT/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
APPROOT/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar
APPROOT/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
APPROOT/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar


:: wolips 3.6 CLSSPATH ::
# JVM  == java
# JVMOptions   == 
# JDB  == jdb
# JDBOptions   == 
# ApplicationClass == your.app.Application

APPROOT\Resources\Java\
APPROOT\Resources\Java\org.objectstyle.wolips.woproject_3.7.1004814.jar
APPROOT\Resources\Java\wo5environmentvariables2.jar
APPROOT\Resources\Java\woproject.jar

WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
WOROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
WOROOT/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar


... notes
The difference is APPROOT and WOROOT in the path.  I noticed that wolips 3.7 
has by default has configured to embed frameworks (local and project) when 
generating deployment woa.  Wolips 3.6 is not.  The resulting woa in 3.7 is 
therefore give me a hugh fold size of 33MB as compared to 1.7MB in wolips 3.6.  
That's beside the point.   The meaningful exercise here is the CLSSPATH should 
be generated OK for cross-platform woa.

Cheers

  - Original Message - 
  From: Strumyla, Marius 
  To: webobjects-dev@lists.apple.com 
  Sent: Friday, June 01, 2012 5:07 AM
  Subject: RE: Wrong CLASSPATH when installing WOApp with WOLips


  Cheong, what build of WOLips 3.7 you're running? I'm thinking your're running 
older build and that's why you're not getting the issue.

   

  I've confirmed that the issue is with WOVariables class and recently (10 
months ago) added resolvedPath method. 

  
https://github.com/wolips/wolips/commit/bac2d4ea2488a0341bdb84bfa08627b86cd519dd

   

  1.  What happens is that these lines in resolvedPath flip the slashes from 
"/" to "\" ("C:/Apple" becomes "C:\Apple")

  File filepath = new File(path);

  ... 

  return filepath.toString();

   

  2.  Then WOVariables.encodePath fails to properly encode the path:

   

  Properties prop = new Properties();

  WOEnvironment woEnvironment = new WOEnvironment(prop);

  WOVariables woVariables = woEnvironment.getWOVariables();

  System.out.println(WOVariables.SYSTEM_ROOT + " = " + 
woVariables.systemRoot());

  System.out.println(WOVariables.LOCAL_ROOT + " = " + 
woVariables.localRoot());

   

  String encodedSystemRoot = woVariables.encodePath( 
woVariables.systemRoot

Re: ERJaveMail

2012-05-31 Thread Cheong Hee (Gmail)
I do have a more stringent check pattern on email address.   The default one in 
properties file is way to simple.  I will zoom into the code later to see what 
is the difference between these patterns.  thanks.
  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Thursday, May 31, 2012 6:54 PM
  Subject: Re: ERJaveMail


  It's arbitrary, I guess. Not much different than defaulting a boolean prop to 
true if it isn't set, which is pretty common. It just happens to have a more 
complex default.

  Sent from my iPhone

  On May 31, 2012, at 5:58 AM, "Cheong Hee \(Gmail\)"  wrote:


sorry I am half blind and in too fast to reply... curious the rationale why 
the pattern is not set in the properties file itself.  thanks.

Cheers
  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Thursday, May 31, 2012 5:52 PM
  Subject: Re: ERJaveMail


  That line is commented out. The one listed there is not the default. It's 
in code.

  Sent from my iPhone

  On May 31, 2012, at 5:49 AM, "Cheong Hee \(Gmail\)"  
wrote:


Serious?  I am actually pulling out the properties file in ERJavaMail, 
unless not the right one or the "latest".  Or unless some code in ERJavaMail 
setting the value again.  The framework I am having  is maybe one~two months 
ago.  Correct me if wrong..


# *** ERJavaMail settings
# *** Defaults to 'safe' settings:
# ***

# Sometimes when sending big masses of emails, the java virtual machine
# doesn't collects correctly the garbage and needs a little delay
# between each message sending.  Use this option if you have problem 
with
# memory management
er.javamail.useSenderDelay = false

# This delay is set to 15 milliseconds
er.javamail.senderDelayMillis = 15

# * Default encoding used for ERJavaMail
er.javamail.defaultEncoding = iso-8859-1

# * Enables ERJavaMail to send all the mails to only one destination
# This is useful when debugging
er.javamail.centralize = true

# * Prints javamail debug infos
# It is recommended to activate this switch when there are problems
# with smtp configuration
er.javamail.debugEnabled = false

# * The admin email, this is where "centralized" mails will go
#er.javamail.adminEmail = u...@domain.com

# * SMTP outbound host
#er.javamail.smtpHost = smtp.domain.com

# Valid ERJavaMail email pattern. If null, then the internal default 
will be used
#er.javamail.emailPattern = ^.*?@.*$

# * Number of messages that the sender queue can hold at a time
er.javamail.senderQueue.size = 50

# * Time to wait when mail sender queue is overflowed
er.javamail.milliSecondsWaitIfSenderOverflowed = 6000

# Used to set a default X-Mailer
#er.javamail.mailer.XMailerHeader = 

# White and black email address patterns
# This can be useful in testing when say
# you only want to allow emails to be sent to *@mycompany.com
# In this case you would add:
# er.javamail.WhiteListEmailAddressPatterns=("*@mycompany.com", 
"someb...@mac.com")

# To prevent sending mail to certain addresses you can use the black 
list
# er.javamail.BlackListEmailAddressPatterns=("*@baddomain.com", 
"badper...@mycompany.com")


# * The port to use with the smtp server, if not set, defaults to 25
#er.javamail.smtpPort = 25


  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Wednesday, May 30, 2012 6:58 PM
  Subject: Re: ERJaveMail


  Are you sure? I thought that was commented out and says something 
about using the default. I haven't looked at that in forever, but I'm almost 
positive you're not reading.

  Sent from my iPhone

  On May 30, 2012, at 12:33 AM, "Cheong Hee \(Gmail\)" 
 wrote:


This is only what I got in emailPattern in ERJavaMail properties: 
"^.*?@.*$"

Is this what you are having to as default?

Cheers

  - Original Message - 
  From: Mike Schrag 
  To: Ron X 
  Cc: WebObjects Development 
  Sent: Tuesday, May 29, 2012 9:19 PM
  Subject: Re: ERJaveMail


  my guess is that your regex pattern for er.javamail.emailPattern 
doesn't work. i'm not even going to try debugging that one, though. what's 
wrong with the pattern that's built into erjavamail? 


  On May 29, 2012, at 2:43 AM, Ron X  wrote:


hi,

i have some strange error on application start:

WARN  38.33 MB us

Re: Anybody have a running OpenBase server?

2012-05-31 Thread Amedeo Mantica
Version?

Sent from my iPhone

On 01/giu/2012, at 00:06, William Hatch  wrote:

> I need to deploy an existing db for some data forensics/recovery work that'll 
> take about a day, tops. Willing to pay reasonable fees. Inbox me; thanks.
> 
> Bill
> 
> 
> ___
> Do not 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/amedeomantica%40me.com
> 
> This email sent to amedeomant...@me.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


Anybody have a running OpenBase server?

2012-05-31 Thread William Hatch
I need to deploy an existing db for some data forensics/recovery work that'll 
take about a day, tops. Willing to pay reasonable fees. Inbox me; thanks.

Bill


 ___
Do not 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: Wrong CLASSPATH when installing WOApp with WOLips

2012-05-31 Thread Strumyla, Marius
Cheong, what build of WOLips 3.7 you're running? I'm thinking your're
running older build and that's why you're not getting the issue.

 

I've confirmed that the issue is with WOVariables class and recently (10
months ago) added resolvedPath method. 

https://github.com/wolips/wolips/commit/bac2d4ea2488a0341bdb84bfa08627b8
6cd519dd

 

1.  What happens is that these lines in resolvedPath flip the slashes
from "/" to "\" ("C:/Apple" becomes "C:\Apple")

File filepath = new File(path);

... 

return filepath.toString();

 

2.  Then WOVariables.encodePath fails to properly encode the path:

 

Properties prop = new Properties();

WOEnvironment woEnvironment = new WOEnvironment(prop);

WOVariables woVariables =
woEnvironment.getWOVariables();

System.out.println(WOVariables.SYSTEM_ROOT + " = " +
woVariables.systemRoot());

System.out.println(WOVariables.LOCAL_ROOT + " = " +
woVariables.localRoot());

 

String encodedSystemRoot = woVariables.encodePath(
woVariables.systemRoot() );

String encodedLocalRoot = woVariables.encodePath(
woVariables.localRoot() );

System.out.println("Encoded " + WOVariables.SYSTEM_ROOT
+ " = " + encodedSystemRoot);

System.out.println("Encoded " + WOVariables.SYSTEM_ROOT
+ " = " + encodedLocalRoot);

 

Running the app above with woproject.jar from 3.7:

wo.system.root = C:\Apple

wo.local.root = C:\Apple\Local

Encoded wo.system.root = C:/Apple

Encoded wo.system.root = C:/Apple/Local

 

Running the app with woproject.jar from 3.6:

wo.system.root = C:/Apple

wo.local.root = C:/Apple/Local

Encoded wo.system.root = WOROOT

Encoded wo.system.root = LOCALROOT

 

I think I will file a bug on this.

 

Thanks,
--

 I5mast

 

From: Cheong Hee (Gmail) [mailto:chn...@gmail.com] 
Sent: Thursday, May 31, 2012 5:57 AM
To: Strumyla, Marius; webobjects-dev@lists.apple.com
Subject: Re: Wrong CLASSPATH when installing WOApp with WOLips

 

Suggest you do upgrade to latest WO5.4.3.  This will make your life
easier and others to chip in, too.

 

As for the path "/" or "\" you are getting, I have not tried to print it
out from code.  But I think it should work in windows for both, meaning
I have not encounter this kind of problem before.

 

Cheers

 

- Original Message - 

From: Strumyla, Marius   

To: webobjects-dev@lists.apple.com 

Sent: Thursday, May 31, 2012 2:11 AM

Subject: RE: Wrong CLASSPATH when installing WOApp with WOLips

 

Cheong, I'm using Windows and WO5.2. I don't have WO5.4. 

I've done some testing and Eclipse 3.6+WOLips 3.6 does the right
thing for me. CLSSPATH gets WOROOT and APPROOT in front of libraries:

 


WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoac
cess.jar


WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeoc
ontrol.jar


WOROOT/Library/Frameworks/JavaEOControl.framework/WebServerResources/Jav
a/JavaEOControl.jar

...

 

I've written a small app

Properties prop = new Properties();

WOEnvironment woEnvironment = new
WOEnvironment(prop);

WOVariables woVariables =
woEnvironment.getWOVariables();

System.out.println(WOVariables.SYSTEM_ROOT + " =
" + woVariables.systemRoot());

System.out.println(WOVariables.LOCAL_ROOT + " =
" + woVariables.localRoot());

 

Running it against woproject.jar from 3.7 gives me:

wo.system.root = C:\Apple

wo.local.root = C:\Apple\Local

 

Running it against woproject.jar from 3.6 gives me:

wo.system.root = C:/Apple

wo.local.root = C:/Apple/Local

 

I'm thinking that these flipping slashes are messing it for me.

Thanks

--

i5mast

 

From: Cheong Hee (Gmail) [mailto:chn...@gmail.com] 
Sent: Thursday, May 24, 2012 1:43 AM
To: Strumyla, Marius; webobjects-dev@lists.apple.com
Subject: Re: Wrong CLASSPATH when installing WOApp with WOLips

 

wo.system.root=C\:/Apple

wo.local.root=C\:/Apple/Local

 

I have just checked that this is what I am getting too in my
windows wolips properties file.  So I think your properties file is
fine.   May be you could try to install your WO54 in a separate new
directory and have a clearer class path for WO54.

 



 

Cheers

 

Cheong Hee





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscrip

Re: D2W: Selectors for enum types?

2012-05-31 Thread Ramsey Gurley

On May 30, 2012, at 1:59 AM, Paul Hoadley wrote:

> Hi Ramsey,
> 
> On 30/05/2012, at 10:06 AM, Ramsey Gurley wrote:
> 
>> It shouldn't have made it to the dataSource() method. You should log what 
>> rules are firing for restrictedChoiceKey.  Open your log4j page and set up a 
>> d2w rule logger for that key. See what the console tells you when you load 
>> the page.
> 
> Ah, OK, this is subtle.  As I mentioned, this is an attribute I'm adding to 
> the model at runtime (Organisation.billingStatus).  As such, the Organisation 
> class knows nothing about it, and I don't get the opportunity to set a 
> default value.  So when the page calls object.billingStatus.allValues to get 
> the values for the drop-down, it gets a null at billingStatus.  Adding this 
> third line works:
> 
> EditPageInterface epi = 
> D2W.factory().editPageForNewObjectWithEntityNamed(Organisation.ENTITY_NAME, 
> session());
> epi.setNextPage(session().context().page());
> ((ERMODWizardCreationPage) 
> epi).object().takeValueForKey(BillingStatus.Billed, "billingStatus");
> 
> But obviously that's going to be brittle—casting the EditPageInterface to an 
> ERMODWizardCreationPage.  (I don't see myself changing looks any time soon, 
> so it will work indefinitely, but it's still ugly.)  Got any better ideas?

Create a method called availableBillingStatuses() on the eo. It returns the 
list of possible billing statuses the object can have in its current state. 
Then just use object.availableBillingStatuses. 

Not only does that solve the problem, but it permits the removal of statuses 
that don't make sense. For example, if amountDue == $0, then billingStatus == 
PAST_DUE doesn't make sense.


 ___
Do not 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: NullPointerException in EODatabaseContext java

2012-05-31 Thread Chuck Hill
Something is wrong with your model or how you are creating this new object.  
Are you setting the relationship both ways?


On 2012-05-31, at 6:04 AM, Raghavender Bokka wrote:

> Hi Team,
> 
> I have created an enterprise object with one-to-many relationship objects 
> associating.  Then in the search page searched for these enterprise objects 
> (that has WODisplayGroup), I am able to view the newly created object, but 
> when I try to select that object to view the details it is generating the 
> following exception.   If I restart the application then I am able to view 
> the details of the newly created object without any error, or If we try 
> accessing the newly created object after sometime (around half an hour later) 
> then without error able to view the object details.  Otherwise the enterprise 
> object is getting null.
> 
> This enterprise object's super class has the database table, and this object 
> does not has the database table, it points to the same database table of the 
> super class.  And the to-many relationship is existing with this enterprise 
> object (sub-class), not the super class.
> 
> Any help would be appreciated.
> 
> EXCEPTION--
> [2012-5-31 8:25:4 EDT]  java.lang.NullPointerException
>at 
> com.webobjects.eoaccess.EODatabaseContext.arrayFaultWithSourceGlobalID(EODatabaseContext.java:3510)
>at 
> com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2377)
>at 
> com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
>at 
> com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
>at 
> com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
>at 
> com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
>at _StoredDistrictTest.storedTestItems(_StoredDistrictTest.java:33)
>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 
> KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
>at 
> com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
>at 
> com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1498)
>at 
> com.webobjects.eocontrol.EOCustomObject.eoDescription(EOCustomObject.java:793)
>at 
> com.webobjects.eocontrol.EOCustomObject.toString(EOCustomObject.java:299)
>at java.lang.String.valueOf(String.java:2826)
>at java.lang.StringBuilder.append(StringBuilder.java:115)
>at StoredTestListPage.printTestSession(StoredTestListPage.java:276)
>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 
> KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
>at 
> com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
>at 
> com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
>at 
> com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
>at 
> com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
>at 
> com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
>at 
> com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
>at 
> com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
>at 
> com.webobjects.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
>at 
> er.extensions.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:66)
>at 
> com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
>at 
> com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
>at 
> er.extensions.components._private.ERXWORepetition.invokeAction(ERXWORepetition.java:496)
>at 
> com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
>at 
> com.webobjects.appserver._

Re: Maven WARN

2012-05-31 Thread Henrique Prange
Hi Ron,

Wonder has no support for user-specific properties files when the frameworks 
are packaged as jars (instead of .frameworks). That is the case for 
applications packaged with Maven.

You can file a bug in the Wonder issues or ignore the warning messages if you 
don't use user-specific properties.

Cheers,

Henrique

On 31/05/2012, at 10:16, Ron X wrote:

> when i use maven and start app i get these warnings:
> 
> - Can't get path when run as jar: JavaERJDBCAdaptor - Properties
> - Can't get path when run as jar: JavaERJDBCAdaptor - Properties.dev
> - Can't get path when run as jar: JavaERJDBCAdaptor - Properties.user
> - Can't get path when run as jar: ERJGroupsSynchronizer - Properties
> - Can't get path when run as jar: ERJGroupsSynchronizer - Properties.dev
> - Can't get path when run as jar: ERJGroupsSynchronizer - Properties.user
> - Can't get path when run as jar: ERPlot - Properties
> - Can't get path when run as jar: ERPlot - Properties.dev
> - Can't get path when run as jar: ERPlot - Properties.user
> - Can't get path when run as jar: DRGrouping - Properties
> - Can't get path when run as jar: DRGrouping - Properties.dev
> - Can't get path when run as jar: DRGrouping - Properties.user
> - Can't get path when run as jar: WRReporting - Properties
> - Can't get path when run as jar: WRReporting - Properties.dev
> - Can't get path when run as jar: WRReporting - Properties.user
> - Can't get path when run as jar: ERSelenium - Properties
> - Can't get path when run as jar: ERSelenium - Properties.dev
> - Can't get path when run as jar: ERSelenium - Properties.user
> - Can't get path when run as jar: JavaWOJSPServlet - Properties
> - Can't get path when run as jar: JavaWOJSPServlet - Properties.dev
> - Can't get path when run as jar: JavaWOJSPServlet - Properties.user
> - Can't get path when run as jar: JavaJDBCAdaptor - Properties
> - Can't get path when run as jar: JavaJDBCAdaptor - Properties.dev
> - Can't get path when run as jar: JavaJDBCAdaptor - Properties.user
> - Can't get path when run as jar: JavaWOExtensions - Properties
> - Can't get path when run as jar: JavaWOExtensions - Properties.dev
> - Can't get path when run as jar: JavaWOExtensions - Properties.user
> - Can't get path when run as jar: ERExtensions - Properties
> - Can't get path when run as jar: ERExtensions - Properties.dev
> - Can't get path when run as jar: ERExtensions - Properties.user
> - Can't get path when run as jar: WOOgnl - Properties
> - Can't get path when run as jar: WOOgnl - Properties.dev
> - Can't get path when run as jar: WOOgnl - Properties.user
> - Can't get path when run as jar: ERPrototypes - Properties
> - Can't get path when run as jar: ERPrototypes - Properties.dev
> - Can't get path when run as jar: ERPrototypes - Properties.user
> - Can't get path when run as jar: ERJavaMail - Properties
> - Can't get path when run as jar: ERJavaMail - Properties.dev
> - Can't get path when run as jar: ERJavaMail - Properties.user
> - Can't get path when run as jar: ERAttachment - Properties
> - Can't get path when run as jar: ERAttachment - Properties.dev
> - Can't get path when run as jar: ERAttachment - Properties.user
> - Can't get path when run as jar: JavaDTWGeneration - Properties
> - Can't get path when run as jar: JavaDTWGeneration - Properties.dev
> - Can't get path when run as jar: JavaDTWGeneration - Properties.user
> - Can't get path when run as jar: JavaEOProject - Properties
> - Can't get path when run as jar: JavaEOProject - Properties.dev
> - Can't get path when run as jar: JavaEOProject - Properties.user
> - Can't get path when run as jar: JavaDirectToWeb - Properties
> - Can't get path when run as jar: JavaDirectToWeb - Properties.dev
> - Can't get path when run as jar: JavaDirectToWeb - Properties.user
> - Can't get path when run as jar: ERDirectToWeb - Properties
> - Can't get path when run as jar: ERDirectToWeb - Properties.dev
> - Can't get path when run as jar: ERDirectToWeb - Properties.user
> - Can't get path when run as jar: ERCoreBusinessLogic - Properties
> - Can't get path when run as jar: ERCoreBusinessLogic - Properties.dev
> - Can't get path when run as jar: ERCoreBusinessLogic - Properties.user
> - Can't get path when run as jar: JavaXML - Properties
> - Can't get path when run as jar: JavaXML - Properties.dev
> - Can't get path when run as jar: JavaXML - Properties.user
> - Can't get path when run as jar: Ajax - Properties
> - Can't get path when run as jar: Ajax - Properties.dev
> - Can't get path when run as jar: Ajax - Properties.user
> - Can't get path when run as jar: JavaEOControl - Properties
> - Can't get path when run as jar: JavaEOControl - Properties.dev
> - Can't get path when run as jar: JavaEOControl - Properties.user
> - Can't get path when run as jar: JavaEOAccess - Properties
> - Can't get path when run as jar: JavaEOAccess - Properties.dev
> - Can't get path when run as jar: JavaEOAccess - Properties.user
> - Can't get path when run as jar: JavaFoundation - Prope

jdbc error at start up

2012-05-31 Thread Ron X
hi, i use maven lo load dependencies and enable Java ERJDBCAdaptor, but at
star up i've got:

WARN  28.05 MB used/53.01 MB free [main] (ERXNSLogLog4jBridge.java:43)  - A
fatal exception occurred: null
[2012-5-31 6:26:9 PDT]  java.lang.ExceptionInInitializerError
at er.jdbcadaptor.PrincipalClass.(PrincipalClass.java:21)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:348)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:335)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:1760)
at
com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:700)
at com.webobjects.foundation.NSBundle.(NSBundle.java:344)
at
com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
at com.webobjects.appserver.WOApplication.(WOApplication.java:779)
at
er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.java:24)
at
er.extensions.appserver.ERXApplication.(ERXApplication.java:1093)
 ___
Do not 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


NullPointerException in EODatabaseContext java

2012-05-31 Thread Raghavender Bokka
Hi Team,

I have created an enterprise object with one-to-many relationship objects 
associating.  Then in the search page searched for these enterprise objects 
(that has WODisplayGroup), I am able to view the newly created object, but when 
I try to select that object to view the details it is generating the following 
exception.   If I restart the application then I am able to view the details of 
the newly created object without any error, or If we try accessing the newly 
created object after sometime (around half an hour later) then without error 
able to view the object details.  Otherwise the enterprise object is getting 
null.

This enterprise object's super class has the database table, and this object 
does not has the database table, it points to the same database table of the 
super class.  And the to-many relationship is existing with this enterprise 
object (sub-class), not the super class.

Any help would be appreciated.

EXCEPTION--
[2012-5-31 8:25:4 EDT]  java.lang.NullPointerException
at 
com.webobjects.eoaccess.EODatabaseContext.arrayFaultWithSourceGlobalID(EODatabaseContext.java:3510)
at 
com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2377)
at 
com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
at 
com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
at 
com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
at 
com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
at _StoredDistrictTest.storedTestItems(_StoredDistrictTest.java:33)
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 
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at 
com.webobjects.eocontrol.EOCustomObject.valueForKey(EOCustomObject.java:1498)
at 
com.webobjects.eocontrol.EOCustomObject.eoDescription(EOCustomObject.java:793)
at 
com.webobjects.eocontrol.EOCustomObject.toString(EOCustomObject.java:299)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at StoredTestListPage.printTestSession(StoredTestListPage.java:276)
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 
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at 
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at 
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
at 
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at 
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at 
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
at 
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at 
com.webobjects.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
at 
er.extensions.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:66)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
er.extensions.components._private.ERXWORepetition.invokeAction(ERXWORepetition.java:496)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:86)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynam

Re: ERJaveMail

2012-05-31 Thread Mike Schrag
It's arbitrary, I guess. Not much different than defaulting a boolean prop to 
true if it isn't set, which is pretty common. It just happens to have a more 
complex default.

Sent from my iPhone

On May 31, 2012, at 5:58 AM, "Cheong Hee \(Gmail\)"  wrote:

> sorry I am half blind and in too fast to reply... curious the rationale why 
> the pattern is not set in the properties file itself.  thanks.
>  
> Cheers
> - Original Message -
> From: Mike Schrag
> To: Cheong Hee (Gmail)
> Cc: Ron X ; WebObjects Development
> Sent: Thursday, May 31, 2012 5:52 PM
> Subject: Re: ERJaveMail
> 
> That line is commented out. The one listed there is not the default. It's in 
> code.
> 
> Sent from my iPhone
> 
> On May 31, 2012, at 5:49 AM, "Cheong Hee \(Gmail\)"  wrote:
> 
>> Serious?  I am actually pulling out the properties file in ERJavaMail, 
>> unless not the right one or the "latest".  Or unless some code in ERJavaMail 
>> setting the value again.  The framework I am having  is maybe one~two months 
>> ago.  Correct me if wrong..
>>  
>>  
>> # *** ERJavaMail settings
>> # *** Defaults to 'safe' settings:
>> # ***
>>  
>> # Sometimes when sending big masses of emails, the java virtual machine
>> # doesn't collects correctly the garbage and needs a little delay
>> # between each message sending.  Use this option if you have problem with
>> # memory management
>> er.javamail.useSenderDelay = false
>>  
>> # This delay is set to 15 milliseconds
>> er.javamail.senderDelayMillis = 15
>>  
>> # * Default encoding used for ERJavaMail
>> er.javamail.defaultEncoding = iso-8859-1
>>  
>> # * Enables ERJavaMail to send all the mails to only one destination
>> # This is useful when debugging
>> er.javamail.centralize = true
>>  
>> # * Prints javamail debug infos
>> # It is recommended to activate this switch when there are problems
>> # with smtp configuration
>> er.javamail.debugEnabled = false
>>  
>> # * The admin email, this is where "centralized" mails will go
>> #er.javamail.adminEmail = u...@domain.com
>>  
>> # * SMTP outbound host
>> #er.javamail.smtpHost = smtp.domain.com
>>  
>> # Valid ERJavaMail email pattern. If null, then the internal default will be 
>> used
>> #er.javamail.emailPattern = ^.*?@.*$
>>  
>> # * Number of messages that the sender queue can hold at a time
>> er.javamail.senderQueue.size = 50
>>  
>> # * Time to wait when mail sender queue is overflowed
>> er.javamail.milliSecondsWaitIfSenderOverflowed = 6000
>>  
>> # Used to set a default X-Mailer
>> #er.javamail.mailer.XMailerHeader =
>>  
>> # White and black email address patterns
>> # This can be useful in testing when say
>> # you only want to allow emails to be sent to *@mycompany.com
>> # In this case you would add:
>> # er.javamail.WhiteListEmailAddressPatterns=("*@mycompany.com", 
>> "someb...@mac.com")
>>  
>> # To prevent sending mail to certain addresses you can use the black list
>> # er.javamail.BlackListEmailAddressPatterns=("*@baddomain.com", 
>> "badper...@mycompany.com")
>>  
>> 
>> # * The port to use with the smtp server,  if not set, defaults to 25
>> #er.javamail.smtpPort = 25
>>  
>>  
>> - Original Message -
>> From: Mike Schrag
>> To: Cheong Hee (Gmail)
>> Cc: Ron X ; WebObjects Development
>> Sent: Wednesday, May 30, 2012 6:58PM
>> Subject: Re: ERJaveMail
>> 
>> Are you sure? I thought that was commented out and says something about 
>> using the default. I haven't looked at that in forever, but I'm almost 
>> positive you're not reading.
>> 
>> Sent from my iPhone
>> 
>> On May 30, 2012, at 12:33 AM, "Cheong Hee \(Gmail\)"  
>> wrote:
>> 
>>> This is only what I got in emailPattern in ERJavaMail properties: "^.*?@.*$"
>>>  
>>> Is this what you are having to as default?
>>>  
>>> Cheers
>>>  
>>> - Original Message -
>>> From: Mike Schrag
>>> To: Ron X
>>> Cc: WebObjects Development
>>> Sent: Tuesday, May 29, 2012 9:19PM
>>> Subject: Re: ERJaveMail
>>> 
>>> my guess is that your regex pattern for er.javamail.emailPattern doesn't 
>>> work. i'm not even going to try debugging that one, though. what's wrong 
>>> with the pattern that's built into erjavamail?
>>> 
>>> On May 29, 2012, at 2:43 AM, Ron X  wrote:
>>> 
 hi,
 
 i have some strange error on  application start:
 
 WARN  38.33 MB used/42.73 MB free [ProcessChangesQueue] 
 (ERXNSLogLog4jBridge.java:43)  - A fatal exception occurred: When 
 'er.javamail.centralize' is true (default), all outgoing mails will get 
 sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but 
 you did not provide a valid email for that property.
 [2012-5-28 23:40:30 PDT]  
 java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true 
 (default), all outgoing mails will get sent to 'er.javamail.adminEmail' 
 instead of the normal TO addresses, but you did not provide a valid email 
 for that property.
 at 
 er.javamail.ERJavaMail.initi

Re: New Tomcat 6 Deployment

2012-05-31 Thread Ron Lift
Thanks for the feedback. Having a meeting today to discuss installing
JavaMonitor on the RHEL6 in place of tomcat for deployment for external
applications. We are still using OSX 10.6.7 server with JavaMonitor for
internal apps

On Wed, May 30, 2012 at 3:16 PM, John Huss  wrote:

> On Wed, May 30, 2012 at 10:43 AM, Ramsey Gurley wrote:
>>
>>> Given the way the pool is implemented, it is not fixable AFAICT.  The EC
>>> is only connected to one OSC to run cleanup.  So snapshots get inserted
>>> into all OSCs, but only get removed from one. The bigger the pool, the
>>> bigger the leak.
>>>
>>> Persistent session storage with multiple stateless instances should give
>>> the same effect without the leak though :-)
>>>
>>
>> How so?  I'll be at WOWODC, so maybe I have to wait until then.
>>
>> Well, for database connections, it's essentially no different that having
>> multiple instances. One idea is that a new load balancer could be
>> implemented to skip instances that have an OSC locked.
>>
>
> That would be awesome.
>
>> My app has potentially long running queries and the connection pool is
>> really necessary to keep it from blocking an instance completely.  I don't
>> see how this would solve that.
>>
>>
>> I haven't used the ERXOSCPool beyond discovering it's leaky, but doesn't
>> the ERXEC factory round robin sessions off the pool?  If you block up one
>> of the pooled OSCs, how are you not blocking the sessions connected to that
>> OSC?
>>
>
> Yeah, you still block in that case.  If you have a small number of
> sessions (like I do) you are less likely to get in that situation.
>
>
>  ___
> Do not 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/rpgile4%40gmail.com
>
> This email sent to rpgi...@gmail.com
>
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: ERJaveMail

2012-05-31 Thread Cheong Hee (Gmail)
sorry I am half blind and in too fast to reply... curious the rationale why the 
pattern is not set in the properties file itself.  thanks.

Cheers
  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Thursday, May 31, 2012 5:52 PM
  Subject: Re: ERJaveMail


  That line is commented out. The one listed there is not the default. It's in 
code.

  Sent from my iPhone

  On May 31, 2012, at 5:49 AM, "Cheong Hee \(Gmail\)"  wrote:


Serious?  I am actually pulling out the properties file in ERJavaMail, 
unless not the right one or the "latest".  Or unless some code in ERJavaMail 
setting the value again.  The framework I am having  is maybe one~two months 
ago.  Correct me if wrong..


# *** ERJavaMail settings
# *** Defaults to 'safe' settings:
# ***

# Sometimes when sending big masses of emails, the java virtual machine
# doesn't collects correctly the garbage and needs a little delay
# between each message sending.  Use this option if you have problem with
# memory management
er.javamail.useSenderDelay = false

# This delay is set to 15 milliseconds
er.javamail.senderDelayMillis = 15

# * Default encoding used for ERJavaMail
er.javamail.defaultEncoding = iso-8859-1

# * Enables ERJavaMail to send all the mails to only one destination
# This is useful when debugging
er.javamail.centralize = true

# * Prints javamail debug infos
# It is recommended to activate this switch when there are problems
# with smtp configuration
er.javamail.debugEnabled = false

# * The admin email, this is where "centralized" mails will go
#er.javamail.adminEmail = u...@domain.com

# * SMTP outbound host
#er.javamail.smtpHost = smtp.domain.com

# Valid ERJavaMail email pattern. If null, then the internal default will 
be used
#er.javamail.emailPattern = ^.*?@.*$

# * Number of messages that the sender queue can hold at a time
er.javamail.senderQueue.size = 50

# * Time to wait when mail sender queue is overflowed
er.javamail.milliSecondsWaitIfSenderOverflowed = 6000

# Used to set a default X-Mailer
#er.javamail.mailer.XMailerHeader = 

# White and black email address patterns
# This can be useful in testing when say
# you only want to allow emails to be sent to *@mycompany.com
# In this case you would add:
# er.javamail.WhiteListEmailAddressPatterns=("*@mycompany.com", 
"someb...@mac.com")

# To prevent sending mail to certain addresses you can use the black list
# er.javamail.BlackListEmailAddressPatterns=("*@baddomain.com", 
"badper...@mycompany.com")


# * The port to use with the smtp server, if not set, defaults to 25
#er.javamail.smtpPort = 25


  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Wednesday, May 30, 2012 6:58 PM
  Subject: Re: ERJaveMail


  Are you sure? I thought that was commented out and says something about 
using the default. I haven't looked at that in forever, but I'm almost positive 
you're not reading.

  Sent from my iPhone

  On May 30, 2012, at 12:33 AM, "Cheong Hee \(Gmail\)"  
wrote:


This is only what I got in emailPattern in ERJavaMail properties: 
"^.*?@.*$"

Is this what you are having to as default?

Cheers

  - Original Message - 
  From: Mike Schrag 
  To: Ron X 
  Cc: WebObjects Development 
  Sent: Tuesday, May 29, 2012 9:19 PM
  Subject: Re: ERJaveMail


  my guess is that your regex pattern for er.javamail.emailPattern 
doesn't work. i'm not even going to try debugging that one, though. what's 
wrong with the pattern that's built into erjavamail? 


  On May 29, 2012, at 2:43 AM, Ron X  wrote:


hi,

i have some strange error on application start:

WARN  38.33 MB used/42.73 MB free [ProcessChangesQueue] 
(ERXNSLogLog4jBridge.java:43)  - A fatal exception occurred: When 
'er.javamail.centralize' is true (default), all outgoing mails will get sent to 
'er.javamail.adminEmail' instead of the normal TO addresses, but you did not 
provide a valid email for that property.
[2012-5-28 23:40:30 PDT]  
java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true 
(default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead 
of the normal TO addresses, but you did not provide a valid email for that 
property.
at 
er.javamail.ERJavaMail.initializeFrameworkFromSystemProperties(ERJavaMail.java:132)
at 
er.javamail.ERJavaMail.finishInitialization(ERJavaMail.java:113)
at 
er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ

Re: Wrong CLASSPATH when installing WOApp with WOLips

2012-05-31 Thread Cheong Hee (Gmail)
Suggest you do upgrade to latest WO5.4.3.  This will make your life easier and 
others to chip in, too.

As for the path "/" or "\" you are getting, I have not tried to print it out 
from code.  But I think it should work in windows for both, meaning I have not 
encounter this kind of problem before.

Cheers

  - Original Message - 
  From: Strumyla, Marius 
  To: webobjects-dev@lists.apple.com 
  Sent: Thursday, May 31, 2012 2:11 AM
  Subject: RE: Wrong CLASSPATH when installing WOApp with WOLips


  Cheong, I'm using Windows and WO5.2. I don't have WO5.4. 

  I've done some testing and Eclipse 3.6+WOLips 3.6 does the right thing for 
me. CLSSPATH gets WOROOT and APPROOT in front of libraries:

   

  
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar

  
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar

  
WOROOT/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar

  .

   

  I've written a small app

  Properties prop = new Properties();

  WOEnvironment woEnvironment = new WOEnvironment(prop);

  WOVariables woVariables = woEnvironment.getWOVariables();

  System.out.println(WOVariables.SYSTEM_ROOT + " = " + 
woVariables.systemRoot());

  System.out.println(WOVariables.LOCAL_ROOT + " = " + 
woVariables.localRoot());

   

  Running it against woproject.jar from 3.7 gives me:

  wo.system.root = C:\Apple

  wo.local.root = C:\Apple\Local

   

  Running it against woproject.jar from 3.6 gives me:

  wo.system.root = C:/Apple

  wo.local.root = C:/Apple/Local

   

  I'm thinking that these flipping slashes are messing it for me.

  Thanks

  --

  i5mast

   

  From: Cheong Hee (Gmail) [mailto:chn...@gmail.com] 
  Sent: Thursday, May 24, 2012 1:43 AM
  To: Strumyla, Marius; webobjects-dev@lists.apple.com
  Subject: Re: Wrong CLASSPATH when installing WOApp with WOLips

   

  wo.system.root=C\:/Apple

  wo.local.root=C\:/Apple/Local

   

  I have just checked that this is what I am getting too in my windows wolips 
properties file.  So I think your properties file is fine.   May be you could 
try to install your WO54 in a separate new directory and have a clearer class 
path for WO54.

   

  

   

  Cheers

   

  Cheong Hee



--


  ___
  Do not 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/chng34%40gmail.com

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

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


Re: ERJaveMail

2012-05-31 Thread Mike Schrag
That line is commented out. The one listed there is not the default. It's in 
code.

Sent from my iPhone

On May 31, 2012, at 5:49 AM, "Cheong Hee \(Gmail\)"  wrote:

> Serious?  I am actually pulling out the properties file in ERJavaMail, unless 
> not the right one or the "latest".  Or unless some code in ERJavaMail setting 
> the value again.  The framework I am having  is maybe one~two months ago.  
> Correct me if wrong..
>  
>  
> # *** ERJavaMail settings
> # *** Defaults to 'safe' settings:
> # ***
>  
> # Sometimes when sending big masses of emails, the java virtual machine
> # doesn't collects correctly the garbage and needs a little delay
> # between each message sending.  Use this option if you have problem with
> # memory management
> er.javamail.useSenderDelay = false
>  
> # This delay is set to 15 milliseconds
> er.javamail.senderDelayMillis = 15
>  
> # * Default encoding used for ERJavaMail
> er.javamail.defaultEncoding = iso-8859-1
>  
> # * Enables ERJavaMail to send all the mails to only one destination
> # This is useful when debugging
> er.javamail.centralize = true
>  
> # * Prints javamail debug infos
> # It is recommended to activate this switch when there are problems
> # with smtp configuration
> er.javamail.debugEnabled = false
>  
> # * The admin email, this is where "centralized" mails will go
> #er.javamail.adminEmail = u...@domain.com
>  
> # * SMTP outbound host
> #er.javamail.smtpHost = smtp.domain.com
>  
> # Valid ERJavaMail email pattern. If null, then the internal default will be 
> used
> #er.javamail.emailPattern = ^.*?@.*$
>  
> # * Number of messages that the sender queue can hold at a time
> er.javamail.senderQueue.size = 50
>  
> # * Time to wait when mail sender queue is  overflowed
> er.javamail.milliSecondsWaitIfSenderOverflowed = 6000
>  
> # Used to set a default X-Mailer
> #er.javamail.mailer.XMailerHeader =
>  
> # White and black email address patterns
> # This can be useful in testing when say
> # you only want to allow emails to be sent to *@mycompany.com
> # In this case you would add:
> # er.javamail.WhiteListEmailAddressPatterns=("*@mycompany.com", 
> "someb...@mac.com")
>  
> # To prevent sending mail to certain addresses you can use the black list
> # er.javamail.BlackListEmailAddressPatterns=("*@baddomain.com", 
> "badper...@mycompany.com")
>  
> 
> # * The port to use with the smtp server, if not set, defaults to 25
> #er.javamail.smtpPort = 25
>  
>  
> - Original Message -
> From: Mike Schrag
> To: Cheong Hee (Gmail)
> Cc: Ron X ; WebObjects Development
> Sent: Wednesday, May 30, 2012 6:58 PM
> Subject: Re: ERJaveMail
> 
> Are you sure? I thought that was commented out and says something about using 
> the default. I haven't looked at that in forever, but I'm almost positive 
> you're not reading.
> 
> Sent from my iPhone
> 
> On May 30, 2012, at 12:33 AM, "Cheong Hee \(Gmail\)"  wrote:
> 
>> This is only what I got in emailPattern in  ERJavaMail properties: 
>> "^.*?@.*$"
>>  
>> Is this what you are having to as default?
>>  
>> Cheers
>>  
>> - Original Message -
>> From: Mike Schrag
>> To: Ron X
>> Cc: WebObjects Development
>> Sent: Tuesday, May 29, 2012 9:19 PM
>> Subject: Re: ERJaveMail
>> 
>> my guess is that your regex pattern for er.javamail.emailPattern doesn't 
>> work. i'm not even going to try debugging that one, though. what's wrong 
>> with the pattern that's built into erjavamail?
>> 
>> On May 29, 2012, at 2:43 AM, Ron X wrote:
>> 
>>> hi,
>>> 
>>> i have some strange error on application start:
>>> 
>>> WARN  38.33 MB used/42.73 MB free [ProcessChangesQueue] 
>>> (ERXNSLogLog4jBridge.java:43)  - A fatal exception occurred: When 
>>> 'er.javamail.centralize' is true (default), all outgoing mails will get 
>>> sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but 
>>> you did not provide a valid email for that property.
>>> [2012-5-28 23:40:30 PDT]  
>>> java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true 
>>> (default), all outgoing mails will get sent to 'er.javamail.adminEmail' 
>>> instead of the normal TO addresses, but you did not provide a valid email 
>>> for that property.
>>> at 
>>> er.javamail.ERJavaMail.initializeFrameworkFromSystemProperties(ERJavaMail.java:132)
>>> at er.javamail.ERJavaMail.finishInitialization(ERJavaMail.java:113)
>>> at 
>>> er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:97)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> 
>>> but i have 
>>> 
>>> ### ERJavaMail
>>> er.javamail.centralize = true
>>> er.javamail.smtpHost = localhost
>>> er.javamail.defaultEncoding = UTF-8
>>> er.javamail.emailPattern = 
>>> ^[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+(\\.[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+)*@[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1}((\\.[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1})*\\.[a-zA-Z]{2,6}){1,1}$
>>> 
>>> er.javamail.adminEmail =

Re: ERJaveMail

2012-05-31 Thread Cheong Hee (Gmail)
Serious?  I am actually pulling out the properties file in ERJavaMail, unless 
not the right one or the "latest".  Or unless some code in ERJavaMail setting 
the value again.  The framework I am having  is maybe one~two months ago.  
Correct me if wrong..


# *** ERJavaMail settings
# *** Defaults to 'safe' settings:
# ***

# Sometimes when sending big masses of emails, the java virtual machine
# doesn't collects correctly the garbage and needs a little delay
# between each message sending.  Use this option if you have problem with
# memory management
er.javamail.useSenderDelay = false

# This delay is set to 15 milliseconds
er.javamail.senderDelayMillis = 15

# * Default encoding used for ERJavaMail
er.javamail.defaultEncoding = iso-8859-1

# * Enables ERJavaMail to send all the mails to only one destination
# This is useful when debugging
er.javamail.centralize = true

# * Prints javamail debug infos
# It is recommended to activate this switch when there are problems
# with smtp configuration
er.javamail.debugEnabled = false

# * The admin email, this is where "centralized" mails will go
#er.javamail.adminEmail = u...@domain.com

# * SMTP outbound host
#er.javamail.smtpHost = smtp.domain.com

# Valid ERJavaMail email pattern. If null, then the internal default will be 
used
#er.javamail.emailPattern = ^.*?@.*$

# * Number of messages that the sender queue can hold at a time
er.javamail.senderQueue.size = 50

# * Time to wait when mail sender queue is overflowed
er.javamail.milliSecondsWaitIfSenderOverflowed = 6000

# Used to set a default X-Mailer
#er.javamail.mailer.XMailerHeader = 

# White and black email address patterns
# This can be useful in testing when say
# you only want to allow emails to be sent to *@mycompany.com
# In this case you would add:
# er.javamail.WhiteListEmailAddressPatterns=("*@mycompany.com", 
"someb...@mac.com")

# To prevent sending mail to certain addresses you can use the black list
# er.javamail.BlackListEmailAddressPatterns=("*@baddomain.com", 
"badper...@mycompany.com")


# * The port to use with the smtp server, if not set, defaults to 25
#er.javamail.smtpPort = 25


  - Original Message - 
  From: Mike Schrag 
  To: Cheong Hee (Gmail) 
  Cc: Ron X ; WebObjects Development 
  Sent: Wednesday, May 30, 2012 6:58 PM
  Subject: Re: ERJaveMail


  Are you sure? I thought that was commented out and says something about using 
the default. I haven't looked at that in forever, but I'm almost positive 
you're not reading.

  Sent from my iPhone

  On May 30, 2012, at 12:33 AM, "Cheong Hee \(Gmail\)"  wrote:


This is only what I got in emailPattern in ERJavaMail properties: "^.*?@.*$"

Is this what you are having to as default?

Cheers

  - Original Message - 
  From: Mike Schrag 
  To: Ron X 
  Cc: WebObjects Development 
  Sent: Tuesday, May 29, 2012 9:19 PM
  Subject: Re: ERJaveMail


  my guess is that your regex pattern for er.javamail.emailPattern doesn't 
work. i'm not even going to try debugging that one, though. what's wrong with 
the pattern that's built into erjavamail? 


  On May 29, 2012, at 2:43 AM, Ron X  wrote:


hi,

i have some strange error on application start:

WARN  38.33 MB used/42.73 MB free [ProcessChangesQueue] 
(ERXNSLogLog4jBridge.java:43)  - A fatal exception occurred: When 
'er.javamail.centralize' is true (default), all outgoing mails will get sent to 
'er.javamail.adminEmail' instead of the normal TO addresses, but you did not 
provide a valid email for that property.
[2012-5-28 23:40:30 PDT]  
java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true 
(default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead 
of the normal TO addresses, but you did not provide a valid email for that 
property.
at 
er.javamail.ERJavaMail.initializeFrameworkFromSystemProperties(ERJavaMail.java:132)
at er.javamail.ERJavaMail.finishInitialization(ERJavaMail.java:113)
at 
er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

but i have 

### ERJavaMail
er.javamail.centralize = true
er.javamail.smtpHost = localhost
er.javamail.defaultEncoding = UTF-8
er.javamail.emailPattern = 
^[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+(\\.[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+)*@[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1}((\\.[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1})*\\.[a-zA-Z]{2,6}){1,1}$

er.javamail.adminEmail = admin@localhost.local

in my property file
___
Do not 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