Redirecting output when starting the server as Service

Hi,
I was wondering if there is any way to redirect the error to a log file if the
weblogic server has been started as Service. We are getting some crashes and we
are not sure what exactly the issue is. We have tried running it on the command
line and we have been able to capture some info but if there is a way to do the
same when starting it as service,it would be great
thanks
Sushil

wls8.1 sp3:
To redirect the output to log files you must redirsct standard out and standard error to a file.
This can be done by following steps:
1.     Create a backup copy of the WL_HOME\server\bin\installSvc.cmd master script.
2.     In a text editor, open the WL_HOME\server\bin\installSvc.cmd master script.
3.     In installSvc.cmd, the last command in the script invokes the beasvc utility. At the end of the beasvc command, append the following command option:
-log:"pathname "
where pathname is a fully qualified path and filename of the file that you want to store the server's standard out and standard error messages.
The modified beasvc command will resemble the following command:
"%WL_HOME%\server\bin\beasvc" -install
-svcname:"%DOMAIN_NAME%_%SERVER_NAME%"
-javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%"
-extrapath:"%WL_HOME%\server\bin" -password:"%WLS_PW%"
-cmdline:%CMDLINE%
-log:"d:\bea\user_projects\domains\myWLSdomain\myWLSserver-stdout.txt"
4.     By default, every 24 hours the Windows service archives messages to a file named pathname-yyyy_mm_dd-hh_mm_ss. New messages collect in the file that you specified in the previous step.
For information on changing the default behavior, see Changing the Default Rotation Criteria <http://e-docs.bea.com/wls/docs81/adminguide/winservice.html>.
After you install the service and restart the Windows host, to view the messages that the server writes to standard out or standard error, do one of the following:
§     Make a copy of the file that you specified and view the copy. The Windows file system cannot write to files that are currently opened.
§     To view the messages as they are being printed to the file, open a command prompt and, using a DOS utility that supports the tail command, enter tail -f stdout-filename.

Similar Messages

  • Security Error when starting the server - WPLS 7.0

    Security Error when starting the server - WPLS 7.0
    what may be the reason ...
    console :
    BUILD SUCCESSFUL
    Total time: 3 seconds
    Starting WebLogic Server...
    <May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
    <May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
    c.portalServer.log>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
    .jks does not exist.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
    <May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
    <May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
    tion:java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
    itialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    C:\cpDomain\bin>
    Thanks
    Thanks & Regards,
    Siva VP,
    [email protected]

    Looks like you cannot connect to LDAP. Are you configured correctly?

  • WLST problems when starting the server

    Hi all,
    I try to use WSLT (with ant) to start bea within an existing domain. The ant target is:
    <target name="start-server">
    <echo message="Starting bea weblogic..."/>
         <wlserver
         dir="${domain.home}"
         beahome="${weblogic.home}/.."
         weblogichome="${weblogic.home}"
         servername="${server.name}"
         domainname="${domain.name}"
         username="${weblogic.user.name}"
         password="${weblogic.user.password}"
         host="${server.host}"
         port="${server.port}"
         generateconfig="false"
         action="start"
         failonerror="true"
         configFile="/config/config.xml"
         classpath="${weblogic.home}/server/lib/weblogic.j ar"
         verbose="true"
         />
    </target>
    Unfortunately I got hundrets of NoClassDefFoundError when running this target. Serveral for each deployed component. Therefore I put classpath extensions to different files:
    1. %BEA_HOME%\user_projects\domains\wcsdomain\bin\startWebLogic.cmd
    2. %BEA_HOME%\user_projects\domains\wcsdomain\bin\setDomainEnv.cmd
    3. %BEA_HOME%\weblogic91\common\bin\commEnv.cmd
    4. %BEA_HOME%\weblogic91\server\binsetWLSEnv.cmd
    But the classes are still missing.
    Question:
    Can anyone tell me where to put classpath extensions for the deployment jars?
    Thanks

    You are not using WLST any where, you are using the wlserver ant task. The wlserver ant task does not use the scripts to start the server. You should add the jars to the wlserver classpath element.
    HTH,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • Messages when starting the server

    Hi,
    I am using OC4J 10.1.3.
    When i start the server i am getting this message
    May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
    INFO: Beans associated with application Twe will not be available via RMI/IIOP: GenerateIIOP system property=false, enableIIO
    P application setting=false, server.xml configured for IIOP=true
    May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
    Any idea why this is coming. Does this mean that my beans are not deployed or I will not be able to access them.
    Thanks
    Kiran
    ----

    Kiran, there is no real problem here; the message, of type "INFO", is just to inform/warn you that your application is not properly configured for the purpose of accessing it through RMI/IIOP. Your beans are deployed and you will be able to access them as long as you are not using RMI/IIOP; otherwise, there should be other real error message printed out.
    Furthermore, this message is in the process of moving to some log file instead of popping up when the server is started. So, you probably won't notice them the next time you install a newer oc4j.
    Hope this helps.

  • Calling a static method when starting the server???

    Hi,
    i wanted to call a static method of a java class,
    whenever i start the server.
    plz give some input on this.
    thanks and regards
    siva

    Siva -- Can you be more specific as to the problem you are trying to solve (why do you want to call this static method,.)
    The reason I ask is that there are some ways to make this happen but they may have limitations
    that won't work for you. For instance, you can create a servlet that calls your class' static method and then make the
    servlet be loaded on startup.
    Thanks -- Jeff

  • Installation of JES5 on Solaris10 and error when starting the server

    Hi ..
    This is my first time that i tried to install JES5 on SOlaris10 system
    I finished the installation process and when i tried to start the domain1 i recieved an error in the log file and the server won't start.
    Here is the error message in the server log file :
    Thanks for the help
    [#|2007-12-17T12:28:13.977+0200|WARNING|sun-appserver-ee8.2|javax.enterprise.system.stream.err|_ThreadID=10;|netscape.ldap.LDAPException: failed to connect to server ldap://poolsun3.precise.com:389 (91); Cannot connect to the LDAP server
    Got LDAPServiceException code=-1
         at com.iplanet.services.ldap.DSConfigMgr.getConnection(DSConfigMgr.java:404)
         at com.iplanet.services.ldap.DSConfigMgr.getNewFailoverConnection(DSConfigMgr.java:358)
         at com.iplanet.services.ldap.DSConfigMgr.getNewConnection(DSConfigMgr.java:287)
         at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:211)
         at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:223)
         at com.iplanet.ums.DataLayer.initLdapPool(DataLayer.java:1270)
         at com.iplanet.ums.DataLayer.<init>(DataLayer.java:203)
         at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:228)
         at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:249)
         at com.sun.identity.sm.ldap.SMSLdapObject.initialize(SMSLdapObject.java:157)
         at com.sun.identity.sm.ldap.SMSLdapObject.<init>(SMSLdapObject.java:125)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:229)
         at com.sun.identity.sm.ServiceManager.<clinit>(ServiceManager.java:74)
         at com.sun.identity.authentication.internal.AuthContext.getOrganizationName(AuthContext.java:762)
         at com.sun.identity.authentication.internal.AuthContext.getSSOToken(AuthContext.java:792)
         at com.sun.identity.security.AdminTokenAction.getSSOToken(AdminTokenAction.java:271)
         at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:174)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.iplanet.am.util.AMClientDetector.getServiceSchemaManager(AMClientDetector.java:220)
         at com.iplanet.am.util.AMClientDetector.<clinit>(AMClientDetector.java:93)
         at com.sun.mobile.filter.AMLController.init(AMLController.java:79)
         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:229)
         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:312)
         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:83)
         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3881)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4527)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
         at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2007-12-17T12:28:32.183+0200|INFO|sun-appserver-ee8.2|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=10;|JAXRPCSERVLET12: JAX-RPC context listener initializing|#]
    [#|2007-12-17T12:28:32.721+0200|INFO|sun-appserver-ee8.2|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=10;|JAXRPCSERVLET14: JAX-RPC servlet initializing|#]
    [#|2007-12-17T12:28:40.048+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/amserver]StandardWrapper.Throwable
    java.lang.NullPointerException
         at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
         at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
         at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2007-12-17T12:28:40.052+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/amserver]Servlet /amserver threw load() exception
    javax.servlet.ServletException: Servlet.init() for servlet LoginLogoutMapping threw exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1142)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
         at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    ----- Root Cause -----
    java.lang.NullPointerException
         at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
         at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
         at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2007-12-17T12:28:44.594+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3040 : Initializing HttpService|#]
    [#|2007-12-17T12:28:44.639+0200|ALERT|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|security (22532): CORE3192: Temporary directory /var/opt/SUNWappserver/domains/domain1/generated/tmp (specified by the TempDir magnus.conf directive) is accessible to others.  Please change TempDir or modify the permissions of the directory and restart the server.
    |#]
    [#|2007-12-17T12:28:44.640+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3004 : Received an exception while initializing the HTTP service
    com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
         at com.sun.httpservice.spi.HttpService.httpservice_init(Native Method)
         at com.sun.httpservice.spi.HttpService.init(HttpService.java:234)
         at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1102)
         at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1057)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:936)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2007-12-17T12:28:44.643+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
    java.lang.RuntimeException: java.lang.RuntimeException: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
         at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1060)
         at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:936)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.lang.RuntimeException: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
         at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1108)
         at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1057)
         ... 5 more
    Caused by: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
         at com.sun.httpservice.spi.HttpService.httpservice_init(Native Method)
         at com.sun.httpservice.spi.HttpService.init(HttpService.java:234)
         at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1102)
         ... 6 more
    |#]
    [#|2007-12-17T12:28:44.645+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
    [#|2007-12-17T12:28:44.645+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]
    [#|2007-12-17T12:28:44.646+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3046 : Stopping HttpService|#]
    [#|2007-12-17T12:28:44.646+0200|WARNING|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3048 : HttpService: Received exception while stoping HttpService
    com.sun.httpservice.spi.HttpServiceSPIException: Illegal state, cannot perform call
         at com.sun.httpservice.spi.HttpService.stop(HttpService.java:287)
         at com.sun.enterprise.web.HttpServiceWebContainer.stopHttpService(HttpServiceWebContainer.java:1151)
         at com.sun.enterprise.web.HttpServiceWebContainer.stopInstance(HttpServiceWebContainer.java:959)
         at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onShutdown(HttpServiceWebContainerLifecycle.java:62)
         at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2007-12-17T12:28:44.651+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.stream.out|_ThreadID=10;|SHUTDOWN-about to gather shutdownCleanupCapables|#]

    Looks like you cannot connect to LDAP. Are you configured correctly?

  • Getting serailization exeception when starting the server

    Hi All,
    I succesfully got the "ComputeEngine" running from the basic RMI tutorial.
    I then began reating my own classes based on the tutorial, which is still basically copied code from ComputeEngine.java.
    For some reason when when I try to start my server class I get a "Not serializable" exception. This can be fixed by adding "implements Serializable" to my class. But what I'm confused about is that the ComputeEngine class from the tutorial does not require the "implements Serializable". Why does mine require it?
    Anyone have any ideas?
    Here is my code:
    public class RemoteExecuteServer implements RemoteExecute, Serializable {
        public RemoteExecuteServer() throws RemoteException {
            super();
        public Object executeRunnable() throws RemoteException {
            System.out.println("Hello, this is the server.");
            return null;
        public static void main(String[] args) {
            if (System.getSecurityManager() == null) {
                System.setSecurityManager(new RMISecurityManager());
            // TODO: Get the server name from a config file
            String name = "//sunxxx/RemoteExecuteServer";
            try {
                RemoteExecute engine = new RemoteExecuteServer();
                Naming.rebind(name, engine);
                System.out.println("RemoteExecuteServer bound");
            } catch (Exception e) {
                System.err.println("RemoteExecuteServer exception: " +
                          e.getMessage());
                e.printStackTrace();
    }

    Never mind,
    I wasn't extending UnicastRemoteObject. Thanks anyway.

  • WDS Server Service won't start - 'An error occurred trying to start the Windows Deployment Services Server.'

    I'm having issues installing starting the WDS server service on Win 2008 R2,  this is happening on multiple (all 2008 R2) systems on this domain so I'm beginning to think it's either AD or network related, in event viewer I get the following error.
    'An error occurred trying to start the Windows Deployment Services Server.'
    Error Information: 0x0906
    EventID : 257 
    single domain, single forest, 2008 R2 functional level, both system are virtual plugged into same vswitch on a flat network.
    any ideas what might be the issue?  I've never had an issue getting this working on many occasions before today and I've come to many a dead end looking at other articles thus far... 
    With WDS tracing enabled I get the following error information:
    [4304] 09:22:11: ===>Starting logging of module [WDSServer]
    [4304] 09:22:11: [UDPPorts] Policy: 1, Dynamic Port Range: 64001-65000.
    [4304] 09:22:11: [RPC] Using Tcp Port 5040 for Rpc Calls.
    [4304] 09:22:11: [RPC] Client Impersonation Logging=Disabled
    [4304] 09:22:11: [RPC] Host Name: sccm.domain.local
    [4304] 09:22:11: [RPC] NTLM/Kerberos Spn: ldap/sccm.domain.local
    [4304] 09:22:11: [RPC] Initialized
    [3756] 09:22:11: [RPC] Server Started.
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Registered
    [4304] 09:22:11: [BINLSVC] Provider Initialized.
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Registered
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Registered
    [4304] 09:22:11: [51][WDSDDPS] [d:\w7rtm\base\ntsetup\opktools\wds\ddp\server\ddpprovider.cpp:196] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={FA0A27E1-C2BA-4B3B-94B2-025E82FFAA6D}] Closed
    [4304] 09:22:11: [WDSDDPS][RPC][Ep={011D24AC-CB3A-4739-A339-5D2E1B5306CE}] Closed
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovider.cpp:144] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Initialization Failed (rc=2310)
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsprovhdl.cpp:172] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [WDSDDPS] Deleted.
    [4304] 09:22:11: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsservice.cpp:178] Expression: , Win32 Error=0x906
    [4304] 09:22:11: [Udp] Listen Shutdown.
    [3756] 09:22:11: [RPC] Server terminated (rc=0)
    [4304] 09:22:11: [RPC] Listen Stopped.
    [4304] 09:22:11: [BINLSVC] Shutting down
    [4304] 09:22:11: [BINLSVC][RPC][Ep={5F4FB9F0-C0E3-41C1-AA00-9A7C690AC3A3}] Closed
    [4304] 09:22:11: [BINLSVC] Deleted.

    It seems I've found out the solution myself,  the issue seems to be caused when DHCP and WDS are on the same server, The installation must identify this during the first installation of WDS but not on subsequent installations, the method to
    get it working again is:
    1.      
    Install WDS Role (using defaults)
    2.      
    Make the following registry change:
    HKLM\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSPXE\UseDhcpPorts  =  0
    3.      
    Run the following command line to initialize Windows Deployment Services:
    wdsutil /initialize-server /reminst:D:\RemoteInstall
    4.      
    Run the following command to enable the DHCP port registry setting
    wdsutil /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes

  • Memleak cannot work when start the management server by ctrlhandler.act

    Hi, all
    I use ctrlhandler.act to start a management server on running system. when start the memleak detector, i got the error message on server output:
    [JRockit] ManagementServer started trend analysis
    java.lang.NullPointerException
    Continuing ...
    java.lang.Exception: discarding statement XMLEncoder0.writeObject(HeapHistogram0);
    Continuing ...
    but when I started the management server with command line -Xmanagement. all is ok. What's the matter?
    Thanks a lot!

    Sorry, the jrocki version is 1.4.2_05 and 1.4.2_08.
    And the os: windows XP professional and Redhat AD 7.2
    And the weblogic server version is 'weblogic8.1 sp3'
    any suggestion? Thank you!

  • An error occurred while trying to start the Windows Deployment Services server

    After rebooting the server, I cannot start the Windows Deployment Services anymore.
    It worked perfectly before the reboot. When starting it manually these errors appear in the event log:
    The Windows Deployment Services Server service terminated with service-specific error 1460 (0x5B4).
    An error occurred while trying to initialize multicast manager. Windows Deployment Services server will be shutdown.
    Error Information: 0x5B4
    An error occurred while trying to start the Windows Deployment Services server.
    Error Information: 0x5B4
    This is on server standard beta 3.

    I have removed the server from the WDS, then I have uninstalled the role, rebooted, reinstalled the role.
    When I started the WDS the server was back in there, but when I wanted to start the service I got the message "the windows deployment services configuration is corrupt". I have triggered these commands to reset this:
    Code Snippet
    wdsutil /Verbose /Progress /Uninitialize-Server
    Windows Deployment Services Management Utility [Version 6.0.6001.16510]
    Copyright (C) Microsoft Corporation. All rights reserved.
    Tearing down server...
    == Original server operational mode: Native ==
    -> Resetting setup state
    -> Disabling and resetting Windows Deployment Services services
    -> Removing server BINL SCP
    -> Removing Windows Deployment Services share at \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST
    == Final server operational mode: Not Configured ==
    The command completed successfully.
    Then i did this command, but again it failed to start at the end.
    Code Snippet
    C:\Windows\system32>wdsutil /Verbose /Progress /Initialize-Server /REMINST:"c:\R
    emoteInstall"
    Windows Deployment Services Management Utility [Version 6.0.6001.16510]
    Copyright (C) Microsoft Corporation. All rights reserved.
    Setting up server...
    -> Creating Windows Deployment Services installation tree
    ---> Creating Windows Deployment Services installation root at \\LH-AJGG6OZWH9Z4
    .longhorn.office\c$\RemoteInstall
    ---> Creating Windows Deployment Services share at \\LH-AJGG6OZWH9Z4.longhorn.of
    fice\REMINST
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\x86\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\ia64\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\x64\Images
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Boot\Fonts
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Tmp
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Mgmt
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\WdsClientUnattend
    ---> Creating Windows Deployment Services folder \\LH-AJGG6OZWH9Z4.longhorn.offi
    ce\REMINST\Templates
    -> Installing Windows Deployment Services files
    ---> Installing system files
    ---> Installing boot files for x86
    ---> Installing boot files for ia64
    ---> Installing boot files for x64
    -> Updating registry
    -> Configuring the TFTPD service
    -> Configuring BINL SCP
    Enabling Windows Deployment Services services...
    Starting Windows Deployment Services services...
    An error occurred while trying to execute the command.
    Error Code: 0x41D
    Error Description: The service did not respond to the start or control request in a timely fashion.
    Anyone have an idea what could be the cause? I found this additional error in the event log, but distributed file system hasn't been installed since the beginning.
    DFS could not access its private data from the Active Directory. Please manually check network connectivity, security access, and/or consistency of DFS information in the Active Directory. This error occurred on root REMINST.

  • Windows could not start the windows deployment services server Error 1067: The Process terminated unexpectedly - Please help

    Hello All
    I am trying to set up a PXE service point on my DP in SCCM 2012 R2
    1) I have enabled the role on the DP
    2) rebooted and verified WDS installed as a role.( I let SCCM enable this role as instructed)
    3) When I tried to start the role from services I get the error below:
    Note: I also followed the troubleshooting steps in this technet article but still it stops at the half way point
    http://support.microsoft.com/kb/2009647/en-us
    Phil Balderos

    Hi,
    Here is a similar post for your reference.
    Windows Deployment Service
    http://www.windows-noob.com/forums/index.php?/topic/3938-windows-deployment-service/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Oracle Error when starting the WLI server (samples domain) on Windows XP

    I've installed WLI (SP2) on Windows XP and after Starting the Server (from the
    "Start Server and Launch Examples" commands on the start menu) I get the following
    Oracle error in the console:
    I'm using WLI 7.0 with SP2 and Oracle 9i on Windows XP Home.
    ORA-12154: TNS:could not resolve service name
    Any ideas?

    Hi Peter,
    Based on the error messages it looks like this might be a Windows 7 security issue, which would be why it doesn't occur on XP since security is handled differently in that OS. Have you gone into dcomcnfg.exe and checked the DCOM permissions as described in the error message?

  • JVM Initialization Error when Starting the Second Managed Server

    Hi,
    I am getting the below error when starting the 2nd Managed server on Solaris X86 machine.
    starting weblogic with Java version:
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)
    Starting WLS with line:
    /usr/jdk/instances/jdk1.5.0/bin/java -client -Xms256m -Xmx512m -XX:CompileThre shold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform .home=/beafiler/weblogic10g/bea/wlserver_10.0 -Dwls.home=/beafiler/weblogic10g/b ea/wlserver_10.0/server -Dweblogic.home=/beafiler/weblogic10g/bea/wlserver_10.0/ server -Dwli.home= -Dweblogic.management.discover=false -Dweblogic.management.s erver=http://test_admin:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false - Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/beafiler/weblogic10g/bea/patch_wss 110/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patch_w lw1021/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patc h_wls1002/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/p atch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.provi ders.authentication.LDAPDelegatePoolSize=50 -Dweblogic.Name=wls_test2 -Djava.sec urity.policy=/beafiler/weblogic10g/bea/wlserver_10.0/server/lib/weblogic.policy weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Can any one please help me troubleshoot this?
    Edited by: user4877326 on Jul 13, 2010 1:33 PM

    Hi P.k,
    The table QRTZ92_TRIGGERS is there in the database.But while trying to run this command (UPDATE QRTZ92_TRIGGERS set NEXT_FIRE_TIME=1 where NEXT_FIRE_TIME < 0)in database i am getting the table or view does not exist.
    What is GTC resource?
    OIM version - 11.1.1.5.0.
    -Deena.

  • I'm getting an error (BEA-090508) when trying to apply SSL and starting the server

    I'm trying to apply SSL with my own CA on a Weblogic Server. I'm getting an error (BEA-090508) when trying to start the server.
    regards

    Hi peggy gray,
    I believe you have the Photography subscription purchased wherein the applications other than PS and LR are available as trial only.
    Please check the link below:
    Creative Cloud Photography plan | Adobe Creative Cloud
    Regards,
    Sheena

  • Windows could not start the Server service on local computer Error 193:0xc1

    Hello,
    Not able to start Server (lanmanServer) Service in Windows Server 2008 R2 
    Its a VM and on logging into the Server it sometimes shows as started and then will stop by itself,
    If we try to start manually it always gives the error --Windows could not start the Server service on local computer Error 193:0xc1
    All dependent services are fine and running ,did sfc,did copy svchost and svcsrv.dll files from a working Server of same.but no help,no shares of this server are accessible since this service is not running
    on checking the event log its shows an error "Server is not a valid win32 application"
    Please help
    Thanks and Regards
    Jose

    Hi,
    Thanks for posting your question in the forum.
    I noticed that you have created the same question in another thread. Please understand that we should focus on only one thread for the same question at the same time, please focus on the thread
    below you created in the forum. Thanks for your understanding.
    http://social.technet.microsoft.com/Forums/en-US/5ba43477-9626-4fdf-872a-d3ecd12835c5/windows-could-not-start-the-server-service-on-local-computer-error-1930xc1?forum=winserverNIS
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

Maybe you are looking for

  • Short name in the email. Tcode SOST

    My question - Issue - When PO sent out through e-mail, SOST shows incorrect sender user name. Although e-mail ID is correct. Incorrect user name and correct user name (which we are expecting) has same e-mail ID in user master. Checked and found that

  • Doubts in internal table logic

    Hi All, I have two internal table, according to the posnr value i need to add the kbetr value from the 2nd internal table and update the value in the 1st line internal table. below the example of my internal table. Here for the line item 0010 i need

  • CIN settings for import purchases

    Hi friends, could some one write CIN settings to handle import purchases Thanks

  • I can't open new Tabs on the botton position?

    Hello. After upgrading to Firefox v.7 from v.5 I can't open new tabs when on the bottom. Also in any webpage, in an area of about an inch below the "tabs" line does not work. Example: on the Firefox "Help" page I can not sign-in/register if I want to

  • 802.11 RTS/CTS and hidden node problem

    Guys, A little confused here. The hidden node problem is if two nodes within a cell can hear the AP but not each other. OK. But, when we talk about 802.11b and 802.11g backwards compatibility causing reduced throughtput in terms of bandwidth, it seem