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)

Similar Messages

  • I can't sign in to iCloud. My Apple ID is valid, but os not an iCloud account. How do I get to use iCloud?

    I can't sign in to iCloud. My Apple ID is valid, but is not valid for iCloud. How do I get to use iCloud?

    You are getting this message because you are trying to create an iCloud account on a PC by signing with your Apple ID.  You can only sign into an existing account on a PC.  You first have to create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  After creating your account on one of these devices you will then be able to sign into the account using this ID on your PC.

  • I upgraded to IOS 7 and now I can't get my Hotmail account on my phone.  When I type in all the information, I get "Unable to Verify Account Information".  How do I get to use my Hotmail account using this software????

    I upgraded to IOS 7 and now I can't get my Hotmail account on my phone.  When I type in all the information, I get "Unable to Verify Account Information".  How do I get to use my Hotmail account using this software????

    I have had the same problem as yours on my Ipad after upgraded Procreate 2.01. My iOS is 7.04. I tried to find solution from internet for weeks. Fortunately, the problem was resolved a few minutes ago. It is very simple,
    1. Lunch outlook.com to confirm you can access hotmail mailbox. It means your account is Ok.
    2. Go to setting>Mail,Contacts,Calendars.Delete your hotmail account from your device.(my device is Ipad)
    3. Turn off your device, then turn on again.
    4. Go to setting>Mail,Contacts,Calendars and create your hotmail account by tap outlook.com. Be sure the incoming mail server is pop3.live.com.
    5. Waiting for validation.
    That's all. Hope my experience is helpful. Good luck!
    Nelson

  • My ipod has broken. a friend has given me her ipod. but how do i get to use as mine. i can erase her songs and i have mine all on my pc in itunes. help me please friends

    my ipod has broken. a friend has given me her ipod. but how do i get to use as mine. i can erase her songs and i have mine all on my pc in itunes. help me please friends??

    It appears that something happened to yur computer/iTunes files.  It happens sometimes.  To recovery:
    - Import the old music into the current iTunes library
    - Make sure all the apps are also in the library
    - If in the USA and therplaces where iCloud has benn released you can redownload most iTunes puchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - You can always redownload apps at no additional cost as long as you are singned into the same iTunes account the originally purchased them.
    - After all the suff in in the iTunes library, make a backup of the iPod by connecting the iPod to the computer and right clicking on the iPOd under Devices in iTunes. 
    - Restore the iPod from backup and restore as necessary.

  • I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I do not have any experience with Final Cut, but if you have existing projects that you MUST access; then you are in need of a solution on your new iMac in Mountain Lion!
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1.  Purchase a used Mac that will run Snow Leopard (with the optional Rosetta installed) and continue to run FCE on that Mac (you can actually use Screen Sharing with a "headless" used Snow Leopard Mac Mini and use the 27" screen from your iMac to view and work FCE in the Mac Mini environment);
    2.  Upgrade to an Intel compatible version of FCE and hope it converts your existing projects to its newer format correctly.  There is much debate that the newer version of Final Cut are eliminating many needed features; for example Final Cut Pro X vs. Final Cut Pro 6 -- many users are staying with version 6;
    3.  Install Snow Leopard (with Rosetta) into Parallels and then install FCE in the Snow Leopard environment:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • I've bought more gb for iphone 4, how do I get to use it. It says its in icloud

    II've bought more gb to download a film but it says it in iCloud. How do I get to use it??

    Correct you can't buy more KB for the iphone, what you bought was for icloud backup.
    If you want to download the film, you will have to delete some apps, pics, videos off your phone.
    You bought more memory for icloud not the phone itself.

  • HT1937 How can I get to use my phone?  Much of it appears to be set up but when I try and make a call it tells me I have not been given access to this service

    How can I get to use my phone?  When I try and dial out it says:  'You have not been given access to this service'

    Have you chacked with your carrier.  The message you are getting seems to relate to a carrier issue and not something to do with the phone itself

  • How do I get and use iCloud

    How do I get and use ICloud, will my current mobile me email automatically convert to iCloud?

    It will be available on Oct. 12th.

  • How do I get a used computer to sync my iphone instead of previous owners iphone?

    How do I get a used computer that I purchased to sync my iphone instead of previous owner's iphone?

    Transfer the entire iTunes folder (not just the iTunes Music folder) to your "new" old Mac. Put that folder in User Name>Music. Open iTunes with the option key down. Select "Choose Library." Navigate to the place where the iTunes folder is. Plug in your iPhone and everything is just like before.

  • I just got an Iphone 4. How do I get started using it?

    I just got an Iphone 4. How do I get started using it?

    Start here:
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    philippnoe wrote:
    What a "great" Program which is supporting many nice but not mandatory things but is not supporting a Program which is used day by day from many users ... and especially this Program is also sold officially by apple !!!
    Yeah!, Why, Lion won't even run my old DOS programs! 

  • How could I get the used rates of cpu and main memory

    I want to get the used rates of the cpus and the memeoy?How could I do?
    I write the code on linux and got them by read the file /proc/meminfo and /proc/loadavg.
    Is there the similar file under solaris?
    Further more , under the linux os, I could make a system sound with function ioctl,which function could make a warning sound in Solaris?
    Thanks a lot!

    For memory usage call vmstat. Can't help with CPU usage.

  • Hp Photosmart D 110 series off line after 8.1 update! How do I get online using the wireless

    when window 8.1 do an update my wireless printer goes off line!
    How do I get it back on Line in the wireless mode.
    I have to use the usb to print. It  take away my freedom
    This question was solved.
    View Solution.

    Hi,
    During the process, it should ask you how to connect USB or wireless. Now, pull the USB cable out and run the setup from your computer again.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How do you get to use an animated finger instead of the cursor?

    Hello. I've seen in a screenshot video that a developer was showing how his app works by using an animated finger instead of the regular arrow (cursor). Does anybody know what's the name of that finger program/app?
    Thanks!

    Actually, i just found it. It's called PhoneFinger: wonderwarp.com/phonefinger/

  • 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

Maybe you are looking for

  • How do I re-install iMovie when it was pre-installed on the iMac and no disks were in the box?

    Hi, I purchased my iMac in August 2011. It came pre-installed with iMovie and other iLife applications. Recently I have had some issues with iMovie (it crashes on start-up) and i came to the conclusion to try a re-install. However as it was pre-insta

  • Adobe Media Encoder - stretching video possible?

    This is a question about CS4 Flash Media Encoder(not Live Encoder) but as I can't find a forum for it, I'm posting here. Is it possible to stretch video? When selecting 'Resize Video' if the software believes the output proportions are different to t

  • Generic Withholding tax for Credit note

    I try to generic Withholding tax for credit note but It's show message No data was found. I check the selection criteria so many time and I use variant from another document that it can generic wht before.I just change posting date and document No. f

  • Invoice amount block

    Hello all, I want the system not to allow the posting of invoice for an vendor account group if it exceeds particular amount. Please let me know if there is any config setting. Or else, do I need to created a Validation for that.

  • Polish Language installation

    Hi, We need to install the polish language for our ECC 6.0 system with EHP4. Can someone please update the procedure for downloading the polish language pack DVD from the market place since am not able to find the polist language package DVD in the s