site top | diary | column | tips | gallery

SeleniumのWeblogicへのデプロイ方法

基本はこのサイト「Selenium Core Installation on Weblogic in 9 Steps」にあるとおりだが、一部足らないので補足する


○Selenium Core Installation on Weblogic in 9 Steps

Selenium core Installation Instructions for deploying on the weblogic server 9.1:

1. Extract the selenium-core-0.8.3.zip into a custom folder say selenium-core any where outside the server. This will be the source of the deployable unit on the Administration Server
・SeleniumCoreのzipをダウンロードしたら、それをWeblogicServerの外で解凍する。

2. In this custom folder add WEB-INF folder structure:
・SeleniumCoreのフォルダの下にWEB-INF以下のフォルダを追加する。サブフォルダの中身は空でよい。
・WEB-INF
・Under this WEB-INF directory, create the following:
src (empty folder)
classes (empty folder)
lib (empty folder)
web.xml ← In this file add the content
・またweb.xmlという名前のファイルを作り、中には「

<web-app> </web-app>」とだけ書いておく。
Weblogic.xml
・さらにWeblogic.xmlというファイルを作成し、以下の内容を記述する。
<?xml version="1.0"?>
<!DOCTYPE weblogic-web-app
PUBLIC "-//BEA Systems, Inc.//DTD Web Application
8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<context-root>selenium</context-root>
</weblogic-web-app>

3.Start the weblogic from the domain where your application is deployed.
・Weblogicを起動させる

4.Create domain say selenium NOTE: This is outside selenium-core directory and also the server.
For this

cd $BEA_HOME
Create the domain using config.sh which is under $BEA_HOME/ weblogic91/common/bin (which is same as WL_HOME/common/bin).
NOTE: Default values can be replaced
・これは必要ない。あらたにドメインを作成するのではなく、以下の方法でSeleniumをデプロイする。


5.Start the weblogic server from /bin. In this case, selenium/bin

・これも必要ない。すでにWeblogicは起動している。

6.open console and goto deployments and deploy the total selenium core folder (open deployment)
・コンソールを開き、デプロイメントを選択。その後で、「ロックして編集」を押下するとインストール作業が行えるようになる。
・Selenium-Coreフォルダを選択し、インストールし、起動させる。
l・ocalhost:port番号/selenium/にアクセスできれば起動は成功。

トラックバック

このエントリーのトラックバックURL:

コメント

コメントしてください




保存しますか?

(書式を変更するような一部のHTMLタグを使うことができます)

2009年06月
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Recent Comments

Recent TrackBack

you16.com 2007 all right reserved