Mpd database empty, --create-db not working

Out of nowhere mpd only shows one directory of files from my music directory. Not sure why it's doing this and I've tried several configurations that all work, except for this same problem. mpd gives me no errors. Any ideas?
thanks.

Rasi wrote:
donryanocero wrote:
Out of nowhere mpd only shows one directory of files from my music directory. Not sure why it's doing this and I've tried several configurations that all work, except for this same problem. mpd gives me no errors. Any ideas?
thanks.
that sounds alarmingly like wrong permissions
Care to elaborate? Suddenly I can't get ANY of my music in my MPD database.
I gotta be honest: deprecating the --create-db SUCKS. At least when that didn't work it would spit an error message at me. I can't get it to say ANYTHING is wrong.

Similar Messages

  • Mpd --create-db not work?

    $ mpd --create-db
    $ cmdline: invalid option: --create-db
    why?--create-db did not work for mpd anymore?

    Its unbelievable. this option is gone for 6 years now. and people still complain

  • Create user not working!

    Hello Everybody:
    I am a beginner here. I was trying to create a user named turner, password as tur. I had following code.
    SQL> connect scott/tiger;
    Connected.
    SQL> CREATE USER turner IDENTIFIED BY tur;
    CREATE USER turner IDENTIFIED BY tur
    *ERROR at line 1:ORA-01031: insufficient privileges
    SQL>
    System did not like it. It says scott has insufficient privileges. How can I look what privilege does scott have?
    How can I add create user privileges to scott. Any response in this regards highly apprciated.
    Thanks. -Bal

    SQL>connect system/manager
    SQL>grant dba to scott
    So, scott can work as dba.
    Sys and system are the default database administrator users.
    Both users are created automatically when database is created.
    and They are granted the DBA role.
    Sys is owner of the database data dictionary.
    and his(her) password is change_on_install.
    System is owner of additional internal tables and views used by Oracle tool.
    Both sys and system are regual users, which are stored in the data dictionary.

  • Oracle 9i Database Software Registraton Does Not Work

    The link http://www.oracle.com/technology/software/registration/index.html?9ibooks does not work and shows the messgae, "An error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administrator."
    Please fix the link or give instructions to get the registration key.
    Thank you,
    Robert Hunter
    [email protected]

    This program is defunct. We suggest that you download Oracle Database 10g Express Edition:
    http://www.oracle.com/technology/products/database/xe/index.html
    ...which is free, with no reg key required.
    Cheers, OTN

  • Database link create but not fatch data from link database give me this err

    Sir I create database link with this command system create link
    but when I user query then system give me this error you see in blow
    SQL> create database link xyz connect to mfatest identified by mfa786 using 'aamir';
    Database link created.
    SQL> select * from accbal@xyz;
    select * from accbal@xyz
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02068: following severe error from XYZ
    ORA-03113: end-of-file on communication channel
    this is same database but diffrent user
    scott user
    mfatest user
    please give me idea how i fatch data from link database/link other user
    thank
    aamir

    On the machine where you get that error does this work ?
    SQL> connect mfatest/mfa786@aamir
    SQL> select count(*) from accbal;
    If it doesn't, please post tnsnames.ora and sqlnet.ora from local machine, and the result, on remote machine, of
    C:\> lsnrctl services

  • Database querry & attempted update not working as expected????

    Hi All,
    I am posting my question here because it is related to a web application that I am developing. However as this question is database related I may not be posting in the correct location, please forgive me if this is the case.
    I recently developed a web application that uses JSP on the front end, servlets for processing, and a mysql database on the back end.
    I am using the Tomcat 5 software container, and instead of developing complex database pooling classes I am using the "DataSource" aspect of Tomcat. A relevant section of web.xml follows;
    <!-- Database Connection Pool Resources Defined -->
    <resource-ref>
          <res-ref-name>jdbc/craftstampindexes</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
          <res-ref-name>jdbc/stampData</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
          <res-ref-name>jdbc/craftsurvey</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
          <res-ref-name>jdbc/currencyconversion</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
    </resource-ref>I then access the contents of the databases defined above through a servlet, and then use the results (saved into JavaBeans from the Servlet) to build a JSP.
    I have had this code fully functional before. However recently I changed development computers and now the code does not appear to be functional.
    When I last had the code functioning information was correctly read from database tables and the tables were also successfully updated (where required).
    However now that I have changed development computers, tables are not updating. Strangely enough I am able to querry database tables, however I am not able to update them. Even though my servlet code tries to update the database tables I am not seeing any error messages, all I am seeing is the old contents of the database table, which are not being updated. I thought that I would have seen an error through Tomcat itself if Servlet code failed to update a table, however this is not happening.
    The only thing that I can think of which could be contributing to this error is the fact that on my old computer I had mysql installed onto a data patition called "D:\" drive, now I have installed mysql onto the standard Windows root directory "C:\" drive. This doesn't make it any easier for me to understand why tables are being read but not updated!!!
    Any help with this will be greatly appreciated, as I am truly at a loss. If I can provide further information which could be of assistance please don't hesitate to let me know.
    Thanks for your time.
    Kind Regards
    David Dartnell

    Hi Everyone,
    Thanks again for all of your assistance. I have not yet invested the time required to learn Log4j, however I did "lace" my code with println() statements to see what was going on through the console. This is my code as it looks now..
    package craftsurvey;
    import java.io.*;
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class CraftSurveyServlet extends HttpServlet
         private DataSource dataSource;
         public void init(ServletConfig config) throws ServletException
              super.init(config);
              try{
                   Context init = new InitialContext();
                   Context ctx = (Context) init.lookup("java:comp/env");
                   dataSource = (DataSource) ctx.lookup("jdbc/craftsurvey");
                   System.out.println("Finished looking up DataSource.");
              }catch (NamingException ex){
                   throw new ServletException("Cannot retrieve java:comp/env/jdbc/craftsurvey",ex);
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
              doPost(request, response);
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
              String surveyVote = request.getParameter("surveybutton");
              System.out.println("Entered doPost() method.");
              String[] finalSurveyResults = new String[5];
              String[] initialSurveyResults = new String[5];
              String newTableValue = "";
              int noOfBears = 0;
              int noOfCountry = 0;
              int noOfFloral = 0;
              int noOfHearts = 0;
              int noOfWording = 0;
              int totalVotes = 0;
              /* Printwriter included for testing purposes */
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              Connection con = null;
              Statement stmt = null;
              ResultSet rs1 = null;
              ResultSet rs2 = null; 
              System.out.println("Database access code should be accessed now.");
              /* Database Query performed */
              try {
                   synchronized (dataSource) {
                       con = dataSource.getConnection();
                   String initialFetch = "SELECT bears, country, floral, hearts, wording FROM survey";           
                   stmt = con.createStatement();
                   System.out.println("Database Statement created.");
                   rs1 = stmt.executeQuery(initialFetch);
                   System.out.println("First Database querry performed.");
                   while(rs1.next())
                        initialSurveyResults[0] = rs1.getString("bears");
                        initialSurveyResults[1] = rs1.getString("country");
                        initialSurveyResults[2] = rs1.getString("floral");
                        initialSurveyResults[3] = rs1.getString("hearts");
                        initialSurveyResults[4] = rs1.getString("wording");
                   noOfBears = Integer.parseInt(initialSurveyResults[0]);
                   noOfCountry = Integer.parseInt(initialSurveyResults[1]);
                   noOfFloral = Integer.parseInt(initialSurveyResults[2]);
                   noOfHearts = Integer.parseInt(initialSurveyResults[3]);
                   noOfWording = Integer.parseInt(initialSurveyResults[4]);
                   if(surveyVote.equals("bears"))
                        noOfBears++;
                        Integer noOfBearsInt = new Integer(noOfBears);
                        newTableValue = noOfBearsInt.toString();
                   else
                   if(surveyVote.equals("country"))
                        noOfCountry++;
                        Integer noOfCountryInt = new Integer(noOfCountry);
                        newTableValue = noOfCountryInt.toString();
                   else
                   if(surveyVote.equals("floral"))
                        noOfFloral++;
                        Integer noOfFloralInt = new Integer(noOfFloral);
                        newTableValue = noOfFloralInt.toString();
                   else
                   if(surveyVote.equals("hearts"))
                        noOfHearts++;
                        Integer noOfHeartsInt = new Integer(noOfHearts);
                        newTableValue = noOfHeartsInt.toString();
                   else
                   if(surveyVote.equals("wording"))
                        noOfWording++;
                        Integer noOfWordingInt = new Integer(noOfWording);
                        newTableValue = noOfWordingInt.toString();
                   System.out.println("Survey table update about to be attempted.");
                   String updateSurvey = "UPDATE survey SET " + surveyVote + "= " + newTableValue;
                   stmt.executeUpdate(updateSurvey);
                   System.out.println("Survey table updated.");
                   String finalFetch = "SELECT bears, country, floral, hearts, wording FROM survey";
                   rs2 = stmt.executeQuery(finalFetch);
                   System.out.println("Final querry performed.");
                   while(rs2.next())
                        finalSurveyResults[0] = rs2.getString("bears");
                        finalSurveyResults[1] = rs2.getString("country");
                        finalSurveyResults[2] = rs2.getString("floral");
                        finalSurveyResults[3] = rs2.getString("hearts");
                        finalSurveyResults[4] = rs2.getString("wording");
                 catch(Exception ex)
                     out.println("<H2>Exception Occurred</H2>");
                     out.println(ex);
                   if (ex instanceof SQLException)
                        SQLException sqlex = (SQLException) ex;
                        out.println("SQL state: "+sqlex.getSQLState()+"<BR>");
                        out.println("Error code: "+sqlex.getErrorCode()+"<BR>");
                 finally{
                   try{
                        rs1.close();
                        rs2.close();
                   }catch(Exception ex){}                
                   try{
                        stmt.close();
                   }catch(Exception ex){}
                   try{
                        con.close();
                   }catch(Exception ex){}
              System.out.println("All table querries should have been performed now.");
              totalVotes = noOfBears + noOfCountry + noOfFloral + noOfHearts + noOfWording;
              SurveyBean surveyResultsBean = new SurveyBean();
              surveyResultsBean.setBearVotes(noOfBears);
              surveyResultsBean.setCountryVotes(noOfCountry);
              surveyResultsBean.setFloralVotes(noOfFloral);
              surveyResultsBean.setHeartVotes(noOfHearts);
              surveyResultsBean.setWordingVotes(noOfWording);
              surveyResultsBean.setTotalVotes(totalVotes);          
              request.setAttribute("surveyResults", surveyResultsBean);
              /* Control forwarded to JSP for display */
              String url = "/ferngully/surveyResults";
              ServletContext servCont = getServletContext();
              RequestDispatcher reqDispatch = servCont.getRequestDispatcher(url);
              System.out.println("Request dispatched to surveyResults.jsp.");
              reqDispatch.forward(request, response);          
    }The output I receive at the console as a result of running this code is the following:
    Finished looking up DataSource
    Entered doPost() method
    Database access code should be accessed now
    All table querries should have been performed now
    Request dispatched to surveyResult.jsp
    It looks as though the entire synchronized block of code is being completely skipped!
    If anybody could offer further assistance it will be greatly appreciated.
    Thanks for your time.
    Kind Regards
    David

  • Secure Empty Trash Setting not working HELP!!!

    Im trying to turn off the secure empty trash I dont know how it got turned on
    but its not working
    Ive tried going to Finder > Preference > advanced > uncheck the secure empty box
    but it doesnt work it keeps asking me if im sure to delete the item
    I dont want secure empty trash i like keeping the files for a while just in case
    HELP please

    Click on the item in the Finder's sidebar with the house icon and verify that you are able to write to this folder in the Ownership & Permissions section of the Get Info window, and that it isn't locked; if it is already set this way and you get that error, open the Terminal in the /Applications/Utilities/ folder and run the following:
    mkdir ~/.Trash
    If you get a message stating that the folder exists, run the following:
    sudo chown $UID ~/.Trash
    chmod u+rwx ~/.Trash
    The first command in the second set will prompt you for your administrator password; nothing will appear in the Terminal window while it is being typed. In either case, click on the Finder icon in the Dock with the Control and Option keys pressed, and relaunch it.
    (55512)

  • [Solved] mpd --create-db not working

    Afrer updating
    $ pacman -Q mpd
    mpd 0.16-2
    I get this error
    $ mpd /home/doctor/.mpd/mpd.conf --create-db
    ** (mpd:6415): CRITICAL **: option parsing failed: Unknown option --create-db
    So how should I create a new database now?
    Last edited by Doctor Drive (2010-12-18 12:13:01)

    'mpc update'.
    --create-db have been deprecated since 0.15

  • Database Adapter Logical Delete Not Working....

    Hi,
    I have an issue with the DB Adapter under BPEL GA 10.1.3.1. I'm trying to do a logical delete on a table however the logical delete isn't updating the records to show that they've been processed.
    I've created a simple test case with a 3 column table sitting in Oracle XE DB with the third column containing the logical delete flag. I've created a new process consisting of a DB Adapter partnerlink and a receive. In the logs (below) I can see the Select statement followed by the Update (logical delete) occurring but the Update statement just actually run against the DB. I can copy the update statement and run this through SQL as the same DB user and it updates the records.
    Has anyone seen this before?
    Thanks.
    <2006-11-13 15:06:30,901> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client acquired
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> SELECT A, B, C FROM F_TABLE WHERE (C = ?)
         bind => [IN]
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client acquired
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> TX beginTransaction, status=NO_TRANSACTION
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> TX Internally starting
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> external transaction has begun internally
    <2006-11-13 15:06:30,917> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.DBAdapterConstants isElementFormDefaultQualified> Element is FTABLE namespace is http://xmlns.oracle.com/pcbpel/adapter/db/top/ReadTABLE
    <2006-11-13 15:06:30,933> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.ox.O_XParser parse> Transforming the row(s) [<FTABLE Record A />, <FTABLE Record B />, <FTABLE Record C />] read from the database into xml.
    <2006-11-13 15:06:30,933> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_TABLE_ptt::receive(FTABLECollection)]Posting inbound JCA message to BPEL Process 'Read_TABLE' receive activity:
    <FTABLECollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ReadTABLE">
    <FTABLE>
    <a>Record</a>
    <b>A</b>
    <c>IN</c>
    </FTABLE>
    <FTABLE>
    <a>Record/a>
    <b>B</b>
    <c>IN</c>
    </FTABLE>
    <FTABLE>
    <a>Record</a>
    <b>C</b>
    <c>IN</c>
    </FTABLE>
    </FTABLECollection>
    <2006-11-13 15:06:30,933> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Delivery Thread 'JCA-work-instance:Database Adapter-6 performing unsynchronized post() to localhost
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> Begin batch statements
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> UPDATE F_TABLE SET C = ? WHERE ((A = ?) AND (B = ?))
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log>      bind => [OUT, Record, A]
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log>      bind => [OUT, Record, B]
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log>      bind => [OUT, Record, C]
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> End Batch Statements
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> TX commitTransaction, status=STATUS_ACTIVE
    <2006-11-13 15:06:31,073> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> TX Internally committing
    <2006-11-13 15:06:31,323> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> external transaction has committed internally
    <2006-11-13 15:06:31,323> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client released
    <2006-11-13 15:06:31,323> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchBegin: Batch 'bpel___localhost_default_Read_TABLE_1_4__1163389596916.ReadTABLE.FTABLE1163394391323' (bpel___localhost_default_Read_TABLE_1_4__1163389596916.ReadTABLE.FTABLE1163394391323) starting...
    <2006-11-13 15:06:31,323> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchComplete: Batch 'bpel___localhost_default_Read_TABLE_1_4__1163389596916.ReadTABLE.FTABLE1163394391323' (bpel___localhost_default_Read_TABLE_1_4__1163389596916.ReadTABLE.FTABLE1163394391323) has completed - final size = 3
    <2006-11-13 15:06:31,323> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> client released
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::Read_TABLE> entering <scope> at line [no line]
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::Read_TABLE> entering <scope> at line [no line]
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::Read_TABLE> entering <sequence> at line 55
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::Read_TABLE> entering <sequence> at line 55
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELEntryReceiveWMP::Read_TABLE> executing <receive> at line 58
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELEntryReceiveWMP::Read_TABLE> set variable 'Read_TABLE_receive_InputVariable' to be readOnly, payload ref {FTABLECollection=108e2d22815529ac:-3067a9ff:10edf296212:-78da}
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELEntryReceiveWMP::Read_TABLE> variable 'Read_TABLE_receive_InputVariable' content {FTABLECollection=oracle.xml.parser.v2.XMLElement@1303465}
    <2006-11-13 15:06:31,339> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELInvokeWMP::Read_TABLE> executing <invoke> at line 61

    Hi,
    I haven't yet used 10.1.3, but we had a number of issues under 10.1.2.0.2 around caching and upd/ins/del.
    A number of things we changed were
    - set usesBatchWriting to false in oc4j-ra.xml file
    - set identityMap to NoIdentityMap via toplink work bench
    - set should-always-refresh-cache-on-remote,should-disable-cache-hits,should-disable-cache-hits-on-remote to true in toplink mappings.xml file (note this last one is only if toplink was not used to insert the source data).
    Ashley

  • Sql developer database diff - generate script not working

    Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
    ORA-06512: at "SYS.DBMS_METADATA", line 4757
    ORA-06512: at line 1
    and
    Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
    I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
    Any ideas to solve this issue? Thanks in advance, Kelly

    Can reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
    I noticed that 10gR2 allows something like:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    end;
    Error report:
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
    ORA-06512: at "SYS.DBMS_METADATA", line 3950
    Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
    Edited by: user5420304 on Jun 15, 2010 10:29 AM

  • Java Program to Create Spatial not working after upgrade from 8.1.6 to 8.1.7

    First let me say I am totally new to Oracle. I did a new installation of 8.1.7 and created the user and tablespace as follows:
    -- Create a new tablespace - AT 14 Jan 2000
    DROP TABLESPACE gis INCLUDING CONTENTS;
    CREATE TABLESPACE gis DATAFILE 'c:\oracle\oradata\dev\gis.dbf'
    SIZE 1000M REUSE
    DEFAULT STORAGE ( INITIAL 20K NEXT 10K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 );
    -- Create the user
    DROP USER gis cascade;
    CREATE USER gis IDENTIFIED BY tutorial1 DEFAULT TABLESPACE tutorial1 TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;
    GRANT DBA TO gis;
    GRANT EXP_FULL_DATABASE TO gis;
    GRANT IMP_FULL_DATABASE TO gis;
    GRANT CONNECT TO gis;
    GRANT UNLIMITED TABLESPACE TO gis;
    ALTER USER gis DEFAULT ROLE ALL;
    A Java script is then run that worked when it was run against our 8.1.6 version.
    The SQL statement works until it hits the 581st geometry. This particular geometry contains 17 line segments.
    The java bombs with the following output:
    UPDATE mtrtemp2 set GEOMETRY = (SELECT SDO_GEOM.SDO_UNION(a.geometry, b.geometry, .00000001) FROM mtrtemp2 a, mtrbuffer b WHE
    b.sdo_gid = 580)
    hhhhh
    c is: 57
    581
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    582
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    583
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    584
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    585
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    586
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    587
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    588
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    589
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    590
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    591
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    592
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    593
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    594
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    595
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    596
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    597
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    598
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    599
    java.sql.SQLException: Io exception: End of TNS data channel
    hhhhh
    c is: 57
    600
    IR111
    Exception in thread "main" java.sql.SQLException: Io exception: End of TNS data channel
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java)
    at mtroutline.loaddb(mtroutline.java:72)
    at mtroutline.main(mtroutline.java:107)
    Can anyone please help me resolve?

    Can you explain this some more?
    One of the problems when using bfiles is that you must keep the filesystem files in sync with the database yourself.
    Are you sure the file information in the bfiles don't contain images?
    I wonder what you mean by "stran machine symbols"?
    Are these machine image icons?

  • Final Cut Pro X - Create Archive not working with Yosemite!

    Just upgraded my laptop to Yosemite and now I can't create any camera archives.  I am not sure if it is my laptop or Yosemite that is causing the issue.  I tried creating a camera archive with the same SD card on another machine (running Mavericks) and it worked fine.  Anyone else having similar issues?

    Oddly, still no luck. i was hoping to find something in the logs but FCPX keeps pretty quiet. My goal was to see if this feature was broken but since it is working for others, I will close this question.
    Thanks

  • Database link name does not work with JDBC.

    Hi,
    I am new to Oracle database. I run a query from a Java class and after waiting around 20 minutes then it returns "ORA-04021 timeout occurred while waiting to lock DBMS_LOCK" error. The query is:
    select r2.EXTERNAL_ID, d.EXTERNAL_ID AS ISIMPORTED from (select external_id from results r1
    where r1.*run_id = ?* and not exists
    (select id from results@cdata where external_id = r1.external_id and run_id = r1.run_id)
    order by r1.external_id) r2 left join dummymaindata d on r2.external_id =d.external_id;
    In this query I use a database link to access another database. The strange thing is at least for me, if I use "@cdata" it always gets stuck for at least 20 minutes and end with an exception "ORA-04021 timeout occurred while waiting to lock DBMS_LOCK" but if I use any combination of the database link name instead of the "@cdata" for example "@CDATA", "@Cdata", "@cDaTA", "@CdaTa" etc., it works fine without any exception.
    This starnge behavior is only with this query for using the database link name while with any other query it does not matter that how I do write the db link name.
    Kindly answer.
    Arshad..

    Hi,
    1) What is your Oracle, JDBC driver, target Oracle (to which you are connecting through DB link) versions?
    2) Are you using DBMS_LOCK somewhere in the code? PL/SQL procedures on the source/target servers?
    3) Can you construct a complete reproducible test case?

  • Create is not working

    Hello again (i hope you are not bored of me )
    i have a 10.2.0.0 building 1811
    i'm trying to do the same example that is in the workshop of adf's
    everything is good but when i am in the first page (a table with all the rows) and i create a new row (pressing the button that is created when i drag a create action) for a second time, in the other page is showing the row that have the focus and is not creating a new row
    i presume that cut be some bug in the version or some configuration with the forward strut's because i have two forwards from the first page to the edit page
    one called "Edit" and the other called "Create"

    Hi,
    what about using a database sequence to fill in this value. In this case the field (attribute) could be set to DBSequence and ADF BC handles the case. If you want to continue with your approach then the duplicate key check needs to be done in the ADF BC View Object RowImpl class you create for the View Object. In here you can override e.g the set<Attribute> method.
    Anyway, having a look at the Fusion Developer guide surely helps
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/toc.htm
    Frank

  • Database mail configuration is not working with office365

    Hi there!
    I' looking for some help debugging a blocking error in our DEV environment.
    We're currently using Windows 2008 R2 Standard, with IIS 7.5 and MS SQL Server 2012 Standard.
    We're experiencing troubles while trying to use database mail in conjunction with Office365 SMTP.
    We've generated our self-signed certificate, via IIS, and configured SMTP Virtual Relay Server with local (machine-name) and remote domain, following a step-by-step tutorial from configureoffice365.com.
    We've also checked at the original MSDN tutorial, but it's been of little use (at least for us).
    We would like to use our Office365 SMTP server to send out notifications and we're currently using Office365 working credentials to try the SMTP authentication, but we're stuck with this error (x is used to hide sensible data):
    OutboundConnectionCommand [12/May/2014:13:35:08 +0100] "STARTTLS - SMTP" 0 8
    OutboundConnectionResponse [12/May/2014:13:35:08 +0100] "- -?220 2.0.0 SMTP server ready SMTP" 0 27
    OutboundConnectionCommand [12/May/2014:13:35:08 +0100] "EHLO -?SQLDEVxxxxx SMTP" 0 4
    OutboundConnectionResponse [12/May/2014:13:35:08 +0100] "- -?250-xxxxx.outlook.office365.com Hello [x.x.x.x] SMTP" 0 58
    OutboundConnectionCommand [12/May/2014:13:35:08 +0100] "AUTH - SMTP" 0 4
    OutboundConnectionResponse [12/May/2014:13:35:08 +0100] "- -?334 xxxxx SMTP" 0 16
    OutboundConnectionResponse [12/May/2014:13:35:14 +0100] "- -?535 5.7.3
    Authentication unsuccessful SMTP" 0 37
    Any idea or suggestion?
    Thank you.

    Hi giovannizuccaro,
    According to your description, when you configure database mail in your SQL Server Management Studio,
     Please note that you enter the server to send to as localhost and the email address as the email you have on the office 365 Exchange online for the same account you used to configure the delivery configuration of the local SMTP server. And
    you should choose anonymous authentication for SMTP authentication. Once finished the configuration, you can test the email sending, check if you are able to send emails to any external recipient using you Exchange online.
    For more information, there is detail about how to configure SQL Database mail so send emails using Office 365 (Exchange Online):
    http://blogs.msdn.com/b/momalek/archive/2013/02/25/how-to-configure-sql-database-mail-so-send-emails-using-office-365-exchange-online-a-walkthrough.aspx
    If there are still some errors, I recommend you post your error message on the Office 365 forums (https://community.office365.com/en-us/f/default.aspx ), It is appropriate and more experts
    will assist you.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Cannot edit an existing table in sql server 2012

    Exception has been thrown by the target of an invocation. (SQLEditors) ADDITIONAL INFORMATION: The 'DbProviderFactories' section can only appear once per config file. (System.Configuration) I was trying to design a table and it threw this exception.

  • Database Structure window MISSING RESOURCE

    Hi, I am trying to debug a PL/SQL package, but get the message Errors -><MISSING RESOURCE> in the structure window Selecting the error brings me to the following line: SELECT distinct asg.ref_group_id FROM agent_super_groups asg WHERE asg.agent_super

  • N95-1 Mic Problem

    Good day, So after i opened up my cellphone, changed the faceplates and keypad my mic stopped working. i can receive calls and hear the other line but they cant hear me. please help. and where is the mic located?

  • Keyboard portrait view, some letters won't work. Help?

    When I'm on the keyboard using my iPod touch 8gb 3rd generation, on portrait view, the letters B, H, J, and U won't work. Buut when I have it on landscape view the work fine. Also when I try to unlock it, it takes a view slides before it will actuall

  • Premiere Pro Freezing

    All i'm trying to edit some 1080p 24p Dslr footage on my Laptop, but PPrpo keeps freepzing. Can anyone guide me or help me, do I have to convert the files to make them smaller, the folder I'm currently work with right now is 39gb. I have two sequence