-
Weblogic 관련 파일프로그램/JSP 2008. 1. 1. 12:52
C:\bea\user_projects\domains\mydomain\applications\app\WEB-INF\web.xml
-----------------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"><!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
<web-app><!-- Remove the comments below to define a servlet. -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- <servlet> -->
<!-- <servlet-name>MyServlet</servlet-name> -->
<!-- <servlet-class>examples.MyServlet</servlet-class> -->
<!-- <init-param> -->
<!-- <param-name>myparam</param-name> -->
<!-- <param-value>12345</param-value> -->
<!-- </init-param> -->
<!-- </servlet> -->
<!-- -->
<!-- -->
<!-- <servlet-mapping> -->
<!-- <servlet-name>MyServlet</servlet-name> -->
<!-- <url-pattern>/mine/*</url-pattern> -->
<!-- </servlet-mapping> -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!--filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>com.dongseoh.swaf.web.filter.EncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>EUC-KR</param-value>
</init-param>
</filter><filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>*.van</url-pattern>
</filter-mapping><filter>
<filter-name>AccessLogFilter</filter-name>
<filter-class>com.dongseoh.swaf.web.filter.AccessLogFilter</filter-class>
</filter><filter-mapping>
<filter-name>AccessLogFilter</filter-name>
<url-pattern>*.van</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>swaf</servlet-name>
<servlet-class>com.dongseoh.swaf.web.mvc.ChannelServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet><servlet-mapping>
<servlet-name>swaf</servlet-name>
<url-pattern>*.van</url-pattern>
</servlet-mapping-->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- error page definition -->
<!--error-page>
<error-code>404</error-code>
<location>/error/http404Error.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error/webAppError.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error/webAppError.jsp</location>
</error-page><taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/jstl/c.tld</taglib-location>
</taglib><taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tlds/jstl/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/swaf/ui</taglib-uri>
<taglib-location>/WEB-INF/tlds/swaf/swaf-ui.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/custom/f</taglib-uri>
<taglib-location>/WEB-INF/tlds/custom/f.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/swaf/str</taglib-uri>
<taglib-location>/WEB-INF/tlds/swaf/swaf-str.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/WEB-INF/tlds/user/form-taglib.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/user/form-taglib.tld</taglib-location>
</taglib--></web-app>
-------------------------------------------------------------------------------------
C:\bea\user_projects\domians\mydomain\applications\app\WEB-INF\weblogic.xml
=====================================================================================
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.1//EN" "http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd">
<weblogic-web-app><session-descriptor>
<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated_if_clustered</param-value>
</session-param>
<session-param>
<param-name>CookieName</param-name>
<param-value>JSESSIONIDC</param-value>
</session-param>
</session-descriptor><jsp-descriptor>
<jsp-param>
<param-name>
compileFlags
</param-name>
<param-value>
-g
</param-value>
</jsp-param>
<jsp-param>
<param-name>
keepgenerated
</param-name>
<param-value>
true
</param-value>
</jsp-param>
<jsp-param>
<param-name>
workingDir
</param-name>
<param-value>
C:\bea\user_projects\domains\mydomain\j2src
</param-value>
</jsp-param></jsp-descriptor>
<context-root>/</context-root>
</weblogic-web-app>
================================================================================
D:\workspace\sungbin\WebContent\WEB-INF\build.properties
============================================================================
#LOMBOZ BUILD FILE PROPERTIES- UPDATED:Thu Sep 06 15:56:56 KST 2007
#Thu Sep 06 15:56:56 KST 2007
#deploy 하는 경로
war=app
eclipse.home=/c\:/ecvan3/eclipse2/
module=webapp
project.dir=../../
#컨텍스트 루트
deploy.dir=C\:/bea/user_projects/domains/mydomain/applications
developServer_deploy.dir=W\:/
deploy_jsp.dir=C\:/bea/user_projects/domains/dongseoh/applications
project.path=C\:\\ecvan3\\eclipse2\\workspace\\eLandUserWeb\\bin;D\:\\j2sdk1.4.2_05\\lib\\tools.jar;D\:\\bea\\weblogic81\\server\\lib\\weblogic.jar;D\:\\bea\\weblogic81\\server\\lib\\ojdbc14.jar;D\:\\bea\\weblogic81\\server\\lib\\webservices.jar;D\:\\swaf-dongseoh\\lib\\SWAF.jar;D\:\\swaf-dongseoh\\lib\\commons-httpclient-3.0.1.jar;D\:\\swaf-dongseoh\\lib\\commons-lang-2.3.jar;D\:\\swaf-dongseoh\\lib\\commons-configuration-1.4.jar;D\:\\swaf-dongseoh\\lib\\commons-logging.jar;D\:\\swaf-dongseoh\\lib\\commons-collections-3.1.jar;D\:\\swaf-dongseoh\\lib\\commons-io-1.1.jar;D\:\\swaf-dongseoh\\lib\\commons-codec-1.3.jar;D\:\\swaf-dongseoh\\lib\\jstl.jar;D\:\\swaf-dongseoh\\lib\\standard.jar;D\:\\swaf-dongseoh\\lib\\avalon-framework-cvs-20020806.jar;D\:\\swaf-dongseoh\\lib\\batik.jar;D\:\\swaf-dongseoh\\lib\\fop.jar
bin.dir=bin
jsp.dir=../
jsp.common.dir=../common
jsp.user.edi.dir=../user/edi
jsp.user.pds.dir=../user/pds
jsp.user.include.dir=../user/include
jsp.vendor.edi.dir=../vendor/edi
jsp.vendor.pds.dir=../vendor/pds
jsp.vendor.include.dir=../vendor/include
==========================================================================
D:\workspace\sungbin\WebContent\WEB-INF\build.xml
===============================================================================
<!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
<project name="webmodulebuilder" default="deploy" basedir=".">
<!-- set global properties for this build -->
<property file="build.properties"/>
<property name="dist" value="../../dist" />
<property name="web" value="../" />
<target name="init">
<!-- Create the dist directory structure used by compile
and copy the deployment descriptors into it-->
<mkdir dir="${dist}"/>
<mkdir dir="${dist}/common"/>
<mkdir dir="${dist}/user"/>
<mkdir dir="${dist}/user/include"/>
<mkdir dir="${dist}/user/pds"/>
<mkdir dir="${dist}/user/pds/sts"/>
<mkdir dir="${dist}/user/edi"/>
<mkdir dir="${dist}/user/edi/rcv"/>
<mkdir dir="${dist}/vendor/pds"/>
<mkdir dir="${dist}/vendor/pds/sts"/>
<mkdir dir="${dist}/vendor/edi"/>
<mkdir dir="${dist}/vendor/edi/rcv"/>
<mkdir dir="${dist}/WEB-INF"/>
<mkdir dir="${dist}/WEB-INF/classes"/>
<!--copy todir="${dist}">
<fileset dir="${web}">
<include name="**/*.*"/>
<exclude name="**/jsp_servlet/*.class"/>
<exclude name="**/build.xml"/>
<exclude name="**/deploy.xml"/>
<exclude name="**/build.properties"/>
<exclude name="**/servers.xml"/>
<exclude name="**/targets.xml"/>
<exclude name="**/*.war"/>
</fileset>
</copy-->
<copy todir="${dist}/WEB-INF/classes">
<fileset dir="${project.dir}/${bin.dir}">
<include name="**/*.*"/>
<exclude name="**/jsp_servlet/*.class"/>
</fileset>
</copy>
<!-- added by sunghoia 20071005--><!--index.jsp, error.jsp, redirect.jsp 등등-->
<copy todir="${dist}">
<fileset dir="${jsp.dir}">
<include name="**/*.jsp"/>
<include name="**/*.jspf"/>
</fileset>
</copy><!--
<copy todir="${dist}/common">
<fileset dir="${jsp.common.dir}">
<include name="**/*.*"/>
</fileset>
</copy><copy todir="${dist}/pds">
<fileset dir="${jsp.pds.dir}">
<include name="**/*.*"/>
</fileset>
</copy>
<copy todir="${dist}/edi">
<fileset dir="${jsp.edi.dir}">
<include name="**/*.*"/>
</fileset>
</copy><copy todir="${dist}/include">
<fileset dir="${jsp.include.dir}">
<include name="**/*.*"/>
</fileset>
</copy>
-->
</target><target name="deploy" depends="undeploy,init" >
<!-- Create the distribution directory -->
<!--delete file="${war}.war" failonerror="false" />
<jar jarfile="${war}.war" basedir="${dist}"/-->
<!-- copy file="${war}.war" todir="${deploy.dir}"/>
<delete file="${war}.war" failonerror="false" />
<delete dir="${dist}" failonerror="false" /-->
<!-- file deploy -->
<copy todir="${deploy.dir}/${war}">
<fileset dir="${dist}">
<include name="**/*.*"/>
</fileset>
</copy><!-- 개발서버에 deply하기. 일단 주석처리 07.11.07-->
<!--
<copy todir="${developServer_deploy.dir}">
<fileset dir="${dist}">
<include name="**/*.*"/>
</fileset>
</copy>
--><delete dir="${dist}" failonerror="false" includeemptydirs="ture"/>
</target>
<target name="deployTool">
<ant antfile="./deploy.xml" dir="." target="deploy" inheritall="true">
</ant>
</target>
<target name="undeploy">
<!-- Sometimes you can undeploy with deleting the module file but it is best dealt on an appserver basis
at undeployTool target -->
</target>
<target name="undeployTool">
<ant antfile="./undeploy.xml" dir="." target="undeploy" inheritall="true">
</ant>
</target></project>
==========================================================================='프로그램 > JSP' 카테고리의 다른 글
제우스 라이센스 신청과정... (0) 2008.03.05 제우스(jeus5.0) 삭제 및 재 설치 (0) 2008.03.04 Eclipse 의 FTP plugin (0) 2008.01.02 JAVA 컴파일하기~ to JSP (0) 2007.11.27 ResultSet 에 대한 객체 (0) 2007.11.26 TOMCAT 참조하는 jar 파일에 대해서... (0) 2007.11.22 package 선언시 javac -d xx yy 컴파일과 useBean에 대해서... (0) 2007.11.20