How do you install JAXP extensions from an applet?

All:
I want to use the JAXP XML parsers and DOM services in an Applet.
How do I get the Java-plugin to download the xerces.jar and xalan.jar files automatically, with my applet jar?
What goes in the applet manifest?
Do I have to alter the xerces and xalan manifests?
Brad

Thanks, but I wish I could report success today.
I believe what I stated before may have been confusing: the extension LIST is, indeed, in the manifest of the applet.jar.
The extension NAMES, and digital signatures, however, are ALSO in the manifest of xerces.jar. I re-read and re-read the documentation and believe I have interpreted it correctly. The xerces.jar is the implementation of the extension, and as such, must pass muster, securitywise, if it is to be allowed to be installed in the jre\lib\ext folder.
You are correct in saying I do not have to unjar the xerces.jar to rebuild it with the correct manifest information. The latest jar tool permits updating an existing jar file. Here is the bat file I currently use to create the installable version of xerces.jar:
copy Original-xerces.jar xerces.jar
jar -ufm xerces.jar manifest.txt
jarsigner -keystore d:\develop\beckrose\java\keystores\underground.keystore xerces.jar underground
(it then prompts for password)
The manifest.txt that is used to update xerces.jar is:
Manifest-Version: 1.0
Created-By: 1.3.0 (Sun Microsystems Inc.)
Name: javax/xml/parsers/
Extension-Name: javax.xml.parsers
Specification-Vendor: Sun Microsystems Inc.
Specification-Version: 1.2
Implementation-Vendor: Sun Microsystems Inc.
Implementation-Vendor-Id: com.sun
Implementation-Version: 1.2.0-EA1
Name: org/apache/xerces
Extension-Name: org.apache.xerces
Specification-Vendor: Sun Microsystems Inc.
Specification-Version: 1.2
Implementation-Vendor: Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: Xerces-J_2_0_0_beta3
The manifest file in the applet.jar refers to these extensions, so that the java plugin knows how and where to fetch them:
Extension-List: parsers xerces
parsers-Extension-Name: javax.xml.parsers
parsers-Specification-Version: 1.2
parsers-Implementation-Vendor-Id: com.sun
parsers-Implementation-Version: 1.2.0-EA1
parsers-Implementation-URL: http://beckrose:8080/underground/opt-pkg/xerces.jar
xerces-Extension-Name: org.apache.xerces
xerces-Specification-Version: 1.2
xerces-Implementation-Vendor-Id: org.apache
xerces-Implementation-Version: Xerces-J_2_0_0_beta3
xerces-Implementation-URL: http://beckrose:8080/underground/opt-pkg/xerces.jar
If you look back at the error message, it does appear that the jaxp factory method is looking for a concrete class of the factory implementation. I believe this is where the plug-in is getting confused. The name of the concrete factory classes are in the META-INF/services folder. However, the concrete factory implementation that it is trying to use is the old crimson parser by default.
In other words, the plugin is not allowing the xerces factory method to find the classname to load. As a result, it is falling back to the default, which is not implemented in the jar file.
Now, it could be that the added manifest attributes and signature file are screwing up xerces or it could be a bug in the plugin.
I don't quite know where to take this right now, so I'll monitor the plugin discussions and check out the xml.apache.org discussions.
All I know is, it should NOT be this hard, this many years after Java 2 has been released.
Brad

Similar Messages

  • How do you install an App from the Mac Store on a second HD

    I'm getting a smaller SSD drive for my computer. I don't want all my Mac App Store programs installed on my main drive but rather some on the second drive for obvious reasons. I don't see an option or even a preference panel to do this. Am I missing something simple. How is this done?
    Thanks
    Bryan

    Copy the app to the other drive.

  • How do you install Lightroom 4 to a PC with 3 installed

    How do you install Lightroom 4 from the cloud, to a computer with 3 installed, and currently being used with projects in process. I do not wnat to lose the setting or the files.

    The LR4 installer doesn't care for your LR3. It will leave everything in place. You will only be asked whether you want to import the catalogs at some point.
    Mylenium

  • How do you install programs from a disc onto the new Mac Book Pro?

    Can anyone say how do you install software from a disc/dvd onto the new Retina display Mac Book Pro?

    Maybe also this:
    DVD or CD sharing: Using Remote Disc

  • How do you install a driver onto a current system from a live cd?

    I just installed Arch on my laptop, but it seems that it doesn't install the Ethernet drivers and they don't appear to be on the live CD.  How might I install the drivers?
    Thanks!

    Yes wrote:How do you install a driver onto a current system from a live cd?
    Yes wrote:
    I just installed Arch on my laptop, but it seems that it doesn't install the Ethernet drivers and they don't appear to be on the live CD.  How might I install the drivers?
    Thanks!
    your post title and the message within seem to contradict themselves.
    More information from you might be helpful as in  what packages did you install during the installation process? Did you have network connection during the install? Are there any errors that you get when booting.
    Last edited by Inxsible (2010-06-16 23:50:34)

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • How do you delete a file from an iPad?

    How do you delete a file from an iPad?
    There are 2 versions of a document file on my iPad.
    I want to get rid of the obsolete one.
    The iPad Users Guide does not describe how to delete a document file.
    This is very frustrating!

    The iPad Guide is for the iPad itself, not other apps you may install.
    If you use Pages then read the online help here: http://help.apple.com/pages/ipad/2.2/ - specifically this: http://help.apple.com/pages/ipad/2.2/#/tancfc4d5c02
    Delete a document from your iOS device
    In the document manager, tap Edit.
    When the documents begin to jiggle, tap the ones you want to delete.
    Tap , then tap Delete Documents.To cancel, tap anywhere in the document manager background, or tap Done.

  • How do you Deauthorize a machine from your account

    Hi all, I don't know if I'm posting in the right place or not, If I'm not then I'm sorry. How do you Deauthorize a Machine from your account, anybody know? what it is. When I set the account up to buy tracks from Itunes. I was using the same Laptop that I'm using now, Just a differnt hard drive as The old hard drive died on me. I never bought any tracks from Itunes so I didn't have any to lose. I couldn't deauthorize this laptop because I didn't know that the laptop was going to die on me. In went the new hard drive. re-installed windows xp pro & re-installed itunes 8.1 clicked on authorize this machine & it came up with 3 machines out of 5. it's the same Laptop on the account. how to I remove this laptop twice from the account is it possible cheers?, If i do remove 1 of the machines, will I lose the rights to play back the tracks that I've bought today?

    You can't deauthorise 'dead' installations or computers you no longer have access to individually. However once you reach the limit of 5 authorisations you have the option to deauthorise them all in one go from your iTunes account and start over. *Just note that you can only use this option once a year*: About iTunes Music Store Authorisation and Deauthorisation
    See also this article: One computer using multiple iTunes Music Store authorizations

  • How do you uninstall a program from mountain lion osx

    Hi first time on mac forum
    my question is being new to imacs how do you uninstal a program from an imac running osx mountain lion. And of course get rid of the icon for that program from launchpad
    thanks

    What app do you want to uninstall? If it's an app that is provided by the installation of OS X, e.g. Safari, Reminders, Notes, Mail, etc. - there are many others - they shouldn't be uninstalled.
    If it is an app that was downloaded from the Mac App Store, in Launchpad click and hold its icon until it jiggles. Click on the 'x' in the corner to delete it.
    If it's an app that was installed using an installer program it is always best to see if an uninstaller is available from the developer of the app (there is often an uninstaller bundled in with the installer package).
    Other third party apps that are simply drag-installed into the Applications folder - like Skype, for example - can be just dragged to the Trash and will be deleted when the Trash is emptied.

  • How do you permanently delete apps from all your mac products (MacBook Pro, iPad, iPhone), how do you permanently delete apps from all your mac products (MacBook Pro, iPad, iPhone)

    how do you permanently delete apps from all your mac products (MacBook Pro, iPad, iPhone)

    They are not taking up storage space.  Apple knows you installed them at one time (="purchased", whether you paid money or not), and merely keeps a list so that if you wish to reinstall any of them on this or a future device, you can.  This is useful if maybe you deleted them due to space constraints, and now have a device with more memory and wish to reinstall.
    It's also useful for taking a trip down Memory Lane looking at all the useless apps you installed once then immediately deleted once you realized they were total garbage ...

  • How do you install Photoshop 5.0 onto the Macbook Pro?

    so i've been trying to install the photoshop elements 5.0 for about a weeeek now...lol & this thing still isnt working! i'm really gettin angry! jk. but i'm serious tho, how do you install this onto the macbook pro?

    OK seriously, I did not want to make you feel stupid, it was in fact the first thing that came to my mind. Now, if you got something from Costco, there is probably a box or a CD with it, which should tell you whether it is a PC version or a Mac version. These apps usually come with items like a camera or maybe a scanner included. Please take the time and check what you got. If there is nothing on the disk telling you it's a Mac-version, youprobably got the wrong thing.
    The Mac version is available via Adobe's website, just look for Photoshop Elements 9, that's the current version. There even is a trial available.

  • How do you install the JDBC-OCI patch for a Windows NT4 IFS Installation?

    I am about to install IFS on a Windows NT4 Server. I dont understand the instructions for installing the JDBC-OCI patch.
    How do you install the JDBC-OCI drivers?
    Do I install them after installing Oracle 8.1.6? and before installing IFS?
    Is it necessary to install them?
    I would be grateful for as much help as possible, I have never done anything like this before.
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jaikishan Tada, Oracle Support:
    Before installing iFS, you need to install
    Oracle8i Client (with Administrator option).
    This installs JDBC-OCI driver and other
    common Oracle components such as Net8,
    OEM ....
    The JDBC-OCI driver patch is available from
    technet to download. Go to the url - http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    and download Oracle8i 8.1.6.0.1 JDBC Drivers for use with JDK 1.1.x.
    Apply the patch and carry out iFS installation/configuration.
    Go through the iFS installation guide.
    Good Luck,<HR></BLOCKQUOTE>
    null

  • PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    Thanks John. I have tried solutions 1 to 3 from (-http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.h tml) and they do not work. So I presume that all I can do is to remove all 25 CC applications and start again!
    Incidently, ( http://www.adobe.com/downloads/updates/ ) does not list Adobe Camera Raw 8.4 as an update even though Adobe have announced that it is available (http://blogs.adobe.com/lightroomjournal/2014/04/camera-raw-8-4-and-dng-converter-8-4-now-a vailable.html). The same applies for Adobe Premiere Pro 7.2.2 (http://blogs.adobe.com/premierepro/2014/04/premiere-pro-cc-7-2-2.html). If they are not available this would explain why I cannot download them but I am very suprised that Adobe didn't mention this when I contacted them.
    Anyway thanks again

  • How do I install an APP from ITunes to my IPhone?

    how do I install an APP from ITunes to my IPhone?

    This is covered in the Iphone user guide.  I suggest you read it as syncing apps is a very basic function of the device.

  • How do you install the "add-in" on adobe connect?

    How do you install the "add-in" on adobe connect?

    Either do so when prompted in the Meeting room if you join as a Presenter or Host, or when you attempt to share your screen, or from the test your computer page for Connect, or by downloading an running the executable file.

Maybe you are looking for