Error while add Tomcat Server in NetBeans 6.1 IDE

2,888 views
Skip to first unread message

sohail jaffery

unread,
Jun 18, 2008, 3:25:00 AM6/18/08
to java-ee-j2ee-progr...@googlegroups.com

Hi Everybody,

 

I had installed Netbeans 6.1, and while adding Tomcat 5.5 server,  as I don’t have Catalina.bat and setclasspath.bat file in my Tomcat 5.5 installed folder….

 

Steps I had followed:

 

  1. Right Click on Server.
  2. Given Catalina home folder(D:\Program Files\Apache Software Foundation\Tomcat 5.5)
  3. given username and password.
  4. finish

 

 

After clicking finish button:  the startup scripts <Catalina_home>/bin/Catalina.bat and <Catalina_home>/bin/setclasspath.bat are missing. Without these scripts you will not be able to start or stop tomcat from within the IDE.

 

Can anybody help me in this regards

 

Regards,

Sohail Jaffery

zamir gori

unread,
Jun 18, 2008, 3:37:14 AM6/18/08
to sohail....@exensys.com, java-ee-j2ee-progr...@googlegroups.com
this is the same probelm with me, i have downloaded many different server from Netbeans and Sun Web site into Netbeans IDE, But facing the same problem.

The Netbeans 6.1 shows me that  i have installed multiple servers , but i dont know how to add server to IDE.

Please Help
--
Regards,
Zamir S Gori.

TCA

unread,
Jun 18, 2008, 4:36:24 AM6/18/08
to Java EE (J2EE) Programming with Passion!


Tools menu, Add Server



On Jun 18, 8:37 am, "zamir gori" <zamir.g...@gmail.com> wrote:
> this is the same probelm with me, i have downloaded many different server
> from Netbeans and Sun Web site into Netbeans IDE, But facing the same
> problem.
>
> The Netbeans 6.1 shows me that  i have installed multiple servers , but i
> dont know how to add server to IDE.
>
> Please Help
>
> On Wed, Jun 18, 2008 at 12:25 AM, sohail jaffery <sohail.kira...@exensys.com>
> wrote:
>
>
>
>
>
> >  Hi Everybody,
>
> > I had installed Netbeans 6.1, and while adding Tomcat 5.5 server,  as I
> > don't have Catalina.bat and setclasspath.bat file in my Tomcat 5.5 installed
> > folder….
>
> > Steps I had followed:
>
> >    1. Right Click on Server.
> >    2. Given Catalina home folder(D:\Program Files\Apache Software
> >    Foundation\Tomcat 5.5)
> >    3. given username and password.
> >    4. finish
>
> > After clicking finish button:  the startup scripts
> > <Catalina_home>/bin/Catalina.bat and <Catalina_home>/bin/setclasspath.bat
> > are missing. Without these scripts you will not be able to start or stop
> > tomcat from within the IDE.
>
> > Can anybody help me in this regards
>
> > Regards,
>
> > Sohail Jaffery
>
> --
> Regards,
> Zamir S Gori.- Hide quoted text -
>
> - Show quoted text -

zamir gori

unread,
Jun 18, 2008, 6:27:28 AM6/18/08
to tcas...@gmail.com, Java EE (J2EE) Programming with Passion!
I have done and also ,
Resolve missing server option but still unable to do it..!

sebastian mueller

unread,
Jun 18, 2008, 6:53:26 AM6/18/08
to java-ee-j2ee-progr...@googlegroups.com
Is it mandatory to use the tomcat? I used the glassfish and everything works just fine....


2008/6/18 zamir gori <zamir...@gmail.com>:

zamir gori

unread,
Jun 18, 2008, 6:59:36 AM6/18/08
to logp...@googlemail.com, java-ee-j2ee-progr...@googlegroups.com
Yeh you can use any compatible websever but friends I am Unable to attach teh webserver to IDE

sebastian mueller

unread,
Jun 18, 2008, 7:11:29 AM6/18/08
to java-ee-j2ee-progr...@googlegroups.com
maybe i can clarify a lil bit:

a full jee compliant server has to have:
- a webcontainer to run servlets/jsps
- an application container to run ejbs and ...?

tomcat is not full jee compliant as it doesnt have an application container, therefore u cant run ejbs in a tomcat

please add if im missing sth important

2008/6/18 bilal malik <bam_...@yahoo.com>:

It is not mandatory to use tomcat.It is a server which supports servlets and JSP.However if you want to use EJB.We need use an application server like jboss with tomcat or we could websphere or weblogic.

Is glassfish an application server?

Could someone explain plz.

 

thanks,

Bilal

zamir gori

unread,
Jun 18, 2008, 7:36:03 AM6/18/08
to logp...@googlemail.com, java-ee-j2ee-progr...@googlegroups.com
Friensds here, I am hear only Asking that how i  can have a Server attached to netbeans IDE.

sebastian mueller

unread,
Jun 18, 2008, 7:42:49 AM6/18/08
to java-ee-j2ee-progr...@googlegroups.com
add a server:
http://safari.oreilly.com/0132395525/ch10

- glassfish is from sun and the "reference implentation" of an jee compliant webserver, ie. it has web container and application container



2008/6/18 zamir gori <zamir...@gmail.com>:

dinesh

unread,
Jun 18, 2008, 9:29:38 AM6/18/08
to Java EE (J2EE) Programming with Passion!
Am afraid am not sure if you could ever add multiple servers to
Tomcat.
Before adding any server make sure you have proper plugins for the
server installed. To install the plugins, Tools > Plugins, search by
the name of your server and install them. Once installed, this should
show in the list of available servers when you select Tools >
Servers.

The next step is to register this server, select the server you want
to register and chose the platform location as your <default
installation path of your server>. This should proceed with
configuring the server. Once this is done, you should see the
registered server in services tab under the server node.

Hope it helps.

On Jun 18, 6:42 am, "sebastian mueller" <logpo...@googlemail.com>
wrote:
> add a server:http://safari.oreilly.com/0132395525/ch10
>
> - glassfish is from sun and the "reference implentation" of an jee compliant
> webserver, ie. it has web container and application container
>
> 2008/6/18 zamir gori <zamir.g...@gmail.com>:
>
> > Friensds here, I am hear only Asking that how i  can have a Server attached
> > to netbeans IDE.
>
> > On Wed, Jun 18, 2008 at 4:11 AM, sebastian mueller <
> > logpo...@googlemail.com> wrote:
>
> >> maybe i can clarify a lil bit:
>
> >> a full jee compliant server has to have:
> >> - a webcontainer to run servlets/jsps
> >> - an application container to run ejbs and ...?
>
> >> tomcat is not full jee compliant as it doesnt have an application
> >> container, therefore u cant run ejbs in a tomcat
>
> >> please add if im missing sth important
>
> >> 2008/6/18 bilal malik <bam_u...@yahoo.com>:
>
> >>> It is not mandatory to use tomcat.It is a server which supports servlets
> >>> and JSP.However if you want to use EJB.We need use an application server
> >>> like jboss with tomcat or we could websphere or weblogic.
>
> >>> Is glassfish an application server?
>
> >>> Could someone explain plz.
>
> >>> thanks,
>
> >>> Bilal
>
> >>> ----- Original Message ----
> >>> From: sebastian mueller <logpo...@googlemail.com>
> >>> To: java-ee-j2ee-progr...@googlegroups.com
> >>> Sent: Wednesday, June 18, 2008 4:23:26 PM
> >>> Subject: [java ee programming] Re: Error while add Tomcat Server in
> >>> NetBeans 6.1 IDE
>
> >>> Is it mandatory to use the tomcat? I used the glassfish and everything
> >>> works just fine....
>
> >>> 2008/6/18 zamir gori <zamir.g...@gmail.com>:
>
> >>>> I have done and also ,
> >>>> Resolve missing server option but still unable to do it..!
>

zamir gori

unread,
Jun 19, 2008, 1:25:06 AM6/19/08
to dinesh....@gmail.com, Java EE (J2EE) Programming with Passion!
Yes I have Done All this things but still the Next Button is Disabled.

TCA

unread,
Jun 19, 2008, 5:26:50 AM6/19/08
to Java EE (J2EE) Programming with Passion!

Here is what I had to do to get Tomcat (version 6.0.16) working with
Netbeans (6.1) :

1 - Downloaded Tomcat (6.0.16) , unpacked to folder

2 - Set the System ENV variable JAVA_HOME (required by Tomcat startup
scripts)
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03

Start, Control Panel, System ICON, Advanced TAB, Environment Variables
button,

Add an entry named JAVA_HOME which points to folder you installed JDK
in e.g. C:\Program Files\Java\jdk1.6.0_03
(TOMCAT NEEDS THIS - used in setclasspath.bat)


3 - Test Tomcat works on its own by clicking startup.bat

4 - Add Server - choose Tomcat version 6

HTH

Tony



Reply all
Reply to author
Forward
0 new messages