EJBs Missing in appplication.xml

Hi,
I have a model and a view project in the same workspace and selected both on an EAR deployment profile, but the EJB jar is not listed in the application.xml. What could I be missing to not include the ejb module? I can't access the beans and don't believe they are being deployed due to the ommission. The jar file is included in the EAR.
application.xml
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE application (View Source for full doctype...)
<application>
<display-name>unwyEAR</display-name>
<module>
<web>
<web-uri>unwyWebApp.war</web-uri>
<context-root>unwy</context-root>
</web>
</module>
</application>

I know that needs to be added, but I want to have JDev deploy it. I believe the application.xml is being created at deploy time. I'm trying to determine how to have this handled through JDeveloper. Thanks.

Similar Messages

  • Attribute "action" missing or wrong XML structure

    Does anyone know what's the problem of below XML format ?   I want to triggle a stored procedure in AS/400 from SAPXI after receiving records.  But the message "No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)" is found
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_t1 xmlns:ns0="http://cxx.xxx.hk/zxxxpxx/jdbc">
       <storedProcedurename>
          <action>EXECUTE</action>
          <table>LIBRARY.PROCNAME</table>
          <TRNX_TYPE IsInput="true" TYPE="CHAR">content 1</TRNX_TYPE>
          <TRNX_NO IsInput="true" TYPE="CHAR">content 2</TRNX_NO>
       </storedProcedurename>
    </ns0:MT_t1>

    Dear all,
    Thanks for your help and now I can submit a stored procedure via SAP XI by using below XML format.  I try to define two output parameters at the end of this XML. How to get the return value ? Should I define a response message type ? and what is the XML format ?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SYN_t1 xmlns:ns0="http://xxx.xxu.hk/zxxxpgs/jdbc">
       <update>
          <storedProcedurename action="EXECUTE">
             <table>LIBRARY.PANSYTEST</table>
             <TRNX_TYPE IsInput="TRUE" TYPE="CHAR">4</TRNX_TYPE>
             <TRNX_NO IsInput="TRUE" TYPE="CHAR">2</TRNX_NO>
             <ACTIN IsInput="TRUE" TYPE="CHAR">23</ACTIN>
             <RCRT_DATM IsInput="TRUE" TYPE="CHAR">3</RCRT_DATM>
             <RCRT_USER IsInput="TRUE" TYPE="CHAR">8</RCRT_USER>
             <STUD_ID IsInput="TRUE" TYPE="CHAR">8</STUD_ID>
             <AWD_SEQ IsInput="TRUE" TYPE="CHAR">6899</AWD_SEQ>
             <AW_PSDATE IsInput="TRUE" TYPE="CHAR">89</AW_PSDATE>
             <AW_PEDATE IsInput="TRUE" TYPE="CHAR">99</AW_PEDATE>
             <OUT_TRNX_TYPE IsOutput="TRUE" TYPE="CHAR">4</OUT_TRNX_TYPE>
             <OUT_TRNX_NO IsOutput="TRUE" TYPE="CHAR">2</OUT_TRNX_NO>
          </storedProcedurename>
       </update>
    </ns0:MT_SYN_t1>

  • Pages file is missing its index.xml file?

    all the "pages" files which i have created on my computer recently are saying that they have the file is missing its "index.xml"
    im freaking out because i have two uni assignemnts due and both files aren't opeing!
    help!
    i have opened the content of the file.. and all other places are telling me there should be a file called index.zip, in there and to rename it as .pages or to copy off and re open it, or to rename it as zip.xml and try again...
    nothing is working

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Missing application web.xml

    hi,
    tomcat loads my application but then does not recognise the web.xml file i have placed in WEB-INF folder of my application, resulting in:
    missing application web.xml, using defaults only.
    can anyone tell me how to go about resolving this.
    Cheers,
    dswill

    If you are using the application which uses web.xml data then if your application is getting loaded then that means that it is using your web.xml.
    But you r saying that it is using some defaults. so please check whether there is some comments continued and not allowed to using your tags.ie., whether our code is commented.

  • ejb-name into web.xml automatically

    Hello all,
    I follow the OC4J's tutorial in >>Servlet Developer's Guide<< using Jdeveloper 903.
    there is an EJB session bean named HelloBean.
    From UML Diagram, I can get it, and write the HelloServlet.java to invoke session bean.
    now it is Ok. Jdeveloper online help says that EJB reference <ejb-ref> can be written into web.xml file,
    but it doesn't do it. I manually insert <ejb-ref>...</ejb-ref> into web.xml.
    and change <ejb-name> and <ejb-ref-name> in ejb/HelloBean.
    I want to know how to do this automatically by Jdeveloper 903.
    and how to change session bean's <ejb-name> from HelloBean into ejb/HelloBean?
    Thanks.
    Wu JianHua.

    Automatic insertion of ejb-ref in web.xml whenever EJB dependencies are included in WAR deployment profile.
    Select Tools | Preferences
    Select Deployment in the left hand tree
    Select the check box for "Automatically Fill in <ejb-ref> elements in web.xml
    You can hit F1 hel on the above panel to view the help.
    From help system
    Automatically Fill In <ejb-ref> Elements in web.xmlBy default, JDeveloper automatically inserts corresponding elements to the web module deployment descriptor file, web.xml, whenever EJB dependencies are included in the WAR profile. If an EJB dependency is subsequently removed, however, JDeveloper will leave the elements in web.xml instead of removing them. Clear this checkbox to disable automatic insertion of elements in the web.xml file. Clearing this field prevents extraneous <ejb-ref> elements from appearing in the web.xml. However, do this with caution, since you'll have to make sure that the web.xml file is complete and accurate before deployment.
    raghu
    JDev Team

  • Missing sun-web.xml

    Starting yesterday, when I export a war file for my project, the sun-web.xml file is missing from the exported war file. I need to manually pack the sun-web.xml file into the war file before deploy it to the App server. Any idea why this is happening and how to avoid it?

    Hi
    The reason behind missing sun-web.xml when you "Export War" is to create a war file that should be portable across different containers.
    If it includes container specific DD (sun-web.xml for ex. AS8 PE) when you "Export War" then it causes problems when you deploy this war file to a different container (for ex S1WS 6.x ) which uses the same name for its DD but with different contents.
    Hope this explains why sun-web.xml was not included in war file.
    Thanks
    Srinivas
    Creator Support

  • Not missing NULLs from XML output

    I create XML output for the table having some NULL values, like
    with t as
    select 'A' field1 , 1 field2 from dual
    union
    select 'A' field1 , null field2 from dual
    union
    select 'A' field1 , 3 field2 from dual
    union
    select 'B' field1 , null field2 from dual
    select
    XmlElement("TOP",
    XmlAgg(
    XmlElement("DOWN",
    XmlForest(field1, field2))))
    .extract('/*').getstringval() xml_string
    from t
    XML_STRING
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
      </DOWN>
    </TOP>How can I avoid missing nulls from XML? I.e. I need this:
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2></FIELD2>
    </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
        <FIELD2></FIELD2>
      </DOWN>
    </TOP>Thanks!

    Is this fine?
    sql> with t as
      2  (
      3  select 'A' field1 , 1 field2 from dual
      4  union
      5  select 'A' field1 , null field2 from dual
      6  union
      7  select 'A' field1 , 3 field2 from dual
      8  union
      9  select 'B' field1 , null field2 from dual
    10  )
    11  select
    12  XmlElement("TOP",
    13  XmlAgg(
    14  XmlElement("DOWN",
    15  xmlelement(field1,field1),
    16  xmlelement(field2,field2)
    17  )))
    18  .extract('/*').getstringval() xml_string
    19  from t;
    XML_STRING
    <TOP>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>1</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2>3</FIELD2>
      </DOWN>
      <DOWN>
        <FIELD1>A</FIELD1>
        <FIELD2/>
      </DOWN>
      <DOWN>
        <FIELD1>B</FIELD1>
        <FIELD2/>
      </DOWN>
    </TOP>

  • Missing characters in XML-result

    Hi all,
    on 23-12-1999 Vadim posted the following message. He did not get a satisfactory answer and as i have the same problem when using dbms_output (both in SQL+ and with TOAD) i post this one again.
    The problem is that a character is missing and the text after this missing character starts on a new line. This way i can't use the XML.
    Thanks, Bart
    Hi, I'm trying to run an example from SQLUtility document to generate an XML from
    sqlString = 'SELECT * FROM SCOTT.EMP';
    Generated XML CLOB looks like the one below, being cut in the middle. Any suggestions are appreciated.
    Thanks, Vadim
    <?xml version="1.0"?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>7369</EMPNO>
    <ENAME>SMI
    </ENAME>
    </ROW>
    </ROWSET>
    null

    Hi,
    The CLOB will have the correct result. It is probably the DBMS_OUTPUT which is cutting it out, since u will be using put_line cutting the XML documents at arbitrary points.
    is the lob itself in your case wrong?
    Murali

  • I saved a Pages doc yesterday and today I can't open it because I get a message that the doc is missing an index.xml file. Help!

    I saved a Pages doc yesterday and today I can't open it because I get a message that says "can't open doc because an index.xml file is missing."  Help!

    Pages v5 documents do not have an internal index.xml file. When you attempt to open one of these with the older Pages '09, you will get that dialog. Double-click the document icon, or right-click, and open with Pages v5 to access the document contents.

  • "encoding = UTF-8" missing while writing XML file using file Adapter

    Hi,
    We are facing an unique problem writing xml file using file adapter. The file is coming without the encoding part in the header of xml. An excerpt of the file that is getting generated:
    <?xml version="1.0" ?>
    <customerSet>
    <user>
    <externalID>51017</externalID>
    <userInfo>
    <employeeID>51017</employeeID>
    <employeeType>Contractor</employeeType>
    <userName/>
    <firstName>Gail</firstName>
    <lastName>Mikasa</lastName>
    <email>[email protected]</email>
    <costCenter>8506</costCenter>
    <departmentCode/>
    <departmentName>1200 Corp IT Exec 8506</departmentName>
    <businessUnit>1200</businessUnit>
    <jobTitle>HR Analyst 4</jobTitle>
    <managerID>49541</managerID>
    <division>290</division>
    <companyName>HQ-Milpitas, US</companyName>
    <workphone>
    <number/>
    </workphone>
    <mobilePhone>
    <number/>
    </customerSet>
    </user>
    So if you see the header the "encoding=UTF-8" is missing after "version-1.0".
    Do we need to configure any properties in File Adapter?? Or is it the standard way of rendering by the adapter.
    Please advice.
    Thanks in advance!!!

    System.out.println(nodeList.item(0).getFirstChild().getNodeValue());

  • Question Marks and Missing pieces in XML documents

    Hi there,
    I am using FM 10.  I have set up a conversion table to apply DITA structure to documents, with the intent of saving them as XML docs.  Unfortunately, after I do this, the XML docs are coming out a little strange...with ? added, with text and tables missing, etc.
    Here is what the structure looks like before I save as XML:
    Then, I save as XML, reopen in FM and get the following:
    I can look at the XML directly and see that the culprit is a little box character that must not be interpreted correctly when FM reopens the XML doc:
    All I don't understand is why that character is appearing in the XML to begin with.  I don't have anything - even a space - in the structured doc in that location. Any ideas as to why this is occuring?  This isn't a huge deal in the example XML file, but other XML files I've saved via this process are littered with ? or sometimes altogether missing entire elements (like the whole Title element has disappeared).
    Hannah

    Hannah,
    Such characters can be the result of pasting text from application with CR+LF line-ends. FrameMaker internally uses only the LF character and so spurious CR can be left over.
    To test if this is the case, you can
    • search in your original documents for \x0d  (backslash, x, zero, d: the hex code for Carriage Return) and if found replace them with nothing.
    • or, do a MIF wash before saving as XML: Save the document as MIF, then open this MIF document and proceed as you originally intended.
    But maybe it is something different,
    - Michael

  • Missing  Imports System.Xml.Schema in MDKSAPProxy.vb

    I have recently switched computers and I "believe" I have setup my SAP.NET connector 2.0 properly, but, when I generate my proxy the proxy file is missing the line <b>Imports System.Xml.Schema</b> as well as <b>Form:= XmlSchemaForm.Unqualified</b> from almost all XML declarations.
    This creates problems with BPAIs not being able to execute.  My old system is fine, and I did a compare and so far I'm not able to find why this is the case.  Any help will be much appreciated.

    Hi Tomasz,
    how are you doing ?
    the dependacies that most likely are the cause of your affliction are :-
    1> librfc32.dll (this is in (\windows\system32) can be updated by SAPGUI, so the versioning if you use a previous release of SAPGUI could give unpredictable results while generating proxies
    2> JRE / J2SDK, please check the version you are running
    a stable one i use is 1.4.2_12
    do you receive a error message ?
    i would recommend time to be spent re-installing the Connector, which should be simpler than debugging and fixing the installation
    let me know if you need a stable version dependancy list and order of installation from my side
    also tell me as much as you know about your current environment , products installed that could affect :
    1> JRE / J2SDK
    2> NCo
    3> SAP GUI
    with respect,
    amit

  • Missing data-sources.xml deploying war with jdeveloper 9i RC

    When deploying a war file to an OC4J 1.0.2.2.1 server and error reports during the deployment that data-sources.xml is missing in the application-deployments/xxxx directory. Only the orion-application.xml file is present - which references a data-sources.xml file in the same directory. The problem is : it isn't there.
    When I copy the xml files from the applications/xxxx directory to the application-deployments/xxxx directory and redeploy the war file everything works fine.
    Is this a configuration issue or a bug ? Anyway, can somebody tell me how I can work around this problem ?
    Thanks !

    this is a bug and you have already found the workaround.

  • CAD Segment missing even though XML contains it

    Hi Folks,
    I am seeing one strange issue in the B2B setup. I am trying to send an invoice to my TP, i see that the Invoice gets picked up by B2B. I got the 997 for the same but when i observed it
    i saw that the 997 said it rejected the 810.
    Now upon observation i found a strange thing. I see the payload and find my xml as i enqueue. However in the translated EDI document i found one element missing.
    CAD SEgment has element 91 and 140 in the xml
    however in the EDI the element 91 is missing.
    Since 91 is a mandatory field the 810 gets rejected.
    Can anyone shed some light on this?

    I have verified that the setup has the correct ecs files. I also checked the outgoing ISA segment which shows the correct version number. Even if it were not mandatory if i am sending that piece of information then should it not be translated to the EDI file? As i said it does show in the xml that is sent to B2B.

  • EJB missing expression builder

    I'm getting an exception:
    Exception Description: The query has not been defined correctly, the expression builder is missing. For sub and parallel queries ensure the queries builder is always on the left.
    Query: ReportQuery(profil.Person)
    this is my query in profil.Person:
    @NamedQuery(name ="Person.findByProfilalder", query ="select o from Person o where o.foedselsdag =:foedselsdag and o.personid not in (select c.personid from Testperson c)")
    where should I look for an error ? what is the problem ? what is the builder ?
    The query did work until I made other queries.
    I have a method in a sessionBean that must choose between the many queries
    if(somthing)
    then query one
    else query two
    Hope this is enough to help me
    thanks

    I have found out that the sub query: not in (select c.personid from Testperson c) is the problem....
    Will putting the query in my ORM.XML change any thing ?

Maybe you are looking for