WebSphere Application Server V6 备忘录

com.stub.StubApp.apk 立即下载

1. WebSphere with Optimizeit

 

it is for WebSphere 4.0,  while  it’s almost same as websphere6

 

Using Optimizeit with WebSphere 4.0 Advanced Edition

This tutorial explains how to integrate Optimizeit with IBM WebSphere 4.0 Advanced Edition. These instructions are for both Windows and Unix machines. Once you have integrated Optimizeit, you can attach to any Optimizeit tool without further integration.

Note: In this document <OptIt_Dir> is the directory where Optimizeit has been installed (for example on Windows, C:/Optimizeit/OptimizeitSuite), and <WebSphere_Dir> is the directory where the WebSphere application server has been installed (for example on Unix, /opt/sfw/websphere).

Note on using JDK 1.3 on Solaris machines with WebSphere 4.0: On Solaris machines, IBM WebSphere 4.0 is packaged with and uses by default JDK 1.3. But JDK 1.3 does not support the profiling interface (JVMPI) and so cannot be used with Optimizeit. In order to use Optimizeit with your WebSphere application server, you need JDK 1.3.1 or above. If you do not have JDK 1.3.1 installed, download the software from the Sun java website.

 

Configuring WebSphere with Optimizeit

The following instructions explain how to configure WebSphere to work with Optimizeit.

  1. On Windows machines only, copy the <OptIt_Dir>/lib/oii.dll file to the <WebSphere_Dir>/bin directory.
  2. On Unix machines only, copy the <OptIt_Dir>/lib/liboii.so and <OptIt_Dir>/lib/libpri.so files to the <WebSphere_Dir>/bin directory.
  3. Start the WebSphere Admin Service and then the WebSphere Administrative Console.
  4. In the Administrative Console, select the node of the Application Server you want to profile with.
  5. Select the server that you want to use (for example, Default Server). You will notice several tabs on the panel to the right.
  6. Select the JVM Settings tab, and add <OptIt_Dir>/lib/optit.jar in the Classpaths field.
  1. Scroll down and click Advanced JVM Settings to open the Advanced JVM Settings dialog box.
  2. In the Command Line Arguments field, type -Xrunoii:filter=<OptIt_Dir>/filters/Websphere.oif
  3. Check Disable JIT and type <OptIt_Dir>/lib/oibcp.jar in the Boot Classpath (Prepend) field.
  4. Click OK to close the Advanced JVM Settings dialog box.
  1. Click Apply to update the changes to WebSphere.

 

Starting WebSphere with Optimizeit

  1. For Windows machines only: Using the Optimizeit Audit System selector from the Windows tray, select which of the Optimizeit tools (Profiler, Thread Debugger or Code Coverage) you currently wish to use with WebSphere.

 

Note: If you have previously installed Optimizeit products, you must quit the Audit System Selector supplied with those products, and start the Optimizeit Audit System Selector supplied with this tool.

  1. For Unix machines only: Using the Optimizeit Audit System selector, select which of the Optimizeit tools you currently wish to use with WebSphere. The Optimizeit Audit System selector is a command located under <OptIt_Dir>/oiselector. It allows you to choose which Audit system should be run and which options should be used. In order to quickly configure, enter:
    <OptIt_Dir>/ oiselector -config
    This command starts an interactive configuration. More information is available when you type:
    <OptIt_Dir>/ oiselector -help
    Important: The configuration specified through the Audit System selector is stored in a file located under the HOME directory of the current user. For that reason, the oiselector command should be run as the same user as the one used to run the application server.
  2. Once you have selected the Audit System to be used, restart your Application Server.

 

Attaching from Optimizeit

Once WebSphere is running with the Optimizeit Audit System, you can launch Optimizeit and attach to the virtual machine.

  1. Ensure your application server is running, and that the application you want to profile is deployed and running.
  2. On Windows machines only, right-click the Audit System Selector icon on the taskbar, and choose Open the Audit System Selector.

 

Select the tab for your chosen tool, and click Start.

  1. On Unix machines, start Optimizeit.
  2. Optimizeit opens the Edit Settings dialog box. Click OK.
  3. Choose Program|Attach to open the Attach dialog box.
  4. Verify the host name and port number, and click Attach.

The default values for host name (localhost) and port number (1470 for Profiler, 1471 for Thread Debugger, and 1472 for Code Coverage) will work in most instances.

  1. When you are done monitoring activity with the application, detach Optimizeit from the application server (Program|Detach).

The application server is not affected by attaching and detaching Optimizeit.

 

 

2. WebSphere with DataSource

 

 Connection String
Oracle thinjdbc:oracle:thin:@orcl:1521:zlu
Oracle oci
  • jdbc:oracle:oci:@orcl:1521:zlu(for 10g)
  • jdbc:oracle:oci:@orcl(for 9i, you should configure a local service to point to the remote service)
Sybasejdbc:sybase:tds:localhost:5000/testdb
DB2 (Legacy jdbc type 2 for XA)

1. Database configure

    Because you want to use JDB2 type2 driver, so you must have a DB2 client on the same machine with the websphere.

    If you want to connect to a remote DB2 database, you need configure a local database which reference to the remote database using DB2 client tool.

2. Start WebSphere

Because you used the JDBC2 driver, you need to run a script named db2profile to configure some environment parameter before you start the WebSphere.

 Normally you can find that script at the {$db2-user-home}/sqllib folder.  After you have run that script, you can start the WebSphere

3. Configure Database

       When you create JDBC providers, you should choose DB2 Legacy CLI-based Type 2JDBC Driver.    

   Ok, that all.

DB2 (Universal jdbc type 2 for XA)
  1. DB2 Driver version can't be lower than 8.1.6
  2. set DB2_HOME/bin as lib path

 

 

3. WebSphere with JVM Arguments

 

 Configuration
Speak English

1, “Servers” -> “Application Server” ->"server_name"->“Server Infrastructure”-> “Java and Process Management”->“Process Definition”-> “Java Virtual Machine”->   Add value “-Duser.language=en” to property “Generic JVM arguments”.->restart WebSphere.

2, Change IE to show English UI of WebSphere, open IE, and go to “Tools” -> “Internet Options” -> “General”-> “Language”.-> “Add”.a new item “en-us”, and move it on the top of the list.

GC log-Xloggc:$SomeFolder/logs/callee.gc.txt

 

4. WebSphere with Default JMS Provider, JCA, and SIB

 

Default JMS Provider: WebSphere Application Server V6 supplies a preconfigured J2EE Connector Architecture resource adapter implementation that can be used to communicate with a service integration bus. This resource adapter is installed as a fully-integrated component of WebSphere Application Server V6, at all levels of the WebSphere cell, and needs no separate installation steps. The administered objects for this resource adapter also implement the corresponding interfaces of version 1.1 of the JMS specification. This enables them to the be used by JMS clients for both the point-to-point and Publish/Subscribe messaging models.

Default JMS Provider Configuration UI: A user friendly configuration tool to help you avoid directly configuring the JMS JCA resource adapter for JMS; yeah, you can configure JMS JCA resource adapter directly for your application

SIB: A service integration bus, or bus, within WebSphere Application Server V6 is simply an architectural concept. It gives an administrator the ability to group a collection of resources together that provide the messaging capabilities of the bus. At runtime, the bus presents these cooperating messaging resources to applications as a single entity, hiding from those applications the details of how the bus is configured and where on the bus the different resources are located. yeah, SIB holds physical resource located for JMS and some other Service.

Provider is interface, SIB is implementaton

Default JMS Provider Configuration UIWebSphere MQ JMS Provider

   ↓                                                         ↓

Default JMS Resource Adaptor,i.e, Default Provider

   ↓                                                         ↓

Destination <- SIB ->(foreign bus)->WebSphere MQ -> Destination

 

 

5. WebSphere with MQSeries

 

There are two way at least to configure applications running in WebShere Application Server communicating with MQSeries:
  1. Using WebSphere Default JMS Provider with foreign bus connected to MQSeries, which illustrated above.
  2. Using WebSphere MQ JMS Provider

Unlike the default messaging JMS provider, the WebSphere MQ JMS provider is not a J2EE Connector Architecture version 1.5 compliant resource adapter. It simply provides an implementation of version 1.1 of the JMS API, enabling JMS clients to communicate directly with WebSphere MQ.

 

6. WebSphere with JNDI

 

  • Compound name: cell/nodes/node1/servers/server1/ejb/webbank/Account
  • Corbaname: corbaname::myhost1:9812/NameServiceServerRoot#ejb/webbank/Account
Using an IIOP URL
  • java.naming.provider.url=corbaloc:iiop:myhost.mycompany.com:2809
  • java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
Using a CORBA object URL from a non-WebSphere JNDI, To access a WebSphere name server from a non-WebSphere environment, such that the WebSphere initial context factory is not used, a corbaloc URL must be used that has an object key of NameServiceServerRoot to identify the server root context.
  • env.put(Context.INITIAL_CONTEXT_FACTORY, "com.somecompany.naming.TheirInitialContextFactory");
  • env.put(Context.PROVIDER_URL, "corbaname:iiop:myhost.mycompany.com:2809/NameServiceServerRoot");

 

7. Misc

 

 Configuration
Run Scriptfor %%v in ("*.jacl") do wsadmin -host 192.168.0.3 -port 8880 -f %%v
Provider Endpoint in Non -Bootstrap ServerUse the provider endpoints property to configure the bootstrap servers to
which a connection factory can connect. The provider endpoints property of the connection factory allows an administrator. to specify a comma-separated list of suitable bootstrap servers for the connection factory. Each bootstrap server in the list is specified as a triplet of the form: hostname : port : transport chain, e.g."boothost1:7278:BootstrapBasicMessaging"
Console Session

Servers -> Application Server -> server name -> Web Container -> Session Management: By default the value is 30. You can change it to -1(never time out) or 10000.

Remove Timer in WebSphereIf the timer in WAS has exception, it always appear even you reinstall your application or restart WAS. Steps to remove it:
  1. Stop WAS
  2. Run “$WAS_HOME/cloudscape/bin/embedded/cview.bat”
  3. Open the database in“$WAS_HOME/profiles/default/databases/EJBTimers/server1/EJBTimerDB”
  4. delete data in table EJBTIMER_TASK
  5. Restart WAS
Don't start application with WebSphere

By default, an application will start when the server starts. However, you may not want all the applications to start immediately, because the applications you no longer use consume resources, or you may not need to run them. The only way to prevent this is to disable the application from running on the server.

a. Select Applications -> Enterprise Applications

b. Click the application to open the configuration.

c. Select Target Mappings in the Additional Properties table.

d. Select the server for which you want to disable the application.

e. Deselect the Enable option and click OK.

f. Save the configuration.

 
Environment VariableIf you are on windows platform, after you installed some software, such as Oracle or DB2, you should restart your machine to make the change of some environment variables such as ${PATH} visible to WAS, then WAS can use the native libraries you just installed.

   

 

Sagittarius:Sagittarius 在线游戏服务的开源 Sagittarius 是一款使用构建的强大且免费的在线游戏服务。 这意味着您可以立即获得 Google 产品的所有可扩展性和可靠性。 更重要的是,Sagittarius 旨在部署到您自己的 App Engine 帐户,让您可以完全控制游戏的后端。 访问了解更多信息! 立即下载

相关推荐

com.stub.StubApp.apk.1.1

com.stub.StubApp.apk.1.1

SSM之Spring学习记录

IoC 中文名称:控制反转 英文名称:(Inversion of Control) IoC 完成的事情:原先由程序员主动通过 new 实例化对象事情,转交给 Spring 负责. 控制反转中控制指的是:控制类的对象. 控制反转中反转指的是转交给 Spring 负责. IoC 最大的作用:解耦. 程序员不需要管理对象.解除了对象管理和程序员之间的耦合. 环境搭建 导入jar包,四个核心包一个日志包(commons-logging) 在 src 下新建 applicationContext.xml .

Sagittarius_FV的博客 2068

Sagittarius1310.github.io:该资料库包含我的在线简历和一些示范培训项目

射手座1310.github.io 该存储库包含我的在线简历和演示培训项目。 示范 简历: : 待办事项列表: : 井字游戏: :

Android studio使用中问题集锦

1. Installation failed with message INSTALL_CANCELED_BY_USER.我在使用红米 note进行安卓开发,运行项目时出现的提示。 我又换用了海马玩安卓模拟器来运行这个项目,成功运行。 重新换了红米驱动,但依然出现这个提示,目前尚未解决,希望知道的大神留言提示,谢过。2. mergeDebugResources FAILED. 其实这个错误就是

sagittarius_yx的专栏 2004

com.stub.StubApp.apk.1

com.stub.StubApp.apk.1

Hook_com.stub.StubApp

Hook_com.stub.StubApp

正确使用Android性能分析工具——TraceView

原文出处: bxbxbai 的博客(@白瓦力)   欢迎分享原创到伯乐头条 前面唠叨 最近公司app中有些列表在滑动的时候会有卡顿现象,我就开始着手解决这些问题,解决问题之前首先要分析列表滑动的性能瓶颈在什么地方。因为之前不会正确使用TraceView这个工具,主要是看不懂TraceView界面下方数据指标的值代表什么意思…以前我用StopWatch类来分析性能,现在觉得弱爆了…不过有

lsyAndroid的专栏--解决实际开发中自己遇到的问题 1574

什么是以太网链路聚合

以太网链路聚合技术通过将多个物理端口捆绑成逻辑端口,可显著提升网络性能。该技术能增加总带宽(各链路带宽之和)、提高可靠性(故障秒级切换)并实现智能负载分担。主要分为手工模式和基于LACP协议的动态模式,后者能检测链路故障更可靠。配置时需确保接口参数一致、模式匹配,适用于核心交换、服务器接入等场景。华为设备通过创建Eth-Trunk接口、指定LACP模式并添加成员接口即可完成部署。这项成熟技术能以低成本解决带宽瓶颈和可靠性问题,是构建高速稳定网络的关键方案。

lai_2020的博客 681

Android Studio 开发工具下载

网站地址:http://tools.android-studio.org/index.php Android Developer Tools ...

纸上得来终觉浅,绝知此事要躬行 1478

银河麒麟桌面版V10搭建Qt4.8.6开发环境

银河麒麟桌面版V10搭建Qt4.8.6开发环境

qq_34932364的博客 2404

Arduino软串口实战:用TTL转RS485模块解决电机通信难题(附完整代码)

本文针对Arduino Uno硬串口与RS485半双工通信不兼容导致电机控制无响应的问题,提供了基于软串口(SoftwareSerial)的完整解决方案。详细讲解了TTL转RS485模块的选型、硬件连接避坑(推荐引脚8和7),并附带了完整的代码实现与调试指南,帮助开发者稳定实现Arduino与电机驱动器的RS485通信控制。

5f4d3s2a1q的博客 784

PAT-1073. Scientific Notation(Java StringBuild)

其实这篇也是PAT的题目,不过主要是用来学习Java字符串的操作的。 今天看了Java编程思想字符串的章节,原来java里面String对象是永远不会变的,因为没有任何方法是修改字符串里面的数据的。 如果要操作字符串对象例如: String str = "de"; String s = "abc" + str + "fgh" + "00"; 理论上讲,第二个操作在执行过程中,每执行一次加

very_caiing 1584

[deprecated]第二章:DRM 框架概述:2.2 GEM显存管理概述

本文深入分析了Linux DRM子系统中GEM(Graphics Execution Manager)的显存管理机制。GEM通过核心数据结构drm_gem_object抽象显存buffer,结合drm_vma_offset_manager和drm_mm实现高效的地址空间分配与管理。该系统支持显存动态分配/回收、用户空间mmap映射、多进程访问隔离和跨设备共享等关键功能,并通过引用计数和同步机制确保并发安全。

图形/计算GPU的驱动与虚拟化技术分享园地 2571

阿里热修复SophixStubApplication中java.lang.ClassNotFoundException引起的闪退

 关于怎么集成Sophix,官方文档写的很清楚,这边就不班门弄斧了。 此次记录下关于更新完毕后打开应用崩溃的问题: 07-18 18:14:29.941 12173-12173/? E/Sophix.PatchManager:  callRealAppAttach     java.lang.ClassNotFoundException         at com.taobao.sophi...

wyman的博客 2523

9、光流计算与目标定位技术解析

本文深入探讨了光流计算与目标定位技术在计算机视觉领域的原理、应用及发展趋势。详细解析了光流计算中的约束条件、数学模型与数值求解方法,并介绍了基于主导特征元素的目标定位技术流程。文章进一步分析了两种技术结合的潜在应用场景与优势,如智能监控、机器人导航和医疗影像分析,并通过实际案例展示了其综合应用效果。最后,讨论了当前面临的技术挑战及未来发展方向,包括算法优化、深度学习融合与多传感器融合等,为相关研究提供了理论支持和技术思路。

kotlin6android的博客 43

倍福CX9020(WINCE 7)控制器使用方法和操作

CX9020系列是倍福控制器中较为经济的,操作系统为Windows Embedded Compact 7(简称WINCE7或WINEC7),相对高端控制器(WINES7以上系统),操作系统古老而简洁,上位机软件的编写困难很多,本文是笔者在使用过程中摸索的流程,旨在为CX9020系列的新用户提供参考,也可供其他CE系统的控制器参考。本文中大部分截图采用倍福中国的培训文档,这是由于笔者是在流程走通后再写这篇文章,不想再恢复出厂设置走一遍截图。因笔者在写这篇文章时使用倍福控制器经验并不丰富,难免有纰漏,请读者批评

weixin_41883890的博客 4289

android加固 app插件化,[求助]app被加固了,该怎么用xposed模块hook?

楼上说的不错,不过,有时候有些App只是ClassLoader被壳换了,这个时候,选对ClassLoader就可以了。比如这样:public EncryptHook(ClassLoader cl) {super();XposedBridge.log("Now hooking........");try {clzStubApp = (Class>) XposedHelpers.findCla...

weixin_31869569的博客 691

【总目录】AUTOSAR精进之路专栏介绍及内容目录持续更新...

本专栏系统讲解AUTOSAR汽车电子开发技术,包含Eth/OS/Can/Lin等协议栈、MCAL驱动、功能安全等核心模块。内容基于实际项目经验,从概念原理到工程配置、特殊需求实现及问题排查进行深入剖析。重点涵盖TC3xx芯片平台开发、多核OS、网络管理、存储协议栈等难点问题,提供100+篇原创技术文章。专栏采用付费模式,保证内容完整性和持续更新,并提供专业答疑服务。适合汽车电子工程师系统学习AUTOSAR开发技术。

qq_36056498的博客 6591

关于Cannot forward to error page for request [/strategy/list/] 。。。的问题

 今天遇到这个一个错误:Cannot forward to error page for request [/wechat/wechatCheck/forgetPsd] as the response has already been committed. As a result, the response may have the wrong status code. If your appli...

qq_33551131的博客 3万+

【Nginx学习】5步揭秘Nginx邮件代理模块:邮件代理服务器的功能与实现

Nginx的邮件代理模块(Mail Proxy Module)允许Nginx作为邮件代理服务器,支持SMTP、POP3和IMAP协议。这使得Nginx可以作为一个高性能的邮件网关,用于过滤垃圾邮件、病毒扫描、负载均衡等任务。简单来说,Nginx在这里就像是一个邮递员,负责将邮件从发件人手中安全、快速地送到收件人手中。通过上述的解析,我们可以看到Nginx在邮件代理模块中的设计和实现。从配置解析、连接处理,到协议处理、SSL/TLS加密和日志记录,每一步都至关重要。

java专栏 1318

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

Tomcat踩坑 请求报错基于springboot

2019-07-04 17:08:36 [ERROR] Cannot forward to error page for request [/xxxx/xxxx] as the response has already been committed. As a result, the response may have the wrong status code. If your applicat...

Daibhid专栏 1781

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

SpringBoot 启动报错:Cannot forward to error page for request [/] as the response has already been commit

** SpringBoot 启动报错:Cannot forward to error page for request [/] as the response has already been committed. As a result 解决方法 注册错误页面并通过过滤请求并转发到错误页面来处理应用程序错误,而不是让服务器来处理它们。 在SpringBoot启动类中加入: @Bean public ErrorPageFilter errorPageFilter() { ret

Nan__Cheng的博客 1万+

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

上一篇: DNN4 (DotNetNuke) 备忘录
下一篇: Sun JDK 不兼容 IBM JDK 备忘录
platformlib
博客等级 码龄22年 1粉丝 27原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值
⌂ 换网址