Web Tools Tutorials [message #160321] |
Fri, 10 February 2006 22:50 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
I have been trying to build a simple dynamic web application for several
days without success. The existing tutorials appear to be for a previous
version of the tools. In spite of that I have followed them as closely as
possible but still no joy. Is anyone aware of a tutorial for building a
web application employing servlets and jsp modules using the latest
release (1.0) of the web tools?
|
|
|
|
|
Re: Web Tools Tutorials [message #160549 is a reply to message #160335] |
Mon, 13 February 2006 14:53 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
I am using Eclipse 3.1.2, WST 1.0.0 and Tomcat 5.5.
- I created a new Dynamic Web Project called Zoo.
- I then created a new JSP file called Tiger.jsp.
- I right clicked on the Tomcat server entry in the Servers list and added
Zoo to the configured projects list.
- I started the server. It indicates that it is synchronized.
- I go to my browser and enter "http://localhost:8080/Zoo/Tiger.jsp
- The browser displays an error page with the message "The requested
resource (/Tiger.jsp) is not available."
|
|
|
|
Re: Web Tools Tutorials [message #160572 is a reply to message #160565] |
Mon, 13 February 2006 15:10 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
That action results in a dialog titled "Server Error" containing the
message "No launchable artifact could be found in the selection."
|
|
|
|
Re: Web Tools Tutorials [message #160594 is a reply to message #160565] |
Mon, 13 February 2006 16:23 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
Sachin Patel wrote:
> Michael wrote:
>> I am using Eclipse 3.1.2, WST 1.0.0 and Tomcat 5.5.
>>
>> - I created a new Dynamic Web Project called Zoo. - I then created a new
>> JSP file called Tiger.jsp. - I right clicked on the Tomcat server entry
>> in the Servers list and added Zoo to the configured projects list.
>> - I started the server. It indicates that it is synchronized.
>> - I go to my browser and enter "http://localhost:8080/Zoo/Tiger.jsp
>> - The browser displays an error page with the message "The requested
>> resource (/Tiger.jsp) is not available."
>>
>>
>>
> Try right clicking on the JSP itself and choose Run->Run on Server. A
> web browser should pop up. Validate the URL you are typing in against it.
That results in a Server Error dialog with the message "No launchable
artifact could be found in the selection."
|
|
|
Re: Web Tools Tutorials [message #160604 is a reply to message #160579] |
Mon, 13 February 2006 16:28 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
Larry Isaacs wrote:
> To determine if the project is being served at all, you can try the URL
> "http://localhost:8080/Zoo/", which should display a directory listing.
> This assumes there is no welcome file, such as index.jsp, in your
> WebContent folder.
> Larry
> Michael wrote:
>> I am using Eclipse 3.1.2, WST 1.0.0 and Tomcat 5.5.
>>
>> - I created a new Dynamic Web Project called Zoo. - I then created a new
>> JSP file called Tiger.jsp. - I right clicked on the Tomcat server entry
>> in the Servers list and added Zoo to the configured projects list.
>> - I started the server. It indicates that it is synchronized.
>> - I go to my browser and enter "http://localhost:8080/Zoo/Tiger.jsp
>> - The browser displays an error page with the message "The requested
>> resource (/Tiger.jsp) is not available."
I know I'm going to sound pretty stupid here but I assume that when I
"publish" my project that it should be copying the relevent files to the
server directory. That is not happening. Consequently, there is no "Zoo"
directory at http://localhost:8080.
|
|
|
Re: Web Tools Tutorials [message #160612 is a reply to message #160321] |
Mon, 13 February 2006 16:41 |
Eclipse User |
|
|
|
Originally posted by: mnikisher.austin.polycom.com
I think I have discovered what I did wrong. When I created my .jsp file it
was created in the top level project node, not the WebContent node. This
happened because I right clicked on the project node and selected New->JSP
rather then right clicking on the WebContent node. I have to suppose that
everyone but me knows how to do this properly.
Thank you everyone for trying to help me.
|
|
|
|
Re: Web Tools Tutorials [message #160629 is a reply to message #160612] |
Mon, 13 February 2006 16:45 |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <a0c223b6a4881c4f980029936cdb7e12$1@www.eclipse.org>,
mnikisher@austin.polycom.com says...
> I think I have discovered what I did wrong. When I created my .jsp file it
> was created in the top level project node, not the WebContent node. This
> happened because I right clicked on the project node and selected New->JSP
> rather then right clicking on the WebContent node. I have to suppose that
> everyone but me knows how to do this properly.
Well, we do _now_, anyway, after doing the same thing as you, a few
months ago :-P
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Re: Web Tools Tutorials [message #160681 is a reply to message #160335] |
Tue, 14 February 2006 08:21 |
Eclipse User |
|
|
|
Originally posted by: srnivas.velidanda.singularity.co.uk
hi,
I am trying to create a web service client application following the
tutorial at
http://www.eclipse.org/webtools/community/tutorials/WebServi ceClient/WebServiceClient.html
I am getting the .jsp files created but are placed in the WebContent
folder by which the jsp file was not available, then i moved the folder
containing the jsp pages to top level folder that is my main project
folder.
But I am getting error in the browser after clicking on the "Start Server"
button.
Following is the error message stack trace
*****************************************************
Stack Trace Start
*****************************************************
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:280)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:194)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:276)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2523)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:413)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:508)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:533)
at java.lang.Thread.run(Unknown Source)
root cause
java.lang.NoClassDefFoundError
at
org.apache.jasper.JspCompilationContext.createCompiler(JspCo mpilationContext.java:233)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:554)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:295)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:280)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:194)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:276)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2523)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:413)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:508)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:533)
at java.lang.Thread.run(Unknown Source)
*****************************************************
Stack Trace End
*****************************************************
Please let me know how to fix this.
thanks,
Srinivas
|
|
|
Powered by
FUDForum. Page generated in 0.05255 seconds