Table not found error

Hi all
I am trying to access tables in SQL server 2000 , from my stateless session bean. The connection s successfull. But i get the following error : please help.
04:53:19,562 INFO [STDOUT] Error !!java.sql.SQLException: Table not found i
n statement [select role from login]
04:53:19,625 INFO [CachedConnectionManager] Closing a connection for you. Plea
se close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@ada795
java.lang.Throwable: STACKTRACE
at org.jboss.resource.connectionmanager.CachedConnectionManager.register
Connection(CachedConnectionManager.java:290)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:400)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:88)
at mfEJB.mfBean.DBConnection(Unknown Source)
at mfEJB.mfBean.getrole(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:169)
at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpoint
Interceptor.java:64)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
81)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:136)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
48)
at org.jboss.ejb.Container.invoke(Container.java:954)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca
lInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto
r.java:206)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
a:192)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
0)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
onInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy104.getrole(Unknown Source)
at org.apache.jsp.logincheck_jsp._jspService(logincheck_jsp.java:57)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Here is the code :
Connection con=null;
     public Connection DBConnection()
          try
          /*Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
               String sourceURL = new String("jdbc:microsoft:sqlserver://localhost:1433;database=mfdb;selectMethod=cursor");//user=sa;password=tina");
con = DriverManager.getConnection(sourceURL,"sa","tina");
                    InitialContext ct=new InitialContext();
          DataSource ds=(DataSource)ct.lookup("java:comp/env/jdbc/microfinance");
          con=ds.getConnection();
          catch(Exception e)
               System.out.println("Error in connection!!!"+ e);
          return con;
public int getrole(String luname,String lpass)
int role=0;
try
     con=DBConnection();
     if (con != null)
          System.out.println("hi tina !!!");
     Statement pst1 = null;
     String str = "select role from login where userid='" + luname + "' and password='" + lpass + "'";
     pst1=con.createStatement();
               ResultSet rs=pst1.executeQuery(str);
               while(rs.next())
               role=rs.getInt(1);
     catch(Exception e)
     System.out.println("Error !!" + e);
     return role;
I am able to get the results from the table with another java program. What change should i make when using a statless session bean?
Thanks in advance

I am working on SSAS i developed an datacube and deployed succesfully but when i call that SSAS through my SSIS it says that some table is not
found but the table exist in my SSAS module.
All things are working fine previous days suddenly this hapened kindly help me in this issue.
You must understand that there is no concept of tables in SSAS and there is nothing called as a SSAS module. It is called SSAS cubes which has dimensions and facts. What went wrong? What process is scheduled on the SSASA objects?
Please vote as helpful or mark as answer, if it helps
Cheers, Raunak | t: @raunakjhawar |
My Blog

Similar Messages

  • Table not found error while importing table defintion in PI 7.1?

    Hi Guys,
    I am trying to import the table structure from DB2 as an external defintion but i am getting the error table not found.
    There are no connection issues with the DB2 and CC is good. Are there any additional settings i need to perform to import the table?
    any help or suggestions would be really appreciated
    Thanks,
    Srini

    Hi Srinivas,
    I think you want to do JDBC lookup.. you must have created the JDBC receiver communication channel. As your communication channel is correct and still you are getting Table not found error.. Check following steps.
    - Check that your Communication channel is activated and working fine.
    - Check that the ID which you are using in JDBC receiver is having proper authorization to import the table definition.
      Just check with all authorization.
    I think the problem is with insufficient authorization to User ID used on JDBC communication channel.
    Thanks,
    Bhupesh.

  • Entry in outbound table not found, Error message no. EO400

    I have created Partner profile and include message in partner profile.  when i have generated IDOc (we60), that time, it is given error ( Entry in outbound table not found---- Error Msg no. EO400).
    Please suggest me solution for the same.
    Kunjan shah

    Hi Kundan,
    can u be more specifidc about ur requirement.So that i can help u out.What all the configs u have done and what is method ur using for generationg outbound idoc.
    Regards,
    nagaraj

  • Table not found error in procedure

    i am logged in as user A.
    Trying to create a procedure in schema TGT by referring to a table in schema STG.
    I can directly select from the table such as
    select count(*) from STG.TABLE1; by logging in as USER A.
    The above runs fine and gives result set.
    But when i try to create a procedure such as
    create or replace procedure TGT.delme as
    v_cnt number;
    begin
    select count(*) into v_cnt from STG.TABLE1;
    dbms_output.put_line('The count is: ' || v_cnt);
    end;
    It throws compilation error such as "PL/SQL: ORA-00942 table or view does not exist"
    Please let me know the reason. thanks.

    Hello
    You need to grant select privs on STG.TABLE1 directly to TGT i.e. you can't grant them to a role and then grant the role to TGT. For PL/SQL code to access an object, privs need to be granted directly. So at some point you'll need to issue
    GRANT SELECT ON STG.TABLE1 TO TGT
    /and you'll either need to do that logged in to stg or logged in as another user that has permissions to do this...
    HTH
    David

  • Enprise Table Not Found?

    Hello,
    I am trying to use the Enprise tables in a matrix but keep getting Table Not Found error? Is there a special way for adding Enprise tables as SAPbouiCOM,DBDatasource? I also tried the table name without the "@"
    Appreciate any help,
    Mike
    Error Message:
    SQL Table:

    Hi Mike,
    As Jim has noted in his post, those tables are standalone SQL tables and not user-defined tables. Most Enprise tables tend to be standalone SQL tables and the DBDataSource object can't be used to read this type of data. You can use either a DataTable bound to a matrix or grid to query the table or use UserDataSources and populate these from a recordset. Since version 8.81, the DataTable option is typically the best option as it's faster.
    Kind Regards,
    Owen

  • Getting idoc error - Entry in outbound table not found- in outbound scenari

    hi,
    while generating idoc for outbound idoc to file scenario - i am getting error
    "Entry in outbound table not found" (29 - error in ALE service)
    Diagnosis
    No partner profile (outbound parameter) could be found using the following key:
    /C100/KU//WP_EAN////
    This refers to the key fields in table EDP13:
    RCVPRN  Partner number
    RCVPRT  Partner type
    RCVPFC  Partner function
    MESTYP  Logical message
    MESTYP  Message code
    but already entry has been maintained in partner profiles for the corresponding message.
    same setup is working for other message types. pls let me know what might be the problem

    Hi,
    Check whether partner name is correct or not in WE20/outbound parameters undoer Logical System.
    Regards,
    Sreenivas.

  • "Error in function: Add Table not found [131-183]" - TDS Addon Version 3.16

    While loading TDS Addon Version: 3.16 I am getting the undermentioned error:
    "Error in function: Add Table not found [131-183]"
    SAP B1, 2005B, PL 39.
    It also shows the message that it is successfully installed. When I try to access any of the screen the above messge pops up.
    This is very urgent kindly help me out.
    Edited by: Philip Eller on May 16, 2008 8:50 AM
    Edited by: Philip Eller on May 30, 2008 8:41 AM*

    Dear,
    The addon is a third party addon which was developed by CitiXSys. so the support is provided by the partner who developed the addon.
    Go to the vendor Citixys for further support will give you a quick reply.
    Regards
    Apple

  • Viewing form in Preview Mode Failed. Error: Table not found  [131-183]

    Hi,
    I have created a user form in screen painter in SBODemo. Created UDT, UDF & Registered UDO through my SDK code.
    Everything works fine.
    But when i run my addon on any other DB, and open my custom form it gives an error : Table Not Found.
    I have checked the UDT's , UDF's & my UDO, all are in place and getting created in the DB.
    I tried checking the Form again in screen painter everything is in line. But when i try preview in screen painter it gives an error
    Viewing form in Preview Mode Failed. Error: Table not found  [131-183].
    I can't figure out the issue, i have checked my codes & forms many times.
    Regards
    John

    hi john smith,
    Check your screen painter, probably some fields are defined without the "@" character in front.
    for fields, check the "U_".
    nd.Q

  • Error - Table not found

    Hi Guys,
    Error - TABLLE NOT FOUND
    We are working on discovery server which comes preconfigured from SAP.
    I am able to work on the standard repositories like products available on this server for syndication and importing, but when I am trying to create the new repository I am getting the error TABLE NOT FOUND. Getting this error after entering the DBMS Server, Login Details and Repository Name and Port details.
    Thanks,
    MS

    Hi colleagues
    You should check follow:
    - DBMS-user can connect to DBMS from your workstation(where you run SAP MDM Console)
    - DBMS-user has premissions(grants) according to "installation guide".
    - restart SAP MDM Server
    - update DBMS Settings
    - create new repository
    Regards
    Kanstantsin

  • IDOC Error - Entry in outbound table not found - Status 37

    Hello,
    we try to generate the IDOC in a Test Tool WE19. I always get the same error "Entry in outbound table not found" - Status 37. I tried already many config changes (Partner, Ports, Distribution Modell...).
    The thing is that the IDOC should be sent on external system (non-SAP System) but also the IDOC should be write to file. The external system should later on catch the IDOC and process the data.
    I suppose the problem is the fact that we send it to external non-SAP System. I add as Port Data and the source where the IDOC shoud be generated. The Partner that I choose is logical system. However I dont specify the RFC Connection because the file should only be saved and not send directly on the external system. Is it possible or maybe I need to specify the IP-Adress of the external system?
    When it works I need to generate the IDOC as service management IW32. I try it with TA IORD. I get the message "rejected". Probably because of the error in the test tool WE19.
    I am already fighting on it for many hours...
    Thank you in advance
    Michael

    Hi
    In we 19
    Receiver
    Port: A port created in R/3 referencing RFC dest pointing to XI.
    Partner no: LS of XI (CLNT100)
    Partner Type: LS
    Sender
    Partner no: LS of R/3 (RD1CLNT500)
    Partner Type: LS
    Message Type is DESADV
    Basic DELVRY05
    and i am sending blank idoc for testing.
    Regards
    Monika

  • IDOC  error : Entry in inbound table not found

    Hello all...
    Iam gettin IDCO error when im processing inbound IDOC
    (basic type :FIDCCP02 and message type:FIDCC2)  like..
    <b>"Entry in inbound table not found..."</b>
    <b>in diagnosis:                                                                               
    Noinbound partner profile could be found with the following key:
        /XXXHUB/LS/LS/FIDCC2////  ..</b>
    but:
    I maintianed XXXHUB in logical system ( tcodeSALE  )    and
    in WE20 i maaintianed the parner profile in partner type LS with partner number XXXHUB   and also added  message type FIDCC2 with process code FID2  ...
    what else need to do/configure?....   
    let me know if u need more info...thnaks..

    Thanks guys...for your answers...
    there was some problem with message variant i assigned in the inbound parameters of sending system( XXXHUB)in the partner profile..( we20)...now i removed it...it is working fine..
    so  what's the problem if I assign the message varaint.do i have to declare the message variant anywhere?....
    one more thing...
    iam receiving idoc from XXXHUB to my DEV client200...i want to make clear which parameters(inbound/outbound) i have to maintain in WE20
    for sender  : XXXHUB (parter type LS).... inbound or outbound? ( i maintained both)
    for recipient :DEV200 ... inbound or outbound?(i maintained inbound)..
    Thnaks....

  • Status 29: Error in ALE service : Entry in outbound table not found

    IDoc: 0000000003560240 Status 29: Error in ALE service
    Entry in outbound table not found
    No partner profile (outbound parameter) could be found using the following key:
    /0000000000/LS//YHROT_XXM_IN////
    This refers to the key fields in table EDP13:
    RCVPRN  Partner number
    RCVPRT  Partner type
    RCVPFC  Partner function
    MESTYP  Logical message
    MESTYP  Message code
    MESCOD  Message function
    TEST    Test indicator
    Procedure
    Please check the EDI partner profiles.
    But The IDOC befor this and after this is successfully run.
    And even after reprocessing also it is giving same error.
    After checking Contorl record, we found that there is no data in receipant Info in Partner Tab.
    What would be the issue.
    Please suggest. 
    Thanks & Regards,
    Monika

    Hi ,
    Thanks for your reply.
    We are using one custom message type.
    I would like to give you example of exact scenario.
    Suppose my IDOC has large amount of segments then ,
    It is dividing as
    1st IDOC : Control record ....header and data segments
    2nd IDOC : only data segment
    3rd IDOc : only data segment
    4th IDOC : data segment and Trailer.
    In this way, I am getting all my 4 IDOCs in error.
    What should be d reason?
    your help will be grateful.
    Hi Everyone,
    any update?
    Edited by: Monika.Dhumal on Feb 14, 2012 11:49 AM

  • ALE Error 29 - Entry in Outbound Table not found

    Hi,
        I am getting the following error in the IDOC  processing.
    IDoc: <IDOC Number>  Status: Error in ALE service
    Entry in outbound table not found
    I have checked the partner profile. It is OK
    I noticed that the IDoc record doesn't have the defined port. The value in the port section is empty.
    The IDoc message type - CRMXIF_ORDER_SAVE_M
    Basic Type: CRMXIF_ORDER_SAVE_M01
    Any inputs will be appreciated.

    Observations -
    I checked the Status records for the IDOC and there are only 2 entries -
    1. 01 IDoc Generated and
    2. 29 Error in ALE Service - Entry in Outbound table not found

  • 'dimension attribute was not found' error while refresing the cube in Excel

    Dear All,
    Thanks for all your support and help.
    I need an urgent support from you as I am stuck up here from nearly past 2-3 days and not getting a clue on it.
    I have re-named a dimension attribute 'XX' to 'xx' (Caps to small)in my cube and cleared all dependencies (In Attribute relationship tab as well).
    But while refreshing the data in excel client (of course after processing the full cube) I get an error
    'Query (1, 1911) the [Dimension Name].[Hierarchy Name].[Level Name].[XX] dimension attribute was not found' error.
    Here I am trying to re-fresh an existing report without any changes with the new data.
    Does not it re-fresh automatically if we clear the dependencies or there something that I am missing here (Like order of the dependencies).
    Cube processed completely after modifications and able to create new reports without any issues for same data. What else could be the reason?
    Can some one help me here?
    Thanks in Advance and Regards,

    Thnaks alot Vikram,
    In se11  ,when i was trying to activate the  /BIC/FZBKUPC , it is showing the warnings  like
    Key field KEY_ZBKUPCP has num. type INT4: Buffering not possible, Transport restricted.What it means.
    In PErformance Window it is showing like:
    A numeric type was used for a key field. A table of this sort cannot be buffered.When buffering, the table records for numeric values cannot be stored in plain text.
    Procedure
    You can enter "no buffering" as an attribute of the technical settings and then repeat the activation process. The table is not buffered.
    If you want to buffer the table, you must replace the type in the key field by a character type, i.e. that you must modify the table.
    Please adivice with your valueable suggestyions.
    Thanks Vikram.

  • "File not Found" error in the admin console for dimension

    Hi All,
    We are onto the BPC7 MS version and recently we have started facing an error "File Not Found" while trying to access the dimension members from the admin console.
    I have checked the "adminapp" folder where all the dimension files should be placed in the system, the files are present in the folder.
    The mbr<DIMENSION>  tables are also present in the database and have the members intact.
    I have also tried with processing the dimensions (NOT processing from the membersheet) and it goes successful, but still face the same "File Not Found" Error.
    We have a single appset and a single application.
    Regards
    Raghav

    Hi Sorin,
    Where can I check the File path if it is set incorrect?
    I am recieving this message for all the dimensions, even when I click on the "maintain dimension members", try to process or even try to copy them i have this pop up showing "file not found".
    I have the dimension tables intact at the DB servers and they have the members in them.
    Regards
    Raghav

Maybe you are looking for

  • Immutable and mutable object

    Here I want to post some solutions to immutable and mutable objects. First I'll brifely discribe the case when only one type (immutable or mutable) is need accross the application. Then, I'll describe case when both types is using. And finally, the c

  • Week of year

    I have a problem with to_date. I can't use the following: select TO_DATE('06','WW') from dual Why is that? but I cabn Use this: select to_char(sysdate, 'WW') from dual

  • HP DeskJet all in one cann't scan to OCR-

    HP techs do not support Macs so no answers there. The program that I used in 10.4 (HP device manager)is not compatible with 10.6. Note: problem with OCR only-image is OK

  • Anyone help with uploading photos

    I went to copy photos from an SD card inserted directly into the front of my PC and the pictures copied over to the ipod but I cannot see them under my photo list. They show up on my computer inside the ipod icon but not on the ipod itself can anyone

  • Sequence  of process in MM Module

    Hi , CAN ANYONE TELL ME THE BRIEF PROCESS OF MM MODULE. I WOULD LIKE TO KNOW THE ORDER OF THE PROCESS LIKE PURCHASE REQ     ME51n PURCHASE ORDER   me21n AND I DON'T KNOW WHAT WOULD BE NEXT... Please let me know the transaction codes too THANKS DEEPTH