Dabu etal: per war classloader vs XML API per war

OC4J classloader folks;
A general problem for the deployment folks/production env
is
how to host or configure the deployment of war's that need specific versions or
specific vendor's XML apis.
IMO the XML api vendors, designers have not helped at all with package name spaces and
top level factories and
VM wide system properties for determining the instandiated engine.
Anybody have thoughts on how a OC4J production environment can effectively be
a "job shop" for deploying anonymous wars who might have internal dependancies on specific XML parsers, versions or vendors?
Ok, so a little easier, we're not an anonymous war job-shop. We do know what's
being deployed and have complete control over the wars. What help is this in
solving the problem? :)
Thanks, curt

Hi Lars,
Hay, the new tag <web-app-class-loader search-local-classes-first="true" />
for 903 is great!
I stand corrected, I would have bet $10, maybe $50, that this
is the default behavior of a J2EE container. :)
But I'm on 902 OC4J so this isn't available anyway.
BTW, whats the rationale for this NOT being default behavior?
You know if other J2EE containers do class loading from world on down to war by default
too?
Thanks
curt

Similar Messages

  • Cannot create 110 vlans per vnic usiing the XML API

    In a Service Profile, I have 2 vnics and both has 110 vlans, The HTTPS request to the UCS fails but when I cut it down to 60 it works. I have seen this working (110) on some UCS versions and fail on the same version on a different UCS. It is not a version issue.
    Anybody has any insight.
    Thanks

    Hi Kumar,
    I need to create multiple Vlan's using XML API. However I am able to create only one at a time
    Currently, I am posting the XML shown below-
            cookie="$cookie">
                    key="fabric/lan/net">
                        defaultNet="no"
                        dn="fabric/lan/net"
                        id="100"
                        name="myLANtest"
                        pubNwName=""
                        sharing="primary"
                        status="created"
                        />
    I tried by sending VlanId's in a range like "1-10". However, received an error mentioned below
    XML PARSING ERROR: unknown property value 101-105, name id, class fabricVlan [fabric/lan/net]
    Can you please throw some light over the issue..
    Thanks
    Dilip

  • CME XML Api

    Hi apologies if I'm posting this in the incorrect forum.
    Can someone tell me if it's possible to get a list of Directory numbers and names from the XML API in CME? I'm aiming to do this with an intranet, any information pointing me in the right direction greatly appreciated.
    Thanks,
    Craig.

    The IsGetDevice operation will get you all the devices including their extension numbers from a CME. You need to set up the router XML interface on the router as per this document: http://cisco.com/en/US/docs/voice_ip_comm/cucme/srnd/design/guide/managcme.html#wp1076023
    then follow the appropriate developer guide which you can get here: http://www.cisco.com/cgi-bin/dev_support/access_level/product_support (under voice gateway applications)
    You'll also find searching this forum for the topic useful as there are a few things the developer guide fails to mention (specifially that you need to urlencode the message before sending).

  • [METASOLV XML AP]devolop JAVA client using XML API for metasolv application

    Hi All,
    I am new in this group, and I need to help me to develop a java client to communicate with metasolv application using XML API.
    I read "XML API Developer’s Reference" document, but I still not understand how can I setup the cllient.
    I still need:
    1- What API needed(jar files) I must use to build the client
    2- A sample of source code using java.
    3- detailed guide to communicate with metasolv application using XML API.
    Thanks&Best Regards
    RADOUANE Mohamed

    any help please!!!!

  • How to use HTTP / XML API

    Hi,
    I have to communicate with a product . The product has HTTP / XML API . The API has some functions. The examples in the product docs ,
    If you send a HTTP request to URL of the product with function name and some input parameters , It returns XML response , this response corresponds to some DTD.
    Now from java Application I have to send some HTTP requests and do some things according to obtained responses.Some times I have to parse the XML responses returned to show the user some results.
    How can I do this in Java , I have not worked with this kind of requirements.
    Thanks,
    pandu

    I wanted to do both , from the java Application to server.
    1.Send HTTP (post) request
    2.Parse the returned XML response from the server.

  • Any practical help about XML API for databases

    HI friends,
    I have a problem, i want to connect to my Database using JSP but by using XML api for database. I want to MAP my database tables, rows columns as xml elements to make it more flexible. Anyone who had practicaly worked on it, please help me out.
    I am waiting for a quick response.
    Thanks for any help in advance,
    Yours Truly,
    Khawaja Salman Sarfraz

    Some databases have a feature that allows you to output the result of a query as XML. But that's not standard SQL, and it probably varies from one DB to the next. Look up the documentation for your DB for more information.

  • What is the good voice xml api for java

    dear buddies,
    what is the best voice xml api for java? has somebody comeacross and work involving this, i would like to hear more about this
    thanks
    Kuha

    Maybe the VXML forum is a better place: http://www.voicexml.org/
    Good luck.

  • Iwperl Interwoven -Is any XML API libraries available in iwperl Interwoven by default?

    Hi,
      We faced one issue when we did some POC in iwperl Interwoven. We have to merge two XML file using XML::LIBXML in iwperl. We tried to execute the .ipl file and got the error is "LIBXML.pm module is not available.  We checked existing XML libraries in iwperl Interwoven but it is not available.
    We need to know, whether we have existing XML API libraries in iwperl introven by default or not?
    if yes, tell me the location where XML API libraries are available.
    Thanks in Advance.

    Hi,
      We faced one issue when we did some POC in iwperl Interwoven. We have to merge two XML file using XML::LIBXML in iwperl. We tried to execute the .ipl file and got the error is "LIBXML.pm module is not available.  We checked existing XML libraries in iwperl Interwoven but it is not available.
    We need to know, whether we have existing XML API libraries in iwperl introven by default or not?
    if yes, tell me the location where XML API libraries are available.
    Thanks in Advance.

  • 11g BI Server XML API: NQLocale.xml

    Hi,
    I want to use the BI Server XML API especially biserverxmlexec command to automaticaly modify my repository.
    Like written in the library (http://download.oracle.com/docs/cd/E14571_01/bi.1111/e16364/xml_about.htm) I first executed the bi-init.sh script.
    After that I got an error about the shared libraries. I could solve the problem by setting the env LD_LIBRARY_PATH correctly.
    But now the next error occurred:
    Xml File Not Found error number -9, /oracle/home/bifoundation/server/locale/NQLocale.xml
    Anybody got an idea to solve that problem?
    Regards,
    Andre

    Hi Guys,
    the bug reference fixes this problem for you: https://support.oracle.com/epmos/faces/BugDisplay?id=10227146
    Specifically, I think your question relates to HOW you invoke bi-init.sh, remember there is an extra dot and space *. ./bi-init.sh*
    Hope this helps,
    Justin
    Edited by: justinjtownsend on Apr 11, 2013 4:58 AM

  • Collecting plug-in metrics using XML API from Perl?

    Hi all,
    We are building a plug-in to retrieve metrics over an XML API.
    The QueryDescriptor of each metric will do a call to the Agent's Perl script. This Perl script will then do the actual XML API call, to retrieve the metric's values.
    Does anyone have experience with this? We needed to install a few extra Perl modules from CPAN, to provide the high-level HTTP(s) communication. These modules are not in the Perl that’s used by the Oracle Agent, so I’m not sure if this is going to work when called by the Agent.
    Did any of you use an XML API? Did you make this a prereq (installing modules) or is there an alternative solution?
    Many thanks,
    Ed

    Thank you, Ash. I read the example quickly, and found (quoted)from the paper - "the Applet was designed as compact as possible in order to limit download time and to fit in a 50K jar file. The JAXP XML Parsing API package, including the SAX parser from SUN Project X (approximately 150K) is one of the smallest implementations we were able to use. It is, however, still too large to be downloaded for each session; therefore, it was installed locally to keep the download time as low as possible."
    However, in my current design, I can not ask each customer to install the JAXP API locally, so it seems that the API needs to be downloaded during the run time (am I right?). So the same problem will occur as that stated in the paper - the jar file is still too large to be downloaded for each session. Is there any lightweight API to solve it?
    BTW, as you might see, the paper was published in year 2000, I don't think the JDK plugin supported XML at that time, so it is quite reasonable to download JAXP API in that paper. But my current question is - as I posted in my previous message - whether the newest JDK plugin (JDK1.4) support Java XML API?
    Many many thanks.
    - Sun

  • What is newest/best/simplest Java XML API for loading/saving/validating?

    Here's what I need to do:
    - Load XML files. Preferably validate using XSD validation referenced by "xsi:schemaLocation" hints.
    - Generate XML files. I'd like to be able to specify indentation (tabs?) and "xsi:schemaLocation" XSD hints
    - I'm working with fairly small configuration files, so I'd like to work with document-centric (and not streaming oriented) APIs.
    I've spent a full day reading articles showing different code snippets for different APIs. There are dozens of standards and APIs. Also, all the articles that I can find are several years old at the least.
    This is surprisingly complex for something so seemingly simple.
    What's the best XML API that fits my criteria? Any links for code snippets and up-to-date documentation?
    Thanks!

    Well, XML hasn't changed since it was formalized, and that was in 1999. So there's really no need for people to write new parsers every couple of years any more. And that's why you don't find new tutorials being written every year either. There's really not much need for that.
    Anyway, my recommendation would be to use the classes that are built into your current version of Java. Use them for a while. Once you have experience with them, all those tutorials about other products will start to make sense and you will be able to make an educated decision for yourself.

  • Web Target & XML API use

    Hello there,
    I am going to make process to create Lun on NetApp Simulator.
    I had NetApp simulator, NetApp SDK server up n running on my server ...i made web target as my SDK API server and my TEO also on same server..http://172.21.***.**:8088  << this is my target connection.
    1> i want to check : does my connection work succefully or not for that i created process "web HTTP request" but that was not hit my target...
    so, please anybody have information for creating web http request process..please share with me...i appreciate you....
    2> I also have one more question regrding to using XML API in the process....As i said i also want to make process to crete Lun on my simulator...
    so..does anybody have information that how to use this XML API in our process...
    I really appreciate for help...
    Regards,
    Krupesh Patel

    Hello Christopher.......
    Now this time i just want to do simple web service target ...i want to use web service execute activity with wsdl use...
    Here ..i created web target as http://www.weather.gov/
    My process is to execute the web service ..this is my Relative url : http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl in for web service execute activity as i show in the image..
    Now..i want to select method by veryfing the url but i didn't get success....and got error...i want to execute this service on the target and want weather according to zip code i get from method...
    please help...appreciate you for information....
    Here is that image :

  • CCME xml api

    hi all!
    I'm trying to do some xml requests to a Cisco CallManager Express 4.1(0). But every time i get a "The underlying connection was closed: The connection was closed unexpectedly." error.
    After a while i found the default test page on the CCME for testing the xml API: http://CCME-IP/ISApi/AXL/V1/soapisapi.is You only need to past this in the url bar of your browser
    When i submit the gerenated code on that page i recieve the following error: "Cannot find server - The page cannot be displayed" But when i press the f5 button the default test page shows again.
    Is there anyone who can help me? Thanks in advance!

    Well, here's my chance to give back to the community. I've finally figured out how to communicate with CME 4.2.
    First a little background - My application creates the string that represents the SOAP XML messages, uses the WebRequest object (C#) to set the headers, send, and receive the response. This worked fine for the regular Cisco Call Manager, but once I tried it with Express, the server kept killing the connection. If I screwed with the authentication string, I would at least get a response saying that I did not have authorization, but got absolutely nothing back when sending a valid xml request.
    Using wireshark to examine the packets, I tried to reproduce the message that was being sent (successfully) from the API test page that is built into the server. I had first thought that my problem was with either the http headers or my xml was incorrect, but what I have found is this - The soap message MUST be preceded with "content=" and MUST be url encoded. It doesn't matter what the content type header is set to ("text/xml" or "application/x-www-form-urlencoded" as coming from the webpage); it will only respond to my request when I prefix content= and url encode the data.
    This was very frustrating to say the least. This is obviously contrary to anything in the XML Provisioning Guide for CME, which tells you to pass text xml just like Call Manager. Anyway, I posted this in hopes that it saves someone else the headache and in thanks to all of those that have helped me.
    Brian

  • UCS XML API Query Problem

    Currently I am attempting to power up and down a blade that is un-attached to a profile using a UCS XML API Query.
    Current progress:
    I have come up with this query that will power down a blade from a call from an attached profile...
    <configConfMo cookie="<SomeCookie>" inHierarchical="false">
    <inConfig>
    <lsPower dn="org-root/ls-profile1/power" state="down" status="modified"/>
    </inConfig>
    </configConfMo>
    This works for a server that is attached to a profile <profile1>, but I want to power down a server that is un-attached. I am currently using  UCS emulator 2.2 for testing these querys.

    There are a few options here that occur to me:
    Go to either the web interface of one of your UCSMs or the emulator with something like:
       http:///visore.html  or https:///visore.html
    traverse the objects or search for what you want and follow the '?' link to the right of the Class name.
    You could also try to find what you need here: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/VScgIX.html

  • UCS XML API - clarification on values

    Hey folks,
    I look through the XML API used to query the UCS manager. Where can I get the possible values of a particular attribute?
    Let me rephrase,
    Consider I am querying for 'equipmentChassis' with <configResolveClass cookie="cookie" response="yes" classId="equipmentChassis">
    I got a value as follows
    <equipmentChassis adminState="acknowledged"  configState="ok" connPath="A,B" connStatus="A,B" dn="sys/chassis-1" fabricEpDn="fabric/server/chassis-1" fltAggr="0" fsmDescr="" fsmPrev="nop" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="never" fsmStatus="nop" fsmTry="0" id="1" lcTs="1970-01-01T01:00:00.000" licState="license-ok" managingInst="A" model="N20-C6508" operQualifier="" operState="operable" operability="operable" power="ok" presence="unknown" revision="0"  serial="1"  thermal="unknown" vendor="Cisco Systems Inc" versionHolder="yes"/>
    Lets take the attribute licState, we got a value 'license-ok', what are all the possible values I can get in that place? Do Cisco provide any key guides for this? I searched, I am sorry I might have missed something.
    Thanks

    There are a few options here that occur to me:
    Go to either the web interface of one of your UCSMs or the emulator with something like:
       http:///visore.html  or https:///visore.html
    traverse the objects or search for what you want and follow the '?' link to the right of the Class name.
    You could also try to find what you need here: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/VScgIX.html

Maybe you are looking for