- 浏览: 117936 次
- 来自: ...
文章分类
最新评论
WebSphere Application Server V6 备忘录
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.
Starting WebSphere with Optimizeit
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.
Attaching from Optimizeit Once WebSphere is running with the Optimizeit Audit System, you can launch Optimizeit and attach to the virtual machine.
Select the tab for your chosen tool, and click Start.
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.
The application server is not affected by attaching and detaching Optimizeit.
|
2. WebSphere with DataSource
Connection String | |
Oracle thin | jdbc:oracle:thin:@orcl:1521:zlu |
Oracle oci |
|
Sybase | jdbc: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) |
|
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
↓ ↓
↓ ↓
|
5. WebSphere with MQSeries
There are two way at least to configure applications running in WebShere Application Server communicating with MQSeries:
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
|
Using an IIOP URL
|
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.
|
7. Misc
Configuration | |
Run Script | for %%v in ("*.jacl") do wsadmin -host 192.168.0.3 -port 8880 -f %%v |
Provider Endpoint in Non -Bootstrap Server | Use 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 WebSphere |
If the timer in WAS has exception, it always appear even you reinstall your application or restart WAS. Steps to remove it:
|
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 Variable | If 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. |
相关推荐
### WebSphere Application Server V6 安全手册知识点详解 #### 一、概述 《WebSphere Application Server V6 安全手册》(以下简称“手册”)是 IBM 发布的一本技术书籍,旨在帮助用户理解并配置 WebSphere ...
### WebSphere Application Server V6 自动安装应用程序知识点详解 #### 一、概述 **WebSphere Application Server (WAS) V6** 是IBM提供的一款企业级应用服务器产品,它支持多种应用开发模型,如Java EE、Web ...
### WebSphere Application Server V6 系统管理与配置手册知识点概览 #### 一、WebSphere Application Server V6 概述 **1.1 WebSphere 概览** WebSphere 是 IBM 开发的一套全面的企业应用解决方案,旨在为开发、...
IBM WebSphere 开发者技术期刊 用于进一步加强 WebSphere Application Server V6_1 中的安全性的 SSL、证书和密钥管理增强功能.mht
This book provides system administrators, developers, and architects with the knowledge to configure a WebSphere Application Server V6 runtime environment, to package and deploy Web applications, and ...
### WebSphere Application Server 6.0 应用指南 #### WebSphere Application Server 6.0 开发工具介绍 **WebSphere Application Server (WAS) 6.0** 的发布标志着IBM在企业级Java应用服务器领域的新里程碑。此...
### WebSphere Application Server V6.1安全手册知识点详解 #### 一、概述 《WebSphere Application Server V6.1 Security Handbook》是IBM公司为WebSphere Application Server V6.1版本编写的安全指南。该文档...
WebSphere Application Server9.0.0.2 安装包百度云盘资源地址,非商业用途,仅供学习使用。
《WebSphere Application Server V6可扩展性和性能手册》是一本深度探讨IBM的WebSphere Application Server V6在大规模应用环境下的性能优化与可扩展性构建的专业书籍。这本书旨在帮助IT专业人员理解和解决在企业级...
WebSphere Application Server V6 Web Container Problem Determination.pdf
WebSphere Application Server for Developers V8.5.5是供开发人员使用的免费版的was,需要的小伙伴可以本地安装一下 ,部署测试web项目,因为上传空间有限,这里就只上传windows64位的。
在安装WebSphere Application Server V6的过程中,以下是一些关键步骤和注意事项: 1. **启动安装程序**:首先,用户需要运行安装程序,通常是一个可执行文件,按照向导的指示进行操作。 2. **选择安装类型**:...
根据提供的文档信息,我们可以推断出这是一份关于 IBM WebSphere Application Server V5 管理的培训材料。下面将详细介绍这份文档中的关键知识点。 ### 一、文档概述 此文档名为《W38S1 Administration of ...
WebSphere Application Server 启动错误诊断 在本文中,我们将详细介绍 WebSphere Application Server(WAS)启动错误的诊断方法。WAS 是一个复杂的应用服务器,启动过程中可能会出现各种错误,影响服务器的正常...
### WebSphere Application Server for Developers V7 #### 一、概述 IBM WebSphere Application Server (WAS) 是一款高性能的企业级应用服务器,适用于构建、部署和管理企业级Java应用程序。本指南旨在帮助开发者...
WebSphere Application Server(WAS)是IBM提供的一款强大的企业级应用服务器,它是Java EE(Java Platform, Enterprise Edition)平台的实现,为企业级应用程序提供运行环境。在本文中,我们将深入探讨WebSphere ...
WebSphere Application Server集群和架构FAQ