XML validation errors in embedded OC4J jazn.xml

hi
If I open the jazn.xml of the embedded OC4J in JDeveloper 10.1.3.3.0 and select "Validate XML" from the context-menu on that file, I get these messages in the "XML Validation Errors - Log" :
D:\oracle\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml
    Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-major-version' not expected.
    Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-minor-version' not expected.
    Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'filepath'
    Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'OC4J_INSTANCE_ID'Strange, because I'm not aware of any changes I've made to this file.
Could someone (from Oracle) please confirm that this is "intended", so I can exclude it as possible cause for the "security configuration issue" that I'm having.
many thanks
Jan Vervecken

Thanks for your reply Frank.
If "the content seems to be correct" then the XML schema jazn-10_0.xsd might not be what it should be.
For the attributes "filepath" and "OC4J_INSTANCE_ID" it says they are "required", just like the validation by JDeveloper says, but they are not in the documentation.
For the attributes "schema-major-version" and "schema-minor-version" the documentation says:
"This attribute is not defined directly in the XSD for jazn.xml. It is according to the attributeGroup specification in the top-level OC4J XSD."
Although there is no exact reference in that documentation, and also not in jazn-10_0.xsd, that XSD could be oc4j-10_0.xsd because it defines this:
    <xsd:attributeGroup name="oc4j-schemaVersionAttributeType">
        <xsd:annotation>
            <xsd:documentation>This type defines two different attributes which are intended to be used in the
                root element of a schema document to define version 10.0 of the schema document.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="schema-major-version" type="xsd:integer" fixed="10"/>
        <xsd:attribute name="schema-minor-version" type="xsd:integer" default="0"/>
    </xsd:attributeGroup>I'm not sure if it is the validation by JDeveloper that went wrong here, or the XML schema jazn-10_0.xsd that is incomplete about these "schema version" attributes.
Anyway, it seems OK to exclude it as possible cause for the "security configuration issue" that I'm having.
regards
Jan

Similar Messages

  • XML validation error while parsing MXI Manifest

    Hi,
    I have created an hybrid extension for Photoshop. I want to upload my extension on Adobe Exchange. during the upload process I get an error,
    "XML validation error while parsing MXI Manifest: Declarations can only occur in the doctype declaration. Line: 19 Position: 791 Last 80 unconsumed characters".
    The error description specifies that description in MXI file is not valid. Below are the contents of my MXI file.
    <macromedia-extension
               name="yyy"
               id="com.yyy"
               version="1.0.0"
               type="object"
               requires-restart="true">
              <author name="abcd" />
              <products>
              <product familyname="Photoshop" maxversion="" primary="true" version="12.0"/>  
              </products>
    <description>
              <![CDATA[
    <p><font size="14" color="black"><b>abcd</b> qwertyuioipafgjhkjljljklkjl
    <br><br>
    Open Extension via: Photoshop top menu > Window > Extensions > abcd.
    <br><br>
    Online support at: <a href="http://www.abcd.com/help.php">http://www.abcd.com/help.php</a></font></p>
    <br>]]>
    </description>
    <ui-access>
              </ui-access>
    <license-agreement>
    </license-agreement>
    <files>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.html" products="" source="zxp-support/Description/abcd.html"/>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.png" products="" source="zxp-support/Description/abcd.png"/>
                <file destination="" file-type="CSXS" products="" source="abcd.zxp"/> 
                <file destination="$automate" file-type="plugin" platform="mac" products="Photoshop" source="mac/abcd.plugin"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop32" source="win32/abcd.8li"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop64" source="win64/abcd.8li"/>
    </files>
    </macromedia-extension>
    Can anyone please point out why am I getting the error?
    Thanks

    Hi CarlSun,
    Thanks for the reply. I have made the changes suggested by you.
    I have few queries:
    1.  Can we use attribute "source" in the description tag?
         I have created a local html page and specified it in source attribute. but the Extension Manager CS6 did not render the local html page and displayed      the following:
         No description avaliable. Click the following link for more details.
         "http://www.abcd.html". Is it possible to display a local html page in Extension Manager CS6?
    2. Can I display an image (png) in CDATA under description tag? If yes, then can you please guide me how can I do so?
    3. As suggested in tech notes MXI file must include UTF-8 encoding as header (<?xml version="1.0" encoding="UTF-8"?>). The MXI I am using does      not have this header. Do I need to include the header?
    Thanks

  • XML Validation error

    Hi,
    Version : 10.1.3.4
    Scenario : Extracting data from Oracle apps using DBAdapter and insert the same to a 3rd party application
    I am tring to use XMLtype.create function in a stored procedure to get the XML.The out parameter for the procedure is XMLtype. I tried to Call this PL/SQL procedure from the BPEL and getting the XML.Then i generated a XSD from this XML using third party tool(stylus) and tried to use it for parsing the XML in BPEL. But i am not able to Manipulate XML data as it is giving the below error.
    In this scenario i tried to Use Assign activity to copy the value from /ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1 to string variable.But i am not able to do that, is there any solution for it?
    Error:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result.
    xpath variable/expression expression "/ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1" is empty at line 107, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1" is not empty.
    Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
    To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
    </summary>
    </part></selectionFailure>
    The XML message i am getting From PL/SQL procedure in BPEL is
    <messages><Invoke_1_ss_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters"><InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XYZ_ASC_PKG/POCLOBOUT/">
    <ORDERNUM>4437</ORDERNUM>
    </InputParameters>
    </part></Invoke_1_ss_InputVariable><Invoke_1_ss_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters"><OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XYZ_ASC_PKG/POCLOBOUT/">
    <RESULT>
    <PurchaseOrderRequest xmlns="">
    <OrderHeader num="1">
    <PO_HEADER_ID>32906</PO_HEADER_ID>
    <SEGMENT1>4437</SEGMENT1>
    <AGENT_ID>25</AGENT_ID>
    <LAST_UPDATE_DATE>11/28/2008 0:20:35</LAST_UPDATE_DATE>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <TERMS_ID>10002</TERMS_ID>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <RATE_DATE>11/28/2008 0:0:0</RATE_DATE>
    <REVISION_NUM>0</REVISION_NUM>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <ORG_ID>204</ORG_ID>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <CREATION_DATE>11/28/2008 0:17:50</CREATION_DATE>
    <LANG>en-US</LANG>
    <LINE>
    <LINE_ROW num="1">
    <PO_LINE_ID>38176</PO_LINE_ID>
    <LINE_NUM>2</LINE_NUM>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <ITEM_DESCRIPTION>TEST1</ITEM_DESCRIPTION>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <ISO_UOM>Ea</ISO_UOM>
    <UNIT_PRICE>200</UNIT_PRICE>
    <QUANTITY>200</QUANTITY>
    <ORG_ID>204</ORG_ID>
    <COMMODITYCODE>MISC:MISC</COMMODITYCODE>
    <DESCRIPTION>Miscellaneous</DESCRIPTION>
    <LAST_UPDATE_DATE>2/19/1997 0:0:0</LAST_UPDATE_DATE>
    <CATEGORY_ID>1</CATEGORY_ID>
    <LINELOCATION>
    <LINELOCATION_ROW num="1">
    <LINE_LOCATION_ID>72552</LINE_LOCATION_ID>
    <QUANTITY>200</QUANTITY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <SHIP_TO_ORGANIZATION_ID>1884</SHIP_TO_ORGANIZATION_ID>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW num="1">
    <PO_DISTRIBUTION_ID>74376</PO_DISTRIBUTION_ID>
    <CODE_COMBINATION_ID>17347</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>200</QUANTITY_ORDERED>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <DESTINATION_ORGANIZATION_ID>1884</DESTINATION_ORGANIZATION_ID>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINELOCATION_ROW>
    </LINELOCATION>
    </LINE_ROW>
    <LINE_ROW num="2">
    <PO_LINE_ID>38175</PO_LINE_ID>
    <LINE_NUM>1</LINE_NUM>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <ITEM_DESCRIPTION>test</ITEM_DESCRIPTION>
    <UNIT_MEAS_LOOKUP_CODE>EA</UNIT_MEAS_LOOKUP_CODE>
    <ISO_UOM>EA</ISO_UOM>
    <UNIT_PRICE>100</UNIT_PRICE>
    <QUANTITY>100</QUANTITY>
    <ORG_ID>204</ORG_ID>
    <COMMODITYCODE>MISC:MISC</COMMODITYCODE>
    <DESCRIPTION>Miscellaneous</DESCRIPTION>
    <LAST_UPDATE_DATE>2/19/1997 0:0:0</LAST_UPDATE_DATE>
    <CATEGORY_ID>1</CATEGORY_ID>
    <LINELOCATION>
    <LINELOCATION_ROW num="1">
    <LINE_LOCATION_ID>72551</LINE_LOCATION_ID>
    <QUANTITY>100</QUANTITY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <SHIP_TO_ORGANIZATION_ID>1884</SHIP_TO_ORGANIZATION_ID>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW num="1">
    <PO_DISTRIBUTION_ID>74375</PO_DISTRIBUTION_ID>
    <CODE_COMBINATION_ID>17347</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>100</QUANTITY_ORDERED>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <DESTINATION_ORGANIZATION_ID>1884</DESTINATION_ORGANIZATION_ID>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINELOCATION_ROW>
    </LINELOCATION>
    </LINE_ROW>
    </LINE>
    <VENDOR_ID>1595</VENDOR_ID>
    <VENDOR_NAME>Agile Electronic Supplies</VENDOR_NAME>
    <PAYMENT_METHOD_LOOKUP_CODE>CHECK</PAYMENT_METHOD_LOOKUP_CODE>
    <VENDOR_SITE_CODE>SANTA ROSA-USE</VENDOR_SITE_CODE>
    <ADDRESS_LINE1>22800 Corby Avenue</ADDRESS_LINE1>
    <BILL_TO_LOCATION_ID>2402</BILL_TO_LOCATION_ID>
    <VENDORTERRITORY>United States</VENDORTERRITORY>
    <VENDORCONTACT>
    <VENDORCONTACT_ROW num="1">
    <VENDOR_CONTACT_ID>2485</VENDOR_CONTACT_ID>
    <FIRST_NAME>Li</FIRST_NAME>
    <LAST_NAME>Wang</LAST_NAME>
    <AREA_CODE>707</AREA_CODE>
    <PHONE>638-7814</PHONE>
    </VENDORCONTACT_ROW>
    </VENDORCONTACT>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <BILLTOLOCATIONID>2402</BILLTOLOCATIONID>
    <BILLTOLOCATIONCODE>W1 - Cherry Hill</BILLTOLOCATIONCODE>
    <BILLTOLOCATIONUSE>HR</BILLTOLOCATIONUSE>
    <BILLTOTELEPHONENUMBER1>0</BILLTOTELEPHONENUMBER1>
    <BILLTODESCRIPTION>W1 - Cherry Hill Distribution</BILLTODESCRIPTION>
    <BILLTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</BILLTOADDRESSLINE1>
    <BILLTOTERRITORY>United States</BILLTOTERRITORY>
    <BILLTOTOWNORCITY>Cherry Hill</BILLTOTOWNORCITY>
    <BILLTOCOUNTRY>US</BILLTOCOUNTRY>
    <BILLTOPOSTALCODE>08003</BILLTOPOSTALCODE>
    <BILLTOREGION1>Camden</BILLTOREGION1>
    <BILLTOREGION2>NJ</BILLTOREGION2>
    </OrderHeader>
    </PurchaseOrderRequest>
    </RESULT>
    </OutputParameters>
    </part></Invoke_1_ss_OutputVariable></messages>
    Thanks
    Sen

    Forwarded to developers.

  • JDev 10.1.3 EA: Error initializing Embedded OC4J

    I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    05/12/29 13:14:24 Application: system is in state FAILED
    05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
    05/12/29 13:14:24 Fatal error: server exiting
    Process exited with exit code 1.
    Anyone got any ideas?

    Check to see if helps
    Unable to start oc4j in Jdeveloper 10.1.3 EA1
    In my case I got that error when trying to connect to MySQL database when using OC4J

  • Error in Embeded OC4J while deploying SessionBean

    I am using Jdeveloper version 9.0.5.1, since the project have brought to production at 2004, I have been using the same version.
    The workspace a number of project each contains a number of entity and session beans(EJB 2.0), lately I added a new project which contains a new session bean that references another session bean and an entity bean, when I attempt to run the application in the Jdeveloper the embedded OC4J returns the following errors messages:
    07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\<Pathes>/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\JDeveloper\jdev\mywork\<Pathes>classes/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork/<Pathes>
    07/07/11 21:03:27 Auto-deploying - compiling and loading...
    07/07/11 21:03:53 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:21 Error creating table: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:35 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:49 done.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 101828 ms.
    07/07/11 21:04:53 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    I dont know what is the meaning of this error, nor what is the cause as it never appeared before. Surprisingly the behaviour of the application seems to be behaving normally even though despite this error and when the Oc4J returns done does this mean it started successfully, this error is preventing me from deploying my application to production environment as I guess there's something abnormal going around.
    Note:When I get a fresh copy of the application without the new project which contain the session bean the OC4J starts with no errors.
    Any ideas what maybe the problem ?

    Is your new project trying to access the database?
    SQL error: Io exception: The Network Adapter could not establish the connection
    Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
    Also check your data-sources.xml file for any new entries.

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

  • Adobe Designer 7.0 - XML parsing error when data connection to XML with UTF-16

    Hi all
    <br />
    <br />I need to change my data connection xml file to use UTF-16 instead of ISO-8859-1. When I connect the file with the UTF-16 encoding, I receive the following error
    <br />
    <br />Invalid XML: Xml parsing error: encoding specified in XML declaration is incorrect (error code 19) ..
    <br />
    <br />The XML declaration is:
    <br /><?xml version="1.0" encoding="utf-16"?>
    <br />
    <br />I am able to succesfully set the encoding to "UTF-8". UTF-16 should also be possible.
    <br />
    <br />Has anyone seen this error before ? How can I resolve this ?
    <br />
    <br />Thanks in advance
    <br />
    <br />Bilal Haniff

    Thank you, expert, for your quick reply.
    Described problem got solved: we noticed later that the extra text only appears for users using Adobe professional 7.0, 'normal' users with adobe 8.0 reader don't get the extra text, so that is ok for us.

  • Error starting embedded OC4J

    I created a simple (one JSP page) web application inside JDeveloper 10.1.3 and tried to run it inside the embedded OC4J server. I get the following error. Anyone know how to resolve?
    06/08/16 18:00:51 java.lang.NoSuchFieldError: oracle.oc4j.admin.management.mbeans.StateManageable.VALID_STATES
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.isValidState(EJBContainer.java:260)
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.setState(EJBContainer.java:250)
    06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.<init>(EJBContainer.java:108)
    06/08/16 18:00:51      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:156)
    06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:391)
    06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:308)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1480)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1467)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
    06/08/16 18:00:51      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
    06/08/16 18:00:51      at java.lang.Thread.run(Thread.java:534)

    I don't think it involves spaces in the JDeveloper installation folder. Other developers in my office have JDeveloper installed in a path with no spaces, and they see the same problem. Actually, we don't even need to create a web application to see the problem. We see it when creating a new application server connection with the standalone OC4J 10.1.3 and clicking Test Connection:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]

  • XML Validation Errors?

    Hi all,
    I am parsing an XML file passed in at the cmd line and using this method to return a boolean if depending if the validation was ok....I have successfully validated against the particular file that I am passing in against a valid XSD and it works fine. But when I do this here it gets caught as an error straight away.
    Can anyone see any obvious mistakes with this code or have any suggestions?
    public boolean validateXML() {
            try {
            boolean validate = true;
            parser.setFeature("http://xml.org/sax/features/validation", validate);
            //CustomerErrorHandler extends SAX ErrorHandler
            CustomErrorHandler handler = new CustomErrorHandler();
            //Install/Enable the parser to handle parsing errors
            parser.setErrorHandler(handler);
            parser.parse(args[0]);
            System.out.println("YOU ARE IN THE XMLVALIDATOR CODE NOW!!!!");
            validXML = true;
            catch (Exception ex) {
                System.out.println("An error has been caught, following validation");
                validXML = false;
            return validXML;
        }

    Hi thanks for the response,
    I did not quite get what you meant from youre last post to this question. From what I understand from the lines you gave the following 3 lines need to be added to the class:
    parser.setFeature("http://apache.org/xml/features/validation/schema", validate);parser.setFeature
    ("http://apache.org/xml/features/validation/schema-full-checking", validate);parser.setProperty
    ("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", schemaUrl);Then what I understood was to declare a String variable (schemaUrl) which is the actual location of the XML document? So in my case this would be "c://winnt/desktop/note.xml....
    I was not clear on when you said:
    XML document url (argv[0]) and schema document url should be file url:
    file://c:/schema/xmldoc.xml
    Thanks again,

  • Xml validation error, pls help

    I try to use the following way to validate my xml file with one schema.
    // parse an XML document into a DOM tree
    DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    Document document = parser.parse(new File("instance.xml"));
    // create a SchemaFactory capable of understanding WXS schemas
    SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    // load a WXS schema, represented by a Schema instance
    Source schemaFile = new StreamSource(new File("mySchema.xsd"));
    Schema schema = factory.newSchema(schemaFile);
    // create a Validator instance, which can be used to validate an instance document
    Validator validator = schema.newValidator();
    // validate the DOM tree
    try {
    validator.validate(new DOMSource(document));
    } catch (SAXException e) {
    // instance document is invalid!
    got the error message like SAXException: http://www.w3.org/TR/xml-schema-1#cvc-type.3.1.1?
    i am very confused. what can be the problem?
    Thanks very much.

    <?xml version="1.0" encoding="UTF-8"?>
    <dataset xmlns="xx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="xx yy.xsd">
    <heading xsi:type="PW_Heading" datasetId="PW_2005-08-22_18-34-58.pts" generationDate="2005-08-22T16:35:00Z" providerId="PW"/>
    <eventCommands>
    <DEFINE>
    <siEvent xsi:type="KRIMI_SiEventDefinition" eventId="KRIMI_0000177732121_SI" serviceId="KRIMI" programId="KRIMI_0000177732121"
    startTime="2005-08-23T03:52:15Z" duration="00 00:48:54.000" title="SOKO Leipzig" comment="#SG:1" triggerType="TIMED">
    </siEvent>
    </DEFINE>
    </eventCommands>
    </dataset>
    This should be output xml which can be validated.
    the schema for heading and siEvent is:
    <xs:complexType name="Heading" abstract="true">
              <xs:attribute name="generationDate" type="xs:dateTime" use="required"/>
              <xs:attribute name="datasetId" type="Token30" use="required"/>
              <xs:attribute name="providerId" type="Token10" use="required"/>
         </xs:complexType>
    <xs:complexType name="SiEventDefinition" abstract="true">
              <xs:choice>
                   <xs:element name="siStandard" type="SiStandardDefinition"/>
                   <xs:element name="siReference" type="SiReferenceDefinition"/>
                   <xs:element name="siTimeshift" type="SiTimeshiftDefinition"/>
              </xs:choice>
              <xs:attributeGroup ref="EventPropertyDefinition"/>
         </xs:complexType>
    now my output xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <dataset >
    <heading datasetId="PW_2005-08-22_18-34-58.pts" generationDate="2005-08-22T16:35:00Z" providerId="PW"/>
    <eventCommands>
    <DEFINE>
    <siEvent eventId="KRIMI_0000177732121_SI" serviceId="KRIMI" programId="KRIMI_0000177732121"
    startTime="2005-08-23T03:52:15Z" duration="00 00:48:54.000" title="SOKO Leipzig" comment="#SG:1" triggerType="TIMED">
    </siEvent>
    </DEFINE>
    </eventCommands>
    </dataset>
    my problem is: i dont know how to generate these attributes in dataset, and how to generate the xsi:type attribute in heading and siEvent.
    Thanks in advance.

  • IS - XML validation error for file task.xml. (COR-10142)

    Hi,
    I am facing an issue while running column profile task on a text file.
    Version of BODS components below:
    IPS: IPS 4.1 SP2
    DS: DS 4.2 SP1
    IS: IS 4.2 SP1(14.2.1.220)
    All the above components are installed on linux RHEL 6.5 machine(single machine).
    Attached the error log file.
    Appreciate the quick response.
    Thanks,
    Lokesh

    Hi Lokesh,
    Check the KBA  1931128 which may help you to resolve your issue.
    Thanks,
    Ramakrishna Kamurthy

  • Web service / XML-RPC:  SMTP inbound to OC4J/BC4J XML servlet bridge??

    A new business problem just landed on my desk for a possible solution.
    One way XML documents coming in from a Novel mail server doing SMTP forward to something
    in the OC4J, BC4J, side to receive and parse the XML.
    It would be great of course if the JDev / BC4J / OC4J web services tools had a SMTP service
    that would route inbound SMTP messages at email address to a particular Servlet.post().
    Any other ideas??
    Thanks much,
    curt

    For others, here is a start of a response to Curtis's message talking about the BC4J Web services features combined with the BC4J readXML and writeXML capabilities:
    Re: Can we find when was a table dropped?
    Not sure if other folks have a solution to dealing with the SMTP part - a snippet of code that works with readXML and writeXML methods of BC4J, for example.
    Mike.

  • Add virtual directory to orion-web.xml file of embedded OC4J instance

    I'd like to add a virtual directory to the orion-web.xml file of the embedded OC4J application which comes with JDeveloper (version 10.1.3.3.0.4157). Every time I run my application however, a new orion-web.xml file is created which overwrites the orion-web.xml file with my virtual directory. The orion-web.xml is located in the <JDev_Home>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<app Name> directory.
    Does anybody know a solution to this problem?
    Regards,
    Matthieu

    hi there,
    i have the same problem, all the configuration files are included in the EAR file, like application.xml,...
    but the orion-web.xml is not included.
    I dont have that option that you mencioned File->New->Deployment Descriptiors -> web...for oc4j...
    I can create a EAR, WAR or JAR in File->New->Deployment Profiles.
    I need the orion-web.xml to define the MIME types the servlet can return, is it really needed?
    regards,
    Laura

  • XML Validation - How to raise an alert

    Hi PI Experts,
    I enabled XML validation at "Validtion by Adapetr Engine". Its working fine. But how to integrate XML validation error with Alert Monitoring. Please advise.
    Here below the error from Audit log:
    2010-03-18 18:33:13     Information     The application tries to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System.
    2010-03-18 18:33:13     Information     Backward validation is enabled
    2010-03-18 18:33:13     Error     Unable to validate the message with message ID b01d356e-1801-4b93-29fb-9ed84b25c6a3
    2010-03-18 18:33:13     Error     Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34
    2010-03-18 18:33:13     Error     MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34
    2010-03-18 18:33:13     Error     File processing failed with com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-enumeration-valid: Value '11' is not facet-valid with respect to enumeration '[1, 2, 3, 4, 5, 6, 7]'. It must be a value from the enumeration. at line 15, column 34
    Thanks...
    Ravi Kanakam

    Hi Ravi,
    Are you getting other adapter engine alerts? Or only you are not getting xml validation ones? Also take a look at this:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Regards,
    ---Satish

Maybe you are looking for

  • SAP MM Important report

    Dear SAP Experts, In our company, per day (any one day) they want to see report as follows. Can anyone tell me, how to get it this report. I will be thankful to you all. List of Purchase Requisition List of Release Purchase Requistion List of Request

  • Twist charm swipes not working and other issues

    Hi all, I just got a new Twist a few days ago and am having some issues with it.  I got it on line from Staples who have a very limited return policy so I need to get these problems resolved quickly or will have to return it in a few days.  I really

  • Waveforms not appearing correctly after editing in Audition

    Hi, When I use 'Edit Clip in Adobe Audition', once I've edited and saved the audio I go back into Premiere but the audio waveforms are totally wrong until I zoom right into the sequence. Also after I've come back into Premiere, the first time I try a

  • DATABASE table...plz urgent

    hi experts, can anyone help me with my requirement.i want step by step process. i am very new to SAP ABAP. create a ztable having fields name,id,salary,designation with custom dataelements and domain. i will reward points if helpful.

  • Need to update Bios on Satellite 4060XCDT to install Linux

    I need to update the bios in order to install ubuntu 7.10.- Where can I get the latest BIOS? Thanks