WebLogic/ different from tomcat

tomcat is not j2ee, thus it doesnt have application.xml.
□j2ee needs application.xml.
□cache of weblogic is <'C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user>.★
also, make sure to delete the project unused via the weblogic admin server console.
□reason why cant deploy w/ weblogic:
cuz, there is the setting to log out to the file(web-inf/calculator.log) which located in a war file.
--log4j.xml:
<'appender name="LOGFILE" class="org.apache.log4j.FileAppender">
<'param name="File" value="${03mvc_ex01answer.root}/WEB-INF/calculator.log" />
<'layout class="org.apache.log4j.PatternLayout">
<'param name="ConversionPattern"
value="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
<'/layout>
<'/appender>
--
thus, set the log-file location as C:\bea\user_projects\domains\base_domain\servers\AdminServer\logs,
might be successful.
□when to input add-mail w/ outlook
type some keyword (id) and ctrl+K.
□UnsupportedClassVersionError: Bad version number in .class file :
make sure the two, <'eclipse-project-property-Java compiler-JDK compliance-X.X> and <'C:\..\Java\jdk1.X>.
□IOException parsing XML document from ServletContext resource [/WEB-INF/testing-servlet.xml];
nested exception is java.io.FileNotFoundException: Could not open ServletContext resource :
write as following.
--web.xml
<'servlet>
<'servlet-name>testing<'/servlet-name>
<'servlet-class>
org.springframework.web.servlet.DispatcherServlet
<'/servlet-class>
<'!-- just try -->
<'init-param>
<'param-name>contextConfigLocation<'/param-name>
<'param-value>/WEB-INF/applicationContext.xml<'/param-value>
<'/init-param>
<'load-on-startup>1<'/load-on-startup>
<'/servlet>
--

tag : WebLogic tomcat

2011-05-21 16:44 : apsrv : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud