RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Daniel Gresh
Oh I see, thanks a lot.

On Tue, 2007-02-20 at 14:44, Caldarale, Charles R wrote:
> > From: Daniel Gresh [mailto:[EMAIL PROTECTED] 
> > Subject: RE: Installing Tomcat 6.0.9 on Sun Solaris
> > 
> > The reason I was confused though is because the instructions 
> > on the Tomcat site said I need to run autoconf from the jsvc-src
> > directory, but I could not find any autoconf file anywhere.
> > Therefore, I figured I unzipped it wrong or something.
> 
> autconf is a GNU tool, not part of Tomcat.  You only need it for
> building jsvc if you intend to run Tomcat as a daemon.  If you run
> Tomcat using the shell scripts, you have no need for it.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Caldarale, Charles R
> From: Daniel Gresh [mailto:[EMAIL PROTECTED] 
> Subject: RE: Installing Tomcat 6.0.9 on Sun Solaris
> 
> The reason I was confused though is because the instructions 
> on the Tomcat site said I need to run autoconf from the jsvc-src
> directory, but I could not find any autoconf file anywhere.
> Therefore, I figured I unzipped it wrong or something.

autconf is a GNU tool, not part of Tomcat.  You only need it for
building jsvc if you intend to run Tomcat as a daemon.  If you run
Tomcat using the shell scripts, you have no need for it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Daniel Gresh
Oh I see. I did gunzip the file and run tar on it. The reason I was
confused though is because the instructions on the Tomcat site said I
need to run autoconf from the jsvc-src directory, but I could not find
any autoconf file anywhere. Therefore, I figured I unzipped it wrong or
something.

I'm running Solaris 10, yes.

Thanks for the reply,
Dan

On Tue, 2007-02-20 at 13:56, Nelson, Tracy M. wrote:
> | From: Daniel Gresh [mailto:[EMAIL PROTECTED]
> | Sent: Monday, 19 February, 2007 15:43
> | 
> | I cannot run "tar xvfz jsvc.tar.gz", as the
> | -z argument is not being recognized. The directions said GNU TAR was
> | needed, so I searched the web for that, but I came to a confusing site
> | that said something about FTPing the GNU TAR files, and I didn't know
> | where to go from there.
> 
> Just FYI (it sounds like you don't need this now), the 'z' argument is for
> handling gzipped files.  Just gunzip the tar file first and use 'tar xf
> jsvc.tar'.  You don't say which version of Solaris you're using, but on
> Solaris 10, I believe the GNU tools are under /usr/sfw/bin.
> 
> -
> 
> The information contained in this message is confidential
> proprietary property of Nelnet, Inc. and its affiliated 
> companies (Nelnet) and is intended for the recipient only.
> Any reproduction, forwarding, or copying without the express
> permission of Nelnet is strictly prohibited. If you have
> received this communication in error, please notify us
> immediately by replying to this e-mail.
> 
> 
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Nelson, Tracy M.
| From: Daniel Gresh [mailto:[EMAIL PROTECTED]
| Sent: Monday, 19 February, 2007 15:43
| 
| I cannot run "tar xvfz jsvc.tar.gz", as the
| -z argument is not being recognized. The directions said GNU TAR was
| needed, so I searched the web for that, but I came to a confusing site
| that said something about FTPing the GNU TAR files, and I didn't know
| where to go from there.

Just FYI (it sounds like you don't need this now), the 'z' argument is for
handling gzipped files.  Just gunzip the tar file first and use 'tar xf
jsvc.tar'.  You don't say which version of Solaris you're using, but on
Solaris 10, I believe the GNU tools are under /usr/sfw/bin.

-

The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Daniel Gresh

Caldarale, Charles R wrote:
From: Daniel Gresh [mailto:[EMAIL PROTECTED] 
Subject: Re: Installing Tomcat 6.0.9 on Sun Solaris


When I try to setup a $CATALINA_BASE by moving the
aforementioned directories to $HOME/dtomcat, I get
the error I posted in my original message. 



The real question is:  why are you trying to do this?  Unless you intend
to run multiple instances of Tomcat simultaneously, the exercise is
pointless.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  

Thanks for the replies guys.

I believe you're right Chuck. When I think about it, there is no need 
for a CATALINA_BASE. The reason I wanted to set one is because the 
previous two installations of Tomcat (4.0.5 and 5.5.9) both had one, so 
I figured it might be there for ease of use, security purposes, or 
something of the sort. However, I am the only one who will be using 
Tomcat 6.0.9, so there really is no point to it.


Anyway, I believe all my questions are now cleared up (unless of course 
I need to set up a CATALINA_BASE and have questions about the 
information from the server logs). I have Tomcat 6.0.9 running properly, 
and it can compile my JDK1.5 code and everything!


Thanks for the help,
Dan

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Caldarale, Charles R
> From: Daniel Gresh [mailto:[EMAIL PROTECTED] 
> Subject: Re: Installing Tomcat 6.0.9 on Sun Solaris
> 
> When I try to setup a $CATALINA_BASE by moving the
> aforementioned directories to $HOME/dtomcat, I get
> the error I posted in my original message. 

The real question is:  why are you trying to do this?  Unless you intend
to run multiple instances of Tomcat simultaneously, the exercise is
pointless.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Hassan Schroeder

On 2/19/07, Daniel Gresh <[EMAIL PROTECTED]> wrote:


However, startup.sh does not start the
server apparently; I cannot connect to it from a browser


You need to look in your server logs for the underlying problem that's
preventing Tomcat from starting.

--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Daniel Gresh
Hi thanks for the reply.

I cleared my CATALINA_BASE variable so it would take on the default
$CATALINA_HOME variable. I then moved my conf lib logs temp webapps work
directories back into $CATALINA_HOME. Then, I used startup.sh, and it
WORKED! Hooray! I can shutdown and startup the server when I do not have
a $CATALINA_BASE. When I try to setup a $CATALINA_BASE by moving the
aforementioned directories to $HOME/dtomcat, I get the error I posted in
my original message. 

Is there anything I missed when setting up $CATALINA_BASE?

I moved the conf, lib, logs, temp, work, and webapp directories to
$CATALINA_BASE. Should I have copied them, therefore leaving a copy in
$CATALINA_HOME? After that, I use startup.sh and supply the
-Dcatalina.base=$HOME/dtomcat argument to startup.sh, and it says it's
using the appropriate directory. However, startup.sh does not start the
server apparently; I cannot connect to it from a browser, and I get the
error I posted when I try to use shutdown.sh.

There's obviously something I missed. Do I need to edit some files or
something?

Thanks a lot,
Dan

On Mon, 2007-02-19 at 17:11, Hassan Schroeder wrote:
> On 2/19/07, Daniel Gresh <[EMAIL PROTECTED]> wrote:
> 
> > I've been following the installation instructions in RUNNING.txt.
> > Basically, it tells me to download the binary distribution, unpack it,
> > make sure JDK1.5 or greater is installed, and run the server. I also need 
> > to set up a CATALINA_BASE,
> 
> No, you don't. Until you've gotten the basic installation down, stay out
> of the "advanced configuration" section. :-)
> 
> If you follow *exactly* the steps before that, it should just work. If it
> doesn't, e.g., you're still getting a "connection failed" error, check to
> see whether the process is running or not. If not, check the logs, and
> if so, check for firewall/iptables/whatever problems.
> 
> Good luck,
> -- 
> Hassan Schroeder  [EMAIL PROTECTED]
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Hassan Schroeder

On 2/19/07, Daniel Gresh <[EMAIL PROTECTED]> wrote:


I've been following the installation instructions in RUNNING.txt.
Basically, it tells me to download the binary distribution, unpack it,
make sure JDK1.5 or greater is installed, and run the server. I also need to 
set up a CATALINA_BASE,


No, you don't. Until you've gotten the basic installation down, stay out
of the "advanced configuration" section. :-)

If you follow *exactly* the steps before that, it should just work. If it
doesn't, e.g., you're still getting a "connection failed" error, check to
see whether the process is running or not. If not, check the logs, and
if so, check for firewall/iptables/whatever problems.

Good luck,
--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Daniel Gresh

Hi all,

I was having some more problems with some older Tomcat installations, so 
I decided to upgrade to the newest release and download it fresh this 
time instead of using an existing build from awhile back.


I've been trying to set up Tomcat 6.0.9, but I'm afraid I'm having some
problems.

I've been following the installation instructions in RUNNING.txt.
Basically, it tells me to download the binary distribution, unpack it,
make sure JDK1.5 or greater is installed, and run the server. I also need to 
set up a CATALINA_BASE,

After downloading the binary distribution, I uncompressed it to $CATALINA_HOME. 
Then, I created a new
directory, and set that to be
$CATALINA_BASE. Then, I took the appropriate directories out of $CATALINA_HOME 
and put them in $CATALINA_BASE, according to RUNNING.txt. Then, I started
up the server and set it to use $CATALINA_BASE with
"$CATALINA_HOME/bin/startup.sh -Dcatalina.base=$HOME/dtomcat". This
gave me the following output:

Using CATALINA_BASE:   /u/dgresh/dtomcat
Using CATALINA_HOME:   /u/dgresh/apache-tomcat-6.0.9
Using CATALINA_TMPDIR: /u/dgresh/dtomcat/temp
Using JRE_HOME:   /usr/local/jdk1.5.0_06

and then gave me a command prompt. So I navigated to http://localhost:8080,
and I got a connection failed error. I searched through the
documentation, and found that an issue with ports might be causing the
problem. I edited the $CATALINA_BASE/conf/server.xml file, and changed
the server port from 8005 to 8007, and the connector port from 8080 to
8082. Then, I navigated to http://localhost:8082, and got the
same connection failed error. 


Furthermore, I'm running into problems when I go to shutdown Tomcat.
When I run $CATALINA_HOME/bin/shutdown.sh, I get the following output:

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:215)
   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)

I'm not sure what that means, even after a web search. 


There's one more thing that is confusing me. RUNNING.txt says that all I
need to do to install Tomcat is unpack it to a directory, have JDK1.5+
installed, and startup the server. However, the setup instructions at
the Tomcat website have something about running it as a UNIX daemon
(http://tomcat.apache.org/tomcat-6.0-doc/setup.html). I'm not exactly sure if 
this is needed, but I tried to follow the instructions, so I downloaded the
commnons-daemon file and placed the necessary files in
$CATALINA_HOME/bin. However, I cannot run "tar xvfz jsvc.tar.gz", as the
-z argument is not being recognized. The directions said GNU TAR was
needed, so I searched the web for that, but I came to a confusing site
that said something about FTPing the GNU TAR files, and I didn't know
where to go from there.

So is there simply something I missed about configuring Tomcat for
proper use on my localhost? Or is this a problem with my Tomcat installation?

If you could offer any advice, I'd be very appreciative.

Thanks,
Dan



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]