Re: tomcat8 for 10.7

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0CqoZNFqmvk2bDoUFSBDVXOm-iSD=jtyZNUS62WTindKw@mail.gmail.com>
Alexander,
     I don't think setting Type: Java will help as the change needs to be
applied in a post install script in the actual deb.
The current packaging I posted seems to work fine. After running…

sudo -u tomcat /sw/bin/tomcat8 start

the url, http://localhost:8080, shows the expected tomcat 8.0.5 welcome
page. Also if execute…

sudo -u tomcat vi /sw/var/tomcat8/conf/tomcat-users.xml

and add the lines…

<role rolename="manager-gui" />
<user username="tomcat" password="s3cret" roles="manager-gui" />

then the administration manager can be accessed at the url,
http://localhost:8080/manager/html
after restarting the tomcat server.
                Jack


On Tue, May 6, 2014 at 10:07 PM, Alexander Hansen <
[email protected]> wrote:

> On 5/6/14, 6:51 PM, Jack Howarth wrote:
>
>> Alexander,
>>           Attached is a first attempt of recrafting the old tomcat6
>> packages in 10.5-EOL into JDK-1.7 based tomcat8 packages.The main
>> change, other than the upgrade to tomcat 8.0.5 is the change
>> to…
>>
>> JAVA_HOME=@JAVA_SDK_HOME@               export JAVA_HOME
>>
>> in the tomcat8.patch so that the PostInstScript can use
>>
>>          # Locate locat Java 1.7 SDK
>>          JDK_LOCATION=`/usr/libexec/java_home`
>>          perl -pi -e "s|\@JAVA_SDK_HOME\@|$JDK_LOCATION|"
>> %p/etc/%N/tomcat.conf
>>
>> to set the proper location for the SDK.
>>        Are there any particular issues with the tomcat6 packaging that I
>> should be aware of?
>>                  Jack
>>
>
>
> No real clue.  I think I tried _using_ it for something a while back but I
> don't know much about the guts of it.
>
> You can probably simplify things a bit because declaring Type: java should
> automatically set JAVA_HOME to be the output from `/usr/libexec/java_home`.
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.