Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Developing with Tomcat

Thread view: 
Neobyte - 05 Mar 2007 01:49 GMT
Hello all,

I'm relatively new to Tomcat (and Java) but have a local instance
running on my PC that came packaged with Netbeans.  I have written a
servlet application that works fine on my local machine.

I have a SUSE10 box where I have installed Tomcat, and have
successfully run a separate servlet there.

The issue I have is - how do I configure my local Netbeans to work
with the remote Tomcat?  I have my project folder set up on the SUSE10
box via a samba share.  I symlink under webapps to the base directory
of my project folder.  However I get class not found errors when I try
to access said jsp.

What I am really after is some set of instructions as to how to
configure Netbeans to work with a remote Tomcat server.  Does anyone
have any pointers?  I've googled this to death.  I get the feeling
that the folder structure that Netbeans uses to store files is not
natively recognised by the remote Tomcat.

Apologies if this multi-posts, Google's web client is timing out.

Cheers
Lew - 05 Mar 2007 02:51 GMT
> The issue I have is - how do I configure my local Netbeans to work
> with the remote Tomcat?  I have my project folder set up on the SUSE10
> box via a samba share.  I symlink under webapps to the base directory
> of my project folder.  However I get class not found errors when I try
> to access said jsp.

The base of the project folder for Netbeans is not the base of the deployed
application. That lies under build/ or dist/ somewhere within your project.

The symlink is not needed because Netbeans will tell Tomcat where the
deployment directory is.

In Netbeans you can go into the "Runtime" tab, right-click on "Servers" and
"Add server" to let it know about your other Tomcat.

-- Lew


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.