Access to database using ColdFusion & Flex

Hi, I install a ColdFusion MX 7 Updater 2 in my ColdFusion
Server but don't
work it.... my server has a Windows Server 2003 Enterprise
and we are
developing an aplication in Flex 2 and we are using
ColdFusion for connect
to data base but Flex 2 need a ColdFusion MX 7 Updater 2 to
install Flex
Data Services Adapter - enabling the use of Flex Data
Management Services
with ColdFusion components (CFCs). In Adobe web site
http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_install.html)
are an instrucctions about install this updater, I follow
this instructions
and install this updater correctly, check the existence of
this files:
cf_root\lib/cfusion.jar
cf_root\lib/im.jar
cf_root\lib/wsdl4j-1.5.1.jar
cf_webroot/CFIDE/adminapi/Application.cfm
cf_webroot/CFIDE/administrator/Application.cfm
This instalation create a Flex folder in WEB-INF folder, this
WEB-INF folder
is in CFusionMX7 directory in Inetpub. And everything is OK
but in Flex
Builder 2, when I attempt to create a new project and appear
a wizard window
and I select a project with Cold Fusion Remoting Sevice, in
second step I
got to select a Root folder and send me an error window tell
me that I got
an Invalid server root. Server root must contain a
WEB-INF/flex folder and I
check and this folder it exist....So can anybody help me????
MSN [email protected]

Did you shut down the database before moving files?I didn't move any files, I just copied some files to the other node.
Can you connect in sqlplus?Yes that was possible. I also had a connection to the database using TOAD.
After looking for the problem together with a colleague I've found out that I had to add some more listening addresses. The problem was that my nodes node1 and node2 have the IPs 10.10.10.2 and 10.10.10.3 but the virtual server of the cluster which forms the database oracledb for the clients runs on 10.10.10.103. So there was the name for e.g. node1 in the configuration files but also the IP-address 10.10.10.103 which the system couldn't resolve. After adding all possibilities using the Net Manager and after restarting the services it worked fine. At least until now. I haven't tried everything yet... I will go on tomorrow... thx so far.

Similar Messages

  • How to access remote database using applet

    hi all,
    I want to know how to access remote database using applet,
    Please help me anybody.
    Regards
    Jesu

    If the database is on a public server, you probably can't access it directly (security wise). You can make your applet talk to a server-side application, which makes the database calls on behalf of the applet. But even in an intranet environment this setup is often preferable, because you don't need to distribute a JDBC driver to all your clients.

  • Accessing Progress Database using ODI

    Hi
    Has anyone used ODI to access Progress Database? We have such a requirement in our project but ODI is relatively new for me.
    Is it possible via a simple ODBC connectivity?
    DO let me know if anyone has tried. Thanks
    Birdy

    Hi somchai,
    probably you can halp me also...
    Below my problem:
    Local (no agent) vs Agent

  • How to access Oracle database using UNIX?

    Hi,
    Does anyone know how to access Oracle database Oracle 8i that is hosted on unix server via unix command line?
    Thanks,
    Willy

    Well, Oracle probably has a command line tool. I think it's called sqlplus or somesuch. Check you Oracle docs.
    Of course, given that this is a Java forum, it's remotely possible that you're actually asking about accessing the database from a Java program.
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • Can we connect and access SAP database using db adapter?

    Hi,
    I need couple of details:
    1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables?
    2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?
    Cheers

    1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables? It is possible as long as back-end DB version of SAP are supported by DB adapter. Oracle recommends SAP connectivity through Oracle Application Adapter for SAP rather than direct connection to SAP Database tables.
    2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?http://www.oracle.com/technology/products/integration/adapters/pdf/DS_OracleASAdapter_SAP.pdf
    http://www.oracle.com/technology/software/htdocs/devlic.html?url=/technology/software/products/ias/htdocs/101202.html
    http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14201/toc.htm (Installation)
    http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14196/toc.htm (SAP adapter configurtation)
    Manoj

  • Dynamic Creation of a Database Using Coldfusion

    Here is what i want to do.
    Through the simple click of a button on want to dynamicly create a new databas
    e for a completely new user.   I have a database already designed but what i want is for that database to act as my "perfect database image"  that can be replicated for use by other users on the system. I not only need to have  the DB dynamically created or copied I need to be able to create the ODBC connection in coldfusion so that the user can start using the database without any customer service.  I am using MSSQL 2005. thank you.

    1. Create a stored procedure that:
                a. Creates a database exactly like your original design (tables, columns, data types etc)
                b. With required parameters like username, password, dataSource
    2. Provide a form for the user to fill (fields to include applicable parameters - password etc)
    3. Form action attribute should point to a page that will invoke the stored procedure, passing in all required parameters
    4. Build in checks to avoid multiple database creation by one user (except you want to allow it)
    5.  It may be better to provide a means for user to delete his/her own database or table

  • I can not make Access repair database using built-in utility?

    Access 2013 reports that the file is not a database, and the data in the file are displayed via NotePad. Function "Database Utilities | Compact and Repair Database" does not work.

    The default SID for Oracle XE databases is:
    XE
    David Rolfe

  • Writing back to a database using adobe flex

    According to the demo on
    [http://www.businessobjects.com/global/flash/product/catalog/crystalreports/demo_operational_reporting/operationalreporting_viewlet_swf.html|http://www.businessobjects.com/global/flash/product/catalog/crystalreports/demo_operational_reporting/operationalreporting_viewlet_swf.html]
    it is possible to write back to a database.
    I have however some questions regarding this functionality:
    1. Can it write back to any given database and table?
    2. In the example there is a list of countries with figures. Is it possible to overwrite these figures for each country (visually on the report) and write that back to another table?
    3. If the values canu2019t be overwritten as in question 2, could there be a field inserted next to each row in the sample and can this be written to some table?
    4. If either question 2 or 3 is answered positively, are changes saved all at once or does the user need to hit a save button for every row?
    5. And if the user wishes to have a save button for every row would this be possible?
    Many thanks
    Jeroen

    Hi Beltamn
    I hope this post will help you. Try the resolution with xtreme sample database first.
    Here it is:
    I have used SQL Server database.
    Below is the code to create the table:
    Create table CountryWiseSum
    Country    varchar(20),
    Summary    number(20)       
    Below is the code to create the procedure:
    Create procedure InsertCountryWiseSum
    @Country    varchar(20),
    @Summary    number(20)
    as
    Begin
    insert into CountryWiseSum
    values(@Country,@Summary)
    Select 1
    End
    Now create a report grouped by countries based on the Extreme sample database.
    In this report create a formula as follows:
    numbervar x:=0;
    x := tonumber(x + sum({Customer.Last Year's Sales},{Customer.Country}));
    Name the formula as "GroupSummary" and place it in the group header section of the main report. The formula is used to calculate the Countrywise sum of the Last Year's Sales.
    Now create a SubReport in the group footer as follows:
    1. Use native or oledb connection to connect to SQL Server. Because this solution was tested with oledb connection.
    2. Locate the database name where you have created the table and procedure mentioned above.
    3. find the procedure name and add it to the "Selected tables" window.
    4. The Selected tables' list should have a entry like this:
    InsertCountryWiseSum;1
    5. Click OK. Now drag the "Expr1000" field from the field explorer to the details section.
    6. This action creates two parameters as @Country and @Summary.
    7. Go back to the main report and link this subreport's @Country parameter to the Country field in main report and the @Summary parameter to the "GroupSummary" formula field in the main report.
    8. Thats it! Refresh the report and the records would be inserted in the database. To ensure all records are inserted in the database, go to the last page of the report.
    9. To check with the database,if the records are inserted or not, try the following steps:
        a. Open the SQL Server's Query Analyser tool, log in and choose the database where we had created our 
            "CountryWiseSum" table.
        b. Use following statement to check the records:
            Select * from CountryWiseSum
    This shows all the 71 country names along with their Last Year's Sales'
    sum.
    I hope this would help.
    Regards
    Nikhil

  • Remote access database using EM Database Control Console

    When I install the Oracle database 10g, it gives me two choices:
    1)Using Grid Control for Database Management and
    2)Using Database Control for Database Management.
    When I select the #2, according to the Guide, I'll be able to manage my database locally. (Assume the database server's IP address is: DB_IP_Address, then I can use: http://DB_IP_Address:5560/em). But wait a minute___
    a)What does this "locally" mean? If the Oracle DB is installed in a remote location, and there is no LAN connection to it, can I still access it via the Oracle Enterprise Manager (Database Control Console)? (i.e., via the HTTP protocol)
    b)The same question is asked for the iSQL*Plus in regarding to the remote access. I guess the answer to a) above will automatically answer the b) ? (Actually I doubt that I can access remote database using the iSQL*Plus via HTTP protocol).
    Thanks
    Scott

    Hi,
    and there is no LAN connection to itWell you'll need some network link in order to connect successfully.
    What is meant by locally is that you can only manage databases installed on the local computer.
    For example if you installed it on machine "CPTR1", and on another machine "CPTR2", then you can't use http://cptr1:5560/em to manage the databases on "CPTR2. And vice versa.
    About iSQL*Plus, in fact, as far as the tns alias is ok from "CPTR1", you can connect to the databases on "CPTR2", "CPTR3", ....
    HTH,
    Yoann.

  • Upload .txt file to database in coldfusion

    Hi i need to know how  to upload text file in to database using coldfusion and the file does not have any column names. Can anyone help me in this.
    The sample of data in file is:
    00012009032216001111039289000005.9900100000000000000.00

    You can start by using list functions.  After uploading and reading the file, you can treat the resulting variable as a list delimited by chr(10) & chr(13).  As far as processing each line goes, you have to know it's structure.

  • How to connect to 9i database using 8i sqlplus?

    Hello,
    My Oracle server is running 9.2.0.1
    My Oracle client processes run on the same machine using Oracle 8i (ORACLE_HOME is set to 8i home).
    I cannot connect to 9i database using 8i sqlplus.
    My ORACLE_HOME for client environment is set to 8i home.
    How can I access 9i database using 8i sqlplus?
    Thanks in advance!

    I saw this answered in another thread:
    8i sqlplus not working on 9i
    Please try not to cross post.
    Alison

  • Linux non-oracle user cannot connect to database using TNS

    LS,
    I've installed Oracle 11gR2 on a linux box (name="ilmserver") running CentOS 5.4 (based on RHEL).
    Created user "oracle" and groups "oinstall" and "dba".
    Installation under user "oracle" went fine, and logged in as "oracle" user I can - naturally - access the database easily (via SQL+, or using SQL Developer it works via Basic, TNS, and Advanced (=jdbc)).
    I have a second user on the linux box called "informatica", on which I have installed Informatica ILM 5.3.2, which uses the Oracle database as its repository.
    The "informatica" user has been granted the same groups as the "oracle" user, i.e. "oinstall" and "dba".
    I have severe problems accessing the Oracle database as the "informatica" user.
    Using SQL Developer I can access the database using the "Basic" method, but not TNS.
    But guess what: for ILM to work to its fullest extent I need to implement an environment variable called TNS_ADMIN.
    I have implemented it, it sits in bash_profile and as such works fine:
    +[informatica@ilmserver ~]$ echo $TNS_ADMIN+
    +/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin+
    But as for being able to access it:
    +[informatica@ilmserver ~]$ cat $TNS_ADMIN/tnsnames.ora+
    cat: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora: Permission denied
    Somehow I thought that granting "oinstall" group to "informatica" user would take care of this. Obviously it doesn't. I also granted "dba" group to "informatica", to no avail apparently.
    This is then - I assume - also the reason that when I want to connect using TNS from within SQL Developer, the dropdown list is empty (because it's not able to read TNSNAMES.ORA).
    Does anyone know how to resolve this issue?
    Thanks heaps!
    Cheers, Patrick

    Just ran all+ commands for oracle user:
    *[oracle@ilmserver ~]$ id*
    uid=502(oracle) gid=504(oinstall) groups=503(dba),504(oinstall),505(asmdba),506(asmadmin) context=user_u:system_r:unconfined_t
    *[oracle@ilmserver ~]$ env | sort*
    COLORTERM=gnome-terminal
    CVS_RSH=ssh
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-m8BEsoxTeM,guid=7c9a73a7390af7742e606e004e571934
    DESKTOP_SESSION=default
    DESKTOP_STARTUP_ID=
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=default
    GDM_XSERVER_LOCATION=local
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-TQlAPU/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=ilmserver
    INPUTRC=/etc/inputrc
    JAVA_HOME=/usr/java/jdk1.7.0
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/home/oracle/app/oracle
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_HOSTNAME=ilmserver
    ORACLE_SID=orcl
    PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/usr/java/jdk1.7.0/bin:/usr/sbin:/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
    PWD=/home/oracle
    SESSION_MANAGER=local/ilmserver:/tmp/.ICE-unix/14477
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=14513
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-INwup14477/agent.14477
    TERM=xterm
    TNS_ADMIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin
    USERNAME=oracle
    USER=oracle
    _=/usr/bin/env
    WINDOWID=24117329
    XAUTHORITY=/tmp/.gdm9ITN0V
    XMODIFIERS=@im=none
    *[oracle@ilmserver ~]$ ls -l /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora*
    -rw-r----- 1 oracle oinstall 879 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/*
    drwxr-xr-x 74 oracle oinstall 4096 Aug 23 19:00 /home/oracle/app/oracle/product/11.2.0/dbhome_1/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/11.2.0/
    [*oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/*
    drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/*
    drwxr-xr-x 10 oracle oinstall 4096 Aug 24 17:29 /home/oracle/app/oracle/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/app/*
    drwxr-xr-x 4 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/
    *[oracle@ilmserver ~]$ ls -ld /home/oracle/*
    drwx------ 22 oracle oinstall 4096 Aug 25 20:55 /home/oracle/
    Naturally the "oracle" user has full access to its own directories.
    A thought just occurred to me. I assume that theoretically it's possible to grant read privilige to informatica user on all these directories... would that do the trick?
    But even if so, makes me wonder whether that is "best practice".
    Also, I cannot imagine I'm the first person to encounter this scenario, and therefore there must be some standard approach to enable this.
    Any suggestions/thoughts?
    As for the TNSNAMES.ORA suggestion, I guess that is possible. Makes administration of TNSNAMES a bit more cumbersome though, as in, 2 files to maintain... risk of getting out of sync when making 'quick and dirty' changes without thinking things through too much (which shouldn't happen... but sometimes does anyway).
    I'd prefer a solution where "informatica" has genuine access to TNSNAMES.ORA.
    Thanks, Patrick
    ps the bold bits with env.var LS_COLORS are unintentional, but don't know how to turn that off

  • Import to mysql using coldfusion

    Hi is there a way of uploading a excel sheet into mysql that
    has the same column names has my mysql database using coldfusion?
    its a simple format with
    firstname, surname, phonenumber

    I suppose that you could create an ODBC datasource with your
    Excel file, create theColdFusion DSN, then query your spreadsheet
    "table" like any other database, where you could then loop through
    the output and insert the rows into a MySQL table.
    Dynamic data sources in
    ColdFusion MX
    Phil

  • Access a file using applets

    hello friends,
    i'm trying to access a file using applets but i'm getting security error.
    similar error for accessing the data base also so pls if you know help me how to access file/database using applets.

    You need to use a signed applet and know where the file is and in an accessable area; signing an applet will not allow you to go on a "fishing expedition" through the file system.

  • How save & retrive data from database using flex, coldfusion, sql server

    hi , i am very new in flex, i am trying to insert data in
    database using flex2, coldfusion, sql server. any one can help me
    please. or give me any example.

    Hi try to goto the following sites, you will get some
    direction to think
    http://weblogs.macromedia.com/pent/archives/2006/11/example_of_flex.cfm
    http://pdxphp.org/node/258
    Good Luck

Maybe you are looking for

  • PO information drop off from shopping cart

    Hi everyone, We have a problem, a shopping cart is created and got approved, followon document PO is created and automatically ordered. Now the PO line item is deleted and again ordered, and the status of the PO is approved, now when we look into the

  • HP Photosmart B109n-z (printing problem)

    Hi all, I have the HP Photosmart B109n-z printer and have it set up wirelessly and it works fine I've had no problems with it.  The other day the black ink stopped working - the cartridge isn't empty but it's no longer prinking black on any documents

  • Database error - MDM server installation

    Hi, I installed SQL Server and then MDM server. Now SQL server is up, server sign on console is green,  when I try to unarchive repository archive, I got database error: error to initialize database. (I uses "sa" to connect ) What is needed to config

  • Export portal configuration

    After setting up the portal using the Portal Admin Console, as you can export the configuration to another domain?

  • How do I elevate my billing concerns to corporate office?

    I am a new customer of COMCAST since the end of June, 2015. I have had nothing but trouble since day 1 and after speaking with numerous employees from customer service, technical support and billing, I need help to resolve my issue with the first bil