Hello all, I'm looking for an example of a configuration how to deploy
an .ear to a certain virtual host.

Lets say that the virtual host is called test.example.tld and my
enterprise application arhive is called foobar.ear.

At the moment I have the app in the exploded form and later wrapped up
into an .ear. I'd really appreciate to hear an example of both of these
configurations.

This is what I've come up this far:

     <host id='test.example.tld'>
         
<root-directory>C:/Java/resin-pro-3.0.20/deploy/_ear_foobar</root-directory>

         <web-app id="/">
             <document-directory>./webapps/foobar</document-directory>
         </web-app>

         <log name="" level="all" path="stdout:" timestamp="[%H:%M:%S.%s]"/>

         <class-loader>
             <compiling-loader path="./webapps/foobar/WEB-INF/classes"/>
             <library-loader path="./webapps/foobar/WEB-INF/lib"/>
         </class-loader>

         <!-- :TODO: Broken
              <web-app-deploy path="./webapps/foobar"/>
         -->

         <ear-deploy path=".">
             <ear-default>
                 <ejb-server/>
             </ear-default>
         </ear-deploy>
     </host>

I'm having problems with the class loader as EJBs aren't recognized as I
get java.lang.NoClassDefFoundErrors when the webapp is trying to use EJBs.

TIA,

-- Tero



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to