Error while trying to access a Repository Item thru ACC

Hi,
I was trying to access a Repository Item from ACC , I am getting this following error :
Error reading list or array index from the database. This means the database table holding this property does not have sequential integers starting with 0 in its multi-column. This should only happen if the database table was modified directly (outside of Dynamo).
java.lang.Exception
  at atg.adapter.gsa.ListTable.loadHelper(ListTable.java:190)
  at atg.adapter.gsa.ListTable.loadProperties(ListTable.java:97)
  at atg.adapter.gsa.GSAItemDescriptor.loadProperties(GSAItemDescriptor.java:5874)
  at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5986)
  at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1339)
  at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1232)
  at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1510)
  at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)
  at atg.repository.nucleus.RepositoryItemPropertyMapper.getPropertyValue(RepositoryItemPropertyMapper.java:151)
  at atg.beans.DynamicBeans.getPropertyValue(DynamicBeans.java:333)
  at atg.beans.DynamicBeanState.initializeFrom(DynamicBeanState.java:152)
  at atg.beans.DynamicBeanState.<init>(DynamicBeanState.java:122)
  at atg.ui.repository.model.RepositoryItemState.<init>(RepositoryItemState.java:428)
  at atg.ui.repository.model.RepositoryAgentImpl.createRepositoryItemState(RepositoryAgentImpl.java:2934)
  at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:3901)
  at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:1225)
  at atg.ui.repository.model.RepositoryAgentImpl.getCompressedRepositoryItem(RepositoryAgentImpl.java:1251)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:273)
  at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:127)
  at sun.reflect.GeneratedMethodAccessor401.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
  at sun.rmi.transport.Transport$1.run(Transport.java:159)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)

Got corrected with changing data-type for a property in the definition file.

Similar Messages

  • EDA Error while trying to access the personal details.

    Hi All,
    A new user(employee) is assigned with EDA responsibility to view/update his personal details and bank details.
    The user is able to view & update the bank details. But he is not able to open the personal details page. He is getting the following error while trying to access the personal detail link.
    HR_BASIC_DETAILS_WEB.GET_READ_ONLY_INFORAMTION: ORA-20002: 3123: Duplicate attribute 'DISPLAY_MARITAL_STATUS' could not be created for item 'HRSSA/28012061'.
    All users except the new user, dont have this issue.
    Oracle Application Version : 11.5.9
    Could someone help me on this.

    Hi Girish,
    Do you find out the solution to this issue? We having a similar issue with our Enterprise Portal using Apache and Siteminder Agent?

  • "error while trying to access the service"

    I am trying to convert a pdf file to an excel file.  I get a completely unhelpful message that says  "error while trying to access the service" .
    What does this mean and how do i fix it?

    Hi sd433m,
    Thank you for posting on the Adobe forums. If you are already subscribed to the service, kindly try the steps mentioned below.
    1) Open Adobe Reader  Edit>preferences
    2) Go to Adobe Online services>change the email address to the one you have subscribed the service with
    3) Go to identity> change the email address there as well
    4) Click OK
    5) Restart the Adobe Reader and try to access the service again.
    If you have not subscribed to the service please do that as, we do not offer trial for Create PDF.
    Thanks,
    Vikrantt Singh

  • NetStorage encountered an error while trying to access this

    Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
    Here's the particulars:
    Server A
    OES2 sp3 on SLES 10
    Internal Network
    Server B
    OES2 sp1 on SLES 10
    DMZ Network
    At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
    I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.

    Originally Posted by mtracy
    Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
    Here's the particulars:
    Server A
    OES2 sp3 on SLES 10
    Internal Network
    Server B
    OES2 sp1 on SLES 10
    DMZ Network
    At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
    I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.
    So you have NetStorage installed on both Server A and B and if you log in to NetStorage on Server A you can access storage hosted by both Server A and B but if you log in to NetStorage on Server B you can only access storage on Server B?
    One obvious comment is that Server B is running an old and now unsupported version of OES2 - the only version of OES2 now supported is OES2 SP3 on SLES10 SP4. Theoretically that shouldn't make a difference but I know that whilst NetStorage may not have visibly changed much over OES versions it has received some bug fixes along the way.
    Your comment about firewalls leads me to ask whether that implies you're blocking all the other ports between the two servers? NetStorage uses the XTier framework which in turn uses NCP to access remote servers. NCP uses UDP port 524.
    HTH.

  • I keep getting an error while trying to access the service

    I keep getting an error while trying to access the service

    Can you try to use ExportPDF directly on the website https://cloud.acrobat.com/exportpdf
    [topic moved to ExportPDF forum]

  • Error while trying to upgrade ODI repository using export/ import

    Hi,
    I am getting below error while trying to import an ODI project from dev environment into my QA environment which has an older version of project.
    com.sunopsis.core.SnpsNotConsistentSynonymImport: ODI-10013: This import action has been cancelled because it could damage your repository. This is due to an SNP_COL object that has object identifier 13712007 that is greater than that for the current SNP_COL id sequence. Importing this object would lead to primary key violations in the future.
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6041)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:5781)
    at com.sunopsis.repository.manager.RepositoryManager.importObjectsUsingDoImport(RepositoryManager.java:5194)
    at com.sunopsis.repository.manager.RepositoryManager.treatObjectListGeneral(RepositoryManager.java:3587)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4002)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4174)
    at com.sunopsis.graphical.dialog.SnpsDialogImportWork$1.run(SnpsDialogImportWork.java:519)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:619)
    Did anyone face this error? What is causing this error? What should be done to resolve this error?
    Edited by: 854415 on Oct 18, 2011 4:51 AM

    Hi
    Did you follow below approch
    Goto Topology> File Menu>Export>Export Master Repository in ZIP format
    File Menu>Export>Export Logical Topology in ZIP format
    In Designer, go to File menu>Export>Export Work Repository in ZIP format
    Quit from old ODI instance
    Login into New ODi instance
    Goto Topology> Import>Import Master Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Import>Import Logical Topology in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    In Designer Import>Import Work Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Note: Once it is done please change the Work repository ID on New ODI instance
    Regards,
    Phanikanth

  • MSS error while trying to access Adobe forms

    Hi all
    We are using EP 7 sp14. Delpoyed ESS/MSS BP SP 14. while trying to access certain functionalities in MSS which make use if standerd Adobe interactive forme through portal its coming up with the following error.
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
    I had done few settings in Visual Admin in
    1. server >services>web services security>web services clients>sap.com>tcwdpdfobject>com.sap.tc.webdynpro.adsproxy.Adsproxy*configPort_Document.
    2. In default URL gave : http://portalserver:port/AdobeDocumentServices/Config
    3. Authentication:Basic Authentication : gave username:ADSUSERpwd which is set in the backend.
    4. In Deploy stopped and started the application.
    Also in Destinations -> Created a new HTTP and set the URL pointing to the backend.
    Is there any additional configuration to be set on the Portal side.
    Regards,
    Sasha.

    Got corrected with changing data-type for a property in the definition file.

  • Error while trying to access repository from Application Explorer

    Hi All,
    I am trying to access the targets which I had previously created from AE. Everything was working fine. When I tried running iwae.sh script and open the target from AE it throws below error today.
    com.iwaysoftware.iwrepository.RepositoryException
    at com.iwaysoftware.iwrepository.xml.XMLRepository.end(XMLRepository.java:272)
    at com.iwaysoftware.iwrepository.xml.file.FileRepository.end(FileRepository.java:436)
    at com.iwaysoftware.iwrepository.xml.XMLQuery.executeQuery(XMLQuery.java:863)
    at com.iwaysoftware.af.container.IWAFRepositoryOP.getConfigs(IWAFRepositoryOP.java:167)
    at com.iwaysoftware.af.container.IWAFRepositoryStorage.listConfigurations(IWAFRepositoryStorage.java:215)
    at com.iwaysoftware.af.container.ChannelManager.listConfigurations(ChannelManager.java:100)
    at com.iwaysoftware.af.container.IWAFContainer.listChannelConfigurations(IWAFContainer.java:360)
    at com.iwaysoftware.af.container.AEManager.buildChannelList(AEManager.java:252)
    Not sure what has changed? Is this a corruption with the repository.xml file ? Is there any way to get around this error.
    Regards
    Subhankar

    Hi all,
    The above mentioned solution is a good idea but in this context not appropriate as it aims at resolving an issue in the delivered Content Version of 0TCT_VC11.
    In your case, you already have 0TCT_VC11 activated and you can not read any data from this VirtualProvider in queries. Right?
    In that case, you have to:
    1. Check that the entire data flow is active for the InfoProvider (activation should occur for the MYSELF source system): 0TCT_VC11 with InfoSource 0TCT_IS11 with DataSource 0TCT_DS11
    2. Activate the direct access for the VirtualProvider (Context menu of 0TCT_VC_11 > Activate Direct Access > Source Syst. for InfoSource3.x > Mark the column with the MYSELF source system and Save).
    This corresponds to Installation "Step 5.) Activate direct access for virtual providers" that is mentioned in SAP Note 934848 "Collective note: (FAQ) BI Administration Cockpit".
    Best regards,
    Rudolf Hennecke
    SAP NetWeaver RIG BI

  • Error while trying to access item in a JAR..

    Hi Everyone,
    I found the web site http://www.antelmann.com/developer/ where I'm trying to access the CDDB of the JAR file. However, I'm not successfully getting it to work. Here are the steps that I've taken. If anyone has an idea of what I need to do to get it to work, that would be great! Hopefully I'll get it figured out.
    Thanks, Michael
    1) Create a project called "CDDBApp" in Eclipse.
    2) In the properties of this project, I went to the "Java Build Path", click on the "Add External JARs..." button and added in the antelmann.jar.
    3) Create a Class called "CDBTest" using the following code:
    import com.antelmann.cddb.*;
    public class CDDBTest {
    public static void main(String args[]) {
    for (int i = 0; i < 2; i++) {
    CDDrive drive = new CDDriveWin(i);
    if (drive.isCDAvailable()) {
    System.out.println(drive.getCDID());
    4) I run it as a Java Application and get the following error:
    java.lang.UnsatisfiedLinkError: no CDDriveWin in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.antelmann.cddb.CDDriveWin.<clinit>(CDDriveWin.java:29)
    at CDDBTest.main(CDDBTest.java:19)
    Exception in thread "main"

    Well - I figured it out - Guess you could call me a newbie - figure out what DLL that was needed and copied it into the Windows directory - it now works just fine.
    So - basically
    1) Figure out what DLL is trying to use
    2) Find it on you computer, if not, find it on the net and download it.
    3) Copy it to a path that Java knows about or add to the path where this DLL is located.
    Hope this helps anyone else that is having this type of problem.

  • 403 Forbidden Error while trying to access External SharePoint site in SP 2010

    I am trying to access external Claims based SP site and trying to download the file from a doc library.
    I am receiving the 403 Forbidden error when executing the code.
    I am using SP 2010 and Client Object Model.
    PFB the code I am running.
    using (SPCOM.ClientContext clientContext = ClaimClientContext.GetAuthenticatedContext(siteURL))
    if (clientContext != null)
    clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    clientContext.Load(clientContext.Web);
    clientContext.ExecuteQuery();
    SPCOM.Web web = clientContext.Web;
    clientContext.Load(web);
    clientContext.ExecuteQuery();
    using (SPCOM.FileInformation fInfo = SPCOM.File.OpenBinaryDirect(clientContext, item["FileRef"].ToString()))
    string fileName = (string)item["FileRef"];
    fileName = string.Concat(SaveLocation, fileName.Substring(fileName.LastIndexOf("/") + 1));
    //now save it
    using (System.IO.FileStream outPutFile = System.IO.File.OpenWrite(fileName))
    fInfo.Stream.CopyTo(outPutFile);
    fInfo.Stream.Close();
    I suspect the OpenBinaryDirect method ,
    I am also using Cookie based authentication I guess PFB the code for that.
    public static ClientContext GetAuthenticatedContext(string targetSiteUrl)
    return (GetAuthenticatedContext(targetSiteUrl, 0, 0));
    /// <summary>
    /// This method will return a ClientContext object with the authentication cookie set.
    /// The ClientContext should be disposed of as any other IDisposable
    /// </summary>
    /// <param name="targetSiteUrl"></param>
    /// <returns></returns>
    public static ClientContext GetAuthenticatedContext(string targetSiteUrl, int popUpWidth, int popUpHeight)
    CookieCollection cookies = null;
    cookies = ClaimClientContext.GetAuthenticatedCookies(targetSiteUrl, popUpWidth, popUpHeight);
    if (cookies == null) return null;
    ClientContext context = new ClientContext(targetSiteUrl);
    try
    context.ExecutingWebRequest += delegate(object sender, WebRequestEventArgs e)
    e.WebRequestExecutor.WebRequest.CookieContainer = new CookieContainer();
    foreach (Cookie cookie in cookies)
    e.WebRequestExecutor.WebRequest.CookieContainer.Add(cookie);
    catch
    if (context != null) context.Dispose();
    throw;
    return context;
    If anyone has an idea of why is this happening, pls help me. 
    Thanks,
    K.V.N.PAVAN

    Hi,
    Please try to add following line of code before you initialize cookie container.
    e.WebRequestExecutor.WebRequest.UserAgent = “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)”;
    http://razirais.wordpress.com/2011/05/19/how-to-fix-sharepoint-online-403-forbidden-error-while-downloading-files-using-client-object-model/
    Or change the following line of code
    clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    to
    clientContext.Credentials=new NetworkCredential("Username", "Passworkd", "Domain");
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Error while trying to import a repository data file in the B2Bconsole

    I am trying to import a repository data file with the delivery-channel element
    and attributes as below. <delivery-channel name="GM_DC" syncReplyMode="none" nonrepudiation-of-origin="false"
    nonrepudiation-of-receipt="false" secure-transport="true" confidentiality="false"
    routing-proxy="false" document-exchange-name="GM_DE" transport-name="GM"/> I have
    modified the WLC.dtd present in the lib\dtd subdirectory of the WebLogic Integration
    installation directory to add the syncReplyMode attribute. When i import the xml
    file,i get the following error com.bea.b2b.B2BException: ERROR: Invalid document,
    file 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\B2B_COV_Export.xml'. at com.bea.b2b.bulkloader.BulkLoader.processDataFile(Unknown
    Source) at com.bea.b2b.bulkloader.BulkLoader.processDataFile(Unknown Source) at
    com.bea.b2b.bulkloader.BulkLoader.load(Unknown Source)
    Please advise,
    Thanks in advance

    Hello Esther,
    the problem seems to be that the temp folder of the target Integration Builder system can't be found:
    'The system cannot find the path specified
    at [..] FileAccess.getTempDirectory([..])'.
    You'll experience the same problem if you try a file based import or export within the Integration Builder directly.
    I would recommend to continue the search there. You could check if the environment variables (for Windows: TEMP and TMP) of the OS of the system with the target Integration Builder to an existing path. Check also if the WebAs can access this path.
    Good luck
    Frank

  • Error while trying to access portal

    Hi All,
    I have installed NetWeaver CE 7.1 in my system. But when i tried to access portal with the url
    http://<server name>: <port number>/irj/portal
    im getting the following error
    Error component failed , reason : Error while retrieving service: com.sap.portal.runtime.system.authentication.authentication Original Exception : Error while retrieving service: com.sap.portal.runtime.system.authentication.authentication
    Can anyone tell me what could be the reason for this error and how to resolve this?
    Please guide me........
    Regards,
    Padmalatha.K

    HI padmalatha kontham,
    If there is no any ignore option in the dilog box, just try to close it and try again. If u get that again, check the portnumber and hostname are correct or not.
    there won't be any problem other than that.
    example
    http://<host>:<port>/irj/portal
    Thanks
    Suresh

  • Error while trying to access to the XI  tools

    Hi all,
    I am trying to access to the XI tools and i get the following error:
    'Error 403
    You are not authorized to view the requested source.'
    I am using a userid/pwd already created in su01 and i think it will be a issue related to roles or permissions..
    Could you please help with this??
    Thanks in advance
    Kind Regards

    Thanks Andrzej,
    I have added some xi roles and now i can log on but when the java is launching i get the following error:
    Resource unable to launch: http://<host>:<port>/rep/repository/aii_ibrep_client.jar
    and the same when trying to access to the directory.
    could anybody help with this?
    Thanks in advance
    Kind Regards

  • Error while trying to access WebService using WSIF

    Hi All,
    I am a new developer to WebServices. I read up information on how to create the WSDL and stubs using JDev 10g (10.1.2) using the wsa.jar that ships with the download. After creating my WSDL and the necessary proxies, when I try to run my client application (which runs in the same covatiner, standalone OC4j), I get the below error :
    06/09/29 13:42:21 org.apache.wsif.WSIFException: org.apache.wsif.providers.ejb.WSIFOperation_EJB@15b0c83 : Could not invoke 'getOrderList'; nested exception is:
    org.apache.wsif.WSIFException: Error while determining signature of method getOrderList : The meta information is not consistent.; nested exception is:
    org.apache.wsif.WSIFException: parameters
    06/09/29 13:42:21 at org.apache.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(WSIFOperation_EJB.java:1259)
    06/09/29 13:42:21 at org.apache.wsif.base.WSIFClientProxy.invoke(WSIFClientProxy.java:339)
    06/09/29 13:42:21 at $Proxy3.getOrderList(Unknown Source)
    I am trying to expose a Stateless Session EJB as a WebService, which contains a method called getOrderList(). This method returns an array of a complex type (Java Bean).
    I am, however, able to succesfully access the WebService using the SOAP/HTTP protocol.
    My client code is as follows:
    WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
    WSIFService service = factory.getService("<path to wsdl>", null, null, "http://sample.com/", "OrderService");
    orderService = (OrderService) service.getStub("WsifEjb", OrderService.class);
    Not sure what am I missing here. If any further information is required in order to resolve this, please let me know.
    Thanks,

    You are trying to get 2 databases connected... so, you need to insure that FDEV can find and connect to ABCD.
    So, from your FDEV database server, you can do 2 things (from command prompt):
    1* tnsping ABCD (this will validate that the entry exists in your tnsnames.ora on your FDEV server, and that a valid listener can be found on remote server)
    when above command succeeds:
    2* sqlplus apps/appsdev@ABCD;
    when you have established the connection, then you are SURE that your can connect ABCD database from FDEV database server. It will also validate the username / password combination, create session privilige, account not locked, etc.....
    Please check the above, and post here the results.
    HTH,
    Thierry

  • Column Not found error while trying to access database through JSP+Java Bea

    I am trying to access MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the database is incorporated in the bean.The JSP only calls the particular method of the bean .
    Code for Java Bean:
    package ActiveViewer;
    import java.sql.*;
    import java.util.*;
    public class CompanyBean
    Connection con;
    ResultSet rs=null;
    Statement st;
    public CompanyBean(){}
    public void connect()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Here4");
    con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
    System.out.println("Here1");
    catch (ClassNotFoundException e)
    System.out.println("Could not locate driver.");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An unknown Exception has occured :: "+e);
    e.printStackTrace();
    public void disconnect()
    try
    if (con!=null)
    con.close();
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    public ResultSet select(String username)
    if(con!=null)
    try
    st=con.createStatement();
    rs=st.executeQuery("select * from company where username='" + username + "'");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An Exception has occured while retrieving :: "+e);
    e.printStackTrace();
    else
    System.out.println("Connection to database was lost.");
    return rs;
    The code for JSP that uses the above bean is:
    <%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
    <jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
    <html>
    <body>
    <% String username=request.getParameter("username");
    String password=request.getParameter("password");
    System.out.println("username:"+username);
    System.out.println("password:"+password);
    conn.connect();
    ResultSet rs=conn.select(username);
    System.out.println("Below select ");
    while (rs.next())
    String dbusername=rs.getString("username");
    String dbpassword=rs.getString("password");
    if(dbusername.equals(username) && dbpassword.equals (password))
    { %> out.println("OK");
    <% }
    else { %>Invalid Username and / or Password.
    <br>Clickhere to go back to Login Page.
    <% }
    } %>
    </body>
    </html>
    I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Column not found
    though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
    Here4 (from connect method above)
    Here 1 (from connect method above)
    Below Select (from jsp)
    This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
    All other things like creating package for bean in WEB-INF/classes,incorporating the packakage are done.
    Can someone please help me with their precious advice?

    Hi, I too have a problem with an SQL exception, the message is Column not found.
    I'm using the sun jdbc odbc driver with access.
    the first few lines of the stack trace are
    sun.jdbc.odbc.JdbcOdbcResultSet.findColumn(JdbcOdbcResultSet.java:1852)
    sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:603)
    net.homeip.sdaniels.MemberBean.ejbFindByUnamePwd(MemberBean.java:127)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    I am of course sure that the column does infact exist. I can insert into the column no problems. the sql looks like this:
    SELECT * FROM Members WHERE uName ='Stewart' AND encPwd='�F2C�3����h�1Y�'
    Can any one tell me if there is a common cause to this problem?
    Thanks

Maybe you are looking for