File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat server in Netbeans 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat server in Netbeans 4.1" Watch "Tomcat server in Netbeans 4.1" New topic

Tomcat server in Netbeans 4.1

siva sankar
Ranch Hand

Joined: Jul 13, 2006
Posts: 68

I have installed and configured NetBeans4.1 in windows 98.I have registered Tomcat 5.0.27 with the IDE.My jdk version is j2sdk1.4.1_03.
When i tried to start the Tomcat server,i am getting the following error

The BASEDIR environment variable is not defined
This environment variable is needed to run this program
Out of environment space

Please suggest me,What i have to do to start the server without errors.

Thanks in Advance,


siva sankar.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33124

This sounds more about starting the Tomcat server than Netbeans, so I'm going to move it to our Tomcat forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
The key here is "Out of environment space"
Windows98 uses a small setting for the memory provided to hold environment variables. Tomcat uses a LOT of environment variables and does a lot of copying of environment variables so you will have to increase the default setting. Alas - I have forgotten how you do this in Win98 but it has been brought up in this forum before so do some searches.

I agree. Here's the link:
subject: Tomcat server in Netbeans 4.1
It's not a secret anymore!