RE: Tomcat on HP-UX 11

2002-11-06 Thread Wendy Smoak
 That's all.  Nothing in the log directory, no other messages on the
console.
 Everywhere else I've installed [unzipped!] Tomcat, it has just worked
 immediately, so I'm not too sure where to go looking for problems.  I
don't
 have any error messages to search the archives for, either.  Any ideas?

I have one... PATIENCE!  It took ~3 minutes to start.  I happened to hit
refresh in the browser and found that it was alive.  Still no messages on
the console, though... I usually [Win2000  Linux] see things go flying by
as Tomcat starts up.  Aha!  Found it: logs/catalina.out

Okay, then, we seem to be in business.  Thankfully I'm not the one who has
to get the whole Apache/Tomcat/SSL thing to work. ;)

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 



RE: Tomcat on HP-UX 11

2002-11-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Wendy,

For tomcat 4 on HP-UX I have found very little gets sent to the console
window except when you try to start tomcat when it is already running.

Also, I just attempted to install the same tarball as you on our server and
I got the same error.
I would imagine that there is an issue with the way the tar files was
created.  When you unzipped on your windows machine did you get some
filename conflict errors?  When I look at the zip file there appears to a
large number of duplicate files but none of these files appear to be there
when I untar them on a linux machine.  If I untar on my linux machine and
then jar it up and then unjar on hp-ux it appears to install correctly.
While I have seen those longlink error messages before this is the first
download I could not install directly onto our servers

Jeff

-Original Message-
From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu]
Sent: Wednesday, November 06, 2002 3:41 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat on HP-UX 11


 That's all.  Nothing in the log directory, no other messages on the
console.
 Everywhere else I've installed [unzipped!] Tomcat, it has just worked
 immediately, so I'm not too sure where to go looking for problems.  I
don't
 have any error messages to search the archives for, either.  Any ideas?

I have one... PATIENCE!  It took ~3 minutes to start.  I happened to hit
refresh in the browser and found that it was alive.  Still no messages on
the console, though... I usually [Win2000  Linux] see things go flying by
as Tomcat starts up.  Aha!  Found it: logs/catalina.out

Okay, then, we seem to be in business.  Thankfully I'm not the one who has
to get the whole Apache/Tomcat/SSL thing to work. ;)

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Tomcat on HP-UX 11

2002-11-06 Thread Kwok Peng Tuck
I think the console output should go to catalina.out in the logs 
directory. At least it did for me on the linux version. Something you 
might want to check out.


Wendy Smoak wrote:

We talked about Tomcat  HP-UX a while ago and I was advised that I didn't
have to wait for HP to get around to providing a version of Tomcat 4, that I
should be able to grab one from the site and unzip it.  So we've installed
the Apache/Tomcat bundle provided by HP [Apache 2.0.39.05.03 and Tomcat
3.3.1] which works fine, and will now attempt to replace the version of
Tomcat they provided with 4.1.12.

I was able to gunzip the jakarta-tomcat-4.1.12-LE-jdk14.tar.gz file, but tar
-xvf failed.  I see that there's a note about Solaris and Mac OS X not
having the right version of tar, and I wonder if HP-UX is in the same
situation:

[lots snipped]
/webapp/admin/valve/De, 3889 bytes, 8 tape blocks

tar:  creating as regular file.

x ././LongLink, 118 bytes, 1 tape blocks

directory checksum error

So I started over, unzipped the whole thing on Windows 2000 and WS-FTP'd it
up to the HP box.  Everything is owned by root, I'm running this as root
[just testing!] and I get:

# ./startup.sh

Using CATALINA_BASE:   /opt/tomcat

Using CATALINA_HOME:   /opt/tomcat

Using CATALINA_TMPDIR: /opt/tomcat/temp

Using JAVA_HOME:   /opt/java1.4

#  

That's all.  Nothing in the log directory, no other messages on the console.

Everywhere else I've installed [unzipped!] Tomcat, it has just worked
immediately, so I'm not too sure where to go looking for problems.  I don't
have any error messages to search the archives for, either.  Any ideas?

Thanks!

 




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Tomcat on HP-UX 11

2002-11-06 Thread Tim Funk
Yes hp's tar is bad like the other commercial unixes. You'll need to 
download/compile/install the GNU tar.

Wendy Smoak wrote:
We talked about Tomcat  HP-UX a while ago and I was advised that I didn't
have to wait for HP to get around to providing a version of Tomcat 4, that I
should be able to grab one from the site and unzip it.  So we've installed
the Apache/Tomcat bundle provided by HP [Apache 2.0.39.05.03 and Tomcat
3.3.1] which works fine, and will now attempt to replace the version of
Tomcat they provided with 4.1.12.

I was able to gunzip the jakarta-tomcat-4.1.12-LE-jdk14.tar.gz file, but tar
-xvf failed.  I see that there's a note about Solaris and Mac OS X not
having the right version of tar, and I wonder if HP-UX is in the same
situation:

 [lots snipped]
/webapp/admin/valve/De, 3889 bytes, 8 tape blocks

tar:  creating as regular file.

x ././LongLink, 118 bytes, 1 tape blocks

directory checksum error

So I started over, unzipped the whole thing on Windows 2000 and WS-FTP'd it
up to the HP box.  Everything is owned by root, I'm running this as root
[just testing!] and I get:

# ./startup.sh

Using CATALINA_BASE:   /opt/tomcat

Using CATALINA_HOME:   /opt/tomcat

Using CATALINA_TMPDIR: /opt/tomcat/temp

Using JAVA_HOME:   /opt/java1.4

#  

That's all.  Nothing in the log directory, no other messages on the console.

Everywhere else I've installed [unzipped!] Tomcat, it has just worked
immediately, so I'm not too sure where to go looking for problems.  I don't
have any error messages to search the archives for, either.  Any ideas?

Thanks!



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Tomcat and HP-UX 11

2002-10-16 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)

Wendy,

We have had very good luck using Apache 1.3.26 with tomcat 4.0.4/4.1.12 (we
have begun to test
4.1 and 2.0) using the mod_webapp/warp connector.

We built the Apache and the mod_webapp from source.  Apache was very easy.
The mod_webapp was a problem because of the way the test function works on
HP-UX.  I can provide you with binary forms of the mod_webapp for Apache
with and without SSL.  (Keep meaning to send them to John Turner to post
with his JK connectors).  I can also provide you with how to modify the
configure file to allow you to compile it yourself.

In order to compile from source you also need to have a number of GNU
packages installed such as FLEX, autoconf and M4.  I think apache only
requires flex.

We are able to run Tomcat using the binary install.  The only modification
we needed to make was to add use the jvm option -XdoCloseWithReadPending.
Without this set within the CATALINA_OPTS variable, the connector thread
never exists (This is for WARP and the HTTP connectors) and thus tomcat
never exits.

We have not been able to compile the JK connectors because our version of
perl is not compatible with the automake program but I hope to have that
corrected soon.

Let me know if you have any questions,
Jeff

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 12:41 PM
To: Tomcat Users List
Subject: Tomcat and HP-UX 11



I'm slowly progressing on a webapp using the latest and greatest Struts
nightly build along with Tomcat 4.1.12 on my Windows 2000 desktop for
development.

When it's finally finished, it needs to live on a real webserver.
Currently, that's an HP-UX 11 box running HP's version of Apache 2.0/Tomcat
3.3.  That's not going to work... I need JSP 1.2 and Servlet 2.3 support.

I'm not the sysadmin, but typically we seem to stick to installing things
that come directly from HP.  I'm not clear on all the reasons, but
apparently HP-UX is sufficiently different from other Unixes that things
don't transfer well. (??)

Does anyone have any words of wisdom for me?  Is it out of the question to
build Tomcat from the source and then convince the existing Apache webserver
to cooperate with it?

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat and HP-UX 11

2002-10-16 Thread Greg Bullough

At 11:41 AM 10/16/02 -0700, Wendy Smoak wrote:
When it's finally finished, it needs to live on a real webserver.

Fortunately, the platform choices at your disposal are remarkably varied,
and most of them are better than HP-UX!

Currently, that's an HP-UX 11 box running HP's version of Apache 2.0/Tomcat
3.3.  That's not going to work... I need JSP 1.2 and Servlet 2.3 support.

Argh! The difficulty with the HP-UX platform (among other things) is that it's
most certainly not in the first 'round' of development for things Java. Where
Solaris is the 'reference' platform, Linux and Windoze seem to be just about
as well-supported. The effort goes where the demand is. So does the support.

HP-UX is in that group of hind-enders that get there at some point along
the way. Depending upon HP to get things up to snuff is a bad business.
Their OS groups are a bit of a shambles, not seeming to have any clear
direction that lasts more than six weeks before the 'next great thing that
is top priority' comes along. Add to that that nothing ever seems to get
done quickly and efficiently at HP, because 'The HP Way' doesn't allow
that to happen, and you can figure that you'll be safely off the leading
edge.

I'm not the sysadmin, but typically we seem to stick to installing things
that come directly from HP.  I'm not clear on all the reasons, but
apparently HP-UX is sufficiently different from other Unixes that things
don't transfer well. (??)

Well, there is a strong 'brand loyalty' among the PA-RISC community to
HP-UX. It's certainly for marketing or 'IT shop stability' reasons, because
the technical beauty and even robustness of HP-UX is pretty questionable.

Speaking as someone who had the fortune (or misfortune) of being a
kernel developer on HP-UX 9 through 11, I have to say that the conglomeration
of baling-wire and duct tape code that is HP-UX is about as ugly as the
string of business failures that are on Carly Fiorina's *curriculum vitae*.

That's not likely to get much better IMHO, now that HP has flushed one of their
key HP-UX development laboratories (Florham Park, NJ) together with
90% of the engineers (who were *mostly* from the team that invented System
5 at Bell Labs) right down the toilet. (And yes, I was on that team, but no, I
got out a couple of years before it got Fiorina'd.)

Does anyone have any words of wisdom for me?  Is it out of the question to
build Tomcat from the source and then convince the existing Apache webserver
to cooperate with it?

I think if you look at it from a dollars-and-sense perspective, and take 
into consideration
all of the hassles and costs of sticking with HP-UX for your webserver in 
the Java
environment, you'll quickly conclude that you'll come out ahead financially by
spending some few dollars on a decent Intel box with RedHat or SuSe or Caldera.

You'll also get away from the ridiculous situation of developing on Win2K 
on your
desktop because (most likely) you're organization can't afford an 
over-priced PA-RISC
machine as a development platform. Any old semi-retired workstation can have a
copy of everything you need on it, running Linux, and it will happily sit 
under your
desk on a KVM switch and allow you develop right there on the same type of 
platform
on which you'll deploy. Oh yes, I know Java is 'write once, run anywhere' 
but you
can either keep trying to prove that true or just write it in the run-time 
environment
without testing the idealism.

The cost of a Linux server is probably less than 1 day of your time wasted in
going round and round trying to make it work on a platform which is going 
(IMHO)
to be further marginalized as its HP continues to thrash about trying to figure
out what to do with HP-UX. Even if ALL you do is the JSP/J2EE stuff on that
machine for now, it's a good start in having a fall-back plan in case (or 
until)
HP-UX dies the death that it so richly deserves.

Of course, you may work in one of those organizations that doesn't count your
time as being a valuable asset that can only be spent once, but that's another
story... :-)

Greg


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat and HP-UX 11

2002-10-16 Thread Wendy Smoak

Greg wrote:
 Argh! The difficulty with the HP-UX platform (among other things) is that
it's
 most certainly not in the first 'round' of development for things Java.
Where
 Solaris is the 'reference' platform, Linux and Windoze seem to be just
about
 as well-supported. The effort goes where the demand is. So does the
support.

Guess I should hold out for the Solaris box that's supposed to be coming my
way... it's currently serving time as a firewall, but we're getting an
appliance for that and then it'll be out of a job.

There's really no resistance here to whatever I ask for, as long as it's
reasonable.  We have another HP-UX box I could use for development-- so far
it's just been easier to use my desktop which happens to be running Win2k.
At home, it's Redhat 7.3, and I've been able to move things back and forth
with no problems.

I'm the only Java programmer in the department, and I've been left
blissfully alone to play with all the new toys you guys at Jakarta have been
producing.  (I don't know if this would have happened anywhere but in
academia, but they seem content to let me experiment and see what comes of
it.  Even when the Applet Experiment proved to be a dismal failure...)

Thanks for your help and advice!  I really don't want to get into building
Apache and Tomcat myself-- I have enough to worry about getting my own stuff
to compile and run. :)

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management



RE: Tomcat and HP-UX 11

2002-10-16 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)

Since you have Apache 2 up and running I would suggest getting rid of the
Tomcat 3.3 and point your JK connector to a Apache 4 install.  you can
download the binaries directly from jakarat and they will work out of the
box.

begin shamless employee pitch

While HP-UX does have its inherent problems, if you have a machine or two
you really should not let them out of your sight, especially at ASU since U
of A gets all the good stuff.

As with every platform you always need to ensure you are up to date on
patches and JVM's.  www.hp.com/go/java will have patch information and
kernel settings.

I have had Linux and Windows machines spin out of control just as often as
HP-UX boxes.

end shamless employee pitch

Jeff

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and HP-UX 11


Greg wrote:
 Argh! The difficulty with the HP-UX platform (among other things) is that
it's
 most certainly not in the first 'round' of development for things Java.
Where
 Solaris is the 'reference' platform, Linux and Windoze seem to be just
about
 as well-supported. The effort goes where the demand is. So does the
support.

Guess I should hold out for the Solaris box that's supposed to be coming my
way... it's currently serving time as a firewall, but we're getting an
appliance for that and then it'll be out of a job.

There's really no resistance here to whatever I ask for, as long as it's
reasonable.  We have another HP-UX box I could use for development-- so far
it's just been easier to use my desktop which happens to be running Win2k.
At home, it's Redhat 7.3, and I've been able to move things back and forth
with no problems.

I'm the only Java programmer in the department, and I've been left
blissfully alone to play with all the new toys you guys at Jakarta have been
producing.  (I don't know if this would have happened anywhere but in
academia, but they seem content to let me experiment and see what comes of
it.  Even when the Applet Experiment proved to be a dismal failure...)

Thanks for your help and advice!  I really don't want to get into building
Apache and Tomcat myself-- I have enough to worry about getting my own stuff
to compile and run. :)

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat and HP-UX 11

2002-10-16 Thread Greg Bullough

At 01:34 PM 10/16/02 -0700, Wendy Smoak wrote:
I'm the only Java programmer in the department, and I've been left
blissfully alone to play with all the new toys you guys at Jakarta have been
producing.  (I don't know if this would have happened anywhere but in
academia, but they seem content to let me experiment and see what comes of
it.  Even when the Applet Experiment proved to be a dismal failure...)

Cool! Why don't you take what you've learned and put together a Special
Topics course, either at the upper reaches of under-grad or the graduate
level? It can be quite rewarding...

Greg


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]