Urgent: Xerces 1.4 .2 (and higher) and WLS 6.0

Hi,
We want to use the Apache Xerces 1.4.3 validation to .XML Schemas and we try to
integrate it in WLS 6.0. sp2
But we are ahving trouble to get the parser working.
I allready tried to explicitly stating to use the org.apache.xerces.framework.DocumentBuilderFactoryImpl
of apache ..... but then the program stops when asking for a DocumentBuilder.
anyone... knows how to get Xerces 1.4.1 (or higher) to be used in WLS6.0 sp2
Nico

I'm using Syslog, JAXP, Xerces 1.3.1, jdom-b7 with WL 6.0sp2 without
problems ( after getting a patch for Syslog )
Use the Xalan that comes with Xerces, not the independent download.
Put xerces.jar ahead of weblogic jars in the startup script
Setup the external registry.
config.xml:
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
Name="Apache XML registry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
Set the external registry to be in use.
config.xml:
<Server ... XMLRegistry="Apache XML registry" ... >
If you are calling SaxBuilder() without specifying a class for the builder,
JAXP throws an error. Syslog has a bug which does that, and the patch will
be included in the next release. But if you use:
startup script:
java $JAVA_OPTIONS ...
-Djaxp.debug=true -Dweblogic.xml.debug=true -DSyslog.config.xml=config/gulch
/syslog_config.xml -DSyslog.xml.parser=org.apache.xerces.parsers.SAXParser
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transfor
merFactoryImpl ...
weblogic.Server
com.protomatter.syslog.Syslog.java:
String parserClass = System.getProperty("Syslog.xml.parser");
SAXBuilder builder = null;
if (parserClass == null)
builder = new SAXBuilder();
else
builder = new SAXBuilder(parserClass);
It works.
"metin" <[email protected]> wrote in message
news:[email protected]...
>
Hi,
We had also smilar problem. I used JAXP and SAX 2 implementation withapache xerces
in our XML application. I was not able to to register this package inweblogic
console. Weblogic sets system property to default :
javax.xml.parsers.SAXParserFactory =weblogic.xml.jaxp.RegistrySAXParserFactory
>
It didn't recognize the XML registry definition and it didn't recognizethe system
property that I defined (even in the application).
In weblogic 5.1 we put in the classpath our JAXP jar file in fron of theweblogic.jar.
In weblogic 6.0 this did't work now I use SAX parser from xerces withoutJAXP
SAXParserFactory.
It seems like weblogic has older version of xerces and it does not allowto use
another package because of RegistrySaxParser.
I don't understand why there is no information in weblogic web sites, itseems
many people having these problems.
Good Luck and
best regards,
Metin Koc
"Nico De Groote" <[email protected]> wrote:
Hi,
We want to use the Apache Xerces 1.4.3 validation to .XML Schemas and
we try to
integrate it in WLS 6.0. sp2
But we are ahving trouble to get the parser working.
I allready tried to explicitly stating to use the
org.apache.xerces.framework.DocumentBuilderFactoryImpl
of apache ..... but then the program stops when asking for aDocumentBuilder.
>>
>>
anyone... knows how to get Xerces 1.4.1 (or higher) to be used in WLS6.0
sp2
Nico

Similar Messages

  • How do I get to use Xerces 1.2.1 or higher w/ wls 6.0

    We are trying to port our software from WLS 5.1 to 6.0. I am running into a problem
    because our code uses Xerces 1.2.1 (or higher) and WLS 6.0 is using 1.2.0. Initially,
    I was getting a null pointer error way down in my code. I traced this to a Xerces
    problem with 1.2.0. SO I decided to place the Xerces.jar file before the weblogic
    jars in my classpath. This caused the server to not start up cleanly; so I went
    back to the weblogic jars coming first in the classpath. Then I tried creating
    an XML registry. This gives me a different error (the stack trace is included
    at the bottom of this message). However, from perusing the newsgroups, I don't
    think this method will work. Can you help me out?
    thanks,
    lisa
    1) test01GetAccounts(com.cqg.trs.admin.test.AdminSesTest)
    javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:80)
    at com.cqg.trs.msg.TRSElement.getDocumentBuilder(TRSElement.java)
    at com.cqg.trs.msg.TRSElement.<init>(TRSElement.java)
    at com.cqg.trs.msg.S2C.<init>(S2C.java)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at com.cqg.trs.msg.TRSElementFactory.createTRSElement(TRSElementFactory.java)
    at com.cqg.trs.msg.TRSElement.getElements(TRSElement.java, Compiled Code)
    at com.cqg.trs.msg.TRSElement.getElement(TRSElement.java)
    at com.cqg.trs.msg.Order.getS2C(Order.java)
    at com.cqg.trs.admin.test.AdminSesTest.test01GetAccounts(AdminSesTest.java,
    Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at junit.framework.TestCase.runTest(TestCase.java:155)
    at junit.framework.TestCase.runBare(TestCase.java:129)
    at junit.framework.TestResult$1.protect(TestResult.java:100)
    at junit.framework.TestResult.runProtected(TestResult.java:117)
    at junit.framework.TestResult.run(TestResult.java:103)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)
    at junit.textui.TestRunner.doRun(TestRunner.java:61)
    at junit.textui.TestRunner.start(TestRunner.java, Compiled Code)
    at junit.textui.TestRunner.main(TestRunner.java:94)

    Try to remove the xerces.jar from xmlx.jar and put the one you want to usae
    in the CLASSPATH. Also set the registry's saxparserfactory to
    org.apache.xerces...
    Thanks
    Sandeep
    "Lisa Klag" <[email protected]> wrote in message
    news:[email protected]...
    >
    We are trying to port our software from WLS 5.1 to 6.0. I am running intoa problem
    because our code uses Xerces 1.2.1 (or higher) and WLS 6.0 is using 1.2.0.Initially,
    I was getting a null pointer error way down in my code. I traced this toa Xerces
    problem with 1.2.0. SO I decided to place the Xerces.jar file before theweblogic
    jars in my classpath. This caused the server to not start up cleanly; soI went
    back to the weblogic jars coming first in the classpath. Then I triedcreating
    an XML registry. This gives me a different error (the stack trace isincluded
    at the bottom of this message). However, from perusing the newsgroups, Idon't
    think this method will work. Can you help me out?
    thanks,
    lisa
    1) test01GetAccounts(com.cqg.trs.admin.test.AdminSesTest)
    javax.xml.parsers.FactoryConfigurationError:com.sun.xml.parser.DocumentBuilderFactoryImpl
    atjavax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
    java:80)
    at com.cqg.trs.msg.TRSElement.getDocumentBuilder(TRSElement.java)
    at com.cqg.trs.msg.TRSElement.<init>(TRSElement.java)
    at com.cqg.trs.msg.S2C.<init>(S2C.java)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    atcom.cqg.trs.msg.TRSElementFactory.createTRSElement(TRSElementFactory.java)
    at com.cqg.trs.msg.TRSElement.getElements(TRSElement.java,Compiled Code)
    at com.cqg.trs.msg.TRSElement.getElement(TRSElement.java)
    at com.cqg.trs.msg.Order.getS2C(Order.java)
    atcom.cqg.trs.admin.test.AdminSesTest.test01GetAccounts(AdminSesTest.java,
    Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at junit.framework.TestCase.runTest(TestCase.java:155)
    at junit.framework.TestCase.runBare(TestCase.java:129)
    at junit.framework.TestResult$1.protect(TestResult.java:100)
    at junit.framework.TestResult.runProtected(TestResult.java:117)
    at junit.framework.TestResult.run(TestResult.java:103)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)
    at junit.textui.TestRunner.doRun(TestRunner.java:61)
    at junit.textui.TestRunner.start(TestRunner.java, Compiled Code)
    at junit.textui.TestRunner.main(TestRunner.java:94)

  • I want to check the status of application No.  For it is written in my account was canceled and I did not do so I urgent news about his condition and the reason for canceled I redial the same time as the sender befo

    Thank you for your attention
    I want to check the status of application No. W439602096
    For it is written in my account was canceled and I did not do so
    I urgent news about his condition and the reason for canceled
    I redial the same time as the sender before you
    We are waiting for you

    This is a user to user forum. You are not talking to Apple here. We cannot help you; you will need to contact wherever the order was placed.

  • Visual cafe 4.0 EE and WLS 5.1

    Hi ,
    Has anyone successfully integerated visualcafe 4 enterprise editon
    and WLS 5.1 on win2k ? Any info would be highly appreciated !
    cheers
    Amjad

    Hi ,
    Has anyone successfully integerated visualcafe 4 enterprise editon
    and WLS 5.1 on win2k ? Any info would be highly appreciated !
    cheers
    Amjad

  • WebDev Install with JDeveloper and WLS

    I'm familiar with the installation of a JDE WebDev Client and now I've been tasked with a JDeveloper 11.1.1.2 and WLS install. Is there any good guides on how to set this up?
    EnterpriseOne 811
    Tools 8.98.3.1
    Any help would be greatly appreciated.
    Thank you,
    Al

    Hi Al,
    Try this:
    https://support.us.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1302209.1
    This doc explains what components you need to have on a E1 Client that will be used to build and deploy BSSV Packages to a Bus Services Server. The Combination of JDeveloper and WLS probably indicates that you are intending to setup a Bus Services Server. However, this is only supported as of 811SP1.
    If you are running 811SP1, the process of setting up a Bus Services Server involves:
    - defining a BSSV instance via Server Manager
    - setting up a E1 Client with JDeveloper that will be used to build and deploy a Business Services Package
    The following doc has useful links to the MTRs for Bus Services Server as well as other useful resources on BSSV.
    https://support.us.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=967281.1
    Edited by: user621397 on 15/04/2012 22:03
    Edited by: user621397 on 15/04/2012 22:04

  • Dr.Watson troubling me and WLS 5.1  ?!?!?!?!?!

    I have installed Weblogic 5.1 with Service Pack 2 and often the Dr.Watson error message is displayed. The Weblogic Server is then shutdown.Any solution for me friends!

    Hi,
    can you post some more details? Which Virtual Machine (java
    -fullversion), which database driver? Any other native code? When will
    Dr. Watson occur? When starting the server or after a while?
    Daniel
    -----Original Message-----
    From: shivakumar [mailto:[email protected]]
    Posted At: Tuesday, August 28, 2001 1:59 PM
    Posted To: performance
    Conversation: Dr.Watson troubling me and WLS 5.1 ?!?!?!?!?!
    Subject: Dr.Watson troubling me and WLS 5.1 ?!?!?!?!?!
    I have installed Weblogic 5.1 with Service Pack 2 and often
    the Dr.Watson error message is displayed. The Weblogic Server
    is then shutdown.Any solution for me friends!

  • Building /deploying sample plugin in WLI 2.1 and WLS 6.1

    I'm running WLI 2.1 (service pack 1) and WLS 6.1. I'm trying to build and deploy
    the sample plugin (sampleplugin-ejb.jar) but have had numerous problems.
    Specifically, though there are no errors and the WLS admin console tells me the
    plugin is deployed I cannot actually see any of the plugin actions etc. on the
    WLI Studio and am told that the plugin is not loaded when I open the template
    definitions.
    I've even resorted to deploying the version of the plugin bundled in WLI_HOME\lib\sampleplugin-ejb.jar
    i.e. one I didn't build myself but again, although there are no errors, the plugin
    does not seem to be correctly loaded.
    In order to get this far I've had to include the plugin jar file in the server
    CLASSPATH. Otherwise I get an 'java.lang.NoClassDefFoundError: com/bea/wlpi/common/plugin/PluginObject'
    error. I know I shouldn't have to include the EJB in the CLASSPATH but it seems
    to resolve this error. Perhaps this is contributing to the other problem ????
    Any help gratefully appreciated. Has anyone successfully built and deployed the
    sample plugin to WLI 2.1/ WLS 6.1 ?

    I found WLI sp2.
    Thanks.
    Sangeetha
    "Sangeetha.R" <[email protected]> wrote in message
    news:[email protected]..
    Thanks Chris.
    But, I couldn't find this in the support downloads too.
    Could you let me know, from where can I download this?
    Thanks,
    Sangeetha
    "Chris Stead" <[email protected]> wrote in message
    news:[email protected]..
    Sangeetha,
    WLI 2.1 SP2 will go live tomorrow (7/31) and is compatible with WLS 6.1SP3.
    Cheers,
    Chris
    Sangeetha.R wrote:
    Is there a service pack for WLI 2.1 that is compatible with WLS 6.1
    sp3
    Thanks in advance.
    Sangeetha

  • SSL Acceleration between iPlanet and WLS

    I was wondering if anybody has successfully deployed a SSL accelerator card for SSL acceleration between iPlanet and WLS?

    This is a feature in the latest release, WebLogic Server 6.1.0
              <http://e-docs.bea.com/wls/docs61/////adminguide/nsapi.html#101168>. It is
              not available for WebLogic Server 5.1.0.
              Regards,
              -- Ian
              "Abhinandan" <[email protected]> wrote in message
              news:3ba5dfa9$[email protected]..
              > Can i get SSL communication between iPlanet and Weblogic 5.1? if yes then
              how??
              

  • Urgent Help Regarding Storing Word and PFD Documents

    Dear Friends
    I want to store my word and pdf documents in my database using 8.1.7 for windows NT. It is quiet urgent so if any one of u guys could help me step by step . How to insert and retrieve my doc and pdf files in and from database.
    I'll be highly thankful to you.
    Regards

    The DBMS_LOB package does not support writing of data from BLOBS to the filesystem.
    An export method is defined for the intermedia doc type.
    NOTE: look at the notes and make sure the correct permissions are granted to the user for this method to work. This is in the 8.1.7 documentation which is not on OTN at this time...
    However, the intermedia does have an export method that was implemented as a java stored procedure.
    http://otn.oracle.com/doc/oracle8i_816/inter.816/relational_interface/mm_relat.htm#1078905
    You can write your own java stored procedure to write the file, place the document in an intermedia doc type and use the export method, or use the relational interface export() function.

  • URGENT - PLEASE READ MY MIND AND GIVE ME THE CODE

    I AM DOING AN URGENT PROJECT AND I NEED SOME CODE. PLEASE PROVIDE THE CODE WITHOUT DELAY.
    I AM SENDING DETAILS OUT ON MIND FREQUENCY 42 GigaHz at 10 GigaWatt.
    STOP WHATEVER ELSE YOU ARE DOING AND SEND ME THE CODE NOW!

    I am not happy with the service from Sun. Please me the solution NOW!Sun wishes to let you know that it feels truly sorry about your unpleasant experience and installs a new
    24/7 competence call center immediately. Please hold the line while the building is being constructed.
    ERRATA Sun apologizes for the actual inconvenience, but in the constant objective of satisfying the most, and due to the peculiar context of the stated problem,
    the 24/7 competence call center will be replaced with a 42 Ghz English/Swahili mind-reading center. Please keep your mind opened until Sun finds the needed brains.

  • Very Urgent: Deleting Batch from STO and Goos Issue reversal  Using BAPI

    Hi,
    I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
    I wld be very grateful
    Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
    1) REVERSE BILLING DOCUMENT(VF11)
    2) GOODS ISSUe REVERSAL (VL09N)
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    Its very urgent..
    Thank you in advance....

    1) REVERSE BILLING DOCUMENT(VF11)
    BAPI_BILLINGDOC_CANCEL
    2) GOODS ISSUe REVERSAL (VL09N)
    BAPI_GOODSMVT_CANCEL
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    BAPI_SHIPMENT_CHANGE
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    BAPI_PO_CHANGE

  • Please Help me Urgent ....Archive and  Print of PO in ECC

    Hi all,
        I had created a PO in <b>ECC 6.0 using Adobe Forms</b> and sending it as E-Mail attachment or Print, with this I need to Archive and Print the PO. In the communication method of the specified output type I am specifing the storage mode as <b>Print & Archive</b>. After this if I Print the PO it should show the Archived PO through the menu <b>System--> Servies for Objects</b> which is not happing.
        Please anyone help me how to archive the PO and what need to be passed to the print program to achive this. And for this what Configuration need to be done.
    Reward points will be awarded for your help...
    Thanks & Regards
    <b>Anu</b>

    Hi all
    Help me please,urgently.
    Thanks.

  • Urgent issue with video size and quality.

    Ok, I have Premiere Pro CS4 and I am running on Windows 7 64bit. I have a movie that I have been working on for 2 years that already has hundreds of proper LightScribe DVD's, slim cases and printed cover wraps already done and paid for. I was supposed to already be done with this and selling copies, but Premiere has royally messed things up for me and I am now in limbo with the project.
    The film was recorded with simple non-HD 4:3 camcorders. Some of the footage is from years ago and was uploaded via USB low quality, but it still looks fine on YouTube, my computer, and even when I burned a DVD with the footage alone unedited. The rest was uploaded with via DV and is actually pretty good quality for being 4:3 and non-HD. I took all this footage and stretched it out with a little bit of cropping to make it widescreen on Premiere. Again, it looks great in the preview and looks fine when I exported it as a WMV.
    However, when I burned it to DVD, it was horrible quality and also chopped off the sides of the film on my widescreen TV, even though I exported the film as widescreen AND burned it on the widescreen setting! Why would it do that if it was made, exported and burned as widescreen??? Also the sound was terrible! And I exported on the highest setting possible.
    Second, I heard that AVI is a better format, so I tried that. The file was absolutely huge and when I opened the file with media player it wasn't the same perfect fit as the WMV. What I mean by that is, when I watched the WMV, media player showed the video as a perfect fittig window, no excess black space on the top or bottom. Same thing with several AVI mainstream movies that I have on my computer (actual movies, like Terminator Salvation, Pandorum, Black Hawk Down, etc). They all fit media player perfectly, no excess black on top or bottom. So why is it that actual movies in AVI format and my WMV video and movie files are perfect fit on media player, but when I export an AVI from Adobe Premier, it adds excess black on top and bottom? That doesn't make any sense, especially since you can look at a preview of what the exported file will look like and it doesn't look anything like what the ACTUAL export is. What kind of a joke is this?
    So I pretty much need help figuring out why the exported movie is horrible quality, especially on DVD that is so bad I cannot dare to sell it to a customer, AND I need help figuring out why my Premiere Pro exported AVI's look nothing like mainstream film AVI's that I have on my computer. Someone please help, this is really hurting my business!

    hiya
    well , you are certainly getting some really good help now...its like you fell into a room with the best editors and shooters and everything and you can get a lot of information and run with it...find out a lot of things.
    Some of it requires you follow through on your own as much as possible ( like you have already ) by reading and googling things you dont know, etc...  this forum and these guys is how I learned a lot about this stuff in the past year or so...so listen to what they say....google what you dont understand....you cant go wrong.
    now...about what you said...
    I exported the test clip as  an MPEG2-DVD and it gave me a video file with NO SOUND, a separate WAV  sound file, and two xmp files. This is not what I was looking for.
    I have a movie project on  Adobe Premiere Pro CS4. I simply want to export/publish the movie, burn  it onto a DVD using Windows DVD maker and have it as top quality, like  it looks in the preview monitor on Premiere. Tell me how to do it.---
    I dont use encore to burn a dvd, but use DVDit PRO.  It wants exactly what you got when you exported to mpeg 2 dvd ....a video file without sound muxed.. and a separate wav file....
    I know it sounds weird but thats the way the program burns the DVD....and that has to do with making the VOB files etc for the DVD...which is just the way it is....you see the vob files AFTER you burn the DVD if you look in the DVD...
    anyway, mpeg 2, mpeg 4, all that highly compressed stuff ( as you said ) is highly compressed to FIT onto the media ( DVD ) or whatever....but it plays good and it looks good...and has NOTHING to do with anything except squishing stuff down to fit the media and looking ( viewing ) GOOD.  the best movie you ever saw on DVD is mpeg 2 .....  turned into vob in the making of the DVD by the software that makes the DVD.
    all these things are different animals ...what you edit , what you deliver, etc ....

  • Urgent help with nokia 5230 and ovi suite

    translated from Spanish to English translator by gogle
    I need help because my nokia 5230 I can not install applications from nokia ovi suite because it is not clear that anything the phone as you ago
    I can sync
    I can send things to your suite ovi
    ovi suite but I can not to your urgent assistance
    Solved!
    Go to Solution.

    English
    I need help because I can not install applications to your suite ovi
    maybe it's because you delete the folder or lake and private
    español
    Post edited by Moderator. We would like to remind you that posts should be written in english as the board supports english language only. The board supports English language only as per guidelines.

  • Urgent:How to differentiate retro and payroll run in Fast Formula

    I have written one fast formula. This fast formula is attached to “Basic Salary” element.
    “Basic Salary” element has retro and proration setup.
    We are using Enhanced retro process.
    Enhanced retro process is calling this Fast formula to check the difference amount.
    Similarly oracle payroll will also call the same fast formula while running payroll.
    Now our requirement is:
    Few lines in Fast formula should not execute when FF is called by retro, but it should be executed when it is called from Payroll.
    So how could we know, whether FF is called by retro process or by payroll?
    If I have some way to find this, I can execute this code by using this condition.
    Any pointer in this regard will be highly appreciated.

    None of the above.. just write one custom PLSQL function which will take the payroll action ID as context parameter & will return the action_type column from PAY_PAYROLL_ACTIONS table.. to the Fast formula. L is for Retro run.
    In the fast formula, place your specific code in the if condition.
    Attention: Making the formula calculate differently in normal payroll & retro can cause you serious consistency issues in payments/deductions and debugging them might become impossible in the long run.
    Edited by: Rajkiran Bingi on Sep 22, 2011 7:00 AM

Maybe you are looking for

  • Inconsistência no consumo de materiais

    Prezados, Gostaria de uma auxílio de vocês no seguinte ponto, com relação a administração de projetos. Temos algumas pendências de consumos de materiais serializados no nosso sistema, porém ao tentar efetuar o consumo dos materiais (MIGO) para WBS de

  • My iBooks is crashing every time i do open it - what to do?

    Process:         iBooks [613] Path:            /Applications/iBooks.app/Contents/MacOS/iBooks Identifier:      com.apple.iBooksX Version:         1.0.1 (281) Build Info:      iBooks-281000000000000~1 Code Type:       X86-64 (Native) Parent Process: 

  • Import Trader - Additional customs duty

    Hi Experts, Please guide how to capture additional customs duty from import trader. Following settings have been done in the system. Created condition type JADC. Added this condition type in local pricing procedure using tcode M/08. Tax code created

  • What is wrong, Adobe? Please help.

    I'm at my wit's end here. Flash is not working right for about 5 weeks now. (ever since the update to 183.5) It's very difficult to even explain what's happening because sometimes it works for hours and then crashes, freezes everything, or loses soun

  • Bex Web timeout

    Hi, we have report that designed in Bex Web (WAD) on BI 2004s and is presented within a portal (7.0). When we execute the report and leave it after idle time (about 15-30 minutes) we get error in the report: INFO: The maximum idle time permitted betw