Re: The New Java Pet Store

2000-10-19 Thread Ray Harrison

I found the problem for this particular error - the petstore app tries to load the 
japanese
version of the pages and it chokes while doing it. It happens not only on Orion, but 
J2ee-ri as
well. If you remove the entry from the xml/requestmappings.xml file and remove the 
appropriate
entry from
the index.html file (you can do this all obviously from the earassembler or the 
webappassembler)..
--- Ray Harrison [EMAIL PROTECTED] wrote:
 Hi -
 Has anyone investigated the new java pet store (came out on October 11th, I 
believe)? I just did
 a
 straight deploy - here's the message I receive on "Enter the Store"...
 
-
 java.lang.NullPointerException
 at

com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getTagValue(ScreenFlowXmlDAO.java:332)
 at

com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getScreens(ScreenFlowXmlDAO.java:155)
 at

com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadScreenDefinitions(ScreenFlowXmlDAO.java:97)
 at
 
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.init(ScreenFlowManager.java:52)
 at

com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreenFlowManager(MainServlet.java:96)
 at 
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:37)
 at javax.servlet.GenericServlet.init(GenericServlet.java)
 at com.evermind.server.http.HttpApplication.wt(JAX)
 at com.evermind.server.http.HttpApplication.wb(JAX)
 at com.evermind.server.http.HttpApplication.um(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)
 
 
-
 Orion Version 1.4.0
 Cloudscape data source
 AND
 MS Sql Server data source (the results are the same - the sources have worked before
 and continue to work on the previous pet store release (1.0.1)...
 
 
 Any clues as to where to start looking? I am not THAT interested in getting it to 
work, but I am
 a
 bit curious
 
 Cheers
 Ray Harrison
 
 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/
 


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: The New Java Pet Store

2000-10-17 Thread Luis M Bernardo


it's -Djsp.reuse.tags=false
maybe that's what you meant

On Mon, 16 Oct 2000, Ray Harrison wrote:

 I thought so too, but -Djsp.tags.reuse=false produces the same error.
 
 --- Mike Cannon-Brookes [EMAIL PROTECTED] wrote:
  I'm thinking it's probably the same bug as in the first pet store,
  concerning tag reuse?
  
  Search the archives, something like -Djsp.tags.reuse=false
  
  Mike
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
   Sent: Monday, October 16, 2000 5:51 AM
   To: Orion-Interest
   Subject: RE: The New Java Pet Store
  
  
   They've done a bit of re-architecting. They've broken out the EJB
   jars into:
   mailerEjb.jar
   shoppingcartEjb.jar
   petstoreEjb.jar
   customerEjb.jar
   inventoryEjb.jar
  
   as examples. They've added an admin piece to it as well. Anyway -
   I've started looking at the
   error below, but haven't gotten very far. If anyone has seen this
   sort of behaviour before - let
   me know and I will focus on that area.
  
   Cheers
   Ray Harrison
  
  
  
   --- Robert Nicholson [EMAIL PROTECTED] wrote:
What new about it?
   
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
 Sent: Sunday, October 15, 2000 8:20 AM
 To: Orion-Interest
 Subject: The New Java Pet Store


 Hi -
 Has anyone investigated the new java pet store (came out on
 October 11th, I believe)? I just did a
 straight deploy - here's the message I receive on "Enter the Store"...
 --
 ---
 java.lang.NullPointerException
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getT
 agValue(ScreenFlowXmlDAO.java:332)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getS
 creens(ScreenFlowXmlDAO.java:155)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.load
 ScreenDefinitions(ScreenFlowXmlDAO.java:97)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.ini
 t(ScreenFlowManager.java:52)
 at
 com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreen
 FlowManager(MainServlet.java:96)
 at
 com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(Main
 Servlet.java:37)
 at javax.servlet.GenericServlet.init(GenericServlet.java)
 at com.evermind.server.http.HttpApplication.wt(JAX)
 at com.evermind.server.http.HttpApplication.wb(JAX)
 at com.evermind.server.http.HttpApplication.um(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)

 --
 ---
 Orion Version 1.4.0
 Cloudscape data source
 AND
 MS Sql Server data source (the results are the same - the sources
 have worked before
 and continue to work on the previous pet store release (1.0.1)...


 Any clues as to where to start looking? I am not THAT interested
 in getting it to work, but I am a
 bit curious

 Cheers
 Ray Harrison

 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/

   
  
  
   __
   Do You Yahoo!?
   Yahoo! Messenger - Talk while you surf!  It's FREE.
   http://im.yahoo.com/
  
  
  
  
 
 
 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/
 
 





RE: The New Java Pet Store

2000-10-16 Thread Ray Harrison

I thought so too, but -Djsp.tags.reuse=false produces the same error.

--- Mike Cannon-Brookes [EMAIL PROTECTED] wrote:
 I'm thinking it's probably the same bug as in the first pet store,
 concerning tag reuse?
 
 Search the archives, something like -Djsp.tags.reuse=false
 
 Mike
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
  Sent: Monday, October 16, 2000 5:51 AM
  To: Orion-Interest
  Subject: RE: The New Java Pet Store
 
 
  They've done a bit of re-architecting. They've broken out the EJB
  jars into:
  mailerEjb.jar
  shoppingcartEjb.jar
  petstoreEjb.jar
  customerEjb.jar
  inventoryEjb.jar
 
  as examples. They've added an admin piece to it as well. Anyway -
  I've started looking at the
  error below, but haven't gotten very far. If anyone has seen this
  sort of behaviour before - let
  me know and I will focus on that area.
 
  Cheers
  Ray Harrison
 
 
 
  --- Robert Nicholson [EMAIL PROTECTED] wrote:
   What new about it?
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
Sent: Sunday, October 15, 2000 8:20 AM
To: Orion-Interest
Subject: The New Java Pet Store
   
   
Hi -
Has anyone investigated the new java pet store (came out on
October 11th, I believe)? I just did a
straight deploy - here's the message I receive on "Enter the Store"...
--
---
java.lang.NullPointerException
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getT
agValue(ScreenFlowXmlDAO.java:332)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getS
creens(ScreenFlowXmlDAO.java:155)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.load
ScreenDefinitions(ScreenFlowXmlDAO.java:97)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.ini
t(ScreenFlowManager.java:52)
at
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreen
FlowManager(MainServlet.java:96)
at
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(Main
Servlet.java:37)
at javax.servlet.GenericServlet.init(GenericServlet.java)
at com.evermind.server.http.HttpApplication.wt(JAX)
at com.evermind.server.http.HttpApplication.wb(JAX)
at com.evermind.server.http.HttpApplication.um(JAX)
at com.evermind.server.http.ef.su(JAX)
at com.evermind.server.http.ef.dn(JAX)
at com.evermind.util.f.run(JAX)
   
--
---
Orion Version 1.4.0
Cloudscape data source
AND
MS Sql Server data source (the results are the same - the sources
have worked before
and continue to work on the previous pet store release (1.0.1)...
   
   
Any clues as to where to start looking? I am not THAT interested
in getting it to work, but I am a
bit curious
   
Cheers
Ray Harrison
   
__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/
   
  
 
 
  __
  Do You Yahoo!?
  Yahoo! Messenger - Talk while you surf!  It's FREE.
  http://im.yahoo.com/
 
 
 
 


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




The New Java Pet Store

2000-10-15 Thread Ray Harrison

Hi -
Has anyone investigated the new java pet store (came out on October 11th, I believe)? 
I just did a
straight deploy - here's the message I receive on "Enter the Store"...
-
java.lang.NullPointerException
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getTagValue(ScreenFlowXmlDAO.java:332)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getScreens(ScreenFlowXmlDAO.java:155)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadScreenDefinitions(ScreenFlowXmlDAO.java:97)
at
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.init(ScreenFlowManager.java:52)
at
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreenFlowManager(MainServlet.java:96)
at 
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:37)
at javax.servlet.GenericServlet.init(GenericServlet.java)
at com.evermind.server.http.HttpApplication.wt(JAX)
at com.evermind.server.http.HttpApplication.wb(JAX)
at com.evermind.server.http.HttpApplication.um(JAX)
at com.evermind.server.http.ef.su(JAX)
at com.evermind.server.http.ef.dn(JAX)
at com.evermind.util.f.run(JAX)

-
Orion Version 1.4.0
Cloudscape data source
AND
MS Sql Server data source (the results are the same - the sources have worked before
and continue to work on the previous pet store release (1.0.1)...


Any clues as to where to start looking? I am not THAT interested in getting it to 
work, but I am a
bit curious

Cheers
Ray Harrison

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: The New Java Pet Store

2000-10-15 Thread Robert Nicholson

What new about it?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
 Sent: Sunday, October 15, 2000 8:20 AM
 To: Orion-Interest
 Subject: The New Java Pet Store
 
 
 Hi -
 Has anyone investigated the new java pet store (came out on 
 October 11th, I believe)? I just did a
 straight deploy - here's the message I receive on "Enter the Store"...
 --
 ---
 java.lang.NullPointerException
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getT
 agValue(ScreenFlowXmlDAO.java:332)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getS
 creens(ScreenFlowXmlDAO.java:155)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.load
 ScreenDefinitions(ScreenFlowXmlDAO.java:97)
 at
 com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.ini
 t(ScreenFlowManager.java:52)
 at
 com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreen
 FlowManager(MainServlet.java:96)
 at 
 com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(Main
 Servlet.java:37)
 at javax.servlet.GenericServlet.init(GenericServlet.java)
 at com.evermind.server.http.HttpApplication.wt(JAX)
 at com.evermind.server.http.HttpApplication.wb(JAX)
 at com.evermind.server.http.HttpApplication.um(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)
 
 --
 ---
 Orion Version 1.4.0
 Cloudscape data source
 AND
 MS Sql Server data source (the results are the same - the sources 
 have worked before
 and continue to work on the previous pet store release (1.0.1)...
 
 
 Any clues as to where to start looking? I am not THAT interested 
 in getting it to work, but I am a
 bit curious
 
 Cheers
 Ray Harrison
 
 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/
 




RE: The New Java Pet Store

2000-10-15 Thread Ray Harrison

They've done a bit of re-architecting. They've broken out the EJB jars into:
mailerEjb.jar
shoppingcartEjb.jar
petstoreEjb.jar
customerEjb.jar
inventoryEjb.jar

as examples. They've added an admin piece to it as well. Anyway - I've started looking 
at the
error below, but haven't gotten very far. If anyone has seen this sort of behaviour 
before - let
me know and I will focus on that area.

Cheers
Ray Harrison



--- Robert Nicholson [EMAIL PROTECTED] wrote:
 What new about it?
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
  Sent: Sunday, October 15, 2000 8:20 AM
  To: Orion-Interest
  Subject: The New Java Pet Store
  
  
  Hi -
  Has anyone investigated the new java pet store (came out on 
  October 11th, I believe)? I just did a
  straight deploy - here's the message I receive on "Enter the Store"...
  --
  ---
  java.lang.NullPointerException
  at
  com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getT
  agValue(ScreenFlowXmlDAO.java:332)
  at
  com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getS
  creens(ScreenFlowXmlDAO.java:155)
  at
  com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.load
  ScreenDefinitions(ScreenFlowXmlDAO.java:97)
  at
  com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.ini
  t(ScreenFlowManager.java:52)
  at
  com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreen
  FlowManager(MainServlet.java:96)
  at 
  com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(Main
  Servlet.java:37)
  at javax.servlet.GenericServlet.init(GenericServlet.java)
  at com.evermind.server.http.HttpApplication.wt(JAX)
  at com.evermind.server.http.HttpApplication.wb(JAX)
  at com.evermind.server.http.HttpApplication.um(JAX)
  at com.evermind.server.http.ef.su(JAX)
  at com.evermind.server.http.ef.dn(JAX)
  at com.evermind.util.f.run(JAX)
  
  --
  ---
  Orion Version 1.4.0
  Cloudscape data source
  AND
  MS Sql Server data source (the results are the same - the sources 
  have worked before
  and continue to work on the previous pet store release (1.0.1)...
  
  
  Any clues as to where to start looking? I am not THAT interested 
  in getting it to work, but I am a
  bit curious
  
  Cheers
  Ray Harrison
  
  __
  Do You Yahoo!?
  Yahoo! Messenger - Talk while you surf!  It's FREE.
  http://im.yahoo.com/
  
 


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: The New Java Pet Store

2000-10-15 Thread Mike Cannon-Brookes

I'm thinking it's probably the same bug as in the first pet store,
concerning tag reuse?

Search the archives, something like -Djsp.tags.reuse=false

Mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
 Sent: Monday, October 16, 2000 5:51 AM
 To: Orion-Interest
 Subject: RE: The New Java Pet Store


 They've done a bit of re-architecting. They've broken out the EJB
 jars into:
 mailerEjb.jar
 shoppingcartEjb.jar
 petstoreEjb.jar
 customerEjb.jar
 inventoryEjb.jar

 as examples. They've added an admin piece to it as well. Anyway -
 I've started looking at the
 error below, but haven't gotten very far. If anyone has seen this
 sort of behaviour before - let
 me know and I will focus on that area.

 Cheers
 Ray Harrison



 --- Robert Nicholson [EMAIL PROTECTED] wrote:
  What new about it?
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
   Sent: Sunday, October 15, 2000 8:20 AM
   To: Orion-Interest
   Subject: The New Java Pet Store
  
  
   Hi -
   Has anyone investigated the new java pet store (came out on
   October 11th, I believe)? I just did a
   straight deploy - here's the message I receive on "Enter the Store"...
   --
   ---
   java.lang.NullPointerException
   at
   com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getT
   agValue(ScreenFlowXmlDAO.java:332)
   at
   com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getS
   creens(ScreenFlowXmlDAO.java:155)
   at
   com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.load
   ScreenDefinitions(ScreenFlowXmlDAO.java:97)
   at
   com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.ini
   t(ScreenFlowManager.java:52)
   at
   com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreen
   FlowManager(MainServlet.java:96)
   at
   com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(Main
   Servlet.java:37)
   at javax.servlet.GenericServlet.init(GenericServlet.java)
   at com.evermind.server.http.HttpApplication.wt(JAX)
   at com.evermind.server.http.HttpApplication.wb(JAX)
   at com.evermind.server.http.HttpApplication.um(JAX)
   at com.evermind.server.http.ef.su(JAX)
   at com.evermind.server.http.ef.dn(JAX)
   at com.evermind.util.f.run(JAX)
  
   --
   ---
   Orion Version 1.4.0
   Cloudscape data source
   AND
   MS Sql Server data source (the results are the same - the sources
   have worked before
   and continue to work on the previous pet store release (1.0.1)...
  
  
   Any clues as to where to start looking? I am not THAT interested
   in getting it to work, but I am a
   bit curious
  
   Cheers
   Ray Harrison
  
   __
   Do You Yahoo!?
   Yahoo! Messenger - Talk while you surf!  It's FREE.
   http://im.yahoo.com/
  
 


 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/