BPM Admin center automatic startup
Hi
is there any way that weblogic startup automatically the bpm admin center so I only write the url of the bpm workspace??? I understand there's a way to do it automatically
How do I make the "install as service" in unix
thanks
Edited by: Diego Guillen on 9/12/2009 01:04 PM
Hi,
What version are you running ?
BPM Admin center is something from BEA so version 10 or ealier.
You could look here : http://docs.oracle.com/cd/E13165_01/albsi/docs60/pdf/ALBPM60_Admin_Center.pdf
Maybe it can give you some more information.
Good Luck.
Cheers,
Nils
Similar Messages
-
Oracle BPM Admin Center Configuration
Hi All,
I am trying to configure the Oracle BPM Admin Center but i am getting the following error.plz can any one reply if you have any idea.....
Configuring Oracle BPM.....
Could not create Schema.
fuego
Detail Cause :An error occured while executing an operation in database:'[BEA][OracleJDBC Driver][Oracle] ORA-28000:The account is locked
The Database URL is jdbc:bea:oracle://localhost.localdomain:1521;SID=ORCL'
Please respond if any solutions
Thank you.Thanks .its helpful but the new error that i am getting while executing the WLST script as follows:
No Weblogic Server running on specified host and port
Creating connector [fuego:SQL]
java.sql.SQLException: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
at albpm.jdbc.base.BaseExceptions.createException(Unknown Source)
at albpm.jdbc.base.BaseExceptions.getException(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.open(Unknown Source)
at albpm.jdbc.base.BaseConnection.connect(Unknown Source)
at albpm.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at albpm.jdbc.base.BaseConnection.open(Unknown Source)
at albpm.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at fuego.database.datadirect.oracle.DataDirectOracleDatabaseManager.systemConnect(DataDirectOracleDatabaseManager.java:615)
at fuego.database.datadirect.oracle.DataDirectOracleDatabaseManager.createUser(DataDirectOracleDatabaseManager.java:197)
at fuego.jdbc.DatabaseManager.createUser(DatabaseManager.java:648)
at fuego.directory.provider.jdbc.JDBCFactory.createInternalSchema(JDBCFactory.java:584)
at fuego.directory.provider.jdbc.JDBCFactory.createSchema(JDBCFactory.java:199)
at fuego.directory.Directory.createSchema(Directory.java:94)
at fuego.config.common.BPMConfiguration.createDirectory(BPMConfiguration.java:384)
at fuego.configwizard.ConfigWizard.executeWizard(ConfigWizard.java:227)
at fuego.configwizard.ExecutionStep$ExecutionStepPanel$1.run(ExecutionStep.java:113)
at fuego.ui.peer.swing.SwingToolkit$TaskFromBooleanTask.run(SwingToolkit.java:181)
at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
at java.security.AccessController.doPrivileged(Native Method)
at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
at java.lang.Thread.run(Unknown Source)
Could not create schema.
fuego
Detail:Cause: An error occurred when executing an operation in database: '[BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused'.
The database URL is: 'jdbc:bea:oracle://localhost.localdomain:1521;SID=ORCL'.
Caused by: An error occurred when executing an operation in database: '[BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused'.
The database URL is: 'jdbc:bea:oracle://localhost.localdomain:1521;SID=ORCL'.
Caused by: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
Caused by: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
Caused by: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
Caused by: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
Caused by: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
The database URL is: 'jdbc:bea:oracle://localhost.localdomain:1521;SID=ORCL'.
at fuego.directory.exception.CouldNotCreateSchemaException.create(CouldNotCreateSchemaException.java:63)
at fuego.directory.provider.jdbc.JDBCFactory.createInternalSchema(JDBCFactory.java:595)
at fuego.directory.provider.jdbc.JDBCFactory.createSchema(JDBCFactory.java:199)
at fuego.directory.Directory.createSchema(Directory.java:94)
at fuego.config.common.BPMConfiguration.createDirectory(BPMConfiguration.java:384)
at fuego.configwizard.ConfigWizard.executeWizard(ConfigWizard.java:227)
at fuego.configwizard.ExecutionStep$ExecutionStepPanel$1.run(ExecutionStep.java:113)
at fuego.ui.peer.swing.SwingToolkit$TaskFromBooleanTask.run(SwingToolkit.java:181)
at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
at java.security.AccessController.doPrivileged(Native Method)
at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
at java.lang.Thread.run(Unknown Source)
Caused by: fuego.sql.DatabaseException: An error occurred when executing an operation in database: '[BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused'.
The database URL is: 'jdbc:bea:oracle://localhost.localdomain:1521;SID=ORCL'.
at fuego.sql.DatabaseException.checkException(DatabaseException.java:115)
at fuego.database.datadirect.oracle.DataDirectOracleDatabaseManager.createUser(DataDirectOracleDatabaseManager.java:211)
at fuego.jdbc.DatabaseManager.createUser(DatabaseManager.java:648)
at fuego.directory.provider.jdbc.JDBCFactory.createInternalSchema(JDBCFactory.java:584)
... 11 more
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost.localdomain:1521. Reason: Connection refused
at albpm.jdbc.base.BaseExceptions.createException(Unknown Source)
at albpm.jdbc.base.BaseExceptions.getException(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.open(Unknown Source)
at albpm.jdbc.base.BaseConnection.connect(Unknown Source)
at albpm.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at albpm.jdbc.base.BaseConnection.open(Unknown Source)
at albpm.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at fuego.database.datadirect.oracle.DataDirectOracleDatabaseManager.systemConnect(DataDirectOracleDatabaseManager.java:615)
at fuego.database.datadirect.oracle.DataDirectOracleDatabaseManager.createUser(DataDirectOracleDatabaseManager.java:197)
... 13 more
ErrorError
The specified path for WebLogic Home is not valid. For example, a valid Weblogic Home for WLS 10.0 could be c:\bea\wlserver_10.0 or /bea/wlserver_10.0
ErrorError
The specified path for WebLogic Home is not valid. For example, a valid Weblogic Home for WLS 10.0 could be c:\bea\wlserver_10.0 or /bea/wlserver_10.0
ErrorError
The specified path for WebLogic Home is not valid. For example, a valid Weblogic Home for WLS 10.0 could be c:\bea\wlserver_10.0 or /bea/wlserver_10.0
ErrorError
No Weblogic Server running on specified host and port
QuestionConfirm Action
Do you want to cancel this wizard? -
Using Apache Directory Server with BPM Enterprise - BPM Admin Center
Hi All,
I m trying to configure BPM Admin Center in BPM Enterprise standalone. I would prefer to use an external directory service.
Can I use Apache Directory Server ? If yes, please let me know how to configure it else please suggest me the possible directory servers I can use.
I would like to use an open source directory server.
Hope to hear soon.
Many Thanks,
SophieHi All,
I m trying to configure BPM Admin Center in BPM Enterprise standalone. I would prefer to use an external directory service.
Can I use Apache Directory Server ? If yes, please let me know how to configure it else please suggest me the possible directory servers I can use.
I would like to use an open source directory server.
Hope to hear soon.
Many Thanks,
Sophie -
How to install Oralce BPM Admin Center (Enterprise) with weblogic 10gr3
Hi,
I want to do setup for the Oracle BPM Admin Center in my local with weblogic 10 , Is there any guid/pdf for this ?
Please help .
Thanks,
Brijesh Kumar Singh.Some how i have installed this deployed one application and it was working fine. But still i want to know the correct way.
Also, while deploying the other application it is giving the exception like this.
Duplicate configuration name. Detail:A configuration named [Name: XXXXXAccessService; Subtype:WSCONSUMER; Type:Web Service; Properties:{transport.connector=HttpsdeveplopmentCom, project.basedir=C:\Documents and Settings\sbrijesh\OracleBPMWorkspace\ApplicationName, transport.http.path=/xxxxx-ws/services/XXXXXAccessService, exceptionPolicy=SYSTEM, binding.type=static, transport.type=HTTP, instrospect.type=introspect.direct}] already exists.
if it is already there then it should avoid this, Should not give the exception.
Thanks,
Brijesh Kumar Singh -
How to configure BPM Admin center?
can you help on this issue?Hi,
What version are you running ?
BPM Admin center is something from BEA so version 10 or ealier.
You could look here : http://docs.oracle.com/cd/E13165_01/albsi/docs60/pdf/ALBPM60_Admin_Center.pdf
Maybe it can give you some more information.
Good Luck.
Cheers,
Nils -
Oracle BPM Admin Center API Details
Hi All,
I am looking to access admin features (as adding role, participant etc) of Oracle BPM through API.
But am not getting API for the same.. If any one have implemented it.. please help me to get the details of API
Warm Regards,
AnkurCheck out the following Links :
Fuego.Lib.Role : [http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/standard_components/index.html?t=Fuego/Lib/Role/Role_component.html]
Fuego.Fdi.DirOrganizationRole : [http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/standard_components/index.html?t=Fuego/Fdi/DirOrganizationalRole/DirOrganizationalRole_component.html]
They will help you in adding roles and participants
Thanks,
Karmaresh
Edited by: user856811 on Mar 15, 2010 10:19 PM -
Automatic startup of admin server + managed server on Windws
Hello,
I have installed/configured WLS 10.3.6 + Forms/Reports 11.1.2.1 on Windows 2008 R2. All this went ok with no errors.
The NodeManager is installed as a service and runs happily after every reboot of the server. OPMN does it as well.
I can connect to the NodeManager with WLST and start/stop/status the Admin Server and the managed servers (WLS_FORMS,WLS_REPORTS) created during the
the installation/configuration step. Each server has the username/password defined (and already encrypted).
However, when I restart the Windows Server, neither the Admin Server nor the WLS_x servers are started during the boot.
I thought that the configuration process was in charge of setting all this, that was my experience with the previous version Oracle Internet Application Server (iAS) 10.1.2.x (opmn running as a service started them all).
I have run through the installation/configuration docs, and found nothing that says that Oracle will configure (or not) the automatic startup.
1) Is the Oracle configuration process (the one that creates the ClassicDomain) supposed to configure the automatic startup of the admin server + managed servers in this setup ? Am I missing perhaps some extra steps ?
or
2) Do I have to create WLST scripts (that connect to the NodeManager and start the admin server + managed servers) and deploy them as Windows Services myself ?
regards.Hi,
During weblogic installation in window server, node manager will be automatically registered as window services. But for admin and managed servers, you need to register it manually after succesful installation and configuration for automatic startup during machine reboot.
Please refer the metaliknk id for register as window services:1060058.1.
If this helps please mark.
Regards,
Kishore -
Can you make core center automatically close after being called on startup?
Can you make core center automatically close after being called on startup so it can set cpu fan speed to a slower fixed speed then exit?
If core center really cant do such a simple task then can speedfan or another program?Quote from: bassmadrigal on 13-July-05, 07:42:36
Why don't you want them running. Speedfan has a very small footprint.
Just seems unnecesary seeming as it does its task as soon as it runs and its changes then stay applied. Speed fan is probably better but core center takes 10mb.
Quote from: syar2003 on 13-July-05, 07:57:02
You dont have to have it running to set a user specified fan rpm .
Once it's set it is stored in the corecell/cmos chip on the motherboard .(until a cmos reset) .
So to answer your question .
There is no need to have it autostarted at each boot ...
Thats how i have used it .
Only reason to have it running is with MSI's "CnQ" control of the fan , varies with the load of the processor
Thats strange for me the speed resets to default as soon as I restart my pc (about when the bios engages which is however tangibly after the graphics card fan revves up to its full speed). Depending on the temperature of the proccessor it goes to 3300rpm (less than 42c) or 4500rpm (too loud for ~45c IMO and MSIs "cool&quiet" option seems to agree, it doesn't even set it as high as 3300rpm) -
9iAS R2 Automatic Startup at Boot time on Windows
How to successfully start the 9iAS R2 Application Server at boot time.
Many of you are still struggling with the problem of 9iAS R2 not automatically starting up properly when your system is restarted. I've been fighting this issue for several weeks and have found the problems, and pitfalls, involved with fixing it. It really is a race condition of things trying to start up before something it depends on is fully functioning, or some application starting out of sequence.
There is a bug associated with this problem; BUG 2511270 ( 9IASV2 Need Ability to Restart All Components in Instance After a Reboot). The bug report itself has very little useful information in it other than to say it doesn't work, and manually starting the components is the only known fix. If you're like me. this isn't a good enough answer.
Your mileage may vary.
My configuration has a 9.2.0.1 customer database, and a 9.0.1.3.1 infrastructure database that is also the application server database, including portals, all installed on the same system which is a Pentium 4, Windows 2000 machine, with 1.5GB of memory. I only use a single LISTENER, which runs out of the 9.2 DB ORACLE_HOME.
Chapter 5 (Starting and Stopping the Application Server) of the Oracle9i Application Server Administrator's Guide shows all of the commands necessary, in the proper order, to manually start the infrastructure and application server. Unfortunately, there is also some incorrect information in this document.
Part 1c in the section Starting an Infrastructure Using Commands on Windows, using SQLPlus to connect to and start the database, does not work unless oracle.exe is already running (which means that you recently shutdown the database by command, not with "services>stop"). If your system is rebooting, oracle.exe is not running. This exact same information is documented in the Database Administrators Guide, Chapter 4, Starting a Database. If you don't have these manuals handy the offending commands are as follows:
ORACLE_HOME\bin\sqlplus /nologsql> connect sys/password_for_sys as sysdba
sql> startup
sql> quit
Since we can't put some variant of the above in a command script to manually start the databases and wait for it to open, the only option left is to let the databases come up in "automatic" mode when the system boots, and run the remaining commands when they are open. If your system is like mine, that can take several minutes, even after you've logged on and gotten your first cup of coffee.
If you set up a command script to run at startup, you don't have any control over when the script gets run, more than likely, in this case, before the databases are open. Unfortunately, Microsoft does not have anything resembling a sleep (timer, wait, delay, etc) command that can be used in a script. There may be something somewhere, but I can't find it. So I wrote one in Perl, which does have a sleep command. You can use anything you have available to you that will function as needed. We obtained our Perl distribution from http://aspn.activestate.com/ASPN/Perl.
The next issue has to do with starting the Oracle Internet Directory. The documentation shows two commands to execute, but in reality, only the first one is required, it automatically takes care of the second one. Refer to the command file below for the correct one.
The last issue deals with running the dcmctl commands. If you run these commands one at a time in a command window, you won't notice anything askew. If you run them, as shown, in a script, they will stop execution of the script when they complete, and there will be no indication that anything wrong has happened. The CMD.exe still exists, it just isn't running. They must be run in there own cmd command as shown below.
Now, let's review the steps necessary to get all this to work.
Put the two scripts shown below in there target directories and edit any necessary changes for your system.
In Start>Settings>Control Panel>Administrative Tools>Services set the OracleServiceSID's and the OracleOraHomeTNSListener to Automatic Startup Type. All other Oracle* services should be set to Manual.
In Start>Programs>Accessories>System Tools>Scheduled Tasks double click on the Add Scheduled Task item,
select Next,
Browse to where your startup script resides,
double click the file name,
select "When my computer starts",
select Next,
Enter a user name and password (that has ORA_DBA privileges)
select Next, then Finish.
Uncomment the first exit in the iasStartup.cmd script.
Reboot your system.
Compare the database open time stamp in each database alert log to the time recorded in the iasStartup.log file to determine you first time delay. Add 10-20 seconds or more to this difference just to be safe. If you add services at a later time, this number may need to be increased.
Edit the iasStartup.cmd file to include this time delay for the first sleep command and comment out the first exit command.
Reboot your system.
After several minutes, all infrastructure and application server processes should be up and running. You can check this in several ways; Look at the log file to see if all commands were run, Look at the Windows Task Manager to see if all expected tasks are running, Look at Services to see what is running. Finally, you can look at the Infrastructure Enterprise Manager Website and click on each instance to determine the current status of each system component. On mine, the component Portal:portal:7779 always shows as down but in reality it is functioning.
The following command script only starts the minimum set of processes that I require. Your requirements may be different so refer to the documentation for additional commands.
Enjoy.
******** iasStartup.cmd ********
REM # iasStartup.cmd
REM # Command script to start the infrastructure and application server at system boot
REM # Mike Bukaty
REM # Sandia National Laboratories
REM # [email protected]
REM # set default directory that contains the log and sleep.pl files.
cd E:\Oracle\admin
echo Starting iasStartup.cmd > iasStartup.log
time /t >> iasStartup.log
REM # Uncomment the following command to determine the time delay for your system
REM # exit
REM # This delay is determined by looking at the times from the alert logs
REM # for when the database was opened and the time recorded above.
REM # SLEEP is a perl script to do just that (in seconds) since Windows doesn't have one.
sleep.pl -delay=120
time /t >> iasStartup.log
REM #Start the infrastructure first
REM #The SID for the infrastructure must be set
set ORACLE_HOME=E:\Oracle\as9inf
set ORACLE_SID=iasdb
echo Starting as9inf oidmon >> iasStartup.log
%ORACLE_HOME%\bin\oidmon start
echo Starting as9inf EMWebsite >> iasStartup.log
net start Oracleas9infEMWebsite
REM # Have to wait for all of the website process to finish
sleep.pl -delay=40
REM # All calls to dcmctl must be in there own CMD environment,
REM # or they will halt this one when they complete
echo Starting as9inf dcmctl ohs >> iasStartup.log
cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
sleep.pl -delay=5
echo Starting as9inf dcmctl OC4J_DAS >> iasStartup.log
cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -co OC4J_DAS
REM # Start the application server
set ORACLE_HOME=E:\Oracle\ora9ias
echo Starting ora9ias webcachectl >> iasStartup.log
%ORACLE_HOME%\bin\webcachectl start >> iasStartup.log
echo Starting ora9ias dcmctl ohs >> iasStartup.log
cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
sleep.pl -delay=10
echo Starting ora9ias dcmctl OC4J >> iasStartup.log
cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct OC4J
REM # The above command starts all existing OC4J processes.
REM # You can now stop any that aren't necessary.
echo Stopping ora9ias dcmctl OC4J_Demos >> iasStartup.log
cmd /c %ORACLE_HOME%\dcm\bin\dcmctl stop -co OC4J_Demos
time /t >> iasStartup.log
echo Finished iasStartup.cmd >> iasStartup.log
exit
******** sleep.pl ********
#!/usr/local/bin/perl
## Author: Mike Bukaty
## Sandia National Laboratories
## [email protected]
## Program: sleep.pl
$| = 1;
use strict;
use Getopt::Long;
Getopt::Long::Configure("no_ignore_case");
GetOptions(
"delay=s" => \ my $delay,
# Set default options
if( not defined($delay) ) { $delay = 1; }
sleep $delay;
exit 1;New information:
When I originally wrote this, the command script worked as advertised. That was yesterday. I've since had to add the following lines just BEFORE the call to start the oidmon.
echo Starting as9inf oidctl >> iasStartup.log
%ORACLE_HOME%\bin\oidctl server=oidldapd configset=0 instance=1 start
Sometimes me thinks that Oracle reconfigures itself at night when I'm not watching.
Enjoy. -
Monitoring services Automatic startup type
I've installed Opsmgr 2012 R2 CU5 in a test environment. Going to replace our Opsmgr 2007 R2 live environment within 2 months.
I want to monitor all Automatic startup services. In Opsmgr 2007 R2 I created an override for the rule " A service terminated Unexpectedly". Did the same In Opsmgr 2012, but I don't get an alert if I stop a service. I noticed that there or a few
services in the "Core Windows Services Rollup" monitor that do create an alert if I stop them.
What am I missing?
ThanxI've got something similar in my toolbox. No clue where I've got the VBS from (ages ago, thanks to the author :-) ) but it still works fine:
<UnitMonitor ID="Syliance.Windows.Server.Extension.ManagementPack.Generic.Service.Monitor" Accessibility="Internal" Enabled="false" Target="Windows!Microsoft.Windows.Server.Computer" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.TimedScript.TwoStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Syliance.Windows.Server.Extension.ManagementPack.Generic.Service.Monitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Description']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success" />
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error" />
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime />
<ScriptName>Monitor_Auto_Services.vbs</ScriptName>
<Arguments>/Exclude:"'Microsoft .NET Framework NGEN v4.0.30319_X64' 'Microsoft .NET Framework NGEN v4.0.30319_X86' 'Performance Logs and Alerts'"</Arguments>
<ScriptBody><![CDATA[' Monitor if any automatic service is not running
' Excluded: Performance Logs and Alerts service is auto but never running
' Create a two state timed generic script unit monitor
' HEALTH EXPRESSIONS
' Healthy Property[@Name='State'] Contains GOOD
' Unhealthy Property[@Name='State'] Contains BAD
' ALERT DESCRIPTION
' $Data/Context/Property[@Name='Description']$
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oShell = CreateObject( "WScript.Shell" )
Set arArgs = WScript.Arguments.Named
Set oBag = oAPI.CreatePropertyBag()
dim StateRegPath : StateRegPath = "HKLM\" & oAPI.GetScriptStateKeyPath("ServicesStopped")
On Error Resume Next
GetState = oShell.RegRead(StateRegPath & "\ServicesList")
on error Goto 0
allGood = TRUE
RepeatDown = FALSE
sExcludeList = arArgs.Item("Exclude")
Set oWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
'Get System Uptime, if recently rebotted, do not continue
Set colOperatingSystems = oWMI.ExecQuery("Select * From Win32_PerfFormattedData_PerfOS_System")
For Each objOS in colOperatingSystems
intSystemUptime = Int(objOS.SystemUpTime)
Next
If (intSystemUptime > 900) Then
Set allSvc = oWMI.ExecQuery("Select * from Win32_Service Where StartMode = 'Auto'")
For Each oSvc in allSvc
If (oSvc.Started = FALSE and instr(1,sExcludeList,"'" & oSvc.DisplayName & "'") < 1) Then
sList = sList & oSvc.DisplayName & ", "
allGood = FALSE
if instr(1,GetState,oSvc.DisplayName) > 0 then RepeatDown = TRUE
End If
Next
If allGood = TRUE then
Call oBag.AddValue("State", "GOOD")
call oShell.RegWrite (StateRegPath & "\ServicesList", "", "REG_SZ")
Else
if RepeatDown = TRUE then
Call oBag.AddValue("State", "BAD")
Call oBag.AddValue("Description", "Automatic service(s) not running: " & sList)
end if
call oShell.RegWrite (StateRegPath & "\ServicesList", sList, "REG_SZ")
End if
Else
Call oBag.AddValue("State", "GOOD")
End If
Call oAPI.Return(oBag)]]></ScriptBody>
<TimeoutSeconds>60</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">BAD</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">GOOD</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>
</Monitors>
HTH,
Cheers,
Patrick
Please remember to click “Mark as Answer” on the post that helped you.
Patrick Seidl (System Center and Private Cloud)
Website: http://www.syliance.com
Blog: http://www.systemcenterrocks.com -
Disconnect mailbox not appear in Exchange admin center 2013
Hi,
I have installed exhange 2013. In the Exchange admin center, I have deleted user1 and disabled user2.
When I have looked under the connect a mailbox, there is no mailbox.
I am trying to assign disable mailbox to another user
Please advise
ThanksHello,
You may have to manually run the maintenance on the database before the next scheduled automatic activity for the same. The following cmdlet can help you: Remember to substitute your database name
Get-MailboxStatistics -Database "Database Name" | Where { $_.DisconnectReason -ne $null } | ForEach {Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false}
Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected] -
1.
after installed and configured Admin Center, i can access WorkSpace by given URL. but WorkSpace is not listed on the desktop of Admin Center. can i have it listed their so that i can quick click it?
2.
i configured Admin Center almost by default. except for Database Connection, and some passwords, i used default settings.
but when login Business Process Administrator, the status of engine said "the engine has stopped". no matter how i tried to start it, it has no response.
what's the reason and how to solve it?
thanks.1. In Admin Center, you can click on the bottom Configuration link and then move to the second Tab where you can select the different web applications that will be started by the Embedded Tomcat container that comes with all the Oracle BPM Enterprise distributions (Standalone, for WebLogic, for WebSphere). If the WorkSpace checkbox is selected, then you will need to see the link enabled when you start the BPM Application Server in the main Admin Center panel. The only case in which these links may not be enabled or even shown is when you are using Oracle BPM Enterprise for WebLogic or WebSphere. If you have installed Oracle BPM Enterprise Standalone, then the links will show enabled. The reason for not enabling these links in the WebLogic or WebSphere distributions is because the WAR Web Application files should be deployed to the Application Server itself and we do not have ahead notice of what host and port and even web application name will be used.
2. I take that when you created the environment you followed the wizard and you also created by the default and engine. If this was the case, when you log into the Process Administrator with the administrator userid, you can click on the Engines link on the left hand side navigator. Then all the defined engines will show in the main right hand side canvas. In there, you can click on the start button for an engine. If the engine fails to start, then you can always inspect the engine logs. This can be done if you installed Oracle BPM Enterprise Standalone:
a) Click on the engine link. This will take you to the main engine configuration page. Then click on the LogViewer link on the bottom part.
b) Check the Engine generated files in the file system.
If on the other hand you have installed Oracle BPM Enterprise for WebLogic or WebSphere, then you will need to make sure that the deployer application was properly installed. Usually in this type of configuration with WLS, the Process Administrator will contact an agent deployed to the WLS where the Engine EAR was deployed and it will be this deployer engine that will trigger the start of the Engine EAR application. It is this same deployer agent that will take care of showing the status of the Engine app in the PRocess Administrator application. If this does not work, you can always log into the WLS or WAS Administration consoles and start the Engine EAR applications from there.
HTH,
eduardoc. -
How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
Someone else posted ths question a month ago, but still no answers. Anyone?
How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
Windows XP, SP3 operating system recently re-installed so I also reinstalled my printer software. Now, for some reason, each time I turn my computer on, my HP Photosmart C4100 all-in-one photosmart premier software opens. It is not in my startup. This slows down my computer terribly, which is why I never used the program before my re-install. How can I disable this feature? I only print, I don't use it for photos.
Any help here is appreciated.Run msconfig.exe from the start button (type in msconfig). When it comes up go to the Startup tab and find and deselect the HP product you do not want to start. Save and reboot computer. Now try.
Say thanks by clicking the Kudos Thumbs Up to the right in the post.
If my post resolved your problem, please mark it as an Accepted Solution ...
I worked for HP but now I'm retired! -
Here is a problem that has me confused. On a fresh Windows Server 2012 R2, I installed Exchange 2013 SP1. It was successful and for the first day everything was working well. I then installed all security updates. The next day, I could no longer log in to
the Outlook Web App or Exchange Admin Center. I get the generic "something went wrong" message, and the only details are X-FEServer: LAKEVIEW-SERVER (our server name). Nothing else. In the event viewer, I have the logs below every time I try to log
in. This is repeatable. Every time I attempt to log in the same 3 things appear in the Application Log.
Event 1003, MSExchange Front End HTTP Proxy [Oab] An internal server error occurred. The unhandled exception was: System.Configuration.ConfigurationErrorsException: Microsoft.Exchange.HttpProxy.ProxyModule,Microsoft.Exchange.FrontEndHttpProxy
does not implement IHttpHandlerFactory or IHttpHandler. at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) at System.Web.Configuration.HandlerFactoryCache..ctor(String type) at System.Web.HttpApplication.GetFactory(String
type) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Event 4999, MSExchange Common Watson report about to be sent for process id: 2460 (IIS Worker Process, w3wp.exe), with parameters: E12IIS, c-RTL-AMD64, 15.00.0847.032, w3wp#MSExchangeOABAppPool, System.Web, S.W.C.HandlerFactoryCache.GetHandlerType,
S.Configuration.ConfigurationErrorsException, e0bc, 04.00.30319.34009. ErrorReportingEnabled: True
Event 1310, ASP.NET 4.0.30319.0 Event code: 3008 Event message: A configuration error has occurred. Event time: 5/8/2014 9:46:45 AM Event time (UTC): 5/8/2014 4:46:45 PM Event ID: 2c98a65728a7475db0212291e3934ab7
Event sequence: 19 Event occurrence: 9 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/OAB-1-130440407246522811 Trust level: Full Application Virtual Path: /OAB
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\OAB\ Machine name: LAKEVIEW-SERVER Process information: Process ID: 2460 (IIS Worker Process, w3wp.exe)
Process name: w3wp.exe Account name: NT AUTHORITY\SYSTEM Exception information: Exception type: ConfigurationErrorsException Exception message: Microsoft.Exchange.HttpProxy.ProxyModule,Microsoft.Exchange.FrontEndHttpProxy
does not implement IHttpHandlerFactory or IHttpHandler. at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) at System.Web.Configuration.HandlerFactoryCache..ctor(String type) at System.Web.HttpApplication.GetFactory(String
type) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information: Request URL: https://localhost:443/OAB/ Request path: /OAB/ User host address: ::1 User: Is authenticated: False Authentication
Type: Thread account name: NT AUTHORITY\SYSTEM Thread information: Thread ID: 18 Thread account name: NT AUTHORITY\SYSTEM Is impersonating: False Stack
trace: at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) at System.Web.Configuration.HandlerFactoryCache..ctor(String type) at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
My first guess is to reset the Outlook Address Book by using the Remove-OabVirtualDirectory Exchange commandlet. But I am not so sure this will work because Exchange worked for a day. Any help understanding what caused the problem (and thus help avoid it
happening again) and how to fix it are appreciated. Thanks.hi,
If nothing works try resetting the Virtual Directories.
For owa
Open Exchange Management Shell (EMS), and then run the following cmdlet to change the authentication method of the "owa" virtual directory to Windows authentication:
set-Owavirtualdirectory -identity "MBX\owa (Exchange Back End)" -WindowsAuthentication $True -Basicauthentication $false
-Formsauthentication $false
Run the following command on both the Client Access and Mailbox servers to restart Internet Information Services (IIS):
iisreset /noforce
For ECP
Start Windows PowerShell.
Type the following commands, and then press Enter after each line:
Add-PSSnapin *exchange*
Set-EcpVirtualDirectory -Identity "MBX\ecp (Exchange Back End)" -WindowsAuthentication $true -FormsAuthentication $false
Run the following command on both the Client Access and Mailbox servers to restart Internet Information Services (IIS):
iisreset /noforce
For Ref: http://technet.microsoft.com/en-us/library/bb123752(v=exchg.150).aspx
I did those commands. But remember, the original error I gave was related to the OAB virtual directory, not ECP or OWA. I also did the Remove-EcpVirtualDirectory, Remove-OabVirtualDirectory, and Remove-OwaVirtualDirectory commandlets and the corresponding
EcpVirtualDirectoryOabOwaVirtualDirecoty ones. I still cannot log in to the Exchange Admin Center. And I still have the same original generic unhelpful error message.
However, there are some changes. After I removed and re-added the virtual directories I no longer received the original error logs given above. I now get this log in the event viewer:
Event 2001, MSExchange Front End HTTP Proxy
[Owa] Failed to load SSL certificate.
The first logs I gave above always appeared after attempting to log in. This log that I gave appears infrequently and is not connected to any log in events. This log occurs only
after a similar log given below:
Event 1001, MSExchange Front End HTTP Proxy
[Owa] Application Starting. -
Can't delete a Site Collection from SharePoint admin center completely
Hi All
I'm using Office365. And I wanted to delete a Site Collection from SharePoint admin center.
But at first, I couldn't delete it from there. So I opened the Site and delete it from the Site setting successfully.
Then I went back to SharePoint admin center to check it was deleted or not completely.
But the Site Collection was still on the Site Collections list.....
Things I did are
1. IE -> Tools->Internet Options-> In General Tab click on Delete in browsing history section and check all options and again click on delete.
2. Close and re-open the browser and sign back in
I wanna make free server resource to create new Site Collection.
Does anyone know how to delete a Site Collection completely?Hi,
Can you try delete the site collection using SharePoint online power shell command? Refer the following link for that.
Delete site collection
Also, while deleting site collection from Admin Center, do you get any warning?Or what are steps you follow to delete the Site Collection from Admin Center?
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered
Maybe you are looking for
-
How can I set the default line height?
Greetings, I have a report that displays observed behavior in a list format like the one below: Behavior Observed: Withdrawn Happy Sad angry There are 5 responses as to the severity of the behavior or it is left blank if
-
Expanded data in Advanced Search for UI
Hi Gurus, what I wonder to know if where I can remove/change fields which compare if I click on the triangle on the left side of a promotion ID in the Advanced Search Result view. At the present moment if I click on it I can see three sets of data: o
-
Portal Logon image not changing
Hi Experts, I am performing the branding of the portal login screen and have changed the branding-image.jpg and branding-text.gif files to the custom files i nthe Visual Admin - UME provider properties. I restarted the instance but still the logon sc
-
What Acrobat program allows me toTranslate PDF forms from Swedish to English
Need to translate personal, legal documents from Swedish to English. They are only presented to me in PDF format. Willing to purchase Acrobat software, BUT, need to know what software from Acrobat will allow me to copy and paste text from a PDF form
-
Bonus Depreciation for subsequent acquisitions in 2010
Hi all, We have done bonus depreciation for 2010 and 2011 aand its working fine but for one scenario. Assets acquired in 2009, had bonus depreciation calculated for 2009. But when there is subsequent acquisition in 2010, its not calculating bonus dep