A sample Pro*C cannot run

Hi,
On the document Pro*C/C++ Precompiler Programmer's Guide Release 8.1.5 (Oracle 8i Document), a sample Pro*C program sample9.pc
is introduced as an example for calling a stored PL/SQL subprogram. The SQL script to create a package containing stored PL/SQL subprograms is called calldemo.sql. Both sample9.pc and calldemo.sql are located on a subdirectory of your Oracle 8i product. However, I found that there are pre-compile errors on sample9.pc. The source codes of the two programs are listed as below:
sample9.pc==>
Sample Program 9: Calling a stored procedure
This program connects to ORACLE using the SCOTT/TIGER
account. The program declares several host arrays, then
calls a PL/SQL stored procedure (GET_EMPLOYEES in the
CALLDEMO package) that fills the table OUT parameters. The
PL/SQL procedure returns up to ASIZE values.
Sample9 keeps calling GET_EMPLOYEES, getting ASIZE arrays
each time, and printing the values, until all rows have been
retrieved. GET_EMPLOYEES sets the done_flag to indicate "no
more data."
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sqlda.h>
#include <sqlcpr.h>
typedef char asciz[20];
typedef char vc2_arr[11];
EXEC SQL BEGIN DECLARE SECTION;
/* User-defined type for null-terminated strings */
EXEC SQL TYPE asciz IS STRING(20) REFERENCE;
/* User-defined type for a VARCHAR array element. */
EXEC SQL TYPE vc2_arr IS VARCHAR2(11) REFERENCE;
asciz username;
asciz password;
int dept_no; /* which department to query? */
vc2_arr emp_name[10]; /* array of returned names */
vc2_arr job[10];
float salary[10];
int done_flag;
int array_size;
int num_ret; /* number of rows returned */
EXEC SQL PROCEDURE calldemo.get_employees(
dept_number IN number, -- department to query
batch_size IN INTEGER, -- rows at a time
found IN OUT INTEGER, -- rows actually returned
done_fetch OUT INTEGER, -- all done flag
emp_name OUT name_array,
job OUT job_array,
sal OUT sal_array);
EXEC SQL calldemo PACKAGE;
EXEC SQL END DECLARE SECTION;
long SQLCODE;
void print_rows(n)
int n;
int i;
if (n == 0)
printf("No rows retrieved.\n");
return;
for (i = 0; i < n; i++)
printf("%10.10s%10.10s%6.2f\n",
emp_name, job[i], salary[i]);
/* Handle errors. Exit on any error. */
void sql_error()
char msg[512];
size_t buf_len, msg_len;
EXEC SQL WHENEVER SQLERROR CONTINUE;
buf_len = sizeof(msg);
sqlglm(msg, &buf_len, &msg_len);
printf("\nORACLE error detected:");
printf("\n%.*s \n", msg_len, msg);
EXEC SQL ROLLBACK WORK RELEASE;
exit(1);
void main()
char temp_buf[32];
/* Connect to ORACLE. */
EXEC SQL WHENEVER SQLERROR DO sql_error();
strcpy(username, "scott");
strcpy(password, "tiger");
EXEC SQL CONNECT :username IDENTIFIED BY :password;
printf("\nConnected to ORACLE as user: %s\n\n", username);
printf("Enter department number: ");
gets(temp_buf);
dept_no = atoi(temp_buf);
/* Print column headers. */
printf("\n\n");
printf("%-10.10s%-10.10s%s\n", "Employee", "Job", "Salary");
printf("%-10.10s%-10.10s%s\n", "--------", "---", "------");
/* Set the array size. */
array_size = 10;
done_flag = 0;
num_ret = 0;
/* Array fetch loop.
* The loop continues until the OUT parameter done_flag is set.
* Pass in the department number, and the array size--
* get names, jobs, and salaries back.
for (;;)
EXEC SQL EXECUTE
BEGIN calldemo.get_employees
(:dept_no, :array_size, :num_ret, :done_flag,
:emp_name, :job, :salary);
END;
END-EXEC;
print_rows(num_ret);
if (done_flag)
break;
/* Disconnect from the database. */
EXEC SQL COMMIT WORK RELEASE;
exit(0);
calldemo.sql==>
rem
rem $Header: calldemo.sql,v 1.1 1993/11/13 20:49:01 mchiocca Exp $
rem
Rem Copyright (c) 1992, 1997 by Oracle Corporation
Rem NAME
Rem calldemo.sql - <one-line expansion of the name>
Rem DESCRIPTION
Rem <short description of component this file d eclares/defines>
Rem RETURNS
Rem
Rem NOTES
Rem <other useful comments, qualifications, etc.>
Rem MODIFIED (MM/DD/YY)
Rem mjogleka 04/15/97 - add connect
Rem mchiocca 11/13/93 - Creation
CONNECT SCOTT/TIGER
CREATE OR REPLACE PACKAGE calldemo AS
TYPE name_array IS TABLE OF emp.ename%type
INDEX BY BINARY_INTEGER;
TYPE job_array IS TABLE OF emp.job%type
INDEX BY BINARY_INTEGER;
TYPE sal_array IS TABLE OF emp.sal%type
INDEX BY BINARY_INTEGER;
PROCEDURE get_employees(
dept_number IN number, -- department to query
batch_size IN INTEGER, -- rows at a time
found IN OUT INTEGER, -- rows actually returned
done_fetch OUT INTEGER, -- all done flag
emp_name OUT name_array,
job OUT job_array,
sal OUT sal_array);
END calldemo;
CREATE OR REPLACE PACKAGE BODY calldemo AS
CURSOR get_emp (dept_number IN number) IS
SELECT ename, job, sal FROM emp
WHERE deptno = dept_number;
-- Procedure "get_employees" fetches a batch of employee
-- rows (batch size is determined by the client/caller
-- of the procedure). It can be called from other
-- stored procedures or client application programs.
-- The procedure opens the cursor if it is not
-- already open, fetches a batch of rows, and
-- returns the number of rows actually retrieved. At
-- end of fetch, the procedure closes the cursor.
PROCEDURE get_employees(
dept_number IN number,
batch_size IN INTEGER,
found IN OUT INTEGER,
done_fetch OUT INTEGER,
emp_name OUT name_array,
job OUT job_array,
sal OUT sal_array) IS
BEGIN
IF NOT get_emp%ISOPEN THEN -- open the cursor if
OPEN get_emp(dept_number); -- not already open
END IF;
-- Fetch up to "batch_size" rows into PL/SQL table,
-- tallying rows found as they are retrieved. When all
-- rows have been fetched, close the cursor and exit
-- the loop, returning only the last set of rows found.
done_fetch := 0; -- set the done flag FALSE
found := 0;
FOR i IN 1..batch_size LOOP
FETCH get_emp INTO emp_name(i), job(i), sal(i);
IF get_emp%NOTFOUND THEN -- if no row was found
CLOSE get_emp;
done_fetch := 1; -- indicate all done
EXIT;
ELSE
found := found + 1; -- count row
END IF;
END LOOP;
END;
END;
The pre-compile outcome is listed as below:
#proc SQLCHECK=SEMANTICS INAME=example_8_1.pc
Pro*C/C++: Release 8.0.5.0.0 - Production on Wed Aug 1 17:28:32 2001
(c) Copyright 1998 Oracle Corporation. All rights reserved.
System default option values taken from: /gisdata/DB/app/oracle/product/8.0.5/pr
ecomp/admin/pcscfg.cfg
Syntax error at line 33, column 12, file example_8_1.pc:
Error at line 33, column 12 in file example_8_1.pc
float pack1.emp_calc(int col);
...........1
PCC-S-02201, Encountered the symbol "." when expecting one of the following:
; , = ( [
The symbol ", was inserted before "." to continue.
Error at line 0, column 0 in file example_8_1.pc
PCC-F-02102, Fatal error while doing C preprocessing
Who can help me in this problem?
null

emp_calc does not appear to be in your Pro*C, from the error messages below it doesn't look like you're compiling the code you have pasted into your post. Another problem may be you are trying to compile 8.1.5 code against 8.0.5 database.

Similar Messages

  • Please help!!! Cannot run Windows Update in Win 7 Pro after changing new hard-drive. (X201s)

    Hi everyone,
    I have been using my thinkpad x201s for more than one year by now. And recently I change a new and larger hard drive for my laptop. When I tried the thinkpad rescue and recovery disc on the new hard drive, everything works fine except that I cannot run Windows Updates after the installation was finished.  The recovery DVDs were burned directly from the original image stored in the computer when the first I received my laptop last year.
    Every time when I try to run the Windows Update, it shows the following: "Windows Update cannot currently check for updates, because the service is not running, you may need to restart your computer."
    I restarted my computer later but nothing changed. Can't run Windows Updates and can't even install IE9.
    I then moved back to my old hard drive and everything is normal, no problem with Windows Updates. I also tried to create a back-up image by running win 7 Backups and Restore. Later when I changed back to the new drive and followed the instructions to restore my system from the image I created earlier in a USB drive, it worked except that still the system can't run Windows Updates program.
    I'm now getting very confused and upset, is it something to do with the software copyright? It's been a week now and I tried to Google the similar problem but no solutions work here. All I want to do is moving my current system to the new hard drive so that I can continue to use my laptop but it just failed updating every time.
    Could anyone kindly tell me what to do when changing hard drive in order to avoid the problem I'm dealing with? Sorry I'm not a pro type user and just want my laptop to work appropriately.
    My warranty has already expired so I guess the Lenovo Technical Hotline wouldn't answer my questions anymore. Please help!! Much appreciated.
    Thanks so much in advance!!

    I'm not sure this is the issue, but from your description, it seems as though all you have to do is activate the windows update service. If I were you, I'd search for "Services" in the start menu, open it and look for "Windows Update". Check in its properties that it is set to "Automatic (Delayed)", if it isn't, set it, and start the service, you should then be able to check for updates, be careful though that none of your other programs aren't stopping the service, usually these programs are there to "optimize your performance" or "boost your system",...
    Hope this helps.

  • I'm running OS X 10.6.8 on a MacBook Pro and cannot connect to the App store. How do I fix this?

    I'm running OS X 10.6.8 on a MacBook Pro and cannot connect to the App store. How do I fix this?
    I have downloaded and installed the 10.6.8 V1.1 Combo pack but this didn't fix the problem.

    Check the 'More Like This' and you may find a solution.  (The box on the right side of this display)
    Ciao.

  • MacBook Pro (Late) 2008 running 10.8.4 Have a Black Screen cannot get out of sleep mode/will reboot/will sound off at restart.

    MacBook Pro (Late) 2008 running 10.8.4
    I was using my computer every morning as I do everyday with no issues. I had left home for most of the day. Closed lid and while I was gone for a couple of hours. I returned home, opened my MacBook and nothing but a black screen. I've tried many things all evening try and fix this problem out of "safety sleep mode, and other similiar tricks that other people had tried.
    I still have a Black Screen and cannot get my macbook out of what seems to be the sleep mode.
    I've done a master reset and after I restart, I do get the power up chime but still a black screen. I don't know what else to do. Please help. Should I bring computer to a local repair shop or is there something I can do to fix myself. I just don't know where to start.
    Thank you.
    Susan

    Genius reservation http://www.apple.com/retail/geniusbar/
    on-line https://getsupport.apple.com/GetproductgroupList.action
    check warranty https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • Satellite Pro L550-13M - cannot run HD product recovery

    I have a new Toshiba Satellite Pro L550-13M running Windows 7 and I fired it up this morning and it said Windows could not start and went into startup repair.
    The last thing I did with it was last night, when I ran RegistryBooster2 and it cleaned up the registry. I've used this utility loads of times with this and previous notebooks and it's been fine. I guess it's caused the problem though. It backs up the registry, but I can't restore that because I can't boot up!
    So, after rebooting a few times, it eventually said "Windows cannot repair this computer automatically". If I view the diagnostic and repair details, the log lists all these tests, but says they have completed successfully. I'm on repair attempt 38. During one of them, startup repair said it was fixing a registry problem.
    If I try to view the advanced options for system recovery, and select a UK keyboard, I get this message:
    "You must log in to access System Recovery Options"
    and my only option is to click an OK button to restart.
    So, I'm stuck.
    I got a Windows 7 recover CD and running startup repair on that comes up with no errors!
    However, because the notebook is so new, I haven't created any restore points or recovery disks (didn't have any blank DVDs at the time).
    The notebook has a HDD recovery partition, but I can't run the recovery disk to access that option because of the "you must log in" thing above.
    I'm stuck!!!!! Anyone out there with any ideas?
    Extra details:
    Can't boot in safe mode. Last known good configuration doesn't work. All roads lead to startup repair.
    Attempt 38 has this in the startup repair log:
    Root cause found:
    Startup Repair has tried several times but still cannot determine the cause of the problem.
    I can use the Windows 7 recovery CD to get a command prompt and view C: and D: (where the HD recovery files are), but I don't know what to do from there.
    The CD isn't for a Toshiba, so it doesn't list HD recovery as an option. I can only use it to run startup repair (which reports no problems) or get a command prompt.

    I really don't understand what is wrong there.
    The fact is that your notebook model was delivered with Win7 and HDD recovery image.
    That means with factory settings this HDD recovery (as described in document) must work.
    Unfortunately you didn't explain to us what happen when you press F8 at boot-up.
    Can you enter Advanced boot options?
    Is repair my computer option available?
    This non-Toshiba recovery CD will not help you at all. HDD recovery option can be started just as described in the document.
    Do you still have Factory settings (preinstalled image you got with your notebook) or you have maybe installed own Win7 version?

  • After fresh installation on a new machine, my licensed copy of Adobe Encore CS6 "cannot run in non-royalty serialized mode."

    "The application needs to be serialized with a royalty bearing serial number."
    I have done everything recommended in all of the other threads relating to this issue  -
    Uninstalled the entire CS and used the Adobe cleaner tool  - to no avail.
    Uninstalled just Encore and re-installed, nothing.
    And multiple combinations of the above mentioned.
    Really need this to work, ASAP. We've tried to contact Adobe via phone, chat, and other means. They are very to receive an audience from, it appears. Can anyone offer a different solution?
    This is for a brand new edit suite that is running Windows 7 pro, 32 GB of RAM, and the [email protected] GHz.

    I did not see this earlier. Forums are a bit odd today.
    Do you  have a subscription (to the cloud) or is this a perpetual license? You cannot run Encore in trial mode.
    Generally, with CS6 suite (or earlier?) this indicated that Premiere is not activated, or there is a problem with activation. What version are you trying to install?
    Unfortunately, the link that tells you how to fix this went missing in action some time ago.

  • I have a MacBook Pro 5,4 running OSX 10.6.8 and Safari 5.1.10. A website i like has a known bug with 5.1.10 and recommends I install a newer version of Safari or use Firefox or Chrome. Just looking for advice on the best approach. Thanks!

    I have a MacBook Pro 5,4 running OSX 10.6.8 and Safari 5.1.10. A website i like has a known bug with 5.1.10 and recommends I install a newer version of Safari or use Firefox or Chrome. Just looking for advice on the best approach. Thanks!

    Unfortunately, Safari cannot be updated past 5.1.10 on a Mac running v10.6.8.
    So, the options are to upgrade to a newer OS X or use Firefox or  Chrome.
    Be aware, Apple no longer support Snow Leopard v10.6 >  www.ibtimes.com/apple-kills-snow-leopard-os-x-106-no-longer-receives-security-u pdates-1558393
    See if your Mac can run v10.9 Mavericks >  OS X Mavericks: System Requirements
    If so, you can download and install Mavericks for free from the App Store.
    Read prior to upgrading >   Upgrading to 10.7 and above, don't forget Rosetta! | Apple Support Communities

  • TS1362 I have a Mac Pro tower, am running osx and iTunes will not work.. It basically just stopped working after having run faultlessly for...years... I can see all the songs, playlists etc, but the progress bar will not progress..it's 'stuck'. Suggestion

    I have a Mac Pro tower am running OSX and iTunes will not work. It has always worked flawlessly. I can see all my iTunes content- my playlists, my songs et cetera, But I cannot play anything. The progress bar is  'stuck'...any suggestions?

    Thanks. I have been using iTunes since its inception and have never had a problem...I'm using the latest version. The progress bar is the bar that moves when you're playing a song..it just won't start when I double click on a song,..have tried quitting, rebooting etc but nothing works. Apple are useless-they have told me twice they've tried to call me 'momentarily', but I've been waiting by the phone, and they definitely have not tried to call...

  • I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.

    I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.
    From what I read, I have 2 choices: 1. to install OSX and then upgrade to Mavericks, but I'm not sure if this would be possible (to upgrade directly from OSX to Mavericks); and 2. to use a software called Super Duper.
    I wouldn't like to have to use a third party software to do this, so the question is: is there a better way to install directly the Mavericks not having to use a third party software?

    Install the new drive in the computer.
    Install the old drive in an external USB or Firewire enclosure.
    Boot the computer from the Recovery HD on the external drive.
    Use Disk Utility to partition and format the new internal drive.
    Clone your external drive to the internal drive.
    How to replace or upgrade a drive in a laptop
    Step One: Repair the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Step Two: Remove the old drive and install the new drive.  Place the old drive in an external USB enclosure.  You can buy one at OWC who is also a good vendor for drives.
    Step Three: Boot from the Recovery HD on the external drive.  Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the Recovery HD then click on the downward pointing arrow button.
    Step Four: New Hard Drive Preparation
      1. Open Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your new hard drive (this is the entry with the
          mfgr.'s ID and size) from the left side list. Note the SMART status of
          the drive in DU's status area.  If it does not say "Verified" then the drive
          is failing or has failed and will need replacing.  Otherwise, click on the
          Partition tab in the DU main window.
      3. Under the Volume Scheme heading set the number of partitions from
          the drop down menu to one. Set the format type to Mac OS Extended
          (Journaled.) Click on the Options button, set the partition scheme to
          GUID  then click on the OK button. Click on the Partition button and
          wait until the process has completed.
      4. Select the volume you just created (this is the sub-entry under the
          drive entry) from the left side list. Click on the Erase tab in the DU main
          window.
      5. Set the format type to Mac OS Extended (Journaled.) Click on the
          Options button, check the button for Zero Data and click on OK to
          return to the Erase window.
      6. Click on the Erase button. The format process can take up to several
          hours depending upon the drive size.
    Step Five: Clone the old drive to the new drive
      1. Using Disk Utility still opened.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Check the box labeled Erase destination.
      5. Select the destination volume from the left side list and drag it to the
          Destination entry field.
      6. Select the source volume from the left side list and drag it to the
          Source entry field.
      7. Double-check you got it right, then click on the Restore button.
    Destination means the new internal drive. Source means the old external drive.
    Step Six: Open the Startup Disk preferences and select the new internal volume.  Click on the Restart button.  You should boot from the new drive.  Eject the external drive and disconnect it from the computer.

  • Cannot run FOD Application

    I downloaded Jdev 11g and followed instructions for [Oracle Fusion Store Front Demo Application|http://www.oracle.com/technology/products/jdev/samples/fod/index.html].
    The schema and sample data is installed successfully. I am able to compile and build both model and UI projects in StoreFrontModule.jws.
    When I run the StoreFrontUI, I am getting below error. Can you please help.D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;D:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=D:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1\bin;D:\product\10.1.3.1\OracleAS_3\jdk\bin;D:\product\10.1.3.1\OracleAS_3\ant\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\apps\db\oracle102\bin;C:\Program Files\Symantec\pcAnywhere\;D:\product\10.1.3.1\OracleAS_3\MOBILE\sdk\bin;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m -Djbo.34010=false  -Xverify:none  -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Ddomain.home=D:\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=D:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy   weblogic.Server
    <Jan 11, 2009 12:42:13 PM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    D:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <Jan 11, 2009 12:42:13 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <Jan 11, 2009 12:42:14 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
    WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
    WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
    WebLogic Server 10.3  Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <Jan 11, 2009 12:42:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 11, 2009 12:42:18 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 11, 2009 12:42:19 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Jan 11, 2009 12:43:12 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 11, 2009 12:43:25 PM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Jan 11, 2009 12:43:25 PM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Jan 11, 2009 12:43:36 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 11, 2009 12:43:36 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 11, 2009 12:43:46 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jan 11, 2009 12:43:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 11, 2009 12:43:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 11, 2009 12:43:50 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 11, 2009 12:43:50 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.100:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 11, 2009 12:43:50 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jan 11, 2009 12:43:50 PM IST> <Warning> <Server> <BEA-002611> <Hostname "192.168.1.100", maps to multiple IP addresses: 192.168.1.100, 127.0.0.1>
    <Jan 11, 2009 12:43:50 PM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.100, 127.0.0.1>
    <Jan 11, 2009 12:43:51 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 11, 2009 12:43:51 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 153953 ms.
    DefaultServer started.
    [Running application StoreFrontModule on Server Instance DefaultServer...]
    Uploading jazn-data identities.
    Uploading jazn-data policies.
    Uploading credentials.
    ----  Deployment started.  ----    Jan 11, 2009 12:45:09 PM
    Target platform is  (Weblogic 10.3).
    Running dependency analysis...
    2009-01-11 12:45:20.906: Writing WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\StoreFrontModule\StoreFrontModule-StoreFrontUI-webapp
    2009-01-11 12:46:22.093: Wrote WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\StoreFrontModule\StoreFrontModule-StoreFrontUI-webapp
    2009-01-11 12:46:31.515: Writing EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\StoreFrontModule
    2009-01-11 12:46:31.656: Wrote EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\StoreFrontModule
    Deploying Application...
    <Jan 11, 2009 12:46:38 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application StoreFrontModule is not versioned.>
    Jan 11, 2009 12:46:38 PM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    Jan 11, 2009 12:46:43 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    #### The deployment process timed out after 120000 milliseconds and has been interrupted. Failed to start Application.
    ####  Deployment incomplete.  ####    Jan 11, 2009 12:47:07 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:390)
         ... 12 more
    #### Cannot run application StoreFrontModule due to error deploying to DefaultServer.
    [Application StoreFrontModule stopped and undeployed from Server Instance DefaultServer]
    ADF Library non-OC4J post-deployment (millis): 31
    Jan 11, 2009 12:47:39 PM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/StoreFrontModule/kulojs/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3.  A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3.  This may indicate that multiple copies of the same jar file are present on the class path.  Ignoring the new feature definition.
    Jan 11, 2009 12:47:39 PM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/StoreFrontModule/kulojs/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7.  A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7.  This may indicate that multiple copies of the same jar file are present on the class path.  Ignoring the new feature definition.
    Jan 11, 2009 12:47:39 PM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/StoreFrontModule/kulojs/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11.  A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11.  This may indicate that multiple copies of the same jar file are present on the class path.  Ignoring the new feature definition.

    Hi,
    I am noticing a problem when running the FOD application, which though not severe, I just thought I will run it by all you experts out here.
    When the application opens in the browser, I am unable to see any of the pictures / photos of the products being displayed....they all show that red-crossed-error thing.
    Just today I noticed that an error is also getting generated during the application execution:
    [java] SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
    [java] java.lang.reflect.InvocationTargetException
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Anybody knows what this can be about and how to resolve the same?
    I saw the comment above which refers to cleaning up the deployment folder, and I searched my d:\oracle\middleware folder for any folder named drs, but nothing showed up.
    Being new to jdeveloper, can someone please tell me the exact steps to fix this error please?
    Regards,
    Hemant

  • Error -2147024714 : Automation Error the operating system cannot run %1'

    Post Author: greg.thompson
    CA Forum: General
    After installing Crystal Reports 10 Pro, I am receiving the following Business Objects error "Error -2147024714 : Automation Error the operating system cannot run %1" While trying to run reports within Business Objects 6.5 SP 2 HF 932, The desktop O/S XP Pro w/sp 2. Tried uninstalling both, reinstalling  twice did not solve the problem. I switched the install order the second time, also used all default install locations, any ideas here.

    Post Author: greg.thompson
    CA Forum: General
    After installing Crystal Reports 10 Pro, I am receiving the following Business Objects error "Error -2147024714 : Automation Error the operating system cannot run %1" While trying to run reports within Business Objects 6.5 SP 2 HF 932, The desktop O/S XP Pro w/sp 2. Tried uninstalling both, reinstalling  twice did not solve the problem. I switched the install order the second time, also used all default install locations, any ideas here.

  • Failed in testing bankapp sample ( Pro*C ver)

    Hello.
    A few days ago, I got the bankapp sample Pro*C version from OTN site.
    According to README, I succeded to make TM, compile code, build the tables in Oracle 10g, make tuxconfig using ubbshm and finally I started the process successfuly using tmboot command.
    Then, I typed bankclt and select the menu ( 5. Open Account ) and input the required parameters
    but OPEN_ACCT returned fail message - Invalid branch number...
    I couldn't figure out what I missed or was mistaken.
    I tried many times using different parameter values, but I couldn't open the account after all.
    To know what is wrong, I searched the error message - "Invalid branch number" in source codes using grep command, but I failed to find the source code which have that error message. so I didn't make any progress.
    Could you help or advise to solve the problem ?
    My test environment is
    1. HW : CPU - Intel i5 64bit dualcore, Memory - 6G
    1. OS : Redhat Enterprise Linux 5 64bit ( 2.6.18-194.11.4.el5 )
    2. Compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) X86_64
    3. Database : Oracle 10gR2 Linux X86-64 ( 10.2.0.1.0 )
    4. Tuxedo : Tuxedo 11gR1 Linux X86-64 (11.1.1.2.0)
    =================================================================
    [tuxedo@kr028211 bankapp]$ bankclt
    Welcome to the Tuxedo Bank
    Make a selection from the following choices
    1. Balance Inquiry
    2. Withdrawal
    3. Deposit
    4. Transfer
    5. Open Account
    6. Close Account
    0. Exit Application
    Enter Selection: 5
    Please enter Last Name: Hong
    First Name: Chang
    Middle Initial: B
    Social Security Number: 111-11-1111
    Mailing Address: [email protected]
    City, State and Zip: Los Angeles, CA, 90001
    Telephone Number: 111-111-1111
    Account Type C - checking S - Savings: S
    Bank Branches are
    1-San Francisco 2-Los Angeles 3-Dallas 4-Chacago 5-St. Louis
    6-Atlanta 7-Maimi 8-Philadelphia 9-New York 10-Boston
    Desired Branch For Account: 2
    Initial Balance: 100
    OPEN_ACCT returns failure (Invalid branch number)
    ===========================================================================
    thanks in advance.
    minnypa
    Edited by: user11286352 on Oct 2, 2010 6:39 AM
    Edited by: user11286352 on Oct 2, 2010 6:40 AM

    thanks for your comment, Todd
    Did you mean that I should run the script that insert the branch and account rows to the tables ?
    I couldn't find the script that insert data to the tables. As I explained before, I ran the crbanktab.ora by running crbank command, so I created 4 tables - BRANCH, ACCOUNT, TELLER, HISTORY but the tables had no data rows.
    Is there any method to insert branch data in order to test using bankclt client ?
    Because I am a beginner in Tuxedo application, it is hard to invoking BR_ADD service by myself.
    Could you provide detail information how to insert branch data ?
    thanks.
    minnypa

  • Cannot Run Photoshop CS5 on SSD

    MAC PRO Spec:
    MAC PRO 6 cores Intel Xeon "Westmere"
    RAM=16GB by Kingston (apple certified RAM module = KTA-MP1333/4G)
    HDD=Western Digital black label 1TB (original shipped by Apple)
    SSD=Kingston Hyper X 240G
    OS= MAC OS X Lion
    Adobe product = CS5.5 design standard traditional chinese version
    Problem description:
    I've tried either Apple or Adobe tech support for resolving my problem. Unfortunately, I still cannot resolve my issues. Look for anyone could help me out to solve my problem. Currently,I am not able to start photoshop on my SSD drive while HDD is my secondary drive. Anyone know the issue and how to resolve the problem.
    Let me describe how I set up my Mac Pro and how the problem happen.
    While I got my Mac Pro (only have one HDD), I install my CS5.5 and run photoshop. Everything just works fine. While I got my SSD, I make the SSD becomes a boot drive on the Mac PRO (the HDD was set to become a data drive now. Everything installed in the HDD was still there, and I don't remove any of CS5.5 application which was installed earlier). Then I start to install CS5.5 on SSD. The first time is ok to run photoshop. After open and close photoshop a few times, I start to run photoshop again. Then the error message occurred and the photoshop cannot run at all. The error message said "The photoshop cannot start because cannot find the temporary stored files. "
    Following is my testing and result
    1. I've tried to let either SSD or HDD as a single drive to start photoshop....No problem.
    2. HDD as a main drive and SSD as a data drive..... No problem to start photoshop from HDD
    3. SSD as a main drive and HDD as a data drive..... Error mesage and photoshop cannot run

    …or you could have illegal characters in the names of volumes or folders anywhere in the path to the files the application cannot find.
    Stick to numbers, underscores and the characters of the English alphabet.  No accented or special characters such as äöü ß áéíóú  àèìòù ãõ, no apostrophes, asterisks, pound signs #, commas or slashes, etc.

  • Using FB 4.7 Premium cannot run unit tests

    I have a licensed version of 4.7 Premium but cannot run unit tests. The message I get says "This feature requires a Flash Builder Premium License".
    I have uninstalled Fb 4.7 and then downloaded and reinstalled. Still the same issue.
    I have verified I am running FB 4.7 Premium with this code snippet.
    if (Class(this.systemManager.getDefinitionByName("licence.LicenseHandler ")))
         Alert.show("This SWF was compiled WITHOUT a Flash Builder Pro license")
    else
         Alert.show("This SWF was compiled WITH a Flash Builder Pro license")

    Hello, anybody still answering posts here or is everybody just working on MAX?!

  • "The project was saved in a newer version of premiere pro and cannot be opened in this version." - Except it wasn't!

    Last night I saved a project I've been working on for a couple of days. It's been fine all along. Today, when I went to open it, it's no longer listed in the recently opened files on startup and i get this message:
    "The project was saved in a newer version of premiere pro and cannot be opened in this version."
    Except it wasn't! I use Premiere CC and it's been fine all along. I can no longer open it at all...
    Any thoughts? Very frustrating!

    One more item.   In using PP CC2014 for the first time with this project, I have run into multiple issues making this project very frustrating.  When adding a sequence to the master sequence, I have to render the audio each time in order to see all of the audio waves. You have to keep doing this over and over, even though you've already rendered a sequence already.
    I am getting error messages when rendering the project saying there are issues compiling the movie.  Getting same type error message if I try to export.  I narrowed it down to two sequences keeping the program from rendering without the error messages.  They each had a tiff file.  I deleted them and they rendered.  Not sure what this issue was with these particular files since I have other tiff files in the project.  Once the rendering of all sequences was done, all the individual sequences were closed and the master was the only one open.  I didn't close them.  So now to edit any of the sequences I have to go back and open them.
    The only thing this project has in it are titles created in PP, a few graphics, mostly tiff tiles and some jpeg and the dissolve effect.  That's it.  Seems like they should have done more with this version before putting it out there.  Maybe that's why there are two separate applications for PP?  Who knows.  I will be uninstalling PP CC2014 when this project is complete.

Maybe you are looking for

  • Not Reading External Drive

    I have been using this camera for years. When I plug it into the dock, then turn it on, it takes a few seconds to connect to the computer. The camera then says "Connected to Computer" and a few seconds later an external drive pops onto my machine. It

  • Problem in FF7A after creation of FTR_CREATE an FD document

    Hello Freinds I had created an Fixed deposit document in FTR_CREATE for a company code with a BP number for a year period for Rs. 1000000/- in INR. But after saving the document i could not able to find out the details of the transaction in FF7A....

  • NAP notification (napstat) on Windows 8

    I have NAP running on several Wireless Access Points and switches. I have only tested it on Windows 8 sofar. I noticed that when a NAP Client is nog compliant or non-compliant users don't get a (pup-up) notification in the taskbar. You can only check

  • Question on approvals and rejections

    Hi, If there is any timeout feature implemented in our custom workflow, how to keep track of the person for whom the timeout happened? Your advice is really valuable. Thanks

  • Receiving and parsing a SOAP Message

    Hi All. I have just installed the JAXM package, cause I want to programm a network message broker using SOAP. The server code is written in C# and I tested it. All messages are send and processed via SOAP and it all works. So I now want to try to rec