HOWTO
- start managed server https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/14.1.2/start/overview.html#GUID-F619DA66-1822-4D4D-8E2E-A899ADB28B4F
- configure custom admin channel https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/14.1.2/cnfgd/network.html#GUID-33411575-837D-472E-BE9D-C722D0F67A58
See also
Git
Keep domain wide administration port disabled
Configure custom Admin Channel on Admin server
Configure custom Admin Channel on managed server
Start managed server with Admin Channel
startManagedWebLogic.sh
managed_server_name admin_url
(UNIX)
dave@dave:/app/domains/dave_domain/bin$ ./startManagedWebLogic.sh dave-managed https://localhost:9002
.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000
.
CLASSPATH=/home/app/weblogic/wlserver/../oracle_common/modules/com.oracle.webservices.wls.wls-jaxrpc.jar::/home/app/weblogic/wlserver/server/lib/weblogic.jar:/home/app/weblogic/wlserver/../oracle_common/modules/thirdparty/ant-contrib-1.0b3.jar:/home/app/weblogic/wlserver/modules/features/oracle.wls.common.nodemanager.jar:/home/app/weblogic/wlserver/common/derby/lib/derbytools.jar:/home/app/weblogic/wlserver/common/derby/lib/derbyclient.jar:/home/app/weblogic/wlserver/common/derby/lib/derby.jar:/home/app/weblogic/wlserver/common/derby/lib/derbyshared.jar
.
PATH=/app/domains/dave_domain/bin:/home/app/weblogic/wlserver/server/bin:/home/app/weblogic/wlserver/../oracle_common/modules/thirdparty/org.apache.ant/apache-ant/bin:/usr/lib/jvm/jdk-21.0.5-oracle-x64/bin:/usr/lib/jvm/jdk-21.0.5-oracle-x64/bin:/app/weblogic/oracle_common/modules/thirdparty/apache-maven_bundle/3.6.1.0.0/apache-maven-3.6.1//bin:/app/weblogic/wit/imagetool/bin:/app/weblogic-deploy/bin/:/usr/java/jdk-21/bin:/opt/google:/opt/jmc/jmc-8.3.1_linux-x64/JDK_Mission_Control:/app/weblogic/oracle_common/modules/thirdparty/apache-maven_bundle/3.6.1.0.0/apache-maven-3.6.1//bin:/app/weblogic/wit/imagetool/bin:/app/weblogic-deploy/bin/:/home/dave/.local/bin:/home/dave/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/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 WLS with line:
/usr/lib/jvm/jdk-21.0.5-oracle-x64/bin/java -server -Xms256m -Xmx512m -XX:CompileThreshold=8000 -cp /home/app/weblogic/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=dave-managed -Djava.security.policy=/home/app/weblogic/wlserver/server/lib/weblogic.policy -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -javaagent:/home/app/weblogic/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/home/app/weblogic/wlserver/server -Dweblogic.home=/home/app/weblogic/wlserver/server -Dweblogic.management.server=https://localhost:9002 weblogic.Server
[0.009s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.oracle.classloader.weblogic.LaunchClassLoader"). To use archived non-system classes, this property must not be set
<Oct 5, 2025, 1:54:28 PM Central European Summer Time> <Info> <Default> <BEA-000000> <JceConfig is unknown>
<Oct 5, 2025, 1:54:28 PM Central European Summer Time> <Info> <Default> <BEA-000000> <FIPS compliant operation not available for configuration type OTHER>
<Oct 5, 2025, 1:54:28 PM Central European Summer Time> <Info> <Default> <BEA-000000> <JceConfig is in non-FIPS mode>
<Oct 5, 2025, 1:54:28 PM Central European Summer Time> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 21.0.5+9-LTS-239 from Oracle Corporation.>
<Oct 5, 2025, 1:54:29 PM Central European Summer Time> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Oct 5, 2025, 1:54:40 PM Central European Summer Time> <Warning> <Security> <BEA-090960> <The server's SSL configuration is not available. There will potentially be SSL handshake failures.>
<Oct 5, 2025, 1:54:40 PM Central European Summer Time> <Warning> <Security> <BEA-090924> <JSSE has been selected by default, since the SSLMBean is not available.>
<Oct 5, 2025, 1:54:40 PM Central European Summer Time> <Info> <Security> <BEA-090908> <Using the default WebLogic SSL Wildcard Hostname Verifier implementation.>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the pkcs12 keystore file /app/domains/dave_domain/security/DemoTrust.p12.>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/app/weblogic/wlserver/server/lib/DemoTrust.jks.>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /usr/lib/jvm/jdk-21.0.5-oracle-x64/lib/security/cacerts.>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Info> <Management> <BEA-141107> <Version: WebLogic Server 14.1.2.0.0 Tue Nov 26 02:40:45 GMT 2024 2171472>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Info> <Management> <BEA-141340> <Server starting with ProductionModeEnabled=false>
<Oct 5, 2025, 1:54:41 PM Central European Summer Time> <Info> <Management> <BEA-141341> <Server starting with SecureModeEnabled=false>
<Oct 5, 2025, 1:54:42 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Oct 5, 2025, 1:54:42 PM Central European Summer Time> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Oct 5, 2025, 1:54:42,345 PM Central European Summer Time> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the pkcs12 keystore file /app/domains/dave_domain/security/DemoIdentity.p12.>
<Oct 5, 2025, 1:54:42,371 PM Central European Summer Time> <Notice> <LoggingService> <BEA-320400> <The log file /home/app/domains/dave_domain/servers/dave-managed/logs/dave-managed.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<Oct 5, 2025, 1:54:42,371 PM Central European Summer Time> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/app/domains/dave_domain/servers/dave-managed/logs/dave-managed.log00001. Log messages will continue to be logged in /home/app/domains/dave_domain/servers/dave-managed/logs/dave-managed.log.>
<Oct 5, 2025, 1:54:42,380 PM Central European Summer Time> <Notice> <Log Management> <BEA-170019> <The server log file weblogic.logging.FileStreamHandler instance=303355457
Current log file=/home/app/domains/dave_domain/servers/dave-managed/logs/dave-managed.log
Rotation dir=/home/app/domains/dave_domain/servers/dave-managed/logs
is opened. All server side log events will be written to this file.>
<Oct 5, 2025, 1:54:42,410 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the pkcs12 keystore file /app/domains/dave_domain/security/DemoTrust.p12.>
<Oct 5, 2025, 1:54:42,447 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/app/weblogic/wlserver/server/lib/DemoTrust.jks.>
<Oct 5, 2025, 1:54:42,448 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /usr/lib/jvm/jdk-21.0.5-oracle-x64/lib/security/cacerts.>
<Oct 5, 2025, 1:54:42,465 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the pkcs12 keystore file /app/domains/dave_domain/security/DemoTrust.p12.>
<Oct 5, 2025, 1:54:42,495 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/app/weblogic/wlserver/server/lib/DemoTrust.jks.>
<Oct 5, 2025, 1:54:42,501 PM Central European Summer Time> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /usr/lib/jvm/jdk-21.0.5-oracle-x64/lib/security/cacerts.>
<Oct 5, 2025, 1:54:44,453 PM Central European Summer Time> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: myrealm>
<Oct 5, 2025, 1:54:44,753 PM Central European Summer Time> <Notice> <Security> <BEA-090947> <Security post-initializing using security realm: myrealm>
<Oct 5, 2025, 1:54:46,072 PM Central European Summer Time> <Notice> <Security> <BEA-090082> <Security initialized using administrative security realm: myrealm>
<Oct 5, 2025, 1:54:46,213 PM Central European Summer Time> <Notice> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://localhost:9200/jndi/weblogic.management.mbeanservers.runtime.>
<Oct 5, 2025, 1:54:48,057 PM Central European Summer Time> <Warning> <Server> <BEA-002611> <The hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1.>
<Oct 5, 2025, 1:54:48,057 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "dave-managed-admin" is now listening on 127.0.0.1:9200 for protocols admin, ldaps, https.>
<Oct 5, 2025, 1:54:48,079 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<Oct 5, 2025, 1:54:48,079 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Oct 5, 2025, 1:54:48,124 PM Central European Summer Time> <Notice> <Log Management> <BEA-170036> <The Logging monitoring service timer has started to check for logged message counts every 30 seconds.>
<Oct 5, 2025, 1:54:48,274 PM Central European Summer Time> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<Oct 5, 2025, 1:54:48,394 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<Oct 5, 2025, 1:54:48,459 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
<Oct 5, 2025, 1:54:48,522 PM Central European Summer Time> <Warning> <Server> <BEA-002611> <The hostname "dave", maps to multiple IP addresses: 192.168.0.115, 192.168.122.1, 192.168.49.1, 172.17.0.1, fe80:0:0:0:b1c0:455e:93e9:1ac4%2, 2a02:8308:a:5b00:0:0:0:bd2e, 2a02:8308:a:5b00:7090:cdc2:f15e:f0f0.>
<Oct 5, 2025, 1:54:48,524 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 2a02:8308:a:5b00:7090:cdc2:f15e:f0f0%enp0s31f6:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,525 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 127.0.0.1:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,526 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000332> <Started the WebLogic Server Managed Server "dave-managed" for domain "dave_domain" running in development mode.>
<Oct 5, 2025, 1:54:48,525 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 192.168.49.1:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,529 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 0:0:0:0:0:0:0:1%lo:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,532 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 2a02:8308:a:5b00:0:0:0:bd2e%enp0s31f6:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,533 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.115:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,537 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 172.17.0.1:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,538 PM Central European Summer Time> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 192.168.122.1:9001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 5, 2025, 1:54:48,640 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<Oct 5, 2025, 1:54:48,653 PM Central European Summer Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
Runtime monitoring in Remote Console
config.xml with managed server
<server>
<name>AdminServer</name>
<ssl>
<name>AdminServer</name>
</ssl>
<listen-address></listen-address>
<network-access-point>
<name>Admin</name>
<protocol>admin</protocol>
<listen-address>localhost</listen-address>
<listen-port>9002</listen-port>
<hostname-verification-ignored>true</hostname-verification-ignored>
</network-access-point>
<web-service>
<name>AdminServer</name>
<web-service-persistence>
<name>AdminServer</name>
<web-service-logical-store>
<name>WseeStore</name>
<persistence-strategy>LOCAL_ACCESS_ONLY</persistence-strategy>
<request-buffering-queue-jndi-name>weblogic.wsee.BufferedRequestQueue</request-buffering-queue-jndi-name>
<response-buffering-queue-jndi-name>weblogic.wsee.BufferedResponseQueue</response-buffering-queue-jndi-name>
</web-service-logical-store>
</web-service-persistence>
</web-service>
</server>
<server>
<name>dave-managed</name>
<ssl>
<enabled>false</enabled>
</ssl>
<listen-port>9001</listen-port>
<listen-address xsi:nil="true"></listen-address>
<network-access-point>
<name>dave-managed-admin</name>
<protocol>admin</protocol>
<listen-address>localhost</listen-address>
<listen-port>9200</listen-port>
</network-access-point>
</server>
No comments:
Post a Comment