Where is jar containing  XMLImporter class is located ?

Hi all,
I am trying to use import script to import some custom region to ebs server. But I get exception of class not found.
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrad/tools/xml/importer/XMLImporter
Caused by: java.lang.ClassNotFoundException: oracle.jrad.tools.xml.importer.XMLImporter
I would like to know where is the jar file located ( and exact jar name ) containing the above mentioned classe XMLImporter and others like JPXImporter are located.
regards

Hi Kali,
This the script i used (invoked from JDEV_LOCATION/jdevbin/oaext/bin ... there is no import script in jdevbin/jdev/bin ).
./import ../../../jdevhome/jdev/myprojects/xxmy/oracle/apps/per/selfservice/competency/profile/webui/region1.xml -rootdir ../../../jdevhome/jdev/myprojects -username apps -password apps -dbconnection "(description = (address_list = (address = (community =tcp.world)(protocol = tcp)(host =172.16.7.254)(port = 1521)))(connect_data = (sid = VIS)))"
when run it throws exception
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrad/tools/xml/importer/XMLImporter
Caused by: java.lang.ClassNotFoundException: oracle.jrad.tools.xml.importer.XMLImporter
     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: oracle.jrad.tools.xml.importer.XMLImporter. Program will exit.
Regards
Edited by: user1459178 on Mar 31, 2011 1:56 AM
Edited by: user1459178 on Mar 31, 2011 1:57 AM

Similar Messages

  • How to deploy a simple .jar (containing Helper classes) in Weblogic?

    Hi,
    I have created multiple .jar files.
    1) MDB.jar containing all my MDB classes.
    2) Bean.jar containing all my Session Bean classes.
    3) Utility.jar containing remaining Helper,utility classes.
    I had deployed MDB.jar, Bean.jar by using Weblogic Console, under 'Deployments'-> 'EJB Module'. How can i deploy Utility.jar ? First of all, do i need to deploy Utility.jar? Only EJB JARs need to be deployed?
    If we do not deploy a non-EJB JARs, how this code will be available and is executed?
    Thanks in advance.

    I'd recommend you deploy these 3 components together in an EAR file. THe utility jar file could go in APP-INF/lib, or you could reference it via manifest class-path entries.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Which jar contains INavigationMimeRepositoryService class

    I am reviewing the code to build my own version of a workset map.  I'm missing a jar file.  Does anyone know where I might find the jar file containing
    INavigationMimeRepositoryService?
    The code in question is
    INavigationMimeRepositoryService mimeRepositoryService = (INavigationMimeRepositoryService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.mimeservice.navigation_mime_repository");
    I cannot do a build as the INavigationMimeRepositoryService cannot be resolved.
    Regards,
    Diane Fuller

    Hi,
    the jar file in question is com.sap.portal.navigation.api_mimeservice_api.jar
    You can find it under portalapps/com.sap.portal.navigation.api_mimeservice/lib/
    I recommend the use of the class locator in
    nwds:
    [http://classlocator.sourceforge.net/]
    Best regards,
    Avishai Zamir

  • Arrangement of jar containing main class

    Hello all,
    usually it is required, that that jar file (let me call it "main jar"), which contains the main class (by which the application is entered), has to be the first jar in the order of the jar files within <resources> of the jnlp file.
    Now if a patch of the "main jar" is created which doesn't contain the main class, where has this patch jar to be arranged in the jnlp file? Because it is a patch jar, usually it must be arranged in front of this main jar, that it is read before the main jar to load the patched class correctly. On the other hand it is required, that the jar with the main class has to be the first ...
    Therefore again: Where has that patch jar, described, to be arranged?
    Thanks for all good advices.
    Thomas

    The main jar does not need to be first, if you explicitly add the argument main="true":
    <jar href="jar2.jar"/>
    <jar href="jar1patch.jar" />
    <jar href="jar1.jar" main="true"/>
    the first jar is used as main only if there is no jar listed with main="true".
    /Andy

  • Jar containing com.bea.content.repo.i18n.FileRepoExceptionTextFormatter

    i am getting this error while deploying my application containing ejbs: -
    java.lang.NoClassDefFoundError: Class not found: <b>com.bea.content.repo.i18n.FileRepoExceptionTextFormatter</b>
    Can some on one please tell me which jar contains this class. Thankx.
    Regards,
    Yazad Khambata.;-)

    i got same error,expecting answer。。。。。。

  • Find jar file which contains wanted class

    I have too many jar and zip files under my classpath. How could I know which jar or zip file contains the class file I wanted?
    Thanks.

    Maybe this tool will be of interest to you:
    Java Tip 105: Mastering the classpath with JWhich - Identify which class will be loaded in your classpath
    http://www.javaworld.com/javaworld/javatips/jw-javatip105.html?
    Jesper

  • Can anyone tell me which jar contain weblogic.jws.WLJmsTransport class

    Hi All,
    Can anyone tell me which jar contain weblogic.jws.WLJmsTransport class
    Thanks in advance?

    Hi,
    You can find that in the "*weblogic.jar*", "*wls-api.jar*" and "*wseeclient.jar*" which can be found in the below directory
    Path:
    wlserver_10.3/server/lib/
    Also you can have a look at the below link which shows you how to find any CLASS present inside your file system.
    Topic: Finding Classes using JAR SCANNER
    http://middlewaremagic.com/weblogic/?page_id=241#comment-3621
    Regards,
    Ravish Mody

  • Java Concurrent Program .class file location

    Hi frnds,
    I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the file is. pls help me.
    I searched for the same and found the following article in many places which doesnt seem to help me much.
    http://geektalkin.blogspot.com/2008/03/oracle-apps-java-concurrent-program.html
    pls help. thanks in advance.
    Lisan

    Hi;
    pls file can be found like
    /apps_st/appl/bom/12.0.0/patch/115/sql/
    Contains SQL*Plus scripts used to upgrade data, and .pkh, .pkb, and .pls scripts to create PL /SQL stored procedures.
    Regard
    Helios

  • Packaging  jar  file with classes

    Hi experts,
    I want to clarify a problem in relation with packaging .class files in jar file making
    it jar executable.I was able to achieve this when number of classes are limited and confined to only a single program.However recently i developed a software
    which is very much like SQL*Plus and retriee my company database using screen buffer management and i have handled almost all the issues.
    But so long to execute this program i am typing
    java <Program name>.It is using Oracle as backend.
    I tried to package Oracle driver files in jar using
    jar -cmf manifest.mf sqlpad.jar *.class Oracle\
    where Oracle directory contains all the class files in separate folders like
    Oracle\javax etc
    I get a jar file with hefty MBs size.It is executable too.But when i try to connect to
    database, i get message Oracle driver class is not found.
    In what way should i package it as jar file ?

    I wouldn't add the drivers to the JAR itself. Instead, I'd suggest one of the following:
    1.) Add classpath entries into your manifest file pointing to the drivers' JARs
    2.) Create a batch file for starting that contains a call to "java -classpath ..."
    3.) Add some way to your app to configure additional classpaths at runtime and use a URLClasssLoader (and a wrapper class for the driver for registering with the DriverManager) that loads the driver's class

  • Where can i find this class? com.sap.aii.adapter.axis.modules.HandlerBean

    Hi,
      Which jar file contains the class com.sap.aii.adapter.axis.modules.HandlerBean? Where can i download from?
    Thank you
    Monika Dietz

    monika,
    Check this out...
    http://www.mail-archive.com/[email protected]/msg37875.html//www.mail-archive.com/[email protected]/msg37875.html
    Regards
    Ravi Raman

  • Two 3rd party jars share common class, signed differently

    hi,
    i have struck a problem where a SecurityException is thrown because two third party jars that are signed contain a class common to a package.
    Jar A:
    com.sun.xml.util.XmlChars
    Jar B:
    com.sun.xml.util.XmlChars
    com.sun.xml.util.MessageCatalog
    com.sun.xml.util.SomethingSomething
    I can't touch Jar A, but Jar B can be edited. Since the security granularity seems to be a package level according to the error message, deleting XmlChars from Jar B doesn't work since both jars still contain classes from the same package.
    Jar B does need the MessageCatalog so I can't remove it. I can only think of two options from here
    1) find a Jar signed by the A people (JAXB) that contains the extra classes
    2) some clever trick with classloaders - but I'm not sure what the issues are here..
    any help would be deeply appreciated,
    thanks,
    asjf

    2) some clever trick with classloaders - but I'm not sure what the issues are here..well, just loading class B and its associates in a new classloader is allowing this to work. I think this is safe too. Would be interested if anyone knows more about this area - eg. what if B needed to access something in A or vice versa, or both ways simultaneously?
    thanks,
    asjf

  • Where is jar file for oracle.j2ee.ws.client.ServiceFactoryImpl

    I am trying to use package UTL_DBWS on database 10g and get java exception
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: javax.xml.rpc.ServiceException: Provider oracle.j2ee.ws.client.ServiceFactoryImpl not found
    ORA-06512: at "SYS.UTL_DBWS", line 135
    ORA-06512: at "SYS.UTL_DBWS", line 132
    ORA-06512: at line 1
    when calling function UTL_DBWS.CREATE_SERVICE
    import oracle.j2ee.ws.client.wsdl.*;
    Which JAR file is this class located in?
    Any pointers...
    Thanx
    Jiri

    The jar file containing that class is utl_dbws_jserver.jar. Please download "Database Webservices Callout Utilities" from the page
    http://otn.oracle.com/sample_code/tech/java/jsp/dbwebservices.html
    The utl_dbws_jserver.jar file is contained in that download

  • Loading jars with same class loader

    Hi all,
    I need to tell Weblogic to load various jars using same class loader.
    "various jars" means jars that belong to different web applications. (weblogic 10)
    Is that possible ?
    PS: I can not change jar location, e.g. put them in common directory or so.

    Hi,
    If you don't want to change the JAR Locations then you can try the following..
    Option1). Add the Jar Location with the Jar file name in the Server classpath...of your server startScript (like startWebLogic.sh)
    CLASSPATH=${CLASSPATH}:/opt/app/myJars/first.jar:/opt/app/myJars/second.jar:
    But in this case the Jars which are there in the classpath...will be loaded using System Classloaders and will be different from Application Classloaders...but the Classes belonging to these Jars will be available to your applications because final classpath will be the Summation of following:
    Final Classpath = Bootstrap classloader (+) System ClassLoader (including Extended Classpath from Domain Lib) (+) Application ClassLoader (+) AppModule ClassLoader
    Option2). If you dont want to add the Jars in the Server ClassPath then u can use "Optional Package" deployment feature provided by WebLogic...In this case you can deploy the JARs in WebLogic Server as Optional Packages from the Same Location where it is at present...(as you dont want to change the Jar locations) like following: http://jaysensharma.wordpress.com/2009/12/06/optional-packages/
    Thanks
    Jay SenSharma

  • DrClap, schapel, jschell whats better architecture jar files or class files

    What would be a better architecture for deployment. Jar files or class files. We were recently having a debate at work as to generate installation scripts that put jar files on the system where the app is being installed or to make the script generate class files at the desired location.
    It would be good to know as to what you ppl think and what are the pros and cons of both.
    Some claimed with class files it would be easier to put in patches later on and I kinda agree with that. However your thoughts would be appreciated.
    Come on DrClap, schapel, jschell, jsalonen....... I am a fan of yours already

    This, of course, is why topics shouldn't be addressed to individuals - they are likely to never see it. Today is the first time I have seen this, and that is due solely to a search that I was running.
    Why would you use one over the other?
    ----Distribution costs
    It takes more time to send a bunch of class files down the wire than a single jar file. However, it takes more time to send a jar than a single class file. So there is a delicate trade off in a web application where one is using java. If you send the jar every time it is modified the entire jar must be moved. Class files take less time, but all of them must be moved for a new person.
    So in this case if you have a fixed based of users (internal use), and a majority of the files do not change then class files are better. If the user base is transitory and large (external use) then a jar file is probably better.
    ----Usage:
    You can use reflection to dynamically add functionality to an application. If you use a jar file then the application must be restarted for the changes to take effect. If you use class files then the application does not have to be restarted. Obviously the second only works if you have some way to dynamically notify the application that new classes are available - like a database.
    This becomes very relevant if you do not want to restart the application and you do not have a distributed application base in place.
    Also the older classes, even if not used, are still loaded in the application unless it is restarted (presuming a class loader is not used.) Most of the time this does not make difference.
    Since in the above it is likely that there is not a large distribution problem, when the usage is a concern then the best strategy is as class files. They allow the most flexibility and there is unlikely to be any concern at all how it is packaged.
    -------Misc
    Speed. Someone suggested speed. Guessing I would say that the jar file is going to be faster. Once the Sun jvm gets the file it doesn't let go. And as pointed out opening files is rather costly. However, I doubt this is going to be a significant cost on any system. Startup costs, although sometimes annoying, are seldom significant in terms of application performance.
    Security. The is a certain level of security with a jar file. You have one jar file and distribute it to the help desk people. And one of them deletes it accidently. It is going to be a lot easier to figure that out than if they deleted one class file. Additionally it is probably easier to encrypt/decrypt a jar file (if you really must) than class files.
    Dynamic class loading. If you are storing classes in non-traditional places, like a database rather than files, then it is probably going to be easier if you do it as class files.
    Testing. It is easier to replace a class file in a testing environment to fix a bug than a jar file. Particularily if the make process for the jar file rebuilds everything.

  • .class file location of a java concurrent program

    Hi frnds,
    I need to know the .class file location of a java concurrent prog. I know the filename from concurrent program executables and my concurrent program filepath is oracle.apps.xxogl.f04.cp.file. But I dont know where the exact location of the file is. pls help me.
    I searched for the same and found the following article in many places which doesnt seem to help me much.
    http://geektalkin.blogspot.com/2008/03/oracle-apps-java-concurrent-program.html
    pls help. thanks in advance.
    Lisan

    Hi Lisan,
    Which version are you using? Folder strucure differs for 11i and R12 versions.
    All the class files will be placed under the JAVA_TOP folder. From there you have to follow your package structure. Here it is oracle/apps/xxogl/f04/cp/file
    HTH,
    Syed.

Maybe you are looking for

  • IronPort ESA 170 Upgrade Failed

    Hi All, We have just got two IronPort ESA 170 appliances delivered. I started off with upgrading the firmware from version 7.5.2-101 to 7.6.3-019. One of the appliances got upgraded fine. However, I am getting an error on the other one. Exactly when

  • Issue with Broadcasting a query as xml(excel) in BI 7

    Hi All,          I have a question.When I try to broadcast my query as xml  using the Filter Navingation tab provided by broadcaster and I select a paritcular characteristic and select multiple values .The receipent gets an email but for each of the

  • Form Error 40507: unable to fetch next query record

    Hi there folks, I have a Form (10g) where I have a Master Block and a Detail block. However, the other day, there was an Error reported: ORACLE error: unable to fetch next query record When we do capture Errors, we also capture the Last Query run. Fr

  • Possible to initialize a String as empty?

    So, in the following code i initialize result with null because i want it to be empty. However when i run the driver for the method, i get the first proper character followed by null for output. For instance "snull" is my output. Any ideas why this i

  • MB2320 - Scanning multi-page documents and saving as a single, page-consecutive PDF

    I just purchased and set up a Maxify MB2320 to replace my PIXMA MX892, which fell victim to the dreaded "Incorrect Printer Head - U062 Error." My only disappointment thus far is the replacement of "MP Navigator" with "Canon Quick Toolbox" and the una