Veeva Vacations Sample application - Error connecting to database

I am new to WebCenter and I am trying to go through the Veeva Vacations Sample. I am having trouble creating a New Database Connection as described on page 8 of the Veeva_Hands_on.pdf.
I enter the Host of *127.0.0.1*, Port of *8080* and when I test the connection I get the following error.
Io exception: Got minus one from a read call
Any suggestions?
Edited by: user985561 on Sep 29, 2008 12:52 PM

Hi Jeroen,
Thank you for your response. I am working through the Veeva Vacations example that can be found at
http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
I am trying to create a Database Connection in JDeveloper. Starting on page 8 of the veeva_hands_on.pdf it asks you to Define a Database Connection. On page 10 it provides the connection details. Host Name: localhost, JDBC Port 1521. When I try this I get the following errror:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:ORCL
So I tried changing it to Host Name: 127.0.0.1, JDBC Port: 8080, which is the Host and port that I see in the URL when I log into the Oracle Database Express Edition from the 10g Database Home page. With this configuration I get the following error:
Io exception: Got minus one from a read call
I am running in a Windows environment with no Firewall software installed that I am aware of...
Thank you for your time
Christine

Similar Messages

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • Error connecting to database - java.sql.SQLException: Io exception: The Net

    Hello friends,
    I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread...
    When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both Tomcat and the database are running on Solaris 9), I get the following error:
    "Error connecting to database - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
    However, there is another application running on the same server using the same database server (only the actual databases being used differ) and it is able to access the database without any issues. Both of these are absolutely similar applications and I couldn't think of any reasons why one would work and the other wouldn't. I thought they might be conflicting each other and tried running only the problematic application. But even then, I get the same error.
    I know this might not be too relevant but to provide you some more information on the environment, the applications are running on separate Tomcat instances on the same server and they are connected to an Apache web server through Mod jk.
    Any help in solving this problem is greatly appreciated!
    Thanks!
    Regards,
    Yogaesh

    Yogaesh wrote:
    The 'application' that works is also a Tomcat application... It's exactly same as the problematic application in terms of the configuration and stuff... As for the typo errors, I copied the config info and pasted it... So pretty much it should be the same. And to add an additional note, I'm able to connect to the database from my localhost... I mean if I run the problematic application from localhost (without Apache and directly hitting Tomcat) I'm able to access the screens...
    The second part of that (localhost) usually isn't all that useful. You know it is a connection failure so that means the code is running and technically successfully (since connection failure is a legitimate runtime error.)
    You know it isn't a firewall issue because it connects from another app in tomcat. So it must be a configuration issue.
    So something like one of the following.
    1. It isn't the same (we already know this but this particular item means that it is not in fact exactly the same because you deliberately or accidently modified it.)
    2. It isn't pulling the right config. Maybe you aren't packaging it, maybe it is buffered on the server and it is using that rather than what you think it is.
    3. Java code is referring to the wrong name.
    Do this, change the configuration so it points to a server that does not exist. Repack, redeploy. If the error is the same (no diff) then you know that it is not running the code that you think it is. If it does change then you know that it can only be 1.

  • Error connect to database

    Hi There,
    I have Essbase 11.1.1.3, and I just have Reporting Studio installed , then I try to create new Report, insert Grid, then Database Connection property, I put essbase server name (same box), then admin user name and password, Application and database, I got the follwoing error:
    Error connecting to database connection ApplicationName: CubeName
    How can I fix this?
    I did install Reporting Studio first, then found out WoekSpace is not installed, then I installed work space. Does this have anything to do with the connection error?
    Thanks
    Edited by: user8091395 on Jul 15, 2010 3:09 PM

    Thank you for all for the reply.
    This is my test box, which I have all essbase 11.1.1.3 components installed at this box (essbase server, eas, essbase studio), and yes, I can connect fine using Excel Add in from my laptop.
    Essbase has been running for a while, then we need to have reporting tool, so I decide to install Reporting studio now, I download Financial Reporting studio zip file, install successfully at current essbase box. and got error at login, then realize I am missing workspace, then I install workspace, now I can login to reporting studio.
    Only thing now is that I get the error I mention when connecting to essbase app and db.
    Another thing I would like to mention is that I am using native essbase security on my test box, not share service.
    Thanks again
    Edited by: user8091395 on Jul 16, 2010 2:10 PM

  • *** ERROR = Connect to database failed, rc = -4008 (POS(1) Unknown user na

    Hello
    I have just finished a dbcopy of Maxdb 7.6  to a new system with initilization.i can bring the db online. I have  ran the xuser command to fix the db users as below command as per note 39439
    i changed them in home dir of sidadm,sqdsid
                          xuser -U DEFAULT -u SAP<SID>,<password> -d <database_name> -n <database_server> -S SAPR3 -t 0 -I 0 set
    c) DBM user: for example, CONTROL.
                           xuser -U c -u CONTROL,<password> -d <database_name> -n <database_server> -S INTERNAL set
    d) SYSDBA user: for example, SUPERDBA.
                           xuser -U w -u SUPERDBA,<password> -d <database_name> -n <database_server> -S INTERNAL set 
    But iam having the below error now when trying to bring the SAP system up in dev_w0
    C  Try to connect (DEFAULT) onconnection 0 ...
    C
    C Mon Dec 19 21:46:11 2011
    C  *** ERROR => Connect to database failed, rc = -4008 (POS(1) Unknown user name/password combinati
    on)
    [dbsdbsql.cpp 137]
    B  ***LOG BY2=> sql error -4008  performing CON [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY2=> sql error -4008  performing CON [dblink#8 @ 433] [dblink  0433 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dblink#8 @ 433] [dblink  0433 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1537]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10837]
    M
    is there something  that i missed somewhere?
    Any ideas welcome

    erpsyscs1:cs1adm 46> xuser list
    XUSER Entry  1
    Key         :DEFAULT
    Username    :SAPCS1
    UsernameUCS2:S.A.P.C.S.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  2
    Key         :c
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  3
    Key         :c_J2EE
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  4
    Key         :w
    Username    :SUPERDBA
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>

  • Issue with OIDM - Error connecting to database -1

    In oidmon.log - "Error connecting to database -1".
    Config : OID on W2k
    Install created "ODS" user in the database. I can connect to the DB via SQLPLUS.
    Any idea what "-1" implies. Any help would be greatly appreciated

    Is this really a hard one to answer ? I have tried install, de-install, re-install nothing seems to work ?
    I would appreciate any help on this.
    Thx
    -- Geoff

  • Concurrent request - view output - Error connecting to database ORA-1017

    Hi all,
    When I run Active Users concurrent request.
    It complete sucessfully without any error.
    but when i click on view output then i get following error.
    Error connecting to database ORA-1017
    Reg
    Chirag Patel
    Nairobi

    Hi All,
    I followed this metalink note.
    Copy File : Error connecting to database ORA-1017 [ID 269511.1]
    and it if working fine now.
    Reg
    Chirag Patel

  • Planning - Sample Application Error

    Hi,
    I am trying to initilialise sample planning application and get "warn tp-proccessor1 com.hyperion.hbr.securityapi - error retrieving user by identity".
    Please can you advice what exactly i need to correct.
    Thanks

    Hi John,
    Thanks for pointing out. I found hyperionPlanning_sysout.log in logs/service folder.
    I can see - it's able to build sample dimensions but I noticed few errors
    com.hyperion.planning.olap.EssbaseException: Database %s does not exist (1051032)
    After this, it;s able to build all dimensions and then I noticed below errors
    java.lang.IllegalStateException: member FY08 from dimension 38does not exist.
    com.hyperion.planning.xml.HspHUBException: Rejecting Member Actual.
    com.hyperion.planning.xml.HspHUBException: Rejecting Member Forecast.
    com.hyperion.planning.xml.HspHUBException: Rejecting Member Plan.
    com.hyperion.planning.olap.EssbaseException: Database %s does not exist (1051032)
    There were errors during sample application initialization. Please check Planning log for details
    Please can you advice where else i can check and which logs it refers.
    Thanks.

  • Sample application for connecting to model in WD java

    Hi ,
    Can any one help me out how to connect to model to access sql as i am very new to webdynpro java.

    Hi Vijayalakshmi,
                               Check these
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20tutorials%207.0/using%20ejbs%20in%20web%20dynpro%20applications.pdf
    Check this for sample applications & tutorials
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#20
    regards
    Sumit

  • BPM Simple Sample Application Error!!!

    hi,
    i have some problems with the bpm simple sample applications on our local sap nw ce system (7.1 ehp1 sp0)?
    on the esworkplace i have download the *.sca file and have import this file into my nwds.
    i following the simple sample documentation an define and configure the ERP and ERP_META Destinations on the nwds and our local sap nw ce system.
    also i do the future steps which was described (service registry, proxy settings, ...).
    on page 16 of the simple sample documetation is defined which Sofware Component has dependencies to other SC´s.
    the SC "BPEM_BUILDT" depends on the SC "ESMP_BUILDT" and "COMP_BUILDT", the SC "COMP_BUILT" doesnt exist on my nwds (7.1 ehp1 sp0).
    has everybody any idea why the SC "COMP_BUILT" not exist on my nwds???
    still this absent SC i can deploy the bpm simple sample successful to our sap nw ce system.
    now i do the post deployment steps for the bpm samples.
    after this i call the simple sample application on my sap nw ce portal and can execute the "Initiate Equipment Phase In Process".
    now i can see a new entry on my uwl, i open the uwl task.
    at step 1, 2, 3 i change no data an click next, after step 3 (create equipment) i get the following error:
    com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface <br>
    IndividualMaterialERPCreateRequestConfirmation_In_V1 <br>
    <br>
    detailed error message: <br>
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata <br>
    destination 'ERP_META' and WS interface 'IndividualMaterialERPCreateRequestConfirmation_In_V1'. One possible reason is that
    Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface
    IndividualMaterialERPCreateRequestConfirmation_In_V1
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1184)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:847)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:547)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:377)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:230)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:195)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:529)
    ... 82 more
    after this error i test the endpoint manually. i call the service registry (sr.esworkplace.sap.com) an search the service:
    IndividualMaterialERPCreateRequestConfirmation_In_V1
    now i test the endpoint with the following data:
    MaintenancePlanningPlantID: 0001
    WorkCentreID: TECH.SER
    CategoryCode: M
    the return is the following:
    TypeID:005(PLM_SE_EAM_SC)
    SeverityCode:1
    Note:Individual Material 000000000010006703 is created
    i think the return from the service was successful.
    i hope somebody can help me!!!
    thanks,
    Fabian

    Hi Arafat,
    the destinations for the services are already configured::
    at destination template management > destination templates the following is defined:
    - Tab: General
    Destination Name: ERP
    Destination Type: Service Registry
    System: ABAP
    System Name: HU2
    Hostname: iwdf2379
    Installation Nr.: 0120003411
    Client: 800
    - Tab: Security
    Authentication: HTTP Authentication, User ID/Password (Basic)
    User ID: <es workplace user (suser)>
    pw: ******
    and
    - Tab: General
    Destination Name: ERP_META
    Destination Type: Service Registry
    System: ABAP
    System Name: HU2
    Hostname: iwdf2379
    Installation Nr.: 0120003411
    Client: 800
    - Tab: Security
    Authentication: HTTP Authentication, User ID/Password (Basic)
    User ID: <es workplace user (suser)>
    pw: ******
    also i have configured the same destination on my nwds.
    i think this is correct?
    futher ideas, why this doesnt work?
    thanks,
    fabian

  • Cairgorm 3 sample applications - errors in unit tests

    After the last update the sample applications started to work - they now even show images.
    But the unit tests for Commands are reporting errors on my machine:
    TypeError: Error #1034: Type Coercion failed: cannot convert []@56443a9 to XMLList.
    at asmock.integration.flexunit::ASMockClassRunner/withBeforeClasses
    at org.flexunit.runners::ParentRunner/classBlock(ParentRunner.as:221)
    etc...
    As I am just starting to explore unit testing, I do not know how to debug it.
    Can someone help me?
    Thanks, Zdenek M

    Hi,
    Could you confirm that you are running the unitTests using the InSyncBasicTestRunner.mxml? Also make sure that you don't have another version of FlexUnit4 on your classpath (Project->Properties->Flex Build Path) as the one shipped with the latest version of Flash Builder may conflict with the version of ASMock we are using at this time.
    Let me know if you are still experiencing issues with the test suite.
    Best,
    Nicolas

  • Sample code for connect to database

    Hi
    like to know if there is any sample code for me to follow through to connect to database using ODBC.
    I am currently writing a program in visual c++.
    like to know how to connect database to store image in the database
    using visual c++ code.....
    hope that is not too difficult.

    in JSTL pratical guide for JSP programmers by Sue Spielman
    <sql:setDataSource var="datasource"
    driver="org.gjt.mm.mysql.driver"
    url="jdbc:mysql://localhost/db"
    user="guest"
    password="guest" />
    <sql:query datasource="${datasource}...
    <html>
    <head>
    <title>
    Display Results
    </title>
    </head>
    <body>
    <c:catch var="sqlError">
    <sql:query var="bookList" dataSource="${datasource}">
         SELECT * FROM books WHERE title LIKE 'J%' ORDER BY author
    </sql:query>
    </c:catch>
    <c:if test="${not empty sqlError}" >
    Make sure you have already run the databaseinit.jsp file
    </c:if>
    <h2>Listing all books that start with a 'J', ordered by author</h2>
    <br>
    <table>
    <th>Title</th>
    <th>Author</th>
    <c:forEach var="book" items="${bookList.rows}">
         <tr>
              <td><c:out value="${book.title}" /></td>
              <td><c:out value="${book.author}" /></td>
         </tr>
    </c:forEach>
    </table>
    </table>
    <h2>Show using choose/when/otherwise conditional to display results</h2>
    <table>
    <tr><th>Title</th></tr>
    <c:forEach var="book" varStatus="current" items="${bookList.rows}">
    <tr>
    <c:choose>
         <c:when test="${current.first}" >
              <td><font color="#0000FF"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:when test="${current.count % 2 == 1 }" >
              <td><font color="#FF0000"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:otherwise>
              <td><c:out value="${book.title}"/></td>
         </c:otherwise>
    </c:choose>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

  • Application Error while using database deign transformer

    Using the database deign transformer in Designer 6i I experienced the following dialog:
    "An application error has occured and an application error log is being generated. smi61.exe Exception: access violation (0x0000005), Address 0x01f6c325"
    This is a repeatable error. All the table have been created but I don't know if they have been left in a clean state.
    A would like to stop this happening in the future, I have done this generation successfully in the past will the same settings that are now failing (but different entities)
    Thank in advance for all help
    Hannah

    The last two days have been frustrating. The error above also appeared when I was trying to view one of the relationships in one of my entities.
    What seems to have been happening is Designer showed a relationship existing after it had been deleted. This seems to be a bug in Designer. These rouge links can be deleted in the RON (although if you try to look at their details the RON will crash with the error in original query). After this cleanup everything worked like clockwork.
    Hannah Fraser

  • SAMPLE APPLICATIONS ERROR

    Hi All,
    I have Installed VS 2010 & CSVS2010, after i run sample application as per downloaded from SAP sites, its shows error.
    please look at this error message and please help me how slove in this error.
    "could not find assembly 'CrystalDecisions.Shared.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable     d:\documents and settings\bzd3jr\desktop\crvs10\cr.net sdk\viewing\net-cpp2005-win_cr115_view\cr_sample_view_cpp_net05\Form1.h"
    Regards,
    Esha Abdullah M

    Thanks Ludek,
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    In this link only i downloaded,  view report sample applications (Crystal Reports .NET C++ - View Report).
    If i run application it showing error,
    Error     3     error C1107: could not find assembly 'CrystalDecisions.Shared.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable     d:\documents and settings\bzd3jr\desktop\samples appn\net-cpp2005-win_cr115_view\cr_sample_view_cpp_net05\Form1.h     4
    Please help me for this issue.
    Regards,
    Esha Abdullah M
    Edited by: Esha Abdullah on Jun 29, 2011 4:26 PM

  • Error connecting to database thru tnsnames.ora in linux

    Hi,
    I can connect to database using service and port. Now i want to connect using the tnsnames. The following code returns error.
    import java.sql.;*
    import oracle.jdbc.OracleDriver;
    import oracle.jdbc.pool.OracleDataSource;
    public class Test
    public Test()
    System.setProperty("oracle.net.tns_admin","\oracle\product\TNS");
    public static Connection getConnection() throws SQLException
    OracleDataSource ds = new OracleDataSource();
    ds.setTNSEntryName("CMAD");
    ds.setDriverType("thin");
    ds.setUser("scott");
    ds.setPassword("tiger");
    Connection conn = ds.getConnection();
    return conn;
    public void run () throws SQLException
    Connection conn = getConnection();
    System.out.println("Check Auto Commit = " + conn.isClosed());
    conn.close();
    public static void main(String[] args)
    Test test = new Test();
    try
    test.run();
    System.out.println("all done..");
    catch (SQLException e)
    e.printStackTrace();
    \oracle\product\TNS is the place where my tnsnames.ora is stored and is set as TNS_ADMIN path in linux
    I encounter the follwing error while running the class file of above code
    java.sql.SQLException: Io exception: SO Exception was generated
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:273)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:195)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:145)
    at Test.getConnection(Test.java:41)
    at Test.run(Test.java:47)
    at Test.main(Test.java:57)
    Could someone help me? What is a SO exception?
    Thanks in advance.
    Allen

    Hi,
    Socket exception?
    What does your CMAD TNS entry look like?
    Regards
    Peter

Maybe you are looking for