欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
Weblogic summing-up for SIT

weblogic summing-up for SIT

關(guān)鍵字: weblogic
1.Cannot contain comments in tag-class when describe a tag.
  1. <tag>  
  2.     <name>collection</name>  
  3.     <tag-class>  
  4.       <!--  com.XXX.XXX.extensions.taglib.iflow.CollectionTag-->  
  5.       com.XXX.iflow.tray.taglib.CollectionTag</tag-class>  
  6.     <body-content>JSP</body-content>  
  7.     <description>Defines the collection of task to retrieve.</description>  
  8.     <attribute>  
  9.     ....   
  10.     </attribute>  
  11. </tag>  

This comment will cause 'The tag handler class was not found ""' under weblogic.

2.Remote debug(weblogic/eclipse)
(i)Add debug option in the start script of an existed domain. Add this sentence below in startWebLogic.cmd(.sh)(in weblogic9.2, just find the default setting 'set JAVA_DEBUG=' in setDomainEnv.cmd, update it. )
set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n
set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
Note:8453 is the debug port.
(ii). Add a remote Java Application,input the Host and Port.

3. the usage of html:multibox in weblogic environment
Right:
<html:multibox property="tableSelection"><c:out value="${item.tableName}"/></html:multibox>
<html:text name="resultrow" property="expiryDate" size="10" styleClass="form_field" maxlength="10" />
Error:
<html:multibox property="tableSelection" value="${item.tableName}"/>
<html:text name="resultrow" property="expiryDate" size="10" styleClass="form_field" maxlength="10" value='${resultrow.expiryDateAsString}' />

Cannot digest '${item.tableName}' and take it as a string.
Can get the real value of 'resultrow.expiryDateAsString' automaticly.

4.java.util.ConcurrentModificationException

  1. Enumeration<?> attrNames = request.getAttributeNames();   
  2.             while (attrNames.hasMoreElements()) {   
  3.                 String attrName = (String) attrNames.nextElement();   
  4.                 if (attrName   
  5.                         .endsWith(PaginationConstants.PAGINATION_SORT_ORDER)) {   
  6.                     request.setAttribute(attrName, null);   
  7.                     if (logger.isDebugEnabled()) {   
  8.                         logger.debug("[" + request.getServletPath()   
  9.                                 + "] PaginationSortOrderData cleared: "  
  10.                                 + attrName);   
  11.                     }   
  12.                 }   
  13.             }  
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
        at java.util.HashMap$KeyIterator.next(HashMap.java:823)
        at weblogic.utils.enumerations.IteratorEnumerator.nextElement(IteratorEn
umerator.java:25)
        at com.XXX.XXX.extensions.taglib.pagination.PaginationFilterModule.ap
plyPagination(PaginationFilterModule.java:57)
        at com.XXX.XXX.extensions.taglib.pagination.PaginationFilterModule.ex
ecute(PaginationFilterModule.java:42)
Note:Seems this is OK. in tomcat,jboss,Sun application.

5. weblogic bundling an old version of Rhino inside weblogic.jar
java.lang.NoSuchMethodError: org.mozilla.javascript.Context.initStandardObjects()Lorg/mozilla/javascript/ScriptableObject;
This is caused by WebLogic bundling an old version of Rhino inside weblogic.jar (how horrible!!), and in this old version the org.mozilla.javascript.Context class does not have the method initStandardObjects().
The Rhino JAR used by Alfresco is currently rhino-js-1.6R4.jar (i.e. Rhino version 1.6R4).
It is not enough to place this JAR file inside your WebLogic domain's lib directory.
You have to force it on the front of WebLogic's CLASSPATH before it loads its own JARs. After trying a number of approaches, this was the only way I found to reliably fix the problem.
So, do the following to achieve this:
(i) Copy rhino-js-1.6R4.jar to your domain's lib directory (if it's not there already))
(ii) Change the following line in startWebLogic.cmd (in your WebLogic domain's bin directory) if you are using Windows ... similar idea if you are using Solaris
from ...
-------------
set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
-------------
to ...
-------------
set CLASSPATH=C:\PROGRA~1\BEA\user_projects\domains\alfresco\lib\rhino-js-1.6R4.jar;%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
-------------
Note: C:\PROGRA~1\BEA\user_projects\domains\alfresco\lib\ is where my domain's lib directory is - yours will no doubt be different.
Stop and restart WebLogic using this modified script
The problem should go away as WebLogic should now be using Rhino 1.6R4 (the version required for Alfresco). Hooray!!

6.java.sql.Timestamp.compareTo(java.util.Date) the parameter is not a instance of java.sql.Timestamp.
java.sql.Timestamp.compareTo(java.util.Date)
It' OK under Tomcat+Sun JDK
But Bad under weblogic.
Caused by: java.lang.ClassCastException: java.util.Date
        at java.sql.Timestamp.compareTo(Timestamp.java:474)
        at com.XXX.iforge.timelog.service.AvWorkingHoursServiceImpl.prepareAvPer
iodList(AvWorkingHoursServiceImpl.java:65)
        at com.XXX.iforge.timelog.command.AvWorkingHoursCommand.getMonthlyTimelo
gPeriodList(AvWorkingHoursCommand.java:65)
        at com.XXX.iforge.timelog.command.AvWorkingHoursCommand.periodDisplay(Av
WorkingHoursCommand.java:43)
        ... 41 more

7. the usage of getRealPath(String)
event.getServletContext().getRealPath("WEB-INF/classes")
When I deploy my application as a folder, it'OK and retun 'D:\deploy package\codeadmin\WEB-INF\classes'. But it retuns null when deploying my application as a war packge.
There is no real Path concept for a packaged web application.
See API of ServletContext:
String getRealPath(String path)
Returns a String containing the real path for a given virtual path. For example, the path "/index.html" returns the absolute file path on the server's filesystem would be served by a request for "http://host/contextPath/index.html", where contextPath is the context path of this ServletContext..
The real path returned will be in a form appropriate to the computer and operating system on which the servlet container is running, including the proper path separators. This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive).
Parameters:
path - a String specifying a virtual path
Returns:
a String specifying the real path, or null if the translation cannot be performed
  1. InputStream is = getServletContext().    
  2.           getResourceAsStream("/WEB-INF/log4j.properties");    
  3.         Properties props = new Properties();    
  4.         try {    
  5.             props.load(is);    
  6.         } catch (IOException e) {    
  7.             System.err.println("Load log4j configuration failed");    
  8.         }    
  9.         PropertyConfigurator.configure(props);  


ServletContext.getResourceAsStream() is commendatory;


8. Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
"weblogic.j2ee.descriptor.ServletMappingBeanImpl@e30790b(/ServletMappings[weblogic.descriptor.internal.CompoundKey@ea2c6ca])" when I received an error similar to this, I had to delete duplicate tag declaration as below.

 
  1. <taglib>  
  2.         <taglib-uri>/WEB-INF/tld/struts-html-el.tld</taglib-uri>  
  3.         <taglib-location>  
  4.             /WEB-INF/tld/struts-html-el.tld   
  5.         </taglib-location>  
  6.     </taglib>  
  7.     <taglib>  
  8.         <taglib-uri>/WEB-INF/tld/struts-html-el.tld</taglib-uri>  
  9.         <taglib-location>  
  10.             /WEB-INF/tld/struts-html-el.tld   
  11.         </taglib-location>  
  12.     </taglib>  



9.Weblogic cannot support el properly.

  1. <html:text property='<%="sqlClause.select["+rownum+"].alias"%>' readonly="true"><c:out value="${selectList.alias}"/></html:text>  
  2. //-->  
  3. <input type="text" name="sqlClause.select[0].alias" value="" readonly="readonly">  
  4. <html:hidden property='<%="sqlClause.select["+rownum+"].attribute"%>' value="${selectList.attribute}"/>  
  5. //-->  
  6. <input type="hidden" name="sqlClause.select[0].attribute" value="${selectList.attribute}">   


These codes also tell us, we can submit a arraylist.(I didn't know it before)

  1. <html:hidden property="<%="sqlClause.select["+rownum+"].attribute"%>value="${selectList.attribute}"/>  

The code above is OK. in tomcat, but bad in weblogic. Seems weblogic is strict.

Note: This may be a bug of weblogic and this code above is OK under weblogic 9.2 MP2.
See, http://edocs.bea.com/wls/docs92/issues/known_resolved.html#wp1143391
Change Request Number: CR300671 CR311505 
Expression Language (EL) was not getting substituted with values while using Struts-EL HTML tag.
This problem has been resolved. 
Foung in: 9.2  Fixed in: 9.2 MP2

Source: http://forums.bea.com/thread.jspa?threadID=400000764&start=15
Thank you. Although getting the MP2 upgrade took many calls and emails to tech support (broken links, misleading links), this fixed my problem (steps described below).

I don't know how reward points are awarded, but you deserve a whole bunch.

For anyone else who:
- has upgraded from WL8.x to WL9.2, and was using JSTL 1.0
- has WL9.2 installed but not WL9.2 MP2
- wants to make JSTL 1.0 work with WL 9.2 rather than upgrade to JSTL 1.1

here's what worked for me:
- login to bea.com. You will have to have a support level that allows you to download MP2.
- go to (tinyurl: http://tinyurl.com/3592vk) http://commerce.bea.com/support/supportversions.jsp?allversions=true&file=/managed_content/webapp/components/downloadcenter/products/weblogicserver/support/support.html
- click on "Maintenance Pack 2 Upgrade Installers for WebLogic Server 9.2"
- click the download link for your OS
- download the installer aka upgrader
- back up your commEnv.cmd if you've changed it (afaik that is the only file that is overwritten when you upgrade, but I'm not at all sure)
- run the upgrade program (this can take 30 mins)
- edit your web.xml and make the first two lines this (you may already have this):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

That's it. Now when you run weblogic, your *-el tag libraries should work as they did under WL8.x.

本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
入門(mén)教程:JSP標準模板庫
<%@ taglib uri=“” prefix=""%> 使用
自定義標簽之EL函數
什么是tld文件
錯誤提示:The absolute uri: http://java.sun.com/js...
jsp中的JSTL與EL表達式用法及區別
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久