Re: CC, Jetty, webapps, hostname and port...

Chris Joysn <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi Julian,

thanks for that fast response. As i understood i can switch off Jetty by
removing the -webport parameter,
but i did not find any documentation how to setup CC's build loop and the
web apps so that i can run them
from Tomcat.

My try to simply copy the webapps to the Tomcat webapps folder did not work,
e.g. i get the following
error when i try to access the webapp cruisecontrol:

*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)


So, can u please give more details on the changes which needs to be done?

Thanks in advance

Chris

2011/1/12 Julian Simpson <[email protected]>

> Hi,
>
>
> On 12 January 2011 20:12, Chris Joysn <[email protected]> wrote:
>
>>
>> how can i run this cruisecontrol webapp? the webapp is served by jetty
>> as it is located within the webapps folder, but it has similar problems
>> like the one mentioned before. hostname and port are refering to
>> 127.0.0.1:8080.
>>
>>
> We used Apache 2, AJP and Tomcat to deploy the cruisecontrol webapp on
> buildix (http://buildix.thoughtworks.com/).  Worked just fine.  I guess
> you'll need to lose Jetty to make it work.
>
> J.
>
> --
> Julian Simpson
> The Build Doctor Ltd.
> http://www.build-doctor.com
> [email protected]
> (+44) 207 183 0323
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.