@alfranke, @cahilton:
I’ve managed to pull and rebase my updates to incorporate the version of WebAPI/cohortdefinition that’s pushed to github. Since the pull, however, things are not working in netbeans the way they used to, and maybe you could shed light on it.
At the core of my current problem, it is unable to find the JDBC driver that was placed in the tomcat folder which was installed on my system at:
C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.15\lib
Netbeans used to interop with this service and all was working well, but now i’m seeing information in the logs that lead me to believe that things are different now:
2015-01-30 15:16:47.319 INFO main org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer - - Tomcat initialized with port(s): 8080 (http)
2015-01-30 15:16:47.569 INFO main org.apache.catalina.core.StandardService - - Starting service Tomcat
2015-01-30 15:16:47.570 INFO main org.apache.catalina.core.StandardEngine - - Starting Servlet Engine: Apache Tomcat/8.0.15
First thing that I noticed that is different is that Tomcat used to be served on port 8084. Now it appears that there’s an embedded instance that is trying to be hosted, but I don’t know where this embedded tomcat is installed from, nor how I can put the required external libraries into the path that should be available for any tomcat hosted app.
Can you explain the changes that were made in the most recent commits that makes it look like WebAPI is an application that embeds tomcat (and not the other way around where webAPI is a war that can be deployed into a web container)?
Also, if you could direct me to where the classpath that this embedded server uses so that I can put the jdbc drivers in a place that it will be found. Also, remeber, we’re not bundling jdbc drivers with webAPI, so it cant’ be placed into the POM dependencies.
-Chris