Tomcat 5.5.28 to 6.0.20 migration question

View: New views
11 Messages — Rating Filter:   Alert me  

Tomcat 5.5.28 to 6.0.20 migration question

by Michael C-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I’m using a program called EMC Smarts which is a network monitoring
tool.  It can accommodate a web interface using Tomcat, which is
currently version 5.5.28 and works perfectly.  I am trying to upgrade
to version 6.0.20 but am having some trouble.  Smarts official
documentation for Tomcat upgrades says to rename the tomcat folder
within the Smarts directory to tomcat-old and just unzip the new one
in place of the old one (and rename it to what the old one was named).
 But also needed are several folders from the old install,
specifically tss, templates and webconsole, as well as the
SMViewletAuth.war file from the webapps folder.  They are supposed to
be pasted into the new install.  I’ve done all this (I did the same
process which worked to get to 5.5.28), and Tomcat no longer works.  I
read on the migration page that there are some directory structure
differences between Tomcat 5 and 6, but I am no Tomcat expert, in fact
today is the first time I’ve had to deal with it at all.  I know my
version of java is good, and I looked in conf/catalina.properties and
noticed that there are differences, but I have no idea if this
matters.  I have requested support from EMC about this, but I do not
have high hopes.  Any input at all would be appreciated.

--Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: Tomcat 5.5.28 to 6.0.20 migration question

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: Michael C [mailto:tomcat6dot0@...]
> Subject: Tomcat 5.5.28 to 6.0.20 migration question
>
> Tomcat no longer works.

Care to tell us what that means?  Log entries, error messages, anything useful?  Or do we have to call Pid to get him to use his Internet Telepathy?

 - 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 unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by Michael C-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chuck,

I can't get to the server at the moment but I'm an absolute noob. The
way I know it doesn't work is that when I go to http://<tomcat
server>:8080 I don't get the tomcat screen that comes up with version
5.5.28.  Just page cannot be displayed. As soon as I am allowed, I'll
check the log files (which I hope are in /logs folder). Tomcat is run
as a service by the Smarts program when it starts, and the service
does start, so I'm not sure where I would see errors.  Also, a little
telepathy couldn't hurt.

--Mike

On Thursday, November 5, 2009, Caldarale, Charles R
<Chuck.Caldarale@...> wrote:

>> From: Michael C [mailto:tomcat6dot0@...]
>> Subject: Tomcat 5.5.28 to 6.0.20 migration question
>>
>> Tomcat no longer works.
>
> Care to tell us what that means?  Log entries, error messages, anything useful?  Or do we have to call Pid to get him to use his Internet Telepathy?
>
>  - 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 unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Caldarale, Charles R wrote:
>> From: Michael C [mailto:tomcat6dot0@...]
>> Subject: Tomcat 5.5.28 to 6.0.20 migration question
>>
>> Tomcat no longer works.
>
> Care to tell us what that means?  Log entries, error messages, anything useful?  Or do we have to call Pid to get him to use his Internet Telepathy?
>
Michael,
since you are new here, don't go misinterpreting the above.
Chuck is a bit rough sometimes, but he's good.
And the above contains a hint that he might even be inclined to help, if
you provide some more info.
Cos' if he wasn't, he'd just have told you to go find yourself a Smarts
forum.

;-)

And by the way, Pid is another one of the gurus here.  His specialty is
to devine, at long distance and with minimal information, what actually
does not work.  But we keep him in reserve for the really bizarre cases,
ghostbusters-like.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: Tomcat 5.5.28 to 6.0.20 migration question

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: Michael C [mailto:tomcat6dot0@...]
> Subject: Re: Tomcat 5.5.28 to 6.0.20 migration question
>
> when I go to http://<tomcatserver>:8080 I don't get the tomcat screen
> that comes up with version 5.5.28.  Just page cannot be displayed.

Sounds like you're using IE as your browser; if so, I'd strongly recommend picking anything else, since IE likes to hide errors behind its "friendly" error pages (which can be turned off).

> As soon as I am allowed, I'll check the log files (which I hope
> are in /logs folder).

When using a 3rd-party repackaged or an embedded version of Tomcat, there's no telling where the logs are; you may have to hunt for them.  Also, since the log file names are configurable, the repackaged/embedded version might not even be using the normal file names, let alone locations.  You might try experimenting a bit with a standard Tomcat download from tomcat.apache.org to get an idea of what to expect.

> Also, a little telepathy couldn't hurt.

It's 21:50 where Pid is, so that might have to wait until tomorrow.

 - 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 unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael C wrote:

> Chuck,
>
> I can't get to the server at the moment but I'm an absolute noob. The
> way I know it doesn't work is that when I go to http://<tomcat
> server>:8080 I don't get the tomcat screen that comes up with version
> 5.5.28.  Just page cannot be displayed. As soon as I am allowed, I'll
> check the log files (which I hope are in /logs folder). Tomcat is run
> as a service by the Smarts program when it starts, and the service
> does start, so I'm not sure where I would see errors.  Also, a little
> telepathy couldn't hurt.
>
Mmm.  Maybe I can gain some credits on my long-distance devination
rating here.
Let me feel the nodes and receive the vibes.. what do I see ?
I see.. a system.. a Windows system..
with a Smarts directory, and in it a tomcat directory...
and that tomcat directory looks like it contains a logs directory, where
there might well be some file which would tell Chuck what happens.
it also seems to contain a bin directory, with a program called
tomcat6w.exe.
and when you double-click on that one, it opens a dialog.
and in that dialog, there are plenty of things, like a path to a JVM and
stuff.
also, in Windows there are Event logs. Sometimes they also contain
interesting stuff about Services.
there is also, under the tomcat directory, a /conf directory, with a
file in it called server.xml.
I would bet that it contains at least one part looking like
<Connector port="8080" ...>
and if it does not, it probably should.
I mean, instead of 8180 or something.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by Michael C-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chuck,

I fully agree about IE but the people in charge don't wanna hear it.
The fact that this is a third party tomcat install confuses me even
more than if it was normal, and definitely frustrating that the logs
could be anywhere. If we pretend I did have a normal install, are
there any extra steps involved going from 5 to 6 that could be useful?
 Because going from 5.5.17 to 5.5.28 was extremely easy, following the
steps I said in the original email.  I do plan on experimenting with a
vanilla install tomorrow (I get access tomorrow afternoon since
everyone will be gone) but not sure how helpful it will be given the
third party nature.

--Mike

On Thursday, November 5, 2009, Caldarale, Charles R
<Chuck.Caldarale@...> wrote:

>> From: Michael C [mailto:tomcat6dot0@...]
>> Subject: Re: Tomcat 5.5.28 to 6.0.20 migration question
>>
>> when I go to http://<tomcatserver>:8080 I don't get the tomcat screen
>> that comes up with version 5.5.28.  Just page cannot be displayed.
>
> Sounds like you're using IE as your browser; if so, I'd strongly recommend picking anything else, since IE likes to hide errors behind its "friendly" error pages (which can be turned off).
>
>> As soon as I am allowed, I'll check the log files (which I hope
>> are in /logs folder).
>
> When using a 3rd-party repackaged or an embedded version of Tomcat, there's no telling where the logs are; you may have to hunt for them.  Also, since the log file names are configurable, the repackaged/embedded version might not even be using the normal file names, let alone locations.  You might try experimenting a bit with a standard Tomcat download from tomcat.apache.org to get an idea of what to expect.
>
>> Also, a little telepathy couldn't hurt.
>
> It's 21:50 where Pid is, so that might have to wait until tomorrow.
>
>  - 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 unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: Tomcat 5.5.28 to 6.0.20 migration question

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: Michael C [mailto:tomcat6dot0@...]
> Subject: Re: Tomcat 5.5.28 to 6.0.20 migration question
>
> I fully agree about IE but the people in charge don't wanna hear it.

I didn't mean for everyone, just for your testing until things are sorted.

> If we pretend I did have a normal install, are there any extra steps
> involved going from 5 to 6 that could be useful?

Not really; the config is pretty much the same, other than for clustering.  There are a few new options for 6.0, but nothing that should stop your webapps from working.  There are some Jasper fixes for spec compliance that may result in incompatibilities, and these can be disabled by setting the appropriate system properties.  Whether or not they're of consequence can't be determined without looking at the logs.
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

 - 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 unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by Michael C-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andre,

From what I'm able to remember, that's amazing!  Also I will check all
of those places as soon as I'm allowed back on. I'm almost certain
server.XML contains 8080.

-Mike

On Thursday, November 5, 2009, André Warnier <aw@...> wrote:

> Michael C wrote:
>
> Chuck,
>
> I can't get to the server at the moment but I'm an absolute noob. The
> way I know it doesn't work is that when I go to http://<tomcat
> server>:8080 I don't get the tomcat screen that comes up with version
> 5.5.28.  Just page cannot be displayed. As soon as I am allowed, I'll
> check the log files (which I hope are in /logs folder). Tomcat is run
> as a service by the Smarts program when it starts, and the service
> does start, so I'm not sure where I would see errors.  Also, a little
> telepathy couldn't hurt.
>
>
> Mmm.  Maybe I can gain some credits on my long-distance devination rating here.
> Let me feel the nodes and receive the vibes.. what do I see ?
> I see.. a system.. a Windows system..
> with a Smarts directory, and in it a tomcat directory...
> and that tomcat directory looks like it contains a logs directory, where there might well be some file which would tell Chuck what happens.
> it also seems to contain a bin directory, with a program called tomcat6w.exe.
> and when you double-click on that one, it opens a dialog.
> and in that dialog, there are plenty of things, like a path to a JVM and stuff.
> also, in Windows there are Event logs. Sometimes they also contain interesting stuff about Services.
> there is also, under the tomcat directory, a /conf directory, with a file in it called server.xml.
> I would bet that it contains at least one part looking like
> <Connector port="8080" ...>
> and if it does not, it probably should.
> I mean, instead of 8180 or something.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael C wrote:

> Chuck,
>
> I fully agree about IE but the people in charge don't wanna hear it.
> The fact that this is a third party tomcat install confuses me even
> more than if it was normal, and definitely frustrating that the logs
> could be anywhere. If we pretend I did have a normal install, are
> there any extra steps involved going from 5 to 6 that could be useful?
>  Because going from 5.5.17 to 5.5.28 was extremely easy, following the
> steps I said in the original email.  I do plan on experimenting with a
> vanilla install tomorrow (I get access tomorrow afternoon since
> everyone will be gone) but not sure how helpful it will be given the
> third party nature.
>
Well you see, we're guessing also, because we have no idea what Smarts
did to Tomcat.  Although if they say that you could just download a new
tomcat and unzip it to the same directory, then what they did might not
be so bad.
There is one element here that may be a cause of problems :
To run Tomcat as a service under Windows, there are a couple of .exe
programs being used.  Under all versions of Tomcat 5.0 and 5.5, they are
called "tomcat5.exe" and "tomcat5w.exe".
So when you upgraded before from 5.5.17 to 5.5.28, these names did not
change.
But with Tomcat 6, they are the same programs, but they are renamed to
tomcat6.exe and tomcat6w.exe.
But Smarts probably doesn't know that, so it may still try to call up
tomcat5.exe to start Tomcat as a service.
And who knows which one is running, when you say that the Service is
running..

Maybe you could start at the beginning.
Verify that the Tomcat service is running, and have a look :
- with the Task Manager, and check which tomcat-like .exe program is
really running
- with a command window,
   - enter "net start" and check if you see a line in there mentioning
tomcat (and if yes, paste it here so that we can see it too)
   - enter "netstat -an" and see there is a line with something like
TCP  127.0.0.1:8080 ..............    LISTEN
and then if it says by any chance
TCP  127.0.0.1:8180 ..............    LISTEN
instead, try with your browser to access
http://localhost:8180

Come to think of it, enter "netstat -an" and then cut and paste here all
the lines that start with TCP.
I mean we can guess, but it is very energy-consuming, spiritually speaking.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Tomcat 5.5.28 to 6.0.20 migration question

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael C wrote:
> Andre,
>
>>From what I'm able to remember, that's amazing!
..
Waow.  I can already see the long-distance credits piling up here.
I can feel the QOS increasing, the Hops decreasing along with the
Latency, and the TTL just shifted left one place.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...