Facing permission problem for accessing database

{color:#0000ff}Hello All,
I have just started in this forum. I am very new to j2me and facing problem and I need your help.
I had successfully signed the application and it was working properly on device. Next I added login module in my application where I am accessing a PHP from server which is having MySQL DB connection for usercheck. When I try with unsigned jar it works properly and when I try using signed jar it is showing me wrong username/password. I think it is midlet permission problem.
It would be very nice if someone can tell me what might be the possibilities that it is going wrong.
Thank you.
Regards,
-Anuradha{color}.

Signing MIDlet has nothing to do with how data is send over the network. So please be sure that your signed MIDlet is not corrupting your data.
If you are receiving correct username / password at server side, then its server's responsibility to validate it Your MIDlet has posted the parameters right way.
I would suggest you to check following things
1) Check if server is validating the username / password.
2) What response does server sends you back after validating username / password. Check on both ends.
3) Check how your midlet processing the response from the server.
4) Do you get any exceptions?
but I am doing database connection through php which is on server, I hope it is not wrong way of doing it.Doesn't matter what technology is used at server side to connect to the database.

Similar Messages

  • Unix permission problem for external table in oracle 10g, sun solaris

    Hello All,
    I'm facing a problem in accessing external table which has stumped me a bit.
    What I'm looking for is to use a external table with restricted permission to Others(770) on unix.
    Would appreciate if someone helps me out here.
    Here are the steps:
    1.create directory ext_tab_dir1 as '/home/ravi/test'
    2.grant read,write on directory ext_tab_dir1 to scott
    3.CREATE TABLE scott.emp_load1(employee_number CHAR(5))
    ORGANIZATION EXTERNAL (
    type oracle_loader
    default directory ext_tab_dir1
    access parameters (
    records delimited by newline
    fields terminated by ' '
    optionally enclosed by '"'
    missing field values are null
    location ('info.dat')
    Now I have added unix user oracle to unix group myDbGroup and provided myDbGroup read/write/exec permission on directory /home/ravi/test.
    info.dat has been placed in /home/ravi/test.
    #pwd
    /home/ravi
    #ls -l
    drwxrwx--- 2 ravi myDbGroup 512 Mar 7 17:35 test
    I have manually logged in as user oracle and successfully created a sample file in /home/ravi/test.
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    I then connect to the db using sqlplus as ravi and do a
    #select * from scott.emp_load1
    I get the following error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file emp_load1_18567.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    After this, I gave full permission to /home/ravi/test
    drwxrwxrwx 2 ravi myDbGroup 512 Mar 7 17:35 test
    #select * from scott.emp_load1
    And this was successful.
    It created a log file in /home/ravi/test
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 emp_load1_18567.log
    Now what stumped me is the owner and group owner of the file emp_load1_18567.log.
    It is same as the sampleFile which I created manually!!
    From this it can be deducted oracle is not using user id oracle while reading/writing to the unix directory but somehow assigning user id oracle as owner to the log file at the end.
    If someone has encountered this problem earlier or has some info about this...pls share.
    Regards,
    Ravinandan

    Thanks for the reply.
    I have earlier checked this with NOLOGFILE option.
    But no luck.
    I would like to add one more detail(which I missed earlier) about the problem.
    If I give 750 access to /home/ravi(That is read/exec to Group and none perm to Others),
    I will get the same error(KUP-04063: unable to open log file emp_load1_18567.log).
    This obviously means oracle is not even able to access the directory(Although unix user oracle has access via the group perms).

  • While opening pdf files the menu bar, navigation bar  cracks unobviously and also close and minimise buttons  goes hidden..Facing the problem for last one month. Please help.

    while opening pdf files the menu bar, navigation bar  cracks unobviously and also close and minimise buttons  goes hidden..Facing the problem for last one month. Please help.

    The latest Kaspersky software version is 15.0.1.415 or 15.0.1.415ab.

  • Thin driver for Access Database

    Hi Guys,
    I want to know the exact thin JBBC driver for access database,
    For oracle we have "jdbc:oracle:thin:@host:port:sid" driver, I need the similar type of driver for Access,
    Where can I find
    Thanks

    let me be a bit more descriptive..
    there's no free, publicly available type 3 or 4 driver for Access.
    However, if you want to buy one, take a look at this URL: http://industry.java.sun.com/products/jdbc/drivers .
    It'll help you identify third-party vendors who sell what you're looking for...
    Larry

  • Problems converting access database to excel

    is there any method to convert access db to excel spreadsheet.
    currently i'm using a 'cheat' way of retrieving the results to a table and convert to excel using this:
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition","attachment; filename=\"file.xls\";");
    the problem is that i need to delete the records in the database after saving the the excel file. this method does not let me perform response.sendRedirect() method after saving as excel. so, after i retrieve the results into a table, i delete the records in the database and prompt the user to save the excel file. this is risky cos if the user select cancel when prompted to save, the records in the databse will long be gone.
    i need help if anyone could suggest a solution to this.
    1. another method to convert access db to excel spreadsheet , or
    2. the excel file will be saved automatically without having the user to click to save, or
    3. to be able to get to delete the db records after saving.
    i really need the help from you people. thanks.

    I find your problem description confusing.
    Here's what it sounds like you're saying:
    You've got records in an Access database to start with. A user makes a request to see records in a browser. You've got a servlet that queries the Access database using JDBC, turns the result set into a CSV file, sets the content type to "application/vnd.ms-excel", and then displays the response as an MS Excel spreadsheet in the browser.
    So far, so good?
    That sounds like one use case to me - call it "Query Database For Records".
    Then it sounds like you want to implement another use case - call it "Modify Database". You'd like to be able to let the client manipulate the Excel data you've sent down and then resynch with the database when they say they're done.
    Again, okay?
    If that's true, treat them like two separate cases. It sounds like you want to do a multipart file upload of the Excel data where you'd have your servlet take the uploaded data and insert it back into the Access database.
    If I understand you correctly, Access is your persistence mechanism. I don't understand why you'd want to update Access AND save the Excel file. I read this as "I want to have one data source of record with the latest info, and I happen to like sending it down to clients in an Excel spreadsheet because that's what they're used to seeing."
    I'm sure this doesn't help you solve your problem yet, but it might help my understanding of what you're really trying to do here. - MOD

  • Problem for Accessing the Table BDCP..CDPOS..CDHDR..

    Hi Guys,
    i have the problem of accessing the BDCP table.it is working fine in development and testing server.it is taking more time in background in Production server..can anyone help me to optimize this code and please suggest me if i can change anyof the below logic..
    Thanks a lot in advance.
    LOOP AT t_cdobjid.
        objectid-low  = t_cdobjid-cdobjid.
        objectid-sign = 'I'.
        objectid-option = 'EQ' .
        APPEND objectid.
        CLEAR  objectid.
        count = count + 1.
        IF count = 50.
          CLEAR count.
          SELECT * FROM bdcp APPENDING TABLE t_bdcp
          WHERE cretime IN r_cretime AND
                tabname = 'DMEAN' AND
                fldname = 'KEY' AND
          cdobjid IN objectid.
          CLEAR : objectid.
          REFRESH: objectid.
        ENDIF.
      ENDLOOP.
      IF NOT objectid[] IS INITIAL.
        SELECT * FROM bdcp APPENDING TABLE t_bdcp
          WHERE cretime IN r_cretime AND
                tabname = 'DMEAN' AND
                fldname = 'KEY' AND
        cdobjid IN objectid.
        CLEAR : objectid.
        REFRESH: objectid.
      ENDIF.
      IF NOT t_bdcp[] IS INITIAL.
        t_bdcp_val[] = t_bdcp[].
        DESCRIBE TABLE t_bdcp_val LINES l_lines.
        l_max = 50.
        l_mod = l_lines MOD l_max.
        IF l_mod > 0.
          l_loopcount = ( l_lines DIV l_max ) + 1.
        ELSE .
          l_loopcount = l_lines DIV l_max.
        ENDIF.
        DO l_loopcount TIMES.
          CLEAR t_bdcp_emt.
          REFRESH t_bdcp_emt.
          IF sy-index = l_loopcount.
            t_bdcp_emt[] = t_bdcp_val[].
          ELSE.
            APPEND LINES OF t_bdcp_val FROM 1 TO l_max TO t_bdcp_emt.
            DELETE t_bdcp_val FROM 1 TO l_max.
          ENDIF.
          SELECT * FROM cdpos APPENDING TABLE t_cdpos_upc
              FOR ALL ENTRIES IN t_bdcp_emt
                       WHERE
                       objectclas = 'MATERIAL' AND
                       objectid   = t_bdcp_emt-cdobjid AND
                       changenr   = t_bdcp_emt-cdchgno  AND
                       tabname IN ('DMEAN', 'MARA' ) AND
                       fname   IN ('KEY', 'EAN11' ) .
        ENDDO.
        CLEAR   : l_lines ,
                  l_mod ,
                  l_loopcount.
           IF sy-subrc EQ 0.
        IF NOT t_cdpos_upc[] IS INITIAL.
          t_cdpos_del[] = t_cdpos_upc[] .
          DELETE t_cdpos_del WHERE tabname EQ 'MARA' .
          SORT t_cdpos_del BY changenr .
          LOOP AT t_cdpos_upc .
            READ TABLE t_cdpos_del WITH KEY
                       changenr = t_cdpos_upc-changenr
                       BINARY SEARCH .
            IF sy-subrc EQ 0  AND
              t_cdpos_upc-chngind = 'U' .
              DELETE t_cdpos_upc WHERE changenr = t_cdpos_upc-changenr
                                  AND  chngind  = 'D' .
            ENDIF.
            t_upc_matnr-matnr = t_cdpos_upc-objectid .
            APPEND t_upc_matnr .
          ENDLOOP.
          SORT t_upc_matnr BY matnr .
          DELETE ADJACENT DUPLICATES FROM t_upc_matnr COMPARING matnr .
          IF NOT t_cdpos_upc[] IS INITIAL.
            t_cdpos_upc_val[] = t_cdpos_upc[].
            DESCRIBE TABLE t_cdpos_upc_val LINES l_lines.
            l_max = 50.
            l_mod = l_lines MOD l_max.
            IF l_mod > 0.
              l_loopcount = ( l_lines DIV l_max ) + 1.
            ELSE .
              l_loopcount = l_lines DIV l_max.
            ENDIF.
            DO l_loopcount TIMES.
              CLEAR t_cdpos_upc_emt.
              REFRESH t_cdpos_upc_emt.
              IF sy-index = l_loopcount.
                t_cdpos_upc_emt[] = t_cdpos_upc_val[].
              ELSE.
                APPEND LINES OF t_cdpos_upc_val FROM 1 TO l_max TO
                                                    t_cdpos_upc_emt.
                DELETE t_cdpos_upc_val FROM 1 TO l_max.
              ENDIF.
              SELECT * FROM cdhdr APPENDING TABLE it_cdhdr_upc
                               FOR ALL ENTRIES IN t_cdpos_upc_emt
                                WHERE objectclas EQ 'MATERIAL'
                               AND   objectid  = t_cdpos_upc_emt-objectid
                               AND   changenr  = t_cdpos_upc_emt-changenr.
            ENDDO.
          ENDIF.
    Prabhu

    Use the PACKAGE SIZE oprion of the SELECT statement:
    LOOP AT t_cdobjid.
      objectid-low = t_cdobjid-cdobjid.
      objectid-sign = 'I'.
      objectid-option = 'EQ' .
      APPEND objectid.
      CLEAR objectid.
    ENDLOOP.
    SELECT * FROM bdcp APPENDING TABLE t_bdcp
      PACKAGE SIZE 5000
      WHERE cretime IN r_cretim AND
            tabname = 'DMEAN'   AND
            fldname = 'KEY'     AND
            cdobjid IN objectid.
    ENDSELECT.
    IF NOT objectid[] IS INITIAL.

  • Problem while access database by JSTL through JSP.

    I am trying to connect database by using JSTL through jsp.I am getting an exception.Please advise.
    Error:
    org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/jsp/c.tld: (line 2, col 8): Document is invalid: no grammar found.
         at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:140)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:200)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:140)
         at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:309)
         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:336)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:750)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:77)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:157)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:111)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    JSP:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <sql:setDataSource scope="application"
    driver="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:oracle:thin:@3.173.130.12:1521:cup"
    user="sUerName"
    password="sPassword"
    />
    <sql:query var="Result">
    select * from imtinv.imi_error_message
    </sql:query>
    <html>
    <head>
    <title>
    Error Message Details
    </title>
    </head>
    <body bgcolor="white">
    This is the information stored in the Error Message Table in Depot Automation Systems
    <table>
    <c:forEach items="$(Result.rows)" var="row">
    <c:forEach items="$(rows)" var="column">
    <tr>
    <td align=right>
    <b><c:out value="$(column.key)" />:</b>
    </td>
    <td>
    <c:out value="$(column.value)" />:</b>
    </td>
    </tr>
    </c:forEach>
    </c:forEach>
    </table>
    </body>
    </html>
    Web.xml:
    <taglib>
    <taglib-uri>
    http://java.sun.com/jstl/xml
    </taglib-uri>
    <taglib-location>
    /WEB-INF/jsp/x.tld
    </taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>
    http://java.sun.com/jstl/fmt
    </taglib-uri>
    <taglib-location>
    /WEB-INF/jsp/fmt.tld
    </taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>
    http://java.sun.com/jstl/sql
    </taglib-uri>
    <taglib-location>
    /WEB-INF/jsp/sql.tld
    </taglib-location>
    </taglib>
    c.tld:
    <?xml version="1.0" encoding="UTF-8" ?>
    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
    version="2.0">
    <description>JSTL 1.1 core library</description>
    <display-name>JSTL core</display-name>
    <tlib-version>1.1</tlib-version>
    <short-name>c</short-name>
    <uri>http://java.sun.com/jsp/jstl/core</uri>
    <validator>
    <description>
    Provides core validation features for JSTL tags.
    </description>
    <validator-class>
    org.apache.taglibs.standard.tlv.JstlCoreTLV
    </validator-class>
    </validator>
    <tag>
    <description>
    Catches any Throwable that occurs in its body and optionally
    exposes it.
    </description>
    <name>catch</name>
    <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    exception thrown from a nested action. The type of the
    scoped variable is the type of the exception thrown.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Simple conditional tag that establishes a context for
    mutually exclusive conditional operations, marked by
    <when> and <otherwise>
    </description>
    <name>choose</name>
    <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
    <body-content>JSP</body-content>
    </tag>
    <tag>
    <description>
    Simple conditional tag, which evalutes its body if the
    supplied condition is true and optionally exposes a Boolean
    scripting variable representing the evaluation of this condition
    </description>
    <name>if</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    The test condition that determines whether or
    not the body content should be processed.
    </description>
    <name>test</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>boolean</type>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    resulting value of the test condition. The type
    of the scoped variable is Boolean.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Scope for var.
    </description>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Retrieves an absolute or relative URL and exposes its contents
    to either the page, a String in 'var', or a Reader in 'varReader'.
    </description>
    <name>import</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
    <tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    The URL of the resource to import.
    </description>
    <name>url</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    resource's content. The type of the scoped
    variable is String.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Scope for var.
    </description>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    resource's content. The type of the scoped
    variable is Reader.
    </description>
    <name>varReader</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the context when accessing a relative
    URL resource that belongs to a foreign
    context.
    </description>
    <name>context</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Character encoding of the content at the input
    resource.
    </description>
    <name>charEncoding</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    The basic iteration tag, accepting many different
    collection types and supporting subsetting and other
    functionality
    </description>
    <name>forEach</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
    <tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Collection of items to iterate over.
    </description>
    <name>items</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.Object</type>
    </attribute>
    <attribute>
    <description>
    If items specified:
    Iteration begins at the item located at the
    specified index. First item of the collection has
    index 0.
    If items not specified:
    Iteration begins with index set at the value
    specified.
    </description>
    <name>begin</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    If items specified:
    Iteration ends at the item located at the
    specified index (inclusive).
    If items not specified:
    Iteration ends when index reaches the value
    specified.
    </description>
    <name>end</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    Iteration will only process every step items of
    the collection, starting with the first one.
    </description>
    <name>step</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    current item of the iteration. This scoped
    variable has nested visibility. Its type depends
    on the object of the underlying collection.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    status of the iteration. Object exported is of type
    javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
    visibility.
    </description>
    <name>varStatus</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Iterates over tokens, separated by the supplied delimeters
    </description>
    <name>forTokens</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    String of tokens to iterate over.
    </description>
    <name>items</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <description>
    The set of delimiters (the characters that
    separate the tokens in the string).
    </description>
    <name>delims</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <description>
    Iteration begins at the token located at the
    specified index. First token has index 0.
    </description>
    <name>begin</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    Iteration ends at the token located at the
    specified index (inclusive).
    </description>
    <name>end</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    Iteration will only process every step tokens
    of the string, starting with the first one.
    </description>
    <name>step</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>int</type>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    current item of the iteration. This scoped
    variable has nested visibility.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    status of the iteration. Object exported is of
    type
    javax.servlet.jsp.jstl.core.LoopTag
    Status. This scoped variable has nested
    visibility.
    </description>
    <name>varStatus</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Like <%= ... >, but for expressions.
    </description>
    <name>out</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Expression to be evaluated.
    </description>
    <name>value</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Default value if the resulting value is null.
    </description>
    <name>default</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Determines whether characters <,>,&,'," in the
    resulting string should be converted to their
    corresponding character entity codes. Default value is
    true.
    </description>
    <name>escapeXml</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Subtag of <choose> that follows <when> tags
    and runs only if all of the prior conditions evaluated to
    'false'
    </description>
    <name>otherwise</name>
    <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
    <body-content>JSP</body-content>
    </tag>
    <tag>
    <description>
    Adds a parameter to a containing 'import' tag's URL.
    </description>
    <name>param</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Name of the query string parameter.
    </description>
    <name>name</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Value of the parameter.
    </description>
    <name>value</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Redirects to a new URL.
    </description>
    <name>redirect</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    The URL of the resource to redirect to.
    </description>
    <name>url</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the context when redirecting to a relative URL
    resource that belongs to a foreign context.
    </description>
    <name>context</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Removes a scoped variable (from a particular scope, if specified).
    </description>
    <name>remove</name>
    <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
    <body-content>empty</body-content>
    <attribute>
    <description>
    Name of the scoped variable to be removed.
    </description>
    <name>var</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Scope for var.
    </description>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Sets the result of an expression evaluation in a 'scope'
    </description>
    <name>set</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Name of the exported scoped variable to hold the value
    specified in the action. The type of the scoped variable is
    whatever type the value expression evaluates to.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Expression to be evaluated.
    </description>
    <name>value</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Target object whose property will be set. Must evaluate to
    a JavaBeans object with setter property property, or to a
    java.util.Map object.
    </description>
    <name>target</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the property to be set in the target object.
    </description>
    <name>property</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Scope for var.
    </description>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Creates a URL with optional query parameters.
    </description>
    <name>url</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    Name of the exported scoped variable for the
    processed url. The type of the scoped variable is
    String.
    </description>
    <name>var</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Scope for var.
    </description>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    URL to be processed.
    </description>
    <name>value</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description>
    Name of the context when specifying a relative URL
    resource that belongs to a foreign context.
    </description>
    <name>context</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    <tag>
    <description>
    Subtag of <choose> that includes its body if its
    condition evalutes to 'true'
    </description>
    <name>when</name>
    <tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <description>
    The test condition that determines whether or not the
    body content should be processed.
    </description>
    <name>test</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>boolean</type>
    </attribute>
    </tag>
    </taglib>
    Thanks and Regards,
    Velrajan T.

    For installing JSTL, all you need are the jar files in the web-inf/lib directory.
    - No entries in web.xml
    - no tld files lying around
    - no problems!
    I think you may have a versioning problem here.
    What version of Tomcat are you using?
    With JSP1.2 (eg Tomcat 4), you should be using JSTL1.0. <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    With JSP2.0 (eg Tomcat 5), you should use JSTL1.1. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    Note the difference in the URIs. - the second one includes a /jsp
    Currently you are using the URI for JSTL1.0, but you look to have the tld from JSTL1.1. If you are using a JSP1.2 container, I don't think it could read this tld file, hence the error.
    Try installing the correct version of JSTL, properly (ie as they tell you in the readme file) and it should all work.
    Cheers,
    evnafets

  • Problem with accessing database in minisap 4.6 d( very urgent need ur help)

    hi all sap masters please help me.
    i have installed the minisap 4.6d system in the windows 200 prof os.
    i had the following problem in my minisa access.
    while Displaying table contents with transactions SE11 or SE16
    gives an error "No changes on SAP objects allowed".
    while Accessing the logical database F1S gives a syntax error because the
    include DBF1SF01 is missing.
    so i have used the mbspatch1 that comes with the cd.
    i have copied the mbscorr0104200 file in the directory '<MBS_DIR>\trans\tmp' as mentioned.
    and i have followed the steps as follows.but i have the same problem.please have a look at the
    process below and hel me to make it work roerly.
    this roblem is really eating me a lot and since many in this forum are sap master,thought
    you all can help me please.
    C:\>cd mbs
    C:\MBS>dbenv.cmd
    C:\MBS>REM Setting environment for db connect to MBS
    C:\MBS>set dbms_type=mss
    C:\MBS>set DIR_LIBRARY=.
    C:\MBS>set MSSQL_DBNAME=MBS
    C:\MBS>cd trans\tmp
    C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    'R3TRANS' is not recognized as an internal or external command,
    operable program or batch file.
    hope there was some problem here only,but to continue i have pasted the r3trans in the folder C:\MBS\TRANS\TMP
    C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    This is R3TRANS version 6.05 (release 46D - 04.10.00 - 09:16:00).
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    R3TRANS finished (0012).
    then i have done the generate program step .
    (4) Generate programs:
         - Logon as user BCUSER to the MBS system.
         - Start transaction SE38.
         - Enter the program 'SAPLSTRD' and select 'Program -> Generate'.
         - Enter the program 'SAPDBF1S' and select 'Program -> Generate'.
    while generating the second program i got the error Accessing the logical database F1S gives a
    syntax error because the include DBF1SF01 is missing.
    hope somebody could have got the same problem.so please help me with your experience.iam new to this
    minisap problems.
    again all the problem of acessing the tables exit even after doing the steps.
    hope i have explained my problem very clearly.
    please find where i went wrong or suggest some help to acess the datadase tables with the minisap cd.

    all webas downloads (ABAP, java)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    webas 6.40 ABAP server
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/b2918eea-0601-0010-6284-e6cb7eee4399 [original link is broken]
    SAP gui
    https://www.sdn.sap.com/irj/sdn/softwaredownload?download=ftp://ftp.sap.com/pub/sdn/devkits/netweaver/abap/50072743_4.zip&df=0
    Regards
    Raja

  • SQL Syntax for Access database

    This pertains to LV only due to the fact that LV requires a slightly different syntax for SQL statements for use with Access than what you will see in the Access Queries SQL view.  For instance, I discovered that if you use a  ?  for a character placeholder  (can be any single character) in Access, you need to use an  _  (underscore)  for this feature.  I also discoverd that you use a % sign instead of an *  (asterisk) for any number of characters.
    The lat thing I am having trouble with is specifying a range of characters that could be in a certain position in the text field.  For instance, if the first character can be only an alpha between  A and Z, and the next two characters can be numbers anywhere from 1 to 12,  I would use   LIKE "[A-Z][1-12]*"      In LV, the double quotes are are replaced with single quotes but I cannot figure out what to replace the brackets with. 
    The brackets do not return a syntax error but also do not return any results that should fit the pattern.
    I have tried parenthesis, double quotes, using a TO in place of the dash, etc.
    Any input on this is very much appreciated.
    Doug
    I guess sometimes writing the problem out helps one deduce the answer by taking a closer look at what has been tried and what has not.
    So  LIKE "[A-Z][1-12]*"   in Access will be   LIKE ('[A-Z][01-12]%')  in LV.    I hadn't tried the pecent sign in place of the asterisk using the brackets.    Too bad this stuff isn't spelled out in detail somewhere.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

    Thanks Danubio for the links.  The one for the SQL utility may be helpful as I go forward.
    Mike,  yes I am using the connectivity toolkit.  It's what I cut my teeth on and up to this point, has not caused me any issues.   I rarely make changes after implementation but if I do, the use of typedef's keeps it pretty painless.  A brief read on the doc included in your referenced zip file confirms there are alternate methods to talks to the database tables  (I am not a one table programmer).  When time permits, I will do some trials and if warranted, will try some of your techniques at some point.  Simply not enough time currently.
    As I posted intially, I actually solved my problem before there were any replies and included my solution in the first post.  Why there is a syntax difference going from LV to an mdb is an unknown to me but it exists nonetheless.
    Thanks for the input on this
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

  • Cannot connect and run query for Access database

    Hi,
    I have a html file and a servlet file which contains code to connect to a database. I also have a sales database with customer table along with other tables in Access. I have created a DSN in Windows named sales which connects to the sales database. Now, when I am running the html form, the servlet does not run the query "Select * from Customer". It seems it cannot make any connection to the database.
    Any help is appreciated. I am very new to JDBC technology. Thanks.
    HTML FORM CODE:
    <html>
    <head><title>Sales</title></head>
    <body>
    <form action="http://localhost:8100/servlet/SalesServlet" method=POST>
    <strong>Select:</strong>
    <textarea cols=50 rows=8 name=select></textarea><p>
    <input type=submit value="Query">
    <input type=reset>
    </form></body></html>
    SALESSERVLET CODE:
    //Copyright (c) 2000, Art Gittleman
    //This example is provided WITHOUT ANY WARRANTY either expressed or implied.
    /* Queries the Sales database. Needs to be modified
    * to use metadata to correctly output the result set.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import sun.jdbc.odbc.JdbcOdbcDriver;
    public class SalesServlet extends HttpServlet {
    Connection con;
    Statement stmt;
    public void init(ServletConfig sc) throws ServletException {
    super.init(sc);
    try{
    new JdbcOdbcDriver();
    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);
    stmt = con.createStatement();
    }catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    public void doGet(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    resp.setContentType("text/html");
    PrintWriter out = resp.getWriter();
    try{
    String query = req.getParameter("select");
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsMetaData = rs.getMetaData();
    int cols = rsMetaData.getColumnCount();
    while(rs.next()) {
    String s = "";
    for(int i=1; i<=cols; i++)
    s += rs.getString(i) + ' ';
    s += "<br>";
    out.println(s);
    }catch(Exception e) {
    e.printStackTrace();
    out.close();
    public void doPost(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    doGet(req,resp);
    }

    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);This might be causing your problem, but not sure. Since you don't need a username or password for the ODBC connection, you can just use
    con = DriverManager.getConnection(url);
    The username and password aren't needed, so you can just use the above call instead. Perhaps the ODBC is trying to find a user called "" with a password "" and puking on itself, who knows... but you should post whatever exceptions or specific problems you're having that make you think you're not connecting.

  • Problem with accessing database

    Hi everybody
    I try to execute some wars included with the J2EE tutorial final version
    and I follow all the steps in building and deploying the
    specified wars, some of those wars is a punch of JSP pages and
    Servlet that make access to database.
    When I execute any war using the admin console at Sun application
    Server 8.2 PE. I have got the message in all the JSP pages
    That requires access to database.
    Your request cannot be completed. The server got the following error:
    "" javax.servlet.jsp.JspTagException: Error getting connection:
    "java.sql.SQLException: No suitable driver" :
    java.sql.SQLException: No suitable driver ""
    Am already starting the derby database server .
    I don�t know what the reason for that bug is.
    Please help �
    Best regards

    Hi everybody
    I try to execute some wars included with the J2EE
    tutorial final version
    and I follow all the steps in building and deploying
    the
    specified wars, some of those wars is a punch of JSP
    pages and
    Servlet that make access to database.
    When I execute any war using the admin console at Sun
    application
    Server 8.2 PE. I have got the message in all the JSP
    pages
    That requires access to database.
    Your request cannot be completed. The server got
    the following error:
    "" javax.servlet.jsp.JspTagException: Error getting
    connection:
    "java.sql.SQLException: No suitable driver" :
    java.sql.SQLException: No suitable driver ""
    Am already starting the derby database server .
    I don�t know what the reason for that bug is.
    Please help �
    Best regardsI suppose you've deployed the applications.
    Can you check to see in the admin console if the resources and connection pools also have been defined?
    Are the connection pools (database -- derby) reachable?
    Can you ping the database through the connection pool?
    Thanks,
    Kedar

  • Using SSIS for Access Database

    I have a Database in Access and I want extract data from this database into SQL Server 2008 R2 using SSIS. Then i want to use Analysis Services for Facts and Dimension Tables. Then i want to load the extracted data into a web application and want to use
    Reporting Services for reports. Can anybody help me in SSIS and Analysis Services and Reporting Services?

    Ok just help me, I want to extract data from single table of access given below and then i want to make facts and dimension tables . Kindly help me in populating these fact and dimension tables using Analysis Services.
    ConsumerID
    ReferenceNo
    OldAccountNo
    Name
    RelationWith
    RelationwithName
    Address
    ConnectionDate
    RegionType
    Circle
    Division
    SubDivision
    Feeder
    GridStation
    Company
    Tariff
    Load
    PresentReading
    PreviousReading
    UnitsConsumed
    CostofElectricity
    ElectricityDuty
    PTVFee
    GST
    IncomeTax
    ExtraTax
    FurtherTax
    NJSurcharge
    FPAMonth
    FPA
    GSTonFPA
    ITonFPA
    EDonFPA
    Arrears
    Installment
    Subsidies
    TotalFPA
    CurrentBill
    LPSurcharge
    PayableWithinDueDate
    PayableAfterDueDate
    BillingMonth
    DueDate
    1
    1242
    4242
    Nasir
    S/o
    Mohiuddin
    Hyderabad
    01-Jan-07
    Urban
    Hyderabad-I
    Garikhata
    Garikhata
    JAMSHORO 1
    66KV DIGRI
    HESCO
    A2(a)
    4
    7000
    5000
    2000
    32000
    480
    60
    5521.6
    200
    Jul-08
    45
    7.65
    0.675
    53
    38262
    3248
    38315
    41563
    Jan-09
    03-Jan-09
    2
    1234
    1234
    Kashif
    S/o
    Mohsin
    Jamshoro
    01-Jan-09
    Urban
    Hyderabad-II
    Garikhata
    Garikhata
    AMRI (SHAL.) 1
    66KV TANDO GHULAM ALI
    HESCO
    A1(a)
    1.75
    451
    400
    51
    295.29
    4.42935
    35
    50.9522895
    5.1
    Jul-08
    45
    7.65
    0.675
    53
    391
    30
    444
    474
    Jan-09
    03-Jan-09
    3
    1235
    1235
    Afzal
    S/o
    Mohsin1
    Jamshoro
    01-Jan-09
    Urban
    Hyderabad-II
    M.P.Khas .
    Liaquat Colony
    HALA ROAD 3
    132KV SAMARO
    HESCO
    A1(a)
    1.8
    250
    50
    200
    1622
    24.33
    35
    279.8761
    20
    Jul-08
    45
    7.65
    0.675
    53
    1981
    165
    2034
    2199
    Jan-09
    03-Jan-09
    4
    1236
    1236
    Akbar
    S/o
    Basit
    jamshoro
    01-Jan-10
    Urban
    Hyderabad-I
    Digri
    Hali Road
    HALA ROAD 11
    132KV JHIMPIR
    HESCO
    A1(a)
    1.95
    801
    500
    301
    3711.33
    55.66995
    35
    640.3899915
    30.1
    Jul-08
    45
    7.65
    0.675
    53
    4472
    377
    4525
    4902
    Jan-09
    03-Jan-09
    5
    1237
    1237
    Qaisar
    S/o
    Nazeer
    Hyderabad
    01-Jan-08
    Urban
    Hyderabad-I
    Kotri
    Samaro
    HYD N.P.T.S. 11
    132KV MIRPUR KHAS
    HESCO
    A1(a)
    2
    750
    700
    50
    289.5
    4.3425
    35
    49.953225
    5
    Jul-08
    45
    7.65
    0.675
    53
    384
    29
    437
    466
    Jan-09
    03-Jan-09

  • What Else Can I do to Resolve Permission Problems For Disk Drives?

    I am unable to access several of my hard drives. Three external Firewire drives are unavailable from my MacBook Pro running Snow Leopard. A non-bootable internal drive in a now defunct G5 is unavailable on a G4 computer running Tiger via the firewire terminal feature (other internal G5 drive is okay). And an external firewire drive connected to the G4 is not available.
    I have tried to reset privileges by:
    Use of Disk Utility
    Use of CHMOD command in Terminal (sometimes using sudo or sudo -s).
    Use of Info panel in finder.
    None of these functions allow me to change permissions.
    What else is there? What are the best sources of information? Why can I not change "custom" permissions?
    When a disk preview in the information panel shows a closed lock (not in the lower place for changing permissions), how do I open the lock? What does it mean?
    I could give more details on my steps, but I would need to write a book.

    Thanks for the reference. However, I still have the same problem. My latest Terminal session is listed below. Note that all of my directories except for the MacBook Pro HD are not allowed to be listed. They all show up on the desktop but may not be opened in the Finder.
    Below, I first generate an extended listing of my volumes. Then I tried unsuccessfully to change my permissions on one of the volumes both directly and as a super user. Then I tried to change the ownership of the volume to Root. After this, I checked my identification and repeated my try to change the permissions.
    Last login: Tue May 25 10:52:08 on ttys001
    Kelvin-Smiths-Laptop:~ kelvinsmith$ pwd
    /Users/kelvinsmith
    Kelvin-Smiths-Laptop:~ kelvinsmith$ ls -l /volumes/
    total 8
    drw-rw-rw-@ 43 kelvinsmith kelvinsmith 1530 May 13 22:37 120 GB Firewire
    drw-rw-rw- 23 kelvinsmith kelvinsmith 850 May 14 06:36 250 GB Firewire LT
    drw-rw-r-T 26 kelvinsmith kelvinsmith 952 May 15 11:48 ARCHIVES G5 1TB5
    drw-rw-rw- 29 kelvinsmith kelvinsmith 1054 May 18 13:37 Archives LT 1TB4
    drw-rw-r-T@ 48 kelvinsmith kelvinsmith 1700 May 15 11:48 BACK 120FW 1TB3
    drw-rw-r-T 51 kelvinsmith kelvinsmith 1802 May 16 07:49 BACK 160INT 1TB1
    drw-rw-r-T 18 kelvinsmith kelvinsmith 680 May 15 16:45 BACK 200INT 1TB2
    drw-rw-r-T 34 kelvinsmith kelvinsmith 1224 May 15 11:48 BACK IBOOK 1TB4
    drw-rw-rw- 23 kelvinsmith kelvinsmith 850 May 14 06:36 Back 250 FW LT 1TB3
    drw-rw-rw- 10 kelvinsmith kelvinsmith 408 Apr 19 14:26 Back Time Mach LT 1TB2
    lrwxr-xr-x 1 root admin 1 May 25 10:44 MacBook Pro HD -> /
    drw-rw-rw- 56 kelvinsmith kelvinsmith 1972 Apr 16 23:40 Start Two LT 1TB1
    Kelvin-Smiths-Laptop:~ kelvinsmith$ chmod 775 /Volumes/250\ GB\ Firewire\ LT
    chmod: Unable to change file mode on /Volumes/250 GB Firewire LT: Operation not permitted
    Kelvin-Smiths-Laptop:~ kelvinsmith$ sudo !!
    sudo chmod 775 /Volumes/250\ GB\ Firewire\ LT
    Password:
    chmod: Unable to change file mode on /Volumes/250 GB Firewire LT: Operation not permiKKKKKKKeKKKKKKeKeKKKKKeKKeKKKKK
    Kelvin-Smiths-Laptop:~ kelvinsmith$ sudo chown root /Volumes/250\ GB\ Firewire\ LT
    chown: /Volumes/250 GB Firewire LT: Operation not permitted
    Kelvin-Smiths-Laptop:~ kelvinsmith$ id
    uid=501(kelvinsmith) gid=501(kelvinsmith) groups=501(kelvinsmith),403(com.apple.sharepoint.group.2),204(developer),100(_lpoperator),98(_lpadmin),80(admin),61(localaccounts),12(everyone ),401(com.apple.accessscreensharing),402(com.apple.sharepoint.group.1)
    Kelvin-Smiths-Laptop:~ kelvinsmith$ ls -nd /Volumes/250\ GB\ Firewire\ LT
    drw-rw-rw- 23 501 501 850 May 14 06:36 /Volumes/250 GB Firewire LT
    Kelvin-Smiths-Laptop:~ kelvinsmith$ sudo chmod 775 /Volumes/250\ GB\ Firewire\ LT
    Password:
    chmod: Unable to change file mode on /Volumes/250 GB Firewire LT: Operation not permitted
    Kelvin-Smiths-Laptop:~ kelvinsmith$
    Do you see any errors on my part?

  • Problem in accessing database using a java class

    Hy Folks,
    I have written a class to retrive data from data base and compiled it.when I said java QueryExample, I am getting the following error message.It is as below.
    E:\>java QueryExample
    Loading JDBC Driver -> oracle.jdbc.driver.OracleDriver
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at QueryExample.<init>(QueryExample.java:37)
    at QueryExample.main(QueryExample.java:129)
    Creating Statement...
    Exception in thread "main" java.lang.NullPointerException
    at QueryExample.performQuery(QueryExample.java:70)
    at QueryExample.main(QueryExample.java:130)
    Now my question is can I run a jdbc program with out using any application server or webserver.
    If I can , what are all the packeages I have to down load, and how to set their classpath.
    Regards,
    Olive.

    My basic doubght is can we write a class like this.Here I give the sample code that I am using,,,, and using Oracle9i for Windows release 2 (9.2) .
    // QueryExample.java
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    * The following class provides an example of using JDBC to perform a simple
    * query from an Oracle database.
    public class QueryExample {
    final static String driverClass = "oracle.jdbc.driver.OracleDriver";
    final static String connectionURL = "jdbc:oracle:thin:@localhost:1521:O920NT";
    final static String userID = "scott";
    final static String userPassword = "tiger";
    Connection con = null;
    * Construct a QueryExample object. This constructor will create an Oracle
    * database connection.
    public QueryExample() {
    try {
    System.out.print(" Loading JDBC Driver -> " + driverClass + "\n");
    Class.forName(driverClass).newInstance();
    System.out.print(" Connecting to -> " + connectionURL + "\n");
    this.con = DriverManager.getConnection(connectionURL, userID, userPassword);
    System.out.print(" Connected as -> " + userID + "\n");
    } catch (ClassNotFoundException e) {
    e.printStackTrace();
    } catch (InstantiationException e) {
    e.printStackTrace();
    } catch (IllegalAccessException e) {
    e.printStackTrace();
    } catch (SQLException e) {
    e.printStackTrace();
    * Method to perform a simply query from the "emp" table.
    public void performQuery() {
    Statement stmt = null;
    ResultSet rset = null;
    String queryString = "SELECT name, date_of_hire, monthly_salary " +
    "FROM emp " +
    "ORDER BY name";
    try {
    System.out.print(" Creating Statement...\n");
    stmt = con.createStatement ();
    System.out.print(" Opening ResultsSet...\n");
    rset = stmt.executeQuery(queryString);
    int counter = 0;
    while (rset.next()) {
    System.out.println();
    System.out.println(" Row [" + ++counter + "]");
    System.out.println(" ---------------------");
    System.out.println(" Name -> " + rset.getString(1));
    System.out.println(" Date of Hire -> " + rset.getString(2));
    System.out.println(" Monthly Salary -> " + rset.getFloat(3));
    System.out.println();
    System.out.print(" Closing ResultSet...\n");
    rset.close();
    System.out.print(" Closing Statement...\n");
    stmt.close();
    } catch (SQLException e) {
    e.printStackTrace();
    * Close down Oracle connection.
    public void closeConnection() {
    try {
    System.out.print(" Closing Connection...\n");
    con.close();
    } catch (SQLException e) {
    e.printStackTrace();
    * Sole entry point to the class and application.
    * @param args Array of String arguments.
    * @exception java.lang.InterruptedException
    * Thrown from the Thread class.
    public static void main(String[] args)
    throws java.lang.InterruptedException {
    QueryExample qe = new QueryExample();
    qe.performQuery();
    qe.closeConnection();
    }

  • Error in accessing database homepage for oracle10g in fedora 13

    hii there,
    i have installed oracle10g in fedora 13. and i got problem in accessing database home page and also sqlplus.follwing message i got...
    Unable to connect
    Firefox can't establish a connection to the server at 127.0.0.1:8080.
    * The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    * If you are unable to load any pages, check your computer's network
    connection.
    * If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.

    What's the sqlplus error?

Maybe you are looking for

  • Where can I learn more about the Logic Environment?

    I've been using LogicPro for a while now - since version 7 came out - and I'm ready to learn more about the mysterious Logic Environment. Anyone know of a good tutorial or website on this topic? I don't have a specific question - what I need is a gen

  • IMac G5 as handsfree?

    I would like to know if it is possible to use my imac g5 as a bluetooth handsfree for my ericsson t610? I have it paired so when people dial i get a display up (i;m using romeo freeware to also control DVDs etc...) What i really want to do is to answ

  • Re:  Multiple servlets in one webapp

    Do I define all the servlets in the one web.xml or one web.xml per servlet?

  • Remote_login_passwordfile security

    I found this text and I cannot understand the risk (***) part. can you advise? If you set the REMOTE_LOGIN_PASSWORDFILE parameter to EXCLUSIVE, changes made to the SYS password are changed in the remote login password file. (***This means that the pa

  • MacBook Pro 4,1 hangs on boot

    Hi, a friend has an identical MacBookPro4,1 (Early 2008, 2.4GHz) to me which is hanging during the boot process just at the point where the boot screen would change to the first of two 'blue' screens. I have tried booting OSX from a DVD and USB image