Groups > Weblogic > WebLogic application deployment > Re: Problem deploying simple EAR




Re: Problem deploying simple EAR

Re: Problem deploying simple EAR
Wed, 26 Mar 2008 05:56:33 -070
You may want to ask in the weblogic.developer.interest.workshop newsgroup

<Jay O'Connor> wrote in message news:300015333@newsgroups.bea.com...
The situation seems that my config.xml for my local domain on my own box has 
the path informaiton for the components (beehive-controls.xml) which is 
installed by Eclipse with ("Publish") but the config.xml for my domain
on my 
target test machine does not have that information.  The samples have 
config.xml files similar to my local copy (with he extra entries) so I'm 
wondiering the best way to update the config.xml to get it to 'see' those 
modules...

Example:

Here's from the samples/workshop/config/config.xml on the destination 
machine

<library>
    <name>weblogic-controls-10.0#10.0@10.0</name>
    <target>cgServer</target>
   
<source-path>/home/bea/wlserver_10.0/common/deployable-libraries/weblogic-
controls-10.0.ear</source-path
>
    <sub-deployment>
      <name>WlwRuntimeAppScopedJMS</name>
      <target>cgServer</target>
      <sub-deployment>
        <name>cgJMSServer</name>
        <target>WseeJmsServer</target>
      </sub-deployment>
    </sub-deployment>
    <deployment-order>1</deployment-order>
  </library>

Here's from my local config.xml for my local testing

  <library>
    <name>weblogic-controls-1.0#1.0@1.0</name>
    <target>AdminServer</target>
   
<source-path>/Users/Freep/Development/bea/wlserver_10.0/common/deployable-
libr
aries/weblogic-controls-1.0.ear</source-path>
    <sub-deployment>
      <name>WlwRuntimeAppScopedJMS</name>
      <target>AdminServer</target>
      <sub-deployment>
        <name>cgJMSServer</name>
        <target>WseeJmsServer</target>
      </sub-deployment>
    </sub-deployment>
    <deployment-order>1</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
  </library>
----

However the config.xml for my own domain (on the target box) does not have 
the needed <library> entries...

Should I just  manually edit the config.xml file? Or is there a better way 
of bringing those libraries in

Note that I am deploying by exporting an EAR from Eclipse and uploading it 
Post Reply
about | contact