WebLogic Node Manager as a Windows Service

Hi all

I tried all my resources / google / etc to solve this problem.

We have servers windows that we managers node and instances managed to run. As you can see, we start Node Manager under Windows Services.

We have a network mapped to W: to \\wlsadminmachine\$WLS_SHARE share drive where we have entire folders of domain and Node Manager. I used BEA condition Node Manager install scripts and Service Windows are created. I specified a UNC path during the installation of the service. No problem.

I opened regedit and look at the params.
CmdLine =- client-Xms32m-Xmx200m - classpath ".;" E:\APPS\bea_x64\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar; E:\APPS\bea_x64\jrockit-R27.5.0-JDK1.5.0_14\lib\tools.jar; E:\APPS\bea_x64\WEBLOG~1\server\lib\weblogic_sp.jar; E:\APPS\bea_x64\WEBLOG~1\server\lib\weblogic.jar; E:\APPS\bea_x64\WEBLOG~1\server\lib\webservices.jar; »-Djava.Security.policy="E:\APPS\bea_x64\WEBLOG~1\server\lib\weblogic.policy «-Dweblogic.nodemanager.javaHome="E:\APPS\bea_x64\jrockit-R27.5.0-jdk1.5.0_14"- DListenAddress ="wlsadminmachine1"- DListenPort ="1011"weblogic. NodeManager

JavaHome=E:\APPS\bea_x64\jrockit-R27.5.0-jdk1.5.0_14

ExecDir = \\wlsadminmachine\$ WLS_SHARE\domain_dir\nodemanager

Path = E:\APPS\bea_x64\WEBLOG~1\server\native\win\x64; E:\APPS\bea_x64\WEBLOG~1\server\bin; E:\APPS\bea_x64\jrockit-R27.5.0-JDK1.5.0_14\jre\bin; E:\APPS\bea_x64\jrockit-R27.5.0-JDK1.5.0_14\bin

Log=\\wlsadminmachine\$WLS_SHARE\domain_dir\servers\NM_ADMIN_PROD_UPGR\NM_ADMIN_PROD_UPGR_service.log


Security: I ensure that the Service is running as the user who shared the :) mapped drive

When I try to run the service, I get an Error Message:
===================== Error Logs ==========================================
[Fri Apr 23 14:51:41 2010] [ServiceStart] Thread created successfully
[Fri Apr 23 14:51:41 2010] [Fri Apr 23 14:51:41 2010] [I] [ServiceStart] statement SCM of SERVICE_START_PENDING with delay = 0
[E] [StartJVM] a fine of a JVM Impossible
[Fri Apr 23 14:51:41 2010] [I] [ServiceStart] statement SERVICE_RUNNING SCM
[Fri Apr 23 14:51:41 2010] [I] [ServiceStart] waiting for several events
[Fri Apr 23 14:51:41 2010] [I] [ServiceStart] is waiting for several events. Wait = 1
[Fri Apr 23 14:51:41 2010] [E] [ServiceStart] error in the JVM. Cause = could not find a JVM.
[Fri Apr 23 14:51:41 2010] [I] [ServiceStart] inform SCM SERVICE_STOP
===================== Error Logs ==========================================

I have being debugged the issue using the following URL: http://connectionserver.blogspot.com/2009/06/weblogic-as-windows-service.html

I am able to run the command line node Manager except that my exec directory is W:\domain_dir\nodemanager.

I've eliminated all wait because of the execution of java in the command prompt with exec as a uncpath [\\wlsadminmachine\$WLS_SHARE\domain_dir\nodemanager] directory.

Details of the environment:
Windows Enterprise Server 2008 SP 2
Processor Intel Xeon CPU - 2
16 GB OF RAM
Operating system - 64 bit

Strange behavior:
When I try to install a Manager service node on the admin machine which is "wlsadminmachine" where the shared drive is available for the other Manager node servers, all works fine. This kind of proves that if the shared drive is local and not the network drive, it works. I'm really going crazy. Please help me.

Thank you and best regards,
Pazhanikanthan. P

Hi Paz,

Its great you did it works. In the interest of all those who may be blocked with how to map network drives when weblogic or node Manager must be run as a windows service, please go through the below.

*******************************************************************************************

http://download-llnw.Oracle.com/docs/CD/E13222_01/WLS/docs81/notes/resolved_sp05.html

CR202167
When beasvc on Win2003 starts a server on a network share, an error occurs is no longer.

Now the network drive mapping happens within the service itself. The following new settings have been added to the beasvc:

localName
RemoteName
RemoteUser
RemotePassword
Usage example:
-localname: "X:»-remotename:"\\172.17.24.130\src810sp4"- remoteuser:"xyz"- remotepassword:"xyz ".
You map \\172.17.24.130\src810sp4 to your local computer as X: and the remoteuser and remotepassword are used to connect to the remote computer.

*******************************************************************************************

Note: Services Windows runs as a different user session and is not the same as the session of the interactive user used to log on to the computer. Beasvc has therefore to map the drive under this different session and to get all the details in its configuration.

Kind regards
Carina

Tags: Fusion Middleware

Similar Questions

  • Problem: WebLogic Node Manager under Windows Services

    Hi all

    Details of the environment :
    -Windows Server 2008 R2 - x 64
    -Oracle WebLogic Server 11 g R1 (10.3.6.0) - generic
    -Reports and forms oracle 11g R2 (11.1.2.0) - x 64
    -Oracle JRockit JDK R28.3.0 - x 64

    I have windows servers that we want managers node and managed to run instances. As you can see I would like to run Node Manager under Windows Services.

    I use this guide:

    < a link = http://wlsjavatips.blogspot.com/2009/09/how-to-install-node-manager-as-windows.html >http://wlsjavatips.blogspot.com/2009/09/how-to-install-node-manager-as-windows.html< /a >

    Create boot.properties that include the user name and password:

    - AdminServer (location: < WL_HOME > \user_projects\domains\ < DomainName > \servers\AdminServer\data\nodemanager)
    - WLS_FORMS (location: < WL_HOME > \user_projects\domains\ < DomainName > \servers\WLS_FORMS\data\nodemanager)
    - WLS_REPORTS (location: < WL_HOME > \user_projects\domains\ < DomainName > \servers\WLS_REPORTS\data\nodemanager)

    Results :
    1 are you able to automatically start all servers (AdminServer, WLS_FORMS and WLS_REPORTS) after the server restarted.
    2. I can't access to http:// < hostname >: 7001/console, < hostname > http://: 7001/em, http:// < hostname >: 9001/forms/frmservletand http:// < hostname >: 9002/reports/rwservlet

    Questions :
    1. on WebLogic Console http:// < hostname >: 7001/console, the status of AdminServer, WLS_FORMS and WLS_REPORTS are running, but the State of health is OK just to AdminServer, and others have no status.
    2. as I said before, I can run my form on http:// < hostname >: 9001/forms/frmservlet and run my report on http:// < hostname >: 9002/reports/rwservlet. But when I found
    on Order FM OEM http:// < hostname >: 7001/em, the State of WLS_FORMS and WLS_REPORTS are down. I can't monitor sessions connected to the server and I can not change the configurations via EM.

    Any help is greatly appreciated and sorry for my bad English.

    Thank you and best regards,

    -Rob-

    Hello

    After a reboot the server I had the same problem, also windows environment. AdminServer but OK/console WLS_FORMS and WLS_REPORTS nothing.

    Process Explorer indicated there are 3 java process for each server that had begun the nodemanager (beasvc)
    Also everything worked very well for end users, but not for the side default where forms and reports where "down".

    I added settings offers and reinstalled the service nodemanger. But always without success.

    Finally I solved it by stopping the servers (WLS_FORMS and WLS_REPORTS) in the / console and by them from the option default (fusion middleware control)

    Everything is 'healthy' and 'OK' again!

    I think that nodemanager and the opmn obtained in a "things are complicated" after the break-up... I mean :) server restart

    Greetz,

    B.

  • Unable to start process manager Oracle OBIEE windows services

    Hello

    I have OBIEE 11 g installed on a 32-bit windows machine. The two windows services installed, I am unable to start the Oracle process manager. When I try to launch it I get the following error:
    Error 1053: The service did not demand launch or timely control.

    In the end, this service call the file opmn.exe which is located at MIDDLEWAREHOME\Oracle_BI1\opmn\bin. Trying to run this file is the error we get:
    The procedure entry point longjmp could not be located in the dynamic link library orauts.dll

    I tried to replace the orauts.dll file, but in vain.

    Please let me know if you have any idea about what needs to be done.

    Thank you
    Naman

    Hi Naman,

    Please delete. It is the cause of this problem. Make sure that you have only one way at Oracle.

    Rgds,
    DpKa

  • Starting AdminServer (WebLogic) EM (Enterprise Manager) in Windows services

    Hello

    I installed

    WebLogic Server 1036 and forms/States 11 GR 2

    Installed WebLogic (AdminServer) to start with Windows Services!

    It starts with Windows and open localhost: 7001/console ' successfully

    echo off
    SETLOCAL
     set DOMAIN_NAME=FormsDomain
     set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\FormsDomain
     set SERVER_NAME=AdminServer
     set PRODUCTION_MODE=true
     set WLS_USER=weblogic
     set WLS_PW=weblogic1
     call C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd
    ENDLOCAL
    

    Everything is going well so far!

    However, I can't EM (Enterprise Manager) "localhost: 7001/em '.

    When I start the Server Admin Menu > Windows-Start Menu-Programs-Oracle Instance classic - FormsInst > start Weblogic Server Admin

    I can get ' localhost: 7001/em ' usually

    Can someone give me an idea?

    Hello

    Problem is with the classpath settings. Try calling setDomainEnv.cmd before installsvc.cmd.

    Another way is to start adminserver via command line (using startWeblogic.cmd), and then copy all classpath entries in atext file >.

    Then during the installation of the service try to use the file using classpath-@> attribute.

    You can find more information on in the link for the use of file classpath.txt below.

    Setting up an Instance of WebLogic Server as a Windows Service

    Concerning

    Rosario

  • taking a jra recording on a windows service - 'not enough memory is available.


    How can I start a JRA recording on a WebLogic domain run as a windows service?

    If I run jrcmd, it doesn't relate the process id. If I look to the top of the process id and run jrcmd on the process id, I get a message:
    "Not enough memory is available to process this command."

    The service runs on an administrator account. I am connected with the same credentials. I use jrcmd because the option to make a recording of latency does not appear to me in the form of mission control. I'm using jrmc - 3.0.3 - 1.4.2.

    Thank you

    You can start only records of Mission control latency, if you are using JDK 1.5 +, then you can use jrcmd. I don't know why jrcmd does not work for you, but as a workaround that you can try to start a recording by connecting to the JVM on the network. That's what you have to do:

    (1) JRockit start with -Xmanagement: port = 7090

    (2) Mission control create a connection in the browser of the JVM, start the Management Console and go to the page of the MBean browser

    (3) select the com.jrockit.RMPBean. Select operations and call the operation with the name runCtrlBreakHandler (String handlerName). Enter something similar to this:

    latency filename=c:\myrecordings\recording.jra startjrarecording = true latencythreshold = recordingtime = 30s 20ms

    Cllck OK and wait for the recording to finish. Open the record using the file-> Open

    / Erik

  • Problem: Deployment of the server WL10.3 started as a Windows Service Instance

    Hello world

    I sent my J2EE Application to a stand-alone Server Instance WebLogic (in mode of development) has started from the level of command of Windows via startWebLogic.cmd. I also tested the deployment of a managed Server Environment(1 AdminServer+2 MS Servers in the cluster; development mode) cluster, all servers started from the command line. The application could be tested and everything worked fine.

    But:
    When I set up the WebLogic Server instances as a Windows service (as described http://e-docs.bea.com/wls/docs103/server_start/winservice.html) my application cannot be deployed at boot time.
    3 ClassNotFoundExceptions, I get:
    -at the start of the class "DMS-Startup" (oracle.dms.wls.DMSStartup)
    -at the start of the class "ODL-Startup" (oracle.core.ojdl.weblogic.ODLConfiguration)
    -at the start of the class 'Class of startup JPS' (oracle.security.jps.wls.JpsWlsStartupClass)

    The Service is started but under Administration Console/deployments the Enterprise Application is marked as 'New' as opposed to 'active '. Other deployments: adf.oracle.domain (1.0, 11.1.1.0.0), (1.2, 1.2.7.1) jsf and jstl (1.2, 1.2.0.1) appear as 'Active'.
    I tried to redeploy the Application directly from the JDeveloper for the autonomous WLS Runspace (one server) - as I did before.
    The deployment has failed:
    [Deployer: 149034] An exception has occurred for task [Deployer: 149026] deploy application... of AdminServer. :.
    weblogic.management.DeploymentException:
    # Incomplete deployment.
    # 25 November 2008 21:58:53
    Deployment failed

    Why the deployment on the WLS Instance has started from the command line and why does fail when started as a Windows Service?

    I am using WLServer 10.3 and JDeveloper 11 g on Windows Vista operating system - both installed via jdevstudio11110install.exe. My Web Application uses BC and ADF Faces.
    The Windows Service is configured in the following manner in a specific server under the USERDOMAIN_HOME directory script:
    Set DomainName = mydomain
    Set USERDOMAIN_HOME = C:\Oracle\Middleware\user_projects\domains\mydomain
    Set JAVA_OPTIONS = Dweblogic.Stdout =... Dweblogic.Stderr =...
    MEM_ARGS =-Xms40m - Xmx250m set
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".

    And there is another problem with the Windows Service:
    I'm not able to uninstall the service to a specific server scenario, affecting first the DomainName and the SERVER_NAME = AdminServer and that
    use of the call "C:\Oracle\Middleware\wlserver_10.3\server\bin\uninstallSvc.cmd".
    I must do this directly in the registry.
    Missing something? What's wrong?

    Help, please!
    Thank you
    Anita

    Published by: user586097 on 26.11.2008 11:55

    Published by: user586097 on 26.11.2008 12:00

    Published by: user586097 on 26.11.2008 12:02

    Hello

    I had the same problem and made an SR by Oracle. Solution, in the script to create the windows service, you must add a call to the setDomainEnv.cmd before the call to installSvc.cmd.

    ..
    MEM_ARGS =-Xms512m-Xmx512m set
    call "C:\Oracle\Middleware\user_projects\domains\USER_domain\bin\setDomainEnv.cmd".
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".
    ENDLOCAL

    It works now, Peter

  • How to run the managed server weblogic as windows service

    Hello friends,

    I want a guide step by step to run the managed server and the application via the windows service.

    I am able to create admin server as a windows service. I tried a lot of managed server, but not luck.

    Please help me to solve it.

    Hello

    Here am attached the script to create a windows service for p6 service I used for my management environment.

    SETLOCAL

    Set DomainName = P6EPPM

    Set USERDOMAIN_HOME = C:\Oracle\Middleware\user_projects\domains\P6EPPM

    Define SERVER_NAME = P6

    Set PRODUCTION_MODE = true

    Set ADMIN_URL =http://p6eppmdev:7001

    CD % USERDOMAIN_HOME %

    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd

    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".

    ENDLOCAL

    I hope it will work for you.

    Try this and updated the forum.

    Concerning

    Kumar

  • Node Manager does not restart the WebLogic servers when the computer starts

    Hi all

    I'm testing the new WebLogic Server version as well as of new forms and reports. I don't have much experience with WebLogic (using the Internet Oracle 10g Application) bare with me for a moment.

    I'm using Node Manager to start admin server and all the other managed servers. I also installed nodes as a Windows service manager and configured the boot parameters to include Xrs-/-Xnohup, as stated in the documentation and everything seems to work fine until I restart the server. Node Manager service starts and according to his diary, he plays startup.properties of each server, but it does not start them. Am I missing something here? I found myself in an impression that Node Manager must restart the server in case of reboot system, if the server was running when the computer has been restarted.
    Even though I don't have much experience with WebLogic, I'm not a beginner. I managed to migrate (for testing only) all the business application (more than 1000 forms and reports) of iAS 10g to the new version in two days. Application works very well and I only have problems with servers to start when the computer starts using Node Manager.

    Test environment:
    Windows 2008 Standard 32-bit
    RAM: 2 GB
    HARD DRIVE: THE 140 GB
    CPU: 2xXeon

    # nodemanager.properties
    ...
    CrashRecoveryEnabled = true
    ...

  • Error when setting up a server as a Windows Service WebLogic Instance.

    Hello!

    I have the Windows Server 2008 R2 Enterprise and installed Oracle WebCenter Content Server. I try to put in place a management server and a managed server to run as Windows services, with follow: [http://docs.oracle.com/cd/E12840_01/wls/docs103/server_start/winservice.html].
    First of all, I'm trying to set up the WebLogic as a service.
    For her i marked the own server script:

    SETLOCAL
    Set DomainName = base_domain
    Set USERDOMAIN_HOME = c:\Oracle\Middleware\user_projects\domains\base_domain
    Define SERVER_NAME = WebLogic
    Set WLS_USER = weblogic
    Set WLS_PW = password
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".
    ENDLOCAL

    With this batch file, I make the new Windows Service, but when I try to start it, I get the follow error: the service of base_domain_WebLogic of beasvc on the Local computer has started and stopped. Some services stop automatically if they are not in use by other services or programs.

    What may be the cause?

    I tried clear the event log, there is nothing to talk about the cause of the problem.
    And I tried to set the property of the logon service-> This account, where I put the user and the password I use to connect to the Windows Server.

    Ok. Send me an email. I copy the notes for you.

  • Expose weblogic Server OSB (domain unique topology) as a Windows Service

    Hi all

    We have a customer requirement in the dev environment (windows Server 2003) to display weblogic OSB server as windows service. We use a topology for domain of single server, where the OSB and Admin Server running in the same JVM.

    We are referring to this document (http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/winservice.html) for the exhibition of weblogic server as windows service, but somehow it does not work if the artifacts of OSB are also present on the management server. When we start the service, we receive a lot of questions (many errors in the server log file) due to lack of OSB JAVA_OPTIONS and CLASSPATH. The sbconsole wont start even.

    So what we did essentially, we changed the installSvc.cmd to call setDomainEnv.cmd instead of commEnv.cmd. This solved the problem and we could start sbconsole and publish agents and services buiness him. However we are still receiving an error in JCATransport due to which JCA all base adapters do not work. The error is:

    < exception in JCATransportAppListener.preStart, java.lang.IllegalStateException: ALSB_HOME environment variable not defined
    java.lang.IllegalStateException: ALSB_HOME environment variable not defined
    at com.bea.wli.sb.transports.jca.JCATransportProvider.loadAdapterList(JCATransportProvider.java:943)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.getInstance(JCATransportProvider.java:80)
    at com.bea.wli.sb.transports.jca.JCATransportAppListener.preStart(JCATransportAppListener.java:16)
    to weblogic.application.internal.flow.BaseLifecycleFlow$ PreStartAction.run (BaseLifecycleFlow.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    Truncated. check the log file full stacktrace

    ALSB_HOME is already occupied in setDomainEnv.cmd during the creation of the service. We have also tried to set this variable in the windows environment (user variables and system variables), but his does not work. We get this error every time.

    Can someone help me please? is there something specific that needs to be done to run the OSB as a service (in single domain topology).

    Published by: Amit Sachdev on March 29, 2011 12:12 AM

    You can see the ID 1276742.1 metalink note as well. It is a known problem.

    Kind regards
    Anuj

  • managed servers started as windows service show state UNKNOWN in console

    I registered my AdminServer as a windows service with - delay: 60000 and I recorded three independent servers managed with - delay: 30000 and - dependent: "beasvc MyDomain_AdminServer".

    Edit: I put this before registration of managed servers, is that OK? Set ADMIN_URL = http://localhost:7001

    After restarting the server, all services, including NodeManager, started fine. When I log console and go to environment/servers, it shows all the servers managed with the State "unknown". Deployments do not meet the HTTP requests. When you try to start the servers through the console, I get an exception of locking files in the log files that should. Deployments are Active, Admin, States prepared, but nothing does, and I have no control using the console.

    Where am I wrong? Thanks for any help.

    Are you sure that the administrator of the server has been started with the set of attributes of "weblogic.management.discover" "true"?

  • Never managed to get Windows Search to work in XP Service Pack 3, but the Research Assistant works very well.

    Original title: Windows Search

    I've never managed to get Windows Search to work in XP Service Pack 3, but the Search Wizard works fine.  I tried to index the C: drive.  I clicked on 'Rebuild' under Indexiing Options.  The c: drive shows in Indexing Options, excluding some unnecessary subdirectories.  It's all buzzing around for awhile and then says "0 indexed items" and "complete indexing.   I use Norton Internet Security.  What I am doing wrong?

    Hi Victorvan,

    You can uninstall the Search Assistant and check if it helps.

    Check out the following link to uninstall the program:

    How to change or remove a program in Windows XP

  • Firewall Windows has been disabled by a virus or Malware. System is now cleaned and Salvation took up the Task Manager, but the Windows Firewall service does not start. How to run again.

    Firewall Windows has been disabled by a virus or Malware. System is now cleaned and Salvation took up the Task Manager, but the Windows Firewall service does not start. How to run again.

    Suggest you read the following: http://answers.microsoft.com/en-us/windows/forum/windows_7-security/virus-recovery-error-codes-0x80070424-and/28ed2ede-076c-4955-bb49-44d0c2ee1ed3

    I hope this helps...

  • Node Manager can be used to restart Weblogic Server Administration?

    Hello guys,.

    According to my understanding 'Machines' created in Weblogic are the logical representation of define what Node Manager to Point to perform actions on managed servers. But when we place servers on Machine here in my environment I get name "Admin Server" also make a link to a machine.

    So far, I thought that assistance from the node Manager we can control the events of life cycle of the managed server. Is it possible to order the start/stop of the Administration also using Node Manager server?

    PS: I use Weblogic 12 c and configured NM within my domain.

    Kind regards

    Puneet

    Hello

    Yes, short words, it is possible. Check out this doc for more information on how to accomplish this task > http://docs.oracle.com/cd/E24329_01/web.1211/e21050/starting_nodemgr.htm#NODEM219

    Kind regards

    White

  • Creating service GG as windows service manager

    Hi all

    I try to configure GG mgr as a one-stop service, then Bishop begins automatically as soon as windows starts but service mgr is does not start automatically. Does anyone have an idea?

    I had created globals settings file and enter the info related to Bishop IE
    Bishop MGRSERVNAME

    and executed installation addservice autostart

    but still not able to start the windows service.

    Version GG: 11.2.0.1
    OS: Windows 7

    Hello

    Try to use the BOOTDELAYMINUTES parameter on a system Windows to delay Operations Manager performs when it starts, such as execution of the parameters. For example,.

    BOOTDELAYMINUTES allows you to delay the start AUTOMATIC settings until the database services are started. Specify BOOTDELAYMINUTES before other entries of parameters. This parameter only supports Windows.

    Syntax BOOTDELAYMINUTES

    I hope this will help you

    Annamalai.

Maybe you are looking for