锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
(1)灝嗗畨瑁呯鐩存帴鎷瘋礉鍒扮‖鐩樹笂榪涜瀹夎錛屽薄璇曞薄鐖?br />(2)瀹樻柟緗戠珯鐨勮В鍐蟲柟妗?娌¤瘯榪囷紝鐣欑潃浠ュ涓嶆椂涔嬮渶),濡備笅Problem The install of IBM廬 Rational廬 Application Developer (RAD) version 6.x completed except for the WebSphere廬 Test Environment (WTE) version 6.0 server. There was no { RAD Install Directory}/runtimes/base_v6 created in the installation process. 聽 Solution Here is a list of things to CHECK first and then re-install if your install completed without installing the WTE. A complete set of WTE V6 MANUAL INSTALL instructions also follows, to help you isolate the problem if required.
Note: This information is also applicable if an update of the WTE WAS v6 server failed after an initial successful install of RAD v6 and WTE v6.
CHECK [ and re-install ]
{RAD Install Dir}\logs\was_v6_out.log
,then if {RAD Install Dir}\base_V6 gets created, check:
{RAD Install Dir}\base_V6\logs\log.txt
{RAD Install Dir}\base_V6\logs\wsprofile\wasprofile_crreate_default.log
Check for INSTCONFSUCCESS messages at end of file(s) for successful installation.
It is possible that the install image could be corrupted. For example, the disk 4 WTE version 6 install image directory: disk4\external\was6 , contains 420,185,074 bytes, 1013 files, 416 folders. If you are installing from CD or a network drive, you might want to copy the image to a local drive, which sometimes avoids these problems. Or, download the V6 WTE again and re-extract to get a clean copy. If you are downloading from Passport Advantage, it should look something like this:
Download 3 of 21:
Rational Application Developer V6.0 Windows Part 3 - OPTIONAL: Contains WebSphere Application Server V6.0 Integrated Test Environment. Multilingual.
File Name C81CKML.bin
File Size 384,736,660 bytes
<install_dir>/rad_prod/_uninst/uninstall.exe
and uninstall only WAS V6 by insuring that only the IBM WebSphere Application Server V6.0 Integrated Test Environment checkbox is checked.
OR . . .
<at the command prompt> :
<install_dir>\runtimes\base_v6\_uninst\uninstall.exe
If you find any line containing <install_dir>\runtimes\base_v6, delete it.
Example:
C:\Documents and Settings\Administrator\.WASRegistry
If you find any lines starting with WSBAA60 and containing: <install_dir>\runtimes\base_v6 , delete them.
(For Windows2000: WINDIR=C:\WINNT , Windows XP : WINDIR=C:\WINDOWS)
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\WebSphere Application Server
was6_ref.products=xxx
If the RAD v6.0.x install is otherwise well-behaved, try to just re-install WTE v6. This is a judgement decision local to your install and your use of RAD as it is now, that is, whether you can do most other things with it besides using the WTEv6. (Go to step 6 if your decision is to do a complete uninstall/install of RAD v6.)
OR . . .
Note: %WINDIR%\IBM\RAT60 affects all Rational Software Development Platform (RSDP) products sharing this common platform, such as Rational Software Modeler, Rational Functional Tester and Rational Performance Tester. If that is not an issue, it is suggested that this directory be removed. Consult the related technote: How to manually un-install Rational Application Developer on Windows , if there are problems.
<at the command prompt> :
<install_dir>\runtimes\base_v6\profiles\default\bin\startServer server1
<install_dir>\runtimes\base_v6\profiles\default\bin\stopServer server1
Note: Update logs are kept in {RAD Install Dir}\runtimes\base_v6\logs\update\
e.g. for WAS 6.0.2 Refresh Pack and WAS 6.0.2.5 Fix Pack for Windows:
...\runtimes\base_v6\logs\update\6.0-WS-WAS-WinX32-RP0000002.install
...\runtimes\base_v6\logs\update\6.0.2-WS-WAS-WinX32-FP0000005.install
WTE v6 MANUAL INSTALL
If the process above does not work, here are the manual steps to install the WTE using only WebSphere components (and if this still fails, then it will be necessary to consult RAD support, which at this point would most likely involve WebSphere Support to help resolve the issue.).
The RAD v6 WTE v6 server install is a very thin layer on top of a true stand-alone WAS v6 Base install. The main difference is that RAD disables the Windows Start menu and it selects the optional features that need to be installed. To manually install:
cd <install_image>/disk4/external/was6
set DisableWASDesktopIntegration=false ,
This environment variable disables the creation of Start Menu shortcut for WAS v6 in Windows.
<at the command prompt>:
install.exe -options "<install_image>\disk4\external\was6\rat_responsefile.txt"
[Note: on the command line do not use the option:
-P wasProductBean.installLocation="<install_dir>/runtimes/base_v6"
There is a problem in the WAS installer in reading this option properly in a GUI install.]
Then in the GUI Install wizard:
<install_dir>/runtimes/base_v6
where <install_dir> is the location where RAD is installed.
The GUI Install, unlike the silent install, allows the user to directly see the install progress. If there is any problem related to user's machine, it will be shown to the user.
OR
<at the command prompt>:
install.exe -silent -options "<install_image>\disk4\external\was6\rat_responsefile.txt" -P wasProductBean.installLocation="<install_dir>/runtimes/base_v6"
Note:-silentmust be placed before-options
]]>
聽at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
聽at oracle.jdbc.driver.OraclePreparedStatement.clearParameters(OraclePreparedStatement.java:3401)
聽at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.resetStatement(WSJdbcConnection.java:2179)
聽at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1830)
聽at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1782)
聽at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:442)
聽at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:93)
聽at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:86)
聽at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:171)
聽at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2048)
聽at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2427)
聽at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
聽at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
聽at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
聽at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
聽at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
聽at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
聽at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
聽at com.mtrc.afcdas.dao.base.HibernateDAOImpl.create(HibernateDAOImpl.java:70)
聽at com.mtrc.afcdas.ejb.session.LoginFacadeBean.loginRegister(LoginFacadeBean.java:141)
聽at com.mtrc.afcdas.ejb.session.EJSLocalStatelessLoginFacade_4ee4fc9e.loginRegister(EJSLocalStatelessLoginFacade_4ee4fc9e.java:152)
聽at com.mtrc.afcdas.delegate.LoginDelegate.loginResgister(LoginDelegate.java:61)
聽at com.mtrc.afcdas.web.struts.action.LoginAction.loginAction(LoginAction.java:78)
聽at com.mtrc.afcdas.web.struts.action.LoginAction.appExecute(LoginAction.java:48)
聽at com.mtrc.afcdas.framework.web.AppBaseAction.execute(AppBaseAction.java:55)
聽at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
聽at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
聽at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
聽at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
聽at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
聽at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
聽at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
聽at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
聽at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
聽at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
聽at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
聽at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
聽at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
聽at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
聽at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
聽at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
聽at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
聽at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
聽at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
]]>
聽聽聽聽聽聽 榪欓噷寮曠敤涓孌佃瘧鑷枃绔?http://www.webspherepower.com/issues/issue200405/00001281001.html )鐨勮瘽錛?br />聽聽聽聽聽 聽澶ч儴鍒嗙殑Log瀹炵幇閮芥湁浜旂鏍囧噯鐨勬棩蹇楁秷鎭駭鍒紝浠栦滑鏄疍EBUG, INFO, WARN, ERROR,聽鍜?FATAL銆?br />聽聽聽聽聽聽 聽IBM鐨凾rLog(Trace Log鐨勭畝鍐?聽 鏀寔榪欎簲縐嶇駭鍒紝騫朵笖榪橀澶栨敮鎸佷竴縐嶇駭鍒玊RACE銆俆race綰у埆姣擠ebug瑕佷綆錛屽鏋滀綘璁劇疆浣犵殑鏃ュ織綰у埆涓篋ebug ,閭d箞Trace綰у埆鐨勪俊鎭氨涓嶄細杈撳嚭鍒癓og涓俆race 鍙槸棰濆鎻愪緵浜嗕竴縐嶇敤浜庤В鍐沖鏉傞棶棰樼殑鏃ュ織綰у埆銆?/font>
聽
聽聽聽聽聽聽聽 瑕佹帶鍒禩rlog涓殑Trace綰у埆鐨勬棩蹇楀彧鑳介氳繃WAS鐨勭鐞嗘帶鍒跺彴銆備笉鍍廘og4J絳夊叾浠栫殑鏃ュ織瀹炵幇浣跨敤灞炴ф枃浠舵潵閰嶇疆鍙傛暟錛孴rLog鐩存帴鍝嶅簲鏉ヨ嚜浜庢帶鍒跺彴鐨勬搷綰點傛帶鍒跺彴鎿嶄綔鍛樺彲浠ラ氳繃鍐呯疆浜庣鐞嗘帶鍒跺彴鐨勫伐鍏鋒潵淇敼涓嶅悓鏃ュ織鐨勬棩蹇楃駭鍒?br />
濡傛灉鎯崇敤鑷畾涔夌殑杈撳嚭鏂瑰紡鏉ヨ緭鍑烘棩蹇椾俊鎭?濡?apache鐨刢ommons-logging)錛岄渶浠ヤ笅鍑犱釜姝ラ閰嶇疆錛?
1)鍦ㄤ竴涓叕鍏辯殑欏圭洰(鍏朵粬鐨勯」鐩兘浼氬紩鐢ㄥ畠)涓紩鍏ommon-logging.jar ,log4j.jar
聽聽 騫朵笖鎶婇厤緗ソ鐨刢ommon-logging.properties 鍜宭og4j.properties 鏀懼湪鏍圭洰褰曚笅闈?br />2)鍦╳ebsphere鑷繁鎻愪緵鐨勯泦鎴愬紑鍙戠幆澧僐AD涓紝鍦‥AR欏圭洰鐨勫簲鐢ㄧ▼搴忛儴緗叉弿榪版弿榪扮涓紝閫夋嫨鈥滈儴緗測濋〉錛屽湪搴旂敤紼嬪簭鍖哄煙錛?br />聽聽聽 閫変腑EAR欏圭洰錛屽茍灝嗗叾綾昏澆鍏ユ柟寮忕敱鍘熸潵鐨凱arent_First鏀逛負Parent_Last ,鍏朵粬鐨勭淮鎸佷笉鍙?br />3)鍦ㄧ鐞嗘帶鍒跺彴涓湁寰呭皾璇曪紝榪欓噷鍏堝紩鐢ㄤ粬浜虹殑涓孌佃瘽(http://forum.javaeye.com/bloglist.php?userid=8514)
聽聽聽 鍦ㄦ帶鍒跺彴涓殑"鐜->鍏變韓搴?欏甸潰涓坊鍔犱竴涓叡浜簱,綾昏礬寰勬寚鍚戣閲囩敤鐨勬棩蹇楁枃浠?榪欓噷鏄坊鍔燾ommons-logging.jar鍜孡og4j.jar,淇濆瓨璁劇疆.
聽聽聽 鍦?浼佷笟搴旂敤紼嬪簭 > 浣犵殑搴旂敤紼嬪簭 > 搴撳紩鐢?涓嬫坊鍔犲垰鎵嶅垱寤虹殑鍏變韓搴?灝?綾昏鍏ュ櫒鏂瑰紡 "鏀逛負鏈鍚庤鍏ョ埗綾?/font>
鍙傝冪殑鏂囩珷鏈夛細
Utilizing the IBM Trace Log in Websphere Appliation聽Server聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 (
http://www.webspherepower.com/issues/issue200405/00001281001.html
)
Integrating Jakarta Commons Loggin
(
http://www-1.ibm.com/support/docview.wss?uid=swg27004610
)
铏界劧榪欎簺鏂囩珷閲岄潰浠嬬粛鐨勬槸鍩轟簬WAS 5 ,浣嗘槸鍘熺悊閮芥槸鐩稿悓鐨?/font>