> I would like to use DBForms in my upcoming project, in conjunction with > Struts 1.02. I have just installed and run the DBForms Developer GUI > today, and almost have everything working in my application server > container but one item. My web application container is unable to > instantiate the org.dbforms.Controller class. I am using JRUN 3.1 Server, > which is a Servlet 2.2 and JSP 1.2 Sun certified compliant web application > container. I do know that I am unable to run Struts 1.1b2 in JRUN 3.1, as > there is a servlet preloading issue with JRUN 3.1, but that does NOT > affect Struts 1.02, nor do I have any problems preloading the > org.dbforms.ConfigServlet or the org.dbforms.FileServlet. I do get two > interesting log entries in my JRUN server logs, one being a warning "484 > [main] WARN org.dbforms.ConfigServlet - Locale Key not setted, use > "org.dbforms.LOCALE" as key to access the Locale in session scope", and > the other being "10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - > servlet getPathInfo = null and 10156 [jcp-0] INFO > org.dbforms.taglib.DbFormTag - servlet getPathTranslated = null". I've > included the excerpt from my application server log below, and the Browser > Error message I receive. > > Does anyone have any clues as to why I am unable to instantiate the > org.dbforms.Controller class, and how I would go about fixing it? > > This is a great product by the way. If I can get past this hurdle, I > intend to use this for my next upcoming project. > > Thanks in advance for any assistance!!!! > > Sincerely, > > Celeste Haseltine, PE > MTL, Inc > Dallas, TX > > ------------------------------------------------------ > > Web browser Error: > > 500 Internal Server Error > <PRE> <B>/DBFormsTest/servlet/control:</B> Could not instantiate > org.dbforms.Contoller java.lang.ClassNotFoundException: > org.dbforms.Contoller [org.dbforms.Contoller] at > allaire.jrun.servlet.JRunServletLoader.loadClass(JRunServletLoader.java:43 > 0) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at > allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoad > er.java:194) at > allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoad > er.java:161) at > allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java: > 149) at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1710) > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:1232) at > allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.j > ava:89) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1557) at > allaire.jrun.servlet.JRunSE.service(JRunSE.java:1547) at > allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:364) at > allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:389) at > allaire.jrun.ThreadPool.run(ThreadPool.java:272) at > allaire.jrun.WorkerThread.run(WorkerThread.java:75) </PRE> > ---------------------------------------------------------- > > SERVER LOG EXCERPT: > > > ......Call org.dbforms.DbFormsConfig.setDbConnection(DbConnection = > name=jdbc:AvenirDriver:// > :1433/mvcNYTC,jndi=false,conClass=net.avenir.jdbc2.Driver,username=sa) > 422 [main] INFO org.dbforms.DbFormsConfig - ***** DBCONNECTION = > DbConnection = name=jdbc:AvenirDriver:// > :1433/mvcNYTC,jndi=false,conClass=net.avenir.jdbc2.Driver,username=sa***** > * > Pop org.dbforms.util.DbConnection > 422 [main] INFO org.dbforms.ConfigServlet - initialize XML Errors. > 422 [main] WARN org.dbforms.ConfigServlet - XML Errors file not found, > XML error handler disabled! > 469 [main] INFO org.dbforms.ConfigServlet - initialize XML Validator. > 469 [main] WARN org.dbforms.ConfigServlet - XML Validation file not > found, XML Validator handler disabled! > 469 [main] INFO org.dbforms.ConfigServlet - initialize Application > Resources. > 469 [main] WARN org.dbforms.ConfigServlet - Application Resources file > not setted in Web.xml, ApplicationResources handler disabled! > 469 [main] INFO org.dbforms.ConfigServlet - initialize Locale Key for > session attribute. > 484 [main] WARN org.dbforms.ConfigServlet - Locale Key not setted, use > "org.dbforms.LOCALE" as key to access the Locale in session scope. > 9969 [jcp-0] DEBUG org.dbforms.util.DbConnection - returning a > connection:DbConnection = name=jdbc:AvenirDriver:// > :1433/mvcNYTC,jndi=false,conClass=net.avenir.jdbc2.Driver,username=sa > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - Created new connection > - net.avenir.jdbc2.r@6c585a > 10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - servlet path = > /menu.jsp > 10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - servlet getPathInfo = > null > 10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - servlet > getPathTranslated = null > 10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - servlet getContextPath > = /DBFormsTest > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - pos1 > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - pos2 > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - pos4 > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - pos7 > 10156 [jcp-0] INFO org.dbforms.taglib.DbFormTag - resetting values of tag > 10156 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - first steps finished > 10203 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - > pageContext.getOut()=allaire.jrun.jsp.JRunJspWriter@453807 > 10203 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - childElementOutput= > 10203 [jcp-0] INFO org.dbforms.taglib.DbFormTag - end reached of null > 10203 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - About to close > connection - net.avenir.jdbc2.r@6c585a > 10203 [jcp-0] DEBUG org.dbforms.taglib.DbFormTag - Connection closed > -------------------------------------------------------------------------- > ----
------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
