Can not use XML API from Sun (JAXP)
Some of my EJBs and Servlets uses XML API from Sun (JAXP) but after deployment the J2EE Container uses its own XML engine (Oracle XML Parser....) instead.
I try to add JAXP library to my deployment file and test again but this problem still occurred.
My question is how to add my libraries to J2EE Container and these libraries can be shared by any applications.
Regards,
Narong
Please post this in the misc or xml newsgroup.
vipuld shah wrote:
i have an application which is running through javaWebStart
if u start the application first time(through clicking on
link of .jnlp file), it will download necessary .jar files
& it will store those files in javaWebStart's cache.
when u will visit second time, it will check files in cache
with the files in server, if both are same, then it will not
download but will use from its cache.
it works fine for .jar files, but is it possible for some .xml
files which are changing very rarely.--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
Similar Messages
-
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,
EdThank 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 -
Why jdbc api ?why not use odbc api from java application?
hi guys....am pretty confused abt these jdbc drivers...am unable to understand why we r using jdbc api when odbc api has been in market prior to jdbc.....please clarify my doubt
chari wrote:
hi guys....am pretty confused abt these jdbc drivers...am unable to understand why we r using jdbc api when odbc api has been in market prior to jdbc.....please clarify my doubtbecause jdbc is the way that java does it.
use it or don't.
C++ was in the market before java - why was java developed at all? cobol was in the market before C++ - why was C++ developed at all?
% -
Can not create XML file from MS Access 2003
Hi,
I am getting error as "Error loading in DLL" when I use msaccess_exporter to create XML file for migrations usind Access 2003 DB. Does anyone know about this? If yes, could you please let me know how to resolve it?
Thanks,
KartikHi Daniel,
I believe you are seeing the message "Table'_OracletblDatabase' already exists" because you are attempting to export an MDB file that you previously attempted to export, but that initial export process may not have run to completion. I recommend opening your .MDB file, and delete any "_Oracletbl..." table objects that exist under the list of Table objects. Close the MDB file and carry out the export process again. You should now be able to use the 2000 mde file.
I hope this helps.
Regards,
Hilary -
Can not construct xml from relative xpath expression: //FormVar
In version 7.0, it was possible to access Form Variables with the (valid) XPath Expression "//FormVariable".
In 7.2.2, using this XPath Expression leads to a stalled action, with message: "can not construct xml from relative xpath expression: //FormVar". (see full stack trace below)
What's wrong? How can I fix this?
Use of relative expression is very very useful during the development phase!
Best Regards,
com.adobe.workflow.WorkflowRuntimeException: can not construct xml from relative xpath expression: //FormVar
at com.adobe.workflow.pat.service.PATExecutionContextImpl.createNodesForXPathExpression(PATE xecutionContextImpl.java:854)
at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:707)
at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:429)
at com.adobe.workflow.qpac.set_value.SetValueService.execute(SetValueService.java:72)
at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)
at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2371)
at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncInvokeProcessCommand(ProcessEngineBMT Bean.java:512)
at sun.reflect.GeneratedMethodAccessor709.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:683)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 44)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:72)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331 )
at org.jboss.ejb.Container.invoke(Container.java:723)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy285.asyncInvokeProcessCommand(Unknown Source)
at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:127)
at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j ava:458)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc eptor.java:62)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
at org.jboss.ejb.Container.invoke(Container.java:723)
at org.jboss.ejb.plugins.jms.JMSContSorry, i just read my own message in the discussion forum and
discovered all spaces for formating the XML tags where gone.
It should look like this:
[-----xml_type---]
<doc>
__<role>
____actor
____<first>
______john
____</first>
____<last>
______bond
____</last>
__</role>
__<role>
____actor
____<first>
______james
______</first>
____<last>
______smith
____</last>
__</role>
</doc>
semantic:
There are two actors: "john bond" and "james smith"
Querying for "john bond" succeedes which is correct
Querying for "james smith" succeedes which is correct
Querying for "james bond" fails which is correct
Querying for "john smith" succeedes which is an ERROR!
contains(xdata, 'actor INPATH(//role[./first = "john" and ./last
= "smith"])' (= 100 ---> ERROR!)
bye,
feri -
I can not find my playlists on apple tv. How can I use my playlists from itunes on apple tv ?
Hey luisathome,
Thanks for the question. The following resource outlines how to setup Home Sharing between your Apple TV and computer:
iTunes 11 for Mac: Play items in your iTunes library using Apple TV (2nd generation or later)
http://support.apple.com/kb/PH12153
Thanks,
Matt M. -
I CAN NOT RECEIVE TEXT MESSAGES FROM PEOPLE USING IMESSAGE
On an iPhone your iMessages will go to your phone number.
You can select another email to use on iPod or iPad.
Go to settings
Messages
Send and receive
Check your phone number and uncheck the common Apple ID you share so your messages will not go to other devices. -
because i can not use the Canadian card to redeem in my account from USA. should i delete an account and create the new one that should valid in Canada by using the same email address? or what should i do? (i really want to use my recent email)
Hi Kazmania89,
Welcome to the Support Communities!
If you require additional assistance with this, click on the link below for guidance:
Apple ID: Contacting Apple for help with Apple ID account security
http://support.apple.com/kb/HT5699
Once you are able to gain access to the old Apple ID, this article may be helpful:
Using your Apple ID for Apple services
http://support.apple.com/kb/HT4895
I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?
First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
Mac: iTunes for Mac: How to copy purchases between computers
PC: iTunes for Windows: How to copy purchases between computers
Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch.
Cheers,
- Judy -
I want to install a new hard drive on my 2008 MacBook but do not have the instillation discs that came with my computer. Can I use instillation discs from a 2009 or 2010 MacBook? The hard drive I am planning to install is a WD Scorpio Black 500GB SATA 2.5'' internal hard drive.
Sometimes they do work - i've done it before. I have a late 2008 Macbook Uni and used the install dvd of my 2009 Macbook White and it worked.
Why not just clone your hard drive? It'll save you a lot of time doing a clone rather than doing a clean install.
Unless you're having issues with your old set up or your old hard drive is dead.
You can download Carbon Copy Cloner - install your new hard drive in a external usb enclosure (around $10) and clone fromt here then test it before you install it in your Macbook.
Once you've done the swap, you can install your old hard drive in the USB enclosure and use it as a backup drive.
Good luck -
I can not use CanaScan N670U with my Macbook Pro. I download Canoscan toolbox 4.1 from Cannon websit. It still keep saying "The scanner plug-in was not found". Please help
There is a solution (I'm running Snow Leopard on a Core2Duo iMac, but this problem arose when I was running Leopard on a G4 PowerBook too).
Problem:
You download the OS X driver for the scanner from Canon's site. I already had the CanoScan Toolbox (4.1) stored on an external drive.
You unzip the driver and run the VISE installer. After a search it finds your copy of Photoshop (and maybe even the CanoScan Toolbox), and you click to install on that/those location(s).
You get a couple of error messages, which you click through.
You restart your computer and try to run the scanner but you get an error that the driver is wrong or missing and the process will abort.
Solution:
BEFORE you restart, and with the installer package still open -
1. Copy the Into_CFMSupport_Login & Into_CMPrefs folders to
Applications : Canon Utilities
Applications : Canoscan Toolbox
and remove the prefix Into_ from each folder
2. Check whether the installer placed N067U_Library.shlb into the top level (not User level)
Library : CFMSupport
and if it didn't, move it there yourself
THEN restart, and try again. It worked for me (via Photoshop), but whether it will work for everyone, I don't know. -
My iPhone 5s was bought with full price in the USA from Sprint, and I was told that it is a global phone. And I can use it in china.
But I can not use it in the USA, so could you mind help me to solve that problem.
I think someone of you must help me to solve this problem !
Details:
SN:F2*****FDR
<Edited by Host>See the response in your other thread:
https://discussions.apple.com/message/24641427#24641427 -
My iPhone 5s was bought with full price in the USA from Sprint, and I was told that it is a global phone. And I can use it in china.
But I can not use it in the USA, so could you mind help me to solve that problem.
I think someone of you must help me to solve this problem !
Details:
<Edited by Host>xinyi93 wrote:
My iPhone 5s was bought with full price in the USA from Sprint, and I was told that it is a global phone. And I can use it in china.
But I can not use it in the USA, so could you mind help me to solve that problem.
Yes, the iPhone 5S is a global phone. However, Sprint will only unlock phones for use on GSM networks outside of the U.S. In the U.S., that phone can only be used on Sprint's network. -
I tried to update my iphone 3gs from ios 5 to 6 but because of software crash and while restoring with ios 6 it is not activated. Now I degrade it in ios 4 and can not use any app. How can I update this iphone?
Downgrading the iOS is not supported, and likely has caused the problems you are experiencing.
You'll need to go elsewhere for support. -
I would like to import photos that I have scanned with my Epson 4490 photo scanner. I am scanning slides and it appears that I can not use the WAI feature that is offered in photoshop elements 11. I am able to import using photoshop elements 2. Has the functionality been lost in the newer version?
Try installing the TWAIN plug-in - http://helpx.adobe.com/photoshop-elements/kb/twain-installed-photoshop-elements-11.html.
Cheers,
Neale
Insanity is hereditary, you get it from your children
If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks. -
Can we use XML from Forms 6i?
Can we use XML from Forms 6i?
Did you mean: can you parse an XML document within Forms 6i? With the new Java importer support, you should be able to use the Oracle XML parser for Java to do this.
Maybe you are looking for
-
HOW to ADD F4 help to a field on SCREEN (MODULE POOL)
Hi, How to add f4 help to a field in screen ..plz help Regards, Saleha
-
SAP BPC 7.0 Netwaver for Application Consultants
Dear Collegues, I'm trying to find information about new SAP solution for Consolidation purposes through Business Planning and Consolidation Module under Netweaver Platform but I can not manage to find the suitable place on the SAP Community Network.
-
Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground fra
-
Lost taskbar on timeline... HELP!
Hi. im new to finalcut express and lost my taskbar on the timeline. cannot find where to reload it anywhere and am stuck in zoom in/out mode help would be greatly appreciated
-
Safari 5.0 update has caused many applications/options to bring errors
Hi Guys, I made the Safari 5.0 update yesterday on my Macbook Pro, but midway through the update, an error message appeared (I didn't catch the error code). But when i restarted the laptop, i was unable to access Safari, Software Update, iTunes, etc