ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhu <ranga.b...@oracle.com>
Subject Re: JPetstore not working for me...
Date Thu, 21 Jun 2007 13:46:54 GMT
Hi Clinton,

Thanks for your reply.
I downloaded JPetstore application from following location.
http://sourceforge.net/project/showfiles.php?group_id=60632&package_id=112534
I tried with Tomcat and OC4J using Oracle Database, But it didn't worked 
for me.
I did following this before  building and deploying application
1) Created Data Source  in Oracle data-souces.xml file/server.xml in Tomcat
2) Executed sql file Created data base table and insert statement.
3) Modified database.properties  file with DB details.
 But Still I am seeing the same error.
I didn't find any readme file  in Zip..

Pls help me if you have any working steps  with you.


thanks,
Madhu

Clinton Begin wrote:

> Look in the logs for the real exception.  This one is a secondary 
> exception.  Probably just DB config or initialization.
>
> Clinton
>
> On 6/20/07, *Madhu* <ranga.babu@oracle.com 
> <mailto:ranga.babu@oracle.com>> wrote:
>
>     Hi All,
>
>     I am getting following exception with JPetstore, when I enter into
>     Store. I am using Oracle Database+ OC4J and JDK1.6
>     Pls sugget me what could be the reason for error..
>
>     javax.servlet.jsp.JspException: Exception creating bean of class
>     com.ibatis.jpetstore.presentation.CatalogBean: {1}
>             at
>     org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563)
>             at
>     org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
>             at _catalog._Main.__jsp_tag_ctru5_helper_12(_Main.java:530)
>             at _catalog._Main._jspService(_Main.java:89)
>             at com.orionserver[Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].http.OrionHttpJspPage.service( OrionHttpJspPage.java:60)
>             at
>     oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:748)
>             at
>     oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:439)
>             at
>     oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:690)
>             at
>     oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:611)
>             at
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>             at com.evermind[Oracle Containers for J2EE 10g ( 11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
>             at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher.forwardInternal(
>     ServletRequestDispatcher.java:368)
>             at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:257)
>             at com.evermind [Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
>             at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher$2.oc4jRun(
>     ServletRequestDispatcher.java:191)
>             at
>     oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:386)
>             at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0)
>     ].server.http.ServletRequestDispatcher.forward(
>     ServletRequestDispatcher.java:196)
>


Mime
View raw message