MySql + CMP + capture-schema + deploy tool

Hi everybody,
I am trying to design a very simple CMP Entity Bean and packaging it with the deploy tool.
I have produced a very simple schema of a single table and i am trying to map it on the bean,
Using the deploy tool, I go on the CMP Database (SUN specific settings) form, click on Create Database Mappings then choice my schema file, then back to the previous form where I can see the combo box listing the Primary Tables found in the schema file.. and this is empty! I tried to use another schema made from a pointbase instance and it works.
Any suggestions?
Thank you,
Rouge

Make sure that each of the database tables that you wish to map into CMP Entity beans has a primary key defined - tables without a defined primary key will not show up in the CMP mapper, just as you described.
Scott

Similar Messages

  • CMP and capture-schema problems

    I am trying to deploy a CMP on Sun App Server 8, and I'm having a few problems. I am quite new to both CMP and Sun App Server 8.
    I've created a simple table Room in mySQL DB, containing only id (varchar) and description (varchar). I'm running this command to capture the table schema
    capture-schema -username username -password pwd -dburl jdbc:mysql://localhost/test -driver com.mysql.jdbc.Driver -out test.dbschema
    Do I need to enter the -schemaname and -table parameters as well? I'm assuming that since the url is pointing directly to the test schema in mySQL and it only contains the room table, I don't need these 2 parameters.
    test.dbschema gets generated, but when I use the deployment tool and create the database mappings to the entity bean using this schema file, no mappings are created.
    Any help?

    Hello,
    I have similar problem and I'm really confused about it.
    Working with:
    Java System Application Server Platform Edition 8.1 2005Q1 UR1
    mysql DataSource and Container Managed Persistence
    mysql-connector-java-3.0.8-stable-bin.jar
    I have problem with deploy:
    Fatal Error from EJB Compiler -- JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'Sets' in application 'isvl' module 'isvl-EJBModule': JDO72335: If the table sets for the bean corresponding to the generated class isvl.model.set.SetBean470758938_JDOState is mapped as the primary table, it must have a primary key.Choose a different primary table or verify that the contents of the schema file are correct.
    Choose a different primary table or verify that the contents of the schema file are correct. at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:274) at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:615) at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563) at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java :340) at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209) at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284) at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.j ava:107) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPh ase.java:71) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeplo ymentService.java:633) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:188) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:520) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    Have you seen this problem?
    Thanks.

  • CMP with Oracle 9i, Sun Java Sys App Serv 8.2 and J2EE1.4 (capture-schema)

    while building Entity bean with Container managed persistence
    we will create a database schema file, which will allow us to map fields
    from the enterprise beans to columns in the database tables created.
    For creating database schema file using Sun java System Application Server 8.2 and oracle9i database for j2ee1.4, i issued the following command at the command prompt.
    F:\j2eetutorial14\examples\ejb\cmproster>capture-schema -dburl jdbc:oracle:thin:@127.0.0.1:1521:oraglo -username scott -password tiger -table LEAGUE -table PLAYER -table TEAM -table TEAM_PLAYER -schemaname scott -driver oracle.jdbc.driver.OracleDriver -out build/cmproster.dbschema
    The above command gives the following error message. How do i debug this error. Thanks in advance
    using dburl:jdbc:oracle:thin:@127.0.0.1:1521:oraglo
    using username:scott
    using password:tiger
    using driver:oracle.jdbc.driver.OracleDriver
    using schemaname:scott
    using output file:build/cmproster.dbschema
    Capturing schema:scott
    JDO71101: Cannot access table LEAGUE.
    JDO71101: Cannot access table PLAYER.
    JDO71101: Cannot access table TEAM.
    JDO71101: Cannot access table TEAM_PLAYER.
    JDO71102: No valid tables requested. No schema file created

    how to provide the JNDI name in Sun Java Application Server
    Please do the favour
    Please reply to [email protected]

  • Capture-schema with sybase

    I tried to do the following to create a database schema
    F:\Sun\AppServer7\bin>capture-schema -dburl jdbc:sybase:Tds:3.70.201.88:20000 -username sa -password "" -driver com
    .sybase.jdbc2.jdbc.SybDriver -schemaname ims -table users -out userSchema.dbschema
    using driver: com.sybase.jdbc2.jdbc.SybDriver
    using dburl: jdbc:sybase:Tds:3.70.201.88:20000
    using username: sa
    using password:
    using schemaname: ims
    Capturing schema: ims
    java.sql.SQLException: JZ0SJ: Metadata accessor information was not found on this database. Please install the requ
    ired tables as mentioned in the jConnect documentation.
    at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:436)
    at com.sybase.jdbc2.jdbc.MdaManager.getMetaDataAccessor(MdaManager.java:292)
    at com.sybase.jdbc2.jdbc.SybDatabaseMetaData.getMetaDataAccessor(SybDatabaseMetaData.java:2231)
    at com.sybase.jdbc2.jdbc.SybDatabaseMetaData.getMetaDataAccessor(SybDatabaseMetaData.java:2216)
    at com.sybase.jdbc2.jdbc.SybDatabaseMetaData.getUserName(SybDatabaseMetaData.java:214)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl.<init>(SchemaElementImpl.java:71)
    at com.iplanet.ias.tools.forte.ejb.cmp.schema.CaptureSchema.main(CaptureSchema.java:108)
    Schema captured
    Saving schema ...
    A schema does get created, but does not contain information about the table.
    Is this file absolutely necessary to deploy a CMP bean? Also is sun-cmp-mappings.xml file necessary? Can this
    information not be given in sun-ejb-jar.xml file.

    Short answers:
    1. The dot-dbschema file is critical to deployment and execution.
    2. The sun-cmp-mappings.xml file is critical to deployment and execution.
    3. Yes, it could be given in the sun-ejb-jar.xml file AND
    No, it is not possible to give this information in the sun-ejb-jar.xml file as the file is currently specified and the implementation is currently architected.

  • Database mappings with Deploy Tool not working

    Hi,
    I am using the deploy tool to deploy a CMP Bean. After I have mapped all columns to the database fields and click on the Save button, all the columns which are mapped to the database fields are gone and as a result the mappings xml file is not generated when i delploy the bean. Is there any solution to this problem or is it that i am making some mistakes with the procedure.
    Thanks,
    Gopinath.

    I had this same issue - drove myself bananas for a while.
    Its a proceedure issue - you, like I was doing, keep unmapping your cmp beans .
    First, capture your schema for your databases using the "capture-schema" command
    Add the schema files to your .jar file using the "Edit Contents" button on the "General" Tab.
    (Sounded like you got past all this, but I'll put it all here for the use of others)
    When you deploy an Entity bean:
    You click on "Sun Specific Settings" and select the "CMP Database" tab from pull down.
    Heres where it gets you: The "Create Database Mappings"
    Every time you add an entity bean to the jar, you were probably selecting the "Create Database Mappings" button to start mapping your entity bean. (I was too). But, doing so Un-maps all of the entity beans you already have in that Jar!!! I drove myself nutts with this, until I figured out where it was happening.
    use "Create Database Mappings" only once: for the first Entity bean you put into a jar.
    NEVER TOUCH IT AGAIN!!! - It will delete all your entity CMP mappings
    After that, when you add additional CMP entity beans, use the "Advanced Settings" button on the same panel. Then select the appropriate schema...and then map your beans.

  • Capture-schema and Oracle

    I am trying to run capture-schema on command line with Oracle and am getting the following error:
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java 532)
    I have set the CLASSPATH to /u01/app/oracle/8.1.7/jdbc/lib/classes12.zip
    Running utility as:
    ./capture-schema -dburl jdbc:oracle:thin:@boxname:1521:sid -username myname -password mypassword -driver oracle.jdbc.driver.OracleDriver -schemaname SchemaName -table MyTable -out /usr/tmp/File.dbschema
    I know it is picking up the Oracle in classpath since if I remove the classes12.zip It complains that it can't find the oracle.jdbc.driver.OracleDriver.
    Anyone know what I'm missing here?

    Hi, I have captured the schema file and stored it at mytest.dbschema in the src directory for my classes. I can see that the file is a part of the ejb.jar file and the sun-cmp-mappings.xml file the schema is defined as "mytest".
    When I try to deploy the jar file, I get an error stating the following:[05/Oct/2004:15:45:52] SEVERE ( 412): JDOCodeGenerator: Caught a RuntimeException :
    java.lang.RuntimeException: Could not find schema file mytest on classpath EJB CL:
    [com.iplanet.ias.loader.EJBClassLoader$URLEntry@1d626a4, com.iplanet.ias.loader.EJBClassLoader$URLEntry@82f392]
    Does anyone have any idea where I am supposed to put that file and also to which classpath is the compiler is refering? I assumed that since it is a part of the ejb.jar file, I would not have to specify a path to the file.
    Thanks,
    WPM

  • Capture-schema.bat

    Hi,
    I am writing a entity bean and trying to get the database schema using to capture-schema.bat. I am passing all parameters including -schemaname to capture-schema.bat.
    In the output file, there is no information regarding any tables at all. Is that right? When I try to deploy the bean using the deploy tool, In the Primary Table for bean, there are no database tables displayed and I am unable to do the mappings.
    Can anyone tell me where I am going wrong. The capture-schema result is as follows -
    <?xml version="1.0" encoding="UTF-8" ?>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.SchemaElement" ID="com.sun.forte4j.modules.dbmodel.SchemaElement-751695075">
    <impl>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl9532399">
    <tables>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection32794782">
    <owner>
    <OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl9532399"/>
    </owner>
    <_elms>
    <OBJECT/>
    </_elms>
    <_template>
    <ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.TableElement">
    </ARRAY>
    </_template>
    </OBJECT>
    </tables>
    <_name>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier22201561">
    <name>ajax</name>
    </OBJECT>
    </_name>
    <_driverVersion>9.2.0.1.0</_driverVersion>
    <_catalog>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier16359413">
    <name></name>
    </OBJECT>
    </_catalog>
    <element>
    <OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.SchemaElement-751695075"/>
    </element>
    <_databaseProductVersion>Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production</_databaseProductVersion>
    <_driver>oracle.jdbc.OracleDriver</_driver>
    <_databaseProductName>Oracle</_databaseProductName>
    <_schema>
    <OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier7652266">
    <name>ajax</name>
    </OBJECT>
    </_schema>
    <_url>jdbc:oracle:thin:@90.90.90.200:1521:mmp</_url>
    <_driverName>Oracle JDBC driver</_driverName>
    <_username>AJAX</_username>
    </OBJECT>
    </impl>
    <versionNo>2</versionNo>
    </OBJECT>
    Thanks in advance.
    Regards.

    Hi,
    I have all necessary tables in the database already.
    The exact command i give is below -
    capture-schema -username ajax -password ajax -url jdbc:oracle:thin:@90.90.90.200:1521@mmp -driver oracle.jdbc.OracleDriver -schemaname ajax -tablecustomers -out c:\dbshcema\customers
    If i give a space b/w -table and customers like "-table customer" the command will not recognize the table name and gives an error. So i have to give it as -tablecustomers. 90.90.90.200 is where my oracle database is residing and the user ajax has all privileges, dba rights, etc. capture-schema also requires me to give the schemaname for oracle databases.
    I tried again few times, but no luck. The output still does not contain any table information/schema at all.
    Thanks a lot,
    Regards.

  • Java.lang.NullPointerException when capture schema

    When I try to capture schema from MySQL (WIN) to Oracle 10G R2 (unix), I have a exeption error: java.lang.NullPointerException
    The tables are captured in the repository but columns and others objects don't.
    The last line in the java log is:
    unnable.run(AbstractMigrationProgressRunnable.java:159)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(M
    igrationProgressBar.java:532)
    Message was edited by:
    user567049

    I have also encountered same issue. Please let me know the solution in case you find it.
    In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
    2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
    2003/04/01:21:20:21Starting Monitor Process, PID=2920
    2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
    2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
    I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
    I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
    Any solution?
    Regards,
    Vipul

  • Problem deploying web service with the deploy tool (J2EE)

    Hello,
    I am trying to deploy a sample Web Service on the Sun Java System Application Server Platform Edition 8.1 2005Q1.
    I run into a deployment problem ("jaxrpc compilation exception") when I have one of the web methods declared (in the endpoint interface) to throw a service-specific exception. The problem disappears when I change the declaration to throw an Exception.
    Here is the exception class:
    public class StockNotFoundException extends Exception {
    private String message;
    public StockNotFoundException(String message) {
    super(message);
    this.message = message;
    public String getMessage() {
    return message;
    the endpoint interface:
    public interface StockServiceIF extends Remote {
    // the service methods
    public boolean sellStocks(String ticker, int quantity)
    throws RemoteException, StockNotFoundException;
    and here are the error messages I am seeing:
    in the deploy tool dialog:
    distribute: C:\Beginning J2EE 1.4\Ch13\StockServiceApp\StockServiceApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Fatal Error from EJB Compiler -- jaxrpc compilation exception
    and in the server log:
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [StockServiceApp]|#]
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2005-02-01T18:30:47.936-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=12;|
    error: incorrect fault part name for fault "StockNotFoundException" of operation "sellStocks": "StockNotFoundException"|#]
    [#|2005-02-01T18:30:47.966-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 1001 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-02-01T18:30:47.966-0600|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:584)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1333)
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:340)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    I would appreciate any pointers to resolving this issue.
    Thanks,
    Satyen

    Can you post the WSDL that was generated by the tool
    for this interface ?I generate the WSDL using "wscompile -define -nd . -classpath ..\build\classes -f:wsi service-config.xml", and here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="StockService" targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="StockNotFoundException">
    <sequence>
    <element name="message" type="string" nillable="true"/></sequence></complexType>
    <element name="StockNotFoundException" type="tns:StockNotFoundException"/></schema></types>
    <message name="StockServiceIF_sellStocks">
    <part name="String_1" type="xsd:string"/>
    <part name="int_2" type="xsd:int"/></message>
    <message name="StockServiceIF_sellStocksResponse">
    <part name="result" type="xsd:boolean"/></message>
    <message name="StockNotFoundException">
    <part name="StockNotFoundException" element="tns:StockNotFoundException"/></message>
    <portType name="StockServiceIF">
    <operation name="sellStocks" parameterOrder="String_1 int_2">
    <input message="tns:StockServiceIF_sellStocks"/>
    <output message="tns:StockServiceIF_sellStocksResponse"/>
    <fault name="StockNotFoundException" message="tns:StockNotFoundException"/></operation></portType>
    <binding name="StockServiceIFBinding" type="tns:StockServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sellStocks">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal" namespace="urn:stockService"/></input>
    <output>
    <soap:body use="literal" namespace="urn:stockService"/></output>
    <fault name="StockNotFoundException">
    <soap:fault name="StockNotFoundException" use="literal"/></fault></operation></binding>
    <service name="StockService">
    <port name="StockServiceIFPort" binding="tns:StockServiceIFBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    ---------------------------------------------------------------------------------------------------------

  • Problems with capture-schema

    I'm working on setting up a CMP managed entity bean using the pointbase server included with the j2ee download. I'm having problems getting the "capture-schema" utility to work. Each time I run it, I get the following:
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:532)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.ConnectionProvider.<init>(ConnectionProvider.java:46)
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSchema.java:120)
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSchema.java:177)
    I'm using "com.pointbase.jdbc.jdbcUniversalDriver" as the driver name.
    I have written a test class of my own which successfully loads the driver and connects to the database, but for some reason capture-schema doesn't seem to find the driver. Any thoughts or solutions would be appreciated!
    ~Howard

    Fixed it. My classpath was wrong. Works great now!

  • Buggy deploy-tool

    Hi!
    I got a problem with deploy-tool. It doesn't seem to save my changes in my .jar/.ear/.war of some reason. The problem seems to be reoccruing in all my "projects" after I have updated my classes a few times.
    Is this a know bug and is there a work-around. It is really annoying to have to recreate all my .jar/.ear/.war every other day or so.
    I'm using Sun Java System Application Server 8 on Windows XP.
    Thanks in advance
    Roland Carlsson

    Hi Roland,
    There is a known bug related to changes not being saved when working with CMPs and invoking the CMP Database dialog. deploytool has file-lock problems on windows which prevents from saving properly.
    Is there a tmp###.jar that is created in the same directory as your .jar/.ear/war? If so, that means there was a file-lock problem. You .jar/.ear/.war with most recent changes is actually the tmp###.jar. You should be able to rename the tmp###.jar, open in deploytool and see your changes.
    Do you see this problem everytime after you use Update Files? Or only periodically?
    You can also turn on debugging to see if it gives more information in the logfile by adding 'ui.debugMode=true' to deploytool.conf in C:\Documents and Settings\<user>\.deploytool.
    Jennifer

  • Capture-schema does not work properly

    The command line tool "capture-schema" produces invalid schema files (with Oracle), as obscure exceptions are thrown at runtime. The wizard integrated in Forte does a better job. Can any changes be made to the setup, so that capture-schema uses the classes underlying Forte?
    Platform: Sun ONE AppServer 7 beta 2, Win 2000, Oracle 9.0.1.

    I have what seems to be exactly the same problem, using an Informix database with their JDBC driver. When I examinded the schema file produced, I found that column references in at least one table was pointing into columns defined in other, completely unrelated tables. By changing the order of the tables listed with the -table option, the problem moved to another table.
    I am currently evaluating Sun ONE as an alternative to Borland Enterprise Server, and can't get any further without some fix. Our database consist of about 800 tables. I only capture the schema for the entity beans that are used in one EAR module, which is usually around 20, but the format of the schema file does not make it easy to examine it and fix it by hand.
    BTW, capturing from Forte is not an option. We have a very complex build system based on Ant, which requires the capturing to be done by some command line utility.
    Please help! Where can I get a working capture-schema?!

  • Office Deployment tool not trying to install 32 bit verion where OfficeClientEdition is set to 32

    We used the Office Deployment tool to download the 32 bit version of Office 2013.  Now when we try to deploy the 32 bit version we received an error.  This is on a 64 bit Windows 7 PC.
    Here is the configuration XML file
    <Configuration>
         <Add OfficeClientEdition="32">
         <Product ID="O365ProPlusRetail">
               <Language ID="en-us" />
            </Product>
         </Add>
         <Logging Path="C:\Temp" />
    </Configuration 
    Here is the line in the log file that shows the download error.
    FileDownload::Download: Download failed for "C:\Users\swessmi\Desktop\Office_Deployment_Tool\Office\Data\15.0.4615.1002\i641033.cab", try 0. {"SessionID":"47a04060-d70c-4af4-be4d-dc5b1428c60b","GeoID":"244","Ver":"15.0.4619.1000","ErrorCode":"2","ErrorMessage":"ErrorCodeOnly
    (Failed to copy file src: C:\Users\swessmi\Desktop\Office_Deployment_Tool\Office\Data\15.0.4615.1002\i641033.cab, dest: C:\Users\swessmi\AppData\Local\Temp\OfficeC2R97A92F51\i641033.cab , Error:0x2)","AppVErrorSource":"","ErrorType":"2"}
    The Deployment tool is looking for the i641033.cab file which is the 64 bit version.  We want to install the 32 bit version so we did not download the 64 bit version. 
    If I try to install the 64 bit version by changing the OfficeClientEdition="64" the deployment tool installs the 64 bit version fine from the internet as I have not downloaded the 64 bit version.

    Hi,
    As tested, i641033.cab is also part of 32-bits Office installation source. When you have 32-bits Office downloaded, you should see i641033.cab under ...\Office\Data\15.0.4615.1002\ (in your case).
    Looks like the installer was having an issue downloading i641033.cab, try to download the source file again, or manually download i641033.cab, then try again.
    Some useful threads:
    http://community.office365.com/en-us/f/156/t/159359.aspx
    http://ganey.co.uk/?news=Couldnt%20Install%20Office%20365,%20Check%20Internet%20Connection,%20Disk%20Space&n=155
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Office 2013 deployment tool Invalid product ID error

    Hi,
    Im in the process of virtualizing apps like Office 2013 with App-V. 
    Downloading the binaries with the Office Deployment tool and converting to app-v package is very easy, I've followed this kb
    http://support.microsoft.com/kb/2915745
    But now I want to sequence add-ins for Office 2013. So I need a local install of Office 2013 click to run.
    Im trying to use the command line option setup.exe /configure <path to config.xml> but everytime I try this I receive this error:
    Invalid product ProPlusVolume specified. Error configuring products
    I have tried several different ProductID's like ProPlusVolume and StandardVolume. None of the volume ID's seem to work. When I changed the ID to ProPlusRetail, the setup worked flawless. But I need to install the Volume version for my RDS server...
    I have found other people in the comment section in this blog: http://blogs.technet.com/b/office_resource_kit/archive/2013/12/03/3615124.aspx
    (read the comments in the bottom section) But no solution..?

    It's my understanding that  you don't use the "/configure" parameter when using the "Volume" options.
    Jeremy refers to this in the comments/responses.
    In the main blog article, he refers to "You can now use the Deployment Configuration file to configure...."
    This does not mean that you should use the "/configure" parameter - that is only used for C2R.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Office Deployment Tool Config for 2013 Pro Plus

    Hi!
       I'm trying to update an installation of Microsoft Office Professional Plus 2013 and wonder if somebody could help me with the correct Product ID to use for the Office Deployment Tool configuration.xml file?  Almost all the examples seem to
    use O365ProPlusRetail.
       The configuration documentation here discusses only Office 365: http://technet.microsoft.com/en-us/library/jj219426%28v=office.15%29.aspx
       But it links to this page, which lists product IDs, but no description (thank you not very much!): http://support.microsoft.com/kb/2842297/en-us
       There's a "ProfessionalRetail" there; elsewhere I've seen a "ProPlusRetail" which isn't listed there, and I'm hoping that if I get the right Product ID I can get this cantankerous update process to work!
       Thanks much,
           Rob

    Hi,
    Microsoft have used some rather confusing product marketing terms, which makes it hard to get clear, and also to be clear, when it comes to this release of Office :(
    Office 2013ProfessionalPlus - installation uses the classic setup.exe + MSI engine. Can be updated via WSUS.
    Office365ProPlus - installation uses the new ODT, and results in C2R virtualized "installation". Can't be updated via WSUS.
    So, if you're using the ODT, then you're not using Office2013ProfessionalPlus..
    Reference for the Product element:
    http://technet.microsoft.com/en-us/library/jj219426(v=office.15).aspx#BKMK_ProductElement
    Reference including Retail Product elements:
    http://support.microsoft.com/kb/2842297/en-au
    NB: the update process will probably be cantankerous even after you get it working ;)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for

  • Acrobat 9 :only page 1 of a web page is converted to pdf, remaining pages come out as blanks

    I have not seen this question anywhere but thats right. If a web page is 5 pages long, and we print it on the Acrobat 9 printer we get the first page correctly after which the remaining 4 pages are blank white sheets. I got the same result when I fir

  • ODBC Driver 8.1.7.3 - pending bugs?

    Does somebody know if the problem below has been fixed with Oracle ODBC 8.1.7.3 driver for NT? Version 8.1.7.2.0 of the Oracle ODBC driver (with Net8 8.1.7.0.0) tends to fail with multithreading application, running only on a single processor. Theref

  • Cisco device supporting NAT for SCTP

    Hello, I can't think of a more proper category for posting this one. I'd like to know if there is a cisco router (or other device for that matter) which may offer NAT service for packet using the SCTP protocol, i.e. translate IP address and SCTP port

  • DMA transfer on Interupt from Counter on NI6602

    I try to use DMA transfer on Interupt from Counters on the NI6602 In addition to the programm there are some external input/outputs on the NI 6602 Card connected: Most important are: Counter 0 is working as an A,B,Z X4 Encoder, so the value represent

  • Incompability with CISCO AnyConnect

    I can't connect to my work VPN server from my Leopard 10.5.2 machine using CISCO AnyConnect. It disconnects immediately. I know from the PC side that this was a Bonjour issue, but after unloading Bonjour on the Mac, the problem persists. Anyone have