This discussion is archived
9 Replies Latest reply: Feb 1, 2013 8:21 AM by MarianoP76 RSS

Linux - cannot start admin server via wlst

963952 Newbie
Currently Being Moderated
Hello,

I'm trying to start AdminServer via wslt engine, but it unable to start. My scripts are:

startsSevers.py:

bea_home = '/home/oracle/Oracle/Middleware';
pathseparator = '/';
admin_username = 'weblogic';
admin_password = '1q2w3e1q2w3e';
listen_address = 'localhost';
listen_port = '5556';
admin_server_url='t3://localhost:7002'
domain_name = 'biatelbit.pl';
domain_home = bea_home + pathseparator + 'user_projects' + pathseparator + 'domains' + pathseparator + domain_name;

print 'CONNECT TO NODE MANAGER';
nmConnect(admin_username, admin_password, listen_address, listen_port, domain_name, domain_home, 'ssl');

print 'START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT';
nmStart('AdminServer');

print 'CONNECT TO ADMIN SERVER';
connect(admin_username, admin_password, admin_server_url);

print 'START MANAGED SERVERS ON THE MACHINE';
start('odi_server1','Server');

startServersService.sh (used to invoke wlst):

#!/bin/sh

BEA_HOME="/home/oracle/Oracle/Middleware"
export BEA_HOME

WL_HOME="/home/oracle/Oracle/Middleware/wlserver_10.3"
export WL_HOME

. ${WL_HOME}/common/bin/wlst.sh ${BEA_HOME}/deploy/scripts/startServers.py


Of course, node manager is running and connection to it is succesfull - this is console output:
[oracle@eB-ETL2 scripts]$ ./startServersService.sh

CLASSPATH=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

CONNECT TO NODE MANAGER
Connecting to Node Manager ...
<2012-12-18 11:44:57 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2012-12-18 11:45:02 CET> <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>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<2012-12-18 11:45:08 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
Successfully Connected to Node Manager.
START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT
Starting server AdminServer ...

But admin server is unable to start - this is log messages:
####<2012-12-18 11:45:54 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827554666> <BEA-149059> <Module dms.war of application DMS Application [Version=11.1.1.1.0] is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
####<2012-12-18 11:45:54 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827554783> <BEA-149061> <Module dms.war of application DMS Application [Version=11.1.1.1.0] failed to transition from STATE_NEW to STATE_PREPARED on server AdminServer.>
####<2012-12-18 11:45:54 CET> <Error> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827554788> <BEA-149205> <Failed to initialize the application 'DMS Application [Version=11.1.1.1.0]' due to error java.lang.ClassNotFoundException: oracle.dms.http.Request.
java.lang.ClassNotFoundException: oracle.dms.http.Request
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
     at java.lang.Class.getDeclaredFields0(Native Method)
     at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
     at java.lang.Class.getDeclaredFields(Class.java:1743)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98)
     at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:226)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
     at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1370)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:450)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
     at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
     at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
     at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:44)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
     at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
     at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
     at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
     at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
     at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
     at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
     at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
     at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.ClassNotFoundException: oracle.dms.http.Request
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
     at java.lang.Class.getDeclaredFields0(Native Method)
     at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
     at java.lang.Class.getDeclaredFields(Class.java:1743)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1024)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1017)
     at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:98)
     at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:226)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
     at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1370)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:450)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
     at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
     at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
     at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:44)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
     at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
     at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
     at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
     at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
     at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
     at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
     at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
     at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
####<2012-12-18 11:45:55 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827555517> <BEA-149059> <Module / of application FMW Welcome Page Application [Version=11.1.0.0.0] is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
####<2012-12-18 11:45:55 CET> <Error> <HTTP> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827555558> <BEA-101371> <There was a failure when processing annotations for application /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/tmp/_WL_user/FMW Welcome Page Application_11.1.0.0.0/cb7uge/fmw-welcome.war. Please make sure that the annotations are valid. The error is oracle.dms.wls.DMSServletFilter>
####<2012-12-18 11:45:55 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827555560> <BEA-149061> <Module / of application FMW Welcome Page Application [Version=11.1.0.0.0] failed to transition from STATE_NEW to STATE_PREPARED on server AdminServer.>
####<2012-12-18 11:45:55 CET> <Error> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827555564> <BEA-149205> <Failed to initialize the application 'FMW Welcome Page Application [Version=11.1.0.0.0]' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
weblogic.application.ModuleException: Failed to load webapp: '/'
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
     at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
     at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
     at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
     at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
     at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
     at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
     at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
     at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
     at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processFilters(WebAnnotationProcessorImpl.java:238)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:210)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
     at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1370)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:450)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
     at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
     at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
     at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
     at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
     at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
     at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
     at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
     at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
     at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
     at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
     at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
####<2012-12-18 11:45:56 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827556332> <BEA-149059> <Module /inspection.wsil of application wsil-wls is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
####<2012-12-18 11:45:59 CET> <Info> <Deployer> <eB-ETL2.puw> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1355827559134> <BEA-149061> <Module /inspection.wsil of application wsil-wls failed to transition from STATE_NEW to STATE_PREPARED on server AdminServer.>

What's wrong? If I start AdminServer using this command:
/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/bin/startWebLogic.sh - it starts without any exceptions.

Do you have any ideas why my server is unable to start when using wlst engine? I need this to implement auto start scripts on my server.
  • 1. Re: Linux - cannot start admin server via wlst
    MarianoP76 Newbie
    Currently Being Moderated
    It seems classpath for Fusion Middleware components is not loaded correctly, try to
    - Put "StartScriptEnabled=true" into nodemanager.properties
    OR
    - Put the same classpath set up by startWebLogic.sh into "Server Start" section of the console (although I'm not sure this works with Admin instance...)

    bye

    Mariano
  • 2. Re: Linux - cannot start admin server via wlst
    963952 Newbie
    Currently Being Moderated
    Hello,

    I've set StartScriptEnabled=true in nodemanaber.properties. AdminServer starts without any error, but there is another exception while starting managed server. This is console output:

    ./startServersService.sh

    CLASSPATH=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::

    Initializing WebLogic Scripting Tool (WLST) ...

    Welcome to WebLogic Server Administration Scripting Shell

    Type help() for help on available commands

    CONNECT TO NODE MANAGER
    Connecting to Node Manager ...
    <2013-01-08 08:46:25 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <2013-01-08 08:46:25 CET> <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>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-08 08:46:26 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Successfully Connected to Node Manager.
    START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT
    Starting server AdminServer ...
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Rotated server output log to "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out00006">
    2013-01-08 08:46:26 weblogic.nodemanager.server.LogFileRotationUtil log
    INFO: Rotated server output log to "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out00006"
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Server error log also redirected to server log>
    2013-01-08 08:46:26 weblogic.nodemanager.server.LogFileRotationUtil log
    INFO: Server error log also redirected to server log
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Starting WebLogic server with command line: /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/bin/startWebLogic.sh >
    2013-01-08 08:46:26 weblogic.nodemanager.server.AbstractServerManager log
    INFO: Starting WebLogic server with command line: /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/bin/startWebLogic.sh
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Working directory is '/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl'>
    2013-01-08 08:46:26 weblogic.nodemanager.server.AbstractServerManager log
    INFO: Working directory is '/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl'
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Rotated server output log to "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out00007">
    2013-01-08 08:46:26 weblogic.nodemanager.server.LogFileRotationUtil log
    INFO: Rotated server output log to "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out00007"
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Server error log also redirected to server log>
    2013-01-08 08:46:26 weblogic.nodemanager.server.LogFileRotationUtil log
    INFO: Server error log also redirected to server log
    <2013-01-08 08:46:26> <INFO> <biatelbit.pl> <AdminServer> <Server output log file is '/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out'>
    2013-01-08 08:46:26 weblogic.nodemanager.server.AbstractServerManager log
    INFO: Server output log file is '/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/AdminServer/logs/AdminServer.out'
    Successfully started server AdminServer ...
    CONNECT TO ADMIN SERVER
    Connecting to t3://localhost:7002 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'biatelbit.pl'.

    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.

    START MANAGED SERVERS ON THE MACHINE

    Starting server odi_server1 ...No stack trace available.
    This Exception occurred at Tue Jan 08 08:48:58 CET 2013.
    weblogic.management.scripting.ScriptException: Error occured while performing start : Unable to lookup the ServerLifeCycleRuntimeMBean for server odi_server1
    Problem invoking WLST - Traceback (innermost last):
    File "/home/oracle/Oracle/Middleware/deploy/scripts/startServers.py", line 21, in ?
    File "<iostream>", line 1279, in start
    File "<iostream>", line 1847, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Unable to lookup the ServerLifeCycleRuntimeMBean for server odi_server1
    Use dumpStack() to view the full stacktrace

    <2013-01-08 08:48:59> <WARNING> <Uncaught exception in server handlerjava.io.IOException: Read did not get bytes, but bytes are available>
    java.io.IOException: Read did not get bytes, but bytes are available
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.read(Unknown Source)
    at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at weblogic.nodemanager.server.Handler.run(Handler.java:71)
    at java.lang.Thread.run(Thread.java:662)

    2013-01-08 08:48:59 weblogic.nodemanager.server.Handler run
    WARNING: Uncaught exception in server handlerjava.io.IOException: Read did not get bytes, but bytes are available
    java.io.IOException: Read did not get bytes, but bytes are available
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.read(Unknown Source)
    at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at weblogic.nodemanager.server.Handler.run(Handler.java:71)
    at java.lang.Thread.run(Thread.java:662)

    What have I ommited? I can't find any useful info about this error message in google. Can you tell me any tips what's wrong? Thanks.

    Edited by: 960949 on 2013-01-07 23:57
  • 3. Re: Linux - cannot start admin server via wlst
    MarianoP76 Newbie
    Currently Being Moderated
    I suggest you three things to try and check:

    - Check into domain configuration that the exact name of the managed instance is "odi_server1"

    - Put "nmDisconnect()" after "nmStart('AdminServer');" and before connecting to the admin server.

    - In the .sh script change
    . ${WL_HOME}/common/bin/wlst.sh ${BEA_HOME}/deploy/scripts/startServers.py
    with
    ${WL_HOME}/common/bin/wlst.sh ${BEA_HOME}/deploy/scripts/startServers.py
    ... This is only as a try to see if a different output is generated.

    Bye

    Mariano
  • 4. Re: Linux - cannot start admin server via wlst
    963952 Newbie
    Currently Being Moderated
    You are right, this was my mistake. Managed server name was provided incorrectly. But, after making some changed (disable hostname verification and provide valid managed server name) I still have some problems. This is console output:

    ./startServersService.sh

    CLASSPATH=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::

    Initializing WebLogic Scripting Tool (WLST) ...

    Welcome to WebLogic Server Administration Scripting Shell

    Type help() for help on available commands

    CONNECT TO NODE MANAGER
    Connecting to Node Manager ...
    <2013-01-10 10:01:58 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <2013-01-10 10:01:58 CET> <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>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-10 10:01:59 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Successfully Connected to Node Manager.
    START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT
    Starting server AdminServer ...
    Successfully started server AdminServer ...
    CONNECT TO ADMIN SERVER
    Connecting to t3://localhost:7002 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'biatelbit.pl'.

    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.

    START MANAGED SERVERS ON THE MACHINE

    Starting server biatelbit_odi ....Access to domain 'biatelbit.pl' for user 'sdjqJgxaOx' denied
    No stack trace available.
    This Exception occurred at Thu Jan 10 10:03:09 CET 2013.
    weblogic.management.scripting.ScriptException: Error occured while performing start : Server with name biatelbit_odi failed to be started
    Problem invoking WLST - Traceback (innermost last):
    File "/home/oracle/Oracle/Middleware/deploy/scripts/startServers.py", line 21, in ?
    File "<iostream>", line 1279, in start
    File "<iostream>", line 1847, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name biatelbit_odi failed to be started
    Use dumpStack() to view the full stacktrace


    Why user provided is 'sdjqJgxaOx' ? And how can I setup correct credentials? File boot.properties inside my domain directory is not even loaded, because username/passwrod are not encrypted. However, this file is used when I provide it as argument when starting admin server, this way:
    /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/bin/startWebLogic.sh -Dweblogic.system.BootIdentityFile=/home/oracle/Oracle/Middleware/boot.properties

    But this is for admin server only. Where to set correct credentials in my case? I've also tried to change nm_password.properties file - but this is for NodeManager only. And connecting to NodeManager works - as you can see. Do you have any ideas what's wrong?
  • 5. Re: Linux - cannot start admin server via wlst
    Fabian Pro
    Currently Being Moderated
    Hi,

    1st)Can you make the below changes in startsSevers.py file
    start('managedServerName','Server','managedServerURL')

    For example,
    start('managed1','Server','t3://localhost:7701')


    Your code is looks as below.
    print 'CONNECT TO ADMIN SERVER';
    connect(admin_username, admin_password, admin_server_url);
    print 'START MANAGED SERVERS ON THE MACHINE';
    start('biatelbit_odi','Server');
    2nd,Run the scripts with user through which you have installed weblogic,
    for example if you have installed weblogic through "weblogic"user and your trying to execute script through "sdjqJgxaOx",You might face problems.

    Regards,
    Fabian
  • 6. Re: Linux - cannot start admin server via wlst
    963952 Newbie
    Currently Being Moderated
    Hello,

    I have no idea why user name for node manager is was set as "sdjqJgxaOx"?? This is definitely some auto generated value. As the result, node manager was not accesible to my managed server. I don't know how to fix this by editing config files (please tell if you know this), but after providing correct credentials using weblogic administration console problem is gone.
  • 7. Re: Linux - cannot start admin server via wlst
    Fabian Pro
    Currently Being Moderated
    Hi,

    To change the default Node Manager username and password,
    Startup the Admin Server and access the administration console.
    Then, click your domain’s name from the “Domain Structure” area
    Then navigate to the “Security” tab and click on “Advanced”.
    You will find the Node Manager credentials
    Click “Lock and Edit” and change the credentials, then click “Save” and “Activate Changes”. No restarts are required.

    Also Add managedServerURL in your py file for starting managed server,as suggested in my prev post
    start('managedServerName','Server','managedServerURL')

    Regards
    Fabian
  • 8. Re: Linux - cannot start admin server via wlst
    963952 Newbie
    Currently Being Moderated
    Hmm, still there is something I don't understand. I've created second domain, called 'biatelbit_puw'. It has its own AdminServer and one managed server called 'biatelbit_puw_odi". I want to start/stop these 2 domains separately. So, I've created scripts to start 'biatelbit_puw' domain:

    *startBiatelbit_puw.Service.sh:*
    #!/bin/sh

    BEA_HOME="/home/oracle/Oracle/Middleware"
    export BEA_HOME

    WL_HOME="/home/oracle/Oracle/Middleware/wlserver_10.3"
    export WL_HOME

    . ${WL_HOME}/common/bin/wlst.sh ${BEA_HOME}/deploy/scripts/startBiatelbit_puw.py

    *startBiatelbit_puw.py:*
    bea_home = '/home/oracle/Oracle/Middleware';
    pathseparator = '/';
    admin_username = 'weblogic';
    admin_password = '1q2w3e1q2w3e';
    listen_address = 'localhost';
    listen_port = '5556';
    admin_server_url='t3://localhost:7003'
    domain_name = 'biatelbit_puw';
    domain_home = bea_home + pathseparator + 'user_projects' + pathseparator + 'domains' + pathseparator + domain_name;

    print 'CONNECT TO NODE MANAGER';
    nmConnect(admin_username, admin_password, listen_address, listen_port, domain_name, domain_home, 'ssl');

    print 'START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT';
    nmStart('AdminServer');

    print 'CONNECT TO ADMIN SERVER';
    connect(admin_username, admin_password, admin_server_url);

    print 'START MANAGED SERVERS ON THE MACHINE';
    start('biatelbit_puw_odi','Server');

    Start node manager script is not changed. So, *start node manager output (no errors):*

    CLASSPATH=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/ext/jdbc/firebird/jaybird-full-2.2.1.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::

    Initializing WebLogic Scripting Tool (WLST) ...

    Welcome to WebLogic Server Administration Scripting Shell

    Type help() for help on available commands

    Launching NodeManager ...
    Properties: {ListenAddress=localhost,ListenPort=5556,NodeManagerHome=/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager,}
    Command: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java -classpath /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/i18n.jar:/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/ext/jdbc/firebird/jaybird-full-2.2.1.jar:/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar weblogic.NodeManager -v
    NMProcess: <2013-01-11 10:12:32> <INFO> <Loading domains file: /home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains>
    NMProcess: 2013-01-11 10:12:32 weblogic.nodemanager.server.NMServerConfig initDomainsMap
    NMProcess: INFO: Loading domains file: /home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
    NMProcess: <2013-01-11 10:12:33> <INFO> <Loading identity key store: FileName=/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
    NMProcess: 2013-01-11 10:12:33 weblogic.nodemanager.server.SSLConfig loadKeyStoreConfig
    NMProcess: INFO: Loading identity key store: FileName=/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true
    NMProcess: <2013-01-11 10:12:33> <INFO> <Loaded node manager configuration properties from '/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'>
    NMProcess: 2013-01-11 10:12:33 weblogic.nodemanager.server.NMServer <init>
    NMProcess: INFO: Loaded node manager configuration properties from '/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'
    NMProcess: Node manager v10.3
    NMProcess:
    NMProcess: Configuration settings:
    NMProcess:
    NMProcess: NodeManagerHome=/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager
    NMProcess: ListenAddress=localhost
    NMProcess: ListenPort=5556
    NMProcess: ListenBacklog=50
    NMProcess: SecureListener=true
    NMProcess: AuthenticationEnabled=true
    NMProcess: NativeVersionEnabled=true
    NMProcess: CrashRecoveryEnabled=false
    NMProcess: JavaHome=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
    NMProcess: StartScriptEnabled=true
    NMProcess: StopScriptEnabled=false
    NMProcess: StartScriptName=startWebLogic.sh
    NMProcess: StopScriptName=
    NMProcess: LogFile=/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
    NMProcess: LogLevel=INFO
    NMProcess: LogLimit=0
    NMProcess: LogCount=1
    NMProcess: LogAppend=true
    NMProcess: LogToStderr=true
    NMProcess: LogFormatter=weblogic.nodemanager.server.LogFormatter
    NMProcess: DomainsFile=/home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
    NMProcess: DomainsFileEnabled=true
    NMProcess: StateCheckInterval=500
    NMProcess: QuitEnabled=true
    NMProcess: UseMACBroadcast=false
    NMProcess: DomainRegistrationEnabled=false
    NMProcess: DomainsDirRemoteSharingEnabled=false
    NMProcess:
    NMProcess: Domain name mappings:
    NMProcess:
    NMProcess: biatelbit_puw -> /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw
    NMProcess: biatelbit.pl -> /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl
    NMProcess:
    NMProcess: <2013-01-11 10:12:33> <INFO> <biatelbit.pl> <biatelbit_odi> <Startup configuration properties loaded from "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/biatelbit_odi/data/nodemanager/startup.properties">
    NMProcess: 2013-01-11 10:12:33 weblogic.nodemanager.server.AbstractServerManager log
    NMProcess: INFO: Startup configuration properties loaded from "/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit.pl/servers/biatelbit_odi/data/nodemanager/startup.properties"
    NMProcess: <2013-01-11 10:12:34 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    NMProcess: <2013-01-11 10:12:34 CET> <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>
    NMProcess: <2013-01-11 10:12:34 CET> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
    NMProcess: <2013-01-11 10:12:34> <INFO> <Secure socket listener started on port 5556, host localhost/127.0.0.1>
    NMProcess: 2013-01-11 10:12:34 weblogic.nodemanager.server.SSLListener run
    NMProcess: INFO: Secure socket listener started on port 5556, host localhost/127.0.0.1
    Successfully launched the Node Manager.
    The Node Manager process is running independent of the WLST process.
    Exiting WLST will not stop the Node Manager process. Please refer
    to the Node Manager logs for more information.
    The Node Manager logs will be under /home/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager
    Node Manager starting in the background

    But, new domain's AdminServer is unable to start:
    *[oracle@eB-ETL1 scripts]$ ./startBiatelbit_puw.Service.sh*

    CLASSPATH=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/ext/jdbc/firebird/jaybird-full-2.2.1.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::

    Initializing WebLogic Scripting Tool (WLST) ...

    Welcome to WebLogic Server Administration Scripting Shell

    Type help() for help on available commands

    CONNECT TO NODE MANAGER
    Connecting to Node Manager ...
    <2013-01-11 10:13:40 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <2013-01-11 10:13:40 CET> <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>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <2013-01-11 10:13:41 CET> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Successfully Connected to Node Manager.
    START ADMIN SERVER ONLY ON THE MACHINE WHERE THE ADMIN SERVER IS PRESENT
    Starting server AdminServer ...
    Error Starting server AdminServer: weblogic.nodemanager.NMException: Exception while starting server 'AdminServer'
    CONNECT TO ADMIN SERVER
    Connecting to t3://localhost:7003 with userid weblogic ...
    This Exception occurred at Fri Jan 11 10:13:58 CET 2013.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7003: Destination unreachable; nested exception is:
            java.net.ConnectException: Connection refused; No available router to destination]
    Problem invoking WLST - Traceback (innermost last):
    File "/home/oracle/Oracle/Middleware/deploy/scripts/startBiatelbit_puw.py", line 18, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7003
    Use dumpStack() to view the full stacktrace

    *Admin server output:*
    <2013-01-11 10:13:41> <INFO> <NodeManager> <Server output log file is '/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/servers/AdminServer/logs/AdminServer.out'>
    .
    .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
    .
    WLS Start Mode=Production
    .
    CLASSPATH=/home/oracle/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/ext/jdbc/firebird/jaybird-full-2.2.1.jar:/home/oracle/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/home/oracle/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/oracle/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/server/ext/jdbc/firebird/jaybird-full-2.2.1.jar::/home/oracle/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::
    .
    PATH=/home/oracle/Oracle/Middleware/wlserver_10.3/server/bin:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin:/home/oracle/Oracle/Middleware/wlserver_10.3/server/bin:/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/u01/app/oracle/product/11.2.0/client_1:/home/oracle/bin
    .
    ***************************************************
    * 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_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
    Starting WLS with line:
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=/home/oracle/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/oracle/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/oracle/Oracle/Middleware/wlserver_10.3/server -Dcommon.components.home=/home/oracle/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw -Djrockit.optfile=/home/oracle/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/fmwconfig/carml -Digf.arisidstack.home=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/oracle/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/home/oracle/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dem.oracle.home=/home/oracle/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dodi.oracle.home=/home/oracle/Oracle/Middleware/Oracle_ODI1 -Dodi.shared.config.dir.path=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/config/oracledi -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/oracle/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/oracle/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
    <2013-01-11 10:13:42 CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <2013-01-11 10:13:42 CET> <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>
    <2013-01-11 10:13:43 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.12-b01 from Sun Microsystems Inc.>
    <2013-01-11 10:13:44 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
    <2013-01-11 10:13:46 CET> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:Enter password to boot WebLogic server:
    <2013-01-11 10:13:46 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <2013-01-11 10:13:46 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <2013-01-11 10:13:46 CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <2013-01-11 10:13:56 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <2013-01-11 10:13:56 CET> <Critical> <Security> <BEA-090403> <Authentication for user denied>
    <2013-01-11 10:13:56 CET> <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:966)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
         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
    >
    <2013-01-11 10:13:56 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <2013-01-11 10:13:56 CET> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <2013-01-11 10:13:56 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    <2013-01-11 10:13:57> <FINEST> <NodeManager> <Waiting for the process to die: 15456>
    <2013-01-11 10:13:57> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
    <2013-01-11 10:13:57> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>

    But, starting this way works (weblogic doesn't ask password):
    /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/bin/startWebLogic.sh -Dweblogic.system.BootIdentityFile=/home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/boot.properties

    As you can see:
    - there are valid node manager credentials, because connection to node manager is succesfull
    - there are valid boot.properties file for new domain biatelbit_puw - everything is configured the same way as biatelbit.pl (old domain).

    But when I'm trying to start AdminServer using wlst, no credentials are provided (username is empty!) and AdminServer don't even start. Note that old domain - biatelbit.pl works and admin server that belongs to biatelbit.pl starts without any problems. Do you have any ideas what's wrong here?

    Edited by: 960949 on 2013-01-11 01:37

    Edited by: 960949 on 2013-01-11 01:42
  • 9. Re: Linux - cannot start admin server via wlst
    MarianoP76 Newbie
    Currently Being Moderated
    Hi

    The last error
    "
    <2013-01-11 10:13:56 CET> <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:966)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
    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
    "

    Maybe this happens because the default location where the NodeManager searches for Administrative instance security login is
    /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/servers/AdminServer/security/boot.properties

    This is why it works when you specify the BootIdentityFile option...

    I suggest you to copy the /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/boot.properties
    file to
    /home/oracle/Oracle/Middleware/user_projects/domains/biatelbit_puw/servers/AdminServer/security/boot.properties

    In that location there is no boot.properties file or it is incorrect in the new domain biatelbit_puw

    Bye

    Mariano

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points