Mismatch in connection between session and cmpentity beans

Hello everybody,
I have a adopted JSP----SessionBeans------CMPEntityBeans------Database
(MVC2).
I have findByIdandPasswd(String id,String passwd) method in Entity's LocalTurbineUserHome its return type is Collection.
This method is called in my session's bussiness method testuser() with a variable.
'user' as Collection type to hold return value.
And LocalTurbineUserHome turbine is declared.
ie Collection user=null;
user=Turbine.findByIdandPasswd(id,passwd)
Problem is when i compile session beans i get
/usr/local/project/pragatiejb/src/Common/CommonBean.java:21: incompatible types
found : ejb1.LocalTurbineUser
required: java.util.Collection
user=turbineUserHome.findByIdandPasswd(id,passwd);
^
1 error
Well both 'user' and findByIdandPasswd() funtion's return type is same .., but still it says And why LocalTurbineUser is in picture?
Could anybody tell what could be the problem..,!

Could you guys solve this error? I am facing similar issue while querying Essbase cube through OBIEE.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Essbase Error (HY000)
SQL Issued: SELECT Fact.HNW_TXN_NDS_QTY saw_0 FROM HNWBSO
I created an initialization variable using the essbase cube which works fine in the offline mode but throws error when the respository is offline. Error Msg is
[NQODBC] [SQL_STATE:HY000][nQSError:10058] A General error has occurred
[nQSError:43093] An error occurred while processing the EXECUTE PHYSICAL statement
Thank you!
Shashank

Similar Messages

  • Difference between session and connection

    Not sure this is the right place for this, but I am not able to find a proper definition between these 2 terms.
    What is the difference between session and connection, theoritically speaking ?

    Hello
    In order to get the meaning of terms Connection and Session let's define first the term Flow.
    The definition of a Flow is historically accepted as:
    A unidirectional sequence of packets between 2 network endpoints that have the following 7 things in common:
    1. Source IP address
    2. Destination IP address
    3. L3 Protocol type
    4. Source port
    5. Destination port
    6. Tos (Type of Service)
    7. Input interface
    The terms Connection and Session can have many different meanings depending on the framework that they are used, but it can be said that:
    Connection: A bidirectional Flow
    Session: Many connections between the same source and same destination
    HTH

  • How to make connection between ASP and Oracle 8i

    Dear Helper,
    I have a problem about how to make the connection between ASP and
    Oracle 8i. If you have this idea, please help me to solve this
    problem. Thank You!!!
    null

    You must install Oracle Objects for OLE.
    After this in asp-script you may use following instructions
    1)initialization
    <%
    Set Session("OraSession") =server.CreateObject
    ("OracleInProcServer.XOraSession")
    set Session("OraData") = Session("OraSession").OpenDatabase
    ("service", "scott/tiger",0)
    %>
    2)open Dynaset
    <%
    Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
    f1, 2 as f2 from dual", 0)
    %>
    3)navigation
    <%EmpDynaset.MoveFirst%>
    <%EmpDynaset.MoveNext%>
    <%EmpDynaset.EOF%>
    4) Field access
    <%=EmpDynaset.Fields(1).value%>
    5) Sql execute
    Session("OraData").ExecuteSQL("delete xxx")
    Best regards.
    null

  • Connection between O and BP is missing

    Hi,
      When i check inconsistency for a user, i am getting " Connection between "O" and "BP" is missing. When i check the Org.unit in PPOSA_BBP, i could see no BP exists for that Org.unit where user is assigned. I have replicated the org.unit from HR system but yet the BP hasnt been generated. Can you please share your idea on this.
    Regards,
    Prasath J

    Hi Prasath,
    This might be because you need to assign the user to a Purchasing Organisation or a Purchasing Group. If the user do not have BP created then you can do this by using tcode USERS_GEN.
    Go to USERS_GEN and follow below steps :
    1. Select Create User From Existing SU01 user
    2. Enter the org id of the POrg or Pgroup under which you want to assign the user
    3. Select country and execute
    4. In next window one popup will occur, select Area Of User
    5. In next popup enter the user id
    6. Next select the user and click Ok.
    7. This will create a BP and CP for the user and assigns the BP to the Org id of the POrg or Pgroup.
    8. Now check the consistency of the user it will show all green.
    It might give you error like eMail id for BP XXXXX is missing if the SU01 profile of the user does not contain any user id but it is not critical.
    You can open the BP in BP tcode and enter the email id of the user.
    Let us know if it solves your issue.
    Regards,
    Mayur

  • Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    OT

  • Frustration! I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen???

    I live in Japan,
    I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen??

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Firefox > Preferences > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *https://support.mozilla.org/kb/Images+or+animations+do+not+show

  • Handoff: No connection between iPad and iPhone

    Handoff: No connection between iPad and iPhone (IOS 8).

    Hi raydela,
    I understand your calls aren't being transferred between devices.
    Check out the troubleshooting in this article.
    Get help using Continuity with iOS 8
    If a call doesn't transfer to your other devices, or you don't see the Handoff icons
    Make sure that your devices are using iOS 8 or later by going to Settings > General > Software Update.
    Check your settings:
    Go to Settings > Wi-Fi and turn on Wi-Fi if necessary.
    Go to Settings > Bluetooth and turn on Bluetooth if necessary.
    Make sure your iOS devices are connected to the same Wi-Fi network by going to Settings > Wi-Fi and comparing the name of the network each is on.
    Go to Settings > General > Handoff & Suggested Apps and turn on Handoff.
    Go to Settings > Phone and turn off Wi-Fi Calling.
    Best Regards,
    Nubz

  • Bluetooth connection between iphone and ipad no longer workers after upgrade to ver 8 - any help?

    bluetooth connection between iphone and ipad no longer workers after upgrade to ver 8 - any help?
    I'm trying to use the iphone as a remote with keynote, which again worked before the upgrade

    Hi russellpaton,
    Thanks for visiting Apple Support Communities.
    If your iOS devices are not communicating with each other after updating to iOS 8, the troubleshooting steps in this article can help resolve this sitation as well:
    If you can’t use a Bluetooth accessory or car kit
    Cheers,
    Jeremy

  • No connection between iPhone and computer

    I have No connection between iPhone and computer. Please help me. My iPhone (4s) went nuts a little while ago. Nothing happend when I connected the charger. I had to take out and put it back in again and again and again, between 2-10 times before the charger finally was connected. It's been like this for a while now and a did'nt really have that mutch problem with it. Until today when I tried to sync/backup/restore the whole phone. It started to sync but stoped at the sync of the 5:th app. tried to start over but now my computer can't "find" the phone. It says that the USB-device is not reconizeble.
    Please help me.
    Sorry for the bad english.

    See Here...
    Device Not Recognised
    http://support.apple.com/kb/TS1538
    And Here
    iPhone, iPad, or iPod touch not appearing in iTunes
    iPod appears in Windows but not in iTunes
    Also, Here...
    Unable to Update or Restore
    http://support.apple.com/kb/HT1808

  • ABAP Proxy connection Between PI and SRM for XMLs

    Hello Experts,
    We are trying to set up ABAP proxy connection between PI 7.1 and SRM so we can send XML from SRM into PI.
    Our SRM developer is getting an SLD error (below) and seems like something is not set up right in the SLD. Could you help me out with any kind of blog/documention on setting up an ABAP proxy connection between PI and an ABAP system. Something that talks about what steps we need to take in PI and SRM.
    error ...
    *We saw the error during debugging. This error is preventing XML output
    to be sent to PI.
    BBP_BD  002     An SLD system has not been assigned to logical system
    Thanks,
    Mayur

    Thanks all for a quick reply. I also had to take following step to achieve the task.
    adding the XI system to the SRM config - SRM Server -->
    Technical basic Settings --> Define  System Landscape?  (also please
    associated documentation in that link for XI)
    Thanks,
    Mayur

  • Error while creating connection between Java and ABAP

    Experts
    I am getting the following error message when I am trying to test the connection between JAVA and ABAP systems.
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (s09f71v06.svr.bankone.net:8100)
    5. The host name s09f71v06.svr.bankone.net was resolved successfully.
    6. The server s09f71v06.svr.bankone.net *could not be pinged* successfully.
    I have JAVA and ABAP on the same system. I am trying to establish a connection. I have checked all the settings and they looks fine. I have also pinged from other system to this server and the Ping works fine.
    Please do let m eknow where do I need to check for the errros or logs for the above error message.
    Appreciate your quick help.
    Mahesh

    Check the relevant services are test are active on the Backend system through SICF trransaction.
    Also make sure that default icm services are running.See note 517484.
    More important the connector test in the portal system should work properly,recheck the WAS path etc are correct.
    Regards
    Ajay

  • JCo connection between java and ABAP

    Hi,
    Any pointers for some good material on establishing JCo connection between ABAP and Java to execute ABAP FMs.
    Thanks and Regards
    Arpita Saxena

    Please find following link for your reference.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a?quicklink=index&overridelayout=true]

  • Heterogeneous connection between Oracle and Postgres.

    Hi All,
    I'm trying to make an heterogeneous connection between Oracle and Postgres since few days but i still having this error : "lost RPC connection".
    First of all : I'm using Windows 7, Oracle 10g and PostgreSQL 8.4.
    I have done the following operations :
    1) Create a System DNS named "PG". (Test connection is OK)
    2) Create the file "initPG.ora" in "$ORACLE_HOME/hs/admin" :
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = PG
    HS_FDS_TRACE_LEVEL = ON
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    3) Configure the file "listener.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    SID_LIST_LISTENER =
    (SID_LIST =
         (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
         (SID_DESC =
    (SID_NAME = PG)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    4) Configure the file "tnsnames.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    PG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PG)
    (HS = OK)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    5) Finally, i create my DB-Link and test it :
    CREATE DATABASE LINK "CENTRALE_POSTGRES" CONNECT TO "user_login" IDENTIFIED BY "user_password" USING 'PG';
    SELECT * FROM "dual"@CENTRALE_POSTGRES;
    I got this error :
    ORA-03135 : lost RPC connection.
    As you can see, i have activated the trace level (HS_FDS_TRACE_LEVEL = ON), but the directory "$ORACLE_HOME/NETWORK/trace" still empty.
    Any ideas ?
    Regards

    the tnsnames.ora alias PG is wrong - you need to have 2 closing brackets after the SERVICE_NAME so that HS=OK is outside of the CONNECT_DATA like:
    PG =
    <space>(DESCRIPTION =
    <space><space>(ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    <space><space>(CONNECT_DATA =
    <space><space><space>(SERVICE_NAME = PG))
    <space><space>(HS = OK)
    <space>)
    Please be also aware HSODBC up to release 10.2 has been desupported since March 2008 and it was replaced by its follow up product DG4ODBC V11

  • How to establish the connection between crm and r/3

    Hi,
    Sorry for posting this question in this forum, i did not find any CRM forums.My question is,How to establish the connection between CRM and R/3...in my office i installed standard alone CRM system,but it is not talking to R/3.
    Could any one tell me where to find adapters and plugins for this.
    Thanks in advance.
    Ajey

    Hello Ajey,
    in the case you mean the connection between R/3 and SAP CRM you should read the Best Practice Guides:
    B01: CRM Generation
    C71: CRM Connectivity
    B09: CRM Replication
    from http://help.sap.com/bp_crmv240/index.htm. There is a CRM Forum at http://www.sap.com/community/ and also at http://www.sapfans.com/.
    Regards
    Gregor

  • Solution for connection between BODS and WCF web service ?

    Hi,
    we have a unique requirement of connecting BODS to WCF webservice. This web service acts as a layer for connection between proprietary databases (secured) and other external systems. Queries are to be sent to this web service in order to fetch data from proprietary databases.
    In order to connect to these web services, we should also provide Address, Binding and contract whose details are already present with us.
    Example of web service address:     net.tcp://op12345:10101/sd
    I heard Adapters are the best way of connecting to the above web service, could you please provide some guidance on connecting through adapters if it is the best solution.
    Could someone suggest the best possible approach(ASAP) to bring connection between BODS and web services and to execute the above requirement.
    Please let me know in case of any more information.
    Regards
    Surya

    Hello Nir,
    I tried to import the my VS2008 + .net 3.5 as Wsdl local file to the Xcelsius 2008 but there is message unable to load url.
    I tried to import your Wsdl developed by .net:
    http://www.webservicex.net/airport.asmx?WSDL
    and it works ok.
    Can you send me or print here the service class definition and the configuration file for  http://www.webservicex.net/airport.asmx?WSDL?
    Thanks in advance,
    Sergey Osmachkin

Maybe you are looking for

  • Automatic creation of remittance advice for employee expense reimbursements

    Hello experts Is there a way to have remittance advices for employee expense reimbursements created automatically at the time of payment media run? In case of suppliers, in the supplier base you can heck "Advice Required" and then at the time of medi

  • Recover files that were backed up before recovering to factory standard HP Envy 17

    I thought my d drive wouldn't be touched by recovery->factory  procedure, so I lost my d: drive with music, pictures and film, but it seems they were backed up by the program prior to the recovery to factory setting procedure. How do I recover those

  • Horizontal NavBar in JSPF,  Action Link or Hyperlink.?

    I am trying to create a placed in a JSF fragment page (navbar.jspf). The fragment page is added to the multiple web pages for a consistant look and ease of maintenance. Note, this website uses resource bundles for multilingual content. I was able to

  • In gmail

    i keep deleting my unwanted mail in gmail (all mail box) but when i go back again the next day or just later that day, the mail I deleted is back again. why? how do I delete permanently. I've tried the toolbox in the left lower corner to erase delete

  • TOC in a book

    Hi there, I have structured documents and I declared my book and my chapter element in the edd as top level elements. So far my book looks fine. Now I want to insert a TOC in the book. What is the best way to do that? Can I use the TOC that I can cre