Complex predefined JDBC Theme with stacked styles ?

Is it possible to have a predefined Complex JDBC Theme and use stacked styles ?
complex JDBC themes use the features element of the theme to store a sql statement. I have tried adding other styles but it seems mapviewer only uses the first style rule.
Just want to check if there are workarounds to this or if I'm missing something.
I can always add extra predefined themes but I'm worried about the performance hit of querying the same table multiple times just to get different styles applied to the same data.

Predefined themes with full SQL query defined use just one styling rule (the first one).
If you are able to define query conditions for your theme, then you may have a couple of options:
1) define several styling rules, each one with its query condition and styles.
2) define one rule with query condition and an advanced rendering rules. On the advanced rendering
rules section you can define several styles to be applied on your theme data.
Joao

Similar Messages

  • JDBC theme - dynamic advanced style

    Hi
    I'm using dynamic JDBC theme's from within javascript. For instance :
    themebasedfoi=new MVThemeBasedFOI("XX","<themes><theme name='XX'><jdbc_query asis='true' spatial_column='GEOLOC' jdbc_srid='82343' render_style='DK_VALUE' datasource='PHV_MAP'>"+aip_sql+"</jdbc_query></theme></themes>");
    that works nicely.
    Now I want to be able to build the advanced bucket style on the fly instead of using a fixed advanced style(in the example DK_VALUE').
    I can define the style as for instance:
    vol_style="<style name='vol_style'><AdvancedStyle><BucketStyle><Buckets><RangedBucket seq='0' label='less than 100k' high='10000.0' style='C.RED_1'/><RangedBucket seq='1' label='100k - 150k' low='10000.0' high='15000.0' style='C.YEL_1'/><RangedBucket seq='2' label='150k - 250k' low='15000.0' high='20000.0' style='C.BLUE_1'/><RangedBucket seq='3' label='250k - 350k' low='20000.0' high='30000.0' style='C.GRE_1'/><RangedBucket seq='4' label='350k - 450k' low='30000.0' high='100000.0' style='C.GRE_2'/></Buckets></BucketStyle></AdvancedStyle></style>";
    But how can I get the dynamic theme to use this dynamically created advanced style?
    Jesper

    With MapViewer 11 preview 1, you can define dynamic styles and use the dynamic styles in your jdbc themes. We provide classes such as MVStyleColor, MVStyleMarker, MVBucketStyle, MVBarCharStyle, MVPieCharStyle and the most generalized all, MVXMLStyle to define any MapViewer supported style.
    Here is an example.
    var dynStyle = new MVStyleColor("mycolor", "00FF00", "FF0000") ;
    var themeDef =
    '<theme name="mytheme" >' +
    '<jdbc_query spatial_column="geometry" jdbc_srid="8307" ' +
    'render_style="mycolor" datasource="mvdemo">'+
    'select geometry from counties' +
    '</jdbc_query></theme>' ;
    var themeBasedFOI = new MVThemeBasedFOI('county_theme', themeDef);
    themeBasedFOI.addStyle(dynStyle) ;
    mapview.addThemeBasedFOI(themeBasedFOI);

  • Advanced Styles with JDBC Themes

    Hi,
    I am trying to use the Java API to add a JDBC theme to a map request (no problem we have been doing this for some time). However, I now want to apply a predefined Advanced style to that theme but am struggling to do so. If I predefine a theme and use the predefined advanced style them it works fine. When I user the .addJDBCTheme call with the advanced style as the style parameter it does not work. I am guessing I have to use the setThemeRenderingRules to get this to work but the documentation is not great and I can't find any examples. Has anyone applied an advanced theme to JDBC layers and if so how did you do it, any help much appreciated.
    Chris

    Hi Chris,
    when using a predefined theme the attribute column (or columns) to be used by the advanced style are defined on the theme definition.
    For dynamic themes, you need to select the attribute on the dynamic SQL expression. On the following example, the column TOTPOP is used for the render style.
      <themes>
        <theme name="states" >
           <jdbc_query
             spatial_column="GEOM"
             render_style="V.USSTATES TOTPOP"
             jdbc_srid="8265"
             datasource="mvdemo"
             asis="false">select GEOM, TOTPOP from STATES
           </jdbc_query>
         </theme>
      </themes>Joao

  • How to use bounding theme with jdbc theme

    Hello
    I'm using oracle maps javascript API to locate geometry with jdbc theme based foi, so how to use bounding theme with jdbc theme? Give me help, thanks.

    Hi,
    You can find some information & code samples at this link :-
    http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/xadistra.htm#g1077100
    Regards,
    Sandeep

  • [HELP] Error: "JDBC theme based FOI support is disabled for the given data"

    Hi all,
    I have already set up MapViewer version 10.1.3.3 on BISE1 10g OC4J server. I am current using JDK 1.6. I create a mvdemo/mvdemo user for demo data.
    The MapViewer demo is running fine with some demo without CHART. But give this error with some maps that have CHART like: "Dynamic theme, BI data and Pie chart style", "Dynamic theme and dynamic Bar chart style". The error is:
    ----------ERROR------------
    Cannot process the FOI response from MapViewer server. Server message is: <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.\nRoot cause:FOIServlet:MAPVIEWER-06016: JDBC theme based FOI support is disabled for the given data source. [mvdemo]</oms_error>.
    ----------END ERROR------
    I searched many threads on this forum, some point me to have this allow_jdbc_theme_based_foi="true" in mapViewerConfig.xml and restart MapViewer.
    <map_data_source name="mvdemo"
    jdbc_host="localhost"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Error Images: [http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png|http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png]
    I have this configuration, but no luck. Could anyone show me how to resolve this problem?
    Rgds,
    Dung Nguyen

    Oop, i managed to have this prob resolved!
    My prob may come from this I use both scott and mvdemo schema for keeping demo data (import demo data).
    Steps i made to resolve my prob are:
    1) Undeploy MapViewer from Application Server Control (http://localhost:9704/em in my case)
    2) Drop user mvdemo
    3) Download mapviewer kit from Oracle Fusion Middleware MapViewer & Map Builder Version 11.1.1.2
    4) Deploy MapViewer again
    5) Recreate mvdemo and import demo data
    6) Run mcsdefinition.sql, mvdemo.sql with mvdemo user (granted dba already)
    7) Edit mapViewerConfig.xml
    <map_data_source name="mvdemo"
    jdbc_host="dungnguyen-pc"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="!mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Save & Restart MapViewer
    And now, all demos run fine. Hope this helpful for who meet prob like my case.

  • Jdbc theme query problems

    Hi all,
    I'm integrating Oracle Maps (10) in BISE, I've used Navtweq maps with my spatial data and I've created some maps, themes etc.
    Now I'm trying to create some more complex JDBC themes.
    Everything works fine if I use simple query, but I'm not able to create a theme whit more complex queries
    for example I have 3 tables
    m_admin_area2 (with geometric infos)
    tab_supporto1 (a table with all the sales per day and region)
    I want to know all the regions where my sales are incremented by 10% in a specified arch of time
    this is the query :
    select m_admin_area2.geometry, A.corrente, B.precedente,  ((A.corrente-B.precedente)*100/B.precedente) INCREMENT
    FROM
    m_admin_area2,
      Select m_admin_area2.feature_name, m_admin_area2.carto_id, sum
      (tab_supporto1.tot) as corrente
      from tab_supporto1, m_admin_area2
      where m_admin_area2.carto_id = tab_supporto1.carto_id
      and tab_supporto1.data_ordine <= 20071231
      and tab_supporto1.data_ordine > 20061231
      group by m_admin_area2.carto_id, m_admin_area2.feature_name) A ,
      (Select m_admin_area2.feature_name, m_admin_area2.carto_id, sum
      (tab_supporto1.tot) as precedente
      from tab_supporto1, m_admin_area2
      where m_admin_area2.carto_id = tab_supporto1.carto_id
      and tab_supporto1.data_ordine <= 20061231
      and tab_supporto1.data_ordine > 20051231
      group by m_admin_area2.carto_id, m_admin_area2.feature_name ) B
      WHERE m_admin_area2.carto_id = A.carto_id AND m_admin_area2.carto_id = B.carto_id
      AND ((A.corrente-B.precedente)*100/B.precedente)>10The error returned is:
    Cannot process the following response from FOI server:
    <?xml version="1.0" encoding="UTF-8" ?> <oms_error> [Foi Server] foi process error.:Origine dati di mappa [oms] non trovata (map data source not found).</oms_error>
    Thanks,
    Luca
    Message was edited by:
    LukeBk

    Could the error be similar to this:
    JDBC query error
    Hope this helps,
    Dan Abugov (NAVTEQ)

  • Workaround for using Oracle JDBC extension with WLS pooling

    Reading the newsgroup I saw that many of us encountered the problems
    with ClassCastException when tried to use Oracle JDBC extension
    with WLS pooling. I also had.
    In this case BEA recommends to use dangerous
    method getVendorConnection() which exposes
    the physical connection object to your code.
    Yes it's really dangerous because of unsafe usage may breaks
    WLS pooled connection(s).
    Moreover, this practice will make your JDBC code
    unportable (your JDBC code in addition to Oracle dependence
    became Weblogic dependent):
    void doSmth() {
    Connection con = ...;
    Connection vCon = ((WLConnection)con).getVendorConnection();
    // + mess of usage con in one places and vCon in others
    // (where Oracle extensions are needed)
    // !Don't forget to don't close vCon!
    Sux.
    I found the workaround.
    Introduction
    ============
    Yes the real cause of ClassCastException is that
    in depth of Oracle driver the casting
    to class oracle.jdbc.driver.OracleConnection
    (not to interface oracle.jdbc.OracleConnection)
    is performed.
    Someone can say that this is bug or pure desing.
    Weblogic pooled connection provide dynamic
    implementation for all public interfaces
    which real physical (wrapped) connection object implements.
    Great feature!
    But I guess that all interface methods implemented
    by simple call-delegation to physical (wrapped) connection object.
    In case of oracle.jdbc.OracleConnection interface
    this approach doesn't work for at least one its method:
    public OracleConnection unwrap()
    WLS pooled connection shoudn't implement this method by
    delegation to physical connection object BUT should
    return physical connection object itself!
    // Wrong implementation of unwrap()
    // delegation is used
    public OracleConnection unwrap() {
    return physicalConnection.unwrap();
    // Right implementation of unwrap()
    // physical connection returned
    public OracleConnection unwrap() {
    return physicalConnection;
    Workaround
    ==========
    1. Develop your own OracleConnection wrapper class:
    import oracle.jdbc.OracleConnection;
    import weblogic.jdbc.extensions.WLConnection;
    public class MyOracleConnectionImpl implements OracleConnection {
    private OracleConnection con;
    public MyOracleConnectionImpl(OracleConnection connection)
    throws SQLException
    this.con = connection;
    public OracleConnection unwrap() {
    return (OracleConnection)
    ((WLConnection)con).getVendorConnection();
    /* Implement all other methods by delegation to con object */
    2. Don't get Connections directly from DataSource --
    develop your own simple (may be static) utility
    class which retrives Connections from dataSource
    and returns them wrapped into your MyOracleConnectionImpl
    to your code from some method:
    puclic abstract class MyConnectionSource {
    public static Connection getConnection() {
    Connection con = // get it from DataSource
    return new MyOracleConnectionImpl((OracleConnection)con);
    3. Add attribute RemoveInfectedConnectionsEnabled="false"
    to definition of your JDBCConnectionPool within config.xml
    You may do it because of you `safely` use vendorConnection --
    you don't expose it to application code.
    4. Enjoy the Oracle JDBC extensions in your code!
    Example:
    Connection con = MyConnectionSource.getConnection;
    ArrayDescriptor add =
    ArrayDescriptor.createDescriptor("your_type", con);
    Hope it helps to someone.
    Best regards,
    Eugene Voytitsky

    Hello Eugene Voytitsky,
    Thanks Eugene Voytitsky for your idea
    I have tried the solution suggested by You, but it did not work.
    It still throws ClassCastException.
    I am sorry for posting the whole code of two classes below.
    I did this to give you more clarity.
    I am also indicating the place where the exception was thrown..
    Please let me know if I am doing something wrong.
    OracleConnection Wrapper class
    package ejbTesting;
    // sql imports
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.sql.SQLWarning;
    import java.sql.Statement;
    // util imports
    import java.util.Map;
    import java.util.Properties;
    // imports from Oracle Driver Classes
    import oracle.jdbc.OracleConnection;
    import oracle.jdbc.OracleOCIFailover;
    import oracle.jdbc.OracleSavepoint;
    // import from Weblogic extensions
    import weblogic.jdbc.extensions.WLConnection;
    public class WeblogicConnectionWrapper implements OracleConnection
         // oracle connection object
         private OracleConnection connection;
         public WeblogicConnectionWrapper (OracleConnection orclConnection)
              try
                   this.connection = orclConnection;
              catch(Exception unexpected )
                   unexpected.printStackTrace();
         public OracleConnection unwrap()
              try
              // The datasource returns a weblogic.jdbc.pool.Connection
              // This needs to be type casted to weblogic.jdbc.extensions.WLConnection
              // Only this weblogic.jdbc.extensions.WLConnection CAN BE type casted
              // to OracleConnection
         return (OracleConnection) ((WLConnection) connection).getVendorConnection();
         catch(Exception sqlException )
              sqlException.printStackTrace ();
              return null;
         /* Implement all other methods by delegation to connection object */      
    public Connection _getPC()
    return connection._getPC();
    public void archive(int i, int j, String s)
    throws SQLException
    connection.archive(i, j, s);
    public void assertComplete()
    throws SQLException
    connection.assertComplete();
    public void clearWarnings()
    throws SQLException
    connection.clearWarnings();
    public void close()
    throws SQLException
    connection.close();
    public void commit()
    throws SQLException
    connection.commit();
    public Statement createStatement()
    throws SQLException
    return connection.createStatement();
    public Statement createStatement(int i, int j)
    throws SQLException
    return connection.createStatement(i, j);
    public boolean getAutoClose()
    throws SQLException
    return connection.getAutoClose();
    public boolean getAutoCommit()
    throws SQLException
    return connection.getAutoCommit();
    public CallableStatement getCallWithKey(String s)
    throws SQLException
    return connection.getCallWithKey(s);
    public String getCatalog()
    throws SQLException
    return connection.getCatalog();
    public boolean getCreateStatementAsRefCursor()
    return connection.getCreateStatementAsRefCursor();
    public int getDefaultExecuteBatch()
    return connection.getDefaultExecuteBatch();
    public int getDefaultRowPrefetch()
    return connection.getDefaultRowPrefetch();
    public Object getDescriptor(String s)
    return connection.getDescriptor(s);
    public boolean getExplicitCachingEnabled()
    throws SQLException
    return connection.getExplicitCachingEnabled();
    public boolean getImplicitCachingEnabled()
    throws SQLException
    return connection.getImplicitCachingEnabled();
    public boolean getIncludeSynonyms()
    return connection.getIncludeSynonyms();
    public Object getJavaObject(String s)
    throws SQLException
    return connection.getJavaObject(s);
    public DatabaseMetaData getMetaData()
    throws SQLException
    return connection.getMetaData();
    public Properties getProperties()
    return connection.getProperties();
    public boolean getRemarksReporting()
    return connection.getRemarksReporting();
    public boolean getRestrictGetTables()
    return connection.getRestrictGetTables();
    public String getSQLType(Object obj)
    throws SQLException
    return connection.getSQLType(obj);
    public String getSessionTimeZone()
    return connection.getSessionTimeZone();
    public int getStatementCacheSize()
    throws SQLException
    return connection.getStatementCacheSize();
    public PreparedStatement getStatementWithKey(String s)
    throws SQLException
    return connection.getStatementWithKey(s);
    public int getStmtCacheSize()
    return connection.getStmtCacheSize();
    public short getStructAttrCsId()
    throws SQLException
    return connection.getStructAttrCsId();
    public boolean getSynchronousMode()
    return connection.getSynchronousMode();
    public int getTransactionIsolation()
    throws SQLException
    return connection.getTransactionIsolation();
    public Map getTypeMap()
    throws SQLException
    return connection.getTypeMap();
    public String getUserName()
    throws SQLException
    return connection.getUserName();
    public boolean getUsingXAFlag()
    return connection.getUsingXAFlag();
    public SQLWarning getWarnings()
    throws SQLException
    return connection.getWarnings();
    public boolean getXAErrorFlag()
    return connection.getXAErrorFlag();
    public boolean isClosed()
    throws SQLException
    return connection.isClosed();
    public boolean isLogicalConnection()
    return connection.isLogicalConnection();
    public boolean isReadOnly()
    throws SQLException
    return connection.isReadOnly();
    public String nativeSQL(String s)
    throws SQLException
    return connection.nativeSQL(s);
    public Object openJoltConnection(String s, short word0, short word1)
    return connection.openJoltConnection(s, word0, word1);
    public void oracleReleaseSavepoint(OracleSavepoint oraclesavepoint)
    throws SQLException
    connection.oracleReleaseSavepoint(oraclesavepoint);
    public void oracleRollback(OracleSavepoint oraclesavepoint)
    throws SQLException
    connection.oracleRollback(oraclesavepoint);
    public OracleSavepoint oracleSetSavepoint()
    throws SQLException
    return connection.oracleSetSavepoint();
    public OracleSavepoint oracleSetSavepoint(String s)
    throws SQLException
    return connection.oracleSetSavepoint(s);
    public int pingDatabase(int i)
    throws SQLException
    return connection.pingDatabase(i);
    public CallableStatement prepareCall(String s)
    throws SQLException
    return connection.prepareCall(s);
    public CallableStatement prepareCall(String s, int i, int j)
    throws SQLException
    return connection.prepareCall(s, i, j);
    public CallableStatement prepareCallWithKey(String s)
    throws SQLException
    return connection.prepareCallWithKey(s);
    public PreparedStatement prepareStatement(String s)
    throws SQLException
    return connection.prepareStatement(s);
    public PreparedStatement prepareStatement(String s, int i, int j)
    throws SQLException
    return connection.prepareStatement(s, i, j);
    public PreparedStatement prepareStatementWithKey(String s)
    throws SQLException
    return connection.prepareStatementWithKey(s);
    public void purgeExplicitCache()
    throws SQLException
    connection.purgeExplicitCache();
    public void purgeImplicitCache()
    throws SQLException
    connection.purgeImplicitCache();
    public void putDescriptor(String s, Object obj)
    throws SQLException
    connection.putDescriptor(s, obj);
    public void registerApiDescription(String s, short word0, short word1, String
    s1)
    connection.registerApiDescription(s, word0, word1, s1);
    public void registerSQLType(String s, Class class1)
    throws SQLException
    connection.registerSQLType(s, class1);
    public void registerSQLType(String s, String s1)
    throws SQLException
    connection.registerSQLType(s, s1);
    public void registerTAFCallback(OracleOCIFailover oracleocifailover, Object
    obj)
    throws SQLException
    connection.registerTAFCallback(oracleocifailover, obj);
    public void rollback()
    throws SQLException
    connection.rollback();
    public void setAutoClose(boolean flag)
    throws SQLException
    connection.setAutoClose(flag);
    public void setAutoCommit(boolean flag)
    throws SQLException
    connection.setAutoCommit(flag);
    public void setCatalog(String s)
    throws SQLException
    connection.setCatalog(s);
    public void setCreateStatementAsRefCursor(boolean flag)
    connection.setCreateStatementAsRefCursor(flag);
    public void setDefaultExecuteBatch(int i)
    throws SQLException
    connection.setDefaultExecuteBatch(i);
    public void setDefaultRowPrefetch(int i)
    throws SQLException
    connection.setDefaultRowPrefetch(i);
    public void setExplicitCachingEnabled(boolean flag)
    throws SQLException
    connection.setExplicitCachingEnabled(flag);
    public void setImplicitCachingEnabled(boolean flag)
    throws SQLException
    connection.setImplicitCachingEnabled(flag);
    public void setIncludeSynonyms(boolean flag)
    connection.setIncludeSynonyms(flag);
    public void setReadOnly(boolean flag)
    throws SQLException
    connection.setReadOnly(flag);
    public void setRemarksReporting(boolean flag)
    connection.setRemarksReporting(flag);
    public void setRestrictGetTables(boolean flag)
    connection.setRestrictGetTables(flag);
    public void setSessionTimeZone(String s)
    throws SQLException
    connection.setSessionTimeZone(s);
    public void setStatementCacheSize(int i)
    throws SQLException
    connection.setStatementCacheSize(i);
    public void setStmtCacheSize(int i)
    throws SQLException
    connection.setStmtCacheSize(i);
    public void setStmtCacheSize(int i, boolean flag)
    throws SQLException
    connection.setStmtCacheSize(i, flag);
    public void setSynchronousMode(boolean flag)
    connection.setSynchronousMode(flag);
    public void setTransactionIsolation(int i)
    throws SQLException
    connection.setTransactionIsolation(i);
    public void setTypeMap(Map map)
    throws SQLException
    connection.setTypeMap(map);
    public void setUsingXAFlag(boolean flag)
    connection.setUsingXAFlag(flag);
    public void setWrapper(OracleConnection oracleconnection)
    connection.setWrapper(oracleconnection);
    public void setXAErrorFlag(boolean flag)
    connection.setXAErrorFlag(flag);
    public void shutdown(int i)
    throws SQLException
    connection.shutdown(i);
    public void startup(String s, int i)
    throws SQLException
    connection.startup(s, i);
    Util class to get Wrapped Connections from
    datasource
    package ejbTesting;
    // j2ee imports
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    // sql imports
    import java.sql.Connection;
    // imports from Oracle Driver Classes
    import oracle.jdbc.OracleConnection;
    * Wrapper class for the DataSource Connection from Weblogic pool
    public class DataSourceConnectionWrapper
         // datasource variable
         private static transient DataSource datasource = null;
         private static String dbName = "jdbc/workbench";
    * Method that returns the database connection
         public static Connection getConnection()
              try
                   // initialsing the datasource object
                   initialiseDataSource ();
                   // Getting a connection from the datasource
                   Connection con = datasource.getConnection( );
                   // wrapping it custom wrapper class and
                   // returning the connection object
                   return new WeblogicConnectionWrapper((OracleConnection)con);
              catch(Exception exception )
                   exception.printStackTrace();
                   return null;
         private static void initialiseDataSource( ) throws Exception
    if ( datasource == null )
    try
    InitialContext ic = new InitialContext( );
    datasource = (DataSource) ic.lookup( dbName );
    catch (Exception ne )
    throw new Exception( "NamingException while looking up DataSource with
    JNDI name" +
    dbName + ": \n" + ne.getMessage( ) );
    Exception Stack Trace
    The line 46 in DataSourceConnectionWrapper
    corresponds to
    return new WeblogicConnectionWrapper((OracleConnection)con);
    Which I feel is logical as the connection which we get from Weblogic
    datasource cannot be type casted to OracleConnection
    java.lang.ClassCastException: weblogic.jdbc.pool.Connection
    at ejbTesting.DataSourceConnectionWrapper.getConnection(DataSourceConnectionWrapper.java:46)

  • Predefined FOI Theme on a workspace table

    Hello,
    we want to know if it's possibile to build a Predefined FOI Theme on a workspace table.
    We have tried to make Jdbc themes on the workspace table but they are too slow;
    If it's not possible how we can get better performance on a Jdbc theme based.
    thanks
    Nella

    Hi Nella,
    currently predefined FOI themes do not support the workspace parameters. Please, give more details of how are you building your JDBC theme, and maybe post some logging information with the processing of your theme.
    Thanks.
    Joao

  • Strange problem with Zen Style 300

    I got a Zen Style 300 for my birthday and it is given me some problems. I tried looking at this forum and on google, but so far haven't found anything like it. What happens is that during the sync process, some folders on my portable harddisk (which is where the music is located) get renamed into names with strange symbols and become unreadable. The strange thing is that it doesn't happen with all files and just as strange is that it does happen with files not related to the sync that are located in a completely different folder. You can imagine I got quite scared the first time, afraid of having lost my music collection, but on restart everything was fine again. Until I plugged in the ZEN again that is.
    My second problem is probably related to it. Part of the files transfered to the player don't show up when I try to listen to them with the player. When I check they have been copied to the player correctly, yet somehow they don't show up.
    I have Windows XP and tried syncing with the standard Creative software, MediaMonkey and iTunes but they all face the same problem. Although with the second problem it might happen that files copied one way don't show up, while the same files transfered with a different program do. All 3 cause the problem with my harddisk. I tried formatting the player and updating it. So anyone has any idea what might cause this?

    I have a similar problem. It recognized and paired with a Sony Ericsson MW600 Hi-Fi Bluetooth Stereo Headset once. I lost connection, could no longer connect, and tried to re-pair it. Now it recognizes the the headset's name (MW600), but when you try to pair with it stays on a "Please wait..." message. It will stay that way forever until I press the back (left) arrow. Then the message says "Remote Device not responding" and pairing fails. This MW600 headset pairs with other devices (cell phone, PC) just fine, though, so it's not malfunctioning.
    I suspect this might be a Bluetooth version compatibility issue? I say that because when I connect to a Jawbone Era (pretty new device, probably latest Bluetooth spec), everything goes fine.
    Also, if I clear all devices, then try to pair to just the Sony Ericsson MW600, I can get the M300 in a state where it hangs and will not respond to anything. I then have to press the reset button using a paperclip to start over.

  • How to create a blank theme with no embedded textures?

    Hi,
    I have created a custom theme based on the "White" theme thinking that it was truly blank. But when I save my new theme, I see that it weighs a hefty 11Mb.
    After looking in the package contents, I see that there are marble textures remaining from the White theme. These are used on the default charts.
    I tried creating new default charts that contain none of the textures but they are still saved with the template. I cannot delete these files directly in the package because I get a "Missing File" error when using the theme. Unchecking "Copy theme images into document" in the preferences doesn't change anything.
    My question is: how do you create a truly empty theme with no textures nor images embedded in the package?
    Many thanks for any ideas.
    e)
    Dual 1 Ghz Power Mac G4   Mac OS X (10.4.6)  

    egoes, if you haven't already, you might consult the Keynote User Guide, page 181. The guide talks about how to create new themes, and how to define default chart styles for those themes. The instructions are unfortunately not terribly clear, but it appears that you have to create default charts for each chart type. (I would imagine that the new theme would use old defaults for any charts that aren't newly defined, which would leave in the textures you want to eliminate.)
    If you have no luck following the User Guide directions, and size is important, you might instead start with a smaller theme as your base (e.g., Pinstripe is only 3.1MB, and the default graph fill is a colour fill, not a texture). From this you can strip out the background and other graphics you don't want. With just a blank Master with the background removed, this theme is only 612KB. This is likely the easiest way to produce what you want.
    PowerMac G5   Mac OS X (10.4.4)  

  • Problem Joining JDBC theme to XML NSDP file

    I've created a basic map of Germany with different layers for regions etc. I've then added a dynamic JDBC theme using the following code
    var baseQuery= "select geometry, name from world_sample.world_city_metropolis where iso_country_code = 'DEU'";
    var theme = "<themes><theme name='MY_JDBC_THEME' >" +
    "<jdbc_query spatial_column='geometry' jdbc_srid='8307' " +
    "render_style='C.RED' datasource='WORLD_SAMPLE'>" + baseQuery +
    "</jdbc_query></theme></themes>" ;
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi2',theme);
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    I've then tried to bind this theme to a small XML source using this code
    function setupNsdp(themebasedfoi)
    var nsdpInfo = new MVNSDP("defaultNSDP");
    nsdpInfo.setTheme("MY_JDBC_THEME");
    nsdpInfo.setKeyColumn("name");
    var xml_data = "<nsdp_xml>"+
    "<table>"+
         "<tr><th>name</th> <th>Revenue (M)</th></tr>"+
         "<tr><td>BERLIN</td> <td>120.0</td></tr>"+
    "</table>"+
    "</nsdp_xml>";
    var ps = new Object();
    ps["xml"] = xml_data;
    nsdpInfo.setParameters(ps);
    themebasedfoi.setNSDP(nsdpInfo);
    The problem is that when I click on the Berlin FOI on the map I get a pop up box that contains only the name of the city and not the Revenue Column which was defined in the XML sample.
    I think that the setNSDP method must be failing but I'm not sure how to debug this. I've read many different tutorials and I'm sure that I ahve followed them correctly but if anyone could provide any info that may help me debug or fix this problem then that would be much appreciated
    Thanks
    David

    I just upgraded to Mapviewer 11 preview and it has fixed this issue.

  • Matrix with Group Style

    Hi:
    I need to combine two complex queries to form a report. I was able to create Matrix with Groups style for the first query, but I could not create the second one with the same style.
    Is it possible for creating a second query with a Matrix with Groups Style by using Additional Default Layout in the Layout Model?
    Thanks in advance for any help.
    Tracy
    null

    hello,
    the report wizard only supports the creation of one layout. however by using the report block wizard (additional default layout) you can add another layout to your report. but be aware that this wizard assumes you already have the datamodel for it. if not you have to invoke the datawizard first and then invoke the report-block wizard.
    regards,
    the oracle reports team

  • Configuring JDBC connector with my Tomcat server

    I realize this may be a dumb question, but I'm having trouble configuring my JDBC connector with my tomcat server. I'm trying to run a simple servlet that will access mysql database. I am almost certain its throwing an exception on the line:
    Class.forName("com.mysql.JDBC.Driver");
    I have a feeling the tomcat class path isn't finding the connector jar file.
    Any help would be greatly appreciated.
    Brian

    I am almost certain its throwing an exception on the line:
    Class.forName("com.mysql.JDBC.Driver");If it's a ClassNotFound exception or the like, then yes. Post the exception and stack trace if you need confirmation of this.
    I have a feeling the tomcat class path
    isn't finding the connector jar file.That's what I think too. Did you ensure that the MySQL driver JAR file was in the classpath?
    It will need to be in common/lib under Tomcat, or WEB-INF/lib under your application.
    For a more portable application you should use JNDI to obtain database connection resources, in which case you would want the JAR to be under common/lib.

  • Double attributes in info window with advanced style

    Hi,
    I have a MapViewer theme with an advanced style and several attributes to display. The attribute column to render the advanced style should be displayed in the info window, too.
    Its working so far but this attribute is displayed twice!
    I only have this problem with advanced styles.
    My MapViewer version: Ver1033p5_B081010
    Does anybody know this problem?
    Regards,
    Cord

    Hi Joao,
    my theme XML definition:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="SP_KEY">
    <hidden_info>
    <field column="SP_ROUTENR" name="Routennr"/>
    <field column="SP_STARTDATUM" name="Startdatum"/>
    <field column="SP_STARTZEIT" name="Startzeit"/>
    <field column="SP_ENDZEIT" name="Endzeit"/>
    <field column="SP_BC" name="Bordcomputer"/>
    <field column="SP_VEHICLE" name="Fahrzeug"/>
    <field column="*SP_MENGEINKG*" name="Menge (kg)"/>
    <field column="SP_KEY" name="SP_KEY"/>
    </hidden_info>
    <rule column="*SP_MENGEINKG*">
    <features style="V.FAHRTEN"> (SP_STARTDATUM = :1) AND
    (SP_STARTZEIT BETWEEN :2 AND :3) AND
    (SP_VEHICLE = :4) </features>
    <label column="SP_ROUTENR" style="T.TEXT"> 1 </label>
    </rule>
    </styling_rules>
    The column value "Menge (kg)" (node SP_MENGEINKG) is displayed twice.
    Cord

  • Aperture jumps to wrong picture when working with stacks

    Hello
    I am working with stacks on Aperture 3.3 and Mountain Lion.
    I experience the following annoying bug:
    Each time I take an action on any stack (say adding a picture to the stack, collapsing the stack, extracting a picture from the stack, etc), the action gets completed but the viewer then keeps jumping to another picture in the same event (always the same picture) instead of keeping the cursor on the just acted-upon picture.
    This is really annoying, in particular since I am working on a large event with 2,000 pictures and thus each time this happens I have to scroll back through hundreds of pictures to get back to the one where I was working. In effect this renders the stacks functionality useless.
    I have tried already the various repair/rebuild options for the library, to no avail...
    Any ideas / pointers?
    Many thanks!
    Alex

    Hi mikeleung81
    No one ever responded to my original post;-(
    I have further experimented and read around, improved the situation but have not been able to fully solve, here is specifically where I am at:
    - have observed further problematic symptoms including random ordering of pictures when copying them to albums, crashes when exporting slideshows, etc
    - I have performed multiple time the various repair/rebuild options for the library
    - also moved back my library from an external drive to the iMac hard drive, and created more space on the hard drive which was quite full (moved iTunes db to the external drive)
    - I have also manually degrouped each stack, then re-grouped one by one (I observed a couple of odd behaviours of jumping around on specific stacks while doing this, which tells me that the issue may lie in individually corrupted stacks)
    - ended up with a database that was behaving correctly for a while, but then started to exhibit again same symptoms
    - at this stage I believe issue may be linked to my system being underpowered (memory leakage): 2007 iMac, 2GB of memory to handle 100GB library. I am anxiously awaiting the release of the new iMac to upgrade and hopefully solve...
    Curious about similarities / differences on your side?
    AH

Maybe you are looking for