Java Pet Store demo

2001-06-21 Thread Emilio Suarez



Hi, 

Has anybody installed the Java Pet Store demo in 
Orion? and if so, what database did you use. 
I tried installing it using cloudscape and keep 
getting the error that the user id is already loged in:


Error: 
The User ID you selected is already in use. Please go back to the previous 
screen using the 'Back' button on your browser and select a different User ID. 


So I think that there is something wrong with the database access. 
Any ideas?
Thanks, 
-emilio


Re: Java Pet Store demo

2001-06-21 Thread Ray Harrison

It (petstore version 1.1.2) works just fine with Sap DB. A couple of quick issues that 
had to do
with Sap DB but no other known problems. If you are using a petstore version prior to 
1.1.2 then
you will have problems with the security adapter that Sun uses and will have to make 
adjustments
to the petstore. The changes have been discussed in this list.

--- Emilio Suarez [EMAIL PROTECTED] wrote:
 Hi, 
 
 Has anybody installed the Java Pet Store demo in Orion? and if so, what database did 
you use. 
 I tried installing it using cloudscape and keep getting the error that the user id 
is already
 loged in:
 
 Error: 
 
 The User ID you selected is already in use. Please go back to the previous screen 
using the
 'Back' button on your browser and select a different User ID. 
 
 
 
 So I think that there is something wrong with the database access. 
 
 Any ideas?
 
 Thanks, 
 
 -emilio
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




OrionSecurityAdapter for Java Pet Store Demo

2000-06-05 Thread Kirk Kalvar








I recently downloaded Orion rc2 with Java Pet Store Demo. After following the instructions in
orion/applications/estore-install Im able to get the Pet Store deployed but having
difficulty getting the Orion security adapter to work properly as well as the
search function.



Orion now has JPS working on its web site so I know Ive missed something.



Thanks in Advance,



Kirk S. Kalvar

email [EMAIL PROTECTED]

phone 703-591-3361










Java pet store demo problem

2000-03-28 Thread Egor Savotchkin




Hi,
 I'm trying to make the 
Java Pet Store Demo work under Orion... well, 
1) there are problems with custom tags: 
suprisingly enough when my doStartTag() return EVAL_BODY_TAG the body doesn't 
gets evaluated at all, but if it returns SKIP_BODY it works!!! (I 
modifiyed a little tag handlers).
I modifyed tag handlers so that don't use 
doStartTag() and now it works.
2) when I try to add an item to the shopping 
cart RemoteException (Recursive call to a non reentrant bean) is thrown in 
handleCartEvent method of StateMachine.java :
...
 case 
CartEvent.ADD_ITEM: 
{ 
try{ 
Collection itemIds = 
ce.getItemIds(); 
Iterator it = 
itemIds.iterator(); 
while 
(it.hasNext()) 
{ 
cart.addItem((String)it.next()); // exception is 
thrown 
 
}...
Question, why the exception is thrown? Does a call 
from helper class (StateMachine) to TheSCC (SessionBean) is not legal loopback? 
If so why it works in J2EE RI?
Thanks, Egor