Using 3rd party tags in JSF application

I have a 3rd party tag library used previously in a Struts application to check if an user is authenticated / has logged in. The tag looks like this: <authn:authenticate userVarName="user" scope="session" errorPage="error.jsp" successPage="/faces/Page1.jsp"></authn:authenticate>. One unusual thing about the tag is that the uri for it references a jar file that includes the tld.
I can build the app okay but deployment fails with the following error:
Deploying application in domain failed; Error loading deployment descriptors for authapp Line 91 Column 10 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected.
; requested operation cannot be completed
Exception=Deployment failed.
The tag's tld is <tlib-version>1.1</tlib-version> <jsp-version>1.2</jsp-version>. I'm not sure if this is the problem or if 3rd party tags don't necessarily work within JSF (am using Creator) without modification. Does anyone have any advise on this? Should 3rd party tags work? If not, how do they need to be modified or turned into a component to work? This tag doesn't display anything - it checks if users have logged in and redirects them to another site to login if they did not log in.
Message was edited by:
sstgermain
Message was edited by:
sstgermain

Thanks for your reply! I do have the jar file, which includes the .tld, in my WEB-INF/lib
On Page1.jsp I tried using <%@ taglib uri="/WEB-INF/lib/myLibrary.jar" prefix="myTag" %> but got errors so I moved it to <jsp:root version="1.2" xmlns:myTag="/WEB-INF/lib/myLibrary.jar"...Should the <%@taglib uri = work? When I tried to use <%@taglib version I got errors saying strict xml enforced.
I am using the format prefix:tag format <myTag:checkaccess userVarName="user"
scope="session"
errorPage="error.jsp" ></myTag:checkaccess>
Do I need to somehow convert this tag into a component?
I think the jar is fine since I'm using it in a number of other applications.
Should the tag work? Do non-JSF tags have to be turned into components?

Similar Messages

  • Using 3rd party tags

    I have a 3rd party tag library, used previously in Struts apps, that I would like to use in a JSF application. The tag checks if a user has logged in to the app and redirects to a login site if not. It doesn't display anything to the screen. Should a 3rd party tag that worked with JSP/Struts work with JSP without modification???? If not, how do I need to modifiy it? Please let me know!
    I imported the necessary libaries for the tag using <jsp:directive.page import="myFiles.*"/>
    I added the tags uri (which happens to be a jar file in /web-inf/ to the <jsp:root version="1.2" xmlns:authn="/WEBINF/lib/myLibrary.jar"
    The tag itself which I put between <jsp:root tags on Page1.jsp looks like this: <myTag:checkaccess userVarName="user"
    scope="session"
    errorPage="error.jsp"
    Info from the tld: <tlib-version>1.1</tlib-version>
    <jsp-version>1.2</jsp-version>
    I have the taglib entry in the web.xml
    I can build the app but when I try to deploy it I get the following error:
    Deploying application in domain failed; Error loading deployment descriptors for devpin Line 91 Column 13 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected.
    ; requested operation cannot be completed
    Exception=Deployment failed.
    Deployment failed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    C:\Documents and Settings\sstgerma\My Documents\Creator\Projects\devpin\nbproject\build-impl.xml:607: Deployment failed.
    BUILD FAILED (total time: 0 seconds)
    Message was edited by:
    sstgermain

    Thanks for your reply! I do have the jar file, which includes the .tld, in my WEB-INF/lib
    On Page1.jsp I tried using <%@ taglib uri="/WEB-INF/lib/myLibrary.jar" prefix="myTag" %> but got errors so I moved it to <jsp:root version="1.2" xmlns:myTag="/WEB-INF/lib/myLibrary.jar"...Should the <%@taglib uri = work? When I tried to use <%@taglib version I got errors saying strict xml enforced.
    I am using the format prefix:tag format <myTag:checkaccess userVarName="user"
    scope="session"
    errorPage="error.jsp" ></myTag:checkaccess>
    Do I need to somehow convert this tag into a component?
    I think the jar is fine since I'm using it in a number of other applications.
    Should the tag work? Do non-JSF tags have to be turned into components?

  • Does any one used 3rd party components like ICEFaces ?

    Hi
    Thank you for reading my post.
    does any one used 3rd party components like ICEFaces components with Creator Studio?
    What are other components pack that we can use in Creator?
    thanks

    OK, thanks to Peter Hanusiak, and Oracle Consulting consultant in Slovakia, I have resolved my issue and I'm hoping that the same solution may apply for you. See below for the instructions from Peter that helped me out. Note that since our applications are different, the specific libraries and locations that you need to confirm compatibility for may be different.
    Hope this helps,
    Dave
    I had similar problem. And in my case it was caused by different ADF from JDev and SOA Suite and SOA order booking demo.
    Because I can't test it now, I'll tell just what I remember.
    In SOADEMO is somewhere folder SOADEMO-CLIENT\UserInterface\public_html\WEB-INF\lib
    where you can find
    adf-faces-impl.jar
    jsf-impl.jar
    Try to find exactly the same libs in Jdev and copy&paste from Jdev to SOADEMO folder. then find the libs in SOASuite, and copy&paste from Jdev to SOA Suite those libs. Restart SOA Suite. Deploy Soademo-Client. And hopefully it will work.

  • Is it safe to use 3rd party chargers

    is it safe to use 3rd party chargers on the ipod touch 4g or can it mess up the touchscreen or should i get the official apple ones because i have heard some of them blowing up :O and catching fire so do they get hot while they are charging (uk 3 pin) thanks

    I sometimes charge mine from my iPad 1 charger or my Griffen charger I purchased from my 3G Nano.
    s.salmanhussain10 wrote:
    bob please tell me so its safe to charge from ipad original charger? n from any iphone(original/3rdparty) charger ?
    thanx

  • Getting chapters from PPro 2.0 into Encore 2.0 while using 3rd party encoder

    Placing chapters in Premiere is a HUGE time saver. However, I also like to use 3rd party software to encode my videos to MPEG (Canopus ProCoder2.0). This process loses the Chapter information that the .avi file carries. Is there any way to get the chapter information into Encore while still using ProCoder?

    Ok, thanks. I really wish Adobe would allow users to import and export chapter information. That would greatly increase my workflow. The thing that kills me is that in Encore 1.0, the chapters were connected to the timeline, not the video. So I could drop the AVI file into a timeline in Encore to create the chapter points, then delete it and place my MPEG video in its place. But Adobe got rid of this capability in 1.5.

  • PKI setup using 3rd party certificates

    I want to configure SCCM in our environment using are existing certificate creation infrastructure. I do not want to use Microsoft Certificate services. Instead I'd rather use our OpenSSL solution. However I cannot find good documentation to work with using
    3rd party certificates. Everything is related around Microsoft's certificate services.
    Has anyone had any luck implementing SCCM in this manor? Documentation available to aid?

    So we are planning to setup https across the board and going through the blogs and TechNet article - I see that internal PKI is a requirement and you just cannot do away with 3rd party/external certificate, correct ??
    I am working on a scenario where the customer does not want to implement internal PKI but use external certificate either by GoDaady or Thawte or VeriSign where possible at all times but looks like you can't use the external certificate to act as ConfigMgr
    Web Certificate or ConfigMgr DP Cert?
    given the following scenario
    https://social.technet.microsoft.com/Forums/en-US/ac34ebdf-c932-4075-b4a3-ebe572ffab0e/scenario-multi-tenant-configmgr-2012-r2-and-same-ip-address-range-for-multiple-customer?forum=configmanagerdeployment#868600a8-e8eb-471a-b767-761305636041
    for clients to communicate to DP's/Secondary Sites configured in HTTPS, we still need internal PKI ?
    I guess the answer is yes to all.. but just confirming :)

  • Cisco IOS CA using 3rd Party Certificate

    Hi,
    Can I use 3rd Party certificate such as verisign, on Cisco IOS CA ? All i can see on cisco.com is self-signed certificate from router.
    Thanks
    -santo-

    Santo,
    That's fair enough. A key information to make sure customers understand that a private PKI infrustructure is (for the purpose of deployment such as GETVPN) as secure as provided by third part party.
    Private PKI is not based on self signed certificates - only the root CA might need something like it :-)
    That being said, for reliability and flexability I really suggest storing CA (ser, CRL, OCSP, backup of public/private keys) files on storage external to the router.
    Key takeway is that a properly managed private PKI solution for deployments like DMVPN/GETVPN others is as secure as external 3rd party services (and often time order of magnitude cheaper).
    M.

  • What is the difference between Outlook features using exchage server and using 3rd party mail server ?

    Hi~ I'd like to know what the difference is between Outlook features using exchage server and using 3rd party mail server.
    If I use 3rd party mail server with Outlook, Outlook features are the same as Exchange Server ?
    I want to use all Outlook features..

    The basic features (and many advanced features) are identical in all accounts. With pop3, your mail, calendar, contacts, tasks, notes are stored in a pst and are only on the computer. IMAP accounts only sync email back to the server, not calendar,
    contacts, and tasks. Outlook.com EAS accounts (aka Hotmail) syncs calendar and contacts back to the server. Exchange mailboxes stores everything on the server - mail, calendar, contacts, custom views, rules - and if you open the mailbox in outlook on
    any other computer, the mailbox is identical. Because everything is on the server, you'll have much better syncing with smartphones and tablets with Exchange mailboxes.
    Calendar sharing, open other users folder, and retention policies are Exchange-only. Mail Tips and apps (linked under the reading pane header in Outlook 2013) are Exchange-only.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Can I use 3rd party instruments/plug-ins/loops with Garageband '11 running OS X 10.6.8? and how do I install?

    Can I use 3rd party instruments/plug-ins/loops with Garageband '11 running OS X 10.6.8? and how do I install?

    10.6.8 won't run on a PowerPC Mac. 
    10.6.8 also won't run the latest Java.  Here's what version of Java you can run:
    https://discussions.apple.com/docs/DOC-5532

  • Using 3rd party binary in script that is run as job

    Hi all,
    I have several scripts to do various tasks with IIS logs we receive from all our various web servers.  One script unzips logs, another logparses to grab a few fields then sftp to a 3rd party for analysis, another will encrypt the original zip files
    in prep for ftp to 3rd party, another will ftp to that 3rd party, and yet another will analyse the logs with our in house analytiscs application.
    I want to have a master script that will run these other scripts as jobs so that it will control when to start certain scripts based on the state of the jobs.  It all seemed to work great as I was setting up test jobs, until I added '3rd' party executables
    like 7-zip, ftp.exe, winscp, etc...  The jobs would just go to failed state when they hit the executables.
    That's not my current problem though as I found out that if I used the
    -windowstyle hidden option for start-process then everything ran as expected, that is until I wanted to log output from the 3rd party app.  FTP for example.
    I tried this:
    $ftpexe = "C:\windows\System32\ftp.exe"
    $ftpscr="d:\scripts\ftpscrtmp.txt"
    "open 111.1.1.1`r`nSomeFTPuser`r`nSomepassword <..bunch of other ftp commands>" | Out-File -FilePath $ftpscr -Append -Encoding "ASCII"
    start-process -wait -filepath $ftpexe -argumentlist $ftparglist  -RedirectStandardOutput $ftplog -windowstyle hidden
    However, asking powershell to redirect output of a hidden window was probably like asking someone to cover their eyes and read a book and it let me know it.
    I have tried without using -windowstyle hidden and not having any luck.  I want to capture the output of the ftp commands so that I can make sure the file was transferred successfully.  If I run the script without -windowstyle hidden and not as
    a job it works, and I can test the output.  I really want to be able to run this script as a job AND get the output of the ftp to a file... advice?
    Thanks in advance!

    This works with no problem for me.
    Start-Process -wait -filepath ftp.exe -argumentlist  '-s:c:\scripts\ftpcmd.txt' -RedirectStandardOutput c:\scripts\ftp.log
    I get no window and the file gets written.
    This is my ftp command file:
    open ftp.microsoft.com
    anonymous
    [email protected]
    ls
    bye
    ¯\_(ツ)_/¯

  • Open a form from a 3rd party Java/Web based application

    Hi All,
    I am working for a client who has a 3rd party web application built in Java.
    For one of his requirements, he wants to open a form, an apps standard form on the click of a button/url in their application.
    This appears like a normal form opening from the single-signon screen where you have the self service single sign-on page, it opens the apps forms on click of the url. Can we use the same logic here? This being the case, just curious to know how is the url to open the form built? (I see that the function name, resp id etc are there in the url) So that, I can actually manipulate the url to open the forms from a url. Please see that the custom application also is included into our Oracle apps, so the user is already logged in. We just need to open the form from the click of a url/button.
    Thanks,
    Srini.
    Thanks,
    Srini.

    If the ICX_SESSION is already available then the form(I am assuming you are refering to a web based form here) should open directly if the function should be accessible to the user logged in. When you say your custom application is included in Oracle apps are you launching these pages from the Ebiz home page through menus and functions ?

  • Using 3rd party library on linux (ABI Compatibility ?)

    Hi all !
    I am facing a problem while developing an application that uses a 3rd party library. This 3rd party library is an OCR Engine.
    Actually I am able to use this OCR from Java via JNI under windows. Now I try to do the same thing under Linux.
    I created a C++ wrapper shared library linking the OCR Engine shared library.
    I wrote 3 JNI functions for :
    - loading the engine
    - closing the engine
    - setting the engine language support
    Using my wrapper from any C/C++ program works fine. But when I use a JNI interface to these method, it ends randomly with a segmentation fault.
    Consider this simple program :
    engine.nativeLoadEngine();
    for(int i = 0; i < 500; i++)
    bq. engine.nativeSetTextLanguage( "French" );
    engine.nativeCloseEngine();
    Sometimes the segmentation fault appears before the nativeLoadEngine(), sometimes after nativeCloseEngine(), sometimes at iteration N etc.
    It cannot be a matter of my JNI code because... take a look at my functions bodies :
    * Class: com_XXX_ocr_OCREngine
    * Method: initEngine
    * Signature: ()V
    JNIEXPORT void JNICALL Java_com_XXX_ocr_OCREngine_initEngine( JNIEnv* env, jobject thisObj )
    * Class: com_XXX_ocr_OCREngine
    * Method: closeEngine
    * Signature: ()V
    JNIEXPORT void JNICALL Java_com_XXX_ocr_OCREngine_closeEngine( JNIEnv* env, jobject thisObj )
    * Class: com_XXX_ocr_OCREngine
    * Method: setTextLanguage
    * Signature: (Ljava/lang/String;)V
    JNIEXPORT void JNICALL
    Java_com_XXX_ocr_OCREngine_setTextLanguage( JNIEnv* env, jobject thisObj, jstring textLang )
    Even if I do "nothing" in the bodies, I face segmentation faults. If I don't link the OCR library, it is self-evident that there is no problem.
    I even used JNA (https://jna.dev.java.net/) to access a shared library exposing my three functions and linking to my 3rd party .so. I reproduced the same issue.
    Config :
    Ubuntu 2.6.20-16
    gcc 4.1.2
    libstc++6
    jdk1.5.0_11
    My wrapper and OCR Engine are both linking to :
    libc.so.6
    libstdc++.so.6
    My libjvm.so is linking to :
    libc.so.6
    I tried both g++ and gcc to compile my wrapper.
    Am I facing a kind of ABI compatibility issue between libjvm.so and my OCR engine 3rd party library ?
    I tried some compile command tweaking but it was pointless. It really seems hopeless to me...
    Thanks for any help.

    I believe I built Boost using the complete option. I have several files for each library, for example, I have the following in the boost_1_47_0\stage\lib\  folder:
    libboost_regex-vc100-mt-1_47.lib
    libboost_regex-vc100-mt-gd-1_47.lib
    libboost_regex-vc100-mt-s-1_47.lib
    libboost_regex-vc100-mt-sgd-1_47.lib
    libboost_regex-vc100-s-1_47.lib
    libboost_regex-vc100-sgd-1_47,lib
    boost_regex-vc100-mt-1_47.dll
    boost_regex-vc100-mt-1_47.lib
    boost_regex-vc100-mt-gd-1_47.dll
    boost_regex-vc100-mt-gd-1_47.dll
    I think the ones that have the -s- in the filename are the static versions of the library.
    I've tried changing the Project Properties->C/C++->Code Generation->Runtime Library settings without luck. And I'm not sure if there are other settings that I need to change.

  • Can't Load 3rd Party JDBC in iPlanet Application Server

    I am trying to use a 3rd Party Type 4 Oracle JDBC driver to connect to a database in iPlanet Application Server 6.0 SP3. I used the jdbcsetup.exe tool to register the driver and used the iAS Administrative Tool to Register the Datasource.
    External JDBC Driver Parameters:
    Driver Type: OracleConnectionPoolDataSource
    Driver Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Driver Classpath: c:\src\jdbc\lib\classes111.zip
    DataSource Registration Parameters:
    JNDI Name: OracleConnectionPoolDataSource
    DriverType: OracleConnectionPoolDataSource
    DatabaseURL: jdbc:oracle:thin:@decipher:1521:csi
    Code to Access datasource (Note: dsName=OracleConnectionPoolDataSource):
    try {
    // Define JNDI InitialContext object.
    InitialContext ctx = new InitialContext();
    ds = (DataSource)ctx.lookup("jdbc/" + dsName);
    dbConn = ds.getConnection();
    //requires all sql Statements to be manually commit(ed)
    dbConn.setAutoCommit(false);
    if(dbConn!=null)
         System.out.println("Getting a connection from dds.");
    catch (Exception e){
         e.printStackTrace();
    The Error that I am getting:
    [22/Aug/2002 15:43:51:9] info: RLOPMGR-005: OracleConnectionPoolDataSource: CALLBACK FAILED: CreateObject
    java.sql.SQLException: A. Couldn't load or create 3rd party class: oracle.jdbc.pool.OracleConnectionPoolDataSource
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown Source)
    at com.netscape.server.jdbc.ProxyEvaluation.createObject(Unknown Source)
    at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
    at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    I would greatly appreciate any help on why I am getting this error. I am desparate!

    I'm sorry but I'm not an expert......
    As you know Classes12.zip contains two dir "javax" and "oracle".
    So my path for driver is "/servers/jdbc/classes12.zip (or wath is contains).
    In classpath variable in iasenv.ksh I put /servers/jdbc but it doesn't work.
    I tried with /servers/jdbc/oracle/driver.....the same
    Can you help me again
    Thank you very much!
    Massimiliano

  • Is it really nescessary to use 3rd party Anti Virus/Spyware with FF?

    I use FF browser and a 3rd party Antivirus/spyware program.
    Is the 3rd party program really necessary or does FF have it built in? The 3rd party seems to slow down my startup.
    S.

    Absolutely necessary.
    Unfortunately, a slight slowdown is the price you pay for protection. Post on the forum of the security application that you are using for assistance and advice concerning your problem.
    Firefox does warn you when you try to go to '''''known''''' malware or phishing sites but does not replace a good security application.
    *See --> https://www.mozilla.org/en-US/firefox/phishing-protection/
    *'''''Sample''''' warning screens:
    **http://www.mozilla.com/firefox/its-a-trap.html
    **http://www.mozilla.com/firefox/its-an-attack.html
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Using 3rd Party packages when creating jar - program doesn't run

    I am using the xerces and xom packages for xml etc in my program.
    It works fine when run from a command prompt, but as soon as I package it into a jar I get the java.lang.NoClassDefFound error for the nu.xom.Builder class (one of the 3rd party classes.)
    Reading through these forums has yielded several suggestions, none of which work.
    I am probably making some massive stupid mistake, but cannot see it...
    My manifest:
    Manifest-Version: 1.0
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: be.bavardage.vocab.VocabGUI
    Class-Path: serializer.jar xercesImpl.jar xercesSamples.jar xml-apis.jar xom-1.1.jar
    using the jar comand line prompt:
    jar cfm vocab.jar MANIFEST.MF be\bavardage\vocab\*.classCan anyone give me any indication as to what I am doing wrong...

    bavardage,
    I too am reading forum messages to try to do just what you originally wanted to do. I have 3rd party JARs and I have always first extracted them and then turned around and JAR'ed them up into my single Remote.jar (actually I'm so new to Java that I don't yet change things that aren't broken and this was working when I got it)
    jar  xf  jakarta-oro-2.0.5.jar
    jar  xf  jasperreports-1.2.1.jar
    jar  xf  iReport.jar
    jar cmf  mainClassSpec  Remote.jar  *.class  org/  net/  it/I am reading the forums for a way to NOT do this. My reason is because I want to make the application Java Web Start (JAWS) capable. By zipping all the JARs up into one I end up with a JAR over 6 MB! I am also adding internationalization and I really need to keep the ListResourceBundle classes in a separate JAR so I can keep adding languages and not cause the entire 6 MB file to be downloaded each time.
    Using Java Web Start is the real motivating force here. I need to keep all JARs separate so that when there are code changes or new languages only one small JAR will be downloaded again by JAWS not the huge iReport.jar file at 4,218KB nor the somewhat smaller jasperreports...jar at 1,225KB (at 64KB jakarta-oro...jar is hardly worth mentioning) .
    I will watch this thread to see if you or anyone else later comes up with the information to reference external JARs (while in a Java Web Start environment).
    So to put it in a question format, can anyone provide some information about referencing external JARs in a normal environment and will it work in a JAWS environment (I do know the technique for specifing and downloading multiple JARs in a JNLP file)?
    Hopi(ng)

Maybe you are looking for