[Vif-devel] Problem with database access
Brought to you by:
aktion-hip
From: Luthiger S. B. <ben...@id...> - 2006-06-19 13:15:12
|
Dear Harry Did you try the smoke test = (http://localhost:8080/forum?requestType=3Dsmoke)? If all is correct, you should see there three sections: Servlet = Container, Java and Database. However, I guess that the section "Database" is missing. I encountered = such problems and was able to solve them by copying the MySQL-JDBC = driver into the Tomcat's endorsed directory (see remarks on = http://vif.sourceforge.net/InstallAndRun.html). The path to the Tomcat's = endorsed directory is displayed on the smoke test page too. Concerning the other error you got:=20 You may be correct and the servlet.jar provided by the war file is = outdated. In my development environment I use the jars coming with Tomcat. Maybe = it's a good idea to drop the servlet.jar from the application as the = come in correct version with the servlet container anyway. PS: I send a copy of this mail to the project's mailing list to document = the issue and how to solve it. Regards, Benno -----Original Message----- From: Harry Glasgow [mailto:har...@gm...] Sent: Montag, 19. Juni 2006 14:21 To: Luthiger Stoll Benno Subject: Re: Java developers with XSLT knowledge. Hi Benno, I have had a look around the project's home page and have begun reading = some of the documentation. The concept is very interesting and it would = be great to help progress the application. I have run the war in Tomcat and, using the installation instructions, I = was able to get as far as the createSU request type, but then got an = error. The error log says: at org.hip.kernel.bom.impl.DomainObjectHomeImpl.getDBAdapter = DomainObjectHomeImpl.java:421)[...] Caused by: java.lang.NullPointerException at = org.hip.kernel.bom.impl.DBAdapterSelector.isDBType(DBAdapterSelector.java= :89) at = org.hip.kernel.bom.impl.DBAdapterSelector.initialize(DBAdapterSelector.ja= va:77) at = org.hip.kernel.bom.impl.DBAdapterSelector.<init>(DBAdapterSelector.java:6= 3) at = org.hip.kernel.bom.impl.DBAdapterSelector.<clinit>(DBAdapterSelector.java= :48) ... 42 more =20 I will try to work out what is in error soon. Also I have done an anonymous download of the source and get a compile = error in AbstractRequestHandler at line 151 because getRequestURL() is = unknown for HttpServletRequest. I am using the jars from the war file. = Is the servlet.jar the correct version? When I am able to run the site successfully, it will be easier to = investigate the tasks and perhaps be able to resolve some. I am more = interested with the client / web side of applications but I am adaptable = if required. Regards, Harry Glasgow |