Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Getting off the ground with WTP 1.0
Getting off the ground with WTP 1.0 [message #155114] Thu, 05 January 2006 19:32 Go to next message
Eclipse UserFriend
I've just started using WTP 1.0 and I'm having great difficulty just
getting past the hello world stage. I have JBoss 4.0.3SP1 installed, and I
installed the JBoss server definition plugin from [1]. JBoss is working
fine, and the WTP server view can see it. So far so good. Then I tried
working through the basic snoop servlet tutorial [2]. WTP has changed
since this was written, so most of the dialogs are different.
Nevertheless, I think I have the SnoopServlet.java, showBrowser.jsp and
web.xml defined correctly. I have added my 'tutorial' project to the
server, and published. Nothing appears to go wrong, but nothing happens
either (I can't browse to the servlet or the JSP from firefox). At this
point, I don't have a clear conceptual model of what should happen, so
it's hard to figure out where the problem is. In particular, I can't see
what, if anything, gets copied over to the deploy directory in JBoss. I'm
clearly doing something wrong, but frankly it all seems pretty opaque at
the moment. If anyone can shed any light I'd greatly appreciate it. I can
post the code if that helps, but since I'm not sure which bits are likely
to be significant I'll wait for guidance before applying the scattergun
heuristic :-)

Thanks,
Ian


[1] http://davedunkin.com/
[2]
http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html
Re: Getting off the ground with WTP 1.0 [message #155975 is a reply to message #155114] Wed, 11 January 2006 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ddevore.duckhouse.us

Since you are having a problem I will suggest you look at the following 2 blogs.

http://weblogs.java.net/blog/ddevore/archive/2006/01/netbean s_with_j.html
http://weblogs.java.net/blog/ddevore/archive/2006/01/ejb_cre ation_an.html

These are for working with JBoss on the NetBeans platform. I used Eclipse for about a year and found it to be hard to work with and almost impossible to get a server setup with. Also, I have been a long time user of NetBeans and finally convinced the powers that be to allow us to use NetBeans. I am finding that it is easier to understand and use than Eclipse especially when it comes to enterprise development. There are also a lot of tutorials and help on the NetBeans site.

Take a look
Dru
Re: Getting off the ground with WTP 1.0 [message #155982 is a reply to message #155975] Wed, 11 January 2006 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ddevore.duckhouse.us

Forgot about these also.

http://www.netbeans.org/kb/50/jboss-getting-started.html
http://www.netbeans.org/files/documents/4/442/J2EE-NBTutoria l.pdf

Take a look I am sure you will be pleased.
Re: Getting off the ground with WTP 1.0 [message #155989 is a reply to message #155114] Wed, 11 January 2006 19:53 Go to previous message
Eclipse UserFriend
If you just publish and start the server, the web browser won't start by itself. You can still access your page using http://localhost:portnumber/applicationname. But usually you should use, by clicking with right button on your web project, the "run on server" command to perform this task automatically.
Previous Topic:WTP1.0 Not Publishing /Bad publish.xml
Next Topic:Does XDoclet work for you with WTP M200601102004 (aka R1.0.1 alpha) ?
Goto Forum:
  


Current Time: Wed Mar 26 01:51:51 EDT 2025

Powered by FUDForum. Page generated in 0.02887 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top