Trigger a function after LinearAxis.maximum is calculated?
I have two charts side-by-side and I want the Y-Scale of each to be the same. This simply means setting the LinearAxis.maximum property to the same value in both charts.
At compile time I don't know what values will be in the charts, so I can't hard-code the maximum. Instead I need both charts to calculate their maximum values automatically (the default behaviour) and then I will simply find which of the maximums is greater and set that to be the maximum on the other chart as well.
The problem: I can't figure out how to call a function directly after the maximum is calculated on a chart.
My non-working (psuedo) code:
function receiveValuesForChart1(event:ResultEvent) {
chart1Values = event.result as ArrayCollection;
applyNewMaximumIfNecessary();
// another similar function for chart2
The problem with this code is that the function applyNewMaximumIfNecessary() is called BEFORE Flash calculates the automatic maximum! Must be something to do with the binding of the chart datasource to chart1Values. I need this function to be called after Flash calculates the automatic maximum.
So currently I'm using an AWFUL HACK:
function receiveValuesForChart1(event:ResultEvent) {
chart1Values = event.result as ArrayCollection;
var t:Timer = new Timer(100, 1);
t.addEventListener('timer', applyNewMaximumIfNecessary);
t.start();
This actually works here in my dev environment, but you're probably feeling ill just from reading that code. Sorry. So is there a way I can hook into some event or otherwise when LinearAxis.maximum is calculated in order to call my applyNewMaximumIfNecessary() function?
Thanks for any help...
Fletch.
I figured it out.
validateNow();
this forces the automatic calculation of the Y scales, after that I can do my magic.
Similar Messages
-
Trigger a function after 1 minute while the app is open.
Hey guys, I wrote a simple widget that reads from a rss file. My question is what's a good way to repeat a function every minute? The widget could run up to 8 hours straight..
Any ideas? I'd like to trigger bugsFeed.send(); once a minute.
thanks!Example code:
import flash.utils.Timer;
import flash.events.TimerEvent;
// create a timer that fires every minute
public var timer:Timer = new Timer( 60*1000 );
public function init():void
// add event listeners
timer.addEventListener( TimerEvent.TIMER, handleTimerEvent );
// start the timer
timer.start();
public function handleTimerEvent( event:TimerEvent ):void
bugsFeed.send();
Let me know if that helps...
Ben Edwards -
How-to trigger a function module after user logs on
Dear All,
We would like to trigger a function module after a user connects to our BW system.
The user exit SUSR0001 works, but only when the user is connecting via the SAP GUI --> it is not called if the user connects via the Business Explorer or the WEB
Any thoughts on how to achieve this?
Any help appreciated
Thank you
IoanHi Ioan,
I would recommend to post this thread in the abap forum.
Siggi -
Hi All,
I am new to PL/SQL. In my projeect i came thru a requirement.
My table has a column called time and the type of column is char(4).
data will look like 1100. The new table has time as char(5), Now i want to write a trigger for each row inserted to change time col data to 11:00
for that i wrote a trigger and function. The function compiled well, i get errors compiling trigger.
Here is the code for trigger and the function. Any help is appriciated. any code that will meet my requirements is helpfull.
create or replace TRIGGER "PACER"."TimeTrigger"
AFTER INSERT
ON PACER.TIMETEST2
BEGIN
UPDATE TimeTrigger
SET TIME1 = ChangeTime(TIME1);
SET TIME2 = ChangeTime(TIME2);
END;
Error(9,2): PL/SQL: SQL Statement ignored
Error(9,6): PL/SQL: ORA-00922: missing or invalid option
create or replace FUNCTION ChangeTime(ChTime VarChar2) RETURN Varchar2 IS
Len NUMBER;
ChHours CHAR(2);
ChMinutes CHAR(2);
ChSec CHAR(2);
ChColun CHAR(1);
ChTimeFormat CHAR(5);
BEGIN
Len := LENGTH(ChTime);
ChColun := ':';
IF Len = 4 THEN
ChHours := SUBSTR(ChTime,1,2);
ChMinutes := SUBSTR(ChTime,3,4);
ChTimeFormat := ChHours||ChColun||ChMinutes;
END IF;
RETURN ChTimeFormat;
END ChangeTime;
Thanks.Hi,
Here's something you can try. It should give you ideas.
CREATE TABLE table_x
( empno NUMBER
, ename VARCHAR2 (10)
, status_cd VARCHAR2 (1)
CREATE TABLE table_y
( id NUMBER
, name VARCHAR2 (15)
, status_cd VARCHAR2 (1)
CREATE OR REPLACE TRIGGER table_x_aiu
AFTER INSERT OR UPDATE ON table_x
FOR EACH ROW
BEGIN
-- This trigger keeps a copy of table_x's
-- empno, ename and status_cd columns in table_y's
-- id, name and status_cd columns.
-- The strings in table_x be any combination of UPPER
-- and lower case, but the copies in table_y are always
-- UPPER.
MERGE INTO table_y y
USING (
SELECT :NEW.empno AS empno
, UPPER (:NEW.ename) AS ename
, UPPER (:NEW.status_cd) AS status_cd
FROM dual
) x
ON (x.empno = y.id)
WHEN MATCHED THEN
UPDATE SET y.name = x.ename
, y.status_cd = x.status_cd
WHEN NOT MATCHED THEN
INSERT (y.id, y.name, y.status_cd)
VALUES (x.empno, x.ename, x.status_cd);
END table_x_aiu;
SHOW ERRORS
PROMPT ***** Testing INSERT *****
INSERT INTO table_x (empno, ename, status_cd) VALUES (1, 'Agatha', 'A');
INSERT INTO table_x (empno, ename, status_cd) VALUES (2, 'Lucy', 'b');
PROMPT ***** table_y should have two rows *****
SELECT *
FROM table_y
ORDER BY id;
PROMPT ***** Testing UPDATE *****
UPDATE table_x
SET ename = 'Agnes'
WHERE empno = 1;
PROMPT ***** ID=1 should have name='AGNES' and status_cd='A' *****
SELECT *
FROM table_y
ORDER BY id;The names I give to triggers are usually similar to, but not exactly the same as, the name of the table to which they are attached. The last part of the trigger name, "_aiu", is a reminder that this trigger fires After Insert or Update.
Avoid using double-quotes when naming things. -
How can i print reports to different printer by use Trigger on table after insert
Hello,
Please can any one tell me how can i print (any message) to different printer (network & local printer) by use Trigger on table after insert.
regards,
Linda.What you want to do cannot be done with PL/SQL, which does have any print utilities. However you could write something using Java Stored Procedures.
Of course the "different printer" bit will have to be data driven as triggers are not interactive.
rgds, APC -
How to use data function using characterstics variable for calculation on
how to use data function using characterstics variable for calculation on attribute as key figure
Hi Gayatri
Did you not see my answer for CASE because CASE does indeed offer the use of the BETWEEN clause, but DECODE does not. Let me give you a little synopsis of DECODE.
In its most simple form it takes 4 values and looks like this: DECODE(A, B, C, D)
This essentially means, IF A = B THEN C ELSE D
The trick to solving BETWEEN in a DECODE is to work out algoriths where A = B. Because we don't know how many values are between 00 and 99, although I could guess there were 100 we could of course have 100 parts in the DECODE but that would be awful. How about if we look at it another way and say this:
IF PART_NUMBER < 'SDK00' THEN pay_amount
ELSE IF PART_NUMBER > 'SDK99' THEN pay_AMOUNT
ELSE pay_amount + 100
This statement only had 2 hard coded values, but how to make DECODE work with less than? Easy, we use the LEAST function. The LEAST function takes 2 values and returns the one with the lowest value. So I use LEAST(PART_NUMBER, 'SDK00') then whenever the PART_NUMBER is lower than SDK00 it will be true. A similar situation exists for the opposite function GREATEST. Putting all of this together then, you can do this:
DECODE(PART_NUMBER, GREATEST(PART_NUMBER, 'SDK00'), DECODE(PART_NUMBER, LEAST(PART_NUMBER, 'SDK99'), PAY_AMOUNT * 100, PAY_AMOUNT), PAY_AMOUNT)
In English this can be read as follows:
IF the PART_NUMBER is greater than or equal to SDK00 and the PART_NUMBER is less than or equal to SDK99 THEN PAY_AMOUNT x 100 ELSE 0
Best wishes
Michael -
Which trigger is raised after saving the details entered in the block
Hi,
I am creating a form which should allow user to create tables by providing tablename , columnname and columntype. For that , I have a temporary table named NEWTABLE with columns named TABLENAME , COLUMNNAME and COLUMNTYPE.
Upon running the form, the user enters TABLENAME , COLUMNNAME and COLUMNTYPE . Which trigger gets fired after all those records are inserted into that table. I tried using POST-INSERT but it is firing after each and every record gets inserted into the database table.
Could u suggest the trigger name or else could u suggest any alternate method to perform that task .Use the classic key-commit trigger.
Write there the following:
post; -- this does insert/update/delete for the records in the form's data block
after which you should call a stored procedure that receives as params the column names and column types in pl/sql tabels, plus the table name for the table to be created and does:
'execute immediate create table ...'
Still, it's quite unusual to create DB objects from forms. What if you need to indicate the tablespace? And what about indexes? What if you need partitions?
Normally tables are to be created by developers and/or DBAs, not just any user, and those would use different tools (not Forms!), the most simple being SQL*Plus. -
How to use trigger file functionality in File Adapters - Match file names
Hi,
I am using trigger file functionality in File adapters to pick up data files as:-
<property name="TriggerFilePhysicalDirectory" value="/pub/Dev/eastern/brs/"/>
<property name="TriggerFile" value="*.trg"/>
Here any file with .trg extension is taken as a trigger file and File adapter randomly picks up one of the data files.
My requirement is that the trigger file will be of the same name as that of the data file like:- <data_file>.data <data_file>.trg
How to implement this feature using trigger file functionality of File adapters??The trigger file is any file that indicates(triggers) that the actual data file has been put in ftp location, i.e- determines the state when data file should be read.
This helps usually when a large data file is being transferred and at that incomplete state the FTP adapter tries to read it(which is not desirable)
It is configured when you create the ftp adapter service in your process(in wizard) or u can manually configure that in the JCA file for the FTP Adapter service as below:-
<?xml version="1.0" encoding="UTF-8"?>
<adapter-config name="FlatStructureIn" adapter="File Adapter" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter" UIincludeWildcard="*.txt" adapterRef=""/>
<endpoint-activation operation="Read">
<activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
<property.../>
<property name="*TriggerFilePhysicalDirectory*" value="/tmp/flat/ArchiveDir"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
Reference: http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAJCBGI -
How to use PL/SQL Function after registering
Hi,
I have successfully registered a PL/SQL Function within Discw Admin. But i don't know how to use it further??? Please let me know the steps to use it in folders (admin) or in plus.
Actually i have a stored procedure which fetches the records from the base tables and i have to develop a report based on that data.
Please reply ASAP.
Thanks,
JayHi Jay,
If this function is a stored procedure in the right schema, you can access this function in your custom SQL like any other database functions (e.g. SUM, AVG, MAX, etc).
If you are not using a custom folder (ie. your own SQL), you can access this function in the workbook (Tools --> Calculations --> New Button --> Select Function Radio Button --> All Functions or Database Folders.). This calculation wil become a new column in the workbook.
Regards,
John -
I purchased a 3TB HDD (WD USB 3.0 $100) to replace the 2TB Seagate for a new Time Machine HDD. The 2B was full and backups were deleting older files. The 3TB was formatted NTFS and I want to "recover" the included SW before I reformatted the HDD for the iMac. I discovered that MacFuse was out of date and unsupported and my NTFS-32 was also out of date so I uninstalled both and then installed the most recent version of Tuxera NTFS for Mac. I rebooted and discovered that the FW800 port was unresponsive. Below is the EtreCheck report:
Problem description:
Firewire does not function after uninstalling macfuse and an out of date version of NTFS32 and then installed Tuxera NTFS for Mac.
EtreCheck version: 2.0.8 (95)
Report generated October 30, 2014 7:11:17 PM EDT
Hardware Information: ℹ️
iMac (24-inch Mid 2007) (Verified)
iMac - model: iMac7,1
1 2.8 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM
BANK 0/DIMM0
2 GB DDR2 SDRAM 667 MHz ok
BANK 1/DIMM1
2 GB DDR2 SDRAM 667 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
ATI,RadeonHD2600 - VRAM: 256 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.8.5 (12F45) - Uptime: 0:17:34
Disk Information: ℹ️
WDC WD5000AAKS-40TMA0 disk0 : (500.11 GB)
S.M.A.R.T. Status: Verified
disk0s1 (disk0s1) <not mounted> : 210 MB
ML 10.8 (disk0s2) / [Startup]: 499.25 GB (20.92 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Computer, Inc. IR Receiver
Logitech USB Receiver
Apple Inc. Bluetooth USB Host Controller
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Hardware Monitor ƒ/HardwareMonitor.app
[loaded] com.bresink.driver.BRESINKx86Monitoring (7.0) Support
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hidhook (8.0 18615.948847) Support
[not loaded] com.parallels.kext.hypervisor (8.0 18615.948847) Support
[not loaded] com.parallels.kext.netbridge (8.0 18615.948847) Support
[not loaded] com.parallels.kext.usbconnect (8.0 18615.948847) Support
[not loaded] com.parallels.kext.vnic (8.0 18615.948847) Support
/Applications/Toast Titanium v11.1/Spin Doctor.app
[not loaded] com.hzsystems.terminus.driver (4) Support
/Applications/Toast Titanium/Toast Titanium v11.1 (1072).app
[not loaded] com.roxio.TDIXController (2.0) Support
/Library/Application Support/Symantec/AntiVirus
[loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
/System/Library/Extensions
[loaded] com.Logitech.Control Center.HID Driver (3.9.0 - SDK 10.6) Support
[loaded] com.eltima.ElmediaPlayer.kext (1.58 - SDK 10.4) Support
[not loaded] com.hzsystems.driver.CDSDAudioCaptureSupport (1.5) Support
[not loaded] com.increw.kext.speedit (0.32) Support
[loaded] com.logitech.manager.kernel.driver (4.10.0 - SDK 10.8) Support
[not loaded] com.olympus.CamBlockCommandsDevice (2.0.0) Support
[not loaded] com.olympus.CamBlockCommandsDeviceUP (2.0.0) Support
[not loaded] com.palm.ClassicNotSeizeDriver (3.2.1) Support
[not loaded] com.roxio.BluRaySupport (1.1.6) Support
[not loaded] com.seagate.driver.PowSecDriverCore (5.1.1) Support
[loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
[loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
[loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
[loaded] com.taoeffect.ispy.kext (2.0.2 - SDK 10.2) Support
/System/Library/Extensions/OlympusDSCDriver.kext/Contents/PlugIns
[not loaded] com.olympus.CamFWSerialBusProtocolTransport (2.0.0) Support
[not loaded] com.olympus.CamUSBMassStorageClass (2.0.0) Support
/System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.1.1) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.1.1) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.1.1) Support
/Users/[redacted]/Downloads/LCC Installer.app
[not loaded] com.Logitech.Unifying.HID Driver (1.3.1 - SDK 10.8) Support
Startup Items: ℹ️
TuxeraNTFSUnmountHelper: Path: /Library/StartupItems/TuxeraNTFSUnmountHelper
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[running] com.canon.MFManager.plist Support
[not loaded] com.cooliris.SetLaunchArch.plist Support
[loaded] com.google.keystone.agent.plist Support
[running] com.Logitech.Control Center.Daemon.plist Support
[running] com.logitech.manager.daemon.plist Support
[running] com.micromat.TechToolProAgent.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.seagate.SeagateStorageGauge.plist Support
[running] com.symantec.uiagent.application.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[running] com.cleverfiles.cfbackd.plist Support
[running] com.eltima.ElmediaPlayer.daemon.plist Support
[loaded] com.embraceware.awaken.plist Support
[loaded] com.google.keystone.daemon.plist Support
[loaded] com.macpaw.CleanMyMac2.Agent.plist Support
[running] com.micromat.TechToolProDaemon.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[loaded] com.oracle.java.JavaUpdateHelper.plist Support
[loaded] com.prosofteng.DriveGenius.locum.plist Support
[running] com.smithmicro.schedulerdaemon.plist Support
[loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
[failed] com.symantec.liveupdate.daemon.plist Support
[not loaded] com.symantec.sep.migratesettings.plist Support
[running] com.symantec.sharedsettings.plist Support
[running] com.symantec.symdaemon.plist Support
[running] com.taoeffect.ispyd.plist Support
[running] com.wdc.drivemanagerservice.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
[running] com.prosofteng.DGMonitor.plist Support
[running] com.smithmicro.cleaning.schedulermailer.plist Support
[running] com.taoeffect.EspionageHelper.plist Support
User Login Items: ℹ️
Speedy Mac Application (/Applications/Speedy Mac/Speedy Mac.app)
AwakenHelper Application (/Users/[redacted]/Library/Application Support/Awaken/AwakenHelper.app)
GetBackupAgent Application (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
WDDriveUtilityHelper Application (/Users/[redacted]/Downloads/WD/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
ClustersHelper Application (/Library/PreferencePanes/Clusters.prefPane/Contents/Resources/ClustersHelper.a pp)
RealPlayer Downloader Agent Application (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
SAVDiskMountNotify UNKNOWN (missing value)
ScanNotification UNKNOWN (missing value)
Launch Nikon Message Center 2 Application (/Applications/Nikon Software/Nikon Message Center 2/Nikon Message Center 2.app/Contents/SharedSupport/Launch Nikon Message Center 2.app)
Internet Plug-ins: ℹ️
EPPEX Plugin: Version: 10.0 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
AdobePDFViewer: Version: 9.4.6 Support
Unity Web Player: Version: UnityPlayer version 3.5.3f3 - SDK 10.6 Support
NPVirtools: Version: 4.0 Support
iPhotoPhotocast: Version: 7.0 - SDK 10.8
RealPlayer Plugin: Version: (null) Support
DirectorShockwave: Version: 11.6.8r638 Support
QuickTime Plugin: Version: 7.7.1
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
GarminGpsControl: Version: 2.9.3.0 Release Support
ToontownBundleManager: Version: (null) Support
CANONiMAGEGATEWAYDL: Version: 3.1.0.2 Support
Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
OVSHelper: Version: 1.0 Support
CoolirisWebKitPlugin: Version: (null) Support
Google Earth Web Plug-in: Version: 6.1 Support
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support
SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
JavaAppletPlugin: Version: Java 7 Update 67 Check version
OfficeLiveBrowserPlugin: Version: 12.3.6 Support
User Internet Plug-ins: ℹ️
BrowserPlus_2.9.2: Version: 2.9.2 Support
Picasa: Version: 1.0 Support
Safari Extensions: ℹ️
DivX Plus Web Player HTML5 <video>
Open in Internet Explorer
DivX HiQ
Aimersoft Video Converter
3rd Party Preference Panes: ℹ️
BrowserPlus Support
Clusters Support
Déjà Vu Support
Flash Player Support
Flip4Mac WMV Support
Java Support
Logitech Control Center Support
Logi Preference Manager Support
MenuMeters Support
Perian Support
Symantec QuickMenu Support
TechTool Protection Support
Tuxera NTFS Support
Time Machine: ℹ️
Skip System Files: NO
Auto backup: YES
Destinations:
iMac TimeMachine [Local]
Total size: 2 TB
Total number of backups: 80
Oldest backup: 2011-09-18 05:21:33 +0000
Last backup: 2014-10-05 20:18:55 +0000
Size of backup disk: Excellent
Backup size 2 TB > (Disk size 0 B X 3)
/sbin excluded from backup!
/usr excluded from backup!
/System excluded from backup!
/bin excluded from backup!
/private excluded from backup!
/Library excluded from backup!
/Applications excluded from backup!
Top Processes by CPU: ℹ️
2% WindowServer
0% Speedy
0% SystemUIServer
0% RealPlayer Downloader Agent
0% ps
Top Processes by Memory: ℹ️
288 MB SymDaemon
150 MB Speedy
137 MB Safari
82 MB WebProcess
82 MB coreservicesd
Virtual Memory Information: ℹ️
2.17 GB Free RAM
1.46 GB Active RAM
148 MB Inactive RAM
518 MB Wired RAM
388 MB Page-ins
0 B Page-outs
I hope someone has some ideas! TIA.Do you have another cable you can test with? Do you have access to another computer with Firewire you can test with?
FireWire Device not Working
FireWire/USB - Quick Assist -
Call function after AutoSuggest select
Hello,
Looking at the
Auto-suggest
Overview I'm wondering if any clever folks out there can tell
me the best way to call a function after a user has selected an
item from the list (preferably by either mouse or keyboard). The
function takes the selected value as an argument.
On a related note does anyone think that
Spry.Widget.AutoSuggest would benefit from a finish option like the
apry effects have?
Cheers,
PeterHi Cristian,
Thanks for your reply.
Firstly, I forgot to say in my previous post how great I
think Spry is, I've played with some other frameworks in the past
but Spry is the one that has really clicked with me.
The future developments look very interesting, I'll be
keeping my eye on Spry.
As for the what I mean by the finish: callback function, it
occurs to me that many people may want to have spry do 'x' after
the user has selected something from the AutoSuggest list. In my
case I want to filter a recordset based on what the user has just
selected, this can be done easily by having them click a button
that calls a function after they have made their selection but
having the option of this happening 'automatically' would be a real
boon.
I don't really know anything about advanced JS so I don't
know if something like this would be possible. E.g.:
var ac6 = new Spry.Widget.AutoSuggest("productSampleDiv",
"productMenuDiv", "dsProducts3", 'name', {containsString: true,
minCharsType: 2, finish: function x() }); -
Error-- failed to start a managed process after the maximum retry limit
hi
I installed oracle 10g application server. its installed fine. But now i am facing a problem in which i am getting the following error message when i try to start opmnctl from command prompt:
opmnctl: starting opmn and all managed processes ..
======================================================
opmn id=apps:6200
0 of 1 processes started.
ias-instance id=orcl.apps
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
default_group/home/default_group/
Error
-->Process (index=1, uid=1845537884, pid=1320)
failed to start a managed process after the maximum retry limit
Log:
D:\product\10.1.3.1\oracleAS_1\opmn\logs\\default_group~home~default_group~1.log
Please help me in order to remove this, so that i can run oracle apps.
Regards,
AqrsHi
i checked the log already but there is not such problem defined in it.
Following is the log generated ion this error:
Configuration information
Running in D:\product\10.1.3.1\OracleAS_1
Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
Oracle home:D:\product\10.1.3.1\OracleAS_1
Oracle home name:Unnamed
Instance name:orcl.apps
Instance type:allProducts
Version:10.1.3.1.0
Uses infrastructure:false
Not an infrastructure instance, no infrastructure information available
Components:[j2ee, orabpel, oraesb, owsm, Wsil]
2009-06-03 01:46:58.609--Begin log output for Mid-tier services (orcl.apps)
2009-06-03 01:46:58.625--Processing Step: starting OPMN
2009-06-03 01:47:07.921--Processing Step: starting OPMN managed processes
2009-06-03 01:48:47.312--End log output for Mid-tier services (orcl.apps)
An unknown OPMN error has occured
oracle.appserver.startupconsole.model.ConsoleException: An unknown OPMN error has occured
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:140)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
Caused by: oracle.appserver.startupconsole.model.ConsoleException: There are some errors while stopping the following components. Refer to the generated error report for more details.
==================================================
ias-component: default_group
process-type: home
process-set: default_group
Error Message:failed to start a managed process after the maximum retry limit
==================================================
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:139)
... 6 more
Caused by: oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:97)
... 6 more
Exception caused by
There are some errors while stopping the following components. Refer to the generated error report for more details.
==================================================
ias-component: default_group
process-type: home
process-set: default_group
Error Message:failed to start a managed process after the maximum retry limit
==================================================
oracle.appserver.startupconsole.model.ConsoleException: There are some errors while stopping the following components. Refer to the generated error report for more details.
==================================================
ias-component: default_group
process-type: home
process-set: default_group
Error Message:failed to start a managed process after the maximum retry limit
==================================================
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:139)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
Caused by: oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:97)
... 6 more
<?xml version='1.0' encoding='WINDOWS-1252'?>
<response>
<msg code="-82" text="Remote request with weak authentication.">
</msg>
<opmn id="apps:6200" http-status="204" http-response="0 of 1 processes started.">
<ias-instance id="orcl.apps">
<ias-component id="default_group">
<process-type id="home">
<process-set id="default_group">
<process id="1848837552" pid="3128" status="Stop" index="1" log="D:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log" operation="request" result="failure">
<msg code="-21" text="failed to start a managed process after the maximum retry limit">
</msg>
</process>
</process-set>
</process-type>
</ias-component>
</ias-instance>
</opmn>
</response>
Could u plz guide now ? -
No messages by perfoming a Function After Data Change - Web Interface Build
Hey Xperts,
I have a problem to see messages, when I perform a Function via WEB - Function After Data Change.
You can select by costomizing a Subcomponent "Layout" that a Function can be performent by the feature "Function After Data Change".
But when I run the function there is no message in the message tray.
When I run the function via Button, there will come up a messages.
Is this a buk or a feature.
How can I see message by performing a Function After Data Change ?
Thanks for help.
ThomasHi Thomas,
the system works as designed. It would be a bit anoying if the success messages are always displayed. Therefore only errors are shown.
If you really need it, here's the modification:
Include LUPWB_COMPONENTD18
* PROCESS FUNCTION (after data set)
if m_state-request-function = cb_true.
l_function ?= if_upwb_c_layout2~get_function( ).
if l_function is not initial.
l_function->_execute(
* i_show_success_msg = cb_false ). "<<<DELETE
i_show_success_msg = cb_true ). "<<<INSERT
endif.
m_state-request-function = cb_false.
endif.
Regards
Marc
SAP NetWeaver RIG -
Cannon MP830 can't use the scanner function after upgrading to Mavericks.
I have an Cannon MP830 and now I can't use the scanner function after upgrading to Mavericks. Can someone help?
There is no ICA driver for this model so you won't be able to use Image Capture or Preview. But there is a TWAIN scanner driver and the supporting MP Navigator application available for 10.8 from Canon, so you could try installing these and see if you can scan again.
-
A trigger blocking function for control cycle in Kanban
Hi,
I wantet to change the status in Kanban. I get this error u201CA trigger blocking function was defined for the control cycle in the replenishment strategyu201D. I don't want to set a period of blocking function. how can I deactivate it.
ThanksHi,
Pls. check the following setting :
First in PK13n ( KANBAN Board) check whether X is marked with KANBAN Number e.g. 1X.
If so then replenishment will not be triggered because KANBAN is locked.
To unlock the KANBAN pls do the following :
Go to -
> PKMC ( Control Cycle Maintanance) in Change Mode----> Select Control Cycle -> Go to Display Control Cycle ( Glass Icon)--> on top of details of kanban cycle choose option ---> Display Kanbans ( Spectacle Icon )
Select it and go inside : Inside pop up appearing check first Column : Lkln ( Lock Indicator).
Remove the tick in check box of lock indicator for respective KANBAN for which you want to trigger replenishment.
Pls. try above settings and revert back if still problem persists.
Reward if problem solved.
Regards,
Tejas
Edited by: Tejas Pujara on Aug 1, 2008 12:25 PM
Maybe you are looking for
-
hey all, I was using my computer running on battery when the battery went empty and computer turned off. so i plugged the computer to the AC and used it. when the green light turned on and the status on screen said fully charged, i unplugged the elec
-
I just bought a new ipod nano. It will not sync my itunes. It says it does, but when I unplug it to check, there is no music on it.
-
N97 software update=music library gone??????
i updated my n97,the songs are all still in the mass memory,but all gone from music library,is there an easy way to get them back,or do i have to delete them all from mass memory,and put them all back on again??? iv had it with this rubbish phone, So
-
Create Apple TV version?
Some .mpg video files played fine on my computer (10.5.5), but my Apple TV said it cannot play it. So I use "create Apple TV version" inside iTunes, and created a new version. The new version does play in Apple TV, but without sound! I changed .mpg t
-
Very frustrating its blocking many of my websites recieved through email. Just want to delete it altogether. Windows states it will close program until problem is resolved but no resolution comes. Now my printer is not working, not sure if firefox ha