How to edit web.xml deployment descriptor from console in weblogic 8.1?

In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
console, but on weblogic 8.1 I can't find a way to do so.
Is this function taken out? Why is it taken out? Do I have an alternative to edit
it without unpacking and packing the EAR or WAR?
Thanks in advance.
Bill

In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
console, but on weblogic 8.1 I can't find a way to do so.
Is this function taken out? Why is it taken out? Do I have an alternative to edit
it without unpacking and packing the EAR or WAR?
Thanks in advance.
Bill

Similar Messages

  • How to Edit a XML data file from AS3 class...

      Hi...
                 I need to edit an XML data file I have at the exit of application.... I have a demo code which is not working....
    This is the code :
    public function UpdateData():void
                   trace("Closing....");
                   var FileData:XML=<Hello>Hai</Hello>
                   var urlLdr:URLLoader = new URLLoader();
                   var urlRqst:URLRequest = new URLRequest ("AppData.xml");
                   urlRqst.data=FileData;
                    urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                   urlLdr.load(urlRqst);
    This AppData file already exist and has some data in it.
        Plus :
       How to find the application is exiting.

    use:  fscommand('Quit');
    to exit your app.
    and this is how you would use the urlloader class to save data:
    public function UpdateData():void
             trace("Closing....");
              var FileData:XML=<Hello>Hai</Hello>
    var urlVar:URLVariables=new URLVariables();
    urlVar.fileData=FileData;
                var urlLdr:URLLoader = new URLLoader();
               var urlRqst:URLRequest = new URLRequest ("this must be an executable to parse and write data");
               urlRqst.data=urlVar;
               urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                  urlLdr.load(urlRqst);
    but i don't think you can use an executable on a fl4 device so you will need to use a different class.  i don' know how you're storing an xml file on a fl4 device but you should be able to use the sharedobject to read and store xml.

  • The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing

    Hello,
    I want to create web service from ejb but everytime I want to do it, I get the following error:
    I'm using NWDS 7.2 and JDK 1.6
    [004]Deployment aborted
    Settings
    SDM host : XXX
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/XXXX/LOCALS1/Temp/temp3760382784932063822XXXWSProjectEar.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/XXX/LOCALS1/Temp/temp3760382784932063822XXX/WSProjectEar.ear
    Aborted: development component 'XXXWSProjectEar'/'sap.com'/'localhost'/'2011.01.06.15.48.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XXXWSProjectEar.. Reason: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing. ; nested exception is:      com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Can anyone tell me why am I getting this error.
    Thnx for your help.
    Best regards.

    Hello Decio Junior,
    Actually yes, I resolved my problem.
    I'm developing an EJB 3.0 project. I'm using NWDS 7.2 and JDK 1.6 as I said.
    The problem is that my server was using JDK 1.4 and that was the problem.
    EJB 1.1 and 2.1 need ejb-jar.xml but EJB 3.0 use the annotations instead.
    Check your server JDK Version. It should be JDK 1.5 or higher.
    Something else that you should check, in your project properties :
    In the Build PATH : Use JDK 1.5
    In the Java Compiler : Set the java compiler compliance level to 1.6 and check use default compliance settings
    Hope it would help.
    If you need more explanations, I'm here
    Good luck.

  • Edit web.xml programmatically

    And another question
    Can I edit the web.xml from the web application, in session been for example. I want the admin user to add roles from the web application page and grant them to users.
    Then it should be created automatically in the database
    and in web.xml.
    Maybe it is possible to add it in data base but not to web.xml.
    is there a way?
    Thank you, I hope to get answers soon from you.

    There probably are options to do this, but all of them(the ones i know of atleast), are either too cumbersome or an over-kill.
    Why do you want to add security roles/grants for "users" in your "web.xml" ? Apart from compromising security, I think your definitely going to violate some standard there.
    As a general note: In the end, all xml files are parsed and converted to beans. XML files merely are a place holder for convenience. If required you can figure out the bean holding this information and accordingly change the info it.
    Alternatively if you're still persistent in adding this security information on your web.xml the only plausible way i can think of is old-school. Get a file writer and add/edit this info. But this idea is too crazy to even suggest.
    Best suggestion: Design your application in such a way, so as to pick the info from a DB and accordingly handle.
    Cheers,
    K

  • How should my web.xml be ?

    Hi,
    I have a servlet application. In my application, I make a call to my servlet through my index.html as follows:
    <Form Action="/greeting/servlet/GreetingServlet" method="POST">
    I also pass the values "name" and "email" through index.html
    I have my servlet located at "D:\Amith\Servlet Applications\greeting\WEB-INF\classes"
    I have added following lines in my server.xml
    <Context path="/greeting" docBase="D:\Amith\Servlet Applications\greeting">
    </Context>
    The application runs fine with Tomcat 3.3.2 without web.xml
    But when i try to run the application with Tomcat 5.0.24, I get the error
    "HTTP Status 404 - /greeting/servlet/GreetingServlet"
    Can anyone help me with this. Should i have web.xml for this. If yes, how should my web.xml be ?
    Please help, I am unable to solve this problem from a very long time. I am really struck !!!
    Thanks,
    ammi

    <web-app xmlns = "http://java.sun.com/xml/ns/j2ee" version = "2.4">
    <servlet>
         <servlet-name>GreetingServlet</servlet-name>
         <servlet-class>project.image.DynamicImageServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>GreetingServlet</servlet-name>
         <url-pattern>/greeting/servlet/GreetingServlet</url-pattern>
    </servlet-mapping>
    </web-app>the servlet-class tag should contain the package where your servlet .class file is held. Just omit my one

  • XML Deployment Descriptor question

    I am upgrading from WebLogic 4.5.1 to WebLogic 5.1 on Solaris 2.6. I
    have several entity beans. I created XML deployment descriptors by
    running the DDConverter, then splicing the resulting files together (I
    had several entity beans in one directory). I've gotten past all the
    problems except this last one. I get the following errors from ejbc
    when I try to compile:
    ERROR: Error from ejbc: Bean provided to WebLogic RDBMS CMP system is
    invalid.
    Please examine the following exceptions for specific problems:
    0: An unknown error occurred while parsing the Weblogic CMP RDBMS
    deployment descriptor. Check that the deployment descriptor contains
    well-formed and valid XML.
    I've checked the weblogic-cmp-rdbms-jar.xml file, compared it to the
    examples, and can't find anything wrong with it. However, the WebLogic
    examples don't have an example with multiple entity beans in a jar (can
    this be done?). Here is the resulting xml file:
    <!DOCTYPE weblogic-rdbms-bean PUBLIC
    "-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB RDBMS Persistence//EN"
    "http://www.bea.com/servers/wls510/dtd/weblogic-rdbms-persistence.dtd">
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Address</table-name>
    <attribute-map>
    <object-link>
    <bean-field>entity</bean-field>
    <dbms-column>Entity</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>name</bean-field>
    <dbms-column>Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>File_Cabinet</table-name>
    <attribute-map>
    <object-link>
    <bean-field>folderContainer</bean-field>
    <dbms-column>Folder_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>maxCapacity</bean-field>
    <dbms-column>Max_Capacity</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list>
    <finder>
    <method-name>findByHomeDomain</method-name>
    <method-params>
    <method-param>Long</method-param>
    </method-params>
    <finder-query><![CDATA[(= homeDomain $0)]]></finder-query>
    </finder>
    </finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Folder</table-name>
    <attribute-map>
    <object-link>
    <bean-field>documentContainer</bean-field>
    <dbms-column>Document_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>name</bean-field>
    <dbms-column>Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>parentFolder</bean-field>
    <dbms-column>Parent_Folder</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>fileCabinet</bean-field>
    <dbms-column>File_Cabinet</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Origination_Activity</table-name>
    <attribute-map>
    <object-link>
    <bean-field>homeInterface</bean-field>
    <dbms-column>Home_Interface</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>type</bean-field>
    <dbms-column>Type</dbms-column>
    </object-link>
    <object-link>
    <bean-field>packageSpec</bean-field>
    <dbms-column>Package_Spec</dbms-column>
    </object-link>
    <object-link>
    <bean-field>url</bean-field>
    <dbms-column>Url</dbms-column>
    </object-link>
    <object-link>
    <bean-field>name</bean-field>
    <dbms-column>Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>displayable</bean-field>
    <dbms-column>Displayable</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list>
    <finder>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>String</method-param>
    </method-params>
    <finder-query><![CDATA[(= name $0)]]></finder-query>
    </finder>
    </finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Package</table-name>
    <attribute-map>
    <object-link>
    <bean-field>forwardIndicator</bean-field>
    <dbms-column>Forward_Indicator</dbms-column>
    </object-link>
    <object-link>
    <bean-field>archiveFlag</bean-field>
    <dbms-column>Archive_Flag</dbms-column>
    </object-link>
    <object-link>
    <bean-field>beenReadFlag</bean-field>
    <dbms-column>Been_Read_Flag</dbms-column>
    </object-link>
    <object-link>
    <bean-field>deleteTimestamp</bean-field>
    <dbms-column>Delete_Timestamp</dbms-column>
    </object-link>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>sentBy</bean-field>
    <dbms-column>Sent_By</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>patientName</bean-field>
    <dbms-column>Patient_Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>type</bean-field>
    <dbms-column>Type</dbms-column>
    </object-link>
    <object-link>
    <bean-field>folderName</bean-field>
    <dbms-column>Folder_name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>importanceLevel</bean-field>
    <dbms-column>Importance_Level</dbms-column>
    </object-link>
    <object-link>
    <bean-field>creationTimestamp</bean-field>
    <dbms-column>Creation_Timestamp</dbms-column>
    </object-link>
    <object-link>
    <bean-field>sentTimestamp</bean-field>
    <dbms-column>Sent_Timestamp</dbms-column>
    </object-link>
    <object-link>
    <bean-field>sentOnBehalfOf</bean-field>
    <dbms-column>Sent_On_Behalf_Of</dbms-column>
    </object-link>
    <object-link>
    <bean-field>sentToAddrContainer</bean-field>
    <dbms-column>Sent_To_Addr_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>ccToAddrContainer</bean-field>
    <dbms-column>CC_To_Addr_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>subject</bean-field>
    <dbms-column>Subject</dbms-column>
    </object-link>
    <object-link>
    <bean-field>text</bean-field>
    <dbms-column>Text</dbms-column>
    </object-link>
    <object-link>
    <bean-field>parentFolder</bean-field>
    <dbms-column>Parent_Folder</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>readBy</bean-field>
    <dbms-column>Read_By</dbms-column>
    </object-link>
    <object-link>
    <bean-field>modifiedTimestamp</bean-field>
    <dbms-column>Modified_Timestamp</dbms-column>
    </object-link>
    <object-link>
    <bean-field>readTimestamp</bean-field>
    <dbms-column>Read_Timestamp</dbms-column>
    </object-link>
    <object-link>
    <bean-field>packageSize</bean-field>
    <dbms-column>Package_Size</dbms-column>
    </object-link>
    <object-link>
    <bean-field>creator</bean-field>
    <dbms-column>Creator</dbms-column>
    </object-link>
    <object-link>
    <bean-field>lastModifier</bean-field>
    <dbms-column>Last_Modifier</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Package_Spec</table-name>
    <attribute-map>
    <object-link>
    <bean-field>templateContainer</bean-field>
    <dbms-column>Template_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>type</bean-field>
    <dbms-column>Type</dbms-column>
    </object-link>
    <object-link>
    <bean-field>destinationAddrContainer</bean-field>
    <dbms-column>Destination_Addr_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Service_Activity</table-name>
    <attribute-map>
    <object-link>
    <bean-field>serviceContainer</bean-field>
    <dbms-column>Service_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeInterface</bean-field>
    <dbms-column>Home_Interface</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>type</bean-field>
    <dbms-column>Type</dbms-column>
    </object-link>
    <object-link>
    <bean-field>url</bean-field>
    <dbms-column>Url</dbms-column>
    </object-link>
    <object-link>
    <bean-field>name</bean-field>
    <dbms-column>Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Service</table-name>
    <attribute-map>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>packageSpec</bean-field>
    <dbms-column>Package_Spec</dbms-column>
    </object-link>
    <object-link>
    <bean-field>name</bean-field>
    <dbms-column>Name</dbms-column>
    </object-link>
    <object-link>
    <bean-field>destAddrContainer</bean-field>
    <dbms-column>Dest_Addr_Container</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Xml_Default_Doc</table-name>
    <attribute-map>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>docSize</bean-field>
    <dbms-column>Doc_Size</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>text</bean-field>
    <dbms-column>Text</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Xml_Doc_Template</table-name>
    <attribute-map>
    <object-link>
    <bean-field>dtdOid</bean-field>
    <dbms-column>DTD_OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>viewStyleSheetOid</bean-field>
    <dbms-column>View_Style_Sheet_OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>defaultDocOid</bean-field>
    <dbms-column>Default_Doc_OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>editStyleSheetOid</bean-field>
    <dbms-column>Edit_Style_Sheet_OID</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Xml_Dtd</table-name>
    <attribute-map>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>docSize</bean-field>
    <dbms-column>Doc_Size</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>version</bean-field>
    <dbms-column>Version</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>text</bean-field>
    <dbms-column>Text</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <pool-name>H2HPool</pool-name>
    <table-name>Xml_Stylesheet</table-name>
    <attribute-map>
    <object-link>
    <bean-field>title</bean-field>
    <dbms-column>Title</dbms-column>
    </object-link>
    <object-link>
    <bean-field>docSize</bean-field>
    <dbms-column>Doc_Size</dbms-column>
    </object-link>
    <object-link>
    <bean-field>homeDomain</bean-field>
    <dbms-column>Home_Domain</dbms-column>
    </object-link>
    <object-link>
    <bean-field>version</bean-field>
    <dbms-column>Version</dbms-column>
    </object-link>
    <object-link>
    <bean-field>owner</bean-field>
    <dbms-column>Owner</dbms-column>
    </object-link>
    <object-link>
    <bean-field>text</bean-field>
    <dbms-column>Text</dbms-column>
    </object-link>
    <object-link>
    <bean-field>oid</bean-field>
    <dbms-column>OID</dbms-column>
    </object-link>
    </attribute-map>
    <finder-list></finder-list>
    <options>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    </options>
    </weblogic-rdbms-bean>
    Have Fun!
    Lea Anne Troeger
    Software Engineer
    Telesynthesis, Inc.
    [email protected]

    There is one pool per RA (ra.xml/weblogic-ra.xml). One way to get almost what I think you
              are after is to use the <ra-link-ref> facility in WLS 6.1.
              HTH.
              YiQing Yang wrote:
              > Hi there,
              >
              > I have a question about connector. In weblogic-ra.xml Deployment Descriptor, you
              > define the parameters for connection factory and connection pool. Can you only
              > define one connection factory and connection pool or you can define more than
              > one? In other words, for each deployed connector, can it have more than one connection
              > pool?
              > Your help is appreciated.
              >
              > Thanks,
              >
              > YiQing Yang
              Tom Mitchell
              [email protected]
              Very Current Beverly, MA Weather
              http://www.tom.org:8080
              

  • How to edit a converted Word Document from a PDF file

    how to edit a converted Word Document from a PDF file

    Hi Edit Converted Word Doc,
    What's happening when you try to edit the file? Have you tried triple-clicking in the text block that you want to edit?
    Please let us know what sort of trouble you're running into. It would also be helpful to know how the PDF file was created, and what version of Word you're using.
    Best,
    Sara

  • How to edit an XML format report in Report 10G

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

  • How to generate web.xml automatically?

    Hi all!
    I am new to servlets. I have configured the tomcat 5.5.9 with eclipse 3.0 succussfully. It is generating the class files. But I want to know how to generate web.xml through it.
    Thanks in advance...
    Code Snooker

    AFAIK, there's no template for generating web.xml.
    Navigate to <TomcatInstallDir>/webapps/
    You would find lot of directories - each one being a web application.
    Navigate to any one, say ROOT and then to the WEB-INF directory
    under that.
    You would find a web.xml.
    Copy it into your <web-application-dir>/WEB-INF folder and make necessary changes
    cheers,
    ram.

  • How to upload and download any file from plsql through weblogic server

    hi all,
    how to upload and download any file from plsql through weblogic server? i am using oracle 10g express edition and jboss.
    Thanks and Regards,
    MSORA

    hi bala ,
    for a windown server u can use VNC (virtual network connection) which opens a session on u r desktop later u can drag and drop form there vice versa and for a linux box you can use Win SCP which helps to open a session with interface to u r desktop in both cases you can upload and down load files very easiy just as we drag and drop items in a simple pc .. we use the same technique...
    bye
    vamshi

  • Edit env-entry values from web.xml in the WLS console.

    Hi guys!
    Is it possible to define JNDI variables of type java.lang.String using WLS Console?
    Thanks

    I think this would require the use of a deployment plan, which you can learn about here: [http://e-docs.bea.com/wls/docs103/deployment/config.html] . This won't be as convenient as just editing the value directly in the admin console. In fact, it won't even prevent the requirement of redeploying the webapp. It will only allow you to make the change without rebuilding and repackaging the webapp.
    It's questionable whether it's practical or meaningful to change env-entry values in a web.xml without redeployment, because even if you could change the values without redeploying, you'd have to reinitialize the servlet/filter with the changed environment parameter.
    If you really need this dynamic reconfiguration ability, you might have to design the facility into your application, using some sort of polling or event handling capability.

  • Re: how to recover web.xml after editing by word?

    Do you seriously think that there's a way to reconstruct the full XML from these tiny pieces of information? One can guess, but it builds down to re-writing the web.xml
    Your best bet is to get the last version of that file from your [version control system|http://en.wikipedia.org/wiki/Revision_control]. You surely use one, right? And if you don't, then you now know why you should be using one.

    xzeng wrote:
    Thanks. Fortunately I got a web.xml with similar format from other's folder.
    It is terrible. All the tabs in web.xml are missing and changed into microsoft word's tabs. Be careful.We are. We would never ever ever use Word as a text editor and we use a version control system.

  • Editing web.xml OR weblogic.xml programmatically

    Hi there,
    I am trying to edit the web.xml and weblogic.xml programmatically. I am trying to load the above deployment descriptors in DOM object. But as DTD is mentioned externally, connection to URL is failing.
    But weblogic.jar contains all DTD in local machine. Is there any way to make parser to refer DTD in weblogic.jar. Or any weblogic API available to edit the deployment descriptors programatically.
    Thanks in advance.
    I am getting following error.
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
    ction.java:512)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
    .java:489)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:617)
    at java.net.URL.openStream(URL.java:913)
    at weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityMan
    ager.java:836)
    at weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntity
    Manager.java:796)
    at weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDSc
    annerImpl.java:275)
    at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.disp
    atch(XMLDocumentScannerImpl.java:841)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt(XMLDocumentFragmentScannerImpl.java:329)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:525)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:581)
    at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at weblogic.apache.xerces.parsers.DOMParser.parse(DOMParser.java:257)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:201)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151)
    at JAXPandDOM.main(JAXPandDOM.java:39)

    I believe you could get around this with a custom EntityResolver. It's possible that Tomcat does something like this.
    However, I would question why you are trying to do this. If your container is set to Development mode, you might get away with the container automatically reloading your changes, but it certainly won't happen in Production mode, and even in Development mode, I don't know that I could predict how that would work.
    You'd be better off, with respect to portability and flexibility, if you store dynamic resources in an external file, not in the web.xml or weblogic.xml file. You could have a timed "watcher" for the file, to see when it's modified.

  • XML deployment descriptor generation

    How to let OC4J automatically generate ejb-jar.xml, orion-ejb-jar.xml, web.xml for me? It is a nightmare to write these deployment descriptor by hand.
    By the way, I know that JDeveloper can generate this for us, but I am not using JDeveloper 9i. Can we just let OC4J generate these files for us?
    Thanks.

    How to let OC4J automatically generate ejb-jar.xml, orion-ejb-jar.xml, web.xml for me? It is a nightmare to write these deployment descriptor by hand.
    By the way, I know that JDeveloper can generate this for us, but I am not using JDeveloper 9i. Can we just let OC4J generate these files for us?
    Thanks. Hi,
    there is no way (so far as I know) that an J2EE Application server (what oc4j is) makes the deployment descriptors, that's why they are called deployment descriptors, without them you can't deploy on any Application server.
    I personally use JDeveloper, but most current JAVA IDE's support generation of deployment descriptors.
    Basically my approach is to define the architecture within Rational Rose, which generates for me the stubs for the classes and for every ejb a deployment descriptor, later I copy all of them into one ejb-jar.xml and open the whole bunch with JDeveloper, it works fine with 903 preview, although there are some problems with the 902 version of JDeveloper.
    Which IDE are you using?
    --hery                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do I read  the Deployment descriptor throw my application?

    Hi
    There is a need for me to read attributes in the Deployment descriptor through my application.
    How may I do that? I don't want to use a Parsa to read the XML file and get the attributes..
    Is there any other way?
    thanks
    Sanesh

    All attributes or just the context parameters?
    For example:
    <context-param>
    <param-name>dbDriverName</param-name>
    <param-value>org.gjt.mm.mysql.Driver</param-value>
    <description>The database driver being used</description>
    </context-param>
    Could be read from your servlet with:
    String dbDriverName = servletContext.getInitParameter("dbDriverName");
    But if you'd like to get out the servlet mappings or anything else I guess you have to read and parse the file. There was a method called getServletNames() in the servlet context but that's deprecated now.

Maybe you are looking for