Run javah -jni HelloWorld gives error...

hi all i am new to JNI. i wanted to compiled my HelloWorld.java to header file. in which directory shld i run? i am using jdk1.3.
this is my error:
D:\jdk1.3.1\bin>javah -jni HelloWorld
Error: Class HelloWorld could not be found.
i hav installed JNI1.2 but not using it yet. what are the settings i shld do?
thanks to everyone.
seiw77

Check your CLASSPATH. Your HelloWorld class should come under the directories listed in the CLASSPATH. Also make sure you include the current working directory "." in the CLASSPATH

Similar Messages

  • When i run my executable it gives error 7

    when i run my executable it gives error 7
    and this is the error messege:
    Error 7 occurred at Invoke Node in PRC_Deploy.vi->Deploy Library.vi->Deploy SV2.vi->WSfrontpanel.vi
    and can any one tell me how to deploy the shared variable libraries on my executable file
    m.shair
    Mahmoud Alshair
    Intelligent Systems Integrator ( ISI )
    System Developer
    Solved!
    Go to Solution.

    Hi Mahmoud,
    What are you doing at the Invoke Node? Are you calling a vi? If you are check this KnowledgeBase.
    For deploying shared variables from your executable, check this KnowledgeBase.
    Regards,
    Hillary E
    National Instruments

  • Oracle ADF application run while debuging but gives error while running

    Hi,
    I created application in oracle ADF, which accesses database from SQL server 2008. I changed database names to different database having same tables. When I debug it by using breakpoint in EOIMPL class, it runs perfectly. But when run it by removing brakpoint it gives error (invalid object). Please Help.
    Thanks.

    can u paste the complete invalid objects error..
    I rember i have seen this case before which possibly got resolved by removing the system folder.. especially the systemfolder/o.j2ee/drs/ folder..
    may be some synching problem..

  • Running Extension Points sample  Helloworld gives  Error: unable to load...

    Hi....
    It looks like I don't have cez_inproc in my library path?  I am just wondering is there anything I am missing?  I followed all the directions correctly as mentioned in the webi extension doc.
    Thanks,
    -gandhams
    java.lang.UnsatisfiedLinkError: no cdz_inproc in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.businessobjects.cdz_inproc.client.JniFacade.<clinit>(Unknown Source)
         at com.businessobjects.cdz_inproc.client.CollocatedContainer.init(Unknown Source)
         at com.businessobjects.cdz_inproc.client.CollocatedContainer.init(Unknown Source)
         at com.businessobjects.webi.richclient.ConnectionAdapter.initContainer(Unknown Source)
         at com.businessobjects.webi.richclient.ConnectionAdapter.<init>(Unknown Source)
         at com.businessobjects.webi.richclient.Startup.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.businessobjects.webi.richclient.SplashWindow.invokeMain(Unknown Source)
         at com.businessobjects.webi.richclient.Main.main(Unknown Source)
    ERROR : unable to load the cdz_inproc library
    com.businessobjects.cdz_inproc.client.ContainerException: stopContainer failed : java.lang.UnsatisfiedLinkError: com.businessobjects.cdz_inproc.client.JniFacade.stopContainer(Lcom/businessobjects/cdz_inproc/client/InvocationStatus;)V
         at com.businessobjects.cdz_inproc.client.CollocatedContainer.stop(Unknown Source)
         at com.businessobjects.webi.richclient.ConnectionAdapter.die(Unknown Source)
         at com.businessobjects.webi.richclient.Startup.main(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.businessobjects.webi.richclient.SplashWindow.invokeMain(Unknown Source)
         at com.businessobjects.webi.richclient.Main.main(Unknown Source)

    Srinivas,
    I am getting the same error message with "cdz_inproc".
    Can you please let me know what was the "classpath" when you were getting that error and what did you change it to later to resolve the issue?
    Thanks
    Krishna.

  • Javah -jni throws error

    I' m trying to create appropriate *.h file by javah utility as discribed in java tutorial
    javah -jni MyClass
    but get the error message Class MyClass can not be found...
    the class MyClass is in the same directory from where i run "javah -jni MyClass" command
    Thanks in advance

    Try inserting this before the -jni:
    -classpath .

  • When I run RSPCM gives error in PC and message error, alert, popup

    When I run the transaction RSPCM gives error in process chains and appear several popups, messages, alerts. what can be?

    Symptom
    The job log of a job contains message 00 517 (Job finished) and message BT
    608 (Job status was manually set to 'cancelled').
    Reason and Prerequisites
    There is a program error in the function BP_JOB_ABORT.
    Previously, the function BP_JOB_ABORT did not call the job status check
    correctly. As a result, BP_JOB_ABORT may still have set a job that had
    already finished correctly to 'cancelled'
    Solution
    Import the Support Package or implement the correction instructions

  • Javah : Class Not Found Error

    Hi .,
    I am trying to write my first native method under all windows (98/2000 and even under NT) environments , and I have written a simple java source(say MyProgram.java) ,as it is shown at the Javasoft documentation. This file compiles cleanly and I get the MyProgram.class.
    But when I then run javah, it tells me 'Error: Class *** could not be found.'. The java file has no 'package' line, and both .java and .class are lying in the same directory where I am trying to run javah.
    The syntax I used is :
    c:\MyDir>javah -jni MyProgram
    The .class files resides in the same dir (C:\MyDir).
    I am not appending .class when i use javah.
    I would be thankfull for quicker replies
    as the subject is too urgent .Thanks in advance
    Issac

    Thanks.,
    I used -classpath with the correct path of the class before -jni and that gave the result .
    Thanks again
    Iss

  • Installer gives error. [osx]

    Hi,
    Just trying to install latest flash, using latest installer file.
    But when I run the installer, it gives error: "Unable to load application configuration".
    I have redownloaded installer file, couple days a go, yesterday and today. Didn't help.
    I'm running osx 10.8.3.
    File permissions are fixed.
    Firewall on/off, tested.
    Thanks.

    Looks like that there are lot of problems with installer on OSX.
    I managed to install 11.7 using offline installer, http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac /install_flash_player_11_osx.dmg .

  • Getting error message with javah -jni

    Hi,
    I am trying to generate .h file using javah -jni command.
    I am executing the
    prompt>javah -jni C:\proj\HelloWorld
    But it's giving the error
    Error: Class HelloWorld could not be found.
    But the class file is there in that folder.
    Could you please tell me why i am getting this error?
    Regards,
    Srinivas.

    Try this:
    javah -jni -classpath C:\proj HelloWorld
    Usage: javah [options] <classes>
    where [options] include:
            -help                 Print this help message and exit
            -classpath <path>     Path from which to load classes
            -bootclasspath <path> Path from which to load bootstrap classes
            -d <dir>              Output directory
            -o <file>             Output file (only one of -d or -o may be used)
            -jni                  Generate JNI-style header file (default)
            -old                  Generate old JDK1.0-style header file
            -stubs                Generate a stubs file
            -version              Print version information
            -verbose              Enable verbose output
            -force                Always write output files
    <classes> are specified with their fully qualified names (for
    instance, java.lang.Object).

  • When run adcfgclone.pl gives error

    Hi,
    when run adcfgclone.pl appTier it gives error pleas have a look steps i did and Errors file below.
    Target System Database SID : dev
    Target System Database Server Node [erpdev] : devdata.npfco.com
    Target System Base Directory : /oracle/PROD
    Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
    Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
    Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
    Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
    Target System Instance Home Directory [oracle/PROD/inst] :
    Target System Root Service [enabled] :
    Target System Web Entry Point Services [enabled] :
    Target System Web Application Services [enabled] :
    Target System Batch Processing Services [enabled] :
    Target System Other Services [disabled] :
    Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
    Target System Display [erpdev:0.0] :
    RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
    Do you want to continue (y/n) ? : y
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 3
    Checking the port pool 3
    done: Port Pool 3 is free
    Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
    Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
    RC-40201: Unable to connect to Database dev.
    Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml.bak
    Creating the new APPL_TOP Context file from :
    /oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
    The new APPL_TOP context file has been created :
    /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
    Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log
    Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log for details.
    /oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
    Running Rapid Clone with command:
    perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
    Running:
    perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
    APPS Password :
    Beginning application tier Apply - Mon Nov 16 23:23:21 2009
    /oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
    APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11162323.log
    / 90% completed
    RC-50004: Fatal: Error occurred in ApplyAppsTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V

    [applmgr@erpdev bin]$ perl adcfgclone.pl appsTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.20.12000000.12
    Enter the APPS password :
    /oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
    Running:
    /oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /oracle/PROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_18493.lst -stage /oracle/PROD/apps/apps_st/comn/clone 2> /tmp/adcfgclone_18493.err; echo $? > /tmp/adcfgclone_18493.res
    Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
    Provide the values required for creation of the new APPL_TOP Context file.
    Target System Hostname (virtual or normal) [erpdev] :
    Target System Database SID : dev
    Target System Database Server Node [erpdev] : devdata
    Target System Base Directory : /oracle/PROD
    Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
    Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
    Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
    Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
    Target System Instance Home Directory [oracle/PROD/inst] :
    Target System Root Service [enabled] :
    Target System Web Entry Point Services [enabled] :
    Target System Web Application Services [enabled] :
    Target System Batch Processing Services [enabled] :
    Target System Other Services [disabled] :
    Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
    Target System Display [erpdev:0.0] :
    RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
    Do you want to continue (y/n) ? : y
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 51
    Checking the port pool 51
    done: Port Pool 51 is free
    Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
    Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
    RC-40201: Unable to connect to Database dev.
    Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml4.bak
    Creating the new APPL_TOP Context file from :
    /oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
    The new APPL_TOP context file has been created :
    /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
    Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
    Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log for details.
    /oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
    Running Rapid Clone with command:
    perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
    Running:
    perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
    APPS Password :
    Beginning application tier Apply - Tue Nov 17 06:34:12 2009
    /oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
    APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11170634.log
    \ 89% completed
    RC-50004: Fatal: Error occurred in ApplyAppsTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
    at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
    at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
    at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
    at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
    at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
    at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
    ... 6 more

  • IE gives "Error opening file" for Sound while it runs fine on Chrome

    Is there something with Adobe and IE compatibility ?
    When I run a package in Chrome , my audio and video both work fine
    Same package when run in IE , video runs fine but the sound gives "Error opening file"

    What type of media file?  Can you post a link to the problem page online?
    HTML5 audio and video is supported by most browsers if you include the proper file types?
    MP3 audio
    OGA audio
    MP4 video
    WebM video
    OGV video
    Nancy O.

  • Gives Error when run XMLImporter during deployment

    After reading the deployment process from Developer
    guide i tried deployment but when i run the XMLImporter
    it gives the error
    Error: The root directory does not exist

    Are you using -validate and -includeSubPackages options while running the import command ?
    Try running it without -validate option.

  • When I run the report it gives some error, any body knows about it help me.

    Hi ALL
    I instl business content reports for my client req, but now some repots are working and some reports gives
    error below,
    The requested query 0CSAL_C07/0CSAL_C07_Q0101 does not exist on the current server
    Error when generating dataProvider 0CRM_PRLI_Q0101_V01
    i can not able to run the reports , did any body face this error plz help me

    Thanks for reply
    when I instal business content , when i instal respective query/cube belong to this error occured one ,
    when i click on instal it gives error like the colected objects are not found?,what can i do
    Thanks & Regards
    Sanjana

  • Running StoreFrontUI application gives error

    I downloaded the Fusion demo given at the following link:
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    The sample schema FOD has been setup successfully. The database version is 'Oracle Database 11g Enterprise Edition Release 11.2.0.1.0'. The JDeveloper version is 11.1.1.5.
    As per instructions, the StoreFrontService project was built (Rebuild) successfully. Further, upon running the StoreFrontUI project, the application failed to get deployed.
    The following error message is logged in JDeveloper:
    [Running application StoreFrontModule on Server Instance IntegratedWebLogicServer...]
    [03:20:13 PM] ---- Deployment started. ----
    [03:20:13 PM] Target platform is (Weblogic 10.3).
    [03:20:13 PM] Retrieving existing application information
    [03:20:13 PM] Running dependency analysis...
    [03:20:13 PM] Deploying 4 profiles...
    [03:20:13 PM] Wrote MAR file to C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\StoreFrontModule\metadata1.mar
    [03:20:13 PM] Wrote Web Application Module to C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\StoreFrontModule\StoreFrontUIWebApp.war
    [03:20:14 PM] Wrote EJB Module to C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar
    [03:20:14 PM] Warning: Some of the customization documents under '/templates' are packaged as part of WAR. This metadata cannot be accessed from WAR using MDS.
    [03:20:14 PM] Info: Any customizations created while running the application will be written to 'C:\Oracle\Middleware\user_projects\domains\keralam\FusionDemo\FusionOrderDemo_R2\Sherman_FOD\StoreFrontModule\runtimeCustomizations'.
    [03:20:14 PM] Warning: MAR archive 'metadata1.mar' did not have any metadata content, not added to EAR.
    [03:20:15 PM] Wrote Enterprise Application Module to C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\StoreFrontModule
    [03:20:15 PM] C:\Oracle\Middleware\jdk160_24\jre\bin\java.exe -client -jar C:\Oracle\Middleware\jdeveloper\..\oracle_common\modules\oracle.webservices_11.1.1\wsa.jar -jaxwsEjbAssemble -input /C:/Users/a0868046/AppData/Roaming/JDeveloper/system11.1.1.5.37.60.13/o.j2ee/drs/StoreFrontModule/ -output C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\tmp -classpath C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar;C:\Oracle\Middleware\oracle_common\modules\groovy-all-1.6.3.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\Middleware\jdeveloper\BC4J\jlib\bc4jtester.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.help_5.0\ohj.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.help_5.0\help-share.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;C:\Oracle\Middleware\jdeveloper\jlib\jewt4.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.help_5.0\oracle_ice.jar;C:\Oracle\Middleware\jdeveloper\ide\lib\idert.jar;C:\Oracle\Middleware\jdeveloper\ide\lib\javatools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\Oracle\Middleware\jdeveloper\ide\macros\..\..\..\wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\Middleware\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar;C:\Oracle\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.web-common_11.1.1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_ws_sx.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.jsp_1.2.0.0_2-1.jar;C:\Oracle\Middleware\oracle_common\jlib\commons-cli-1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ucp_11.1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;C:\Oracle\Middleware\modules\javax.management_1.2.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar;C:\Oracle\Middleware\modules\javax.jsf_1.1.0.0_1-2.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar -createSchemaMappings -ear /C:/Users/a0868046/AppData/Roaming/JDeveloper/system11.1.1.5.37.60.13/o.j2ee/drs/StoreFrontModule/ -servletFilterClass oracle.jbo.server.svc.ServiceContextFilter
    [03:20:15 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [03:20:15 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [03:20:15 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [03:20:15 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [03:20:15 PM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /StoreFrontService for annotated WebService class oracle.fodemo.storefront.store.service.server.serviceinterface.StoreFrontServiceImpl
    [03:20:16 PM] WSA process exited with code 0.
    [03:20:16 PM] Deploying Application...
    <Nov 21, 2011 3:20:28 PM CST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\a0868046\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\StoreFrontModule\StoreFrontUIWebApp.war. Please make sure that the annotations are valid. The error is javax.faces.webapp.FacesServlet>
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    <Nov 21, 2011 3:20:28 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1321910416823' for task '14'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'StoreFrontModule''
    weblogic.application.ModuleException: Failed to load webapp: 'StoreFrontModule'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <Nov 21, 2011 3:20:28 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'StoreFrontModule [Version=V2.0]'.>
    <Nov 21, 2011 3:20:28 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'StoreFrontModule'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [03:20:28 PM] #### Deployment incomplete. ####
    #### Cannot run application StoreFrontModule due to error deploying to IntegratedWebLogicServer.
    Please advise.
    [03:20:28 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [Application StoreFrontModule stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: Sen George on Nov 21, 2011 3:40 PM

    Hi Timo,
    I was using the wrong version of the tutorial. It works fine by following the example from the correct version. The version of the tutorial used is http://www.oracle.com/technetwork/developer-tools/jdev/learnmore/fod1111-407812.html.
    Thanks.
    Sen

  • Running javah

    when I run the javah what do i give is it the class name for the .java file name.
    I tried giving
    javah -jni Helpexec
    in which Helpexec is the Helpexec.class of my Helpexec.java
    C:\jbuilder5\jdk1.3\bin>javah -jni Helpexec
    Error: Class Helpexec could not be found.
    C:\jbuilder5\jdk1.3\bin>dir t*
    Volume in drive C has no label.
    Volume Serial Number is 4488-24B3
    Directory of C:\jbuilder5\jdk1.3\bin
    09/07/2001 10:19a 20,567 tnameserv.exe
    05/06/2002 12:16p 1,083 Helpexec.java
    05/06/2002 01:24p 892 Helpexec.class
    I have the file in that dir but still I am getting this error. any suggessions. Thanks.

    The command should be this:javah -jni -classpath .:$CLASSPATH -d . org.some.package.HelpexecNote that you must give the fully qualified classname (including package structure).

Maybe you are looking for