Problems defining the datasource with coldfusion 9

I just upgraded Macromedia MX7 with coldfusion 9. The local host was http://localhost:8500/ows. I am not sure if this address is the same for coldfusion 9. When I try to define the datasource, I still see Macromedia MX7 instead of coldfusion 9 in administor and I cannot proceed to Login because of the URL "http://127.0.0.1:8500/CFIDE/administrator/index.cfm", and a I get a message "the page cannot be displayed" Please HELP. Thanks, Conabre

It sounds to me like you might have done a parallel install rather than an upgrade?
Is there anything in your filesystem that looks like a CF9 install?
What steps did you follow to perform the upgrade?
If it's just a local machine, it might be quicker to not bother to work out what happened, and just install CF9 and migrate your stuff across to it, rather than doing an inline upgrade.  I have to concede I had such poor luck trying to upgrade CF in the past I abandoned it as a practice and always did a deinstall / resinstall rather than an upgrade.
Adam

Similar Messages

  • The DataSource with the JNDI name: MyDataSource could not be located.

    hi,
    I created a connection pool myconnectionpool and i create a data source MyDataSource with jndi name as mydsn.
    in my weblogic-cmp-rdbms-jar.xml i gave
    <data-source-name>MyDataSource</data-source-name> and
    When i deploy the bean i am getting following exception.
    Unable to deploy EJB: containerManaged from cmp7.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: MyDataSource 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:128)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:213)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:185)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:160)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:928)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1216)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:850)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:70)
         at weblogic.j2ee.Application.addComponent(Application.java:253)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:144)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:301)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:255)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:716)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:698)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:380)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:902)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:480)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:208)
         at $Proxy34.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:3724)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1584)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:337)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:233)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:273)
         at weblogic.Server.main(Server.java:33)
    Where i went wrong?
    Thanks in advance
    phani

    Hi ,
    I have the same problem .when i look into JNDI tree view the jndi name is listed. but it saying error below listed.
    my
    ejb-name:=containerManaged
    datasourcename=EX_DataSource
    jndi-name=EX_JNDI
    <Feb 14, 2005 3:10:08 PM IST> <Error> <Deployer> <149231> <The slave deployer was unable to set the activatio
    true for the application EX_Container
    weblogic.management.ApplicationException: activate failed forEX_Container
    Module Name: EX_Container, Error: Exception activating module: EJBModule(EX_Container,status=PREPARED)
    Unable to deploy EJB: containerManaged from EX_Container.jar:
    The DataSource with the JNDI name: EX_DataSource could not be located. Please ensure that the DataSource has
    ed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    TargetException:
    Unable to deploy EJB: containerManaged from EX_Container.jar:
    The DataSource with the JNDI name: EX_DataSource could not be located. Please ensure that the DataSource has
    ed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1022)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLife
    ava:235)
    at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
    at weblogic.Server.main(Server.java:32)
    my weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!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>containerManaged</ejb-name>
    <entity-descriptor>
    <persistence>
         <persistence-use>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>7.0</type-version>
         <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
         </persistence-use>
    </persistence>
    </entity-descriptor>
    <jndi-name>EX_JNDI</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    <?xml version="1.0"?>
    <!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-cmp-rdbms-jar.xml file
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>containerManaged</ejb-name>
    <data-source-name>EX_DataSource</data-source-name>
    <table-map>
    <table-name>ejbAccounts</table-name>
    <field-map>
    <cmp-field>accountId</cmp-field>
    <dbms-column>id</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>balance</cmp-field>
    <dbms-column>bal</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>accountType</cmp-field>
    <dbms-column>type</dbms-column>
    </field-map>
    </table-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>DropAndCreateAlways</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    ejb-jar.xml
    <?xml version="1.0"?>
    <!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>
    <enterprise-beans>
    <entity>
    <ejb-name>containerManaged</ejb-name>
    <home>containerBN.EX.AccountHome</home>
    <remote>containerBN.EX.Account</remote>
    <ejb-class>containerBN.EX.AccountBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>AccountBean</abstract-schema-name>
    <cmp-field>
    <field-name>accountId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>balance</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>accountType</field-name>
    </cmp-field>
    <primkey-field>accountId</primkey-field>
    <query>
    <query-method>
    <method-name>findBigAccounts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.balance > ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAccount</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.balance = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findNullAccounts</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.accountType IS NULL]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>containerManaged</ejb-name>
         <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>EX_Container.jar</ejb-client-jar>
    </ejb-jar>
    pls lhelp me .
    my email id: [email protected]
    thanks in advance.
    Sudhakar.M

  • The DataSource with the JNDI name: contentDataSource could not be located

    Hello,
    We try to deploy our system/application to the servers that structed as
    Machine one has:
    1 administration domain
    1 managed domain
    Machine two has :
    1 managed domain which is administrated by machine one.
    I was trying to deploy the UI(portal application) to managed domain under Machine one. I got
    error message as following:
    Exception:weblogic.management.ApplicationException: activate failed for content.jar Module: content.jar Error: Exception activating module: EJBModule(content.jar,status=PREPARED) Unable to deploy EJB: ValueBean from content.jar: [EJB:011028]The DataSource with the JNDI name: contentDataSource 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.
    I have portalFrameworkPool Data Sources deployed to both managed domains.
    when I deploy the application to the server that has one one domain(both adminstrator domain and application domain are in one), it is fine.
    Can some one with same experience, or BEA people provide some help on this? Very appreciate any help on this issue.
    Thanks in advance.
    Christina

    :-p
    If you go to each Managed Server on the console, you can see the Service tab and then go to JDBC. Under JDBC you can see all the pool connections. Instead of localhost they should be pointing to the specific hostname or ip address of the adminserver and the pointbase port on that server (9093 by default) so the EAR files can be correctly deployed and then the JNDI Tree will look exactly the same on both servers. Change all the connection pools to use the specific hostname instead of localhost. Hope this works for you.

  • Many of my older ITunes downloads play perfectly well on my IMac but constantly skip to the next song or suddenly stop playing on my IPhone. The problem is the same with both my old 4s and my new 5s. I have tried deleting and re-downloading to the phones.

    Many of my older ITunes downloads play perfectly well on my IMac but constantly skip to the next song or suddenly stop playing on my IPhone. The problem is the same with both my old 4s and my new 5s  phones. I have tried deleting and re-downloading my music library to the phones, but the result is always the same.

    I'm adding more information:
    in Finder, my iMovie folders are all visible and accessible.  When I click on a clip from iMovie Events folder, Quicktime opens and plays the clip.  ALL my video is not missing - it just isn't showing up in the Event Library!
    This happened all of a sudden, while I was working on iMovie project (on both computers).
    All my Projects are intact, and play when I open them. 

  • Will AIR has any problems in the future with Android?

    Will AIR has any problems in the future with Android?
    If we are experienced in flash, is it better to do the mobile work with AIR or HTML5?
    But we are doing flash only so that we may face problems if we faced any bugs, is it expected to have any bugs or complexities, we can do flash with AS3 and we will depend on flash in publishing

    Do you mean you dropped the iPad Air?  Is it working properly?  Is the screen damaged?
    If it is working properly and has no signs of damage, it is probably ok.

  • My network symbol keeps working on my home page even when I'm not doing anything, I know there has been problems in the past with this so has it come back, help it's killing my battery!

    My network symbol keeps working on my home page even when I'm not doing anything, I know there has been problems in the past with this so has it come back, help it's killing my battery!

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Hi, I have a problem on the ipod with this file "metadata_never_index". My PC doesn't recognise it. I need the program Apple Spotlight but I can't download it as well. Why? Any solution?

    Hi, I have a problem on the ipod with this file "metadata_never_index". My PC doesn't recognise it. I need the program Apple Spotlight but I can't download it as well. Why? Any solution?

    I am not doing it in ITunes, but i did down load the song from ITunes.  I loaded the song on to my Nano, but in my menu selections it doesn't show the song or the artist in any search format.  However, when i plug in my nano to my PC I see the Nano library on my PC drive listings and that song and artist are there.  I can click on the song and it will play in Windows media on my work PC.  I did notice that the format for most all the songs in my library on my Nano are MPEG - 4 audio Files. 
    Thanks for your help, Mel

  • Using dataexport in a business rules and define the filename with a sub var

    Hi,
    I have created a calc script to export data using DATAEXPORT, and to define the filename an essbase variable.
    Here all right
    I copy this code to a business rules to run it from a business rules, but I have a problem with the essbase variable, when I validate it, it gives me the error:
    Detail:Encountered "&FileNm" at line 28, column 26.
    Was expecting:
    My essbase variable is set to:
    "e:\Hyperion\products\Essbase\EssbaseServer\app\TMPGB\dataexportCustomerY2.txt"
    in double quote
    How anyone use in a Business rules with the command dataexport an essbase substitution variable

    Just tried:
    Script: DATAEXPORT "File" " " &Filename "#Missing";
    SubsVar: "c:\DataExtract.txt"
    it worked with no issues.
    Cheers,
    Alp

  • How to resolve the datasource with Cloudspace database?

    Hi,
    I am running WebLogic 6.1 on Win2k and I have problem with
    Cloudscape database in Default Admin Server.
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException:
    Unable to resolve MyJDBCDataSource.
    Resolved: '' Unresolved:'MyJDBCDataSource' ; remaining name ''
    === Finish init method in myJDBCReadServlet.java ===
    1. I created simple table in the Cloudscape database using IJ utility and inserted
    some values:
    prompt>java -classpath %CLASSPATH%;..\lib\tools.jar COM.cloudscape.tools.ij
    ij version 3.5 (c) 1997-2000 Informix Software, Inc.
    ij> CONNECT 'jdbc:cloudscape:demo;create=true';
    WARNING 01J01: Database 'demo' not created, connection made to existing database
    instead.
    ij> SHOW CONNECTIONS;
    CONNECTION0* - jdbc:cloudscape:demo;create=true
    * = current connection
    ij> CREATE TABLE employee(name CHAR(25), location CHAR(20), id INTEGER);
    0 rows inserted/updated/deleted
    2. I created Connection Pool and Data Source using Default Console
    The Connection Pool configuration is the following:
    Name : MyJDBC Connection Pool
    URL : jdbc:cloudscape:demo
    Driver Classname: COM.cloudscape.core.JDBCDriver
    Properties : user=none password=none server=none
    My Data Source configuration is the following:
    Name : MyJDBC Data Source
    JNDI Name: MyJDBCDataSource
    Pool Name: MyJDBC Connection Pool
    I added the following line to myserver startup script to point
    to the database location:
    -Dcloudscape.system.home=./samples/eval/cloudscape/data
    3. I wrote the servlet and here is the piece of the myJDBCReadServlet
    code which generated the exception:
    public void init()
    System.out.println("=== Start init method in myJDBCReadServlet.java ===");
    try {
    ctx = new InitialContext();
    ds = (javax.sql.DataSource) ctx.lookup ("MyJDBCDataSource");
    } catch (Exception E) {
    System.out.println("Init Error: " + E);
    System.out.println("=== Finish init method in myJDBCReadServlet.java ===");
    Why it cannot find the database using JNDI name?
    Any help will be greatly appreciated,
    Jacob Nikom

    Great.
    Here is a link where you can find more cloudscape details:
    http://www.cloudscape.com/docs/doc_36/doc/html/coredocs/docs2.htm
    S.
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    >
    Problem solved!
    Slava - thank you for your help.
    Yes, cloudscape.jar file should be on the CLASSPATH.
    I also put tools.jar from the same directory (I am not sure
    is it necessary or not, but I did not test it).
    However,it is not enough to run WebLogic with Cloudscape
    successfuly. You have to tell WebLogic where the database
    files are. To do it you have to include start-up option
    in the startWebLogic.cmd file.
    It looks like:
    -Dcloudscape.system.home="C:~\samples\eval\cloudscape\data"
    After that it runs. Actually, the file cloudscape.html in the
    directory ~\samples\eval\cloudscape has quite a bit of information.
    Unfortunately, it is difficult to comprehend it until you understand whatthe
    problem is.
    Regards,
    Jacob
    "Slava Imeshev" <[email protected]> wrote:
    Hi Jacob,
    You need to specify the Cloudscape classes in your
    CLASSPATH, which exists in weblogic/samples/eval/cloudscape/lib.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    This is the source of the error:
    <Error> <JDBC>
    <Cannot startup connection pool "MyJDBC_Connection_Pool"
    Cannot load driver class: COM.cloudscape.core.JDBCDriver>
    but I don't know how to fix it.
    I don't know the name of the Cloudscape JDBC driver.
    I looked at cloudscape.jar file and found the following class file:
    COM/cloudscape/core/JDBCDriver.class
    Is it the right driver?
    I tried to use COM.cloudscape.core.XADataSource driver
    classname, but got the same problem - WebLogic cannot find it.
    Which .jar file has correct Cloudscape JDBC driver?
    What else should I do to ensure that driver loads properly?
    Thank you,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Ok. I don't see that neither connection pool nor data source
    trying to start. You did not added targets to them or may be
    you provided wrong target.
    S.
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    Thank you for your response. I am sending you the full
    log as .txt file attachment. It is not very large in order
    to zip it.
    I added some Cloudscape parameters to the startup script,
    so you can see them there. They show to the WebLogic where
    the database is located.
    Also, I think the database was running because I could see
    my tables using IJ utility (Cloudscape tool), however I am
    not sure how Cloudscape exactly starts and runs.
    Regards,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Could you zip the whole log and send it to me?
    I just want to see what the console says about
    creation of your datasources and pools.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    This is the output with Stdout severity threshold = "info".
    I only split a couple of very long lines.
    <Oct 2, 2001 6:29:33 PM EDT> <Info> <HTTP>
    <[WebAppServletContext(5891807,myJDBCReadServlet,/myJDBCReadServlet)]
    myJDBCReadServlet:
    init>
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException: Unable to resolveMyJDBC_Data_Source.
    Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
    === Finish init method in myJDBCReadServlet.java ===
    === Start service method in myJDBCReadServlet.java ===
    Service Error: java.lang.NullPointerException
    === Finish service method in myJDBCReadServlet.java ===
    "jacob nikom" <[email protected]> wrote:
    Hi Slava,
    Thank you very much for your response.
    I followed your advice and changed the names
    of my ConnectionPool and DataSource, removing
    all spaces. Now they are MyJDBC_Data_Source and
    MyJDBC_Connection_Pool (is underscore OK?).
    I think I turned on the message level on "info" few days ago.
    Could you remind me how to check it?
    I am sending you the full log of my session starting
    from the beginning up to the crush:
    prompt>"C:\WebLogic61\jdk131\bin\java" -hotspot -ms64m -mx64m
    -classpath
    .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\cos.jar
    -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver
    "-Dbea.home=C:\WebLogic61"
    -Dcloudscape.system.home="C:\WebLogic61\wlserver6.1\samples\eval\cloudsc
    a
    p
    e
    \data"
    >
    -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=false
    >
    "-Djava.security.policy==C:\WebLogic61\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    <Oct 2, 2001 5:21:57 PM EDT> <Info> <Security> <Getting bootpassword
    from user.>
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    <Oct 2, 2001 5:22:02 PM EDT> <Notice> <Management> <Loadingconfiguration
    file
    .\config\mydomain\config.xml ...>
    <Oct 2, 2001 5:22:07 PM EDT> <Notice> <WebLogicServer> <StartingWebLogic
    Admin
    Server "myserver" for domain "mydomain">
    <Oct 2, 2001 5:22:10 PM EDT> <Notice> <Management> <Starting
    discovery
    of Managed
    Server...
    This feature is on by default, you may turn this off bypassing -Dweblogic.management.discover=false>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <Management> <Application
    Poller
    started
    for development server.>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer><SSLListenThread
    listening
    on port 7002>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer>
    <ListenThread
    listening
    on port 7001>
    <Oct 2, 2001 5:22:18 PM EDT> <Notice> <WebLogicServer> <StartedWebLogic
    Admin
    Server "myserver" for
    domain "mydomain" running in Development Mode>
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException: Unable to
    resolve
    MyJDBC_Data_Source.
    Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
    === Finish init method in myJDBCReadServlet.java ===
    === Start service method in myJDBCReadServlet.java ===
    Service Error: java.lang.NullPointerException
    "Slava Imeshev" <[email protected]> wrote:
    Jacob,
    Just FYI, DataSource or ConnectionPool name can not
    contain spaces. Change the names and let me know if it helps.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    Thank you for your message. I did assign target to
    my Connection Pool and Data Source. It is "myserver".
    Also, there is not any error messages form WebLogic
    shell except the ones which I place in my message.
    So far the misery remains unresolved.
    Regards,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Hi Jacob,
    Make sure you assigned targets to the connection pool and
    data
    source.
    Also
    check Weblogic shell console for errors.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am running WebLogic 6.1 on Win2k and I have problem
    with
    Cloudscape database in Default Admin Server.
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException:
    Unable to resolve MyJDBCDataSource.
    Resolved: '' Unresolved:'MyJDBCDataSource' ; remainingname
    === Finish init method in myJDBCReadServlet.java ===
    1. I created simple table in the Cloudscape database using
    IJ
    utility
    and
    inserted
    some values:
    prompt>java -classpath %CLASSPATH%;..\lib\tools.jarCOM.cloudscape.tools.ij
    ij version 3.5 (c) 1997-2000 Informix Software, Inc.
    ij> CONNECT 'jdbc:cloudscape:demo;create=true';
    WARNING 01J01: Database 'demo' not created, connection
    made
    to
    existing
    database
    instead.
    ij> SHOW CONNECTIONS;
    CONNECTION0* - jdbc:cloudscape:demo;create=true
    * = current connection
    ij> CREATE TABLE employee(name CHAR(25), location
    CHAR(20),
    id
    INTEGER);
    0 rows inserted/updated/deleted
    2. I created Connection Pool and Data Source using Default
    Console
    The Connection Pool configuration is the following:
    Name : MyJDBC Connection Pool
    URL : jdbc:cloudscape:demo
    Driver Classname: COM.cloudscape.core.JDBCDriver
    Properties : user=none password=none server=none
    My Data Source configuration is the following:
    Name : MyJDBC Data Source
    JNDI Name: MyJDBCDataSource
    Pool Name: MyJDBC Connection Pool
    I added the following line to myserver startup script
    to
    point
    to the database location:
    -Dcloudscape.system.home=./samples/eval/cloudscape/data
    3. I wrote the servlet and here is the piece of themyJDBCReadServlet
    code which generated the exception:
    public void init()
    System.out.println("=== Start init method inmyJDBCReadServlet.java
    ===");
    try {
    ctx = new InitialContext();
    ds = (javax.sql.DataSource) ctx.lookup
    ("MyJDBCDataSource");
    } catch (Exception E) {
    System.out.println("Init Error: " + E);
    System.out.println("=== Finish init method inmyJDBCReadServlet.java
    ===");
    Why it cannot find the database using JNDI name?
    Any help will be greatly appreciated,
    Jacob Nikom

  • You cannot have command as the datasource with parameters that get passed?

    I wrote a Crystal Report using a SQL command shown below. The SQL in effect creates a table called Command with the specified fields. This CR works exactly as we requested. Now I am told that they are using some kind of Interface, written in VB6, not sure exactly of all this, but that it cannot accept this Command as the datasource. The developer says that the interface is expecting SQL Server tables. Does this sound right? The interface is a repository of all reports with parameters.
    SELECT
    IV00101.ITMGEDSC,
    IV00101.ITEMDESC,
    RM00101.CUSTNAME,
    RM00101.CPRCSTNM,
    RM00101.CUSTNMBR,
    IV40600.UserCatLongDescr,
    CATS.UserCatLongDescr,
    SOP10200.ITEMNMBR,
    SOP10200.SOPNUMBE,
    SOP10200.QUANTITY,
    SOP10200.OXTNDPRC,
    SOP10200.SOPTYPE,
    SOP10100.DOCDATE,
    'Current' as source
    FROM ((((PBS.dbo.SOP10200
    SOP10200 INNER JOIN PBS.dbo.IV00101 IV00101 ON
    SOP10200.ITEMNMBR=IV00101.ITEMNMBR)
    INNER JOIN
    PBS.dbo.SOP10100 SOP10100 ON
    (SOP10200.SOPTYPE=SOP10100.SOPTYPE) AND
    (SOP10200.SOPNUMBE=SOP10100.SOPNUMBE))
    INNER JOIN
    PBS.dbo.IV40600 IV40600 ON
    IV00101.ITMGEDSC=IV40600.USCATVAL)
    INNER JOIN
    PBS.dbo.IV40600 CATS ON
    IV00101.USCATVLS_2=CATS.USCATVAL)
    INNER JOIN
    PBS.dbo.RM00101 RM00101 ON
    SOP10100.CUSTNMBR=RM00101.CUSTNMBR
    UNION ALL
    SELECT
    IV00101.ITMGEDSC,
    IV00101.ITEMDESC,
    RM00101.CUSTNAME,
    RM00101.CPRCSTNM,
    RM00101.CUSTNMBR,
    IV40600.UserCatLongDescr,
    CATS.UserCatLongDescr,
    SOP30300.ITEMNMBR,
    SOP30300.SOPNUMBE,
    SOP30300.QUANTITY,
    SOP30300.OXTNDPRC,
    SOP30300.SOPTYPE,
    SOP30200.DOCDATE,
    'History' as source
    FROM ((((PBS.dbo.SOP30300
    SOP30300 LEFT OUTER JOIN PBS.dbo.IV00101 IV00101 ON
    SOP30300.ITEMNMBR=IV00101.ITEMNMBR)
    INNER JOIN
    PBS.dbo.SOP30200 SOP30200 ON
    (SOP30300.SOPTYPE=SOP30200.SOPTYPE) AND
    (SOP30300.SOPNUMBE=SOP30200.SOPNUMBE))
    LEFT OUTER JOIN
    PBS.dbo.IV40600 IV40600 ON
    IV00101.ITMGEDSC=IV40600.USCATVAL)
    LEFT OUTER JOIN
    PBS.dbo.IV40600 CATS ON
    IV00101.USCATVLS_2=CATS.USCATVAL)
    INNER JOIN
    PBS.dbo.RM00101 RM00101 ON
    SOP30200.CUSTNMBR=RM00101.CUSTNMBR

    Hi,
    I've used the SQL Command quite a bit in Crystal. It simply replaces the SQL that Crystal would create for your Designer query with the SQL you specify in the Command. Therefore I would not expect using Command to make any difference. So I suspect the problem lies elsewhere - e.g. is the report being called correctly and are the correct parameters and database login credentials being passed?

  • Problem, change the language with dynamic text

    I am looking for a way to change simply the language of my flash animation
    I work with flash cs4
    of course I got Mylocale.as:
    import mx.lang.Locale;
    class MyLocale extends mx.lang.Locale {
    static function start():Void {  
    var langCode:String = xmlLang;
    currentXMLMapIndex = 0;
    xmlDoc.load(xmlMap[langCode][0]);
    static function setXMLLang(langCode:String):Void {
    xmlLang = langCode;
    and different xml files in the same folder than my swf file
    in string , I ticked : "replace  strings automatically during the execution"
      with a default language (I am wondering if the problem is not from there)
      if I tick: "replace strings manually using the scene language " or "replace strings via actionscript"
    my code does not work.
      then I kept: "replace strings automatically during the execution"
    in my flash animation I have several scenes (pages)
    p1, p2, p3, p4
    in p1
    I created a language bar
    then 2 layers inside
    Layer--action:
    langListener = new Object();
    langListener.change = function(eventObj) {
    var target = eventObj.target;
    var newLang = target.selectedItem.data;
    MyLocale.setXMLLang(newLang);
    MyLocale.start();
    lang_cb.addEventListener("change", langListener);
    // Force Japanese
    lang_cb.selectedIndex = 1;
    lang_cb.dispatchEvent({type:"change"});
    Layer--language ex Fr:
    // Forces combobox to have the correct value
    on (release) {
    var component = _parent.lang_cb;
    for (var i=0; i< component.length; i++) {
    var item = component.getItemAt(i);
    if (item.data == "fr") {
    component.setSelectedIndex(i);
    component.dispatchEvent({type:"change"});
    break;
    ex Ja :
    // Forces combobox to have the correct value
    on (release) {
    var component = _parent.lang_cb;
    for (var i=0; i< component.length; i++) {
    var item = component.getItemAt(i);
    if (item.data == "ja") {
    component.setSelectedIndex(i);
    component.dispatchEvent({type:"change"});
    break;
    When I change the language in p1 , the language is also modified in p2, p3 and p4
    however , after a navigation in p2, p3 and p4 , once I come back in p1 , the default language is back automatically although I did not touch the language bar!!
    I don't know how to solve the problem
    to my mind , the script reset itself each time I come back on p1
    is there a way to keep the saved settings even when I am back on p1 until I modify manually again the language bar
    thanks a lot

    I am looking for a way to change simply the language of my flash animation
    I work with flash cs4
    of course I got Mylocale.as:
    import mx.lang.Locale;
    class MyLocale extends mx.lang.Locale {
    static function start():Void {  
    var langCode:String = xmlLang;
    currentXMLMapIndex = 0;
    xmlDoc.load(xmlMap[langCode][0]);
    static function setXMLLang(langCode:String):Void {
    xmlLang = langCode;
    and different xml files in the same folder than my swf file
    in string , I ticked : "replace  strings automatically during the execution"
      with a default language (I am wondering if the problem is not from there)
      if I tick: "replace strings manually using the scene language " or "replace strings via actionscript"
    my code does not work.
      then I kept: "replace strings automatically during the execution"
    in my flash animation I have several scenes (pages)
    p1, p2, p3, p4
    in p1
    I created a language bar
    then 2 layers inside
    Layer--action:
    langListener = new Object();
    langListener.change = function(eventObj) {
    var target = eventObj.target;
    var newLang = target.selectedItem.data;
    MyLocale.setXMLLang(newLang);
    MyLocale.start();
    lang_cb.addEventListener("change", langListener);
    // Force Japanese
    lang_cb.selectedIndex = 1;
    lang_cb.dispatchEvent({type:"change"});
    Layer--language ex Fr:
    // Forces combobox to have the correct value
    on (release) {
    var component = _parent.lang_cb;
    for (var i=0; i< component.length; i++) {
    var item = component.getItemAt(i);
    if (item.data == "fr") {
    component.setSelectedIndex(i);
    component.dispatchEvent({type:"change"});
    break;
    ex Ja :
    // Forces combobox to have the correct value
    on (release) {
    var component = _parent.lang_cb;
    for (var i=0; i< component.length; i++) {
    var item = component.getItemAt(i);
    if (item.data == "ja") {
    component.setSelectedIndex(i);
    component.dispatchEvent({type:"change"});
    break;
    When I change the language in p1 , the language is also modified in p2, p3 and p4
    however , after a navigation in p2, p3 and p4 , once I come back in p1 , the default language is back automatically although I did not touch the language bar!!
    I don't know how to solve the problem
    to my mind , the script reset itself each time I come back on p1
    is there a way to keep the saved settings even when I am back on p1 until I modify manually again the language bar
    thanks a lot

  • Connecting to the Datasource in ColdFusion 8 vs CF 6

    Hi all,
    I have a CF6 application that is running well. However, I'm
    in the process of upgrading to CF8, and some of the code no longer
    works. I've scoured the documentation and haven't found information
    on the replacement code.
    My old code gets a datasource, acquires a database
    connection, uses the connection, and then closes the datasource.
    variables.dsService = CreateObject("java",
    "coldfusion.server.ServiceFactory").DataSourceService;
    variables.dsManager = dsService.getDman();
    variables.dataSource =
    variables.dsManager.getDataSource(<data source name goes
    here>);
    variables.dbConnection =
    variables.dataSource.getConnection();
    <code to use the db connection goes here>
    variables.dbConnection.close();
    Under CF8, the error message is "The getDman method was not
    found." So I've been unable to find any code that will let me get
    access to an object that implements DataSource, so that I can use
    my connections.
    Any advice would be appreciated.
    Mike K.

    not sure if these help:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_37.html
    http://localhost/CFIDE/adminapi/datasource.cfc
    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Fordwebs, LLC
    http://www.fordwebs.com
    "MKK2" <[email protected]> wrote in message
    news:g6d5sa$s0q$[email protected]..
    > Hi all,
    >
    > I have a CF6 application that is running well. However,
    I'm in the process of
    > upgrading to CF8, and some of the code no longer works.
    I've scoured the
    > documentation and haven't found information on the
    replacement code.
    >
    > My old code gets a datasource, acquires a database
    connection, uses the
    > connection, and then closes the datasource.
    >
    >
    > variables.dsService = CreateObject("java",
    > "coldfusion.server.ServiceFactory").DataSourceService;
    > variables.dsManager = dsService.getDman();
    > variables.dataSource =
    variables.dsManager.getDataSource(<data source
    > name goes here>);
    > variables.dbConnection =
    variables.dataSource.getConnection();
    > <code to use the db connection goes here>
    > variables.dbConnection.close();
    >
    > Under CF8, the error message is "The getDman method was
    not found." So I've
    > been unable to find any code that will let me get access
    to an object that
    > implements DataSource, so that I can use my connections.
    >
    > Any advice would be appreciated.
    >
    > Mike K.
    >

  • Problems defining the array for quicksort

    import java.io.*;
    import java.util.*;
    import chn.util.*;
    public class Store
              private Item [] myStore;
              public Store (String fileName) {
                   fileName = "file50.txt";
    /*          public void displayStore ()       
              public String toString () { }
              public void doSort () { }
    */          private void quickSort (Item[] lit, int lo, int hi)   // I don't exactly know what Item[ ] lit will do. please explain it for me.
              int h, l, p, t;
            if (lo < hi) { 
                l = lo;
                h = hi;
          /*      p = a[hi];     //my problem starts with the array 'a' (suppose to be item, but don't know how to modify that.
                do {
                    while ((l < h) && (a[l] <= p)) l++;
                    while ((h > l) && (a[h] >= p)) h--;
                    if (l < h) {
                        t = a[l];
                        a[l] = a[h];
                        a[h] = t;
                } while (l < h);
                t = a[l];
                a[l] = a[hi];
                a[hi] = t;
              private void loadFile (String inFileName)
                   FileInput inFile = new FileInput (inFileName = "file50.txt");
    }The array 'a' should be replaced with the array 'Item' but some how I'm getting the errors that Item's not a valid type.
    for more information, please see http://forum.java.sun.com/thread.jspa?threadID=699397&tstart=60 for more information (the original problem)

    Here is what I suggest.
    Use collections. I suggest an ArrayList. Using one array involves all sort of messy swapping around which really will make things difficult for you to grasp the basic concept of.
    So let us assume a method like this
    public void quicksort(List items)
    items is a List of Items.
    So here is how to write a quicksort
    1) If the size of the list is 1 then return the list because it is down to it's final piece and doesn't need to be sorted further
    2) Choose a pivot element of your list. The mid point is often chosen for this.
    3) Create two new Lists. One for lower elements and one for higher and equal to elements.
    4) Go through the list and use compareTo to compare the elements of the list with your pivot element. Take care to skip the pivot element. If elements are less than the pivot put them in the first list. If they are more than or equal to put them in the second list.
    5) Recursively call quicksort(list) on the sublists we made.
    6) Merge the sublists and pivot values back into one list
    7) return the merged list

  • My iphone 5 has started to have a problem controlling the volume with the buttons on the side? How to fix?

    It started like 3 days ago and first it was just my (-) decrease volume button but now its both.

    Also,
    Like I read in many other posts I'm starting to have Wi-Fi trouble.
    Known networks that were no problem recognizing and connecting to automatically with IOS 7.0.2. and downwards are starting to have trouble. Network not found or when found a connection is not made automatically.
    Also then trying to connect manually is a problem, as the network jiggers / flickers between the upper Wi-Fi connection field and the field 'known networks'....
    So I point near the network with my finger I want to connect to al the time....
    Normally this kind of thing is funny and I can laugh about it.
    But now I wish I could downgrade to IOS 7.0.2...

  • Problem accessing J2EE DataSource with BC4J

    I'm trying to create MySQL database connection with BC4J via a J2EE DataSource. But without success.
    The errors I receive:
    Launching OC4j...
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    2003-03-18 09:40:36 ApplicationModuleProvider - unspecified properties:
    password drivertype user sid connectionstring host encryptiontype port
    ApplicationModuleProvidernull
    java.lang.NullPointerException
    at oracle.cle.persistence.ConnectionProvider.getConnectionString(Connect
    ionProvider.java:606)
    at oracle.clex.persistence.bc4j.ApplicationModuleProvider.createModule(A
    pplicationModuleProvider.java:331)
    at oracle.clex.persistence.bc4j.ApplicationModuleProvider.getConnection(
    ApplicationModuleProvider.java:200)
    at oracle.cle.persistence.ConnectionProvider.getConnection(ConnectionPro
    vider.java:669)
    at oracle.cle.persistence.ConnectionManager.getConnection(ConnectionMana
    ger.java:607)
    at oracle.cle.persistence.DeploymentConnector.getConnection(DeploymentCo
    nnector.java:168)
    at oracle.cle.persistence.DeploymentConnector.getConnection(DeploymentCo
    nnector.java:92)
    at oracle.jheadstart.persistence.bc4j.handler.DataSourceHandlerImpl.getC
    onnection(DataSourceHandlerImpl.java:331)
    at oracle.jheadstart.persistence.bc4j.handler.DataSourceHandlerImpl.getA
    pplicationModule(DataSourceHandlerImpl.java:874)
    at oracle.jheadstart.persistence.bc4j.handler.DataSourceHandlerImpl.getD
    ataSourceSet(DataSourceHandlerImpl.java:462)
    at oracle.jheadstart.process.GetDataSourceSet.retrieveSimple(GetDataSour
    ceSet.java:538)
    at oracle.jheadstart.process.GetDataSourceSet.persist(GetDataSourceSet.j
    ava:502)
    at oracle.jheadstart.process.PersistingDataSource.start(PersistingDataSo
    urce.java:251)
    at oracle.cle.process.CLEStateMachine.start(CLEStateMachine.java:55)
    at oracle.cle.process.Process.start(Process.java:97)
    at oracle.cle.process.GenericProcess.start(GenericProcess.java:82)
    at oracle.cle.process.ParentProcess.start(ParentProcess.java:218)
    at oracle.cle.process.DisplayGroup.start(DisplayGroup.java:75)
    at oracle.cle.process.CLEStateMachine.start(CLEStateMachine.java:55)
    at oracle.cle.process.Service.start(Service.java:389)
    at oracle.clex.process.controller.HttpServletController.doPost(HttpServl
    etController.java:439)
    at oracle.jheadstart.process.controller.JhsHttpServletController.doPost(
    JhsHttpServletController.java:70)
    at oracle.clex.process.controller.HttpServletController.doGet(HttpServle
    tController.java:849)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:721)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:797)
    at java.lang.Thread.run(Unknown Source)
    ApplicationModuleProvider: ApplicationModuleProvidernull
    GetDataSourceSet Exception: A Connection could not be made for class: oracle.emp
    depdemo.resource.Department and sessionId: e3c568a09dec48d7b5a6cb86d041d22b orig
    inal message is: ApplicationModuleProvider: ApplicationModuleProvidernull
    See also thread MySQL at the JHeadstart forum.
    data-sources.xml (oc4j\j2ee\home\config):
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="tiger"
              url="jdbc:oracle:thin:@172.16.2.240:1521:dev2"
              inactivity-timeout="30"
         />     
    cle-providers.xml:
    <cle-providers>
    <provider name="EmpDepServiceProvider" class="oracle.clex.persistence.bc4j.ApplicationModuleProvider">
    <property name="persistencebase" value="oracle.empdepdemo.persistence.bc4j"/>
    <property name="modulename" value="oracle.empdepdemo.persistence.bc4j.Bc4jModule"/>
    <property name="failover" value=""/>
    <property name="scope" value="request"/>
    <property name="managestate" value="false"/>
    <property name="configuration" value="Bc4jModuleLocal"/>
    </provider>
    </cle-providers>
    bc4j.xcfg:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="Bc4jModuleLocal">
    <DeployPlatform>LOCAL</DeployPlatform>
    <DBconnection>jdbc:oracle:thin:@localhost:1521:orcl</DBconnection>
    <JDBCName>ScottTiger</JDBCName>
    <jbo.project>empdep</jbo.project>
    <AppModuleJndiName>oracle.empdepdemo.persistence.bc4j.Bc4jModule</AppModuleJndiName>
    <ApplicationName>oracle.empdepdemo.persistence.bc4j.Bc4jModule</ApplicationName>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <ConnectionDefinition name="ScottTiger">
    <ENTRY name="JDBC_PORT" value="1521"/>
    <ENTRY name="ConnectionType" value="JDBC"/>
    <ENTRY name="HOSTNAME" value="localhost"/>
    <ENTRY name="user" value="Scott"/>
    <ENTRY name="ConnectionName" value="ScottTiger"/>
    <ENTRY name="SID" value="orcl"/>
    <ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
    <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
    </ConnectionDefinition>
    </BC4JConfig>

    Thank you Dhiraj,
    On my Oracle database it is working. But on MySQL I still have the same problem.
    I'm still ivestigating it.
    Thanks anyway.
    Marcel

Maybe you are looking for