<div dir="ltr"><div><div><div><div>Having created rpms from scratch a few times, what you are wanting to do is feasible but will bite you later.<br><br></div>Better course of action is to either use the tomcat rpm from your distro then create a tarball of the extra stuff. If you absolutely must use a version of tomcat newer than what is available from any rpm for your distro, use the tomcat tarball from the apache source directly and be sure to bothe remove any rpm version of tomcat and block tomcat from rpm install or update in the configuration file of zypper. I don't know how to block it in SuSE but in RHEL it's done in the /etc/yum.conf file for global repos or blocked specifically by repo in the /etc/yum.repos.d/foo.repo file by adding a line <br>
<br></div>exclude=tomcat<br><br></div>If you absolutely MUST use an rpm, get the src.rpm for the most recent version of tomcat, replace the included tomcat with your source files, hack the spec file to include your post-new-tomcat tarball and change the name of the package to something like special-tomcat-7.0 so you will no longer get a naming conflict. Again, block tomcat as above.<br>
<br></div>Welcome to the world of cutting-edge sysadmin :-) I have found that most times, a little bit of saying "NO!" to using an totally new, unpackaged binary generally results in the requester giving an honest evaluation of what they think they need in terms of capability so the sysadmin can show them the distro package provides enough of their wants to work. Being forced to jump far ahead of the distro in application version also is a good reason to evaluate using a different distro. RHEL is often far off the bleeding edge of some major packages (mainly those with many dense, overlapping dependencies - tomcat, java and apache are prime examples). When I've needed bleeding edge versions, I use a Fedora distro and have pulled in rawhide packages with the understanding that rawhide is not as fully tested/matured as release packages.<br>
<br> <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 11:29 PM, Narahari 'n' Savitha <span dir="ltr"><<a href="mailto:savithari@gmail.com" target="_blank">savithari@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Chuck:<div><br></div><div>Thank You for those answers.</div><div><br></div><div>Now SLES is at Tomcat 6. However there are rpm's and NOT zypper packages for Tomcat 7 from 3rd party sites, is that right ?</div>
<div><br></div><div>rpm's can cause rpm hell but zypper packages are not available for downloads then ?</div><div><br></div><div>can u not tell SLES, here the rpm for tomcat 7 which needs java so go fetch that rpm and install that as well ? yum -i shud do that right ?</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-Narahari</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 10:55 PM, Chuck Payne <span dir="ltr"><<a href="mailto:terrorpup@gmail.com" target="_blank">terrorpup@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Narahari,<br>
<br>
<br>
With SuSE it is best to use Zypper to install to install the app. Yast<br>
is good too, but zypper is best. The only time I won't use Zypper<br>
when you are installing something that in one of the repos, such as<br>
Skype or Google Earth.<br>
<br>
Example of how to use yast to install rpm<br>
<br>
<a href="http://opensuse.terrorpup.net/?p=290" target="_blank">http://opensuse.terrorpup.net/?p=290</a><br>
<br>
<br>
Tomcat for SLE is at 6, like RHEL. If you are wanting to use Tomcat 7,<br>
you will have to down load and install yourself, but keep in mind,<br>
it's not support, because it not in the repo, but there are a enough<br>
website on how to install.<br>
<br>
One to keep in mind. Once you step out the repo and go your own, you<br>
might in dependencies hell. Worse that being in Limbo.<br>
<br>
<a href="http://www.rosehosting.com/blog/how-to-install-tomcat-7-jdk-7/" target="_blank">http://www.rosehosting.com/blog/how-to-install-tomcat-7-jdk-7/</a><br>
<div><br>
On Thu, May 30, 2013 at 10:32 PM, Scott McBrien <<a href="mailto:smcbrien@gmail.com" target="_blank">smcbrien@gmail.com</a>> wrote:<br>
</div><div><div>> There is such a thing as a drpm or Delta RPM, but don't do it. Just repackage the vanilla plus your changes into a full rpm. I would urge you, however, to go with the SLES tomcat and add an additional rpm with your changes. That way you can continue to get updates and the like from SUSE and only have to maintain your extra bits.<br>
><br>
> -Scott<br>
><br>
> On May 30, 2013, at 10:20 PM, "Narahari 'n' Savitha" <<a href="mailto:savithari@gmail.com" target="_blank">savithari@gmail.com</a>> wrote:<br>
><br>
>> Friends:<br>
>><br>
>> On SLES software is installed using rpm. But then you can install the rpm with<br>
>> rpm -iv or yast -i or even zypper (I am not that smart, answer is courtesy Allen)<br>
>><br>
>> My requirement is this<br>
>><br>
>> There is the base tomcat rpm provided on the web which is vanilla version.<br>
>><br>
>> We have gone ahead and customized the tomcat with<br>
>><br>
>> more jars in the lib folder in addition to the existing jars from vanilla version<br>
>> added thirdLibs folder under TOMCAT_HOME (/opt/apache-tomcat-7.0.37)<br>
>> added axisLib under TOMCAT_HOME<br>
>> added wsLib under TOMCAT_HOME<br>
>> modified the .sh file under the bin folder<br>
>> modified the props and xml files under the conf folder<br>
>><br>
>> I am to build an rpm only of the DELTAS.<br>
>><br>
>> Determining the DELTAS is itself a task-at-hand which I will have to resolve some how.<br>
>><br>
>> Once I determine that I plan to .tar.gz that and create an rpm from it.<br>
>><br>
>> creating rpm's is a diff question which I am already working on.<br>
>><br>
>> Is there a higher level packaging than rpm or that rpm is it ?<br>
>><br>
>><br>
>> Thank you for your time and attention.<br>
>><br>
>> -N<br>
>> _______________________________________________<br>
>> Ale mailing list<br>
>> <a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
<br>
<br>
</div></div>--<br>
Terror PUP a.k.a<br>
Chuck "PUP" Payne<br>
<br>
<a href="tel:%28678%29%20636-9678" value="+16786369678" target="_blank">(678) 636-9678</a><br>
-----------------------------------------<br>
Discover it! Enjoy it! Share it! openSUSE Linux.<br>
-----------------------------------------<br>
openSUSE -- <a href="http://en.opensuse.org/User:Terrorpup" target="_blank">en.opensuse.org/User:Terrorpup</a><br>
openSUSE Ambassador/openSUSE Member<br>
Community Manager -- Southeast Linux Foundation (SELF)<br>
skype,twiiter,identica,friendfeed -- terrorpup<br>
freenode(irc) --terrorpup/lupinstein<br>
Register Linux Userid: 155363<br>
<br>
Have you tried SUSE Studio? Need to create a Live CD, an app you want<br>
to package and distribute , or create your own linux distro. Give SUSE<br>
Studio a try. <a href="http://www.susestudio.com" target="_blank">www.susestudio.com</a>.<br>
See you at Southeast Linux Fest, June 7-9, 2013 in Charlotte, NC.<br>
<a href="http://www.southeastlinuxfest.org" target="_blank">www.southeastlinuxfest.org</a><br>
<div><div><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>