Problem creating sun-cmp-mappings.xml with xdoclet

I am using xdoclet to create a deployable ear file for the Sun ONE app. server. I am having problems getting a correct sun-mappings.xml file with the correct cmr relation fields.
As an example I created two beans; Account and AccountGroup. AccountGroup has a 1:n relation to Account via the cmr field account. If I look at the resulting sun-mappings file I also get a cmr field "account" in the Account bean, which shouldn't be there.
Can anybody give me a clue what's wrong with this code.
AccountGroupEJB.java :
package test;
import javax.ejb.*;
import java.sql.*;
import javax.sql.*;
import javax.naming.*;
* @ejb.bean
* name="AccountGroup"
* jndi-name="ejb/accountgroup"
* local-jndi-name="ejb/accountgroup"
* primkey-field="id"
* cmp-version="2.x"
* schema="AccountGroupSchema"
* type="CMP"
* view-type="local"
* transaction-type="Container"
* @ejb.pk
* generate="false"
* @ejb.transaction type="Required"
* @ejb.permission unchecked="True"
* @ejb.resource-ref
* res-ref-name="jdbc/test"
* res-type="javax.sql.DataSource"
* res-auth="Container"
* res-sharing-scope="Shareable"
* jndi-name="jdbc/test"
* @ejb.finder
* view-type ="local"
* method-intf="LocalHome"
* query="select distinct object (a) from AccountGroupSchema a"
* signature="java.util.Collection findAll()"
* @ejb.finder
* view-type ="local"
* method-intf="LocalHome"
* query="select distinct object (a) from AccountGroupSchema a where a.id = ?1"
* signature="clover.AccountGroupLocal findByPrimaryKey(java.lang.Integer id)"
* @ejb.persistence
* table-name="accountgroup"
public abstract class AccountGroupEJB implements EntityBean{
public AccountGroupEJB() {
private EntityContext ctx;
* @ejb.create-method
* view-type="local"
public Integer ejbCreate(Integer id,String name) throws CreateException {
setId(id);
setName(name);
return null;
public void ejbPostCreate(Integer id,String name) throws CreateException {
public void ejbActivate() {}
public void ejbLoad() {}
public void ejbPassivate() {}
public void ejbRemove() {}
public void ejbStore() {}
public void setEntityContext(EntityContext ctx) {
this.ctx=ctx;
public void unsetEntityContext() {
this.ctx=null;
//abstract acessor methods for all persistent field
* @ejb.persistent-field
* @ejb.persistence
* column-name="accountgroup.id"
* @ejb.interface-method
* view-type="local"
* @ejb.pk-field
public abstract Integer getId();
public abstract void setId(Integer id);
* @ejb.persistent-field
* @ejb.persistence
* column-name="accountgroup.name"
* @ejb.interface-method
* view-type="local"
public abstract String getName();
* @ejb.interface-method
* view-type="local"
public abstract void setName(String name);
* @ejb.interface-method
* view-type="local"
* @ejb.relation
* name="AccountGroup:Account"
* target-ejb="Account"
* role-name="AccountGroup:account"
* target-role-name="Acount"
* multiple="yes"
* @sunone.relation
* column="accountgroup.id"
* target="account.accountgroup_id"
public abstract java.util.Collection getAccount();
* @ejb.interface-method
* view-type="local"
public abstract void setAccount(java.util.Collection accounts);
AccountEJB.java:
package test;
import javax.ejb.*;
import java.sql.*;
import javax.sql.*;
import javax.naming.*;
* @ejb.bean
* name="Account"
* jndi-name="ejb/account"
* local-jndi-name="ejb/account"
* cmp-version="2.x"
* schema="AccountSchema"
* primkey-field="login"
* type="CMP"
* view-type="local"
* transaction-type="Container"
* @ejb.pk
* generate="false"
* @ejb.transaction type="Required"
* @ejb.permission unchecked="True"
* @ejb.resource-ref
* res-ref-name="jdbc/test"
* res-type="javax.sql.DataSource"
* res-auth="Container"
* res-sharing-scope="Shareable"
* jndi-name="jdbc/Mysql"
* @ejb.finder
* view-type ="local"
* method-intf="LocalHome"
* query="select distinct object (a) from AccountSchema a"
* signature="java.util.Collection findAll()"
* @ejb.finder
* view-type ="local"
* method-intf="LocalHome"
* query="select distinct object (a) from AccountSchema a where a.login = ?1"
* result-type-mapping="Local"
* signature="clover.AccountLocal findByPrimaryKey(java.lang.String login)"
* @ejb.persistence
* table-name="account"
public abstract class AccountEJB implements EntityBean{
public AccountEJB() {
private EntityContext ctx;
* @ejb.create-method
* view-type="local"
public String ejbCreate(String login, String name) throws CreateException {
setLogin(login);
setName(name);
return null;
public void ejbPostCreate(String login, String name) {
public void ejbActivate() {}
public void ejbLoad() {}
public void ejbPassivate() {}
public void ejbRemove() {}
public void ejbStore() {}
public void setEntityContext(EntityContext ctx) {
this.ctx=ctx;
public void unsetEntityContext() {
this.ctx=null;
//abstract acessor methods for all persistent field
* @ejb.persistent-field
* @ejb.persistence
* column-name="login"
* @ejb.interface-method
* view-type="local"
* @ejb.pk-field
public abstract String getLogin();
public abstract void setLogin(String login);
* @ejb.persistent-field
* @ejb.persistence
* column-name="name"
* @ejb.interface-method
* view-type="local"
public abstract String getName();
* @ejb.interface-method
* view-type="local"
public abstract void setName(String name);
sun-cmp-mappings.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sun-cmp-mappings PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 OR Mapping //EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-cmp-mapping_1_0.dtd">
<!-- Generated by XDoclet -->
<sun-cmp-mappings>
<sun-cmp-mapping>
<schema>CloverSchema</schema>
<entity-mapping>
<ejb-name>AccountGroup</ejb-name>
<table-name>accountgroup</table-name>
<cmp-field-mapping>
<field-name>id</field-name>
<column-name>accountgroup.id</column-name>
</cmp-field-mapping>
<cmp-field-mapping>
<field-name>name</field-name>
<column-name>accountgroup.name</column-name>
</cmp-field-mapping>
<cmr-field-mapping>
<cmr-field-name>account</cmr-field-name>
<column-pair>
<column-name>accountgroup.id</column-name>
<column-name>account.accountgroup_id</column-name>
</column-pair>
</cmr-field-mapping>
</entity-mapping>
<entity-mapping>
<ejb-name>Account</ejb-name>
<table-name>account</table-name>
<cmp-field-mapping>
<field-name>login</field-name>
<column-name>login</column-name>
</cmp-field-mapping>
<cmp-field-mapping>
<field-name>name</field-name>
<column-name>name</column-name>
</cmp-field-mapping>
<cmr-field-mapping>
<cmr-field-name>account</cmr-field-name>
<column-pair>
<column-name>accountgroup.id</column-name>
<column-name>account.accountgroup_id</column-name>
</column-pair>
</cmr-field-mapping>
</entity-mapping>
</sun-cmp-mapping>
</sun-cmp-mappings>

Here is a link to my patch:
http://opensource.atlassian.com/projects/xdoclet/secure/attachment/10294/sunone-rel.patch
Since the patch was created based on a 1.2.0 it is possible that you have to edit in my changes manually.
Note also that my version doesn't support the "target-" attribues. You have to have CMR methods on both sides of the relationship. If one of the methods shouldn't be accessible you can leave out the interface-method tag, and the method will then act as a just a placeholder for xdoclet tags.
For what it's worth we are using my patched xdoclet module to generate descriptors for several hundred CMP/CMR beans and it works perfectly.
/Gunnar

Similar Messages

  • Deploytool not deleting fields in ejb-jar.xml and sun-cmp-mappings.xml

    Java(TM) 2 Platform, Enterprise Edition 1.4 SDK Developer Release deploytool
    This situation was found on a simple, but original application using CMP EJB's. The database is MySQL using numeric id's and foreign keys.
    I changed some fields in the database and went through the usual 14 attempts at getting deploytool to recognize a new schema without success. The one thing that is noticed is that when I tried to open the CMP display in the Entity selection the tool would not show any data, also it appears to lockup; however, if you select EJB in the choice box of the upper left you can get the view to close.
    In desperation (mind you decoding machine generated XML is NOT my favorite activity) I looked at the descriptor viewer and notice fields existed in the descriptor that were deleted in the database. The tool had read the schema because the new fields were also present.
    In sun-cmp-mappings.xml the old <cmp-field-mapping> definitions were still present. and in ejb-jar.xml the <query> and <cmp-field> were still present.
    After deleting them out -- happy, happy, happy, joy, joy, joy. Deploytool accepted the new schema (keeping all the proper old stuff correctly. yea!!!) and a simple create mapping process brought the beans and database into sync.
    I didn't want to report a bug, since I am actually new to EJB's so if anybody wishes to comment please do. I just wanted to provide a heads up in case this was something not noticed.
    BTW I'm a recent expert at EJB's anybody got a job? :-)

    Have you tried to unmap your fields and relationships?
    Go through all your enterprise beans in the CMP Database window and click Unmap All until the Persistent Field Mappings table is empty of mappings. Then click Create Database Mappings, select the new schema, and verify the fields and relationships were mapped. This should clear out any old field mappings.
    -Ian Evans

  • Sun-cmp-mappings.xml exists but has invalid contents: getSchema() == null

    Can anyone help please!
    what this error means by invalid contents: getSchema() == null
    when I try to deploy or veryfy, this is what I get:
    deployment started : 0%
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- JDO74041: While deploying 'EJBModuleOnlineRegistration' from 'EJBModuleOnlineRegistration': sun-cmp-mappings.xml exists but has invalid contents: getSchema() == null
    ; requested operation cannot be completed
    D:\Projects\EJBModuleOnlineRegistration\nbproject\build-impl.xml:317: Deployment failed.
    BUILD FAILED (total time: 29 seconds)

    The most probable there are some errors in your sun-cmp-mappings.xml file.
    A few similar Q&As:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045366
    http://www.netbeans.org/issues/show_bug.cgi?id=59394

  • Problems creating a db in 11g with Sample Schemas

    For a demo I'm doing I need the sample schemas.
    I have tried to add it to my existing database using dbca, as well as creating a new database with the sample schemas. In both cases I run into a problem with insuficient priveleges. If I do not include the sample schemas I can create the db just nice with dbca, however since it is the sample schemas I need that does not help me a lot.
    below the fist part of sampleSchema.log showing up til and including the first ORA-01031: insufficient privileges just ignoring it will lead to a lot more of them showing up.
    Any suggestion how to fix this?
    TEMP
    specify password for SYSTEM as parameter 1:
    specify password for SYS as parameter 2:
    specify password for HR as parameter 3:
    specify password for OE as parameter 4:
    specify password for PM as parameter 5:
    specify password for IX as parameter 6:
    specify password for SH as parameter 7:
    specify password for BI as parameter 8:
    specify default tablespace as parameter 9:
    specify temporary tablespace as parameter 10:
    specify log file directory (including trailing delimiter) as parameter 11:
    Sample Schemas are being created ...
    DROP USER hr CASCADE
    ERROR at line 1:
    ORA-01918: user 'HR' does not exist
    DROP USER oe CASCADE
    ERROR at line 1:
    ORA-01918: user 'OE' does not exist
    DROP USER pm CASCADE
    ERROR at line 1:
    ORA-01918: user 'PM' does not exist
    DROP USER ix CASCADE
    ERROR at line 1:
    ORA-01918: user 'IX' does not exist
    DROP USER sh CASCADE
    ERROR at line 1:
    ORA-01918: user 'SH' does not exist
    DROP USER bi CASCADE
    ERROR at line 1:
    ORA-01918: user 'BI' does not exist
    specify password for HR as parameter 1:
    specify default tablespeace for HR as parameter 2:
    specify temporary tablespace for HR as parameter 3:
    specify password for SYS as parameter 4:
    specify log path as parameter 5:
    DROP USER hr CASCADE
    ERROR at line 1:
    ORA-01918: user 'HR' does not exist
    old 1: CREATE USER hr IDENTIFIED BY &pass
    new 1: CREATE USER hr IDENTIFIED BY password
    User created.
    old 1: ALTER USER hr DEFAULT TABLESPACE &tbs
    new 1: ALTER USER hr DEFAULT TABLESPACE EXAMPLE
    old 2: QUOTA UNLIMITED ON &tbs
    new 2: QUOTA UNLIMITED ON EXAMPLE
    User altered.
    old 1: ALTER USER hr TEMPORARY TABLESPACE &ttbs
    new 1: ALTER USER hr TEMPORARY TABLESPACE TEMP
    User altered.
    Grant succeeded.
    Grant succeeded.
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SP2-0640: Not connected

    Hi;
    please check Note:Is It Possible To Recreate The Example Schemas Hr And Oe? [ID 752140.1]
    Hope it helps
    Regard
    Helios

  • Problems Creating a Blu-ray Disc with a Main (Static) Menu and Pop-up Menus

    I'm having problems creating a simple Blu-ray disc containing a Main Menu (Static Menu with a graphic for my background) and a single Pop-up menu assigned to all of my timelines.  I wouldn't think this would be so hard to create but every attempt I've made ends up with the navigation getting all messed up to the point that my Playstation 3 doesn't even recognize that the disc as being Blu-rey disc.
    I want a simply static Main menu containing a "Play all" Button, and a button for each additional timelines.  Im also using the override commands on my buttons so if someone just chooses to see one specific clip from the main menu, they will be taken back to the main Menu after their selected clip plays.  But then I also want a Pop-up menu assigned to the timelines so the viewer can switch to a different clip (timeline) without having to go back to the Main (static) menu.
    My Blu-ray Disc runs just fine if I only use a static menu in a project, or if I only use a single Pop-up menu assigned to each timeline, but not both a Static Main menu, and pop-up menus.  I'm using CS4
    Thanks.

    it's just copying files to it, not video.  If you put a blank blu-ray disk in the drive, it may show up in the finder.  A program like Toast can burn a blu-ray.
    http://www.roxio.com/enu/products/toast/titanium/overview.html

  • Namespace not found error when creating data server for xml with namespace

    Hi
    I tried creating XML data server in ODI with namespace in xml file. I followed the below steps but could not success in creating the dataserver. however when I remove the namespace in xml file I am able to reverse engineer the xml file.
    1) Create xml data server
    2) select xml driver - com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    3) Provide the jdbc url - jdbc:snps:xml?f=D:/xmlnew/sample_namespace.xml&s=xmlns&d=D:/xmlnew/sample_namespace.dtd
    xml content
    <f:root xmlns:f="http://www.w3.org/TR/html4/">
    <table>
    <name>African Coffee Table</name>
    <width>80</width>
    <length>120</length>
    </table>
    </f:root>
    DTD content
    <!ELEMENT f:root ( table ) >
    <!ELEMENT length ( #PCDATA ) >
    <!ELEMENT name ( #PCDATA ) >
    <!ELEMENT table ( name, width, length ) >
    <!ELEMENT width ( #PCDATA ) >
    when I test connection it shows the following error.
    java.sql.SQLException: The model generated by the model mapper was not accepted by a validator: Model not accepted: Namespace not found:
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1100)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:371)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:794)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:754)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:137)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:133)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$IvjEventHandler.actionPerformed(SnpsDialogTestConnet.java:87)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: The model generated by the model mapper was not accepted by a validator: Model not accepted: Namespace not found:
         at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:389)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:421)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.<init>(SnpsXmlDTD.java:150)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.<init>(SnpsXmlSchema.java:478)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.createNewSchema(SnpsXmlSchemaManager.java:292)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.getSchemaFromProperties(SnpsXmlSchemaManager.java:270)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlDriver.connect(SnpsXmlDriver.java:114)
         at oracle.odi.jdbc.datasource.DriverManagerUtils$DriverProxy.connect(DriverManagerUtils.java:23)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:368)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:352)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:316)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:275)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:99)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)

    Hi,
    Thans for your reply.
    This is the DTD for my xmldoc.
    <!ELEMENT Data (Department+)>
    <!ELEMENT EmployeeID (#PCDATA)>
    <!ATTLIST EmployeeID col (EMPID) #IMPLIED>
    <!ELEMENT Education (EmployeeID, Sequence, Dgree)>
    <!ATTLIST Education table NMTOKEN #IMPLIED>
    <!ELEMENT Employee (EmployeeName, EmployeeID, DepartmentID, Education*)>
    <!ATTLIST Employee table NMTOKEN #IMPLIED>
    <!ELEMENT EmployeeName (#PCDATA)>
    <!ATTLIST EmployeeName col NMTOKEN #IMPLIED>
    <!ELEMENT DepartName (#PCDATA)>
    <!ATTLIST DepartName col NMTOKEN #IMPLIED>
    <!ELEMENT Table (Column+)>
    <!ATTLIST Table importType NMTOKEN #IMPLIED>
    <!ATTLIST Table parentTable NMTOKEN #IMPLIED>
    <!ATTLIST Table tag NMTOKEN #IMPLIED>
    <!ATTLIST Table columns NMTOKEN #IMPLIED>
    <!ATTLIST Table name NMTOKEN #IMPLIED>
    <!ELEMENT DepartID (#PCDATA)>
    <!ATTLIST DepartID col NMTOKEN #IMPLIED>
    <!ELEMENT MetaData (Table+)>
    <!ELEMENT Sequence (#PCDATA)>
    <!ATTLIST Sequence col NMTOKEN #IMPLIED>
    <!ELEMENT Dgree (#PCDATA)>
    <!ATTLIST Dgree col NMTOKEN #IMPLIED>
    <!ELEMENT Export (MetaData, Data)>
    <!ELEMENT DepartmentID (#PCDATA)>
    <!ATTLIST DepartmentID col NMTOKEN #IMPLIED>
    <!ELEMENT Column (#PCDATA)>
    <!ATTLIST Column deleteKey NMTOKEN #IMPLIED>
    <!ATTLIST Column isKey NMTOKEN #IMPLIED>
    <!ELEMENT Department (DepartName, DepartID, Employee+)>
    <!ATTLIST Department table NMTOKEN #IMPLIED>
    Thanks again!
    Yan

  • Problems Creating a "Fluid Grid Layout" with Adobe Dreamweaver CS6

    I am trying to create a fluid grid layout in Dreamweaver CS6 (which I know how to do), the problem is Dreamweaver started automatically saving the boilerplate.css & respond.min.js in the Dreamweaver program folder (C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\BuiltIn\Fluid Grid Layout\) it does not ask me to save the boilerplate.css or the respond.min.js docs as it normally does. Dreamweaver CS6 also creates a css document instead of the html page it should create. I called Adobe support, however they offer no support for "Fluid Grid Layouts", and I cannot seem to find a solution to this problem anywhere on the internet. If anyone knows how to fix this so it will work properly again it will be greatly appreciated!

    Hi toger02,
    If you have restored the preferences correctly and the issue is still unresolved I would recommend checking the workflow again.
    Define a new site in Dreamweaver.
    File < New Fluid Grid Layout < Create. Doctype set to HTML5 and no CSS file attached.
    A dialog box will pop up, prompting you to save the CSS for this design. This is your custom style sheet. Give a "filename.css" < Click Save.
    Once you've done that, the layout for the mobile device appears in the design view as an "untitled" new document with related files listed as "boilerplate.css","respond.min.js" and "filename.css" i.e your custom CSS file.
    File < Save < "filename.html". < Save. On clicking Save it will show a popup with the message: Copy Dependent Files, which are boilerplate.css and respond.min.js.
    I hope this helps else let us know if issue is on all the new sites and fluid grid pages that you create?
    Thanks,
    Bhawna

  • Problems creating PAL DVD containging clips with Encore CS5

    Hi,
    I was asked to create a menu for a DVD containing several movie clips which are mostly .FLVs and then some .AVIs. Though I'm complete new at all this DVD creating thing I got a nice working menu but when I built the DVD (which took about 45 mins) I got an error stating something about "no mpeg movie". The disk was burnt anayway (no way I could prevent that) but it doesn't work either on my pc or the DVD player.
    Do I have to convert the clips before importing them into Encore? and if so, which software can i use for that? I have only limited internet access at the moment so I cant research the whole WWW for a solution. Therefore sorry for bothering you with such newbie stuff
    anyway... thx for answers
    M.
    Oh, I'm using Productive Suite CS5 (english version on Win 7)

    Depending on what is inside that AVI (see below) you should have no problems with Encore transcoding the AVI into the MPEG2/VOB format used on a DVD
    I don't use FLV so have no idea if it will work with Encore (see further below)
    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037?tstart=0
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811?tstart=0
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037?tstart=0
    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en
    CS5 Encore Files & Formats http://help.adobe.com/en_US/encore/cs/using/WS5C9E1CF8-B5BC-436f-89D3-61DDC02A2C47a.html
    Also... CS5 User Guides - online and PDF (see link in upper right corner at individual pages)
    http://blogs.adobe.com/premiereprotraining/2010/08/help-documents-for-creative-suite-5-pdf -and-html.html

  • Problem creating Material Master sales view with LSMW

    Hello experts,
    I have created a LSMW that uses the direct input program RMDATIND to create new material master records. These materials have different material types.
    I require fields from different views like Purchasing, Sales, MRP and accounting, among others. But not all the material types have all the view defined. I will like, if it's possible, use the same LSMW program to upload all the materials.
    The problem that I'm having if once I ran the program, I got the warning message "The data for the maintenance statuses V cannot be transferred", message no. MG161, and even the material is created the sales view is it not. I check all the sales data in my CSV file and looks good.
    I'm also having in some records, the warning message "The data for the maintenance statuses BG cannot be transferred". That indicate problems with the accounting view.
    As an extra information, I'm using the following structures BMM00, BMMH1, BMMH2, BMMH5 and BMMH7.
    Hope you can help me to solve this issue.
    Regards,
    Mairo.

    >
    > I'm also having in some records, the warning message "The data for the maintenance statuses BG cannot be transferred". That indicate problems with the accounting view.
    Each material type has its own set of views, e.g.  a FERT has sales views but no pruchasing view, a ROH has purchasing view but no sales view, a NLAG has no storage views and a UNBW no accounting views.
    This is defined in customizing of attributs of a material type.
    Because of this you have to make sure that you do not transfer sales data for a material type that does not have sales views.
    Which views you actually want to create is defined in field PSTAT. Each character stands for a certain view (defined in table T132)
    re:The data for the maintenance statuses BG cannot be transferred
    Are your matrials split valuated?
    if you want create accoutning data in MBEW table with MBEW-PSTAT having BG status, then you have to make sure that MARA and MARC PSTAT field also has the B and G .

  • Problem creating a new connection instance with MSVC7.1

    Hi all,
    I have a problem with MSVC7.1 and the OCCI library. I am getting an unhandled exception error when trying to create a new connection:
    con = env->createConnection (user, passwd, db);
    I have seen a thread about MSVC7.0 and the patchset 9.2.0.4, but is it true to say that this one is only fixing the problem with MSVC7.0?
    Does anyone know how I can get OCCI to work with MSVC7.1?
    Thanks,
    Niek

    Shankar,
    Thanks for the suggestion. Its a static executable so it shouldn't be looking for the DLL. I've put %ORACLE_HOME%\oci\lib\msvc\vc71 first in the PATH anyway, just in case we change to dynamic linking in future.
    Just in case it was linking to the worng oraocci10.lib I also temporarily renamed any oraocci10.lib libraries in any other directory under C: to xxxoraocci10.lib, just to be sure. The problem still occurs. Any other ideas please?
    The Visual Studio .NET 2003 link command is:
    /OUT:"C:\adapters_build\osmm_adapter\Debug/osmm_adapter.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\oracle\product\10.1.0\Client_1\oci\lib\msvc\vc71" /LIBPATH:"C:\oracle\product\10.1.0\Client_1\oci\lib\msvc" /NODEFAULTLIB /DEBUG /PDB:"C:\adapters_build\osmm_adapter\Debug/osmm_adapter.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 ociw32.lib msvcrt.lib msvcprt.lib oraocci10.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
    User environment variable lib is:
    C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib
    System environment variable LIB is: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
    regards
    Rich

  • Problems creating animations within Mac Grapher with Mavericks OS

    Since upgrading to Mavericks the animations I make within Mac Grapher lose the vast majority of their colour.  When I used Snow Leopard the animations I made within Grapher were beautiful-  with Mavericks the animations are horrible and unusable, lacking colour and resolution.  Is there any way I can export full quality graph animations or do I have to downgrade back to Snow Leopard. (again)?  It also takes A LOT longer to generate the poor quality animations in Mavericks.

    I have been having MAJOR problems with outlook office Mac 2011 and Mavericks (Macbook Pro Retina early 2013).
    The issue seems to be intermittent with POP and IMAP email accounts, and I suspect it may be related to the keyring and outlook mac 2011 interactions with the keyring.
    Intermittently my POP and IMAP accounts refuse to work, and I get asked to re-enter the password (and did I want to save it in the keyring) when I already did that.
    A suggestion over on the Microsoft Office Mac forum was to delete the account and re-enter it (credentials for the POP and IMAP) into Outlook.  Did that, and still having intermittent issues.
    This is causing be considerable GRIEF as I rely on these email accounts for time critical business issues, and failing to get emails is a disaster for us!
    Word, Excel and PowerPoint all appear to be behaving ok under Mavericks so far, but Outlook is proving to be quite difficult!!!
    Anyone else with these experiences???
    Apple Support are you watching???
    Thanks, IanB
    Australia

  • I have problem loading all items from XML with for each

    Hi all,
    I'm low level as3 programmer and I need help whit this code:
    I have gallery XML file:
    <gallery>
        <item>
            <id>1</id>
            <strana>0</strana>
            <naslov>Lokacije</naslov>
            <aktuelno>1</aktuelno>
            <slika>1.jpg</slika>
        </item>
        <item>
            <id>2</id>
            <strana>2</strana>
            <naslov>Coaching</naslov>
            <aktuelno>1</aktuelno>
            <slika>2.jpg</slika>
        </item>
        <item>
            <id>3</id>
            <strana>0</strana>
            <naslov><![CDATA[O.Å . Bratstvo - panel]]></naslov>
            <aktuelno>0</aktuelno>
            <slika>3.jpg</slika>
        </item>  
    </gallery>
    And:
    var loader: URLLoader = new URLLoader();
         loader.load(new URLRequest("gallery.xml");
    var xml = new XML(evt.target.data);
        for each(var item in xml..item) {
            centralniText.htmlText = item.slika;
    only shows  last item from XML file:
    3.jpg
    I want all. Please help.

    can adding count item in XML help somehow?
    <gallery>
        <item>
            <id>1</id>
            <strana>0</strana>
            <naslov>Lokacije</naslov>
            <aktuelno>1</aktuelno>
            <slika>1.jpg</slika>
        </item>
        <item>
            <id>2</id>
            <strana>2</strana>
            <naslov>Coaching</naslov>
            <aktuelno>1</aktuelno>
            <slika>2.jpg</slika>
        </item>
        <item>
            <id>3</id>
            <strana>0</strana>
            <naslov><![CDATA[O.Å . Bratstvo - panel]]></naslov>
            <aktuelno>0</aktuelno>
            <slika>3.jpg</slika>
        </item>   
        <last>3</last>
    </gallery>

  • How do I create multiple midi tracks each with separate external synthesizer sound

    Mac Pro OS 10.10.2, Logic Pro 10.1.1, FireFace 800 (updated), Roland XP-30 synthesizer/keyboard, Mackie mixer.
    XP-30 analog output to Mackie, FireFace monitor to FireFace main inputs and FireFace out to Mackie.
    What I can't get to work: Sound output for monitoring as I record on each of several midi tracks, each with access to my banks/programs.
    Logic automatically set up the multi-instrument and created 16 tracks, visible in the mixer window. I have entered custom banks for the XP-30 and they are working.
    Mt problem is two parts. First, my last experience was with Logic Pro 7 way back.
    Problem two is that when I create midi tracks (except for the first one I created on channel 1) by control-clicking on one of the tracks in the mixer window I get no sound for monitoring. I can see the green monitor indicator for the track shows midi data incoming. I just can't hear it. It's as if there is no designated output. I have checked audio preferences and see the FireFace as input and output device. If i change the channel to channel 1, I get the sound, but then I have two tracks on channel 1 which doesn't work for designating unique sounds to each track.
    I can select "All" for channel and get monitored sound on several tracks; however, they then all play the same sound, of course.
    i can create midi tracks (either instrument or external) using the plus icon, but no matter how i set them up that way, they do not allow me access to my banks/programs.
    In logic Pro 7 it was no problem creating multiple midi tracks, each with a different sound assigned to it. In Logic Pro 10, I am baffled regarding how to accomplish this and get it all to work as simply and nicely as I was able to with #7.
    Make sense? Can anyone help?
    Thanks

    I have it set to Performance mode which according to the owners manual: "This mode makes the XP-30 function as a multitimbral sound
    source, and Performance settings can be modified. If you’re
    using an external MIDI device to control the XP-30 in this
    mode, it will function as a multitimbral sound source."

  • Problem in creating a CMP bean with MySql

    Hi,
    I am using lomboz eclipse, jboss 4.0.2, xdoclet 1.2.3 & DB as MySql 5.0. I am encountering a very strange problem when I try to create a CMP with MySql as DB. After entering relevant information about the datasource & testing the connection & finding it to be successful, I get the error in lomboz eclipse as : CMP has no attributes. Moreover, I donot even get the table names from the schema, that was given in the datasource, with which the mapping of my CMP will be done.
    I tried using Oracle 9i. But to my wonder, I didnot experience this issue, as it gave me all the CMP atttributes mapped & also created the CMP with Oracle DB. Can anyone help me in getting this issue resloved with MySql DB?

    Yeah, the DB User permissions are found to be ok, as the test connection was successfull. I have tried for MySql 4.1 & Myql 5.0, with their respective jars & driver classes. But the result was same. Test connection is successful, but when i hit the next button to see the CMP attributes, it doesnot give me the list of tables under that schema & says that CMP has no attributes. Please help.

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

Maybe you are looking for

  • Update the database table with the content of the internal table

    Hello!   I have the next form:   FORM erase_data. SELECT * FROM zadrress INTO CORRESPONDING FIELDS OF TABLE itab_adrress.   DELETE TABLE itab_adrress: FROM zadrress,                              WITH TABLE KEY adrid = '456'.   WRITE 'The information

  • A very strange /r/n problem in mysql

    Dear friends, I have a jsp form with textarea field which people can add article. Before I change mysql to big5 charset, everything works fine. However, after I change it to big5, and when I execute an insert operation The /r/n which should save as 1

  • Encoder Settings MIsmatch

    Hi all, Well...I just finished my first project in Leopard using my iLife 05. I can't seem to get my theme's to work correctly. However, I tried to go around that by creating a background image in LiveType to use to have something other than a black

  • DELETED MY MUSIC!!!

    I has a spaz moment and tried to move my library dont ask why, and i hit delete i tried going to the recycle bin and restoring it. But its still no where to be found, i just bought all these songs!! Please any help will do

  • Content Kept on Internal or External Drive

    When I loaded FCP Studio, I save the 46GB (or so) of the content on my MBP internal HD. Is it too late to transfer this over to my external HD ??? or is this even possible? Thanks