Re: Cruise Control Installation from tomcat6 manager

Julian Simpson <[email protected]> Thu, 10 May 2012 19:51:02 +0100
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz976p8u+Zck6F_KXhsorHeypXegMd0P-iqRN0YG6bVRNg@mail.gmail.com>
Hi there,

I think this is a change we need to make in CruiseControl.  You could
probably get away with an older version of Tomcat.

J.

On Wednesday, 25 April 2012, Savitri Girish Deshpande wrote:

> Hello,
>
> I want to run the the cruise control application from the tomcat6 manager.
> I have installed the cruisecontrol-2.8.4 on centos in the directory
> /opt/cruisecontrol. The installation is done correctly and after setting
> the JAVA_HOME path to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0; and running
> the cruisecontrol from /opt/cruisecontrol/./cruisecontrol.sh it starts the
> application.
>
> I have copied the following files as below:
>
> cp -R ~cruisecontrol/cruisecontrol-bin-2.7.2/webapps/cruisecontrol/ ~tomcat/webapps/
> cp -R ~cruisecontrol/cruisecontrol-bin-2.7.2/webapps/crusecontrol-dashboard/ ~tomcat/webapps/
> cp -R ~cruisecontrol/cruisecontrol-bin-2.7.2/webapps/cc-config/ ~tomcat/webapps/
>
> I see the the cc-config/cruisecontrol and dashboard apps in the the
> tomcat6 manager. When I run want to run the cruise control apps from the
> http://localhost:8080/cruisecontrol/. It gives me the following error. I
> am not able to get rid of this error. I request to help me in this regard.
>
> *The server encountered an internal error () that prevented it from
> fulfilling this request.*
>
> *exception*
>
> org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: net.sourceforge.cruisecontrol.taglib.NavigationTagExtraInfo
> 	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
> 	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
> 	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:281)
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419)
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:250)
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
> 	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:382)
> 	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:445)
> 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1392)
> 	org.apache.jasper.compiler.Parser.parse(Parser.java:130)
> 	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
> 	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
> 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:170)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
> 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
> 	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)
>
> *root cause*
>
> java.lang.ClassCastException: net.sourceforge.cruisecontrol.taglib.NavigationTagExtraInfo cannot be cast to javax.servlet.jsp.tagext.TagExtraInfo
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:417)
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:250)
> 	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
> 	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:382)
> 	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:445)
> 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1392)
> 	org.apache.jasper.compiler.Parser.parse(Parser.java:130)
> 	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
> 	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
> 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:170)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
> 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
> 	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)
>
> Thanks in advance for the help.
>
> Thanks and Warm Regards,
> Girish P.Deshpande
>
>
>
>
>
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Follow *Rediff Deal ho jaye!<http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals>
> * to get exciting offers in your city everyday.



-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user