JDK setting / Execution problem

I have installed jdk 6 on C:\JAVA\JDK\ path. I am creating simple hello world application inside bin folder. when i compile this file it gets compiled - ok. but when i try to run this file using command java.exe i get following.......
C:\Java\jdk\bin>javac test.java
C:\Java\jdk\bin>java test
Exception in thread "main" java.lang.NoClassDefFoundError: test
Caused by: java.lang.ClassNotFoundException: test
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
source code is
class test {
public static void main (String args[]){
System.out.println("hello");
I have installed oracle jbuilder 10g, 10g developer suite, 9i database and may have some other java applications. I try to set path and classpath but none works.. any body help.................

thanks for ur kind reply but did not work.....
C:\Java\jdk\bin>set classpath=c:\java\jdk\bin
C:\Java\jdk\bin>java -classpath test
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
C:\Java\jdk\bin>

Similar Messages

  • My home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    my home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    Did you actually restore the iPad? Or just restore settings?
    If you haven't "restored" the iPad...
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If a restore doesn't work...  >   Apple - Support - iPad - Hardware Service

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

  • How to set execution preferences between Data Objects

    Hi Experts,
    I have  2 data Objects(one Bidrectional and another Upload Only) in my SWCV and according to my requirement i have to execute first DO(Bidirectional) before execution of Second DO(Upload Only).
    Is there any way so that i can set execution  preferences between these two DOs.
    Regards,
    Abhishek

    Hi Liji,
    Execution preference is more related to the "Semantic Compression" capability of the application/framework than the "backward compatiblity" with 04/04s.
    Whenever the semantic compression is enabled, sync order has to be present for the set of data object to ensure the correct order of the data going to the server.
    As all the backward compatible applications are "Semantic compression enabled" this option is mandatory for those applications.
    But non-backward compatible applications might also want to use "semantic compression" feature to reduce the traffic over the network. In this case, those applications will also need this feature. Hence this feature of settting the sync order is available for all the SWCVs.
    Regards,
    Ramanath.

  • Jdk causes strange problems

    hi,
    yesterday i upgraded my system:
    [2011-03-02 22:34] Running 'pacman -Su'
    [2011-03-02 22:34] starting full system upgrade
    [2011-03-02 22:46] removed util-linux-ng (2.18-4)
    [2011-03-02 22:46] Generating locales...
    [2011-03-02 22:46] de_AT.UTF-8... done
    [2011-03-02 22:46] de_AT.ISO-8859-1... done
    [2011-03-02 22:46] de_AT.ISO-8859-15@euro... done
    [2011-03-02 22:46] de_DE.UTF-8... done
    [2011-03-02 22:46] de_DE.ISO-8859-1... done
    [2011-03-02 22:46] de_DE.ISO-8859-15@euro... done
    [2011-03-02 22:46] en_US.UTF-8... done
    [2011-03-02 22:46] en_US.ISO-8859-1... done
    [2011-03-02 22:46] Generation complete.
    [2011-03-02 22:46] upgraded glibc (2.13-1 -> 2.13-4)
    [2011-03-02 22:46] upgraded alsa-lib (1.0.23-2 -> 1.0.24.1-1)
    [2011-03-02 22:46] upgraded alsa-utils (1.0.23-3 -> 1.0.24.2-1)
    [2011-03-02 22:46] upgraded binutils (2.21-3 -> 2.21-4)
    [2011-03-02 22:46] upgraded cherokee (1.0.20-2 -> 1.2.1-1)
    [2011-03-02 22:46] upgraded chromium (9.0.597.94-1 -> 9.0.597.107-1)
    [2011-03-02 22:46] upgraded curl (7.21.3-1 -> 7.21.4-2)
    [2011-03-02 22:46] upgraded file (5.05-1 -> 5.05-2)
    [2011-03-02 22:46] upgraded gegl (0.1.4-1 -> 0.1.6-1)
    [2011-03-02 22:46] upgraded vim-runtime (7.3.102-1 -> 7.3.125-1)
    [2011-03-02 22:46] upgraded python2 (2.7.1-5 -> 2.7.1-7)
    [2011-03-02 22:46] upgraded ruby (1.9.2_p136-2 -> 1.9.2_p180-1)
    [2011-03-02 22:46] Updating desktop and mime database...done.
    [2011-03-02 22:46] upgraded gvim (7.3.102-1 -> 7.3.125-1)
    [2011-03-02 22:46] installed util-linux (2.19-4)
    [2011-03-02 22:46] upgraded udev (165-1 -> 166-2)
    [2011-03-02 22:46] warning: /etc/inittab installed as /etc/inittab.pacnew
    [2011-03-02 22:46] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2011-03-02 22:46] upgraded initscripts (2010.07-2 -> 2011.02.1-1)
    [2011-03-02 22:46] upgraded libdrm (2.4.23-1 -> 2.4.23-2)
    [2011-03-02 22:46] upgraded libgl (7.10.0.git20110206-2 -> 7.10.0.git20110215-1)
    [2011-03-02 22:46] upgraded intel-dri (7.10.0.git20110206-2 -> 7.10.0.git20110215-1)
    [2011-03-02 22:47] upgraded jre (6u23-4 -> 6u24-1)
    [2011-03-02 22:47] upgraded jdk (6u23-4 -> 6u24-1)
    [2011-03-02 22:47] upgraded mkinitcpio (0.6.8-1 -> 0.6.8-2)
    [2011-03-02 22:47] >>> Updating module dependencies. Please wait ...
    [2011-03-02 22:47] >>> MKINITCPIO SETUP
    [2011-03-02 22:47] >>> ----------------
    [2011-03-02 22:47] >>> If you use LVM2, Encrypted root or software RAID,
    [2011-03-02 22:47] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2011-03-02 22:47] >>> More information about mkinitcpio setup can be found here:
    [2011-03-02 22:47] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2011-03-02 22:47]
    [2011-03-02 22:47] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2011-03-02 22:47] ==> Building image "default"
    [2011-03-02 22:47] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2011-03-02 22:47] :: Begin build
    [2011-03-02 22:47] :: Parsing hook [base]
    [2011-03-02 22:47] :: Parsing hook [udev]
    [2011-03-02 22:47] :: Parsing hook [autodetect]
    [2011-03-02 22:47] :: Parsing hook [pata]
    [2011-03-02 22:47] :: Parsing hook [scsi]
    [2011-03-02 22:47] :: Parsing hook [sata]
    [2011-03-02 22:47] :: Parsing hook [filesystems]
    [2011-03-02 22:47] :: Generating module dependencies
    [2011-03-02 22:47] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2011-03-02 22:47] ==> SUCCESS
    [2011-03-02 22:47] ==> Building image "fallback"
    [2011-03-02 22:47] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2011-03-02 22:47] :: Begin build
    [2011-03-02 22:47] :: Parsing hook [base]
    [2011-03-02 22:47] :: Parsing hook [udev]
    [2011-03-02 22:47] :: Parsing hook [pata]
    [2011-03-02 22:48] :: Parsing hook [scsi]
    [2011-03-02 22:48] :: Parsing hook [sata]
    [2011-03-02 22:48] :: Parsing hook [filesystems]
    [2011-03-02 22:48] :: Generating module dependencies
    [2011-03-02 22:48] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2011-03-02 22:48] ==> SUCCESS
    [2011-03-02 22:48] upgraded kernel26 (2.6.37-5 -> 2.6.37.2-1)
    [2011-03-02 22:48] upgraded libburn (1.0.0.pl00-1 -> 1.0.2.pl00-1)
    [2011-03-02 22:48] upgraded libfm (0.1.14-2 -> 0.1.14-4)
    [2011-03-02 22:48] upgraded libisofs (1.0.0-1 -> 1.0.2-1)
    [2011-03-02 22:48] upgraded libldap (2.4.23-1 -> 2.4.24-1)
    [2011-03-02 22:49] upgraded librsvg (2.32.1-1 -> 2.32.1-2)
    [2011-03-02 22:49] upgraded libwpd (0.9.0-1 -> 0.9.1-1)
    [2011-03-02 22:49] upgraded lsof (4.84-1 -> 4.84-2)
    [2011-03-02 22:49] upgraded mercurial (1.7.5-1 -> 1.8-1)
    [2011-03-02 22:49] upgraded mesa (7.10.0.git20110206-2 -> 7.10.0.git20110215-1)
    [2011-03-02 22:49] warning: /etc/ntp.conf installed as /etc/ntp.conf.pacnew
    [2011-03-02 22:49] warning: /etc/conf.d/ntp-client.conf installed as /etc/conf.d/ntp-client.conf.pacnew
    [2011-03-02 22:49] upgraded ntp (4.2.6.p2-1 -> 4.2.6.p3-1)
    [2011-03-02 22:49] upgraded pcmanfm (0.9.8-2 -> 0.9.8-5)
    [2011-03-02 22:49] upgraded phpmyadmin (3.3.9.2-1 -> 3.3.9.2-2)
    [2011-03-02 22:49] upgraded ppl (0.11-1 -> 0.11.2-1)
    [2011-03-02 22:49] upgraded ppp (2.4.5-1 -> 2.4.5-2)
    [2011-03-02 22:49] upgraded python-imaging (1.1.7-2 -> 1.1.7-3)
    [2011-03-02 22:49] upgraded python2-numpy (1.5.1-1 -> 1.5.1-2)
    [2011-03-02 22:49] upgraded qt (4.7.1-3 -> 4.7.2-1)
    [2011-03-02 22:49] upgraded v4l-utils (0.8.1-1 -> 0.8.3-1)
    [2011-03-02 22:49] upgraded vi (050325-3 -> 050325-4)
    [2011-03-02 22:49] upgraded vlc (1.1.7-2 -> 1.1.7-4)
    [2011-03-02 22:49] upgraded wget (1.12-3 -> 1.12-5)
    [2011-03-02 22:49] upgraded xf86-video-intel (2.14.0-1 -> 2.14.0-2)
    [2011-03-02 22:49] upgraded xvidcore (1.2.2-1 -> 1.3.0-1)
    i updated the four new files (*.pacnew). after a reboot i realized that mysqld failed to start and i didn't find anything in the logs. next thing was that the wicd daemon started and connected, but wicd-client failed with the error message "Bus error.". chromium also fails:
    [16297:16297:1023095321:ERROR:chrome/browser/process_singleton_linux.cc(949)] Failed to create socket directory.
    [16297:16297:1023098229:ERROR:chrome/browser/browser_main.cc(1293)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
    i found out that uninstalling jdk solves the problem, but that's no option for me. the above errors also appear when i install openjdk6 or jdk version 6u23-4. chromium doesn't even start if i install jdk after a reboot without logging in and out again (ergo java is not even in the path).
    maybe that's also interesting:
    $ uname -a
    Linux mathias-laptop 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 25 09:07:57 UTC 2011 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
    i couldn't find any related problems on the web...
    thank you for any help, ideas or hints!

    strange thing was, wicd and chromium worked when run as root. but i found the reason: no space left on my root partition =o| .

  • Second Time, RFC execution Problem!

    Hi all,
    Has any one encountered this problem, when calling RFC First time fine and getting data from BAPI, when i call same RFC again, Second Time, RFC execution Problem!. Any idea!, Now i restarted server, that may cause the problem. Other than this, please give me your idea.
    Thanks
    Ravi Golla

    Hi Bhavik,
    <b>In View Controller:</b>
    public void onActionCreateProject(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCreateProject(ServerEvent)
        wdThis.wdGetArchCompController().CreateProject();
         wdThis.wdFirePlugOutToProjectCreationResult();
        //@@end
    <b>In Custom Controller:
    </b>
    wdDoInit()
    __Arch__Arm_Project_Create_Input create = new __Arch__Arm_Project_Create_Input();
         wdContext.node__Arch__Arm_Project_Create_Input().bind(create);
    public void CreateProject( )
        //@@begin CreateProject()
         try
                             wdContext.current__Arch__Arm_Project_Create_InputElement().modelObject().execute();
                             wdContext.nodeOutput().invalidate();
                        catch(WDDynamicRFCExecuteException ex)
                             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(ex.toString());
                             ex.printStackTrace();
        //@@end
    I am using other functional modules they all working fine, this is one only has problem
    Thanks  Bhavic.
    Regards
    Ravi

  • An odd set of problems - full re-install fail

    Hello helpful computer people
    I have a funny set of problems which has culminated in me wanting to fully reinstall operating software. I will explain why I want to do this in a minute, but the main problem is that I can't manage to do it! When I boot up my mac from the startup disk I get a messed up display. The information is obviously all there on the screen, but it's displayed in weird jagged lines. This means that I can't make out where to click to continue with the installation. I also though that the disk drive was being particularly clunky sounding, but could be imagining that.
    You can see what I mean here: http://www.flickr.com/photos/33449131@N02/7160853520/in/photostream
    The problems up to this point have been really odd, with applications one by one stopping responding and finder crashing. Also the computer will sometimes not go to sleep when closed and the fan will go a bit mad. I have had particular problems with browsers crashing and generally the computer grinding to a halt with nothing but the off button having any effect.
    I have tried loads of stff - reseting P ram, repairing disks, running cleanups on Onyx, removing programmes etc.
    I want to go back to square one because things are getting a bit messy, it won't let me reinstall Safari becuase it thinks it's already there, but It doesn't show up on search!
    I tried reinstalling Snow Leopard but realised that didn't really do much and am now going down the route of putting the original install disk in. I bought there computer second hand btw, so there is a possibility that the install disks are wrong, although unlikely because the guy was trustworthy.
    Thanks in advance for all your help
    Tim

    Yep.
    Just want to clear up the fact that the original problems encountered were not display related and it only happens when I try to do that one specific task. The computer is working ok now and I am writing this message from it.
    My display spec:
    NVIDIA GeForce 8600M GT:
      Chipset Model:    GeForce 8600M GT   
      Type:    GPU
      Bus:    PCIe
      PCIe Lane Width:    x16
      VRAM (Total):    128 MB
      Vendor:    NVIDIA (0x10de)
      Device ID:    0x0407
      Revision ID:    0x00a1
      ROM Revision:    3175
      Displays:
    Color LCD:
      Resolution:    1440 x 900
      Pixel Depth:    32-Bit Color (ARGB8888)
      Main Display:    Yes
      Mirror:    Off
      Online:    Yes
      Built-In:    Yes
    Display Connector:
      Status:    No Display Connected

  • Brand new IPad 3 out of the box - set up problem with Apple ID

    Brand new iPad 3 out of the box - set up problem. It says my Apple ID (email address) is already being used. I reset the password successfully but still says I need another Apple ID. Why won't the ID recornize me?

    Open current iTunes on your computer. Connect iPhone to the computer with the Lightning USB Cable. Hold both the Home and Power buttons for about 20 seconds until iTunes recognizes the iPhone in Recovery Mode. Click the Restore button of iTunes. If still problem, make Genius reservation or set up Sevice and take or send to Apple for resolution under Warranty.

  • QA08 execution problem

    Hi all,
    QA08 execution problem, one material lying in QA32 stock that is cancel condition only (qa32 status for the material is LTCA, CALC) so I canu2019t deactivate the insp type through QA08, kindly help me to solve the problem.

    Hi,
    Thanks a lot your suggestion is 100% correct, problem has solved.
    Regards,
    Karthick.

  • Package execution problem with SQLSERVERAGENT

    Hello,
    I'm having a problem with the execution of SSIS packages: I created locally a package with SQL Server Data Tools, then I deployed it on my server in the SSISDB database. Then I created a job to execute periodically this package with SQL Server Agent. The
    package works fine and does everything I want, but I always get a failed notification. In the global view of the execution I can see:
    Result: "failed"
    Package name: "Package.dtsx"
    Task name: "Package"
    Execution access path: "\Package"
    Every other task returns a success and their execution access path is a subfolder of "\Package". I tried everything I found on the web, check the "Runtime 32bits" box, create a "Job Account" user to execute the package via a
    "Job Account Proxy", modify the ProtectionLevel of the package to "DontSaveSensitive", give the "Job Account" user full rights on everything, nothing works.
    Do you have an idea of what my problem is and how to solve it?
    I must precise that all my packages do the same thing: I have a loop on all the csv files in a folder that for each file loads the contents of the file in my database and the delete the file. I observed that the error message do not appear when there is
    no file in the folder when the package executes.
    Thanks in advance.

    Not sure what error message, is the one "est introuvable.
    Cette erreur est retournée par la collection Connections lorsque l'élément de connexion spécifique est introuvable"?
    So, here is in short: the ForEach Loop once in its beginning of operation "senses" the files currently present in the working folder. If a new file arrives after this stage, it will not see it.
    In your case it seems that the ForEach "saw" a file at the beginning, but it was gone at the time the processing wanted it for execution.
    Like many above indicated, the common practice, call
    it elegant or not is to indeed move the files to a different directory (working folder). This is done to avoid collisions with some other activity in that folder.
    Furthermore, you can have all the files deleted using a ForEach against the working folder as say in
    http://beyondrelational.com/modules/2/blogs/88/posts/10178/ssis-delete-files-from-specified-folder-using-file-system-task-in-sql-server.aspx And there is no need to delete the working folder
    itself.
    The job is run in SQL Server's Agent
    need to be set to run using a domain proxy account as it needs write access to the file system.
    Arthur My Blog

  • Profile set creation problem..

    Hi,
    I was trying to create profile set..but when I select attribute list from left, I am unable to expand data source ( attribute set & attribute )  & hence unable to drag to modelling area....don't know where did i mess up...?
    Your guidance will be appreciated
    Thanks in advance
    Anil

    Hi Deepak,
    sorry. lemme tell you what z happening.
    Everything is ok till maintaing data source for segment builder.attribute list is created with attribute set. i can see assigned attributes & these are filtered as well.basically in this section I can see my attribute set & expand these to see filtered attributes.no problem so far.
    now coming to segment builder craete profile set, then camapign execution then camapign, new profile set is given a name.If i go left to attribute set & scroll to my attribute list I cannot see anything below attributes in component area. it seems nothing is being selected. i tried to save & see. no results.Obviously no drag/drop in staging area.
    I know this is a very basic problem but i have nobody around me who i can sit with & sort out. I am just referring different materials & practising on my system.
    If you can reply on anilbatra1athotmail.co.uk as i think i shouldn't waste everybody's precious time on such a basic operational issue.
    Your prompt reply will be highly appreciated.
    regards.
    Anil

  • BCS Set Permissions problem with PowerShell

    Hello, I am seeing an odd behavior, was wondering if anyone else encountered this problem before.
    I have a large BDC Model with multiple Entities (ECTs) that was created with Visual Studio, as part of the process we have a Powershell script that iteritates all the entities and sets their permissions to the 'All Authenticated Users' group. 
    $serviceContextURL="https://ACME.dsi-sp.com/"
    $ECTNamespace="ACMEBusinessDataConnectivityModel.ACMEReportingPortal"
    [String[]]$permissions=@("Execute","Edit","SelectableInClients","SetPermissions")
    $bdc = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType Catalog -ServiceContext $serviceContextURL
    # Get the list of all LOB systems
    $lobs = $bdc.GetLobSystems("ACMEReportingPortal")
    Foreach($lob in $lobs){
        $lobEntities = $lob.Entities
        Write-Host $lob.DefaultDisplayName
        foreach($entity in $lob.Entities) {
            write-host "ECTName: " $entity.Name
            $ECTName = $entity.Name
            $ECT = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType "Entity" -ServiceContext $serviceContextURL -Name $ECTName -Namespace  $ECTNamespace
            if($ECT-ne $null)
                 $user = New-SPClaimsPrincipal -EncodedClaim "c:0(.s|true"
                 Grant-SPBusinessDataCatalogMetadataObject -Identity $ECT -Principal $user -Right $permissions
                 write-host "Permissions set for " $ECTName
            else
                 write-host -f Yellow $ECTName external content type does not exists
    The script works fine as expected, however when you try to access the External List that is based on one of these ECTs, you get access denied. I then go into BCS validate the permissions are set as expected i.e. 'All Authenticated Users' is selected with
    the four permission, and it looks fine. try again access denied. I then go and remove the 'All Authenticated Users' group from Permissions, and manually re-add it back, try the External list again, now it works. !
    Has one seen this before or can comment on why it is not working with powershell?  is there a service recycling needed perhaps or something like that?
    Thanks in advance, mark
    Mark A. Eckert SharePoint Consultant Pharmica Consulting, Inc.

    Thanks for responding. 
    its too repetitive to keep adding permissions via CA, there are a lot of entities and we are in a constant state of developing the BDC solution so we are deploying it a lot.
    In ULS, it looks like impersonation is breaking down with ReadList and NT AUTHORITY\IUSR
    02/05/2013 13:45:55.52  w3wp.exe (0x0E7C)                        0x0834 Business Connectivity Services Business Data                
     g0jq High     Access Denied for User '0#.w|dsi-sp\meckert', which may be an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' has ACL that contains:   8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=636.737909427036 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: Microsoft.SharePoint.SPException: Access denied
    by Business Data Connectivity. ---> Access Denied for User '0#.w|dsi-sp\meckert', which may be an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' denied access. Stack Trace:    at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMeth... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...od methodToExecute, IParameterCollection nonReturnParameters, Object[]&
    overrideArgs, IFilterCollection filters)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity this, IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance)    
    at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance mi, IFilterCollection fc, ILobSystemInstance lsi)     at Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity
    entity, IMethodInstance methodInstance, IFilterCollection filters, ILobSystemInstance lobSystemInstance, ExecutionCallBack executionCallBack)     at Microsoft.SharePoint.BusinessData.MetadataModel.Sta... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...tic.Entity.FindFiltered(IFilterCollection filterCollection, String finderName,
    ILobSystemInstance lobSystemInstance)     at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters)      --- End of inner exception stack trace ---    
    at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal,
    String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstances(XmlDocument
    xdQue... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...ryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean
    fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String&
    bdcidFirstRow, String& bdcidNextPageFirstRow)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList)     at Microsoft.ShareP... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...oint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     InnerException 1: Access Denied for User '0#.w|dsi-sp\meckert', which may be
    an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' denied access. Stack Trace:    at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance
    lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterColle... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     ...ction filters)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity
    this, IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance
    mi, IFilterCollection fc, ILobSystemInstance lsi)     at Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity entity, IMethodInstance methodInstance, IFilterCollection filters,
    ILobSystemInstance lobSystemInstance, ExecutionCallBack executionCallBack)     at Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.FindFiltered(IFilterCollection filterCollection, String finderName, ILobSystemInstance ... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     ...lobSystemInstance)     at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode
    xnMethodAndFilters)  8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Submission Milestone)). Execution
    Time=684.852125060587 8b44f992-350b-4560-bf52-e0308d4b6382
    Mark A. Eckert SharePoint Consultant Pharmica Consulting, Inc.

  • How to set execution time of the step with business days in the workflow

    As we know, we can set how many days later the step should be execuated after previous step. now, the problem is how to set the business days (days except sunday and sataurday) for it. any one has good solution on it.

    Hi Nick,
    In order to find the Next working day you need to check for the Factory calendar days for eg, if a workitem has invoked today and if the Approver doesn't release the workitme for which u want to send a mail/reminder to the approver after say next 5or 6 working days, you need to create a function module.
    For eg: In case of Purchase order, if the approver doesn't release the PO .
    Create a Method saying "Next working day" , in which you will be passing the import parameters : PO, Factory calendar day and the sy-datum
    and export parameter : date.
    Create Input date and No of days as container elements of the Task and in the method create a Function module
    In case of PO, consider the Factory calendar key from the T001W  by joining the table EKPO there by passing the PO.
    then pass the date, No of days(say 5 days) and the Factory calendar key  to the "WDKAL_DATE_ADD_FKDAYS" , you will get the next working day of the employee.
    Don't forget to check the Binding properly.
    Do implement this logic and check the same.
    Regards
    Sharief

  • Packages (possible set-up problems)

    Hi,
    I have recently set up sdk1.4.2_01 and I have set up both path and classpath variables as C:\j2sdk1.4.2_01\bin and .;C:\j2sdk1.4.2_01\lib\tools.jar respectively (the classpath variable was suggested as a solution to the upcoming problem)
    I have been following learn Java in 21 days and all has been going fine until I had to create my own packages.
    As I understand, a class contained within a package must have the initial line:
    package com.prefect.ecommerce;
    where in this case, com.prefect.ecommerce is the package. Also I understand that a directory structure must accompany the package such that the classes are placed in this directory (com\prefect\ecommerce).
    I have two classes Item.java and Storefront.java that need to be placed in the above named package, so I performed the following steps:
    1) Created the directory: C:\j2sdk1.4.2_01\com\prefect\ecommerce
    2) Placed both Item.java and Storefront.java in this directory with the initial package com.prefect.ecommerce; line in place.
    3) Compiled Item.java successfully
    The problem lies when I try to compile Storefront.java. This class creates and uses an instance of the Item class, however I get the following error message:
    Storefront.java:16: cannot resolve symbol
    symbol : class Item
    location: class com.prefect.ecommerce.Storefront
    public Item getItem(int i){
    ^
    Storefront.java:12: cannot resolve symbol
    symbol : class Item
    location: class com.prefect.ecommerce.Storefront
    Item it = new Item(id, name, price,quant){
    ^
    The Storefront class dosent recognize or cant find the Item class even though they are in the same folder? When I remove the line package com.prefect.ecommerce; Storefront compiles fine and uses the Item class?
    Were am I going wrong? can someone help me?
    many thanks in advance!

    there seem to be two problems:
    first: in your Item.java I think there is no package statement, otherwise you would not have been able to compile it using a similar statement as one of the following:
    C:\j2sdk1.4.2_01\com\prefect\ecommerce> javac
    Storefront.javathe easiest way of compiling is to ALWAYS compile from the root of the package hierarchy: in this case:
    C:\j2sdk1.4.2_01> javac com\prefect\ecommerce\Storefront.javashould compile both Storefront and item, as long as they are both in package
    com.prefect.ecommerce, i.e. there is a line in the sources saying:
    package com.prefect.ecommerce;
    >
    Tonight I will try out 2 things, firstly I will change
    the above command to:
    C:\j2sdk1.4.2_01\com\prefect\ecommerce> javac
    -classpath C:\j2sdk1.4.2_01 Storefront.javaas stated above, this should not work! try it from the package root directory as described above!
    >
    and see if this works! Next I will add to my classpath
    variable such that it will look like:
    .;C\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdk1.4.2_01
    (I want to see if my original javac command will work
    using this!)
    I would like to know whether the first part of the
    classpath variable (.;C\j2sdk1.4.2_01\lib\tools.jar;)
    is necessary or should I just have the classpath
    variable set to C:\j2sdk1.4.2_01 ?neither, nor! for simplicity, you should have the "." in your classpath, which means "current directory" but not the tools.jar. C:\j2sdk1.4.2_01 is not necessary, although this seems to be your "home" :-)
    however, for some older versions of the jdk it could be of use to add the path of the rt.jar (runtime) to the classpath, but i don't think you will need this.
    and finally, even if i had not set the classpath
    variable, when I typed my javac command in the
    directory listed above
    (C:\j2sdk1.4.2_01\com\prefect\ecommerce>) should it
    not have looked in the ecommerce folder for Item.class
    by default?well, in your case only if they were both in the same package (same package declaration in the source) and same source directory)
    Regards, Sebastian

  • JMF set up problem

    Hi,
    when i install JMF in my linux(RedHat 9), at the end of process, it showed those message :
    Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
    Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
    Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
    Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
    Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
    Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type VirtualBinding
    Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type VirtualBinding
    Warning: Cannot convert string "-tlc-song-medium-r-normal--*-140-*-*-c-*-gbk-0" to type FontStruct
    JavaSound Capture Supported = true
    JavaSoundAuto: Committed ok
    java.lang.Error: Can't open video card 0
    java.lang.Error: Can't open video card 1
    java.lang.Error: Can't open video card 2
    java.lang.Error: Can't open video card 3
    java.lang.Error: Can't open video card 4
    java.lang.Error: Can't open video card 5
    java.lang.Error: Can't open video card 6
    java.lang.Error: Can't open video card 7
    java.lang.Error: Can't open video card 8
    java.lang.Error: Can't open video card 9
    Does anyone know what they mean ? Will they cause program when i run my program ?
    Because when i run a program to playing a music ,
    java PlayMusicTest /tmp/music/test/music_test.mp3
    it showed these error message:
    Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
    Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
    Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
    Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
    Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
    Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type VirtualBinding
    Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type VirtualBinding
    Unable to handle format: mpeglayer3, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 8000.0 frame rate, FrameSize=32768 bits
    Failed to realize: com.sun.media.PlaybackEngine@6c347
    Error: Unable to realize com.sun.media.PlaybackEngine@6c347
    Any suggestion would be appreciate, THANK YOU!!

    This is still true ???
    Q: What media types does JMF 2.1.1 support?
    JMF 2.1.1 supports a wide array of media types, including
    * protocols: FILE, HTTP, FTP, RTP
    * audio: AIFF, AU, AVI, GSM, MIDI, MP2, MP3*, QT, RMF, WAV
    * video: AVI, MPEG-1, QT, H.261, H.263
    * other: HotMedia
    *MP3 is supported only on the Windows platform.
    For a complete set of formats, check out: http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
    I use Slackware 10.2.
    I installed in my computer:
    JDK 5.0 Update 7
    JMF 2.1.1e
    JMF MP3 Plugin
    JMStudio plays my mp3 file but only for a little moment and suddenly #$#$%#$$%$rdksldjflkdsjarklaj runs to the end of this.
    Tested the same config in Windows and JMStudio gets to play the same music perfectly.
    Had the same trouble even converting the mp3 to wav.
    Tried to rip directly a song from cd to wav, the problem remains.
    mid archives works perfectly in JMStudio in Linux.
    In XMMS (player for linux) all the samples work perfectly.
    Any idea why ?
    extra info for linux users:
    to be able to open JMStudio I had to input the following command:
    java -Dawt.toolkit=sun.awt.motif.MToolkit JMStudio

Maybe you are looking for