Hi, If I am in the wrong list please advise me of such. I am trying to install the MIRC server from the Radiological Society of North America. This calls for java 1.4 (installed) and Tomcat 4.x.
I am running FedoraCore4 which has Tomcat 5 installed and the MIRC software (a Radiology Teaching File/Research Case database product) will not run under Tomcat 5 at the present. I therefore need to have Tomcat 4 installed which I can do from the tar.gz. However, how can I make sure that the Tomcat 5 installation is not called or do the tar.gz files usually have files I can copy to /etc/init.d to use to start the Tomcat 4 service on boot?
Sorry if this is a dumb question, but as a newbie I am somewhat overwhelmed with the terminology associated with Java in all of its clothes.
Thanks,
Bob Hartung
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
not run under Tomcat 5 at the present. I therefore need to have Tomcat 4 installed which I can do from the tar.gz. However, how can I make sure that the Tomcat 5 installation is not called or do the tar.gz files usually have files I can copy to /etc/init.d to use to start the Tomcat 4 service on boot?
You can get tomcat4 as an rpm through JPackage. The tomcat4 rpm comes with the files already in init.d, so there is no need to mess around there. Simply download http://jpackage.org/jpackage.repo to /etc/yum.repos.d and use yum to install tomcat4.
To start or stop a service on startup, use chkconfig. For example,
/sbin/chkconfig --del tomcat5 /sbin/chkconfig --add tomcat4
- -- Sincerely,
David Walluck david@zarb.org
No luck so far. I have done the following: 1. modified jpackage.repo commenting out all the sections except '[jpackage-fc]'. 2. run 'yum remove tomcat5*' Reported success 3. run 'yum install tomcat4*' Reports: "No Match for argument: tomcat4"
So this would suggest to me that tomcat4 is no longer available via yum. Is my next best choice to simply get the tar.gz file and manually set up the init.d stuff and edit the files to set $Catalina_Home? Remember, this is my FIRST exposure to Java and the naming conventions boggle the mind - i.e. java, containers, struts, jakarta, ...
Thanks again,
Bob
David Walluck wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
not run under Tomcat 5 at the present. I therefore need to have Tomcat 4 installed which I can do from the tar.gz. However, how can I make sure that the Tomcat 5 installation is not called or do the tar.gz files usually have files I can copy to /etc/init.d to use to start the Tomcat 4 service on boot?
You can get tomcat4 as an rpm through JPackage. The tomcat4 rpm comes with the files already in init.d, so there is no need to mess around there. Simply download http://jpackage.org/jpackage.repo to /etc/yum.repos.d and use yum to install tomcat4.
To start or stop a service on startup, use chkconfig. For example,
/sbin/chkconfig --del tomcat5 /sbin/chkconfig --add tomcat4
Sincerely,
David Walluck david@zarb.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDqRC2arJDwJ6gwowRAji0AJ9KXw3QnLcaYg/jvXKQv6Vd7K1BCQCeL6jG mUYoldrti9isaDUAXMBcj6Q= =k1jy -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
No luck so far. I have done the following:
- modified jpackage.repo commenting out all the sections except
'[jpackage-fc]'.
You need the *jpackage-generic* repository also. This is likely your problem. This is the repository that contains nearly all of the available packages.
You can even check the jpackage.org website directly and see that tomcat4 (and even tomcat3) is there. The website may give you a better idea of what is available to download, but yum would work as well, and you should definitely try to use yum for the actual install.
So this would suggest to me that tomcat4 is no longer available via yum. Is my next best choice to simply get the tar.gz file and manually set
I think that once you get the rpm(s) installed you will really prefer that way. There is a small learning curve when moving to rpms, but a little patience is all it takes.
Keep in mind that there's a few tomcat4 rpm packages. You might want tomcat4-webpps for testing, for example.
- -- Sincerely,
David Walluck david@zarb.org
Weel-l-l-l-l-l-, Something failed here. When I do an rpm -qa | grep tomcat I get packages from both tomcat4 and tomcat5 listed. If I do an rpm -ql [package name] I get nothing. I have tried rpm --rebuilddb to try and straighten up the rpm database but the entries remain. I will now have to try and find if there is a way to edit the rpm database to remove the incorrect entries. Always a learning experience!
Thanks! If I can get the db cleaned up I will try your suggestions.
Bob
David Walluck wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
No luck so far. I have done the following:
- modified jpackage.repo commenting out all the sections except
'[jpackage-fc]'.
You need the *jpackage-generic* repository also. This is likely your problem. This is the repository that contains nearly all of the available packages.
You can even check the jpackage.org website directly and see that tomcat4 (and even tomcat3) is there. The website may give you a better idea of what is available to download, but yum would work as well, and you should definitely try to use yum for the actual install.
So this would suggest to me that tomcat4 is no longer available via yum. Is my next best choice to simply get the tar.gz file and manually set
I think that once you get the rpm(s) installed you will really prefer that way. There is a small learning curve when moving to rpms, but a little patience is all it takes.
Keep in mind that there's a few tomcat4 rpm packages. You might want tomcat4-webpps for testing, for example.
Sincerely,
David Walluck david@zarb.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDqo5+arJDwJ6gwowRAsjiAJ9ze/3KTYFZWwmO/ASbU64qJpf/LwCfbcQc D5Id/J7W1iDkkMfj3i2F9AQ= =jq+K -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
Weel-l-l-l-l-l-, Something failed here. When I do an rpm -qa | grep tomcat I get packages from both tomcat4 and tomcat5 listed. If I do an rpm -ql
You can always just remove and reinstall those packages, assuming that your entire rpm database didn't break.
- -- Sincerely,
David Walluck david@zarb.org
Some progress! RPM Database seems okay. I deleted all Tomcat5 manually, then ran yum as you directed. It installed Tomcat4 but also reinstalled tomcat5-servlet-... The latter file has a number of dependencies all related to jakarta-commons.... . So what would one recommend to completely remove java and all java elements to start with a clean slate?
TIA
Bob
David Walluck wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bob Hartung wrote:
Weel-l-l-l-l-l-, Something failed here. When I do an rpm -qa | grep tomcat I get packages from both tomcat4 and tomcat5 listed. If I do an rpm -ql
You can always just remove and reinstall those packages, assuming that your entire rpm database didn't break.
Sincerely,
David Walluck david@zarb.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDqrEzarJDwJ6gwowRAgUVAJ9MQg/D/dPArqv7qmUr4f1+O9RXqwCgoEmz TLZOVA9VMzuTxSfqzNk+ibQ= =+YsK -----END PGP SIGNATURE-----
-- fedora-devel-java-list mailing list fedora-devel-java-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-java-list
More progress:
Lots of manual rpm -e action. For some reason the one tomcat5 rpm can't be deleted, but: 1. Tomcat4 starts up. 2. However, when I http://localhost:8080 I receive a long list of exceptions such as
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokenext(org.apache.catalina.Request, org.apache.catalina.Response) (Unknown Source)
and then under 'root cause',for example,
at org.apache.catalina.core...........(Unknown Source)
env var CATALINA_HOME points to /usr/share/tomcat4 and in this directory the directory shared has empty subdirectories 'classes' and 'lib'. This suggests to me (a physician, non-programmer) that tomcat4 is not really installed.
I reran yum ... and it reported nothing to do. Should I do a forced reinstall of the tomcat4-jasper & servlet ?
TIA
Bob
java-devel@lists.fedoraproject.org