I just setup Athena but I keep getting 404 errors. I'm sure it is something easy that I've missed. Here is the output of
HTTP ERROR: 404
Problem accessing /tix/meta/fields. Reason:
Not Found
_________________________________________________________________________________________________________
Powered by Jetty://
The logs are pasted in below, any ideas?
Thanks,
Dominic
# cat ATHENA.log
17:11:26.869 INFO [main] JpaApaAdapter Indexing is disabled. Re-enable indexing by setting athena.index.disabled=false in db.properties
# cat ATHENA-stdout.log
2011-11-08 17:11:06.627:INFO::jetty-7.x.y-SNAPSHOT
2011-11-08 17:11:06.810:INFO::Extract jar:file:/opt/athena/components/athena/war/athena.war!/ to /tmp/jetty-0.0.0.0-8080-athena.war-_athena-any-/webapp
2011-11-08 17:11:15.221:INFO::NO JSP Support for /athena, did not find org.apache.jasper.servlet.JspServlet
2011-11-08 17:11:17.248:INFO:/athena:Initializing Spring root WebApplicationContext
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
INFO: Using default applicationContext
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, athenaLockResource, of type org.fracturedatlas.athena.helper.lock.web.AthenaLockResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, reportResource, of type org.fracturedatlas.athena.reports.web.ReportResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, codeResource, of type org.fracturedatlas.athena.helper.codes.web.CodeResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, healthCheckResource, of type org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, recordResource, of type org.fracturedatlas.athena.web.resource.RecordResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, fieldResource, of type org.fracturedatlas.athena.web.resource.FieldResource as a root resource class
Nov 8, 2011 5:11:29 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:44 PM'
Nov 8, 2011 5:11:30 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.fracturedatlas.athena
Nov 8, 2011 5:11:30 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.fracturedatlas.athena.helper.codes.web.CodeResource
class org.fracturedatlas.athena.helper.lock.web.AthenaLockResource
class org.fracturedatlas.athena.reports.web.ReportResource
class org.fracturedatlas.athena.web.resource.RecordResource
class org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource
class org.fracturedatlas.athena.web.resource.FieldResource
Nov 8, 2011 5:11:30 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Provider classes found:
class org.fracturedatlas.athena.web.serialization.JsonTicketCollectionSerializer
class org.fracturedatlas.athena.web.exception.JsonMappingExceptionMapper
class org.fracturedatlas.athena.web.exception.AthenaConflictExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonPropFieldArraySerializer
class org.fracturedatlas.athena.reports.serialization.AthenaReportSerializer
class org.fracturedatlas.athena.web.exception.AthenaException
class org.fracturedatlas.athena.web.exception.InvalidFieldNameException
class org.fracturedatlas.athena.web.exception.NumberFormatExceptionMapper
class org.fracturedatlas.athena.web.exception.AthenaExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonPropFieldSerializer
class org.fracturedatlas.athena.plugin.tags.serialization.AthenaTagSerializer
class org.fracturedatlas.athena.helper.codes.serialization.AthenaCodeSerializer
class org.fracturedatlas.athena.helper.lock.exception.TicketsLockedExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonTicketSerializer
class org.fracturedatlas.athena.web.serialization.JsonPropValueSerializer
class org.fracturedatlas.athena.web.serialization.JsonPropValueArraySerializer
class org.fracturedatlas.athena.web.exception.ObjectNotFoundExceptionMapper
class org.fracturedatlas.athena.helper.lock.exception.TicketsLockedException
class org.fracturedatlas.athena.web.exception.InvalidFieldNameExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonPropsSerializer
class org.fracturedatlas.athena.web.exception.ApaExceptionMapper
class org.fracturedatlas.athena.helper.lock.serialization.AthenaLockSerializer
class org.fracturedatlas.athena.web.exception.ObjectNotFoundException
Nov 8, 2011 5:11:30 PM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder <init>
INFO: Instantiated the Application class org.fracturedatlas.athena.web.config.AthenaWebConfig
Nov 8, 2011 5:11:33 PM com.sun.jersey.spi.inject.Errors processErrorMessages
WARNING: The following warnings have been detected with resource and/or provider classes:
WARNING: A sub-resource method, public java.lang.Object org.fracturedatlas.athena.helper.lock.web.AthenaLockResource.create(javax.servlet.http.HttpServletRequest,org.fracturedatlas.athena.helper.lock.model.AthenaLock) throws java.lang.Exception, with URI template, "", is treated as a resource method
WARNING: A sub-resource method, public org.fracturedatlas.athena.helper.codes.model.Code org.fracturedatlas.athena.helper.codes.web.CodeResource.create(org.fracturedatlas.athena.helper.codes.model.Code) throws java.lang.Exception, with URI template, "", is treated as a resource method
WARNING: A sub-resource method, public java.util.Collection org.fracturedatlas.athena.helper.codes.web.CodeResource.search(javax.ws.rs.core.UriInfo), with URI template, "", is treated as a resource method
WARNING: A sub-resource method, public java.lang.Object org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource.healthCheck() throws java.lang.Exception, with URI template, "", is treated as a resource method
2011-11-08 17:11:33.735:INFO::WebApp@567353809 at
http://0.0.0.0:8080/athena2011-11-08 17:11:33.746:INFO::Extract jar:file:/opt/athena/components/payments/war/payments.war!/ to /tmp/jetty-0.0.0.0-8080-payments.war-_payments-any-/webapp
2011-11-08 17:11:40.879:INFO::NO JSP Support for /payments, did not find org.apache.jasper.servlet.JspServlet
2011-11-08 17:11:41.365:INFO:/payments:Initializing Spring root WebApplicationContext
Nov 8, 2011 5:11:44 PM com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
INFO: Using default applicationContext
Nov 8, 2011 5:11:44 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, transactionsResource, of type org.fracturedatlas.athena.payments.web.resource.TransactionsResource as a root resource class
Nov 8, 2011 5:11:44 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, customersResource, of type org.fracturedatlas.athena.payments.web.resource.CustomersResource as a root resource class
Nov 8, 2011 5:11:44 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, cardsResource, of type org.fracturedatlas.athena.payments.web.resource.CardsResource as a root resource class
Nov 8, 2011 5:11:44 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFO: Registering Spring bean, healthCheckResource, of type org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource as a root resource class
Nov 8, 2011 5:11:44 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:44 PM'
Nov 8, 2011 5:11:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.fracturedatlas.athena
Nov 8, 2011 5:11:45 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.fracturedatlas.athena.web.resource.FieldResource
class org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource
class org.fracturedatlas.athena.payments.web.resource.CardsResource
class org.fracturedatlas.athena.web.resource.RecordResource
class org.fracturedatlas.athena.payments.web.resource.CustomersResource
class org.fracturedatlas.athena.payments.web.resource.TransactionsResource
Nov 8, 2011 5:11:45 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Provider classes found:
class org.fracturedatlas.athena.web.exception.AthenaException
class org.fracturedatlas.athena.web.exception.JsonMappingExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonTicketCollectionSerializer
class org.fracturedatlas.athena.web.serialization.JsonPropsSerializer
class org.fracturedatlas.athena.web.exception.ObjectNotFoundException
class org.fracturedatlas.athena.web.exception.ApaExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonPropFieldArraySerializer
class org.fracturedatlas.athena.web.exception.NumberFormatExceptionMapper
class org.fracturedatlas.athena.web.serialization.JsonPropValueArraySerializer
class org.fracturedatlas.athena.web.exception.AthenaExceptionMapper
class org.fracturedatlas.athena.web.exception.InvalidFieldNameExceptionMapper
class org.fracturedatlas.athena.web.exception.ObjectNotFoundExceptionMapper
class org.fracturedatlas.athena.web.exception.AthenaConflictExceptionMapper
class org.fracturedatlas.athena.web.exception.InvalidFieldNameException
class org.fracturedatlas.athena.web.serialization.JsonPropFieldSerializer
class org.fracturedatlas.athena.web.serialization.JsonTicketSerializer
class org.fracturedatlas.athena.web.serialization.JsonPropValueSerializer
Nov 8, 2011 5:11:45 PM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder <init>
INFO: Instantiated the Application class org.fracturedatlas.athena.web.config.AthenaWebConfig
Nov 8, 2011 5:11:47 PM com.sun.jersey.spi.inject.Errors processErrorMessages
WARNING: The following warnings have been detected with resource and/or provider classes:
WARNING: A sub-resource method, public java.lang.Object org.fracturedatlas.athena.payments.web.resource.CustomersResource.save(java.lang.String), with URI template, "", is treated as a resource method
WARNING: A sub-resource method, public java.lang.Object org.fracturedatlas.athena.payments.web.resource.CardsResource.save(java.lang.String), with URI template, "", is treated as a resource method
WARNING: A sub-resource method, public java.lang.Object org.fracturedatlas.athena.helper.healthcheck.web.HealthCheckResource.healthCheck() throws java.lang.Exception, with URI template, "", is treated as a resource method
2011-11-08 17:11:47.616:INFO::WebApp@567353809 at
http://0.0.0.0:8080/payments2011-11-08 17:11:47.661:INFO::Started
SelectChann...@0.0.0.0:8080
@
@
@ Athena started on port 8080. Have fun.
@
@