NodeManager not able to start second managed server in same machine

Hi,
I am facing an issue, I am not able start a second ManagedServer(MG2) using nodemanager (through AdminConsole)
My setup is as below:
Server 1
1) Admin Server + ManagedServer (MG1) (INSTALL LOCATION: /opt/web/MyServer1)
2) Second Managed Server (MG2) (INSTALL LOCATION: /opt/web/MyServer2)
Both belong a same Domain (MyDomain) and NodeManager runs from /opt/web/MyServer1
I can start MG1, but not MG2.
I did
1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
I see following error in nodemanager.log,
The domain 'MyDomain' at '/opt/web/MyServer2/domains/MyDomain' was not registered in the nodemanager.domains file and dy
namic domain registration is not supported. Please register the domain in the nodemanager.domains file.
I can start the MG2 if I manually edit nodemanager.domains to point /opt/web/MyServer2/domains/MyDomain.
Is there a way to configure multiple domains locations in nodemanager.domains, so Nodemanger can start managed server installed in different location?

Your nmEnroll shows 2 different domain path values supplied - which means you have told NM to try to connect to 2 different domains
1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
You also show 2 distinct node managers you are trying to configure.
nmEnroll enrolls a domain, not an individual server. If you have only 1 installation of nodemanager, and only 1 domain, then you would only need one nmEnroll command.

Similar Messages

  • Not able to start SOA managed server first time with node manager by WLST

    Hi all,
    I have created a SOA11g domain. Then using WLST utility I have started the Node Manager.
    Then from WLST prompt I have connected to the Node Manager & started the Admin Server successfully.
    But when ever I am starting the SOA manager server using WLST it's throwing the following error in WLST page : -
    Error Starting server soa_server1: weblogic.nodemanager.NMException: Exception while starting server 'soa_server1'
    In server log file I am getting the following error : -
    Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
    weblogic.security.SecurityInitializationException: Authentication for user denied
    I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
    If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.
    Can anyone please tell me what can be the issue?
    Thanks in Advance!!!
    Edited by: 008 on Dec 6, 2012 7:53 PM

    Hi,
    I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
    If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.When you a server for the first time by using console or startManagedWeblogic.cmd, a file boot.properties is created under %DOMAIN_HOME%\servers\soa_server2\data\nodemanager...
    The WLST/Nodemanager approach doesn't create the file so it won't work for the first start... But it will work just fine from the second on...
    I've never tried, but you can try and create the boot.properties manually in your script with the following content... Password should be encrypted after the first successful start...
    username=type-the-username-here
    password=type-the-password-here
    Cheers,
    Vlad

  • Not able to start Integrated Weblogic server

    Hi All,
    I have installed Jdeveloper & Weblogic server in my system. I am able to deploy my SOA peojects in em console. But when i try to run a JSF project , it is throwing an error message like not able to start Integrated Weblogic Server. And Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt. I dont have my middleware in D:\OracleOSB\Middleware, But i have created the Middleware home in D:\Oracle\Middleware.
    I reinstalled SOA sutie, Jdeveloper & Weblogic server but stilll then i am getting the same error when i try to start Integrated Weblogic server. Please find below the error message:
    *** Using port 7101 ***
    C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    The system cannot find the path specified.
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
    PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    [WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
    [ERROR][cgdir  ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: weblogic.Server. Program will exit.
    Process exited.
    Can anyone help me to overcome this issue.
    thanks in advance.

    Try checking the "C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd" startup file. It seems containing old references to D:\OracleOSB instead of D:\Oracle ...

  • Not able to start the weblogic server ....

    Hi All,
    I am using JDeveloper  11.1.1.6 .
    I am not able to start the weblogic server .I am getting below Exception .I am not sure where I  need to check,,
    Error at line:2333 col:31  '' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
        at weblogic.xml.babel.scanner.Name.read(Name.java:20)
        at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
        at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
        at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
        at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
        at weblogic.xml.babel.baseparser.Space.parse(Space.java:19)
        at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:474)
        at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
        at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
        at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctionParameters(StaxPolicyStoreParser.java:2207)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunction(StaxPolicyStoreParser.java:2135)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctions(StaxPolicyStoreParser.java:2072)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processAppPolicy(StaxPolicyStoreParser.java:796)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPolicyStore(StaxPolicyStoreParser.java:521)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:120)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:180)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:187)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlDataStore(XmlDataStore.java:411)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(XmlDataStore.java:276)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.getInstance(XmlDataStore.java:209)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:492)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.<init>(XmlPolicyStore.java:276)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:100)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:74)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
        at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
        at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
        at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2827)
        at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2821)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2821)
        at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
        at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
        at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
        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:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1339)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Jul 19, 2013 11:11:09 AM IST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: Cannot read from policy store. Reason is PolicyStore Error, javax.xml.stream.XMLStreamException: Error at line:2333 col:31  '
    Thanks ...

    hi user,
    did you check this.
    diehn.net/blog &amp;raquo; Blog Archive &amp;raquo; Weblogic AdminServer refused to start &amp;#8211; truncated syste…

  • Not able to connect with managed server using ssl connection

    Hi Guys,
    My weblogic server is running on linux. I have setup ssl connction bu using Demo Identity and Demo Trust.In server logs i can find the following infomation that server is running on secure port.
    But once i try connect to managed server using client i m facing below error:
    <May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://host:port: Destination unreachable; nested exception is:
         javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:767)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
         at javax.naming.InitialContext.init(InitialContext.java:242)
         at javax.naming.InitialContext.<init>(InitialContext.java:216)
         at com.akt.client.WLCLIENT.makeConnection(WLCLIENT.java:40)
         at com.akt.client.WLCLIENT.main(WLCLIENT.java:60)
    Caused by: java.net.ConnectException: t3s://host:port: Destination unreachable; nested exception is:
         javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
         ... 9 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
         ... 15 more
    But in server logs i can see below message
    opt/Oracle/Middleware/wlserver_12.1/server/lib/DemoIdentity.jks.>
    <May 27, 2013 2:47:06 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/Oracle/Middleware/wlserver_12.1/server/lib/DemoTrust.jks.>
    <May 27, 2013 2:47:06 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/jdk1.7.0_21/jre/lib/security/cacerts.>
    <May 27, 2013 2:47:06 PM IST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on hostname:port for protocols iiops, t3s, ldaps, https.>
    <May 27, 2013 2:47:06 PM IST> <Notice> <WebLogicServer> <BEA-000332> <Started the WebLogic Server Managed Server "Server-Test" for domain "base_domain" running in development mode.>
    Please suggest
    Edited by: 1008140 on May 27, 2013 2:37 AM

    Welcome to OTN
    This section related to Database question not fusion middle ware Post your question
    Oracle Discussion Forums » Fusion Middleware

  • Not able to start OBIEE (weblogic) server.

    Hi,
    While trying to start obiee 11g server, I am getting one error and it is stating as "FORCE SHUTTING DOWN". while checking the log file (Adminserver.log) it is telling that username/password is not valid in boot.properties file.
    When I checked that file, within that username and password is correctly written (it is not in encrypted format). I have rename that file also in both adminserver folder as well as bi_server1 folder, but still same issue persists.
    Please let me know what is the issue. Am I missing anything?
    Thanks
    Anirban

    HI,
    Your username and password are changed, may be due to invalid username and password typed.
    So you check the boot.property file in following location and restart the services.
    1.D:\11G\user_projects\domains\bifoundation_domain\servers\bi_server1\security
    2. D:\11G\user_projects\domains\bifoundation_domain\servers\AdminServer\security
    3. D:\11G\user_projects\domains\bifoundation_domain\servers\AdminServer\security
    For more details refer : BOOT.PROPERTY IN OBIEE
    Regards
    VG

  • Not able to start the remote server - class not found exception

    All,
    I am quite new to RMI programming, although i am an experienced java programmer. I am facing a problem in starting the remote server program which i wrote for RMI. I am getting class not found exception for "stub" class eventhough the class is in the classpath.
    Following is the error console:
    cmd> java -classpath "D:\Eclipse_WorkSpaces\WS2\RMITests\classes" MyServerImplementation
    GetNames error: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at MyServerImplementation.main(MyServerImplementation.java:21)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    ... 12 morePLEASE ADVISE HOW TO RESOLVE THIS...
    Following are my classes:
    MyRemoteInterface.java
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface MyRemoteInterface extends Remote {
    public String[] getNames() throws RemoteException;
    public class MyServerImplementation extends UnicastRemoteObject implements
    MyRemoteInterface {
    public MyServerImplementation()throws RemoteException{
    super();
    public String[] getNames() throws RemoteException{
    return new String[]{"Name1","Name2","Name3","Name4"};
    public static void main(String args[]) {
    try {
    // Create an object of the HelloWorldServer class.
    MyRemoteInterface obj = new MyServerImplementation();
    // Bind this object instance to the name "HelloServer".
    Naming.rebind("rmi://localhost:1985/GetNames", obj);
    System.out.println("GetNames bound in registry");
    catch (Exception e) {
    System.out.println("GetNames error: " + e.getMessage());
    e.printStackTrace();
    public class MyRMIClient {
    *@param args*
    public static void main(String[] args) {
    try {
    MyRemoteInterface remObj = (MyRemoteInterface) Naming.lookup("rmi://localhost:1985/GetNames");
    System.out.println("Names are "+remObj.getNames());
    catch(Exception e) {
    System.out.println("Problem encountered accessing remote object "+e);
    }

    That's a remote exception coming from the registry. You need to learn to recognize remote exceptions and their source, it's a mjaor source of confusion in RMI.
    In this case it's the registry that can't find the stub class.
    The stub class needs to be in the CLASSPATH of (i) the Registry and (ii) the client as well. Ditto the remote interface; ditto any application classes it refers to, and so on until closure.
    The easiest way to achieve (i) is to start it in the server's JVM, with LocateRegistry.createRegistry().

  • Starting Admin and Managed Server on Same Machine

    Has anyone come across a method of running both their admin server and managed
    servers as a Service and on the same machine. As you can see, when the OS comes
    up both Services for the servers will be started. I can put in a dependency on
    the managed server saying that the admin server needs to be started but that doesn't
    guarantee that admin server will be ready for "prime time."
    I have seen somewhere in a support message something about a "depend" and "delay"
    flag for the beasvc.exe program but the one I'm using doesn't seem to support
    this.
    Here is my setup:
    Windows 2000 Pro
    Weblogic Server 6.1 SP1
    Any assistance is appreciated,
    Rich

    John Hufnagle wrote:
              > Is it possible to run cluster admin server and one of the managed servers on the
              > same machine...(just preserving machine resources for in-house testing).
              As Kumar said, it is possible to run the admin server and one (or more) managed servers
              on the same machine.
              >
              >
              > If the admin listens on 7001/7002 can I just set up the managed server to 7003/7004
              > or will I also run into problems with the multicast address?
              Since the admin server is not part of the cluster, it is perfectly fine to use a
              different set of ports for the managed servers as long as all servers in the same
              cluster use the same ports...
              Hope this helps,
              Robert
              

  • Admin and Managed Server on same machine

              Is it possible to run cluster admin server and one of the managed servers on the
              same machine...(just preserving machine resources for in-house testing).
              If the admin listens on 7001/7002 can I just set up the managed server to 7003/7004
              or will I also run into problems with the multicast address?
              

    John Hufnagle wrote:
              > Is it possible to run cluster admin server and one of the managed servers on the
              > same machine...(just preserving machine resources for in-house testing).
              As Kumar said, it is possible to run the admin server and one (or more) managed servers
              on the same machine.
              >
              >
              > If the admin listens on 7001/7002 can I just set up the managed server to 7003/7004
              > or will I also run into problems with the multicast address?
              Since the admin server is not part of the cluster, it is perfectly fine to use a
              different set of ports for the managed servers as long as all servers in the same
              cluster use the same ports...
              Hope this helps,
              Robert
              

  • Not able to start OHS Apache Server in WLS EM console....

    Hi all,
    WLS 10.3.5 with Web Tier 11g ( 11.1.1.5) installed.
    I installed it with OHS and Web Cache and associated with domain.
    Now I go to FMW control and try to start the OHS and it tells me:
    Could not get secure socket for host and port 6701. The remote OPMN server is probably not running or the OPMN mbean is not properly configured. See the adminserver log for more details."
    The ports are opened...and also AdminServer log shows nothing:
    Snippet:
    :44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319693324886> <BEA-310002> <20% of the total memory in the server is free>
    ####<Oct 27, 2011 12:34:44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319693684899> <BEA-310002> <43% of the total memory in the server is free>
    ####<Oct 27, 2011 12:46:44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319694404922> <BEA-310002> <24% of the total memory in the server is free>
    ####<Oct 27, 2011 12:51:44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319694704935> <BEA-310002> <38% of the total memory in the server is free>
    ####<Oct 27, 2011 12:53:44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319694824939> <BEA-310002> <20% of the total memory in the server is free>
    ####<Oct 27, 2011 12:54:44 AM CDT> <Info> <Health> <wd0847.us.oracle.com> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000000012> <1319694884944> <BEA-310002> <33% of the total memory in the server is free>
    AdminServer-diagnostic:
    3d:-e7f2f3f:13339460297:-8000-0000000000003c3d,0] [APP: em] The region component with id: emTemplate:chartRegion1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    [2011-10-27T00:55:23.769-05:00] [AdminServer] [WARNING] [ADF_FACES-60099] [oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000003c43,0] [APP: em] The region component with id: emTemplate:chartRegion has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    [2011-10-27T00:55:23.794-05:00] [AdminServer] [WARNING] [ADF_FACES-60099] [oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: *761b3eb9132b663d:-e7f2f3f:13339460297:-8000-0000000000003c43,0] [APP: em] The region component with id: emTemplate:chartRegion1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    ******* OPMN Log********
    [2011-10-24T23:50:21][opmn][NOTIFICATION:1][522][OPMN]PM state directory exists: /u02/oracle/Oracle/Middleware/Oracle_WT1/instances/instance1/config/OPMN/opmn/states
    [2011-10-24T23:50:21][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    [2011-10-24T23:50:23][opmn][NOTIFICATION:1][90][OPMN][code:ons-internal]ONS server initiated
    [2011-10-24T23:50:23][opmn][NOTIFICATION:1][522][OPMN][code:pm-internal]PM state directory exists: /u02/oracle/Oracle/Middleware/Oracle_WT1/instances/instance1/config/OPMN/opmn/states
    [2011-10-24T23:50:23][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    [2011-10-24T23:50:24][opmn][NOTIFICATION:1][90][OPMN][code:ons-internal]ONS server initiated
    [2011-10-24T23:50:24][opmn][NOTIFICATION:1][522][OPMN][code:pm-internal]PM state directory exists: /u02/oracle/Oracle/Middleware/Oracle_WT1/instances/instance1/config/OPMN/opmn/states
    [2011-10-24T23:50:24][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    OPMN.out *****
    ail -f opmn.out
    11/10/24 17:57:20 OPMN worker process exited with status 8b. Restarting.
    11/10/24 17:57:21 OPMN worker process exited with status 8b. Restarting.
    11/10/24 17:57:22 OPMN worker process terminated with signal 11 7 times in 7 seconds -- aborting!
    11/10/24 23:50:17 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:18 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:19 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:20 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:22 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:23 OPMN worker process exited with status 8b. Restarting.
    11/10/24 23:50:25 OPMN worker process terminated with signal 11 7 times in 8 seconds -- aborting!
    so you can see , not much there.....
    any ideas, please let me know....                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    As there may be multiple instance homes and each has its own opmn configuration on your host, you may need to try this from your terminal console
    export WT_HOME=/u02/oracle/Oracle/Middleware/Oracle_WT1
    export ORACLE_INSTANCE=$WT_HOME/instances/instance1
    export $ORACLE_HOME=$WT_HOME
    $ORACLE_HOME/opmn/bin/opmnctl status
    If you get the message
    opmnctl status: opmn is not running,
    then
    $ORACLE_HOME/opmn/bin/opmnctl start
    $ORACLE_HOME/opmn/bin/opmnctl status
    If you see that one or more components are "Down", then you will need to do:
    $ORACLE_HOME/opmn/bin/opmnctl startproc process-type=WebCache
    $ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=ohs1
    $ORACLE_HOME/opmn/bin/opmnctl startproc process-type=WebCache-admin
    Finally, you should see something like:
    $ORACLE_HOME/opmn/bin/opmnctl status
    Processes in Instance: instance1
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    webcache1 | WebCache-admin | 21846 | Alive
    webcache1 | WebCache | 21796 | Alive
    ohs1 | OHS | 21806 | Alive
    Edited by: steve_newguy on Feb 27, 2012 12:53 PM

  • Not able to start weblogic portal server

    I installed WebLogic Portal 10.3 server on linux. After creating a domain when I start weblogic I get following exception:
    <Jan 12, 2012 12:46:57 PM IST> <Error> <Security> <BEA-000000> <[Security:090759]A SQLException occurred while retrieving password information
    java.sql.SQLSyntaxErrorException: Schema 'WEBLOGIC' does not exist
    at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
    at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
    at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source)
    at >weblogic.security.providers.authentication.DBMSSQLReadOnlyDatabaseConnectionImpl.getPreparedStatement(DBMSSQLReadOnlyDatabaseConnectionImpl.java:37)
    at weblogic.security.providers.authentication.shared.DBMSSQLRuntimeQueryImpl.passwordStringQuery(DBMSSQLRuntimeQueryImpl.java:82)
    Truncated. see log file for complete stacktrace
    Caused By: org.apache.derby.client.am.SqlException: Schema 'WEBLOGIC' does not exist
    at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source)
    at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source)
    Truncated. see log file for complete stacktrace>
    <Jan 12, 2012 12:46:57 PM IST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Jan 12, 2012 12:46:57 PM IST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time >the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.LoginException: java.sql.SQLSyntaxErrorException: Schema 'WEBLOGIC' does not exist
    at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.authenticateDBMS(DBMSAtnLoginModuleImpl.java:696)
    at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.login(DBMSAtnLoginModuleImpl.java:271)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    Truncated. see log file for complete stacktrace>I know it means WEBLOGIC schema does not exist. But don't know how can I create it?
    The steps I followed:
    1. Run ./config.sh from wlserver_10.3/common/bin to create new domain.
    2. Run ./craete_db.sh from newly created domain folder.
    3. Run ./startWeblogic.sh
    Edited by: 907606 on Jan 12, 2012 1:58 AM

    Ravi Jegga wrote:
    Hi
    Its been a while I have not worked on Weblogic Portal. BUT after creating the Portal Domain using config wizard, why did you again run create_db scripts. As far as I know, this is NOT required. Is your intention to change the portal db schema to some other database like to Oracle etc. Then why don't you do that at the time of domain creation itself. Give those DB details. create_db is if you ever want to use any other db to have your portal schemas. After doing this, you also should run one more .sql file in one of the folders under your domain root folder structure (something like yourdomain/security/SQLAuthenticator.sql).
    Now, the main point is, what ever database you use, when you run Config Wizard and choose Portal Domain facet and click next, next, at one of the screens, it shows all the Portal DataSources details (have default db or modify to use oracle etc). BUT the main thing is in next screen, when you test all these DataSources, there should be button in the bottom like Run Scripts. Make sure to hit this button. Because this will create and run full portal schema scripts. You cannot miss this. Complete the domain creation and start the domain and try again.
    Thanks
    Ravi JeggaHow can I run that extra .sql file? The steps I follow in creating domain is as follows:
    Steps:
    1. Select Create new weblogic domain.
    2. Select Choose Weblogic Platform componenets.
    3. Select Basic WebLogic Server Domain - 10.3.4.0 [wlserver_10.3] and WebLogic Portal - 10.3.4.0.
    4. Enter domain name.
    5. Enter username/password.
    6. Select development mode.
    7. Select JRockit SDK 1.6.0_22 @ /usr/local/Oracle/jrockit_160_22_D1.1.1-3
    8. Got following on screen:
    Edit the configuration of JDBC data sources. A data source contains a pool of database connections. Applications look up a data source in the JNDI tree, request a connection, use it, and
    return it to the connection pool.
    | Name |
    _|__________________________|
    1| cgDataSource |
    2| portalDataSourceAlwaysXA |
    3| portalDataSource |
    4| p13nDataSource |
    5| cgDataSource-nonXA |
    6| portalDataSourceNeverXA |
    Use above value or select another option:
    1 - Modify
    2 - Discard Changes
    Enter option number to select OR [Exit][Previous][Next]>Done nothing and go to next screen.
    9. Following appears:
    If your connections tested OK, you may now run database scripts. For each JDBC data source, you will select the desired database loading options and database version.
    1|p13nDataSource
    2|portalDataSource
    3|portalDataSourceAlwaysXA
    4|portalDataSourceNeverXA
    5|cgDataSource
    6|cgDataSource-nonXA
    ->7|Skip JDBC Configuration
    Enter index number to select OR [Exit][Previous][Next]> Here selected every datasource one by one and loaded their database.
    10. Select Administration Server.
    11. Following screen:
    Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.
    | Name | Value |
    _|__________________|_____________________|
    1| *Name:      |     AdminServer     |
    2| *Listen address: | All Local Addresses |
    3| Listen port: | 7001 |
    4| SSL listen port: | N/A |
    5| SSL enabled: | false |
    Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"     Kept all things default and gone to next screen.
    12. Go to domain directory and run ./startWebLogic.sh.
    13. Got following exception:
    <Jan 13, 2012 10:03:00 AM IST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: ><openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class >"kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details..
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There >was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace
    Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static >getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    Truncated. see log file for complete stacktrace
    Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class >"kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:99)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: There were errors initializing your configuration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.openjpa.util.StoreException: The connection was refused >because the database weblogic_eval was not found.
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    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:597)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.sql.SQLNonTransientConnectionException: The connection was refused because the database weblogic_eval was not found.
    at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
    at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
    at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
    at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)
    at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)
    at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)
    at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    ... 37 more
    Caused by: org.apache.derby.client.am.DisconnectException: The connection was refused because the database weblogic_eval was not found.
    at org.apache.derby.client.net.NetConnectionReply.parseRDBNFNRM(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
    at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
    at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
    at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
    at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
    ... 45 more
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:302)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    Truncated. see log file for complete stacktrace
    <Jan 13, 2012 10:03:00 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 13, 2012 10:03:00 AM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)>14. Due to above I have to run create_db.sh and then I started getting the exception described in question above.

  • Starting a managed server session and keeping the session when you exit

    I created a managed server named "xxx_mgd" with the create managed server wizard in the admin console
    when I start the managed server it produces a prompt for the username and password, whcih is the same username
    and password entered when i was created. The issue I have is that when I exit the session, the process dies.
    In comparison to the starting of the admin server, which is started with custom scripts which calls the standard wl startup scripts and it runs in background using nohup....
    Is there away to start my managed server the same way, so that it stays running when you exit. I have tried running it as the admin server, using an option where the password if fed, but it dies and never startup
    If you have any clue let me know
    Joseph

    Assuming that you are running WebLogic version 9.x and above.
    Copy the "security" folder inside DOMAIN_HOME/servers/AdminServer directory to DOMAIN_HOME/servers/ManagedServer directory.
    This security folder will have boot.properties file which contains encrypted username and password which is used when starting the server.
    You can run Admin Server in background using nohup command as below from DOMAIN_DIRECTORY. This command will redirect stdout to AdminServer.out file.
    nohup ./startWebLogic>>AdminServer.out &
    You can run Managed Server in background using nohup command as below from DOMAIN_DIRECTORY/bin folder. This command will redirect stdout to ManagedServer.out file.
    nohup ./startManagedWebLogic.sh <Managed Server Name> t3://<AdminServerListenAddress>:<PortNo> >>ManagedServer.out &
    Hope this helps.
    - Tarun
    Edited by: Tarun Boyella on Feb 3, 2011 2:09 PM

  • Not able to start Managed server using nohup command and failed to authenticate weblogic user

    Hi,
    I stopped weblogic Admin server, managed server and opmnctl. and restarted Admin server successfully but I'm able to start managed start without nohup command. if I use nohup command then it's not able to get authenticate and faild to start managed server. I created boot.property file with weblogic user name and password still not working. is there anyother way to suppy login credentials for managed server?
    how can I supply login credentials in below command?
    nohup ./startManagedWebLogic.sh bi_server1 t3://machine:7001 > bis1_startup.log &
    Appreciate you for your help
    Thanks
    Jay.

    /app/obiee_11g/Oracle_BI1/jdk/bin/java -server -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics -Dweblogic.Name=bi_server1 -Djava.security.policy=/app/obiee_11g/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/app/obiee_11g/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/app/obiee_11g/wlserver_10.3 -Dwls.home=/app/obiee_11g/wlserver_10.3/server -Dweblogic.home=/app/obiee_11g/wlserver_10.3/server -Dcommon.components.home=/app/obiee_11g/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/app/obiee_11g/user_projects/domains/bifoundation_domain -Djrockit.optfile=/app/obiee_11g/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig/servers/bi_server1 -Doracle.domain.config.dir=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig/carml -Digf.arisidstack.home=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/app/obiee_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/app/obiee_11g/oracle_common/modules/oracle.ossoiap_11.1.1,/app/obiee_11g/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dbi.oracle.home=/app/obiee_11g/Oracle_BI1 -DEPM_ORACLE_HOME=/app/obiee_11g/Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=/app/obiee_11g/Oracle_BI1 -DHYPERION_HOME=/app/obiee_11g/Oracle_BI1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=/app/obiee_11g/Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/fmwconfig -Depm.useApplicationContextId=false -Doracle.biee.search.bisearchproperties=/app/obiee_11g/Oracle_BI1/bifoundation/jee/BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.dir=/app/obiee_11g/user_projects/domains/bifoundation_domain/config/bipublisher -DXDO_FONT_DIR=/app/obiee_11g/Oracle_BI1/common/fonts -Drtd.instanceName=RTD_bi_server1 -Dem.oracle.home=/app/obiee_11g/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=false -Dweblogic.management.server=01scqabi01.natusmed.natus.com:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/app/obiee_11g/patch_wls1035/profiles/default/sysext_manifest_classpath weblogic.Server
    <Nov 17, 2013 12:24:00 AM PST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Nov 17, 2013 12:24:00 AM PST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Nov 17, 2013 12:24:01 AM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.10-b01 from Sun Microsystems Inc.>
    <Nov 17, 2013 12:24:07 AM PST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
    Enter password to boot WebLogic server:
    <Nov 17, 2013 12:24:07 AM PST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Nov 17, 2013 12:24:09 AM PST> <Error> <Configuration Management> <BEA-150021> <The admin server failed to authenticate the identity of the user starting the managed server. The reason for the error is .>
    <Nov 17, 2013 12:24:09 AM PST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://01scqabi01.natusmed.natus.com:7001.>
    <Nov 17, 2013 12:24:09 AM PST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
    <Nov 17, 2013 12:24:09 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 17, 2013 12:24:09 AM PST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Nov 17, 2013 12:24:09 AM PST> <Notice> <Log Management> <BEA-170019> <The server log file /app/obiee_11g/user_projects/domains/bifoundation_domain/servers/bi_server1/logs/bi_server1.log is opened. All server side log events will be written to this file.>
    <Nov 17, 2013 12:24:19 AM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Nov 17, 2013 12:24:20 AM PST> <Critical> <Security> <BEA-090403> <Authentication for user denied>
    <Nov 17, 2013 12:24:20 AM PST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
    weblogic.security.SecurityInitializationException: Authentication for user denied
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:965)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Nov 17, 2013 12:24:20 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Nov 17, 2013 12:24:20 AM PST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Nov 17, 2013 12:24:20 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

  • Not able to start managed server

    Hi All,
    soa_suite 11.1.3.0, While starting managed server i am getting below errror,
    Caused By: oracle.security.jps.JpsRuntimeException: JPS-01538: The default polic
    y provider was not found.
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:273)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:265)
            at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:136)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: JPS-01538: The default policy provi
    der was not found.
            at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:705)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:271)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:265)
            at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:136)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: JPS-01514: The default context is m
    issing in jps-config.xml.
            at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:665)
            at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:650)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:650)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:271)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-00056
    : Failed to create identity store service instance idstore.ldap.provider:idstore
    .ldap. Reason: weblogic.security.service.SecurityServiceRuntimeException: Invali
    d host or port for admin server..
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.g
    etIdStoreConfig(LdapIdentityStoreProvider.java:228)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.g
    etInstance(LdapIdentityStoreProvider.java:110)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.g
    etInstance(LdapIdentityStoreProvider.java:61)
            at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
    iceInstance(ContextFactoryImpl.java:139)
            at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
    xt(ContextFactoryImpl.java:170)
            Truncated. see log file for complete stacktrace
    >
    <Jun 10, 2013 8:38:56 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FAILED>
    <Jun 10, 2013 8:38:56 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down>
    <Jun 10, 2013 8:38:56 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FORCE_SHUTTING_DOWN>
    Could anyone please help me out to resolve this??
    Thanks,
    Santosh M E

    Hi Santosh
    Looks like root cause is "Invalid host or port for admin server.." as shown in the above logs in the last lines. The way we start any Managed Server is from domain/bin folder,
    startManagedWeblogic nameofmanagedserver adminhost:adminport (Example: startManagedWeblogic soa_server1 http://localhost:7001). Now, if the last part is NOT mentioned, basically it takes default host as localhost and default port as 7001. Say for example if you do have Admin Server running at localhost and at 7001, then just startManagedWeblogic.cmd sao_server1 will work. BUT if your AdminServer is on different machine or if AdminPort is NOT 7001, then it will fail. So I am guessing, mostly your admin port may not be 7001. Open Config.xml file under your domain/config folder and there you can see details for adminserver (host, port), soa_server1 (host, port etc).
    If AdminServer is NOT running at 7001, then you had to use command like this: startManagedWeblogic.cmd nameofmanagedserver adminhost:adminport
    Thanks
    Ravi Jegga

  • Weblogic Manage server not able to start

    I have weblogic portal 10.2 servers. I unable to restart one manage server. I have tried it several time but I found that the in the log same message was coming in the log file. Is there any one who can help me?
    ==================================================================
    <Aug 30, 2011 1:29:25 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>N/A N/A>
    <Aug 30, 2011 1:29:25 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getDecrAttraction] previous=0, current=1>
    <Aug 30, 2011 1:29:25 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getIncrAttraction] next=0, current=1>
    <Aug 30, 2011 1:29:25 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>attraction decr=0.0, incr=0.5, rand=0.14891457557678223>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>active threads: 1, standby: 0, idle: 1, hogs: 1>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>y,dCompleted,elapsedTime,threadUse,n,usedThreads,queuelength= 0 1 2002 0 1 0 0>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>RESETTING maxThroughput and maxY>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>N/A N/A>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getDecrAttraction] previous=0, current=1>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getIncrAttraction] next=0, current=1>
    <Aug 30, 2011 1:29:27 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>attraction decr=0.0, incr=0.5, rand=0.21662551164627075>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>active threads: 1, standby: 0, idle: 1, hogs: 1>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>y,dCompleted,elapsedTime,threadUse,n,usedThreads,queuelength= 0 0 2001 0 1 0 0>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.Rejector@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.kernel.Default@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.kernel.System@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.kernel.Non-Blocking@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>direct@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>ImageWorkManager@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.admin.RMI@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.logging.DomainLogBroadcasterClient@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><ThreadPriorityManager>weblogic.logging.LogBroadcaster@null@null has incr 21>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>RESETTING maxThroughput and maxY>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>N/A N/A>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getDecrAttraction] previous=0, current=1>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getIncrAttraction] next=0, current=1>
    <Aug 30, 2011 1:29:29 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>attraction decr=0.0, incr=0.5, rand=0.9752198457717896>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>active threads: 1, standby: 0, idle: 1, hogs: 1>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>y,dCompleted,elapsedTime,threadUse,n,usedThreads,queuelength= 0 1 2002 0 1 0 0>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>RESETTING maxThroughput and maxY>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>N/A N/A>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getDecrAttraction] previous=0, current=1>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getIncrAttraction] next=0, current=1>
    <Aug 30, 2011 1:29:31 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>attraction decr=0.0, incr=0.5, rand=0.4581933617591858>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>active threads: 1, standby: 0, idle: 1, hogs: 1>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>y,dCompleted,elapsedTime,threadUse,n,usedThreads,queuelength= 0 0 2001 0 1 0 0>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>RESETTING maxThroughput and maxY>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>N/A N/A>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getDecrAttraction] previous=0, current=1>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>[getIncrAttraction] next=0, current=1>
    <Aug 30, 2011 1:29:33 AM MDT> <Debug> <SelfTuning> <BEA-000000> <<ThreadPriorityManager><IncrAdvisor>attraction decr=0.0, incr=0.5, rand=0.06559598445892334>

    I was trying to start the manage server from start up script. In the log no Error is there it is right but same message is logging in the log file. I think any way it fallen in infinity loop.
    If any one help, It will be very very help full for me. I can't understand how I resolved the problem.

Maybe you are looking for

  • A/P invoice Document Date

    Hello, I just need some clarification on what the difference is between a posting date and a document date on an a/p invoice? I'm guessing the posting date is the date of which the client enters the document into the system Is the document date the d

  • AS2 Server - Error

    Hi All,   Seeburger AS2 adapter is used in the integration. So while opening the AS2 server using the URL http://<host>:<port>/SeeburgerAS2/AS2Server, I am getting the following error 500   Internal Server Error Application error occurred during requ

  • Deployment wizard (OAS EJB)

    Why do I get There is nothing to process in jar file I:\\ows_4082\\ows\\upload\\691MyOASAppSource.jar. Compilation of idl interfaces for I:\\ows_4082\\ows\\upload\\691MyOASAppSource.jar failed! if I try to deploy my bc4j appmodule to an oas 4.0.8.2 a

  • How to Install OC4j in linux

    Hi all.. I am novice user of Linux Platform... I wanted to install oc4j under linux.. The Staps in followed .. 1.. i have installed jdk 1.3.1 linux version 2.. i have unzipped to ,zip file after this i have set the path but duuno how to set the class

  • Unable to open OBS (fatal error)

    Whenever I try to open OBS (yes, I know it's windows only, but since it's open source, I thought I would port it, everyone says it works for them), it gives me a crash report. From what you really need to know is: Dyld Error Message:   Library not lo