After following these instructions step by step I was able to deploy petstore
successfully, but when I access the application in web browser, I get the following
error:

All Rights Reserved.
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
[DefaultDS] Started
[Service Control] Started 27 services
[Default] JBoss 2.2.2 Started in 0m:16s
2001-07-15 01:05:54 - Ctx( /estore ): Exception in: R( /estore + /control + /lan
guage) - com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcep
tion: CatalogDAOFactory.getDAO:  NamingException while getting DAO type :
catalog not bound
        at com.sun.j2ee.blueprints.petstore.control.web.CatalogWebImpl.<init>(Ca
talogWebImpl.java:36)
        at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogM
odel(ModelManager.java:84)
        at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelM
anager.java:61)
        at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainSe
rvlet.java:83)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
05)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:797)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:213)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
        at java.lang.Thread.run(Unknown Source)

Any ideas ??

JM

===============================

Cuong Tran wrote:

>  Ok, I finally got around to do it.  The attached zip file contains all
> files that I changed/added to make petstore work.  Since I wanted to use
> Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly
> modified version (CatalogDAOHypersonic and OrderDAOHypersonic).
>
> The instructions are similar to the 1.1.1 version so you can refer to jboss
> documention for more info.
>
> --- Jonah Peskin <[EMAIL PROTECTED]> wrote:
> > Hell yeah!  I've been trying to do this (with Cloudscape) all week.  Please
> > fill us in on the details! (any and all config files would be great too!)
> >
> > Thanks!
> >
> > Jonah
> >
> > >  I have managed to successfully deploy petstore 1.1.2
> > >on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database.
> > >If anyone is interested, I'm willing to share what I've done.
> >
> >
>
> =====
> Cuong Q. Tran <[EMAIL PROTECTED]>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
>   ------------------------------------------------------------------------
>                              Name: jps1.1.2-change.zip
>    jps1.1.2-change.zip       Type: Zip Compressed Data (application/x-zip-compressed)
>                          Encoding: base64
>                       Description: jps1.1.2-change.zip


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to