I figured out how to edit the jetty startup script to run as the "dspace" user. That didn't fix my issue.
On Friday, December 9, 2016 at 3:26:26 PM UTC-8, David Brian Holt wrote: > > BTW, I noticed that the java process is running under the user "jetty". > Is that right? If not, how do I fix that? > > Thanks, > > David > > On Friday, December 9, 2016 at 3:00:48 PM UTC-8, David Brian Holt wrote: >> >> I just installed Dspace 6 and I'm getting this error message when I >> launch a webapp. I emailed helix84 off-list (sorry about that!) and he >> responded that it is a database problem. >> >> He said that: >> >> "Both error messages indicate some unexpected problem with the database. >> >> > java.lang.NullPointerException >> > at >> org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:48) >> >> >> https://github.com/DSpace/DSpace/blob/dspace-6.0/dspace-api/src/main/java/org/dspace/core/AbstractHibernateDAO.java#L48 >> >> > java.lang.IllegalArgumentException: Required metadata field 'dc.title' >> doesn't exist! >> > at >> org.dspace.content.CommunityServiceImpl.findAllTop(CommunityServiceImpl.java:166) >> >> >> https://github.com/DSpace/DSpace/tree/dspace-6.0/dspace-api/src/main/java/org/dspace/content/CommunityServiceImpl.java#L166 >> " >> >> I ran both >> >> /dspace/bin/dspace database test >> >> /dspace/bin/dspace database info >> >> and it didn't display any errors. >> >> BTW, I couldn't get Dspace to work at all with Tomcat7 or Tomcat8. I >> eventually tried Jetty9 and that worked. >> >> Any ideas? >> > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
