Setting up OIM to start as a Windows Service running under Weblogic 10.3.2
Hi,
On recommendation from our Oracle Rep. we have begun migrating our existing OIM installation on Oracle AS to a Weblogic Application Server. As such we are looking for a way to get the OIM application to run as a service in windows - so we dont have to start it manually after a reboot and so that system monitoring can alert us if/when the application crashes for some reason.
I have asked Oracle support - which basically said that no such howto/documentation exists and that "One needs to debug on their own when face any issue." (whatever the h*** that means).
I was thinking that we werent the first customers trying to get the OIM webapplication to start automatically under weblogic and that someone must have figured out a way to accomplish this ?
Any advice on how to do this will be greatly appreciated.
Thank you in advance.
/Jacob
Hi Jacob,
See this post that I answered few time ago. Re: Keeping Remote Manager running - Windows
Our OIM is running as a Windows Service.
REnato
Similar Messages
-
Problem with SJAS EE 9.1 start and stop (Windows Service Mode)
Hi
Thank you for reading my post
Sun Java application server enterprise edition 9.1 (SJAS EE 9.1+HADB) asks for admin password each time windows try to start it as windows service.
Also HADB asks for password on start.
Is there any way to make it automatic without requiring password?
ThanksYou need to add a password.txt file to your app server path. See the section Security for Automatic Restarts in the administration guide for details.
You may also need to recreate the service to use the passwordfile option. If it is prompting you for a master password also you may need to have your domain and node agents created with the savemasterpassword option. I believe you will have to recreate the node agents, but you can use the asadmin command change-master-password for the domain and specify the --savemasterpassword option.
I have not used the service for the HADB yet, but I believe the procedure is probably similar. -
Start and stop windows service for multiple remote computers
Hello,
Can someone show me how to Start and Stop windows service for multiple remote computers using Command Prompt or PowerShell or even Java?
Thank youYou asked a pure Windows related question at a pure Java related forum. We have advised you to look for a Windows related forum to post the question. Nothing special. It's like asking a car mechanican to help you with your migraine, he would advise you to look for a general practitioner.
But why are you so surprised and negative about this answer after all? Don't we have to help you? Don't you appreciate help? So be it then, but please stay away then if you keep this attitude. -
Welogic failed to start as a Windows services
I have installed Weblogic 816 and I am able to start it from command line. I also install it as a Windows 2003 Service but failed to start. The error is "Could not start the beasvc myserver service on local computer Error 1067: The process terminated unexpectedly"
What am I missing and how to debug it?
ThanksSee if you are following these steps given below URL while creating weblogic server instance as windows service.
http://ananthkannan.blogspot.com/2009/10/how-to-create-weblogic-server-as.html -
New install cant 'see' infoview etc when Tomcat starts as a windows service
Post Author: sdimb
CA Forum: Deployment
Help, we are a new site trying to install BOXI R2 SP2 on a windows server. We have installed as per all instructions including Tomcat but when we try to 'use' Infoview we get a blank page. If we stop Tomcat and restart it via the command prompt we can use Infoview but we need to have this working as a windows service. We have tried re-installing several times and always get the same result. does anyone have any ideas as to what we have done wrong please.Post Author: mewdied
CA Forum: Deployment
Running tomcat as a service may be running under a different user context than when running it via the command prompt. This may be causing your issue. -
Starting NodeManager in Windows Services
The installmgrsvc.cmd do not start, may be an error,
i need self starting NodeManager and then ManagedServers, AdminServer Also,
Kindly,
im using windows 7 ultimat 32-bit
wls 10.3.5 11g.Hi Kashif
After running the cmd for creating this service you can set it to run at start up using msconfig..please check before that you wil have to create a service for this.
@ BEA_Home\wlserver_10.3\server\bin
you will have to run
"installSvc" and "installNodeMgrSvc" for starting the node manager.
Keep on posting ... :) -
Script to Stop/Start Oracle Apps windows services
Hello,
I am trying to script 2 batch files, one to stop services and one to
start services.
So far I have the folloing for the stop script:
Stop services:
set ORACLE_HOME=e:\oracle\<sid>ora\8.0.6
set ORACLE_SID=<SID>
NET STOP "Oracle Reports Server [Rep60_HPP1]"
NET STOP OracleApacheServerHPP1_spud
NET STOP OracleFulfillmentServerHPP1_spud
NET STOP OracleMetricsClientHPP1_spud
NET STOP OracleMetricsServerHPP1_spud
NET STOP OracleConcMgrHPP1_spud
NET STOP OracleHPP1Ora806_1TNSListener80APPS_HPP1
However sometimes the concurrent manager fails to stop correctly and I
have to issue a 2nd command to forcefully shut it down. Does anyone
know how I can write this into my script? before it moves onto the
Apps Listener?
Any advise would be appreciated.
Thank you
SarahThe error we sometimes get is that the concurrent manager was unable to stop we have to then use the following command to shut them down:
CONCSUB.EXE APPS/appspassword@PROD SYSADMIN "System Administrator" SYSADMIN WAIT=Y CONCURRENT FND ABORT
I was trying to use net stop in the script and if this didn't work, the script would issue the command above.
Thank you -
Start Apache as windows service
Hi
I want to start the below command as service in windoes 2003 server.
apache -D SSL
If I start this process in command line and log out of remote desktop, the process stop after few min.
I want this process to run all time.
Thanks in advance.
SreeHello
You wrote:
I added the following to jserv.properties:
wrapper.bin.parameters=-Xdebug
wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,address=2930,suspend=n,server=y
and it ran the servlet okay.Fine so far. This means your debugee VM is started and running. The "suspend=n" means it
will start running without waiting for a debugger to attach... so you can attach later whenever you
decide to debug. Note that 'later' could be weeks later, or possibly never.
Now: Time to attach jdb to the victim/debugee process you started above.
You wrote:
But I get the following when I try to start jdb:
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 org.apache.jserv.JServServletManager
gives:
Cannot specify command line with connector:
com.sun.jdi.SocketAttach:hostname=localhost,port=2930,
and
jdb -attach localhost:2930 org.apache.jserv.JServServletManager
gives:
Cannot specify command line with connector: com.sun.jdi.SharedMemoryAttach:name=localhost:2930,The problem here is that you are trying to supply too much information to jdb.
When you are using the attach connectors, all you need to supply is the
host name and socket (for the socket connectors), or the name of the shared memory
area (for the shared memory connector). The connectors you tried above are throwing
an error because you are trying to supply something extra (the class name).
When doing an attach, the debugee VM is already launched. The debugger will
attach to it and inspect the classes loaded.
If you are still running with the wrapper.bin.parameters you listed above,
then all you need to connect with jdb is:
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=2930 You should get a jdb prompt, and you will be able to inspect the debugee
VM by entering commands such as threads and classes. Typically
the next thing would be to set some breakpoints (stop in package.class.method,
or stop at package.class:line. Then restart the debugee with a resume. -
How to set waveform chart to start data since beginning of run
Solved!
Go to Solution.
Attachments:
TCs.vi 106 KBYou need to check the update mode of your chart.
Strip Chart—Shows running data continuously scrolling from left to right across the chart with old data on the left and new data on the right. A strip chart is similar to a paper tape strip chart recorder. Strip Chart is the default update mode.
Scope Chart—Shows one item of data, such as a pulse or wave, scrolling partway across the chart from left to right. For each new value, the chart plots the value to the right of the last value. When the plot reaches the right border of the plotting area, LabVIEW erases the plot and begins plotting again from the left border. The retracing display of a scope chart is similar to an oscilloscope.
Sweep Chart—Works similarly to a scope chart except it shows the old data on the right and the new data on the left separated by a vertical line. LabVIEW does not erase the plot in a sweep chart when the plot reaches the right border of the plotting area. A sweep chart is similar to an EKG display.
From the help menu:
The waveform chart maintains a history of data, or buffer, from previous updates. Right-click the chart and select Chart History Length from the shortcut menu to configure the buffer. The default chart history length for a waveform chart is 1,024 data points. The frequency at which you send data to the chart determines how often the chart redraws.
Attachments:
resp2.jpg 36 KB -
Start WebLogic Server as windows service !
hello,
How can setup WebLogic 8.1 to start as a windows service in win2000?Please see this link:
http://e-docs.bea.com/wls/docs81/adminguide/winservice.html#1190977
Thanks,
Vishwas -
Start / Stop Window services
Hi,
I would like to start and stop window services on remote computer.
Do you know if there is a package API in java to do it?
How can I do it?
Thanks,
AnatLook for www.jscape.com
you can ftp or telnet to the computer, then start the command for that service
this is the code for ftp
* FtpExample.java
* Created on 01 March 2007, 10:30
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package testing;
* @author Administrator
import com.jscape.inet.ftp.*;
import java.io.*;
import java.util.Enumeration;
public class FtpExample extends FtpAdapter {
private String hostname;
private String username;
private String password;
public FtpExample(String hostname, String username, String password) {
this.hostname = hostname;
this.username = username;
this.password = password;
// print out directory listing
public void getListing() throws FtpException {
Ftp ftp = new Ftp(hostname,username,password);
//capture Ftp related events
ftp.addFtpListener(this);
ftp.connect();
ftp.setDir("www");
String results = ftp.getDirListingAsString();
System.out.println(results);
ftp.disconnect();
// captures connect event
public void connected(FtpConnectedEvent evt) {
System.out.println("Connected to server: " + evt.getHostname());
// captures disconnect event
public void disconnected(FtpDisconnectedEvent evt) {
System.out.println("Disconnected from server: " + evt.getHostname());
public static void main(String[] args) {
String hostname;
String username;
String password;
try {
FtpExample example = new FtpExample("ftplocation e.g 192.168.0.1","username","password");
example.getListing();
}catch(Exception e) {
e.printStackTrace();
} -
Windows service doesn't start at boot
When our Xserve starts up, the Windows service does not start.
I've got SMBSERVER=-YES- in /etc/hostconfig.
Once the xserve is running, clicking on the Start Service button for Windows in Server Admin starts the service with no problems. Once it's running, it's fine. The server has no other problems that I'm aware of.
Any suggestions would be greatly appreciated.
Xserve Mac OS X (10.4.6)I have exactly the same problem. Did you ever find a solution?
-
Unable to start Latitude Studio as a Windows Service
I installed endeca-portal-2.2.2 on 64 bit windows server.
It is working fine if I manually start the portal's Tomcat instance.
But I am unable to start as a Windows Service.
I followed the directions in "Running Latitude Studio as a Windows Service" in the Installation Guide.
But I am getting the following error.
[2012-09-20 06:18:27] [info] Commons Daemon procrun (1.0.2.0) started
[2012-09-20 06:18:27] [info] Running Service...
[2012-09-20 06:18:27] [info] Starting service...
[2012-09-20 06:18:27] [206 javajni.c] [error] %1 is not a valid Win32 application.
[2012-09-20 06:18:27] [985 prunsrv.c] [error] Failed creating java D:\Endeca\Latitude\2.2.2\Studio\endeca-portal\tomcat-6.0.29\jre1.6.0_21\win\bin\server\jvm.dll
[2012-09-20 06:18:27] [1280 prunsrv.c] [error] ServiceStart returned 1
[2012-09-20 06:18:27] [info] Run service finished.
Any help will be greatly appreciated.What version of the Apache tomcat zip did you extract the service.bat, tomcat6.exe and tomcat6w.exe? It looks like you are using the default java install, and the services is trying to start using the 64bit tomcat.exe.
Pete -
Permissions for Windows Service on Server
Post Author: bdimon
CA Forum: Authentication
I wrote a Windows service running as an Active Directory user. It cannot print on the Windows Server so I wrote a windows application to test the permissions. When a user with local admin rights runs the test application, it prints. He starts the program using the "Run As" option and enters the Active Directory user from the service, he gets the same error as the Windows Service gets. This must be permissions-based.
When I installed this Windows Service on a staging server, everything was fine. However the staging server was not "secured" by the network team so the Active Directory user had Read/Execute permissions on the C: drive. I do not want to ask for these permissions on the production server's C: drive.
The error is:
System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800002AD): Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at WindowsApplication1.frmTestServerPrint.PrintCrystalReport(String& ErrorText, String ReportFileName, String PrinterLocation, Int32 PayTransStatusCode)Post Author: jgreg311
CA Forum: Authentication
I believe I'm having a similar problem, and was hoping to see if either you have found an answer to the problem or reactivate this thread in hopes someone will finally answer us.I'm creating reports using a windows service as well. The report files are compiled into the DLL, and they are being exported to save them to disk. The error is being generated when the report object is first accessed (which happens to be when attempting to set the Text property on a TextObject). It works fine on my development machine. I've installed the service on the production server using a Visual Studio 2005 Setup and Deployment project. I added the 2005 Crystal merge module to the setup, so all necessary files should exist on the server. The service is running as a domain user that has admin rights on the local machine, but we're still getting this error that seems, according to posts I've found online, to be a permissions issue.Here is the exception in its entirety:
Exception Type:
System.Exception
Exception Message:
Load report failed.
Exception Stack Trace:
at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String
filename, OpenReportMethod openMethod, Int16 parentJob) at
CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob) at
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition()
at ...
Inner Exception:
System.Runtime.InteropServices.COMException (0x800002AD): Error in File
UNKNOWN.RPT: The request could not be submitted for background
processing. at
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
DocumentPath, Int32 Options) at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
DocumentPath, Int32 Options) at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() Any help with this would be GREATLY appreciated. Once again Crystal Reports are the only thing holding up an important project. -
Calling SSIS package from C# Windows Service Fails
Hi All.
I've got an SSIS package that reads from an Excel file and populates a database. The Excel file location gets passed in to the package as a variable. Also the Protection Level of the package is set to EncryptSensitiveWithPassword.
This all works fine when I run the package from Visual Studio or using DTEXEC. When I try to run it from a C# Windows Service though I get the following exception:
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "The Microsoft Office Access database engine cannot open or write to the file ''. It is already opened exclusively
by another user, or you need permission to view and write its data.".
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Input Excel Connection" failed with error code 0xC0202009. There may be error messages posted before this
with more information on why the AcquireConnection method call failed.
Dedupe Worksheet failed validation and returned error code 0xC020801C.
One or more component failed validation.
There were errors during task validation.
The windows service runs with LocalSystem account and the following code is used to call the SSIS Package:
Application app = new Application();
Package package = null;
app.PackagePassword = "*******";
//Load the SSIS Package which will be executed
package = app.LoadPackage(@"C:\Projects\DataDedupeMatch\DataDedupeMatch\DataDedupe.dtsx", null);
//Pass the varibles into SSIS Package
package.Variables["User::FilePath"].Value = e.FullPath.Replace(@"\\", @"\");
Microsoft.SqlServer.Dts.Runtime.DTSExecResult results = package.Execute();
I would really appreciate if someone could help me out with this.
Thanks in advance,
DeonInstead of hosting the SSIS runtime in your service, you should use a separate host process for your SSIS package. You're using the Office drivers, which aren't designed or supported for running in long-lived unattended processes like a Windows Service.
You can use your own SSIS hosting code, or just use dtexec.exe to host your package. In either case you would start the child process with
Process.Start.
David
David http://blogs.msdn.com/b/dbrowne/
Maybe you are looking for
-
How to find out serial number of lost iphone 4s from associated apple id
I have lost my iphone during a scuffle i had my backup on my computer but i dont have the serial no. And imei no. Which helps police to trace the phone how do i get my serial no. And imei no. From the apple id. Do not ave the box and dont have the bi
-
Problem when I click the "browse to file" icon in the property inspector
Please somebody help me. I am having a problem with Dreamweaver. When ever I click on the "browse to file" icon in the property inspector, it opens up a full size window on top of the Dreamweaver screen that can't be resize. This problem just started
-
URGENT HELP How Can I clone the database only?
Hi all I have two database, oracle9.2.0.6 running on RHEL4 one is testing server and the other for the production server how can i clone the testing DATABSE on the productioin DATABASE? please help me urgent Thank You Regards
-
The SOAP Message functionality show in error at the time of SOAP Response Message. can u plz guide me ... SOAP Response Message <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <SOAP
-
Is there a way to rotate clips in iMovie that I imported from my video recorder? I am having difficulty doing so. If there is not a way, can it be done in other programs such as final cut express hd?