James,

Can you turn on debug and send the output? 

-----Original Message-----
From: James Lorenzen [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 05, 2005 11:41 AM
To: muse-dev@ws.apache.org; muse-dev@ws.apache.org
Subject: RE: Issues with AbstractResourceHome find and add methods

I am using the same soap request to test it with,so the key value is the
same: bob.

________________________________

From: Campana Jr., Salvatore J [mailto:[EMAIL PROTECTED]
Sent: Fri 8/5/2005 11:34 AM
To: muse-dev@ws.apache.org
Subject: RE: Issues with AbstractResourceHome find and add methods


Haven't seen any issues with that per-se....I am assuming the request
you send has the ResourceIdentifier with the value of "Bob" since that
is what your logic is looking for.....
 
If that is the case then you can either add more debug logging or attach
via jpda and see what is going on....
 
fyi...The 1.0 release is coming soon and there have been changes to the
Home...stay tuned as you will need to change the way you are doing
things slightly....
 
-S

________________________________

From: James Lorenzen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 11:14 AM
To: muse-dev@ws.apache.org
Subject: RE: Issues with AbstractResourceHome find and add methods


Let me send out my Home class for a reference.

________________________________

From: James Lorenzen [mailto:[EMAIL PROTECTED]
Sent: Fri 8/5/2005 11:08 AM
To: muse-dev@ws.apache.org
Cc: James Lorenzen
Subject: Issues with AbstractResourceHome find and add methods



Within my Home class I receive a ResourceUnknownException when calling
the find(key) method for a second time.

On my first SOAP request, I receive the exception, but this is expected
on the first request. Within this first request, I create a new Resource
and call the add(key, resource) method to add my resource to the
underlying cache.
Therefore on my second SOAP request, the find() method should return
this resource if I pass in the same ResourceIdentifier value (which I do
because its the same request).

At a first glance, it appears that either the find() or add() method is
not working correctly.

Has anybody else noticed this or has this Use Case been
tested......lately?

Thanks, James Lorenzen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to