hi,
I tried this but hit bug
TOMEE-507<https://issues.apache.org/jira/browse/TOMEE-507> then
I followed the proper liferay
instructions<http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen11-installing-liferay-on-tomcat-7-0>a
little better.

I think the workaround in the end that helped me was:
The latest tomee didn't like that I used
`$TOMCAT_HOME/conf/Catalina/localhost and create a ROOT.xml`  but prefered
that I put the  crossContext="true" in : `TOMCAT_HOME/conf/context.xml`

<?xml version='1.0' encoding='utf-8'?>
    <Context crossContext="true">

        <!-- Default set of monitored resources -->
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>
http://piotrnowicki.com/2011/01/accessing-web-application-resources-from-different-context/

regards

On 26 May 2012 12:31, Neale Rudd <[email protected]> wrote:

> Hi Guys,
>
> I just got Liferay running on TomEE so wanted to let you know that it all
> seems to run fine!
>
> This is what I did:
> - downloaded "liferay bundled with tomcat" edition
> - used an existing tomee 1.0.0 instance (May23 snapshot)
> - copied liferay/tomcat/lib/ext to tomee/lib (I tried tomee lib/ext first
> but it didn't like that for some reason)
> - copied liferay/tomcat/lib/el-api.lib to tomee/lib (there were 3
> additional libs total, ecj-3.7.jar, el-api.jar and annotations-api.jar but
> tomee had ecj and annotations already)
> - copied liferay/tomcat/conf/Catalina/localhost/ROOT.xml to tomee (I'd
> prefer they put that in webapps/ROOT/META-INF/context.xml but oh well)
> - copied liferay/tomcat/webapps/* folder to tomee (it has all the
> examples, made sure I preserved the /tomee app in there)
>
> Started it up, crossed my fingers, waited a long time because the default
> bundle already has everything compiled in /work.....
>
> Then got asked for a username, password, and email address to use, and now
> I'm playing with the sample ROOT app :-)
>
> David maybe you can ask Liferay to do a TomEE bundle?   They do Tomcat,
> Resin, Glassfish, etc.. already.
>
> Best Regards,
> Neale Rudd
> Metawerx Java Hosting
> www.metawerx.net
>



-- 
✝ Marius

Reply via email to