Task Scheduling Script - Need help with passing the scheduled command (variables are not being evaluated)

Hi Everyone,
I'm trying to get a simple task scheduler script to work for me and can't get the command I need passed to the scheduler to evaluate properly.
Here's the script:
###Create a new task running $Command and execute it Daily at 6am.
$TaskName = Read-Host 'What would you like this job to be named?'
$Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
$User = Read-Host 'What is the user name?'
$Pwd = Read-Host 'What is the password?'
$Server = Read-Host 'What is the server address?'
$NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
$RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
$Command = 'winscp.com /command "option batch abort" "option confirm off" "open $Proto://$User:$Pwd@$Server" "put $NetworkDir $RemoteDir" "exit"'
$TaskAction = New-ScheduledTaskAction -Execute "$Command"
$TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
Write-Host "$TaskName created to run Daily at $TaskStartTime"
What's messing up is the $Command creation, the command needs to have the quotes around "option blah blah", but if I wrap the whole line in single quotes the variables that are evaluated for the "open blah blah" strings (which also need
to be inside quotes) and the "put blah blah" string are not being evaluated properly.
I've dorked about with different bracketing and quoting but can't nail the syntax down, could someone point me in the right direction? My Google-fu seems to be lacking when it comes to nailing down this issue.
Thanks

Hmmn, closer. I'm getting this error now:
+ $Command = $tmpl -f  $User, $Pwd, $Server, $NetworkDir, $RemoteDir
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (winscp.com /com...t {4} {5}" exit:String) [], RuntimeException
    + FullyQualifiedErrorId : FormatError
And the command being added to the new task looks like this:
winscp.com /command "option batch abort" "option confirm off" "open ($Proto)://($User):($Pwd)@($Server)" "put $NetworkDir $RemoteDir" "exit"
Here's the current state of the script. I get what you're doing to try to bypass the quotes issue, using an array. I'm just not awesome at this yet sooooooo...
$TaskName = Read-Host 'What would you like this job to be named?'
$Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
$User = Read-Host 'What is the user name?'
$Pwd = Read-Host 'What is the password?'
$Server = Read-Host 'What is the server address?'
$NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
$RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
$tmpl = 'winscp.com /command "option batch abort" "option confirm off" "open {0}://{1}:{2}@{3}" "put {4} {5}" exit'
$Command = $tmpl -f $User, $Pwd, $Server, $NetworkDir, $RemoteDir
$TaskAction = New-ScheduledTaskAction -Execute $Command
$TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
Write-Host "$TaskName created to run Daily at $TaskStartTime"

Similar Messages

  • I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.

    I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.  I have gone to my app folder and tried to update my iPhoto Library.  I have gone to my trash and brought it over to my desktop and still cannot use it.  Please help!

    Try this fix discovered by User photosb189:
    From Finder, hold down the option key on your keyboard and click on the Go menu at the top of the screen
    Select Library from the drop down menu
    Then navigate to Application Support > iLifeAssetManagement > assets
    Right click on the 'sub' folder and choose Compress
    Drag the resulting zip file to your Desktop (as a backup)
    Go to your System Preferences and choose iCloud
    Turn OFF the iCloud Photos option
    Go back to Library > Application Support and DELETE the iLifeAssetManagement folder
    Now, in System Preferences, turn the iCloud Photos option ON
    iPhoto should now be able to launch. Give it enough time to re-download your Photo Stream content. if you are missing any of your My Photo Stream photos (more than 30 days old), unzip the sub folder on your desktop and drag that into iPhoto.

  • Question: Need help with overcoming the following message:  "Nothing was imported.

    Need help with overcoming the following message:  “Nothing was imported.  The file(s) or folder(s) selection to import did not contain any supported file types, or the files are already in this catalogue”.
    The photos being scanned are old film shots.  They have NOT been previously scanned.  I am using Photoshop Elements 9 software.
    QUESTION:  how do I override this STOP and or circumvent the photo comparison option????
    Thanks for the help. Bob K ---  [email protected]

      Are you scanning as jpeg, tiff or some other format?
    Are you using continuous numbering for files names as by definition scanned files have no exif data.
     

  • I have just started to import CD's onto I tunes, all albums and tracks are being picked up but in the album view they are not being stored together, they appear as unknown album

    I have just started to import CD's onto itunes, all albums and tracks are being picked up, but in the album view they are not being stored together, they appear as unknown album

    Hello Flemcat,
    After reviewing your post, it sounds like you are missing content from iTunes library. I would recommend that you read this article, it may be able to help the issue.
    iTunes: Finding lost media and downloads - Apple Support
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • In the attached VI I dont understand why data from the inner case structures are not being transmitted to the array.

    In the attached VI I don't understand why data from the inner case structures are not being transmitted to the array.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    TEMP.vi ‏25 KB

    It took me some time to figure what you are trying to do but I think I have it now.
    The SR is still required.
    What is happening is your "Bundle By Name" is replacing all of the fields of the cluster, not just the value coming out of the case structure. So to maintain the cluster stuff you do in earlier iterations you can either...
    1) Put the "Index array, Bundle by name, and Replace array" inside the case structure and ONLY bundle the value you are setting in that iteration. (as you will see Tim post shortly)
    OR
    2) Move the Index array before the Case, unbundle all of the fields and feed teh case structure and run them across the case so that ALL of your output tunnels come from the coresponding input tunnel EXCEPT for the filed you are trying to set.
    Ben
    Message Edited by Ben on 05-05-2010 01:31 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I just bought my MacBook Pro 13" and I tried to install an anti virus but then it went into a grey folder with a question mark I need help with restoring the iOS please

    I need help taking out the grey folder with the question mark and I've try everything except the CD thing because my MacBook didn't come with one so I really need help please

    What anti-virus software did you install? Although there's a lot of bad anti-virus software out there, no anti-virus software should cause such a problem. A gray screen with a flashing question mark on a folder means that no bootable system could be found, which means that the system was badly damaged or corrupt. Even installing bad software would not normally cause that, so either there was something badly wrong with the system already or the anti-virus software you tried to install was really, really bad!
    As mende1 says, you need to reinstall the system at this point. After your system is back up and running, read my Mac Malware Guide. If, after reading that, you want anti-virus software, use one of the programms recommended in that guide.

  • Need help with accessing the program.

    I need help with accessing my adobe creative cloud on my windows 8.1 laptop. I have an account but do not have an app. I need this for my online classes. Please help!

    Link for Download & Install & Setup & Activation may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • Need help with complex column creation command

    Hello, all
    I need help with a complex column creation command and SQL anywhere help is not sufficient for it.
    Here is the situation:
    I need to write a generic DDL "alter table" command, which can add/modify columns without knowing in advance if they already exist in the destination table.
    Is there a command, which looks like:
    alter table "table1" add (on existing modify) column1 <datatype> <default> ?
    Thank you,
    Arcady

    Hi.
    I don't think this is supported in alter table command. But you can code that inside an if statement which queries systables & syscolumns. Your code should be something like that:
    if (select count(*) from sysobjects, syscolumns where sysobjects.id = syscolumns.id and sysobjects.name = 'some_table' and syscolumns.name = 'some_column') < 1
    begin
        alter table some_table add some_column numeric(12) not null
    end
    This is an example..
    Andreas.

  • How can I get past the error message "Variables are not compatible DMB00"?

    Hello,
    I'm working in Desktop Intelligence XI and I'm using an Excel data provider and a universe data provider. I've linked the two providers on the common field "Cost_Code". The Excel data provider also has a "Cost_Code_Descr_xls" field so I've created a new variable that makes this description field a detail object associated with the "Cost_Code" dimension. This allows me to use both objects in the report.
    Some of the cost codes in my universe data provider are not found in my cost_code Excel provider so I'm trying to create a simple formula to deal with these null values:
    = if isnull(<Cost_Code_Descr_xls>) then "Unclassified" else <Cost_Code_Descr_xls>
    This is where I get the "Variables are not compatible" error.
    Any ideas on how to get around this error?
    Thanks!
    David

    Hi David,
    I might have been a bit to quick with just saying that the only thing you needed to do was replacing the object with the variable you created.
    The variable is only compatible with 'Cost Code' dimension, but not with any of the other dimensions in the report. Your header probably only contains the 'Cost Code' dimension and as such the formula isn't giving any problems. But your details contain ohter incompatible dimensions.
    What you need to do is also create detail variables for the other dimensions and relate those to the 'Cost Code' dimension. Use those newly created detail variables  in your report.
    Regards,
    Harry

  • Messages with zip files or multiple attachments are not being delivered

    Has anyone else come across this? I've discovered that files sent from my .mac account are not being delivered if they contain zip files or multiple attachment. A single .docx file goes through, but multiple doc files or a single zip file do not.
    I get no error message, and neither does the recipient. The message sends on my end but simply doesn't show up on their end.
    Any thoughts on what might be causing this?

    Another follow-up: Now, for whatever reason, even attachments of a single document aren't going through.
    Again, I'm receiving no error message, and it shows up in my sent folder. It just never makes it to the recipient.
    This is very frustrating, and makes my iCloud mail account all but useless. Does anyone have any idea at all what might be happening?

  • Newbie needs help with passing variables or creating flash object based on parameters

    Hello Community,
    I'm an amateur developer of Ms Access databases. In one of my applications I want to visualize the options available when reaching a certain score.
    What I'd like to get from this trial period, is a flash animation of a dartboard. Depending on an array of variables that provides the fill color (or reference thereof) the layers of the flash object will be dynamicly created, altered, or switched. The dartboard itself remains "static". I'm hoping to use 9 colors.
    I can manipulate the array any way needed. I can provide XML coding to pass the array variables. I'm just too new and untrained to incorporate this in a Edge animation or Dreamweaver.
    There is no need for interaction, once the object is created (ie no user feedback).
    Can someone point me in the right direction?
    thanks in advance,
    Jay from Stockholm

    Hi,
    I see you're using System.Data.OracleClient (which has been deprecated by MS) rather than Oracle.DataAccess.Client, but this works for me with Oracle's ODP, maybe it will help.
    Cheers,
    Greg
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class dataadapterfill
        public static void Main()
            using(OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl"))
                con.Open();
                using(OracleCommand cmd = new OracleCommand("select ename from emp where ename = :1", con))
                    cmd.Parameters.Add(new OracleParameter("myename", OracleDbType.Varchar2, 50)).Value = "KING";
                    OracleDataAdapter da = new OracleDataAdapter(cmd);
                    DataSet ds = new DataSet();
                    da.Fill(ds);
                    foreach (DataRow row in ds.Tables[0].Rows)
                        Console.WriteLine("ename: {0}", row["ename"]);
    }

  • Need help with understanding the link between jndi and data source

    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
                   user=sempsys
                   dataSourceName=oraclePool
                   databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
         at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <display-name>Business Component CMP 2.0</display-name>
         <enterprise-beans>
    <entity>
              <display-name>Gangster Entity Bean</display-name>
         <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>GANGSTER</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Gangster</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Gangster</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
              </resource-ref>
              </entity>
    <entity>
         <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
                   <cmp-field><field-name>description</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>ORGANIZATION</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Organization</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Organization</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
                   <cmp-field><field-name>setupCost</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>Job</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Job</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
                   <resource-ref>
                        <res-ref-name>jdbc/Job</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
         </enterprise-beans>
         <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>memberGangsters</cmr-field-name>
         <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>GangsterEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>jobs</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>JobEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>gangsters</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
              </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
         <ejb-relationship-role>
         <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
         <relationship-role-source>
              <ejb-name>OrganizationEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>theBoss</cmr-field-name>
                   </cmr-field>
              </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
         </relationships>
         <assembly-descriptor>
         <container-transaction>
         <method>
              <ejb-name>GangsterEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>OrganizationEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>JobEJB</ejb-name>
              <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Gangster</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Gangster</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Organization</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Organization</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>JobEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
                        <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Job</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Job</jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
         <weblogic-rdbms-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <data-source-name>Gangster</data-source-name>
              <table-map>
              <table-name>GANGSTER</table-name>
              <field-map>
              <cmp-field>iD</cmp-field>
              <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>name</cmp-field>
              <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>nickname</cmp-field>
              <dbms-column>NICKNAME</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>badness</cmp-field>
              <dbms-column>BADNESS</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <data-source-name>Organization</data-source-name>
              <table-map>
              <table-name>ORGANIZATION</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>description</cmp-field>
                   <dbms-column>DESCRIPTION</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>JobEJB</ejb-name>
              <data-source-name>Job</data-source-name>
              <table-map>
              <table-name>JOB</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>score</cmp-field>
                   <dbms-column>SCORE</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>setupCost</cmp-field>
                   <dbms-column>SETUPCOST</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-relation>
         <relation-name>organization-memberGangsters</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>memberGangsters---organization</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>gangsters-jobs</relation-name>
         <table-name>JOBS</table-name>
         <weblogic-relationship-role>
              <relationship-role-name>gangsters---jobs</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
         <weblogic-relationship-role>
              <relationship-role-name>jobs---gangsters</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>organization-theBoss</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>organization---theBoss</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

    The problem I see is wrong url for jDriver.
    you have to say: jdbc:weblogic:oracle
    In properties what you need is:
    user=
    password=
    server=
    Actually, your connetion pool is not created yet. It has problems. Make sure you create connectionpool successfully
    first.
    Thanks,
    Mitesh
    ronak wrote:
    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
    user=sempsys
    dataSourceName=oraclePool
    databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
    "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <display-name>Business Component CMP 2.0</display-name>
    <enterprise-beans>
    <entity>
    <display-name>Gangster Entity Bean</display-name>
    <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>GANGSTER</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Gangster</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>description</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>ORGANIZATION</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Organization</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
    <cmp-field><field-name>setupCost</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>Job</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Job</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Job</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    </enterprise-beans>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>memberGangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>jobs</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>JobEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>gangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>theBoss</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>GangsterEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>OrganizationEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>JobEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Gangster</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Organization</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>JobEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Job</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Job</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <data-source-name>Gangster</data-source-name>
    <table-map>
    <table-name>GANGSTER</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>nickname</cmp-field>
    <dbms-column>NICKNAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>badness</cmp-field>
    <dbms-column>BADNESS</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <data-source-name>Organization</data-source-name>
    <table-map>
    <table-name>ORGANIZATION</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>JobEJB</ejb-name>
    <data-source-name>Job</data-source-name>
    <table-map>
    <table-name>JOB</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>score</cmp-field>
    <dbms-column>SCORE</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>setupCost</cmp-field>
    <dbms-column>SETUPCOST</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-relation>
    <relation-name>organization-memberGangsters</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>memberGangsters---organization</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>gangsters-jobs</relation-name>
    <table-name>JOBS</table-name>
    <weblogic-relationship-role>
    <relationship-role-name>gangsters---jobs</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    <weblogic-relationship-role>
    <relationship-role-name>jobs---gangsters</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>organization-theBoss</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>organization---theBoss</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

  • Need help with changing the name.

    I got my palm pre from an uncle who lives in the states. The problem is I can't call tech support to ask them because I live in belize. The proble I have with my pre is that I have added my email account to the phone, but when I send an email, they receive it in my uncles name, my name is lanny and they receive an email form cesar, I think you can see where the problem lies. Is there anyway I can change it to my name? Please help!
    Post relates to: Pre p100eww (Sprint)

    Hello and thank you for using the Palm Help Forums!
    I would create a new Palm Profile. To do this you will need to go to the Device Info app, Reset Options, then select Full Erase. All pictures, videos, and anything else stored in the USB side of the device will be erased. I recommend that if you want to keep any of that to connect your device to a computer then click and drag everything you want to keep off of the device and onto your computer.
    After you perform the Full Erase the device is going to reboot. It is going to come up with a screen to sign in to a Palm Profile or Create a New Palm Profile. NOTE*** You will need a data connection to do this. Select Create a New Palm Profile and fill in the blanks. Once you are back into the device you can set up your email accounts again and it should display the name you created the Palm Profile with.
    I hope this helps,
    -Pat

  • Need help with imovie photos extension. I am not able to view the editing tools no matter what I do!!!! Help please ASAP

    I Have read a lot of tutorials or whatever but Im not able to view the editing tools from imovie in the photos app. I have tried the trimmer thing and the yellow outline does appear but the only options available are "play, trim or cancel". I really really want to use the filters and stuff so please help me if you can!
    Thanks!

    Well, everything that you have bought with her Apple ID prior to getting your own Apple ID is forever hers. Apple will not transfer content from one ID to another. But in the case of the Mac, contact iTunes Customer Service and request that they send your issue to the Account Security Team and ask that the Mac be released form your mother's account so you may register it with your account. Then you can accept the iLife apps into your account for any future updates.
    iTunes Support -
    http://www.apple.com/support/itunes/

  • Need help with correcting the select statement

    I have two tables mkt & error.
    The fields of mkt are
    app_id (xxx)
    c_mkt_id
    app_mkt_id
    The fields of error table are
    mkt_id
    intr_id (its in format xxx.yyy or xxx)
    xyz
    abc
    pqr
    I have to select * fields from error table such that
    ->mkt.app_id = error.intr_id (here i am using combination of sbstr & instr to get the part before "." if present)
    ->mkt.c_mkt_id=error.mkt_id
    Where ever the above two conditions match i have to replace the mkt_id field in my select * from error table query with the
    app_mkt_id field from mkt table. If the above two condtions dont match my select * from error table should return the original mkt_id present in the error table.
    I have presently developed a query(*) which selects the app_mkt_id from mkt table where ever the two conditions match.
    How should i go about using this to get my actual requirement.
    (*)=select app_mkt_id from mkt where app_id in (select case when case_when=1 then substr(intr_id, 1, instr(intr_id,'.')-1) else substr(intr_id, 1) end from (select intr_id, case when instr(intr_id,'.',1)=0 then 0 else 1 end case_when from error)) and
    c_mkt_id in (select mkt_id from error)

    you wrote:
    (*)=select app_mkt_id from mkt where ....What is this?
    If you are writing PL/SQL the syntax is:
    SELECT ....
    INTO ....
    FROM ....
    WHERE ....This seems to be school work and thus you really need to puzzle this out for yourself.

Maybe you are looking for

  • Can I find out what the New Features are for Updates?

    When the Application Manager says an Update is available, as far as I can see so far, it just says New Features.  Is there a web page that will give more details about what features etc. each update will provide?  The Application Manager is not showi

  • Error 40820 - please help

    I've had the error 80003 before on blackberry application world, managed to sort this out by going to a Wi-fi spot, however another problem popped up again when trying to download from application world. I've got a 8520. Please can someone give me th

  • Data comparisons and movements

    I have a Heap Sort using the following code, and I cannot seem to figure out how many data comparisons and data movements there are as the heap is sorted. Does anybody know how to count the number of comparisons and movements?? Please let me know....

  • Thinkpad S540 possible BIOS bug concerning WOL

    I have had a Thinkpad S540 for a few months, and have it installed as dual boot Windows 8.1 and arch linux.  After completely shutting the machine down from linux I found that the battery would be down to around 70% charge after three days unused, an

  • Refine-edges!  CS6, problems!

    Having big probelms with, refine-edges, in CS6. after the selection and entering the, refine-edges, to either remove or add, with either brush or eraser, it simply won't work, the alterations never seem to register and it comes back, i.e. its impossi