SAP Press Sneak Preview errors with EJB

I am using the WAS Sneak Preview that came with the SAP PRESS Programming with Java and I have been trying to create a test entity bean which I create from a JSP. I have basically made it mirror with one of the examples in the book albeit changing some of the names, but I seem to not be able to do it. This is the exception I am getting.
com.sap.engine.services.ejb.exceptions.BaseEJBException: Transaction system failure in method com.sap.demo.TestLocalHomeImpl0.create().
So I tried changing the "container transaction" to Not supported, but that only got me:
com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method com.sap.demo.TestLocalHomeImpl0.create().
Before I go posting all my code, has anyone else run into a similiar error, or are there certain things to chase down first in order to find the culprit?
HELP
-Tim

Maybe my response to similar topic would be helpful:
Re: Error in the Tutorial Car Rental application
Regards,
  Marcin Zduniak

Similar Messages

  • Error installing  SAP Netweaver Sneak Preview ABAP

    Hi
       I'm getting the following error when I try to install SAP Netweaver Sneak Preview ABAP.
    ERROR 2006-04-04 13:51:02
    MOS-01185  The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NPFMntor' does not exist on the 'localhost' host.
    ERROR 2006-04-04 13:51:02
    FCO-00011  The step collect with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_GetSidNoProfiles|ind|ind|ind|ind|2|0|collect was executed with status ERROR .
    I'm on Windows XP SP2 Profession.
    By the way... is this the right forum?
    Thanks in Advance

    Hi
    This is something related to your anti virus software like norton.Please trun off Norton while Installing SAP and also make sure that the Id which you use to install SAP has administrator rights.
    Thanks
    prince jose

  • Problem in installin SAP Netweaver Sneak Preview

    While trying to install the SAP netweaver sneak preview I got this error at the second step of the installation “SAP System installation”…..
    "An error occured while processing service sneak preview edition of SAP web application server java 6.4  install sap web application server java 6.4
    you may now
    press retry to repeat the current step.
    press view log to get more information.
    stop the task and continue with it later.
    reset your input for the current task .in this case SAPinsti will permenantely remove all installation files from the installation directory. This gives you the oppurtunity to start from scratch."
    Can someone kindly guide me as to what to do..
    (1)when I pressed retry I again got the same screen.
    (2)when I pressed reset and again started from scratch I again got the same error.
    (3)the view log shows
    “ERROR 2005-12-27 11:06:09
    CJS-00081  Assertion failed: in function () {    var changed = false;    var nodeName = (new NetworkMgt()).getServicesFileName();    var mgt = new FileMgt();    var node = mgt.getNode(nodeName, true);    ASSERT_DEFINED(arguments.callee, node, "node(" + nodeName + ")");    node.saveVersion();    for (var it = this.getInstances(); !it.isDone(); it.next()) {        var instance = it.get();        if (instance.installInstance()) {            changed = instance.createPorts() || changed;        }    }    installer.writeInfo("ind-rel.ind-os.ind-db.j2ee-eng.creatingPorts", this.getSID());    if (this.j2eeStandalone) {        var port = this.getSCSMSPort();        if (port) {            changed = WebAS.createPort("sapms" + this.getSID(), "tcp", port, "# SAP System Message Port", true) || changed;        }    }    if (!changed) {        node.revertVersion();    }}Variable node(C:/WINDOWS/system32/drivers/etc/services) should be defined”
    (4)i have uninstalled the entire sneak preview version including the j2ee engine .
    I will be obliged if someone guides me through.
    Thanks and Regards.
    Sundeep Sethi

    Hi,
    Try the installation after starting all the services of the DB. For example if you have used Oracle as the underlying DB, make sure that the important Oracle Services like OracleOraHome92Agent, OracleOraHome92TNSListener and OracleServiceJ2E are in Started status.
    If some other DB, start its services. To start the services go to start - Settings - control Panel - Administrative Tools - Services. 
    Regards,
    Anup.
    Note: If found useful, please contribute points.

  • SAP NetWeaver Sneak Preview and Trial

    Hi,
    I am new to SAP Netweaver Enterprise portal (java)
    I donloaded  SAP Full Java Edition-Trial -SAP NetWeaver 04 SP16. which is with out visula composer support.
    There is another SAP NetWeaver Sneak Preview and Trial.
    Which with visual composer support.
    That is Full Java Edition2004s-Trial - SAP NetWeaver 04s SP7.
    so let me know which Service pack is first.
    Weather SP16 is first or SP7 is First.
    regards
    mmukesh

    Hi mmukesh,
    you have to understand that there a two seperate NetWeaver releases (NetWeaver 2004 and NetWeaver 2004s) with their own support packages.
    Read more here:
    Re: difference between 2004 and 2004s?
    Regards,
    Martin

  • SAP NetWeaver Sneak Preview: Database Instance Installation

    ERROR 2005-09-04 12:54:31
    FSL-02015  Node C:/Documents/DATA does not exist.
    I get this error while installing SAP NetWeaver Sneak Preview.
    Could anybody help me.
    Thanks
    Ravi K

    Welcome to SDN
    check out the following thread, hopefully it answers your problem
    Cannot install database instance for ABAP version
    Regards
    Raja

  • Problem in Uninstalling SAP ABAP sneak preview 2004

    Hello ,I am trying to uninstall the SAP ABAP sneak preview 2004.but the main problem is that i have forgot the DB manager (DBM operator) and CONTROL passwords. is there any chance to uninstall with out giving passwords or to retreive the passwords ?
    Regards,
    Gopi

    If you installed it on an XP machine, restore the system back to the date and delete all related folders.

  • SAP NetWeaver Sneak Preview location

    hello, all.
    is SAP NetWeaver Sneak Preview must be installed on <b>system hard disc</b>(eg.  c:/)
    during the installation, i can't find the option to select setup location.
    if system hard disc is essential, i'm afraid i need to merge my discs.
    thank you for your information....
    Orz~

    Hi Markus,
    I have tried to implement your solution. But I cannot find the mentioned rows in my control.xml.
    row 21829 => this.line = DirConvertSed.prototype.line;
    row 49968 =>     } else {
                                 trace += it.get().name() + hashsep + it.get().value();
    Or does anybody else solved this problem, I am working with SAP NetWeaver 2004s Java Trial Version (SP9)

  • SAP NW Sneak Preview (tuning)

    Hi,
    I've installed SAP NW sneak preview (Java Full edition) on my notebook (Intel Celeron M 1.6GHz, 1.5DDR2 GB). I want to setup it for less memory consumption cause it will be system only for my development (portal + KM). I just wanna to have system well suited for scenario when one only one person work on it. Have anyone experiences running Sneak Preview on notebook ? Could you share memory and other settings for your hardware ?
    (btw. system start me in time about 20 minutes, can I reduce this time ? or you think it's just issue of less powerfull processor ?)
    Thanks a lot,
    Best regards,
    Miroslav Koskar

    Hi,
    Which version you downloaded is it
    SAP NetWeaver 04 SP11 or SAP NetWeaver 04 SP15
    The following are the Hardware requirements
    Full Java Edition System Requirements
    Operating system: Windows 2000 (Service Pack 3); Windows XP Professional (Service Pack 1) or Windows Server 2003
    NTFS-File systems
    Internet Explorer 5.5 or higher or Firefox 1.0 or higher
    At least 1 GB RAM, 2 GB are recommended
    Intel Pentium III/1.1 GHz or higher (or compatible)
    8 GB hard disc space recommended
    High-resolution monitor (1024x768 or higher, 256 colors)
    Sun Microsystems J2SE SDK version 1.4.2_08 (Sun JDK 1.5 not tested). You can download this from Sun Microsystems at http://java.sun.com/j2se/1.4.2/download.html.
    If you have SAP products already installed on your computer, ensure that none are called "J2E".
    The file C:\WINNT\system32\drivers\etc\services (Windows 2000) or C:\Windows\system32\drivers\etc\services (Windows XP) must not include an entry for the ports 3601, 3201 and 50000 to 50030. A possible entry can be excluded by using the hash symbol (#).
    If no DHCP server is available on your network (which dynamically determines the IP address) or your computer is not connected to any network, you need to install the virtual interface adapter MS Loopback Adapter. This is described in detail within the contents of the download package.
    Hope this helped
    RK

  • ADS for SAP NW2004s Sneak Preview ABAP..

    Hello folks,
    Do we need ADS (Adobe Document Services) on SAP NW2004s Sneak Preview ABAP to run Interactive Adobe forms?
    Regards,
    Sarath.

    I figured out we need ADS for SAP NW2004s Sneak Preview ABAP. Moreover we need a Java engine also.

  • Error while installtion of SAP NetWeaver Sneak Preview

    Hi,
    I get the following error while installing the Sneak Preview version of SAP NetWeaver. This error occurs while checking for the JCE. Request your help.
    ERROR 2007-05-21 00:34:46
    FSL-00001  System call failed. Error 5 (Access is denied.
    ) in execution of system call 'FindFirstVolumeMountPoint' with parameter (
    ?\Volume{baccce62-0610-11dc-942a-806e6f6e6963}\), line (91) in file (synxcfsmit.cpp).
    ERROR 2007-05-21 00:34:46
    MUT-03025  Caught ESyException in Modulecall: Access is denied.
    ERROR 2007-05-21 00:34:46
    FCO-00011  The step getMounts with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|NW_getMounts|ind|ind|ind|ind|0|0|getMounts was executed with status ERROR .
    Regards
    Sriram

    Hi,
    1.Have you taken the <b>appropriate JCEPolicy</b> file?On which OS are you doing the installations?
    2.Check whether the user with which you are doing the installations have all <b>administrator rights</b>.Is it avaialble in the list of administrator user and administrator group?
    3.Are environment variables <b>JAVA_HOME </b> nad <b>path</b> set?
    try all these things.It will work.
    reward points if helpful............

  • SAP NW sneak preview install fails due to error on util_connect

    I am attempting to install netweaver sneak preview 2004s on a windows server.  When I get to the MaxDB database installation step, the install fails and the following data is in the XCMDOUT.LOG log file:
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n erp-2 -d J2E -u CONTROL,********
    Execute Session Command : util_connect
    Execute Session Command : exit
    ERR
    -24988,ERR_SQL: sql error
    1,could not create comm. shared memory [5]
    I get the same error when I attempt to provide the command util_connect manually as well.
    Please let me know if you can provide any advice on fixing this issue.
    Thanks,
    Mark

    Hi,
    if you're installing on the target machine using a Windows Terminal Service (WTS) connection, then the reason for your issue should be explained in note 688028.
    Please let me know if you can access that OSS note, if you don't have OSS, I can send you the relevant information.
    Kind regards,
    Roland

  • Web AS 6.40 Sneak Preview: Problems with monitoring Database with SQL Studi

    Hello!
    I'm new with SAP and SAP Web AS, and I installed the SAP Web AS 6.40 Sneak Preview recently. I'm exercizing with the tutorials, and in the Tutorial "Car rental Application", a "QCR_RESERVATION" database is created and deployed.
    The deployment worked fine, but I'm having problems accessing the SAP DB with SQL Studio.
    At first, I didn't find SQL studio in my SAP installation, so I installed it afterwards. I now tried to log on with the data mentioned in the tutorial (localhost, C11, SAPC11DB and "sap"), and got the error "Database not running (-709)". Looking at the SAP Management Console, I found a database with the name "J2E", so I tried this one.
    But now the problem is, that with user SAPJ2EDB and password "sap", I get the error "(-4008) Unknown username and password", and the same error with the combination "control", "control".
    What is my mistake? Could anybody give me a hint? Maybe there is something wrong with my Web AS 6.40 Sneak Preview Installation? I don't remember having changed any settings during installation ...
    Thank you in advance
    Bärbel Wolf

    Dale, thank you very much.
    Your hint really is useful, I know myself, I'd most probably need unlocking my admin user soon. )
    But nevertheless, I'm still looking for the right password for the database user "SAPJ2EDB".
    As I'm encountering problems with the "Quick Car Reservation" tutorial (the entity bean seems unable to access the database, too), I'd like to check the QCR_RESERVATION database with my SQL Studio. Maybe there's something wrong with it.
    Greetings
    Bärbel

  • SAP EP Sneak Preview

    Hi All,
    I am into SAP Basis, trying to learn Enterprise Portal as well.
    Can anybody give the sneak preview path in the SDN, for which I will be very much thankful.
    regards,
    Mohan...

    I dont think there is any link that would allow you to download the sneak preview which used to be available till some time back. If you want to try you may use CE 7.1 which is available under the downloads section. It is the basic portal without the KM and Collab features. You may give that a try.
    Thanks,
    GLM

  • Installing SAP Netweaver sneak preview license error

    Hello all,
    I have appiled and recieved a license from SAP.   When I tried to install it using saplicense command, I got the following error.   Please help,  I am not sure how to set  the dbms_type and DIR_LIBRARY environment variables.   I am using MYSQL and installed the NW portal under Windows XP professional SP2.  
    C:\usr\sap\J2E\SYS\exe\uc\NTI386>saplicense -install ifile=c:\j2e dbms_type=maxd
    b DIR_LIBRARY=\usr\sap\J2E\SYS\exe\uc\NTI386
    SAPLICENSE (Release 700) ERROR ***
        ERROR:   Can not set DbSl trace function
        DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
        RC-INFO: error loading dynamic db-library - check environment for:
                 dbms_type = <db-type>  (e.g. ora)
                 DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
    thanks

    Hello Ruchit,
    I switched to use j2eadm acct to run saplicense -install ifile=licensefile.  It seems the environment variables are set correctly by default but it complains about database connection this time.   Here are the error message:
    C:\usr\sap\J2E\SYS\exe\uc\NTI386>saplicense -install ifile=c:\j2e
    SAPLICENSE (Release 700) ERROR ***
        ERROR:   Connect to database failed
        DETAILS: DbSlConnect failed with return code 99
    SQL-ERROR -4008 (check DB manual for explanation)
    Best regards

  • Casting Error with EJB

    I am currently working with Enterprise Java Beans for OAS.
    In JDevelopper, when I run the snippet generated client for the EJB deployed
    on OAS, I have this error:
    java.lang.ClassCastException: EJBPack.AppEJBHome
    at oracle.oas.container.corba.RemoteObject.narrow(Compiled Code)
    at oracle.oas.container.corba.RemoteObject.narrow(Compiled Code)
    at javax.rmi.PortableRemoteObject.narrow(Compiled Code)
    at EJBPack.AppEJBClient.main(Compiled Code)
    Here is the code responsible for this error :
    String ejbUrl = "oas://empedocle:8889/MyOASApp/AppEJB";
    java.lang.Object test = ic.lookup(ejbUrl);
    homeInterface = (EJBPack.AppEJBHome)javax.rmi.PortableRemoteObject.narrow(test, EJBPack.AppEJBHome.class);
    Any help will be appreciated
    Many thanks.
    Xtophe
    null

    Hi,
    I am also getting a similar exception
    05/09/08 16:00:32 java.lang.ClassCastException
    05/09/08 16:00:32      at com.oracle.iiop.javax.rmi.PortableRemoteObjectImpl.narrow(PortableRemoteObjectImpl.java:330)
    05/09/08 16:00:32      at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    Were u able to solve u'r problem, if so, please share the solution
    Thanks
    SK

Maybe you are looking for