EF6 with ODP 12cR3 : ORA-12704 (VARCHAR2 not supported?)

         Hi!
          We cannot port our working code from EF5 to EF 6.1.2, because the generated SQL output unicode query which is not compatible with VARCHAR2 column.
          How can we fix this issue ?
            Our Setup
             Oracle 11.2.0.3.0
             NLS_CHARACTERSET               WE8MSWIN1252                            
             NLS_NCHAR_CHARACTERSET         AL16UTF16
                -- TEST
                  CREATE TABLE "TEST"
                   ( "ID" NUMBER(*,0) NOT NULL ENABLE,
                 "NAME" VARCHAR2(20),
                 "VALUE" VARCHAR2(20)
                   ) PCTFREE 10 INITRANS 1 NOCOMPRESS LOGGING
                  STORAGE( INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
                -- ID
                ALTER TABLE "TEST" ADD CONSTRAINT "ID" PRIMARY KEY ("ID") ENABLE;
             Objective : Trying to port working code from EF5 to EF6.1.2
             Problem : Generated SQL contains unicode query when using VARCHAR2 column type.
            using (var ctx = new Entities())
                var queryable = ctx.TESTs.Where(x => x.NAME.Contains("test")).Select(
                    t => new
                        TestVarcharVsUnicode = t.VALUE + "AnotherStringLiteralWillGenerateNvarcharSQL"
                /* Generated SQL
                queryable =
                    SELECT
                    1 AS "C1",
                    ((CASE WHEN ("Extent1"."VALUE" IS NULL) THEN N'' ELSE "Extent1"."VALUE" END)||('AnotherStringLiteralWillGenerateNvarcharSQL')) AS "C2"
                    FROM "TES_RA"."TEST" "Extent1"
                    WHERE ("Extent1"."NAME" LIKE '%test%')
                var result = queryable.ToList();   // ORA-12704: character set mismatch here because VALUE column type is VARCHAR2 not NVARCHAR2
UPDATE: By using an IDbCommandInterceptor class we can replace those Unicode string before execution.  But it's only a workaround until we found the correct way to fix it.
Thank you in advance,
Jean Francoeur

Hi Verolamaz,
No update on our side.
We've also tried modelBuilder.Properties<string>().Configure(c => c.HasColumnType("varchar2"));
But the generated SQL stay the same...
Jean

Similar Messages

  • ORA-19201: Datatype not supported when validating XML against an XSD

    Hello.
    Info: using Oracle 10.2.0.1.0, Java components are installed.
    I've created an XML view using ora:view, which is validated against a registered XSD. This view is created successfully.
    But when I SELECT * from this view, it gives ORA-19201 - Datatype not supported.
    Can't understand why. I've matched the XML to the XSD, and the datatypes all look fine to me. I've referred to the XSD using the XMLFORMAT.CREATEFORMAT option. When I use the same option to specify "NO_SCHEMA", it returns the correct XML, but we need to validate it against the XSD.
    I'm thinking one of two things has happened here:
    1. I've made a mistake with either my registration, or how I've used XMLFORMAT to refer to the XSD.
    2. There's a bug in Oracle.
    My money's on 1. Can anyone help?
    Thanks,
    Ray.

    Hello Geoff, I didn't want to send any code until I knew someone was willing to look at it (there's a lot of it).
    Here is the XSD:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!--W3C Schema generated by XMLSpy v2006 rel. 3 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="TransInfo">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="PIE_ERROR" type="PIE_ERRORType" minOccurs="0"/>
                        <xs:element name="Transaction" type="TransactionType" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="PIE_ERRORType">
              <xs:sequence>
                   <xs:element ref="ERROR_CODE"/>
                   <xs:element ref="DESCRIPTION"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ERROR_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="0001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="DESCRIPTION">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="LEAD NUMBER 12345 IS INVALID"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="TransactionType">
              <xs:sequence>
                   <xs:element ref="TRANSACTION_NUMBER"/>
                   <xs:element ref="TRANSACTION_STATUS"/>
    <xs:element ref="CONTACT_ID"/>
                   <xs:element ref="INVOICE_NUMBER"/>
                   <xs:element ref="CHANNEL"/>
                   <xs:element ref="CSA"/>
                   <xs:element ref="OPEN_DATETIME"/>
                   <xs:element ref="CLOSED_DATETIME"/>
                   <xs:element name="Orderline" type="OrderlineType" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="TRANSACTION_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="3455229"/>
                        <xs:enumeration value="3455230"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="TRANSACTION_STATUS">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="C"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CONTACT_ID">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="111"/>
                        <xs:enumeration value="222"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="INVOICE_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="123456789"/>
                        <xs:enumeration value="987654321"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CHANNEL">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Test 1"/>
                        <xs:enumeration value="Test 2"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CSA">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="SEARLEA"/>
                        <xs:enumeration value="SILVAJ"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="OPEN_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T20:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CLOSED_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T21:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="OrderlineType">
              <xs:sequence>
                   <xs:element ref="ORDER_QTY"/>
                   <xs:element ref="RETAIL_AMT"/>
                   <xs:element ref="SALE_AMT"/>
                   <xs:element ref="PRODUCT_DESCR"/>
                   <xs:element ref="PART"/>
                   <xs:element ref="IMEI"/>
                   <xs:element name="BankDetails" type="BankDetailsType"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ORDER_QTY">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="1"/>
                        <xs:enumeration value="3"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="RETAIL_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:decimal">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SALE_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PRODUCT_DESCR">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Product test 2"/>
                        <xs:enumeration value="Vodafone Nokia 6230 Pack"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PART">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="6806"/>
                        <xs:enumeration value="8606"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="IMEI">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="099000000000001"/>
                        <xs:enumeration value="09900078900001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="BankDetailsType">
              <xs:sequence>
                   <xs:element ref="BANK_NAME"/>
                   <xs:element ref="ACCOUNT_NAME"/>
                   <xs:element ref="ACCOUNT_NUMBER"/>
                   <xs:element ref="SORT_CODE"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="BANK_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="HSBC"/>
                        <xs:enumeration value="LLOYDS"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="MR A SEARLE"/>
                        <xs:enumeration value="MR J SILVA"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="87698789"/>
                        <xs:enumeration value="89769082"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SORT_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="100928"/>
                        <xs:enumeration value="123346"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
    </xs:schema>
    I then registered this XSD using DBMS_XMLSCHEMA.REGISTER, calling it test_1.xsd. It is visble in USER_XML_SCHEMAS.
    Here are the 15 views used to drive the XML:
    SQL> desc v_pie_branch
    Name Null? Type
    BRANCH NOT NULL NUMBER(4)
    SQL> desc v_pie_branch_feature
    Name Null? Type
    BRANCH_FEATURE NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    FEATURE_TYPE VARCHAR2(10)
    CHANNEL VARCHAR2(40)
    SQL> desc v_pie_transaction
    Name Null? Type
    TRANSACTION_NUMBER NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    EMPLOYEE_TRANS VARCHAR2(12)
    CONTACT NUMBER(8)
    OPEN_DAT DATE
    OPEN_TIM DATE
    TRANSACTION_STATUS VARCHAR2(1)
    TRANS_TYPE VARCHAR2(1)
    CLOSED_DAT DATE
    CLOSED_TIM DATE
    INVOICE_NUMBER NUMBER(10)
    INVOICE_DAT DATE
    CSA VARCHAR2(12)
    CREATED_ON DATE
    AMENDED_BY VARCHAR2(12)
    AMENDED_ON DATE
    OPEN_DATETIME VARCHAR2(19)
    CLOSED_DATETIME VARCHAR2(19)
    SQL> desc v_pie_bank_detail
    Name Null? Type
    BANK_DETAIL NOT NULL NUMBER(12)
    BANKCODE VARCHAR2(40)
    SORTCODE VARCHAR2(40)
    BANK_NAME VARCHAR2(60)
    SQL> desc v_pie_account_detail
    Name Null? Type
    ACCOUNT_DETAIL NOT NULL NUMBER(12)
    BANK_DETAIL NUMBER(12)
    ACCOUNT_NUMBER VARCHAR2(40)
    SORT_CODE VARCHAR2(40)
    ACCOUNT_NAME VARCHAR2(40)
    BANKCODE VARCHAR2(40)
    SQL> desc v_pie_account_link
    Name Null? Type
    ACCOUNT_LINK NOT NULL NUMBER(12)
    CONTACT NUMBER(12)
    ACCOUNT_DETAIL NUMBER(12)
    ACC_LINK_TYP NUMBER(12)
    BNK_SINCE DATE
    AC_DET VARCHAR2(40)
    SQL> desc v_pie_compesn
    Name Null? Type
    COMPESN NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    IMEI VARCHAR2(25)
    SQL> desc v_pie_contact
    Name Null? Type
    CONTACT_ID NOT NULL NUMBER(8)
    CONTACT_TYP VARCHAR2(1)
    COMPANY NUMBER(10)
    BRANCH NUMBER(4)
    DEAD_FLG VARCHAR2(1)
    FORENAME VARCHAR2(20)
    TITLE VARCHAR2(5)
    MID_INITIAL VARCHAR2(1)
    GENDER VARCHAR2(1)
    FRAUD_FLG VARCHAR2(1)
    SQL> desc v_pie_servcon
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    CONTRACT NUMBER(10)
    CONNECTION_CURR NUMBER(10)
    CONTACT NUMBER(8)
    SQL> desc v_pie_tpplan_compline
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    SERVCON NUMBER(10)
    PPLAN NUMBER(10)
    SQL> desc v_pie_tpplan_comp_detail
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    RULE_DETAIL_NO NOT NULL VARCHAR2(5)
    RULE_DETAIL_LINE NOT NULL NUMBER(2)
    U_VERSION VARCHAR2(1)
    OPTION VARCHAR2(40)
    OPT_STRING VARCHAR2(40)
    SQL> desc v_pie_tpplan
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    PPLAN NOT NULL NUMBER(10)
    U_VERSION VARCHAR2(1)
    SQL> desc v_pie_connection
    Name Null? Type
    CONNECTION NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    ADDRESSNO NUMBER(5)
    TRANSACTION NUMBER(10)
    TPRODLINE NUMBER(10)
    CONTRACT NUMBER(10)
    SERVCON NUMBER(10)
    SQL> desc v_pie_tprodline
    Name Null? Type
    TRANSACTION NOT NULL NUMBER(10)
    TPRODLINE NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    PRODUCT NUMBER(10)
    ORDER_QTY NUMBER(12)
    RETAIL_AMT NUMBER
    SALE_AMT NUMBER
    SQL> desc v_pie_product
    Name Null? Type
    PRODUCT NOT NULL NUMBER(10)
    PART VARCHAR2(20)
    PRODUCT_DESCR VARCHAR2(40)
    This is the code to create an XML view, validating against the schema:
    create OR REPLACE VIEW v_xml_validate AS
    SELECT SYS_XMLAGG(XMLQuery('
    <PIE_ERROR>
    <ERROR_CODE>"0001"</ERROR_CODE>
    <DESCRIPTION>"There was an error with this customer"</DESCRIPTION>
    </PIE_ERROR>,
    <Transaction>
    {for $t in ora:view("V_PIE_TRANSACTION")/ROW
        ,$ct in ora:view("V_PIE_CONTACT")/ROW
        ,$b in ora:view("V_PIE_BRANCH")/ROW
        ,$bf in ora:view("V_PIE_BRANCH_FEATURE")/ROW
    where $t/CONTACT = $ct/CONTACT_ID
    and   $t/BRANCH = $b/BRANCH
    and   $b/BRANCH = $bf/BRANCH
    return ($t/TRANSACTION_NUMBER
            ,$t/TRANSACTION_STATUS
            ,$ct/CONTACT_ID
            ,$t/INVOICE_NUMBER
            ,$bf/CHANNEL
            ,$t/CSA
            ,$t/OPEN_DATETIME
            ,$t/CLOSED_DATETIME
            ,<Orderline>
                  {for $tpl in ora:view("V_PIE_TPRODLINE")/ROW
                      ,$pr  in ora:view("V_PIE_PRODUCT")/ROW
                      ,$cmpesn  in ora:view("V_PIE_COMPESN")/ROW
                   where $tpl/TRANSACTION eq $t/TRANSACTION_NUMBER
                   and   $tpl/PRODUCT eq $pr/PRODUCT
                   and   $ct/CONTACT_ID eq $cmpesn/CONTACT
                   return ($tpl/ORDER_QTY
                          ,$tpl/RETAIL_AMT
                          ,$tpl/SALE_AMT
                          ,$pr/PRODUCT_DESCR
                          ,$pr/PART
                          ,$cmpesn/IMEI
                          ,<BankDetails>
                               {for $conn in ora:view("V_PIE_CONNECTION")/ROW
                                for $scon in ora:view("V_PIE_SERVCON")/ROW
                                for $tpp in ora:view("V_PIE_TPPLAN")/ROW
                                for $tppc in ora:view("V_PIE_TPPLAN_COMPLINE")/ROW
                                for $tppcd in ora:view("V_PIE_TPPLAN_COMP_DETAIL")/ROW
                                for $al in ora:view("V_PIE_ACCOUNT_LINK")/ROW
                                for $ad in ora:view("V_PIE_ACCOUNT_DETAIL")/ROW
                                for $bd in ora:view("V_PIE_BANK_DETAIL")/ROW
                                where $conn/CONTACT eq $ct/CONTACT_ID
                                and   $scon/CONTACT eq $conn/CONTACT
                                and   $tpp/SERVCON eq $scon/SERVCON
                                and   $tppc/SERVCON eq $tpp/SERVCON
                                and   $tppc/PPLAN eq $tpp/PPLAN
                                and   $tppcd/TPPLAN_COMPLINE eq $tppc/TPPLAN_COMPLINE
                                and   $al/AC_DET eq $tppcd/OPT_STRING
                                and   $ad/ACCOUNT_DETAIL eq $al/ACCOUNT_DETAIL
                                and   $bd/BANK_DETAIL eq $ad/BANK_DETAIL
                                return ($bd/BANK_NAME
                                       ,$ad/ACCOUNT_NAME
                                       ,$ad/ACCOUNT_NUMBER
                                       ,$ad/SORT_CODE
    </BankDetails>
    </Orderline>
    </Transaction>'
    RETURNING CONTENT),
    XMLFORMAT.CREATEFORMAT('TransInfo','USE_GIVEN_SCHEMA','test_1.xsd', 'http://xmlns.cpw.co.uk/CPW/EPOS/Order/RetrieveTransaction/RetrieveTransaction', NULL, NULL)) AS xml_string FROM DUAL;
    The view is created with no errors. Selecting * from it, however, gives:
    ORA-19201 - Datatype not supported
    Marrying the XML to the XSD shows nothing obviously wrong.
    Thanks,
    Ray.

  • Ora-29886 feature not supported for domain indexes ??

    Could anyone tell me the reason for the following error
    ora-29886 feature not supported for domain indexes
    What are domain indexes ..??
    Thanks in advance ..

    It would have been better if you posted the statement that caused the error.
    If you are using something like MERGE INTO, it is not supported with with Domain Indexes. Workaround is to complete your insert with individual insert statements or drop the Domain Index before insert and recreate the index after insert
    Domain indexes are built for specific applications (specific domain) like Oracle text, Oracle Spatial etc. So depending on what application you are running, you might be using domain indexes. You create domain indexes as you create b-tree indexes, but the difference is that you have to define the INDEXTYPE.
    You can find domain indexes in DBA_SECONDARY_OBJECTS. Find the index on the table you are using, then check the definition of the index and see what it looks like.

  • I just got a new ipod 5 and when I plugged in the charging cord that came with it, it says it is not supported, and may not charge. It worked the first few times, but now it won't charge at all.

    I just got a new ipod 5 and when I plugged in the charging cord that came with it, it says it is not supported, and may not charge. It worked the first few times, but now it won't charge at all.

    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store. The cable as well as the iPod, is covered by the warranty.
    Apple Retail Store - Genius Bar                          

  • "URL's with the type "file." are not supported"

    "URL's with the type "file." are not supported" Can anyone tell me how to remove this message?
    I installed Lion and I see a lot of people have the same problem.
    Help

    Not a nice answer!
    Posting "Check the 'More like this' area" and not simply providing the answer is a great way to make these groups worthless. Hence, for a while, all I would get is versions of this same arrogant message.
    Here's the answer so someone else doesn't get locked into the same loop I did:
    I just solved my problem, which was the same perplexing message that kept popping up.  It happened to be a Time Machine issue.  When I installed Lion, apparently the Time Machine had been turned on by the installer because it kept searching for the Apple.com server, to which I'm not subscribed.  Prior to the installation I had always backed up to an external HD; not Apple's online service.  Searching Apple Support Forums, I found "Troubleshooting Time Machine' and followed the instructions to "reset Time Machine".  Now things are back to normal.  I hope this is of some help.

  • My apple camera connector comes up with an error "this accessorty is not supported.." on my iPhone 4 now that I have updated to iOS7, previously it worked fine.  Any suggestions?

    I have an iPhone 4 and a camera card connector (bought from apple) which worked fine together, then I updated to iOS7 and now when I plug it in it says " This accessory is not supported by this iPhone."
    Any suggestions on how to get my certified apple camera connector working with my iPhone again would be greatly appreciated.  I really wish I hadn't updated to iOS7....
    Thanks

    You need to update iTunes to 11.1 on your PC

  • Lightroom6 instalation rejects installation on Windows 7 with remark that windows vista is not supported

    I tried to install Lightroom 6 on my Windows 7 System
    The installer jejects the Installation with the remark that Windows Vista is not supported by this product
    Is that Problem known? Is any solution available?

    Hi Michael,
    You can follow the article: How to troubleshoot issues that may prevent a program from being installed correctly on a Windows Vista-based computer and check whether the installer is running in Compatible Mode or not.
    If the check box for Compatibility Mode is checked and simply UnCheck it and click Apply.
    Run the installer and again and check if it still gives you any error message.
    Let us know if it works or not.
    Thanks,
    Ratandeep Arora

  • Using Netbeans with Axis 1 shows HTTP Version Not Supported

    Hello,
    I need to use Axis 1 with Netbeans. So i have integrated Axis 1 in build.xml file to use axis ant targets. If i am executing the deploy target:
        <target name="AdminClientDeploy" description="adminClient" depends="validate">
            <java classname="org.apache.axis.client.AdminClient" fork="yes"
                  dir="." classpathref="${classpath_id}">
                <classpath>
                    <pathelement location="${build.classes}" />
                </classpath>
                <arg value="-l ${service.url}/servlet/AxisServlet"/>
                <arg value="${basedir}\src\${service.java.path}\deploy.wsdd" />
            </java>
        </target>It shows
    running Apache Axis Admin client
    Processing file D:\\Axis1WS\src\java\axis1\deploy.wsdd
    Exception: AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (505)HTTP Version Not Supported
    faultActor:
    faultNode:
    faultDetail:
            {}:return code:  505
            {http://xml.apache.org/axis/}HttpErrorCode:505
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)I have no idea whats the problem, but i think it's a configuration problem with netbeans. The compilation itself shows no problem. Please let me know, if you have some experience and especially if you know this problem.
    Thanks
    Alex

    Hello, problem is because of following part:
    <!-- The URL of the Web SERVER + Application Name -->
    in the tutorial, there is a space in URL, when you remove this space, problem disappear;
    <property name="service.url" value="http://localhost:8084/${ant.project.name}"/>

  • SHA256 certificate with Signature Algorithm as RSASSA-PSS not supported in FireFox but it is the only option available

    I have just built a new PKI infrastructure for issuing SHA2 certificates. When I duplicate a template and set it up to use KSP instead of CSP to enable SHA2 signing, the only provider I have available is the Microsoft Software Key Storage Provider which
    translates into RSASSA-PSS. I am also allowing the Private Key to be exported due to the fact that the cert and Key need to be placed on multiple servers such as in a cluster.
    I am finding that FireFox does not support certificates which use RSASSA-PSS and have tracked it to a few Bugzilla reports. IE and Chrome appear to not have any problem with this.
    I want to change the provider to something that FireFox supports while still being able to issue SHA2 certs. I am finding that if I unmark the "Allow Key to be Exported" on the template when I build the it, other options for providers appear.
    I need to be able to support the big 3 browsers: IE, Firefox, and Chrome while still allowing the key to be exported. I used AlternateSignatureAlgorithms=1 for the capolicy.inf file on both the offline root and Intermediate CA's. I read a post somewhere
    that changing the Root to AlternateSignatureAlgorithms=0 and renewing the Intermediate CA certificate could solve the problem but I do not understand how I can obtain a HSA2 certificate for the Intermediate if that is not enabled.
    I could use some assistance with this if someone knows how to make this work. Many thanks.
    Brian B.

    Brian,
    There is no correlation at all between the
    AlternateSignatureAlgorithms=1  or 0 line and the use of SHA256. In my book, it is recommended when you get into the weirder combinations (Elliptical curve versions, etc.)
    If you do as you plan (using AlternateSignatureAlgorithms=0),
    then the CA certificates will show Sha256RSA as the signature algorithm, and be universally accepted.
    As you stated... 
    1) Change the capolicy.inf on the root CA and renew the root CA certificate.
    2) Change the CAPolicy.inf on the issuing CA and renew the issuing CA certificate
    Now start issuing the KSP certificates, they will be usable on Firefox
    Brian 

  • Replaced bad superdrive with used ifixit model now burning not supported

    Hey,
    After using our computer as a dvd player for a year or so the superdrive was shot. I ordered a replacement from ifixit. It plays cds/dvds fine but will not burn. When I press the "burn" button in iTunes my computer says NOT SUPPORTED. ifixit sent me a TEAC DV-W28SLA that was SUPPOSED to work in my iBook.
    Does anyone out there know if this drive will even work in this computer and if so, how to make it happen. If this were a Windows machine I would try and find a driver online somewhere. But with OS X, I wouldn't know what to do with the driver if I found one!
    iBook G4   Mac OS X (10.3.9)  
    (NOTE: the Mac OS X (10.3.9) is just a guess, I have no idea what operating system I have. I can replace a superdrive but software gives me hives!)
    iBook G4   Mac OS X (10.3.9)  

    housingbubbble, Welcome to the discussion area!
    Checkout PatchBurn.

  • Local language site does not support with the font. I alredy installed the font in my computer. IE support with it but FF 5.0 not support?

    I visited a local site which published in local language(Sinhala language) The site provides the font to be installed to visit the site. I installed that font and tried to visit the site, but can't read as font not supported. restart also not solved. With IE it support and Firefox 5.0 not.

    I visited a local site which published in local language(Sinhala language) The site provides the font to be installed to visit the site. I installed that font and tried to visit the site, but can't read as font not supported. restart also not solved. With IE it support and Firefox 5.0 not.

  • EJB with network-access-point exception "getServerChannel() not supported."

    Hi,
    My task is to get a specific remote bean only to be available on a certain port (still using the t3 protocol). The bean is called MyRemoteBeanEJB. I have tried to accomplish this with the use of network-access-point In my weblogic-ejb-jar.xml:
         <weblogic-enterprise-bean>
              <ejb-name>MyRemoteBeanEJB</ejb-name>
              *<network-access-point>MyChannel</network-access-point>*
         </weblogic-enterprise-bean>
    And on the AdminServer i have created a channel called MyChannel ( [Network Channel|http://i.imgur.com/3tss0.png] ). I'm running Weblogic Server 10.3.2 with EJB3.0.
    The channel is active (from the debug output):
    <Notice> <Server> <BEA-002613> <Channel "MyChannel[11]" is now listening on 127.0.0.1:7042 for protocols t3.>
    THEN from my fat client i look up the remote bean, everything works fine,
    MyRemoteBeanInterface remoteBean = ic.lookup(..); // t3://localhost:7042
    BUT when i try to call a method I get the following output on the server:
    <2012-dec-05 kl 15:56 CET> <Warning> <RMI> <BEA-080004> <An error was thrown by rmi server:
    java.lang.AssertionError: getServerChannel() not supported.
    java.lang.AssertionError: getServerChannel() not supported
    at weblogic.rjvm.RJVMImpl.getServerChannel(RJVMImpl.java:769)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:568)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    If I remove the network-access-point tag it works (but I loose the point of restricting the bean to a certain port).
    I decompiled the weblogic.rjvm.RJVMImpl class found in wlfullclient.jar (the client jar with all weblogic deps), and at line 769:
    public ServerChannel getServerChannel() {
    throw new AssertionError("getServerChannel() not supported");
    Google let me down and really, i have no idea what's wrong.... Maybe i'm not using it in an expected way or i'm missing something.
    Anybody with any insights or even better, solutions?!
    Thanks!

    Syed,
    First off, for voice, you will need -65dBm at the edge of the cell. If you are trying to cover outside areas then the 1500 or 1550 is your best choice if you can provide a mounting area and power. I don't know your coverage layout, but you can use the 1142's inside but not outside. You should also use the latest 1.4.x on the phone. It's tough to provide voice coverage outside unless you can place mesh AP's outside at given locations. You will also need QoS enabled on both the wireless and wired.
    Sent from Cisco Technical Support iPhone App

  • HT1665 Why when I put my 30 pin lightening adapter to a charger it comes up with "30 pin lightening adapter is not supported by this device "  how do I support it

    The 30 pin lightening adapter is apparently not supported by my ipod 5th generation how do I support it

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

  • ORA-19011-- varchar2 not enought

    hi all,
    when i run the following query:
    SELECT KEY_ID_FLUSSO,AAA
    FROM   (SELECT T.KEY_ID_FLUSSO
                  ,CAST(XMLQUERY('/lottoEventiRichiesteDuplicato/evento/assistito/codFiscale/text()' PASSING XMLPARSE(DOCUMENT DS_FLUSSO) RETURNING CONTENT) AS VARCHAR2(4000)) AAA
            FROM   ARCHIVIO_FLUSSI_PM T
                  ,FLUSSI_PM          B
            WHERE  T.KEY_ID_FLUSSO = B.KEY_ID_FLUSSO
            AND    B.CD_TIPO_FLUSSO = 'G0050'
            AND    T.DS_FLUSSO IS NOT NULL
            ORDER  BY 1 DESC)i get
    ORA-19011: Character string buffer too smallthis is because the result is bigger than 4000 byte, and a varchar2 is not able to treat string longer than 4000 byte. How i can solve this matter.
    THanks
    francesco

    the problem wasn't related to the size of varchar2?I don't know. What does the codFiscale node is supposed to contain?
    You said the error was related to the size of the extracted value, I just trusted you on that and show you how to handle it as a CLOB instead.
    So i cannot use cast/xmlquery but i should use xmlcast/xmlquery??No, in your version, you must use extractvalue() function if the size is <= 4000.
    If the size you need to extract is > 4000 then use trick #1 :
    dbms_xmlgen.convert(extract(xmldoc, '/path/text()').getclobval(), 1)
    but what means "it does not unescape back encoded entities"Some characters are invalid in XML because they hold a special meaning, they have to be escaped using replacement entities :
    -  &amp; --> &amp;amp;
    -  &lt; --> &amp;lt;
    -  &gt; --> &amp;gt;
    -  " --> &amp;quot;
    {code}
    So, for example, to store the string "R&D" in a text() node, we must do this :
    {code}
    <test>R&amp;D</test>
    {code}
    Now, if we want to get the value back, we'll use this :
    {code}
    SQL> select extractvalue(xmltype('<test>R&amp;D</test>'), '/test') from dual;
    EXTRACTVALUE(XMLTYPE('<TEST>R&
    R&D
    {code}
    As you can see, the escaped entity has been automatically converted back to its original readable form.
    That's the proper way of extracting a scalar value out of a text() or attribute node (in your version), provided the length is not more than 4000 chars.
    Now, let's suppose the value we want to retrieve is longer than 4000 chars.
    Prior to version 11.2.0.2, the solution to that situation is to serialize the text() node as CLOB :
    {code}
    SQL> select extract(xmltype('<test>R&amp;D</test>'), '/test/text()').getclobval() from dual;
    EXTRACT(XMLTYPE('<TEST>R&AMP;D
    R&amp;D
    {code}
    See the difference? The entity still sits there, in its escaped form. That's why we have to call DBMS_XMLGEN.CONVERT on top of that :
    {code}
    SQL> select dbms_xmlgen.convert(extract(xmltype('<test>R&amp;D</test>'), '/test/text()').getclobval(), 1) from dual;
    DBMS_XMLGEN.CONVERT(EXTRACT(XM
    R&D
    {code}
    Hope that helps.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • XML validation with DTD in java 1.5 not supporting

    Hi,
    I am facing a problem regarding validation of xml file with DTD tag in it.
    I have disabled the parser through setValidating(false) method.
    xml file is not parsed in JRE 1.5.but it is parsed in JRE 1.6.
    Why this is showing such a behavior?
    I have used xerces 2.9.0,xml-api.jar and other jar regarding XML api but still it is giving error.
    please help me.
    please provide a jar file name or its issue resolution in jre 1.5 or 1.4.

    thanks for your prompt reply.
    I required that it should be completely disabled in jre 1.5(jdk1.5 or 1.4).
    I am using DOM Parsing.I have currently disabled with follwowing method,
    builderFactory.setValidating(false);
    builderFactory.setFeature("http://xml.org/sax/features/validation",
         false);
         builderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-dtd-grammar", false);
         builderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd",false);
         builderFactory.setFeature("http://xml.org/sax/features/external-general-entities", false);
         builderFactory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
         factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
    in 1.6 it is working fine but I required that i have to disabled it.but it is giving a error in jre1.5.
    Exception in thread "main" java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
    I just want to disable the parsing in jdk version 1.5 or 1.4
    thanks in advance
    anand

Maybe you are looking for