Starting Timer Control on WLS Startup
Hi,
I request some help urgently, esp from BEA support. We are building an app inside
WorkShop 8.1, with WLS 8.1 SP1. What we want to do is this: Execute some functionality
at periodic intervals. Part of this functionality is sending eMails, which is
provided by a workshop control.Now,we have a workshop timer control whose onTimeOut
method calls this mailSender mail control. What we cant figure out is how to start-up
this timer control when the WLS server JVM starts-up. We cant make a WLS start-up
class because this class wouldnt be able to call a workshop control. We are stuck
on this for a while now, so any help is appreciated.
Regards,
Vik
You can make it so that your ear deploys on startup, and you can fire things
in the app lifecycle listener. See:
http://edocs.bea.com/wls/docs81/deployment/concepts.html
Cheers
mbg
"vik" <[email protected]> wrote in message
news:400d6bab$[email protected]..
>
Hi,
I request some help urgently, esp from BEA support. We are building an appinside
WorkShop 8.1, with WLS 8.1 SP1. What we want to do is this: Execute somefunctionality
at periodic intervals. Part of this functionality is sending eMails, whichis
provided by a workshop control.Now,we have a workshop timer control whoseonTimeOut
method calls this mailSender mail control. What we cant figure out is howto start-up
this timer control when the WLS server JVM starts-up. We cant make a WLSstart-up
class because this class wouldnt be able to call a workshop control. Weare stuck
on this for a while now, so any help is appreciated.
Regards,
Vik
Similar Messages
-
Settings (Firefox 4 on Windows 7), Tools->Options->General->Startup->When FireFox Starts: Show my windows & Tabs from last time ..
On startup permanently shows only Firefox Default Home pageMake sure that you do not use [[Clear Recent History]] to clear the "Browsing History" if Firefox is closed.
See also:
* http://kb.mozillazine.org/Session_Restore -
Q<ADVC-4> Can Timer Control/Polling be used to interact with webservices developed
outside of WLS?
A<ADVC-4> Absolutely, Timer mechanisms are the appropriate way to make your web
service a client to another web service and are very useful to provide polling
mechanisms. Look at slides ADVC 9-11 to see more.Step by step, how did you arrive at seeing this agreement?
-
Hi,
I wonder if there is a way, either on the OMS server or at the backend repository database, to find out the last time that OMS was started. When I use emctl status oms -details it does not give the timestamp at which the current OMS was started. But when you do for an agent (emctl status agent) you do get such information for the agent start time.
OMS Status:
>./emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : omsserver.mycompany.com
HTTP Console Port : 7778
HTTPS Console Port : 4444
HTTP Upload Port : 4889
HTTPS Upload Port : 1159
EM Instance Home : /u01/app/oracle/product/MiddleWare/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/product/MiddleWare/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is unlocked.
OMS Console is unlocked.
Active CA ID: 1
Console URL: https://omsserver.mycompany.com:4444/em
Upload URL: https://omsserver.mycompany.com:1159/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: omsserver.mycompany.com
Agent Status:
>./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent Version : 12.1.0.2.0
OMS Version : 12.1.0.2.0
Protocol Version : 12.1.0.1.0
Agent Home : /u01/app/oracle/product/agent12c/agent_inst
Agent Binaries : /u01/app/oracle/product/agent12c/core/12.1.0.2.0
Agent Process ID : 11230
Parent Process ID : 11013
Agent URL : https://agentserver.mycompany.com:1831/emd/main/
Repository URL : https://hlcnwoemp01.mycompany.com:1159/empbs/upload
Started at : 2013-08-31 12:45:55 <===== Start time
Started by user : oracle
Last Reload : (none)
Last successful upload : 2013-11-25 15:08:10
Last attempted upload : 2013-11-25 15:08:10
Total Megabytes of XML files uploaded so far : 552.38
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 47.17%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2013-11-25 15:07:46
Last successful heartbeat to OMS : 2013-11-25 15:07:46
Next scheduled heartbeat to OMS : 2013-11-25 15:08:46
Agent is Running and Ready
Thanks!Console > Setup > Manage Cloud Control > Management Services
In the table click the name of the management service
Oracle Management Service (Drop-Down) > Monitoring > Status History
General section has got information about since when the OMS is up -
The drives I have are Seagate 1TB GoFlex portable drives (one has UBS 3.0, the other USB 2.0), and a WesternDigital 1TB passport (USB 3.0). I originally tried to backup with Time Machine using the Seagate USB 3.0, and when that didnt work, Seagate suggested maybe since my operating system is a little older, that I try with a USB 2.0, so they sent me another NEW external hard drive, with the USB 2.0. Had the same issue. Frustrated and convinced that Seagate just sucked, I went and bought the 1TB WesternDigital passport (USB 3.0). Have the exact same issue again. Every drive was new, and formatted for mac. When I started time machine it started to back up my files, but froze after copying give or take 250 MB (usually 252.5MB, to be exact). I went and tried the drive on several other macs, and none of them presented any problems. I also tried dragging individual files, but it still freezes on pretty much anything bigger than +/- 100MB. Disk Utility says that all the drives are fine. Obviously this is a problem with my computer, and not the 3 brand new external drives. I thought about upgrading to OSX 10.6, but don't know if this'll help or not (plus, I'd really prefer to have all the files backed up on a drive before doing that, just in case). I dont know what else to do.. called apple, but I'm not about to pay them $50 to have them MAYBE give me a solution (done that twice now for previous unrelated issues, and each time they just told me to take it to a computer repair place.) Just seeing if anyone out there has a solution before I cave and take it back to the certified computer guys for them to figure it out.. Also, I live in Montana and theres no apple store anywhere close (not suprising), so taking it to an Apple Store is just not an option.
Side note: Seagate tech support is awesome; they tried everything to solve the problem, and they even bent their rules a little to send me a new drive, even though it wasn't a malfunction issue with their drive. Really helpful, friendly people, which is much more than I can say for Apple at this point...this is what you need to do to exclude everything apart from desktop.
on time machine preferences, click on Options
click plus sign, on the new window, click macintosh HD
do a Control + A then deselect users then click okay
go to options again, plus sign, go to users, control +A then deselect your user account
go to options again, plus sign, go to your user account, control + A, deselect desktop
start the back up. -
Could not start transport control program tp while releasing the TR
Hello experts,
i have a problem if any one phase this kind of problem & if u know the solution please share to me its urgent
problem in Development system ,for this i had updated kernel , TP patch level , R3trans patch level in development and quality system , but still the problem is occurring in development system . while releasing the Transport Request this error is coming that too not in frequently some times it is happening some times it not happening ( some times its working fine )
Could not start transport control program tp
Message no. TP608 Diagnosis
There was an attempt to start the transport control program tp using the local RFC interface. An
error occurred here.
Error code: 4
RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Meaning of the error codes:
03 RFC system failure
04 RFC communication failure
System Response
The function terminates. Details about the error can be found in the trace file of the Gateway
Monitor (SMGW).
Procedure
Contact your system administrator or use report RSTPTEST to localize the error. You can then
execute the command again.
please suggest me what can i do for better , how can i resolve this issue
Thanks & Regards,
NarasimhaHello experts ,
Last one and half month on-words we are phasing some problems on STMS
while releasing the Transport Request getting this error messages on
status-bar
1. "could not start transport control program tp"
2. while importing the TR into quality system getting this error message" RFC Error :timeout during allocate/CPIC-CALL "
3.while forwarding the TR from QAS to PRD : " RFC Error :timeout during
allocate/CPIC-CALL "
after continues refreshing,we are able to release the request and importthe request into quality system. But after some time again same problem
coming
for this we did the kernel upgrade , tp , & R3trans update and STMS RE-
Configuration etc...But no use with this we got the same problem after
finishing all these workaround , but don't know what happened after 2-3
days STMS starts working fine DEV-QAS-PRD ,
Now we are in the same problem after continues refreshing,we are able torelease the request and import the request into quality system. But after
some time again same problem coming
please suggest us what could be the reason behind this & what we can do
for better -
How to Set A Default Start Time For New Events In Calendar?
How to Set A Default Start Time For New Events In Calendar?
John,
Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
Works just fine. Snippet from the listener follows
BindingContext bindingContext = BindingContext.getCurrent();+
*if ( bindingContext != null ) {*+
DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
Row currentRow = iterator.getCurrentRow();+
if ( currentRow.getAttribute("StartDate") == null)+
currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
if (currentRow.getAttribute("EndDate")==null)+
currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
*}* -
Node Manager installed as service does not start managed servers. WLS 10.3
Hi All,
I have installed the node manager as a windows service. When the service starts up it does start the managed servers.
In the nodemanager.log file it shows that the node manager is reading the startup.properties file for all of the managed servers.
<Jul 24, 2009 6:38:13 AM> <INFO> <Loading domains file: C:\bea\WLSERV~1.3\common\NODEMA~1\nodemanager.domains>
<Jul 24, 2009 6:38:13 AM> <INFO> <Loaded node manager configuration properties from 'C:\bea\WLSERV~1.3\common\nodemanager\nodemanager.properties'>
<Jul 24, 2009 6:38:13 AM> <Info> <SalesIllustrationDomain> <IntegrationServer> <Startup configuration properties loaded from "C:\bea\user_projects\domains\SalesIllustrationDomain\servers\IntegrationServer\data\nodemanager\startup.properties">
<Jul 24, 2009 6:38:13 AM> <Info> <SalesIllustrationDomain> <ProdBackupServer> <Startup configuration properties loaded from "C:\bea\user_projects\domains\SalesIllustrationDomain\servers\ProdBackupServer\data\nodemanager\startup.properties">
<Jul 24, 2009 6:38:13 AM> <Info> <SalesIllustrationDomain> <QAServer> <Startup configuration properties loaded from "C:\bea\user_projects\domains\SalesIllustrationDomain\servers\QAServer\data\nodemanager\startup.properties">
<Jul 24, 2009 6:38:13 AM> <INFO> <Plain socket listener started on port 5556, host localhost>
The node manager properties file contains the following
#Mon Apr 20 10:54:45 PDT 2009
DomainsFile=C\:\\bea\\WLSERV~1.3\\common\\NODEMA~1\\nodemanager.domains
LogLimit=0
PropertiesVersion=10.3
JavaHome=C\:\\bea\\JROCKI~1
AuthenticationEnabled=false
NodeManagerHome=C\:\\bea\\WLSERV~1.3\\common\\NODEMA~1
LogLevel=INFO
DomainsFileEnabled=true
StartScriptEnabled=false
StartScriptName=startWebLogic.cmd
ListenAddress=localhost
NativeVersionEnabled=true
ListenPort=5556
LogToStderr=true
SecureListener=false
LogCount=1
StopScriptEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=true
LogFile=C\:\\bea\\WLSERV~1.3\\common\\NODEMA~1\\nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50
The managed servers' boot.properties file and startup file are below
boot.properties:
#Thu Jul 23 13:48:26 PDT 2009
CustomTrustKeyStoreFileName=C\:\\bea\\wlserver_10.3\\common\\ssl\\supportTrust2008.jks
TrustKeyStore=CustomTrust
password={3DES}mvtUK8oB8JEiQoVES4AQIQ\=\=
CustomTrustKeyStorePassPhrase={3DES}34+15HRlP6qqpZX3bTPp+Q\=\=
CustomTrustKeyStoreType=JKS
username={3DES}P5mMHiWLnf2UtssZbQtezkDtIS0COiHW
startup.properties:
#Server startup properties
#Thu Jul 23 13:48:27 PDT 2009
Arguments=-Xms1024m -Xmx1024m -Xnohup
JavaHome=C\:\\bea\\jrockit_160_05
SSLArguments=-Dweblogic.security.SSL.ignoreHostnameVerification\=false -Dweblogic.ReverseDNSAllowed\=false
RestartMax=2
RestartDelaySeconds=0
RestartInterval=3600
BeaHome=C\:\\bea
ClassPath=C\:\\bea\\user_projects\\domains\\SalesIllustrationDomain\\servers\\lib\\itext\\WEB-INF\\lib\\itext.jar;C\:\\bea\\wlserver_10.3\\server\\lib\\weblogic_sp.jar;C\:\\bea\\wlserver_10.3\\server\\lib\\weblogic.jar;C\:\\bea\\user_projects\\domains\\SalesIllustrationDomain\\servers\\ProdBackupServer\\applications\\massmutual\\WEB-INF\\classes\\;C\:\\bea\\user_projects\\domains\\SalesIllustrationDomain\\servers\\ProdBackupServer\\applications\\assuritylife\\WEB-INF\\classes\\;C\:\\bea\\user_projects\\domains\\SalesIllustrationDomain\\servers\\ProdBackupServer\\applications\\minnesotalife\\WEB-INF\\classes\\;C\:\\bea\\user_projects\\domains\\SalesIllustrationDomain\\servers\\ProdBackupServer\\lib\\ltclibrary\\WEB-INF\\classes\\
AdminURL=http\://localhost\:7001
JavaVendor=BEA
AutoRestart=true
AutoKillIfFailed=false
I am wondering if I left out a parameter some where.
Any help would be greatly appreciated.
Thanks,
GregFirst of all, I assume you mean "... up it does NOT start ..."?
It might be helpful to point out that the purpose of the NodeManager is not to start the servers, but to "control" the servers through remote commands. When the NodeManager starts back up, it tries to reset the servers to the last known state it set them to, based on remote commands.
For instance, if your system was running and you stopped the servers through the admin console and then restarted the machine, the NodeManager would not start the servers on machine startup, because the last controlled state of the servers was down. If all of your WebLogic servers were running as a result of NodeManager commands, and you pulled the plug on the box, when you restarted the machine, the NodeManager probably would restart the servers. -
One of my clients has his dpm server turned off for a long time. Now when that server is back online I cannot re-sync backup. First was database in suspect mode and I was not able to acess dpm console. Now when I fix that I cant re-sync job. I even tried
to delete on PG and recreate it but without success. Agent showing OK and it can comunicate with server. I have even tried to uninstall agent and re-install it but without luck.
ID 53 Details: The service did not respond to the start or control request in a timely fashion (0x8007041D))
That is the error what I get on all protection groups. Is there any one who can help with this?
And last thing is that DPM is crushing on recovery tabHi
Do you still need assistance with this? -
Could not start transport control program tp
Hi all
when i am trying to see the TP Parameters i am getting the below error:
System DV2 Command TMS_MGR_READ_TPPARAM
Client 000 Service Transport Service
User TMSADM Start Online
Date 10/18/2008 Function TMS_TP_READ_TPPARAM
Time 12:03:39 Message TP_CALL_FAILED
Could not start transport control program tp
RFC error: Error when opening an RFC connection
and in SMGW i am seeing the below error:
Sat Oct 18 11:09:33 2008
ERROR => GwISearchPartner: timeout, partner LU: >hostname<, TP: >/usr/sap/DV2/DVEBMGS00/exe/tp< [gwr3cpic.c 6135]
ERROR => GwISearchPartner: HOST: hostname, conv ID: 60516439 [gwr3cpic.c 6148]
please help me to solve this.
Thanks:
GiridharHi Giridhar,
I think its a cpic timeout occurring before reading tp could start. Please check the parameter gw/cpic_timeout in your system. The default may be 20 sec for this parameter.. You can consider it increasing to 60 sec.
https://service.sap.com/sap/support/notes/638701
Regards,
Debasis. -
Delaying start time for Nokia 925 Aps?
Is it possible, delaying start time for Nokia 925 Aps? For. egzample, Night watsch (uses a lot of batteries).
I need to be visible from 5:00. Is it possible, make it automatic startup 5:00?hi mate, sorry to hear about your experience. in this case, the fault may lie with the Nokia Care point's handling of your device. in this case you will need to persist with them until they either fix it or issue you with a replacement. else if they are not being conducive to the matter, then you will need to take up the issue with head office of Nokia in your region.
-
SMLT Could not start transport control program tp
Hello.
I want to install language on fresh system ERP 2005 SR2. Platform is AIX and Oracle. In SMLT i get error:
Could not start transport control program tp
Message no. TP608 Diagnosis
There was an attempt to start the transport control program tp using the local RFC interface. An error occurred here.
Error code: 4
RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Meaning of the error codes:
03 RFC system failure
04 RFC communication failure
trace from SMGW:
Fri Sep 7 15:22:10 2007
ERROR => GwISearchPartner: timeout, partner LU: >sapdb2<, TP: >/usr/sap/TR3/DVEBMGS01/exe/tp< [gwr3cpic.c 5842]
ERROR => GwISearchPartner: HOST: sapdb2, conv ID: 58517568 [gwr3cpic.c 5855]
Fri Sep 7 15:22:12 2007
ERROR => GwIConnectHandle: conversation 58517568 not found
(lu=sapdb2 , tp=tp , host=sapdb2) [gwxxrd.c 7762]
I have update the kernel and tp to the newest version.
Can anybody help me to solve this problem ?
Thanks.I found problem in TCP/IP RFC connection CALLTP_AIX :
I tested it several times, and sometime it returns error:
Logon Cancel
Error Details timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout bei
Error Details ERROR: timeout during allocate
Error Details LOCATION: SAP-Gateway on host sapdb2 / sapgw01
Error Details DETAIL: no connect of TP /usr/sap/TR3/DVEBMGS01/exe/tp from host sapdb2 after
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 192
Error Details MODULE: gwr3cpic.c
Error Details LINE: 5873
Error Details RETURN CODE: 242
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Fri Sep 7 16:04:55 2007
Error Details VERSION: 2
Also report RSTPTEST somitemes return problem in step RFC ping:
timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456#Timeout beim Verbindungsaufbau (Partner vorhanden ?)
Message was edited by:
Evgeniy Druzkin -
I am building an application that scrolls through an panoraminc photo to make it appear as if its rotating 360 degrees.
So far i can get the image to scroll left and right continously by having a left and right button to click on
what i am after is some ideas/direction on how i could automate the process, as in when you click the left button the image will scroll at a certain speed.
I was thinking that i would need a time controlled loop where the the method for scrolling the image to the left occurs every few seconds.
Thanks in advancedUse a inner class that extends Thread as follow:
class MyTimer extends Thread{
boolean continue=true;
public void stopScroll(){
continue=false;
public void run(){
while(continue){
try{
xpos=pictureScroll(img, xpos, "right");
sleep(100);
}catch(InterrupdedException e){
}use
Thread t=new MyTimer ();
t.start();to start scroll, and to stop
t.stopScroll();in button's ActionPerformed -
Error in identifying control file; during startup, SOLVED
Virag_Sh: Thanks for your valuable inputs.
Oracle is not able to identify the control files on startup.
[oracle@localhost ~]$ sqlplus sys/change_on_install as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 2 11:36:25 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 88080384 bytes
Fixed Size 1217836 bytes
Variable Size 79694548 bytes
Database Buffers 4194304 bytes
Redo Buffers 2973696 bytes
ORA-00205: error in identifying control file, check alert log for more info
initTSH1.ora file contents:
CONTROL_FILES = ("/boot/u01/app/oracle/oradata/orcl/control1.ctl","/boot/u01/app/oracle/oradata/orcl/control2.ctl","/boot/u01/app/oracle/oradata/orcl/control3.ctl"
And here are the control files:
[oracle@localhost orcl]$ pwd
/boot/u01/app/oracle/oradata/orcl
[oracle@localhost orcl]$ ls -l | grep ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control01.ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control02.ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control03.ctl
Message was edited by:
user545563The new value is ((4MB * the number of cpus)/db_block_size)
Sat Jun 2 16:10:53 2007
Starting ORACLE instance (normal)
Sat Jun 2 16:10:53 2007
System parameter db_block_buffers enabled without VLM on.
Cannot determine all dependent dynamic libraries for /proc/self/exe
Unable to find dynamic library libocr10.so in search paths
RPATH = /ade/aime1_build2101/oracle/has/lib/:/ade/aime1_build2101/oracle/lib/:/ade/aime1_build2101/oracle/has/lib/:
LD_LIBRARY_PATH is not set!
The default library directories are /lib and /usr/lib
Unable to find dynamic library libocrb10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /boot/u01/app/oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned off.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 50
shared_pool_size = 54525952
control_files = /boot/u01/app/oracle/oradata/orcl/control01.ctl, /boot/u01/app/oracle/product/10.2.0/db_1/dbs/;
db_block_buffers = 512
log_buffer = 2927616
log_checkpoint_interval = 10000
db_files = 80
db_file_multiblock_read_count= 8
global_names = TRUE
parallel_max_servers = 5
max_dump_file_size = 10240
db_name = DEFAULT
MMAN started with pid=4, OS id=7709
PMON started with pid=2, OS id=7705
PSP0 started with pid=3, OS id=7707
LGWR started with pid=6, OS id=7713
DBW0 started with pid=5, OS id=7711
RECO started with pid=9, OS id=7719
MMON started with pid=10, OS id=7721
MMNL started with pid=11, OS id=7723
SMON started with pid=8, OS id=7717
CKPT started with pid=7, OS id=7715
Sat Jun 2 16:11:01 2007
ALTER DATABASE MOUNT
Sat Jun 2 16:11:01 2007
ORA-00202: control file: '/boot/u01/app/oracle/product/10.2.0/db_1/dbs/;'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Sat Jun 2 16:11:01 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
The error is here:
ORA-00202: control file: '/boot/u01/app/oracle/product/10.2.0/db_1/dbs/;'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Don't know how is /boot/u01/app/oracle/product/10.2.0/db_1/dbs/ directory getting added to while searching for the control file.
control files are located in directory: /boot/u01/app/oracle/oradata/orcl/control01.ctl
init.ora,initTSH1.ora and spfileTSH1.ora all have control file location as
/boot/u01/app/oracle/oradata/orcl/control01.ctl
[oracle@localhost dbs]$ cat spfileTSH1.ora
*.CONTROL_FILES='/boot/u01/app/oracle/oradata/orcl/control01.ctl',';'
*.db_block_buffers=100# SMALL
*.db_file_multiblock_read_count=8# SMALL
*.db_files=80# SMALL
*.db_name='DEFAULT'
*.global_names=TRUE
*.log_buffer=32768# SMALL
*.log_checkpoint_interval=10000
*.max_dump_file_size='10240'# limit trace file size to 5 Meg each
*.parallel_max_servers=5# SMALL
*.processes=50# SMALL
*.shared_pool_size=52132659
[oracle@localhost dbs]$
In init.ora
CONTROL_FILES = ("/boot/u01/app/oracle/oradata/orcl/control01.ctl","/boot/u01/app/oracle/oradata/orcl/control02.ctl","/boot/u01/app/oracle/oradata/orcl/control03.ctl");
In initTSH1.ora
# define two control files by default
CONTROL_FILES = ("/boot/u01/app/oracle/oradata/orcl/control01.ctl","/boot/u01/app/oracle/oradata/orcl/control02.ctl","/boot/u01/app/oracle/oradata/orcl/control03.ctl");
[oracle@localhost orcl]$ pwd
/boot/u01/app/oracle/oradata/orcl
[oracle@localhost orcl]$ ls -l | grep ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control01.ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control02.ctl
-rw-r----- 1 oracle oinstall 7061504 May 31 15:19 control03.ctl -
Start timer from another thread
I am working on a project which will receive command from telnet and start a timer.
In the sock function, I use form reference to call timer.start(), but timer control cannot start Tick event:
Here is code for sock functin after receive the command:
static void appServer_NewRequestReceived(AppSession session, StringRequestInfo requestInfo)
switch (requestInfo.Key.ToUpper())
case ("START"):
session.Send(requestInfo.Body);
changetimer(1, requestInfo.Body);
break;}}
Here is the function to call timer start:
static void changetimer(int action, string incomingmsg)
//timer1.Start();
Form1 frm = (Form1)Application.OpenForms["form1"];
switch (action)
case 1:
frm.timer1.Start();
break;
case 2:
frm.timer1.Stop();
break;
and this is timer tick :
private void timer1_Tick(object sender, EventArgs e)
TimeSpan result = TimeSpan.FromSeconds(second);
string fromTimeString = result.ToString();
label1.Text = fromTimeString;
second = second + 1;You should start the timer on the UI thread. You could use the Invoke method to access a UI element from another thread:
static void changetimer(int action, string incomingmsg)
//timer1.Start();
Form1 frm = (Form1)Application.OpenForms["form1"];
switch (action)
case 1:
frm.Invoke(new Action(() => { frm.timer1.Start(); }));
break;
case 2:
frm.Invoke(new Action(() => { frm.timer1.Stop(); }));
break;
Hope that helps.
Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.
Maybe you are looking for
-
In flash you can have a shell that has the navigation and some button in the shell are not activated until all clickable objects are clicked. I am not a flash programmer but it was related to using the path of shell and the sub-project. Can anybody
-
IWeb 08 makes crappy URL with æ,ø,å that doesn't work in most browser!!!
I live in Denmark and used iWeb 06 extensively with the danish characters æ, ø and å to name my subpages. iWeb 06 didn't care about those characters as it simply transformed them in the URL to characters/numbers that work in all browsers. iWeb 08 doe
-
How do i charge my usa i touch in uk if i do not have PC?
I am travelling to the UK and will not have access to a computer , using a regular adapter can I plug the i touch directly into UK electric socket or will this damage the unit due to voltage difference Pls advise
-
Where can i find new fonts that work on imac in word 2011
Iam trying to find more fonts for Word 2011 on an imac i have tried a couple of third party and no success.
-
Using Sequence with Data Warehouse Table
I am working on a Uni exercise on data warehousing and am trying to create and populate a table with a sequence on one database with data located on another database. For this particular table, I have to reset the primary key (primary keys on operati