Although it describes adding a war and not an ear, this documentation 
may be of help:

http://kb.atlassian.com/content/orionsupport/articles/addwebapp.html

Just change application="default" to application="Metricas" in you 
default-web-site.xml file.

Cheers,
Scott

Montiel, Erika wrote:
> Hi, I tried to deploy a .war file
> in the application server. I asummed that
> when I deploy the .ear file the war is intalled, 
> but when I tried to run a servlet I can doit
> 
> Could somebody help me with this?
> 
> Thanks a lot
> 
> I modified the server.xml and looks like this
> <?xml version="1.0"?>
> <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion
> Application-server//EN"
> "http://xmlns.oracle.com/ias/dtds/application-server.dtd";>
> 
> <application-server application-directory="../applications"
>  deployment-directory="../application-deployments"
> 
>       <library path="../tools.jar" />
>       <rmi-config path="./rmi.xml" />
>       <jms-config path="./jms.xml" />
>       <log>
>               <file path="../log/server.log" />
>       </log>
>       <transaction-config timeout="30000" />
>       <global-application name="default" path="application.xml" />
>       <application name="Metricas"
> path="C:\j2ee\home\applications\Metricas.ear" auto-start="true" />
>       <global-web-app-config path="global-web-application.xml" />
>       <web-site path="./default-web-site.xml" />
>       <cluster id="-374524965" />
> </application-server>
> 
> 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
      Supporting YOUR J2EE World



Reply via email to