...
[16:31:45 CDT(-0500)] <TonyUnicon> but thats awesome
[16:31:53 CDT(-0500)]
Wiki Markup |
---|
<JasonElwood> {"success":false, "uri":/ssp/api/1/mygps/intake/, "http status code":"500", "exception":"java.lang.RuntimeException: java.lang.IllegalStateException: Neither HttpServletResponse.getWriter nor HttpServletResponse.getOutputStream has not been called"} |
[16:32:20 CDT(-0500)] <TonyUnicon> yeah that is different
...
[16:49:06 CDT(-0500)] <js701> yeah i know. I am checking in the compile error. my apologies
[16:50:07 CDT(-0500)]
Wiki Markup |
---|
<dmccallum541> TonyUnicon is /ssp/api/1/mygps/task/print supposed to output the same thing as /ssp/api/1/person/{personId}/task/print, but with some extra magic around looking up a task list for an anonymous user? |
[16:50:20 CDT(-0500)] <JasonElwood> if it happens again, you have to swap reports and MyGPS with Tony
...
[17:57:39 CDT(-0500)] <JasonElwood> that would be sweet
[18:15:58 CDT(-0500)] <JasonElwood> sanity check- after the clean deploy ssp-platform won't start. checked the logs and the app is trying to connect to Postgres. the project isn't configured for postgres
[18:16:34 CDT(-0500)] <JasonElwood> local.properties and pom.xml both have jtds connections
[18:20:15 CDT(-0500)] <dmccallum541> which app? uportal?
[18:20:20 CDT(-0500)] <JasonElwood> yeah
[18:20:40 CDT(-0500)] <dmccallum541> um....
[18:20:44 CDT(-0500)] <dmccallum541> what's in your pom
[18:21:09 CDT(-0500)] <dmccallum541> i know you said it's configured with jtds
[18:21:14 CDT(-0500)] <JasonElwood> main POM is <!-- The JDBC Driver used by SSP -->
[18:21:15 CDT(-0500)] <JasonElwood> <jdbc.groupId>net.sourceforge.jtds</jdbc.groupId>
[18:21:15 CDT(-0500)] <JasonElwood> <jdbc.artifactId>jtds</jdbc.artifactId>
[18:21:15 CDT(-0500)] <JasonElwood> <jdbc.version>1.2.4</jdbc.version>
[18:22:08 CDT(-0500)] <dmccallum541> and no chance that's being overwritten further on down in the pom?
[18:22:53 CDT(-0500)] <dmccallum541> what was the build command?
[18:23:09 CDT(-0500)] <JasonElwood> I've been using this POM for months
[18:23:13 CDT(-0500)] <JasonElwood> ant deploy-ear
[18:23:14 CDT(-0500)] <dmccallum541> ok
[18:23:22 CDT(-0500)] <JasonElwood> wait. ant clean deploy-ear
[18:23:26 CDT(-0500)] <dmccallum541> right right
[18:23:38 CDT(-0500)] <dmccallum541> and what does local.properties look like, pls?
[18:23:56 CDT(-0500)] <JasonElwood> ## Database Connection Settings (Uncomment the Maven Filters section in rdbm.properties)
[18:23:56 CDT(-0500)] <JasonElwood> environment.build.hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver
[18:23:57 CDT(-0500)] <JasonElwood> environment.build.hibernate.connection.url=jdbc:jtds:sqlserver://127.0.0.1:1433/ssp12
[18:23:57 CDT(-0500)] <JasonElwood> environment.build.hibernate.connection.username=sspadmin
[18:23:57 CDT(-0500)] <JasonElwood> environment.build.hibernate.connection.password=sspadmin
[18:23:57 CDT(-0500)] <JasonElwood> environment.build.hibernate.dialect=org.hibernate.dialect.SQLServer2005Dialect
[18:23:57 CDT(-0500)] <JasonElwood>
[18:23:57 CDT(-0500)] <JasonElwood> # uPortal server configuration properties
[18:23:58 CDT(-0500)] <JasonElwood> environment.build.uportal.server=localhost:8080
[18:23:59 CDT(-0500)] <JasonElwood> environment.build.uportal.protocol=http
[18:23:59 CDT(-0500)] <JasonElwood> environment.build.uportal.context=/ssp-platform
[18:24:00 CDT(-0500)] <JasonElwood> environment.build.uportal.email.fromAddress=ssp@university.edu
[18:24:01 CDT(-0500)] <JasonElwood> # CAS server configuration properties
[18:24:01 CDT(-0500)] <JasonElwood> environment.build.cas.server=localhost:8080
[18:24:14 CDT(-0500)] <JasonElwood> hey world. here's my password and server
[18:24:31 CDT(-0500)] <dmccallum541> nice
[18:24:40 CDT(-0500)] <JasonElwood> I'll remove it from the logs
[18:25:01 CDT(-0500)] Wiki Markup <dmccallum541> what's {tomcat}/webapps/ssp-platform/WEB-INF/classes/properties/rdbm.properties look like
[18:26:38 CDT(-0500)] <JasonElwood> one sec
[18:26:54 CDT(-0500)] Wiki Markup <dmccallum541> and the next question will be... what does {platform-src}/build.properties look like... i.e. are you actually deploying to the tomcat you're starting up
[18:35:36 CDT(-0500)] <JasonElwood> sorry
[18:35:48 CDT(-0500)] <JasonElwood> rdbm is pointing to sql server also
[18:36:01 CDT(-0500)] <JasonElwood> server.home=D:\\apps
tomcat6
[18:36:01 CDT(-0500)] Wiki Markup <JasonElwood> server.base=${server.home}
[18:36:01 CDT(-0500)] Wiki Markup <JasonElwood> server.webapps=${server.base}/webapps
[18:36:01 CDT(-0500)] <JasonElwood> extractWars=true
[18:36:01 CDT(-0500)] <JasonElwood> removeExisting=true
[18:36:02 CDT(-0500)] <JasonElwood> cleanShared=false
[18:36:02 CDT(-0500)] <JasonElwood> prodPrompt=false
[18:36:42 CDT(-0500)] <JasonElwood> don't worry about it. you have better things and home to get to. I'm sure it's something stupid. it just didn't make sense because none of the files changed.
[18:37:08 CDT(-0500)] <dmccallum541> if you want to gist the full stack trace i can take a look
[18:41:29 CDT(-0500)] <JasonElwood> I'll try to clean things and deploy again.