Problem to upload xml form to ODK Aggregate sever

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)
javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:108)
javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:108)
org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:81)
org.opendatakit.aggregate.servlet.FormUploadServlet.doPost(FormUploadServlet.java:342)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.opendatakit.common.security.spring.SecurityContextHolderAwareAuthPreservingRequestFilter.doFilter(SecurityContextHolderAwareAuthPreservingRequestFilter.java:66)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.opendatakit.common.security.spring.OpenIDAuthenticationFilter.doFilter(OpenIDAuthenticationFilter.java:42)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.opendatakit.common.security.spring.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:42)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.opendatakit.common.security.spring.OutOfBandUserFilter.doFilter(OutOfBandUserFilter.java:105)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.opendatakit.common.security.spring.Oauth2ResourceFilter.doFilter(Oauth2ResourceFilter.java:351)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.

Apache Tomcat/6.0.20

This does not contain enough information to identify the issue.

As the report states, go to the Tomcat error logs to determine what the
error was.

If you have a very large form, you may have an out-of-memory error.

The Tomcat error logs are under, e.g.,

C:\Program Files\Apache Software Foundation\Tomcat 6.0\logs

The tomcat6-stdout... file generally has the detailed error information.

··· On Thu, Aug 1, 2013 at 5:15 AM, wrote:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

java.lang.IllegalStateException

org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)

javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:108)

javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:108)

org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:81)

org.opendatakit.aggregate.servlet.FormUploadServlet.doPost(FormUploadServlet.java:342)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.opendatakit.common.security.spring.SecurityContextHolderAwareAuthPreservingRequestFilter.doFilter(SecurityContextHolderAwareAuthPreservingRequestFilter.java:66)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.opendatakit.common.security.spring.OpenIDAuthenticationFilter.doFilter(OpenIDAuthenticationFilter.java:42)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.opendatakit.common.security.spring.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:42)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.opendatakit.common.security.spring.OutOfBandUserFilter.doFilter(OutOfBandUserFilter.java:105)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.opendatakit.common.security.spring.Oauth2ResourceFilter.doFilter(Oauth2ResourceFilter.java:351)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.

Apache Tomcat/6.0.20

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Caused by: org.opendatakit.common.persistence.exception.ODKEntityNotFoundException: Could not retrieve form uri: md5:c1297458599c7f09fbd7a45fc9c18e84
at org.opendatakit.aggregate.form.FormFactory.getForm(FormFactory.java:175)
at org.opendatakit.aggregate.form.FormFactory.retrieveFormByFormId(FormFactory.java:238)
... 54 more

Caused by:
org.opendatakit.common.persistence.exception.ODKEntityNotFoundException:
Could not retrieve form uri: md5:c1297458599c7f09fbd7a45fc9c18e84
at
org.opendatakit.aggregate.form.FormFactory.getForm(FormFactory.java:175)
at
org.opendatakit.aggregate.form.FormFactory.retrieveFormByFormId(FormFactory.java:238)
... 54 more

··· On Fri, Aug 2, 2013 at 1:36 PM, wrote:

Many Thanks Mitch,
I did all those instructions you sent to me,but the the same error is coming.
I do Form Management
Upload Form then its asks to upload xml file
and the error HTTP 500....... is coming may be there is another issue or may be our xml form is not well done.
Thanks

I am assuming you are trying to upload a form definition, and not a
filled-in form...

If you log onto your ODK Aggregate, do you see any forms in the list of
forms (on the FormsManagement screen)?

Is the form shown the one you were trying to upload??

If so, try deleting that form and re-uploading it.

If you were trying to upload a filled-in form, you must first upload the
form definition to ODK Aggregate before you upload any filled-in forms.
Again, to do that, log onto ODK Aggregate, go to the Forms Management tab,
and click 'Add Form'.

Mitch

··· On Fri, Aug 2, 2013 at 5:01 AM, Kayisinga jean de Dieu <kayidieu51@gmail.com wrote:

On Fri, Aug 2, 2013 at 1:36 PM, kayidieu51@gmail.com wrote:

Caused by:
org.opendatakit.common.persistence.exception.ODKEntityNotFoundException:
Could not retrieve form uri: md5:c1297458599c7f09fbd7a45fc9c18e84
at
org.opendatakit.aggregate.form.FormFactory.getForm(FormFactory.java:175)
at
org.opendatakit.aggregate.form.FormFactory.retrieveFormByFormId(FormFactory.java:238)
... 54 more

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I am assuming you are trying to upload a form definition, and not a filled-in form...

If you log onto your ODK Aggregate, do you see any forms in the list of forms (on the FormsManagement screen)?

Is the form shown the one you were trying to upload??

If so, try deleting that form and re-uploading it.

If you were trying to upload a filled-in form, you must first upload the form definition to ODK Aggregate before you upload any filled-in forms. Again, to do that, log onto ODK Aggregate, go to the Forms Management tab, and click 'Add Form'.

Mitch

Caused by: org.opendatakit.common.persistence.exception.ODKEntityNotFoundException: Could not retrieve form uri: md5:c1297458599c7f09fbd7a45fc9c18e84

    at org.opendatakit.aggregate.form.FormFactory.getForm(FormFactory.java:175)

    at org.opendatakit.aggregate.form.FormFactory.retrieveFormByFormId(FormFactory.java:238)

    ... 54 more

--

--

Post: opend...@googlegroups.com

Unsubscribe: opendatakit...@googlegroups.com

Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups "ODK Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

··· On Friday, August 2, 2013 6:28:28 PM UTC+2, Mitch Sundt wrote: > On Fri, Aug 2, 2013 at 5:01 AM, Kayisinga jean de Dieu wrote: > On Fri, Aug 2, 2013 at 1:36 PM, wrote:

Download ODK Validate (
http://code.google.com/p/opendatakit/downloads/detail?name=ODK%20Validate%201.3%20for%20ODK%20Collect%20v1.3%20and%20v1.2.jar)

and see if there are errors in the form definition.

··· On Mon, Aug 5, 2013 at 6:21 AM, wrote:

Many Thanks Mitch,
I did all those instructions you sent to me,but the the same error is
coming.
I do Form Management
Upload Form then its asks to upload xml file
and the error HTTP 500....... is coming may be there is another issue or
may be our xml form is not well done.
Thanks

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com