jboss和mission control连接的问题

ParallelsDesktop 安装 CentOS-6.9-x86_64-minimal 教程 安装参考 tools没做 想安装的可以参考这个 mac 本机环境: 系统:macOS Catalina version 10.15.6 虚拟机软件:parallels Desktop 15 for Mac( Parallels Desktop-15.1.4(47270)) Centos镜像: CentOS-6.9-x86_64-minimal.iso https://mirrors.aliyun.com/centos-vault/6.8/isos/x86_64/ http://vault.centos. 阅读详情

最近再使用jrockit的mission control进行jboss的j2ee的性能优化,但是只要一点就报错,错误为Failed to start the management agent. Note that the management agent requires that you either explicitly disable security or that you configure and enable security. Please see the documentation for details.

就是说要对jdk的security进行显示的设置才可以进行连接,:-)

在网上找了一下,发现oracle的官方文档里面居然有说明,:-)  摘抄出来,将jboss的启动脚本的java_path后面添加上-Xmanagement:ssl=false,authenticate=false 设置就可以了 

 

附:

-Xmanagement

This option starts the JRockit JVM concurrently with the management server and allows you to either enable and configure or explicitly disable security features such as SSL encryption and authentication.

Operation

Format: -Xmanagement[:<argument1>=<value1>[,<argument2>=<value2>]]

where argumentn and valuen is as defined in Table 2-5.

Table 2-5 -Xmanagement Arguments
Argument
Description
autodiscovery=<true|false>
Enables or disables autodiscovery, which allows Oracle JRockit Mission Control to automatically discover running JRockit JVM instances through the multicast-based JRockit Discovery Protocol.
Valid with JRockit JVM 5.0.
ssl=<true|false>
Enables or disables SSL encryption.
Valid with JRockit JVM 5.0.
authenticate=<true|false>
Enables or disables authentication.
Valid with JRockit JVM 5.0.
port= <portNumber>
Identifies the port that the management server will open for remote access.
Valid with JRockit JVM 5.0.
class=
This option loads the class and causes its empty constructor to be called early in JVM startup. From the constructor, a new thread is then started, from which your management client is run. Further arguments cannot be given to -Xmanagement after the class argument.

For Example:

  • java -Xmanagement:ssl=false,authenticate=false myApplication

    Disables SSL encryption and authentication.

  • java -Xmanagement:autodiscovery=true myApplication

    Enables autodiscovery.

  • java -Xmanagagement:port=1234 myApplication

    Tells the management server to open port 1234.

The implementation of this option in JRockit JVM R27.1.0 represents a change from previous versions of the product. In past versions, this option enabled the management server running:

  • A JMX agent (for JRockit JVM versions based on J2SE 5.0).
  • Oracle’s proprietary RMP protocol (for JRockit JVM versions based on J2SE 1.4.2).

The original RMP implementation had no security features. JRockit JVM 5.0 contains new security features—authentication and SSL encryption—that were introduced in J2SE 5.0, but similar security features were not enabled in the JRockit JVM 1.4.2.

Due to the security risks and the mission-critical nature of most JRockit JVM deployments, the new default behavior of the JRockit JVM requires that you either disable security explicitly or configure and enable security. If you don’t take these steps, the management server will not open a port for remote access and may cause the JVM startup to halt with an error message concerning the security configuration.

Specifying -Xmanagement also enables a local in-memory agent to improve the user experience from a developer perspective. For example, a developer running a WLS instance on JRockit JVM on a one machine can specify – Xmanagement to enable the local in-memory agent to connect to it from an Oracle JRockit Mission Control Client on another machine. On the other hand, the developer would not need to specify – Xmanagement to get local access from JRockit Mission Control: the in-memory agent is always accessible locally. Thus, if you have a number of JRockit JVM instances running on your machine and you start a JRockit Mission Control Client, it will automatically discover and allow access to those JVMs. Security is enforced by only allowing this type of local access if the JRockit JVM instance and the JRockit Mission Control Client are being run by the same user. Note that this will only work if the monitored JRockit JVM is R27.1 and later.

To enable the management agent without security you must now specify that SSL and authentication should be disabled. Also, the JMX server port must now be specified explicitly with the JRockit JVM 5.0.

For maximum usability, you should also enable the autodiscovery mechanism, which allows JRockit Mission Control to automatically discover running JRockit JVM instances through the multicast based JRockit Discovery Protocol. Note that this will normally only work on the local subnet.

To limit the number of RMP connections running at the same time, you can set -Djrockit.managementserver.maxconnect.

eDP V1.4协议介绍 eDP的全称是Embedded DisplayPort嵌入式显示端口,主要应用与短距离系统内应用,例如手机、一体式台式机等。eDP V1.4b是基于DP V1.3标准制作完成,但因应用场景的不同,还是有很多区别。电压摆幅不同,eDP相对较低;eDP功耗相对较低;DP有线材和连接器的要求,eDP没有明确要求;AUX通道电路设计不同(相对DP取消了AC耦合电容和100KΩ/1MΩ的上下拉电阻):典型应用场景; 阅读详情

相关推荐

U8二次开发CO-基于Net8调用COM对象

本文章介绍的U8二次开发CO技术,就是基于微软COM组件技术,使用微软开源的编程框架Net6/7/8/9来调用U8的COM组件,完成基本的登录认证,工作流处理,数据库操作等。

pccai的博客 5500

MissionControl完全指南:让Switch支持所有蓝牙游戏手柄

还在为任天堂Switch只能使用官方控制器而苦恼吗?MissionControl这款开源神器将彻底改变你的游戏体验。通过原生蓝牙支持,让你轻松连接索尼、微软等各大品牌的游戏手柄,无需额外硬件设备,实现真正的控制器自由选择! ## 🎯 为什么选择MissionControl? **打破控制器限制**:Switch原生的控制器选择有限,而MissionControl通过蓝牙技术让你能够使用任何主

gitblog_00765的博客 242

2D激光slam四种算法建图效果对比

2d激光slam四种算法建图比较

m0_73791170的博客 8448

【问题解决】解决Mac OS下JDK 1.8无法使用JMC(Java Mission Controller)的问题

最节省时间的办法就是直接下载最新版jdk

mickjoust的技术小屋 4653

MBD-从一个示例看代码生成过程(rtw文件、TLC语言)

大概介绍了MBD代码生成流程,rtw文件、TLC语言

小胡同学的工程师学习之路 4214

36 Agent Memory:如何让智能体记住该记的东西

Agent 会调用工具,只能说明它有了行动能力。要让它跨会话、跨任务持续工作,还需要一套可治理的 Memory 系统。本文讲清上下文窗口、RAG 和 Agent Memory 的区别,以及工作记忆、情景记忆、语义记忆、程序记忆该如何分层设计。

老于的笔记的专栏 89

配置Java远程监控授权(Java Mission Control)

配置Java远程监控授权(Java Mission Control)   转载URL:  http://www.icoolxue.com/blog/show/9   最近公司做的项目有比较严重的内存溢出问题,也不知道是荣幸还是郁闷,经理将该问题交给我去自处理,经过一系列的Google,最终决定用Java Mission Control(JMC)来查找项目的内存溢出问题

Make progress step by step everyday..... 8149

【QT开发教程】如何在Qt中使用Protobuf进行高效数据序列化

Protocol Buffers(Protobuf)是Google开发的一种语言中立、平台中立、可扩展的序列化机制,常用于数据交换和存储。Qt作为一个跨平台的C++图形用户界面应用框架,可以与Protobuf结合使用,实现高效的数据序列化和反序列化。本文将介绍如何在Qt中集成和使用Protobuf,包括基本概念、安装步骤、使用示例以及实际应用。

科技改变人类,技术成就未来 1439

Java Mission Control(JMC)介绍

Java Mission Control(JMC)

小崔说 1万+

14、5G物理层的灵活解决方案:广义频分复用(GFDM)

广义频分复用(GFDM)作为一种高度灵活的5G物理层多载波调制方案,能够满足多样化应用场景的需求,包括高吞吐量的比特管道通信、低功耗高连接数的物联网、超低延迟的触觉互联网以及广覆盖的无线区域网。通过参数化配置,GFDM可适配LTE资源网格,实现与现有系统的兼容与共存。其支持多种解调方式、干扰消除技术、OQAM映射及预编码机制,兼具低带外发射、高频谱效率和强鲁棒性。GFDM还能统一描述OFDM、FBMC、FTN等多种经典与先进波形,成为5G及未来通信系统中极具潜力的通用波形框架。

gold8的专栏 108

【android bluetooth 案例分析 01】【HiCar 详解 3】【hicar时如何交换Wifi参数的】

如果直接使用 L2CAP(不经过 RFCOMM),会需要额外的协议来保证可靠性,而 RFCOMM 天然支持。BLE 广播的数据长度受限(31 字节 / 255 字节扩展),不适合传输复杂的 Wi-Fi 连接参数。使用 RFCOMM 传输参数,可以兼容不同厂商的车机和手机,而无需依赖特殊的蓝牙功能。手机解析这些参数,并使用 Wi-Fi Direct 连接到车机。,然后才能让 Wi-Fi Direct 进行真正的数据传输。,适合传输 Wi-Fi 连接参数等关键数据。,可以安全地交换 Wi-Fi 连接信息。

奔跑吧 android 的博客 1740

MacOS下Java Mission Control无法正常启动

参考JMC(Java Mission Control)在mac下无法启动和显示界面 附件下载地址备份(org.eclipse.swt.cocoa.macosx.x86_64-3.112.0.jar) 转载于:https://www.cnblogs.com/wozixiaoyao/p/11586169.html...

weixin_30747253的博客 706

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

针对WildFly和EAP运行Java Mission Control和Flight Recorder

Java Mission Control (JMC)使您可以监视和管理Java应用程序,而无需引入通常与这些类型的工具相关的性能开销。 它使用为正常的JVM动态优化而收集的数据,从而以非常轻巧的方式观察和分析应用程序代码中的问题。 JMC由三种不同类型的工具组成。 使用JMX浏览器可以浏览机器上所有可用的JVM实例,还可以使用JMX控制台浏览连接的JVM上的JMX树。 最后但并非最不重要的一...

最佳 Java 编程 256

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

eap和psk_针对WildFly和EAP运行Java Mission Control和Flight Recorder

eap和psk Java Mission Control (JMC)使您可以监视和管理Java应用程序,而无需引入通常与这些类型的工具相关的性能开销。 它使用为正常的JVM动态优化而收集的数据,从而形成了一种非常轻量级的方法来观察和分析应用程序代码中的问题。 JMC由三种不同类型的工具组成。 使用JMX浏览器,您可以浏览机器上所有可用的JVM实例;使用JMX控制台,可以浏览连接的JVM上的JM...

最佳 Java 编程 248

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

eap-tls_针对WildFly和EAP运行Java Mission Control和Flight Recorder

eap-tls Java Mission Control (JMC)使您可以监视和管理Java应用程序,而无需引入通常与这些类型的工具相关的性能开销。 它使用为正常的JVM动态优化而收集的数据,从而以非常轻巧的方式观察和分析应用程序代码中的问题。 JMC由三种不同类型的工具组成。 使用JMX浏览器,您可以浏览机器上所有可用的JVM实例;使用JMX控制台,可以浏览连接的JVM上的JMX树。 最后但...

cunfen8879的博客 138

JBoss AS6 + JRockit 6 + Mission Control 4.1 整合

1. JRockit直接从Oracle下载安装就行了,并设置JAVA_HOME 2. 若要使用Mission Control对JBoss AS6进行分析,需要对run.bat.conf或run.conf进行调整, 如下: rem # JRockit options set "JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver -Dja

sendidmax的专栏 508

用JRockit来检测内存泄露

提出问题 对于系统的活跃度比较高,承受的访问压力也很大的系统会出现比较严重的问题,可能一个是内存占用高,一个是还有一些未知bug。由于这些问题而想到我们这两个系统是否有内存泄露?是否可以用某种方法来检测内存泄露?当然经过google后,答案是肯定的。所以我们用测试环境来做一个实验,来验证检测...

chunzhuoguan1305的博客 151

linux jrockit,用JRockit来检测内存泄露

提出问题对于系统的活跃度比较高,承受的访问压力也很大的系统会出现比较严重的问题,可能一个是内存占用高,一个是还有一些未知bug。由于这些问题而想到我们这两个系统是否有内存泄露?是否可以用某种方法来检测内存泄露?当然经过google后,答案是肯定的。所以我们用测试环境来做一个实验,来验证检测方法的可行性。下面就是详细的整个过程。解决问题一些概念1、什么是JRockit?Oracle JRockit ...

weixin_42602726的博客 425

三大Java 虚拟机垃圾回收机制的比较(HotSpot, JRockit, IBM JVM)

Hotspot JVM使用和 IBM Websphere及 OracleWeblogic不同的垃圾回收机制,但是垃圾回收的概念和算法是相通的。   HotSpotJVM   1)HotSpotJVM使用内存分区(如永久perm区和分代Generation Heap区),分代区(Generation Heap区)又包括新生Yong区和老生Old/Tenured区,Yong区中又分为Ede

赵英超的博客 7007

jprofile远程监控jboss的配置

1、确保linux下也要按照jprofile,widows下安装的版本要与linux下安装的版本相同 2、配置jprofile的环境变量 服务器端 JProfiler 安装: 把 jprofiler_linux_5.1.sh 上传到到服务器,假设路径为 /opt/jprofiler5 (后文用 $JPROFILER_HOME指代)。 用如下命令:# cd /opt/jprof...

yanghuidang 116

【JVM】初识JAVA工具JMC,java mission control,飞行记录器(黑匣子),IBM heapAnalyzer使用

无意中发现了一个巨牛的人工智能教程,忍不住分享一下给大家。教程不仅是零基础,通俗易懂,而且非常风趣幽默,像看小说一样!觉得太牛了,所以分享给大家。点这里可以跳转到教程。 直接上图,大家自己去实践一下吧,数据比visualvm数据更加丰富,但是这些数据怎么看还得慢慢摸索呢,真是一个利器啊! Java Mission Control 飞行记录器 在JVM...

三也_攻城狮 3万+

jrockit R28参数说明列表2

2 -X Command-Line Options This chapter is an alphabetically ordered reference for all the -X command-line options that you can use with the JRockit JVM. The -X command-line options are exclusive to

分布式应用与服务器架构专栏 2783

JDK Mission Control (JMC) 使用说明

最简单的远程连接 -Djava.rmi.server.hostname 如果不配置,很可能无法连接 java -Dcom.sun.management.jmxremote.port=8091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<远程JVM主机IP> -Dspring.profiles.acti

wyyl1的专栏 1545

Java Mission Control

参考文档 JMC官方用户操作指南:jmc 5.5 JFR官方用户操作指南:jfr 5.5 JDK Java Management Extensions JMX最佳实践(如何实现自己的JMX MBean) Java SE Monitoring and Management keytool官方文档 Enabling remote JMX with password authentication and SSL 缩略语 缩写 全称 含义 JDK Jav

shiyuezhong的专栏 3434
上一篇: jboss 的端口修改位置总结
下一篇: 雷军:为什么马云马化腾创业那么容易成功 自己却需要煎熬数年
捣鼓地瓜
博客等级 码龄21年 1粉丝 11原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值