Hi,

I was wondering if I could get some help getting a Spacewalk development
environment setup.  Particularly, running the Java code out of a git checkout
so I can test patches, etc.

I've walked throught this document:
https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup#WebApplication

The initial install (rhel 6 with tomcat 6 and oracle xe) seemed to go fine, I
confirmed the UI was working as expected, and was able to login and setup the
initial administrator account.

However, after completing the development setup, I get this traceback whenever
I try to use the web UI now:

description: The server encountered an internal error () that prevented it from 
fulfilling this request.
exception: 
org.apache.jasper.JasperException: java.lang.ClassCastException: 
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to 
org.apache.AnnotationProcessor
    
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)
    
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:99)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:93)
    
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
    
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
    
com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)
    
com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)
    
com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)
    
com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)

I did encounter a couple of the issues under 'Troubleshooting' on that wiki
page, but was able to work through them using the solutions shown.  I ran into
a couple of missing jars during the dev setup, so I installed those as well
(postgresql-jdbc and jmock).

But, I'm kind of stuck at this point with the above traceback.  Is that wiki
page still the way to go, if not, are there some other instructions?  Let me
know if I can provide any more details or logs.

Thanks for any help.

--
-- James Slagle
--

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to