I am geeting an error with jsf 1.2 please help

i have used a datatable tag in JSF which just takes a ResultSet object and prints every row in it in a tabular form. I cheked i am recieving the resultset object with about 8 columns but when the jsf page is invoked it gives me following error.
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.sql.SQLException: The column position '2' is out of range. The number of columns for this ResultSet is '1'.
root cause
javax.faces.el.EvaluationException: java.sql.SQLException: The column position '2' is out of range. The number of columns for this ResultSet is '1'.
root cause
java.sql.SQLException: The column position '2' is out of range. The number of columns for this ResultSet is '1'.
root cause
org.apache.derby.client.am.SqlException: The column position '2' is out of range. The number of columns for this ResultSet is '1'.
note The full stack traces of the exception and its root causes are available in the GlassFish v3 logs.
GlassFish v3
Thanks
Harish Ingle

If possible please post your JSF code and the corresponding java code where in you are getting your resultset and preparing to display the same in your jsp page.

Similar Messages

  • Cant download itunes, because ' there is an error with windows installer package' please help?

    cant download itunes, because ' there is an error with windows installer package' please help?

    I am getting the same message when I try to install the latest version of iTunes, I am running on Windows Vista Home Premium. I have tried so many different things to try to correct this and have now completly unistalled it from my laptop..... Now I have no iTunes what-so-ever on it and still can't install it. I found an older versin of iTunes and it installed without any problems, but I can't access it because my library was created on a newer version! Talk about frustrated..... WE NEED HELP!!!!!

  • Error with wsdl on WAS6  -Please help!

    Hi,
    I have deplyed an application WAS6 server.I get the java.lang.IllegalStateException in the logs when I launch the installed application.
    I searched a little on it and learnt that this is a known problem with WAS.
    And that the possible solution of the problem is using xerces.jar to parse the xml instead of the default crimson.jar used by WAS.
    So I added xerces.jar in the WEB-INF/lib folder of the application, rebuilt the EAR and deployed the resulting EAR in WAS.
    But I still get the same error in logs.
    Please let me know if I have misunderstood something or doing something incorrect.
    Thanks in advance,
    Himadri
    PS: the error stack in logs is follows-
    code:
    [8/2/07 12:53:17:562 IST] 000000d5 SystemOut O WSWS3185I: Info: Parsing XML file: C:\Program Files\IBM\WebSphere\AppServer\profiles\default\installedApps\itl-hw-44857aNode01Cell\CTMTFmsEAR.ear\CTMTFMSEngine.war\WEB-INF\wsdl\CTMTFormsEngineService.wsdl[8/2/07 12:53:17:594 IST] 0000003f WSDDPort W WSWS3114E: Error: Internal error.[8/2/07 12:53:17:594 IST] 0000003f WSDDPort W TRAS0014I: The following exception was logged java.lang.IllegalStateException: can't declare any more prefixes in this context at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:487) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:532) at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:636) at com.ibm.ws.webservices.wsdl.Parser$WSDLRunnable.run(Parser.java:337) at java.lang.Thread.run(Thread.java:568)---- Begin backtrace for Nested Throwablesjava.lang.IllegalStateException: can't declare any more prefixes in this context at org.xml.sax.helpers.NamespaceSupport$Context.declarePrefix(Unknown Source) at org.xml.sax.helpers.NamespaceSupport.declarePrefix(Unknown Source) at org.apache.crimson.parser.Parser2.processAttributeNS(Parser2.java:1587) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1436) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:487) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:532) at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:636) at com.ibm.ws.webservices.wsdl.Parser$WSDLRunnable.run(Parser.java:337) at java.lang.Thread.run(Thread.java:568). java.lang.IllegalStateException: can't declare any more prefixes in this context at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:487) at com.ibm.ws.webservices.engine.utils.XMLUtils.newDocument(XMLUtils.java:532) at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:636) at com.ibm.ws.webservices.wsdl.Parser$WSDLRunnable.run(Parser.java:337) at java.lang.Thread.run(Thread.java:568)

    Have you received a resolution for this yet?   I'm having exactly the same problem -- I purchased this software yesterday, got it set up, and ran through my first folder of images with no problem.   When I tried to run the tool through my second batch of images, I got the error 21.   I contacted Mike D, but he hasn't responded.   Meanwhile I tried several combinations of uninstalling and reinstalling, rebooting, and switching to a different image file to try and resolve, all with no luck whatsoever.  If you have a solution that you could share with me, I would really appreciate it!
    Thanks!

  • Error with Autoloader program - someone please help - so frustrated

    HI there.... I am a wedding photography and use Mike d's autoloader program to zip through my wedding edits...it was working great until yesterday... I use it through bridge and when I try to ope the files, the autoloader comes up fine ..I pick my action....hit save and then I get a ps error 21 object is null line 1026 and then it I close that and hit the preassigned key to open up the files I get another error ps 8000 cannot open files beciase open options are incorrect.....I have tried reinstalling, updating, asking adobe forhelp ( they won't help becuase it is a third party program even though it is giving me ps errors), I have contacted Mike D the creator of the program and he is not sure what is going on either....any ideas at all ?  I am at a loss and rely on this program to make the workflow much quicker!  Any help would be appreciated
    Jill

    Have you received a resolution for this yet?   I'm having exactly the same problem -- I purchased this software yesterday, got it set up, and ran through my first folder of images with no problem.   When I tried to run the tool through my second batch of images, I got the error 21.   I contacted Mike D, but he hasn't responded.   Meanwhile I tried several combinations of uninstalling and reinstalling, rebooting, and switching to a different image file to try and resolve, all with no luck whatsoever.  If you have a solution that you could share with me, I would really appreciate it!
    Thanks!

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

  • Error with VideoPhoneLabs.mxml. Please Help- Any help is appreciated!

    hello, I set my local to always use P2P, but I still get an error using the VideoPhoneLabs.mxml
    I type in a user name, and while I type characters, I get the warning:
    warning: unable to bind to property 'length' on class 'String' (class is not an IEventDispatcher)
    But I don't think this is my problem.
    When I click connect I get this:
    Connecting to rtmfp://p2p.rtmfp.net
    NetConnection event: NetConnection.Connect.Success
    Connected, my ID: *MYCODE DELETED SO NO ONE KNOWS IT*
    ID event: idManagerError
    Error description: HTTP error: (mx.messaging.messages::ErrorMessage)#0
      body = ""
      clientId = "DirectHTTPChannel0"
      correlationId =*ANOTHER CODE DELETED SO NO ONE KNOWS IT*
      destination = ""
      extendedData = (null)
      faultCode = "Server.Error.Request"
      faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: rtmfp://p2p.rtmfp.net/*MYCODE DELETED SO NO ONE KNOWS IT*/?identity=*MYCODE DELETED SO NO ONE KNOWS IT*&username=test1234"]. URL: rtmfp://p2p.rtmfp.net/*MYCODE DELETED SO NO ONE KNOWS IT*/"
      faultString = "HTTP request error"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "*YET ANOTHER CODE*"
      rootCause = (flash.events::IOErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = ""
          dataFormat = "text"
        errorID = 0
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2032: Stream Error. URL: rtmfp://p2p.rtmfp.net/*MYCODE DELETED SO NO ONE KNOWS IT*/?identity=*MY CODE DELETED SO NO ONE KNOWS IT*&username=test1234"
        type = "ioError"
      timestamp = 0
      timeToLive = 0
    Disconnecting.
    Hanging up call
    NetConnection event: NetConnection.Connect.Closed
    ID event: idManagerError
    Error description: HTTP error: (mx.messaging.messages::ErrorMessage)#0
      body = ""
      clientId = "DirectHTTPChannel0"
      correlationId = "*YET ANOTHER CODE DELETED*"
      destination = ""
      extendedData = (null)
      faultCode = "Server.Error.Request"
      faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: rtmfp://p2p.rtmfp.net/*MY CODE DELETED SO NO ONE KNOWS IT*/?identity=0&username=test1234"]. URL: rtmfp://p2p.rtmfp.net/*MY CODE DELETED SO NO ONE KNOWS IT*/"
      faultString = "HTTP request error"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "*ANOTHER CODE*"
      rootCause = (flash.events::IOErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = ""
          dataFormat = "text"
        errorID = 0
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2032: Stream Error. URL: rtmfp://p2p.rtmfp.net/*MY CODE DELETED SO NO ONE KNOWS IT*/?identity=0&username=test1234"
        type = "ioError"
      timestamp = 0
      timeToLive = 0
    Disconnecting.
    Hanging up call

    yes, reg.cgi is intended to be a web service. its URL will depend on where and how you install it, and on your web server.
    i suggest looking at your web server logs (especially the error log) to see if there's any information to help you diagnose and debug your installation.  you can also use a command line tool like "curl" to try to connect to the web service and see if you can register and look up ids.
    for example, if you installed reg.cgi in your web server at www.example.com in the cgi-bin directory, its url might be
      http://www.example.com/cgi-bin/reg.cgi
    registering might look like:
    % curl 'http://www.example.com/cgi-bin/reg.cgi?username=mike&identity=1234'
    <?xml version="1.0" encoding="utf-8"?>
    <result>
              <update>true</update>
    </result>
    lookup might look like:
    % curl 'http://www.example.com/cgi-bin/reg.cgi?friends=mike'
    <?xml version="1.0" encoding="utf-8"?>
    <result>
              <friend>
                        <user>mike</user>
                        <identity>1234</identity>
              </friend>
    </result>
    using the command line tool might show you an error message that could help you diagnose your problem.  the source code for reg.cgi is short and should be pretty self explanatory (it's very basic Python).  if you get an error like "<update>false</update>" that means the database insert failed.  the most likely cause for that is a bad database location or permission problems on the database files.  keep in mind the database files and the directory they live in must be writable by the web server.

  • Yahoo IM error with AT&T Network, PLEASE HELP!!!

    Hello everyone, I am new to this Blackberry forum and Owners Lounge, I just recently purchased a 8310 and love it. I downloaded and installed the Yahoo IM software 2 different ways, on the phone and thru Desktop manager and i still get the message below when i attempt to log in: "Service not enabled for this handheld" and then my only option is "OK"
    Any suggestions? Any help? My best friend has the same issue on AT&T network, I called AT&T and they advised me that they do not have anything blocked, i dont believe it. I called Blackberry and they said its a known problem with AT&T service not allowing certain files to come thru the network. Is this true?
    Thanks in advance

    Your iPhone will arrive with a SIM card installed.
    It should be straightfoward to set it up.  But if you're in the U.S., and need technical assistance from AT&T in doing the setup, you can contact them 24 hours a day at (800) 331-0500.

  • Preferences error with spotlight!! Please help!!

    I wanted to removes the "Other" items from spotlight, so i tried this thing:
    https://discussions.apple.com/message/23638035#23638035
    But since doing this, my spotlight isn't working. And as soon as I hit commans+space, I have to relaunch my finder for the dock to start working again!!
    I use spotlight alot, what do i do??

    Never mind. I deleted my plist file, and rebooted. Now everything is fine!

  • HT4061 i have a iphone 3gs and recently I Erase All Contents and Settings, now my phone is asking me to update to itunes but when I do it comes up with the message...error 10.15, can someone please help?

    i have a iphone 3gs and recently I Erase All Contents and Settings, now my phone is asking me to update to itunes but when I do it comes up with the message...error 10.15, can someone please help?

    Your headline says iPhone 3GS, but your text says 3G.
    iPhone 3G is not compatible with iOS5. 3GS is.

  • HT4061 my iphone not connented with itunes unkown error is disply 0xe8000012 so please help me

    my iphone not connented with itunes unkown error is disply 0xe8000012 so please help me

    Read here:
    http://support.apple.com/kb/TS3221

  • I have a ipod 1st gen, its frozen and wont back up. comes up with error code 1 can someone please help.

    I have a ipod 1st gen. its frozen and wont back up. comes up with error code 1. can someone please help.

    Hi billewen690,
    The resource below may help troubleshoot the issue you are having with your iPod touch being unresponsive.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    https://support.apple.com/en-us/HT201412
    Try these steps:
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    Get more help
    If you still need help after trying the steps above, contact Apple Support. 
    Last Modified: Jan 14, 2015
    Hope that helps ...
    - Judy

  • Error while compile client! Please help

    Hi everybody,
    I am new to J2EE. I hav got application server and client in the same computer.
    While compile client application to test the server part followint error is shown:
    28-Feb-2007 10:36:05 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3122"
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:161)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at bank._CustomerFacadeRemote_DynamicStub.createAccount(_CustomerFacadeRemote_DynamicStub.java)
    at bankaccountclient.Main.insertInfo(Main.java:55)
    at bankaccountclient.Main.<init>(Main.java:38)
    at bankaccountclient.Main.main(Main.java:78)
    Caused by: java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:199)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:853)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:160)
    at $Proxy22.createAccount(Unknown Source)
    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 com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    BUILD SUCCESSFUL (total time: 4 seconds)
    Please let me know the solution of the error!
    And also if client and application server is in same mechine which interface must be used to talk client with session bean?
    Please help me!

    1) It looks like you have an error in JDBC configuration.
    The main string is "Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Check out JDBC connection pools and resources.
    2) If your beans and client there are at the same JVM you can use local interface, else use remote interface.

  • When i update my iphone it say error 1015 what is this please help me

    when i update my iphone it say error 1015 what is this please help me

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    http://support.apple.com/kb/TS3694#error1015.

  • Ichat can't connect to my AIM account, gives me the error "Cannot log in to AIM. General error. Try again." Please help!

    ichat can't connect to my AIM account, gives me the error "Cannot log in to AIM. General error. Try again." Please help!

    HI,
    Your specs say OS X 10.6.8 which would be iChat 5.x.x in Snow Leopard.
    This version by default tries to login in to the AIM server called login.oscar.aol.com on port 5190 using the TCP protocol.
    An internet connection is made up of 65535 of these so called ports (more like TV stations)
    Most routers have ports up to port 1024 which means some of the iChat Login Ports are above this.
    Two ways to Solve this.
    1) Change the Login port iChat uses
    2) Change the way the router opens ports.
    For 1) go to iChat Menu > Preferences > Accounts
    Highlight/select the AIM account.
    In the Info Tab deselect the "Enable this Account" to make sure you are Logged out.
    In the Server Settings change the Port to 443
    You can decide not to use SSL as well if you wish  (the server name automatically loses the leading "s")
    For 2) log in to the routers set up pages and make sure it is doing UPnP
    This allows the computers  to tell the router which ports to open. It also allows multiple devices to use the same ports.
    For iChat this allows it to Screen Share as this happens on an unlisted random port.
    Opps  forgot a couple of things.
    If you are using an APple ID registed at Apple ending in @mac.com @me.com or @iCloud.com then the passowrd at Apple has to be 16 characters or less to work with the AIM servers.
    Additionally the iCloud issued @me.com and @iCloud.com one require you to use iChat 6 in Lion or Messages in Mountian Lion due to changes Apple made to the security of letting AIM "read" the passwords.
    9:38 PM      Sunday; June 9, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was edited by: Ralph Johns (UK)

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

Maybe you are looking for