In what jar-file is org.jnp.interface.NamingContextFactory ?

How can I detect what jar file contains org.jnp.interface.NamingContextFactory?

In JBoss environment,you can find this in "jnp-client.jar"
under
(jboss-install-dir)\jboss\client\

Similar Messages

  • UnsupportedClassVersionError: org/jnp/interfaces/NamingContextFactory

    Hi
    I trying to communicate with a JMX Agent(JBoss with Java1.5) with my tool which actually runs on
    Java1.4.
    I am getting the below error when I make a JMX call.
    Is there an way to get rid of this problem without changing my jdk version to 1.5.?_
    UnsupportedClassVersionError: org/jnp/interfaces/NamingContextFactory
    Regards
    chandramohan

    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jnp/interfaces/NamingContextFactory (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at oracle.sysman.util.discover.JBossDiscovery.main(JBossDiscovery.java:188)

  • BiPub 10.1.3.4 upgrade:What jar files do I need to include in a chart proj?

    JDev 10.1.3.4
    BIPub 10.1.3.4 Build 129 desktop
    I have a series of reports with graphs which work by calling the xdo engine from a JDev designed web app. Worked fine with the previous version 562.
    I just upgraded the desktop tool and rebuilt an old graph. The tables work, but the graphs/charts do not. I assume it is a jar / lib compatibility issue.
    What jar files do I need to include in the project? What precedence do they need?
    Also, what is the difference between setting a library reference and putting the jar files in the Web INF directory?
    Thanks.
    Steve

    Just wanted to add to this ... I loaded BIPub Server 10.1.3.4 where I extracted the xdocore.jar from to put in my project. The report previews fine in there, both graphs and tables. Also works in Word.
    When I use the following code (which worked fine in previous version) the pdf opens with the table and an empty chart.
    Any ideas??
    Steve
    public String getPDF(java.sql.Connection jdbcConnection, String sqlOrDataXMLpath,
    Hashtable parameters,String templateXMLpath,OutputStream streamOut,
    String flgType)
    // create PDF and save in output path
    // flgType SQL or DD for sql or datadef
    // return error string if error
    try //convert rtf template to xsl
    // First store the xsl in a byte array input stream
    ByteArrayOutputStream xslOut = new ByteArrayOutputStream();
    RTFProcessor rtfProcessor = new RTFProcessor(templateXMLpath);
    rtfProcessor.setOutput(xslOut);
    rtfProcessor.process();
    byte[] b = xslOut.toByteArray();
    bais_xsl = new ByteArrayInputStream(b);
    // Next store the data in a byte array input stream
    ByteArrayOutputStream dataOut = new ByteArrayOutputStream();
    DataProcessor dataProcessor = new DataProcessor();
    dataProcessor.setConnection(jdbcConnection);
    if (flgType.equals("SQL"))
    { dataProcessor.setSql(sqlOrDataXMLpath); }
    else
    { dataProcessor.setDataTemplate(sqlOrDataXMLpath); }
    dataProcessor.setParameters(parameters);
    dataProcessor.setOutput("c:\\\\temp\\\\Test.xml");
    dataProcessor.processData(); //data is now in a file for debug
    if (flgType.equals("SQL"))
    { dataProcessor.setSql(sqlOrDataXMLpath); }
    else
    { dataProcessor.setDataTemplate(sqlOrDataXMLpath); }
    dataProcessor.setParameters(parameters);
    dataProcessor.setOutput(dataOut);
    dataProcessor.processData(); //data is now in dataOut stream
    b = dataOut.toByteArray();
    bais_data = new ByteArrayInputStream(b);
    // now do document merge
    FOProcessor processor = new FOProcessor();
    processor.setData(bais_data);
    processor.setTemplate(bais_xsl);
    processor.setOutput(streamOut);
    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
    processor.generate();
    catch (IOException e)
    System.out.println("IOException:getPDF " + e.getMessage());
    catch (XDOException e)
    System.out.println("XDOException:getPDF: " + e.getMessage()) ;
    catch (SQLException e)
    System.out.println("SQLException:getPDF: " + e.getMessage()) ;
    return("Success");
    Edited by: user6357416 on Oct 24, 2008 11:55 AM

  • Ep5.0 ? what jar file is the com.sap.security.api package in ?

    Hi ,
    Can i know , in Ep5.0 , what jar file has com.sap.security.api ? Please reply soon...
    Thank you ,
    avinash

    so , is there a procedure for me to use the Ep5.0 API and retrieve details from the data sources (for usermapping) ?
    Please reply me soon....
    thank you,
    avinash

  • What jar file contains javax.naming service?

    Hi,
    Back so soon.
    Does anyone know what jar file contains the javax.naming services used for JNDI?
    Thanks,
    Everette

    Hi..
    There's a good utility called jarscan.. I use it a lot, especially since wls 10 where lots of stuff's been moved around..

  • Jar file of org.eclipse.swt.ole.win32.OLE

    Hi,
    Can anyone provide me the jar file for org.eclipse.swt.ole.win32.OLE.
    or can let me know where I will get it..
    Thanks in advanced,
    Sang

    hello ritu...
    you would require standard-1.1.2.jar .....
    try with that....
    u can download it from -
    http://www.java2s.com/Code/Jar/CatalogJar.htm
    classes contained in standard-1.1.2.jar -
    org.apache.taglibs.standard.tag.el.core.OutTag.class
    org.apache.taglibs.standard.tag.el.core.ParamTag.class
    org.apache.taglibs.standard.tag.el.core.RedirectTag.class
    org.apache.taglibs.standard.tag.el.core.SetTag.class
    org.apache.taglibs.standard.tag.el.core.UrlTag.class
    org.apache.taglibs.standard.tag.el.core.WhenTag.class
    org.apache.taglibs.standard.tag.el.fmt.BundleTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatDateTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag.class
    regards
    vamsi

  • Where to download java jar file with org.apache.xml.serialize.OutputFormat?

    Dear Friends,
    I try one program, it import org.apache.xml.serialize.OutputFormat;
    but I cannot fine it after I google a while.
    where can I find and download jar file that contain this:
    org.apache.xml.serialize.OutputFormat
    I use JDK1.6
    Thanks
    sunny

    So, to clear things up, there is no org.apache.xml.serialize.OutputFormat.JAR
    OutputFormat is a class.
    As I said in my previous post if you go at the xerces project home page (here) you will find a compiled version of xerces [here - direct link -> (fool proof)|http://archive.apache.org/dist/xml/xerces-j/Xerces-J-bin.1.4.4.zip]. If you extract the archive you will find a compiled jar called xerces.jar. Open that one with winrar/winzip or whatever, browse to org\apache\xml\serialize\OutputFormat.class and there you go, you have it, just link this xerces library to your project...
    PS. Try searching on Google for "Google tutorial"

  • In Oracle 10g for XML  parsing what jar files have to be loaded?

    I am trying to parse the sample xml file. I want to know what are the jar files which needs to be loaded in Oracle 10g. In Oracle 9i I have files which have been asked to load in to the database.
    1) xmlparserv2.jar and
    2) xmlplsql.jar
    But in Oracle 10g under lib I could see only xmlparserv2.jar.What are the jar files which have to be loaded using loadjava in this case?

    Something like this ?
    SELECT REGEXP_REPLACE('TABLE_COLUMN_1_ID,TABLE_COLUMN_2_VALUE,TABLE_COLUMN_3_DESC',
                          '([^,]+)', ' \1 = \1') x
    FROM DUAL;
    X
    TABLE_COLUMN_1_ID = TABLE_COLUMN_1_ID, TABLE_COLUMN_2_VALUE = TABLE_COLUMN_2_VALUE, TABLE_COLUMN_3_DESC = TABLE_COLUMN_3_DESC

  • Where is the jar file includes ejb3.0 interface

    I just start using ejb 3.0, when i create a stateless session bean, i can not find the Stateless interface when import javax.ejb.Stateless. Appreciated if someone can let me which jar file includes those interface (like javax.ejb.Remove, javax.ejb.Stateful, etc.) and where to download?

    Hi,
    check jdeveloper_home\jdeveloper_10133_<version>\jlib\identitystore.jar
    Frank

  • Jar file for org.apache.taglibs.standard.tag.el.core.SetTag

    hi all,
    i had been trying to debug the jsp code in eclipse. which requires the project to identify few class files. i am not able to find the jar file which has the implementation of the below mentioned files. (i am using jboss as application server)
    org.apache.taglibs.standard.tag.el.core.SetTag
    org.apache.taglibs.standard.tag.el.fmt.BundleTag
    the list is long... but all the class files refer to the same package.
    your help is much appreciated.
    --thanks a lot.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    hello ritu...
    you would require standard-1.1.2.jar .....
    try with that....
    u can download it from -
    http://www.java2s.com/Code/Jar/CatalogJar.htm
    classes contained in standard-1.1.2.jar -
    org.apache.taglibs.standard.tag.el.core.OutTag.class
    org.apache.taglibs.standard.tag.el.core.ParamTag.class
    org.apache.taglibs.standard.tag.el.core.RedirectTag.class
    org.apache.taglibs.standard.tag.el.core.SetTag.class
    org.apache.taglibs.standard.tag.el.core.UrlTag.class
    org.apache.taglibs.standard.tag.el.core.WhenTag.class
    org.apache.taglibs.standard.tag.el.fmt.BundleTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatDateTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag.class
    regards
    vamsi

  • Which jar file has org.w3c.dom ?

    Hello,
    Can someone tell me please which jar file has this package
    org.w3c.dom ? or Where can I find ?
    Additionally : Is there a reference where I can easily see ?
    It takes time if you have so much Jar files .
    Many thanks
    Cado

    If you are looking for an XML parser try the xerxes.jar that can be found at the Apache Project web site.

  • Help on jar file for org.apache.xml.serialize.OutputFormat

    Hi all, I need help regarding on org.apache.xml.serialize.OutputFormat
    and org.apache.xml.serialize.XMLSerializer. May I know which jar files
    contain these? Thanks

    After installing jdk 1.5 the problem is now resolved and after prefexing a few of the import statements with com.sun.
    There are however some more classes as part of the Xerces 2.7.1 jar file as compared to the JWSDP 1.6 installed and this requires the xercesimpl.jar to be included in the classpath.
    Rgds,
    Seetesh

  • What jar file contains oracle.ifs.beans and oracle.ifs.clients classes?

    I am trying to build some code which needs oracle.ifs.beans and oracle.ifs.clients packages and classes. I have downloaded the following:
    OracleAdministrativeClientUtility
    OracleApplicationServer
    OracleContentManagementSDK
    OracleIIOPClientLibrary
    OracleJDeveloper
    OracleRMIClientSideLibrary
    OracleSOA
    OracleWebServicesClientLibrary
    None of these appears to contain the oracle.ifs packages.

    oracle.ifs.beans and oracle.ifs.clients packages are for the Oracle Internet File System. Are the following JAR files available?
    repos.jar
    adk.jar

  • Need to know the jar file...?

    Hi,Iam writing an java program which is going to send messages to the remote websphereMQ server,program compiled successfully while in execution it throws error.The prgram is
    com/ibm/jvm/ExtendedSystem/*
    Use source code downloads, example commands,
    and any other techniques at your own risk.
    No warranty is provided.
    import java.util.Properties;
    import javax.jms.JMSException;
    import javax.jms.TextMessage;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Hashtable;
    public class Sender {
         String url_;
         String name_;
         QueueConnection conn = null;
         QueueSession session = null;
         Queue queue = null;
         public Sender(String url, String name) throws JMSException, NamingException {
              url_ = url;
              name_ = name;
             this.initializeSender();
         private void initializeSender() throws JMSException, NamingException {
         /*      Properties props = new Properties();
              props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
              props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              props.setProperty("java.naming.provider.url", url_); */
              String icf = "com.ibm.websphere.naming.WsnInitialContextFactory";
              //String url="iiop://192.168.2.45:1421";
              // Initialise JNDI properties
              Hashtable env = new Hashtable();
              env.put("java.naming.factory.initial",icf);
              env.put("java.naming.factory.url.pkgs","com.ibm.ws.naming");
              env.put("org.omg.CORBA.ORBClass","com.ibm.rmi.iiop.ORB");
              env.put("org.omg.CORBA.ORBSingletonClass","com.ibm.rmi.corba.ORBSingleton");
              env.put("javax.rmi.CORBA.UtilClass","com.ibm.rmi.javax.rmi.CORBA.Util");
              env.put("javax.rmi.CORBA.StubClass","com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl");
              env.put("javax.rmi.CORBA.PortableRemoteObjectClass","com.ibm.rmi.javax.rmi.PortableRemoteObject");
              env.put("java.naming.provider.url",url_);
              InitialContext context = new InitialContext(env);
              QueueConnectionFactory qcf = (QueueConnectionFactory) context.lookup("QCF");
              conn = qcf.createQueueConnection();
              queue=(Queue)context.lookup(name_);
              session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
              conn.start();
          public void send(String text) throws JMSException, NamingException {
              QueueSender send = session.createSender(queue);
              TextMessage tm = session.createTextMessage(text);
              send.send(tm);
              send.close();
         public void disconnect() throws JMSException {
              if(conn != null) {
                   conn.stop();
              if(session != null) {
                   session.close();
              if(conn != null) {
                   conn.close();
         public String getTopicName() {
              return name_;
         public String getTopicURL() {
              return url_;
         public static void main(String args[]) throws Exception {
              System.out.println("Starting JMS Example Sender");
                Sender sender = new Sender("iiop://192.168.2.45:1421", "ASMQUEUE");
                 System.out.println("Sending list of data");
                 sender.send("Krishna Moorthy");
                 sender.disconnect();
                      System.out.println("JMS Example Sender Complete - list sent");
    }During Execution followng error occurs,
    D:\jboss-4.0.5.GA\WebSphere_JMS>java Listener
    Starting JMS Example Listener
    performing lookup...
    Error creating listener: javax.naming.NamingException: Failed to initialize the
    ORB [Root exception is org.omg.CORBA.INITIALIZE: can't instantiate default ORB i
    mplementation com.ibm.CORBA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is or
    g.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.COR
    BA.iiop.ORB  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
    nInitCtxFactory.java:365)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:40
    8)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Listener.initializeListener(Listener.java:78)
    at Listener.<init>(Listener.java:31)
    at Listener.main(Listener.java:112)
    Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementatio
    n com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java:297)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)
    at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/ibm/jvm/ExtendedSystem
    at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:226)
    at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:205)
    at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:122)
    at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:1077)
    at com.ibm.rmi.corba.ORB.<init>(ORB.java:250)
    at com.ibm.rmi.iiop.ORB.<init>(ORB.java:166)
    at com.ibm.CORBA.iiop.ORB.<init>(ORB.java:521)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    ... 15 more
    Done listening
    In my application classpath following jars are used : jms.jar,naming.jar,namingClient.jar,ibmorb.api,ibmorbapi.jar,jndi.jar
    I need to know the jar file name for this class : com/ibm/jvm/ExtendedSystem.And also tell me the solution to solve the above error.Anyone know the solution please reply as early as possible..Thanks in advance

    Have you checked if any of the jar files in your class path contains the missing class ?

  • Jar file needed

    What jar file should in import for "org.gjt.mm.mysql.Driver" connecting to mysql. From where can i download it,
    Thanks and Regards,
    Mclaren

    Google should be your friend
    http://mmmysql.sourceforge.net/

Maybe you are looking for

  • Error While Uploading Salary (F-02)

    Hi, While Uploading Salary Using the BAPI Upload Program it shows an error ' No hierarchy variant assigned to FM area 2000 ' Where in the same program works fine in the other client (DEV) could someone tell me what would be the problem? and whats the

  • Problem when printing from PDF created by InDesign

    Ok, here's the scenario! I have a flyer, created in InDesign. I have drawn a grey curve (in InDesign) which goes at the top of each page. I import a transparent logo in PSD format, and place it on top of the grey curve. In InDesign and when I PDF it,

  • Transfer photos without wifi

    I will be taking my iPhone5s and wifi-only iPad Air on a trip where I will not have access to wifi or iCloud -- for that matter, I won't even have cellular most of the time, though that doesn't really affect the iPad. If I take photos with my iPhone,

  • UPK Install - location for library on a PC (single user version)

    Am setting up UPK 11.1 on a laptop (document library will be there). When I start up the Developer client, the system prompts for the address of the library. It is on the C drive of the PC, but when I enter the path to the library, I see an "Invalid

  • Crazy TIFF problems at Aperture 3.4.3 and iPad 4

    Hello, i post 2 photos, thats the best to show whats crazy. Aperture (normal export, Photoshop and so on) http://files.ref6.com/aperture/aperture.jpg Screenshot from my iPad 4 (also on my iPhone 4S) http://files.ref6.com/aperture/ipad4.png U'll see a