Hi all,

I'm very newbie to Orion and J2EE.
I want to install Petstore 1.3 on Orion 1.5.4 (Win2k).

I followed instruction as in this milist archive :
http://www.mail-archive.com/orion-interest@orionserver.com/msg14262.html

cd petstore1.3\src\components
build
cd ..
build

I copied these following files to orion\application
  petstore1.3\src\apps\admin\build\petstoreadmin.ear
  petstore1.3\src\apps\opc\build\opc.ear
  petstore1.3\src\apps\petstore\build\petstore.ear
  petstore1.3\src\apps\supplier\build\supplier.ear

Other setting in xml file same as above Url.

When I try to populate the database, i got this following error :

---<cut>---
javax.ejb.DuplicateKeyException: Entity already exists
at 
com.sun.j2ee.blueprints.petstore.tools.populate.XMLDBHandler.endElement(XMLDBHandler.java:115)
 

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1489)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
....
---<cut>-----

FYI, i do not start cloudscape ( do i need it?)
Also what is the meaning of the "database" since i do not setup any 
database tables.
TIA.


Reply via email to