|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Help - Creating a simple webappHi,
I'm trying to create a new webapp in CruiseControl. I've created a new folder in C:\Cruisecontrol-2.7.2\webapps called AlexTest1 and added a index.html file which contains the following: <html><head><title>Alex Test 1</title></head><body>Hello World</body></html> I then restart CruiseControl from the services menu, wowever, when I try to open it up from Internet Explorer using http://localhost:8080/AlexTest1/index.html, I get: HTTP ERROR: 404 Not Found RequestURI=/AlexTest1/index.html Powered by Jetty:// I can access the dashboard app just fine (ie, http://localhost:8080/dashboard/). I am using WindowsXP Pro and have installed CruiseControl 2.7.2 using the setup file for 32bit Windows. Any help would be greatly appreciated. Regards, Alex ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Help - Creating a simple webappAlex,
For the cc-config tool, I had to add the context to the net.sourceforge.cruisecontrol.web.EmbeddedJettyServer object in order for the server to find my new context. -Al Wick Alex David wrote: > Hi, > > I'm trying to create a new webapp in CruiseControl. I've created a > new folder in C:\Cruisecontrol-2.7.2\webapps called AlexTest1 and > added a index.html file which contains the following: > <html><head><title>Alex Test 1</title></head><body>Hello World</body></html> > > I then restart CruiseControl from the services menu, wowever, when I > try to open it up from Internet Explorer using > http://localhost:8080/AlexTest1/index.html, I get: > HTTP ERROR: 404 > Not Found > RequestURI=/AlexTest1/index.html > Powered by Jetty:// > > I can access the dashboard app just fine (ie, http://localhost:8080/dashboard/). > I am using WindowsXP Pro and have installed CruiseControl 2.7.2 using > the setup file for 32bit Windows. > Any help would be greatly appreciated. > > Regards, > Alex > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Help - Creating a simple webappHi,
Firstly, Allan ... thank you very much for your help ... the initial problem I had is now overcome. It all works! I added the following lines to the EmbeddedJettyServer class in the start() method: String alexPath = "C:\\Cruisecontrol-2.7.2/webapps/AlexTest"; jettyServer.addWebApplication("/AlexTest", alexPath); My next question, is now I'm trying to display a very simple JSP file, but this does not work (ie, http://localhost:8080/AlexTest/index.jsp), and displays the following error: HTTP ERROR: 500 Unable to compile class for JSP RequestURI=/AlexTest/index.jsp Powered by Jetty:// My index.jsp looks as such: <html> <head><title>Alex JSP Test</title></head> <body> <%@ page language="java" %> <% out.println("Hello World"); %> </body> </html> Any idea? Thank you in advance. Regards, Alex David 2008/7/5 Allan Wick <al@...>: > Alex, > > For the cc-config tool, I had to add the context to the > net.sourceforge.cruisecontrol.web.EmbeddedJettyServer object in order > for the server to find my new context. > > -Al Wick > > Alex David wrote: >> Hi, >> >> I'm trying to create a new webapp in CruiseControl. I've created a >> new folder in C:\Cruisecontrol-2.7.2\webapps called AlexTest1 and >> added a index.html file which contains the following: >> <html><head><title>Alex Test 1</title></head><body>Hello World</body></html> >> >> I then restart CruiseControl from the services menu, however, when I >> try to open it up from Internet Explorer using >> http://localhost:8080/AlexTest1/index.html, I get: >> HTTP ERROR: 404 >> Not Found >> RequestURI=/AlexTest1/index.html >> Powered by Jetty:// >> >> I can access the dashboard app just fine (ie, http://localhost:8080/dashboard/). >> I am using WindowsXP Pro and have installed CruiseControl 2.7.2 using >> the setup file for 32bit Windows. >> Any help would be greatly appreciated. >> >> Regards, >> Alex >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Cruisecontrol-user mailing list >> Cruisecontrol-user@... >> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user >> >> > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
| Free Forum Powered by Nabble | Forum Help |