2011-01-07 18 views
7

ibm-web bnd.xmi dosyasını ibm-web bnd.xmi güncellemek için nasıl 7'ye benWebsphere 6.1 ibm-web bnd.xml için Websphere 6'da

<?xml version="1.0" encoding="UTF-8"?> 
<webappbnd:WebAppBinding xmi:version="2.0" 
    xmlns:xmi="http://www.omg.org/XMI" 
    xmlns:webappbnd="webappbnd.xmi" 
    xmi:id="WebAppBinding_1294064796872" 
    virtualHostName="default_host"> 
    <webapp href="WEB-INF/web.xml#WebApp_ID"/> 
    <resRefBindings xmi:id="ResourceRefBinding_1294083767913" jndiName="jdbc/ABC_DEFG"> 
    <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_1294083767913"/> 
    </resRefBindings> 
</webappbnd:WebAppBinding> 

ben yükseltmek istiyorum var Websphere 7'ye ve varsayılan ibm-web-bnd.XML dosyasını kullanın, ancak nasıl güncelleyeceğimi bilmiyorum ... birileri fikir verebilir. TEŞEKKÜRLER

<?xml version="1.0" encoding="UTF-8"?> 
    <web-bnd xmlns="http://websphere.ibm.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-web-bnd_1_0.xsd" 
    version="1.0"> 

    <virtual-host name="default_host" /> 

<!--WHAT TO PUT HERE FOR jdbc/ABC_DEFG --> 

    </web-bnd> 

cevap

11

Sen web.xml''deki gelen ResourceRef_1294083767913 dörtlük bulmak gerekecek.

Bu durumda
<resource-ref> 
    <res-ref-name>jdbc/myResRef</res-ref-name> 
    ... 
</resource-ref> 

, sen ibm-web bnd.xml bu maddeyi eklersiniz:

<resource-ref name="jdbc/myResRef" binding-name="jdbc/ABC_DEFG"/> 

InfoCenter konu EJB 3.0 application bindings overview, aslında XML bağlantıları açıklar Bu biçiminde olmalıdır ibm-ejb-jar.xml, ibm-web-bnd.xml ve ibm-application-client-bnd.xml için biçim.

İlgili konular