Error in SQLJ..Please guide :(

Hello All,
Am new to SQLJ and am implementing the first practise project from pdf called "<i><b>Gettng Started with Relational Persistence</b></i>".
Am at the step wherein The <i>Data Access Interface has been implemented using SQLJ</i> but am getting these 2 errors at this step:
1. <b>SQLJ: The connecttion "ctx" does not have a Java type</b>.
2. <b>SQLJ: The context type must e defined explicitly</b>.
Please help me resolve these errors.
Awaiting Reply.
Thanks & Warm Regards,
Ritu

Hello,
I have implemented the first sample program on Persistence from help.sap.com
As per that, u dont have to add the Dict. project to the enterprise project.
If you are referring to thr same project then:
1. Creation of dictionary project
2. Created a Web Project (with servlet & JSP) & addition of Dic project.
3. Creation of Enterprise Project and addition of the above Web project.
You may also refer to the steps given here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/b8/092492099b7c44b266c3128624076e/frameset.htm

Similar Messages

  • I had an error snap shot of the error is below please guide me

    I am Using
    Visual Studio 2012 Ultimate
    sql server 2012
    Windows 7 ultimate 32 bit
    sap crystal report service pack 5
    I got the following error

    You are correct, add RAS. Somethign youa re doing requires it.

  • TS3694 How to resolve error code 1015 in restoring apple iphone. Please guide

    How to resolve error code 1015 in restoring apple iphone. Please guide.

    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • HT4972 Hi! I have tried to update OS from 4.3.5 to latest on Ipod touch but every time after 70% completing an error is prompted and say update cannot be completed. Please check the setting. Please guide in this respect to be updated.

    Hi!
    I have tried to update OS from 4.3.5 to latest on Ipod touch but every time after 70% completing an error is prompted and say update cannot be completed. Please check the setting. Please guide in this respect to be updated.

    Disable the computer's firewall and antivirus during the download and update.

  • HT1338 when i would to update mac os10.7 to mac os combined10.7.4 the appear error the update couldn't be verified.it may have been corrupted during downloading....please guide me.tnx

    when i would to update mac os10.7 to mac os combined10.7.4 the appear error the update couldn't be verified.it may have been corrupted during downloading....please guide me.
    my type of laptop is MAC724
    tnx

    The first thing to attempt is restarting in Safe Mode, this will clear some caches. It's possible one or more has become corrupt. Once it has started navigate to 10.6.8 Update Combo and download and install per the directions. After it has installed if you still have difficulty re-starting, go to System Preferences - Startup Disk and make sure the internal HD is highlighted and click restart again and restart again in Safe Mode. Finally restart normally.
    BTW I have asked the moderator to remove the serial number of your machine for your own security. Please DO NOT post private information such as email addresses, serial numbers etc.. to a public forum.

  • When i would to update mac os10.7 to mac os combined10.7.4 the appear error the update couldn't be verified.it may have been corrupted during downloading....please guide me.tnx

    when i would to update mac os10.7 to mac os combined10.7.4 ,after finishing download appears the  error the update couldn't be verified.it may have been corrupted during downloading....please guide me.
    my laptop type is MC724
    tnx

    The first thing to attempt is restarting in Safe Mode, this will clear some caches. It's possible one or more has become corrupt. Once it has started navigate to 10.6.8 Update Combo and download and install per the directions. After it has installed if you still have difficulty re-starting, go to System Preferences - Startup Disk and make sure the internal HD is highlighted and click restart again and restart again in Safe Mode. Finally restart normally.
    BTW I have asked the moderator to remove the serial number of your machine for your own security. Please DO NOT post private information such as email addresses, serial numbers etc.. to a public forum.

  • Hi their is a code 10 error appears on my network card driver please guide me how i can fix that....

    I have Thinkpad T41 As my network card drive installed after installation the driver the system suddenly shows "This device can not start (code 10 Error) Please guide me how i can fix it

    Hi VanessaLovery,
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers. For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand your notebook works fine on battery, but performs poorly on AC ,after taking it to a repair shop to have it cleaned.
     Here is a document on Troubleshooting an Overheating and Auto Shutdown Issue.
    Have you checked your performance plan to ensure it is set to balanced  Managing Power Options (Windows 7 and Vista).
    Have you tried a different electrical outlet?
    Are you using the AC adapter that came with your notebook?
    On startup if you press the F2 button approximately once every second, you should be able to enter the HP advanced diagnostics window, to test for hardware failures.    Testing for Hardware Failures (Windows 7, Vista).
    If you would like further assistance would you please provide your exact model of DV 6 and the Operating System you are running.  How Do I Find My Model Number or Product Number.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • After downloading & installing application of adobe creative suite cs2 version 6,  screen of adobe photoshop cs2 is not opened by clicking icon . message is giving " ausba4.dll " was not present. Please guide me.?

    I have downloaded & installed adobe creative suit cs2 version 6 but when I click the icon of adobe photoshop in desktop it is not opened & giving message " this application has failed to start because " ausba4.dll " was not found. reinstalling of the application may fix the problem " I have reinstall & opened many times but even then it is not opened. Please guide me accordingly.

    I'd try disabling the Twain_32.8BA plugin in
    C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\Import-Export
    You can disable the plugin by putting an ~ (tilde) in front of the name or moving the plugin to your desktop.
    Then try photoshop cs2 and see if you still get the error message.
    I suspect the error has to do with your scanner driver, since photoshop cs2 does not have an ausba4.dll

  • Problem in creating workspaces..Please guide

    Hello All,
    Am facing a problem in creating workspaces in DTR. Am working on EP7 SR2 (SP9)
    Have read mostly all related posts on SDN but cannot catch the missing link...Please guide me for the same:
    <u><b>setvars.bat</b></u>
    @echo off
    rem Default properties definition for the DTR Client Commandline Tool:
    rem -
    rem (1) Mandatory: DTR configuration folder:
    set DTR_HOME=C:\Documents and Settings\RHunjan
    set CFG_DIR=%DTR_HOME%\.dtr
    rem Remark: How to find DTR_HOME folder?
    rem - In Release 6.40:
    rem          The default location is C:\Documents and Settings\<user>\.sapnetweaver.
    rem - In Release 7.1:
    rem      Start Netweaver Developer Studio and login to the configuration / client
    rem      where you would like to work, then choose the menu: 'file' -> 'Switch workspace'.
    rem      The upcoming dialog shows the currently used Eclipse workspace.
    rem      The DTR configuration folder is <currently used eclipse workspace>.jdi
    rem (2) Optional: Folder with the definition of logging properties:
    set LOGGING=%DTR_HOME%\logging.properties
    rem (3) Default properties:
    rem set DEFAULT_PROPERTIES=-Dvfs.configfolder=%CFG_DIR% -Dvfs.logging=%LOGGING%
    <u><b>dtrshell.bat</b></u>
    @echo off
    rem Run DTR Commandline Shell:
    rem -
    rem (1) Get it running:
    rem -
    rem - Adapt configuration settings in setvars.bat.
    rem - Uncomment the settings for the used archives
    rem       that fit to the currently used Netweaver Developer Studio.
    call setvars.bat
    set CLASS_PATH=
    rem (2) Used Archives Settings:
    rem -
    rem Used Archives in 6.40 and 7.00 Netweaver Developer Studio installation:
    rem -
    set CLASS_PATH=%CLASS_PATH%;com_tssap_dtr_client_vfs.jar
    set CLASS_PATH=%CLASS_PATH%;httpclient.jar
    set CLASS_PATH=%CLASS_PATH%;httpclientext.jar
    set CLASS_PATH=%CLASS_PATH%;com_tssap_dtr_client_commandline.jar
    rem Archives from foreign Plugins:
    set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.xmltoolkit\lib\sapxmltoolkit.jar
    set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.logging\lib\logging.jar
    set CLASS_PATH=%CLASS_PATH%;..\com.sap.tc.jarm\lib\jARM.jar
    rem The recommended value for maximum heap size for the JVM to run DTR Commandline client is 256M or higher.
    rem You can change the settings based on system resources available.
    set VM_PARAMS=-Xmx256m
    rem (3) Run DTR Commandline Shell:
    rem -
    java %VM_PARAMS% -classpath %CLASS_PATH% %DEFAULT_PROPERTIES% com.tssap.dtr.client.commandline.DTRShell %*
    ===================
    I get an error saying:
    <i><b>Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/logging/Lo
    cation
            at com.tssap.dtr.client.commandline.DTRShell.<clinit>(DTRShell.java:21)</b></i>
    Please guide......
    Awaiting Reply.
    Thanks & WArm Regards,
    Ritu
    Message was edited by:
            Ritu  Hunjan

    Hello Ritu,
    the problem is probably in these lines:
    rem Archives from foreign Plugins:
    set CLASS_PATH=%CLASS_PATH%;..com.tssap.sap.libs.xmltoolkitlibsapxmltoolkit.jar
    set CLASS_PATH=%CLASS_PATH%;..com.tssap.sap.libs.loggingliblogging.jar
    set CLASS_PATH=%CLASS_PATH%;..com.sap.tc.jarmlibjARM.jar
    For a NW04s studio these paths are not correct, the plugin directories have some version suffix.
    rem Archives from foreign Plugins:
    set CLASS_PATH=%CLASS_PATH%;..com.tssap.sap.libs.xmltoolkit_2.0.0libsapxmltoolkit.jar
    set CLASS_PATH=%CLASS_PATH%;..com.tssap.sap.libs.logging_2.0.0liblogging.jar
    set CLASS_PATH=%CLASS_PATH%;..com.sap.tc.jarm_2.0.0libjARM.jar
    Please check the folder names in the /eclipse/plugins/ directory to verify that this is correct for your installation.
    Regards,
    Marc

  • E recruitment -career and job Error u201CAn internal error occurred. Please try

    Hi All
    The issue is E recruitment regarding career and job (internal candidate) in this page select candidate profile I am getting Error u201CAn internal error occurred. Please try again lateru201D  (my client using BSP and Portal)
    I was checked T- code  SLG1 but it show Errors 1) Periodic service was not executed due to concurrent service2) The error occurred in program RCF_PERIODICAL_SERVICES line 41
    And also I checked T u2013 code SICF for services hrrcf_start_int tested but here also getting error u201CAn internal error occurred. Please try again lateru201D
    Please any one guide me for how to resolve the issue
    Regards
    Eshwar

    Hello Eshwraj,
    Please check out the following :
    Please check transaction SM37 and check have you create a periodical job for program COM_SE_DISPATCHER. If this is the case this is not correct - only RCF_PERIODICAL_SERVICES has to run as periodical job which indexes the objects then.
    Please delete your COM_SE_DISPATCHER job and activate the RCF_PERIODICAL_SERVICES job again and test the service run afterwards.
    The services DISPATCH_CPOINTER_FOR_PUB_INT and DISPATCH_CPOINTER_FOR_PU_EXT of program RCF_PERIODICAL_SERVICES do the pre-work which means that they create the change pointers for the
    postings which are then processed by program COM_SE_DISPATCHER. These services are only called by program RCF_PERIODICAL_SERVICES. COM_SE_DISPATCHER can't do that alone. Report COM_SE_DISPATCHER is
    called automatically.
    Best Regards,
    Deepak..

  • Problem in BW System in Portal..Its urgent.. Please guide

    Hello All,
    Scenario:
    Working in a load balancing landscape
    Requirement:
    Need to create a BW Report iView (which isnt working)
    Problem / Questions:
    1. Created a BW System in portal but since its load balancing, please confirm if this is all right:
    - Using Logon Tickets Name
    - Group = ?group?
    - Message Server = ?server?:?port?
    - SID = ?r3name?
    - Server Port = blank
    - SAP Client = blank
    - System Type = SAP_BW
    - WAS Host = ?server?:?port?
    - WAS Protocol = http
    - User Mapping Type = admin
    2. Tested the connection and the WAS & Connector Tests fail.
    3. When I preview the SAP BW Report iView, get a prompt error saying
    " session management will not work!
    Please check the DSM log file for details.
    you can turnoff this alert ..... "
    Now, Ive seen many posts which show how can I disable this prompt message but it would not solve the problem. On clicking on "ok" from the above mentioned prompt, I get an error saying "Page cannot be displayed"..
    Please guide.....
    Its kinda urgent....
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi,
    Do the following:
    <b>1. Property Category : Connector</b>
    <b>Group</b> -> You can check this from the SAP Logon Pad. Click on groups and then click on generate list.
    <b>Logical System Name</b> -> <SID>CLNT<Client Number>
    <b>Message Server</b> -> You can also find the message server from the SAP Logon Pad or ask the BASIS team. On SAP Logon Pad, click on groups -> You can see the servers in the group.
    <b>Remote Host Type</b> -> 3
    <b>SAP Client</b> -> You can get this from SAP Logon Pad or contact the BASIS team. A system can have many clients to be particular.
    <b>SID</b> -> System ID of your BW system. This would also be available from SAP Logon Pad or contact the BASIS team for information
    <b>Server Port</b> = The server port would be 80<System Number> i.e. 8000 if the system number is 00 and 8001 if system number is 01
    <b>System Type</b> -> SAP_BW
    <b>2. Property Category : ITS</b>
    <b>ITS Host Name</b> -> If it's WAS6.40 and above, it would be an integrated ITS which means the ITS hostname is same as your BW System Host Name. i.e. xxxx.abc.com:80<system number>
    <b>ITS path</b> -> /sap/bc/gui/sap/its/webgui/
    <b>ITS Protocol</b> -> http
    <b>3. Property Category : User Management</b>
    <b>Logon Method</b> -> SAPLOGONTICKET
    <b>User Mapping Type</b> -> admin, user
    <b>4. Property Category : WAS</b>
    <b>WAS Host</b> = Fully Qualified Domain Name of BW System : 80<system number>
    <b>WAS Protocol</b> = http
    Check the connection then.
    Cheers,
    Sunil

  • Problem in SSO..Please guide

    Hello All,
    Am trying to establish a SSO connection between EP7 SR2 Sneak Preview Portal and ECC5.0 using Logon Tickets.
    Using this link for the same - http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/22afe3b26011d5993800508b6b8b11/frameset.htm
    Have downloaded the verify.der certificate and added into R/3 using the STRUSTSSO2 T-code and have added to ACL too.
    Problem:
    I need to maintain table TWPSSO2ACL using sm30 which am not able to.
    When I enter the table name and press enter, then either I hit Display or Maintain, I get an error saying "<b>View/table TWPSSO2ACL can only be displayed and maintained with restrictions</b>".
    Am not into R/3...please guide me....
    Get the above error even when I select "No Restrictions or Enter condition" from the Restrict Data Range section.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    But then the Connector test is failing. It gives an error as "Connection failed. Make sure user mapping is set correctly and all connection properties are correct"
    What needs to be done here?
    On the other hand, all this works fine using User-Mapping, the Connector test + the SAP Transaction iView.
    Pleae guide.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

  • Problem in Portal Anonymous Login..Please guide

    Hello All,
    Am trying Portal Anonymous Login using EP7 SP9 Sneak Preview.
    Using link for this - http://help.sap.com/saphelp_nw2004s/helpdata/en/1e/e19f58136e654d9709befa464314f2/frameset.htm
    1. Have added 2 users in the UME Property using configtool - anon1,anon2
    2. Created a simple PCD Role and assigned a URL iView to it. Changed it authenticationscheme property to Anonymous.
    3. Assigned this role to Anonymous Users Group.
    Problem:
    1. When I access URL http://rp1677:50100/irj/portal/anonymous, am asked for authentication? Why?
    2. The anonymous user group contains user Guest. When am trying to add users- anon1 & anon2 into this group, I get an error saying - <i>You are not authorized to assign one or more entities. Perform a new assigned entities search to see the correct status</i>
    Am doing this entite process using the administrator login.
    Please guide.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi,
    There is a step by step guide to implement external facing portal in
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5894">blog</a>
    Follow all above steps and if you still get error write here again.
    Regards
    Abdul.

  • My time machine cannot complete my back up saying the "sparse bundle could not be accessed" error -1  Help please

    My time machine cannot complete my back up.  The message I receive says the "sparse bundle cannot be accessed.  (error -1)  Help please.

    GG,
    Please read over Pondini's Time Machine Troubleshooting guide, specifically C17.

  • Please guide me:LWF NODE IS MISSING

    Dear Experts,
    We have applied new Support packages : BASIS - SAPKB62062 and
    SAPKB62063 ABAP - SAPKA62062 and SAPKA62063
    HR - SAPKE47045 to SAPKE47074
    But in spro LWF (Labour Welfare Fund ) node was missing and system was
    showing an run time error.
    I have gone through the SAP note 973398 and done IMG changes in Tables
    : V_7In0p_all,  V_t7INU1, V_T7INU3 and (V_T7INU5)
    BASE WAGE TYPE:Created base wage type by copying /140
    SM30:
    table V_512W_D maintained the processing class 20 with specification
    3 for wage type basis and checked the cumulation class 40.
    PE51:
    I have edited the HR form and transferred the wage type
    Schema Changes:
    I have made changes to Schema IN00> INN1 we have delimited the old
    LWF funaction INLWF and incerted new function as per sap note as
    INUCD -
    here i have maintained the parameter LWF, basis wagetype , -- and
    01 (Universal grouping).
    PCR Change : Sytem was throughing an error saying that "STOP: No rule
    in key INCS******".
    I have copied INCS and created ZNCS incerted basis wagetype init.
    now while running payroll error is not there,
    but wage type is not appearing either in RT table or in payslip,
    has any one come across LWF missing , what are the steps you have followed.
    I am missing something.
    Please guide me.
    Thanks in advance
    Paramshetty.

    hiii,
    Please find the screeshot.Differeniace is coming in the tax on totl income as after calculaton it should be arnd 19k,Please help.
    I hope screenshots are clear to you.
    Thanks

  • Please guide me on the issue of private key

    Hi All
    I am working on application that requires to do encryption and decryption using public and public key. I need some guidance on how to implement this functionality. The only requirement is to have public key and private key in two different files. For public key i can get it from .cer certificate file but i do not have much idea of what feature in java is provided to read private key from file. The file is definately not the keystore file. Please guide me as to in what format the private key should be so that my java program could read it and do decryption.
    Another thing is that the private and public key file will be provided by the client. I do not have any control on creating them. I will be given a location where i could find public and private key and passphrase for private key.
    Basically i do not have any clue on what class or technique to use to read those
    Thanks and Regards
    Pankaj Tiwari

    This is how i create the private and the public key files (Not the certificate file) :
    KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
    kpg.initialize(2048); // 2048 is the keysize.
    KeyPair kp = kpg.generateKeyPair();
    PublicKey publicKey = kp.getPublic();
    PrivateKey privateKey = kp.getPrivate();
    // Serialize to a file
    ObjectOutput outPK = new ObjectOutputStream(new FileOutputStream("C:/Temp/PrivateKey.ser"));
    outPK.writeObject(privateKey);
    outPK.close();
    This is how i verify the signature of a file :
    File fileKey = new File("C:/Temp/KeyPair/publicKey.ser");
    ObjectInputStream inPK = new ObjectInputStream(new FileInputStream(fileKey));
    PublicKey publicKey = (PublicKey) inPK.readObject();
    inPK.close();
    // C:/Temp/myfile.zip.sign is the file that was generated when i signed my file C:/Temp/myfile.zip
    String algorithm = "SHA1withRSA";
    String myFile = "C:/Temp/myfile.zip";
    File fileSign = new File("C:/Temp/myfile.zip.sign");
    ObjectInputStream inSign = new ObjectInputStream(new FileInputStream(fileSign));
    byte[] signature = (byte[]) inSign.readObject();
    inSign.close();
    Signature verif = Signature.getInstance(algorithm);
    verif.initVerify(pubKey);
    FileInputStream in = new FileInputStream(myFile);
    int chVerif = 0;
    while ((chVerif = in.read()) != -1) {
    verif.update((byte)chVerif);
    if (verif.verify(signature))
    System.out.println("OK");
    else
    System.out.println("Error");

Maybe you are looking for

  • 5th Generation Nano not recognized by iTunes

    My iPod is no longer recognised in iTunes although my PC does recognise it. I haven't had this problem before. "Help' was not helpful. I uninstalled iTunes and reinstalled it, changed USB ports to my iPod but although it knows there is an Ipod plugge

  • Tuxera Version That Comes with HDTC705XK3​A1 Does Not Support on Install on MAC OSX 10.9.2

    The Tuxera version pre-installed (2012.3.6) on my hard drive does not support Mac OS X 10.9.2 I first looked at the support site and it says there isn't any updates for drivers & software for the Toshiba 500GB Canvio Connect Portable Hard Drive (HDTC

  • How to export Android sms to pc

    I want to be able to export my Android SMS database to my pc in a friendly txt, html or pdf format that is easy to read. I have the sms.db file ready to use, i just want to be able to easily convert it. What applications that are completely free can

  • Using organizer in Premiere Elements

    When I try to create a DVD of my slideshow while in PE8, I get a message that I need to download Premiere Elements. I have Premiere elements on my computer already. If I try to open the organizer while in Premier Elements, nothing happens. It seems a

  • The serial number is not valid for this product

    Hello, I have changed laptop and tired to reinstall Photoshop but says "The serial number is not valid for this product". I used same serial on my old laptop. I installed trial version then tried to activate, but says same error. note: It is photosho