Error while starting the Standalone Agent Using Node Manager : "Unrecognized SSL message, plaintext connection?" - oracle

I'm trying to start the Standalone Agent Using Node Manager with this tutorial: https://docs.oracle.com/en/middleware/data-integrator/12.2.1.3/tutorial-creating-standalone-agent/#StartingtheStandaloneAgentUsingNodeManager
(Windows)
Node manager has been started with command:
startNodeManager.cmd
But can't start the agent OracleDIAgent1 with command:
startComponent.cmd OracleDIAgent1
Full output:
Please enter Node Manager password:
Connecting to Node Manager ...
<Jan 15, 2019 4:54:57 PM MSK> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Jan 15, 2019 4:54:57 PM MSK> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Jan 15, 2019 4:54:58 PM MSK> <Info> <Security> <BEA-090909> <Using the configured custom SSL Hostname Verifier implementation: weblogic.security.utils.SSLWLSHostnameVerifier$NullHostnameVerifier.>
This Exception occurred at Tue Jan 15 16:54:58 MSK 2019.
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Error: Error occurred while performing nmConnect : Cannot connect to Node Manager. : Unrecognized SSL message, plaintext connection?
Use dumpStack() to view the full stacktrace :
Exiting WebLogic Scripting Tool.
Done
File nodemanager.properties has SecureListener off:
SecureListener=false
Please help to start agent. Thanks a lot in advanced.

Stop your node manager then try to change the value as "SecureListener=false" and in the console, verify the node manager protocol is "plain". Restart your node manager.

Related

Error while starting Admin server on WebLogic 12c server

After starting the Node Manager when I'm going to start the startWeblogic.sh this happens and the server failed to start. (username, password is correct)
Starting WLS with line:
/home/app/oracle/java/jdk1.8.0_171/bin/java -server -Xms256m -Xmx512m -XX:CompileThreshold=8000 -cp /home/12c/app/oracle/product/12.2.1/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=AdminServer -Djava.security.policy=/home/12c/app/oracle/product/12.2.1/wlserver/server/lib/weblogic.policy -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -javaagent:/home/12c/app/oracle/product/12.2.1/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/home/12c/app/oracle/product/12.2.1/wlserver/server -Dweblogic.home=/home/12c/app/oracle/product/12.2.1/wlserver/server -Dweblogic.management.username=weblogic -Dweblogic.management.password=mydomain123 weblogic.Server
<Nov 5, 2020 10:59:22 PM IST> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Nov 5, 2020 10:59:22 PM IST> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Nov 5, 2020 10:59:23 PM IST> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.171-b11 from Oracle Corporation.>
<Nov 5, 2020 10:59:23 PM IST> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>
<Nov 5, 2020 10:59:23 PM IST> <Version: WebLogic Server 12.2.1.3.0 Thu Aug 17 13:39:49 PDT 2017 1882952>
<Nov 5, 2020 11:01:59 PM IST>
<Nov 5, 2020 11:01:59 PM IST>
<Nov 5, 2020 11:01:59 PM IST> <CMM memory level becomes 0. Setting standby thread pool size to 256.>
<Nov 5, 2020 11:02:00,625 PM IST>
<Nov 5, 2020 11:02:01,159 PM IST>
<Nov 5, 2020 11:02:01,719 PM IST>
<Nov 5, 2020 11:02:03,669 PM IST>
<Nov 5, 2020 11:02:03,692 PM IST>
<Nov 5, 2020 11:02:03,732 PM IST> <Server subsystem failed. Reason: A MultiException has 6 exceptions. They are:
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.deployment.DeploymentRegistrationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.deployment.DeploymentRegistrationService
A MultiException has 6 exceptions. They are:
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.deployment.DeploymentRegistrationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.deployment.DeploymentRegistrationService
at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
Truncated. see log file for complete stacktrace
Caused By: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:1158)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.postInitialize(CommonSecurityServiceManagerDelegateImpl.java:1272)
at weblogic.security.service.SecurityServiceManager.postInitialize(SecurityServiceManager.java:586)
at weblogic.security.SecurityService.start(SecurityService.java:130)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied
at com.bea.common.security.utils.ExceptionHandler.throwFailedLoginException(ExceptionHandler.java:62)
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:380)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:117)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:114)
Truncated. see log file for complete stacktrace
<Nov 5, 2020 11:02:03,760 PM IST>
<Nov 5, 2020 11:02:03,760 PM IST>
<Nov 5, 2020 11:02:03,763 PM IST>
Stopping Derby server...
Derby server stopped.
Any help would be great. Thanks!
1)Open a cmd and paste this :
MKDIR C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security
echo username=weblogic> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties
echo password=YOUR_WEBLOGIC_PASSWORD>> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties
MKDIR C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security
echo username=weblogic> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security\boot.properties
echo password=YOUR_WEBLOGIC_PASSWORD>> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security\boot.properties
2)Open folder C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security.
And open the boot.properties file.
3)Enter your weblogic password and insure that there are no spaces after it.
Save the file and rerun your weblogic server
Hello this is santosh kumar and I have resolved the problem
Steps
Rename the file name "ldap" to "ldap_bkp"
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\data\
Copy the location path of ldap field:
"C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\data\"
Open command prompt in administration mode
it will open like this "c:\Windows\system32>" as bellow:
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin press enter
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin> set DomainEnv.cmd
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain> -- disappear bin
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\security press enter
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\security> java weblogic.sercurity.utils.AdminAccount weblogic weblogic123 press enter -- (weblogic user and pass "weblogic and weblogic123")
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\security>cd.. press enter
c:\Oracle\Middleware\user_projects\domains\ClassicDomain>cd servers\AdminServer\security
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\security>notepad boot.properties
It will open file in notepad if file is blanck write there password and username like. If contents availabale edit the user and password as new (see below) and then save and exit notepad:
password=weblogic123
username=weblogic
In the command prompt in administration mode type: C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\security> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin press enter
In the command prompt in administration mode type: C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin>startWeblogic.cmd press enter
It will run with default loging and password : weblogic/weblogic123.

WebLogic Server 12c cant log in localhost Exception weblogic.nodemanager.NMConnectException: Connection refused

I use a Oracle WebLogic Server 12c and when I start it on Eclipse it shows this error, it does'nt allow me to log in localhost neither when I try to access it
from another computer in a different domain, in the log appears that the server is not reacheable.
This is the exception that appears in Eclipse.
This Exception occurred at Wed Nov 13 08:11:07 CET 2019.
weblogic.nodemanager.NMConnectException: Connection refused: connect. Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5556.
Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin\scripts_manejados\StartBT.wlst", line 1, in ?
File "<iostream>", line 111, in nmConnect
File "<iostream>", line 552, in raiseWLSTException
WLSTException: Error occurred while performing nmConnect : Cannot connect to Node Manager. : Connection refused: connect. Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5545.
This is my nodemanager properties:
#Tue Nov 12 09:45:58 CET 2019
#Node manager properties
#Fri Jun 24 14:55:43 CEST 2016
DomainsFile=C\:\\Oracle\\Middleware\\Oracle_Home\\user_projects\\domains\\base_domain\\nodemanager\\nodemanager.domains
LogLimit=0
PropertiesVersion=12.1.3
AuthenticationEnabled=true
NodeManagerHome=C\:\\Oracle\\Middleware\\Oracle_Home\\user_projects\\domains\\base_domain\\nodemanager
JavaHome=C\:\\Program Files\\Java\\jdk1.7.0_75
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.cmd
ListenAddress=localhost
NativeVersionEnabled=true
ListenPort=5540
LogToStderr=true
SecureListener=false
LogCount=1
StopScriptEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=false
StartScriptEnabled=true
LogFile=C\:\\Oracle\\Middleware\\Oracle_Home\\user_projects\\domains\\base_domain\\nodemanager\\nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50
And this is my StartBt script file, used to start the server and specify some preferences:
nmConnect('weblogic','AXLWL20040','localhost','5521','base_domain','C:/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain','plain')
nmStart('AdminServer')
nmDisconnect()
I want to make it accesible, not only for local.
nmConnect('weblogic','AXLWL20040','localhost',**'5521'**,'base_domain','C:/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain','plain')
Port should listen to 5545.
You wrongly configure the ports. Your NodeManager listen on port 5540
ListenPort=5540
You try to connect to 5545
WLSTException:..Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5545

Starting with jPOS

I have downloaded jPOS-master.zip from this link. (https://github.com/jpos/jPOS ).
Ran the command gradle clean dist installApp
Found jPOS-master\jpos\build\install\jpos\jpos-1.9.5-SNAPSHOT.jar
Ran the command java -jar jpos-1.9.5-SNAPSHOT.jar
Got the below console:
<log realm="Q2.system" at="Mon Dec 30 14:47:08 IST 2013.183" lifespan="10ms">
<info>
Q2 started, deployDir=D:\jPOS-master\jPOS-master\jpos\build\install\jpos\deploy
jPOS 1.9.5-SNAPSHOT unknown/unknown (2013-12-30 14:44:39 IST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
jPOS Community Edition, licensed under GNU AGPL v3.0.
This software is probably not suitable for commercial use.
Please see http://jpos.org/license for details.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
iQEcBAEBAgAGBQJMolHDAAoJEOQyeO71nYtFv74H/3OgehDGEy1VXp2U3/GcAobg
HH2eZjPUz53r38ARPiU3pzm9LwDa3WZgJJaa/b9VrJwKvbPwe9+0kY3gScDE1skT
ladHt+KHHmGQArEutkzHlpZa73RbroFEIa1qmN6MaDEHGoxZqDh0Sv2cpvOaVYGO
St8ZaddLBPC17bSjAPWo9sWbvL7FgPFOHhnPmbeux8SLtnfWxXWsgo5hLBanKmO1
1z+I/w/6DL6ZYZU6bAJUk+eyVVImJqw0x3IEElI07Nh9MC6BA4iJ77ejobj8HI2r
q9ulRPEqH9NR79619lNKVUkE206dVlXo7xHmJS1QZy5v/GT66xBxyDVfTduPFXk=
=oP+v
-----END PGP SIGNATURE-----
</info>
</log>
<log realm="Q2.system" at="Mon Dec 30 14:47:08 IST 2013.200" lifespan="8ms">
<info>
deploy: D:\jPOS-master\jPOS-master\jpos\build\install\jpos\deploy\99_sysmon.xml
</info>
</log>
<log realm="org.jpos.q2.qbean.SystemMonitor" at="Mon Dec 30 14:47:08 IST 2013.202">
<info>
Starting SystemMonitor
</info>
</log>
<log realm="org.jpos.q2.qbean.SystemMonitor" at="Mon Dec 30 14:47:08 IST 2013.203">
<info>
OS: Windows 7
host: *****/*******
version: 1.9.5-SNAPSHOT (unknown)
instance: a0032410-aff4-4128-9bf1-1d14966f2ea9
uptime: 00:00:00.280
processors: 4
drift : 0
memory(t/u/f): 121/8/113
threads: 4
Thread[Reference Handler,10,system]
Thread[Finalizer,8,system]
Thread[Signal Dispatcher,9,system]
Thread[Attach Listener,5,system]
Thread[Q2-a0032410-aff4-4128-9bf1-1d14966f2ea9,5,main]
Thread[DestroyJavaVM,5,main]
Thread[Timer-0,5,main]
Thread[SystemMonitor,5,main]
name-registrar:
logger.Q2.buffered: org.jpos.util.BufferedLogListener
logger.Q2: org.jpos.util.Logger
</info>
</log>
When I do a telnet to localhost i get below exception .. which means that Q2 Server is not up.
Connecting To 127.0.0.1...Could not open connection to the host, on port 10000: Connect failed
When I do a gradle test I get the below exception
org.jpos.iso.packagers.PackagerTestCase > testXMLPackager FAILED
junit.framework.AssertionFailedError at PackagerTestCase.java:214
org.jpos.util.DailyLogListenerTest > testLogRotationAndCompressionWorks FAILED
java.lang.AssertionError at DailyLogListenerTest.java:303
> Building > :jpos:test > 3145 tests completed, 2 failed, 54 skipped
Can somebody please help as how to bring up the Q2 Server ? I have read proguide-draft.pdf, but could not understand what is the issue. I want to get a server up and running and hit it with some sample requests and get the responses back.
Do I need put some more xmls in deploy directory for Server deployment ? Also after running gradle installApp I could not find any q2.bat in the install directory, I Could find only ..
bsh q2 start stop files.
Thanks in advance,
Varun Kumar A.
Can somebody please help as how to bring up the Q2 Server ? I have
read proguide-draft.pdf, but could not understand what is the issue. I
want to get a server up and running and hit it with some sample
requests and get the responses back.
You can use "jpos-template" for server and client simulation. Detail how to is here in these beautiful blog posts. As per the ducumentation,
[Implementing a jpos dateway] page no 8
We connect here to jPOS' auto-responder, which is usually up and
listening on port 9000. You could use a local server, for example
based on jPOS-EE's server simulator.
You can use server simulator as a auto responder (remote host as per diagram) to prepare a demo environment of jpos.
Sever Simulator
Client Simulator
Your serve is not deployed properly, you need to add serversimulator.bsh and serversimulator.xml to corresponding folders and then try again.

Not able to create NodeManager.properties file

I am trying to install obiee on my windows 7 machine 64 bit. All the steps are successfully executed except the last step while creating domain,it gets failed. Pls help me out as i have tried installing both the type of installation simple as well as enterprise , but both the time getting the same error and i get stuck up at the same step
NMProcess: <Mar 25, 2013 7:21:35 PM> <SEVERE> <Fatal error in node manager server>
NMProcess: java.lang.NullPointerException
NMProcess: at java.util.Hashtable.containsKey(Hashtable.java:314)
NMProcess: at weblogic.nodemanager.server.NMServerConfig.initNetworkInfoList(NMServerConfig.java:491)
NMProcess: at weblogic.nodemanager.server.NMServerConfig.getNetworkInfoList(NMServerConfig.java:481)
NMProcess: at weblogic.nodemanager.server.NMServerConfig.getConfigProperties(NMServerConfig.java:545)
NMProcess: at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:154)
NMProcess: at weblogic.nodemanager.server.NMServer.main(NMServer.java:375)
NMProcess: at weblogic.NodeManager.main(NodeManager.java:31)
Excerpt from nodemanager.log which is created at \common\nodemanager:
<Mar 25, 2013 7:21:31 PM> <INFO> <Loading domains file: C:\FusionMW\wlserver_10.3\common\nodemanager\nodemanager.domains>
<Mar 25, 2013 7:21:35 PM> <INFO> <Loading identity key store: FileName=C:/FusionMW/WLSERV~1.3/server\lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
<Mar 25, 2013 7:21:35 PM> <WARNING> <Node manager configuration properties file 'C:\FusionMW\wlserver_10.3\common\nodemanager\nodemanager.properties' not found. Using default settings.>
<Mar 25, 2013 7:21:35 PM> <INFO> <Saving node manager configuration properties to 'C:\FusionMW\wlserver_10.3\common\nodemanager\nodemanager.properties'>
<Mar 25, 2013 7:21:35 PM> <SEVERE> <Fatal error in node manager server>
java.lang.NullPointerException
at java.util.Hashtable.containsKey(Hashtable.java:314)
at weblogic.nodemanager.server.NMServerConfig.initNetworkInfoList(NMServerConfig.java:491)
at weblogic.nodemanager.server.NMServerConfig.getNetworkInfoList(NMServerConfig.java:481)
at weblogic.nodemanager.server.NMServerConfig.getConfigProperties(NMServerConfig.java:545)
at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:154)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:375)
at weblogic.NodeManager.main(NodeManager.java:31)
Try installing using the Software only Install mode. When you're saying that you've tried both the installation types, I suppose you're trying to install OBIEE 11.1.1.4 or less.
Software only install mode came in 11.1.1.5 and above. And this helped me overcome the same problem you've stated.
Vijay.

Handshaking not happening between master and slave in jenkins

How to solve this error? Error occurred since I make master ip to public and assign DNS.
Jul 27, 2012 12:44:17 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Hudson agent is running in headless mode.
Jul 27, 2012 12:44:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://10.10.1.162:8080/jenkins/, http://dem
Jul 27, 2012 12:44:38 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to demo.sigmainfo.in:8050
Jul 27, 2012 12:44:38 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 27, 2012 12:44:58 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection:
java.lang.Exception: The server rejected the connection:
at hudson.remoting.Engine.onConnectionRejected(Engine.java:258)
at hudson.remoting.Engine.run(Engine.java:233)
I have seen so many thread regarding this, but didn't get any answer properly.
I connected using headless slave agent and put HOST:PORT in advanced setting of configuration of slave. Master is linux and slave is windows 7.
From Comments:
=================================
Since you are having problems with the public IP & DNS, can you make sure that routing for the public IP and DNS is allowed on your network. Just to be sure this is not a firewall issue. Are you on a corporate network? In that case, your corporate firewall may be blocking certain ports on all IP addresses.

Resources