??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品国产国语,欧美亚洲国产SUV,亚洲乱码国产一区网址http://www.tkk7.com/wilesun/zh-cnThu, 03 Jul 2025 17:50:30 GMTThu, 03 Jul 2025 17:50:30 GMT60glassfish下的Eclipse的wtp插g的server runtime library问题http://www.tkk7.com/wilesun/archive/2013/08/14/402769.htmlwilesunwilesunWed, 14 Aug 2013 01:27:00 GMThttp://www.tkk7.com/wilesun/archive/2013/08/14/402769.htmlhttp://www.tkk7.com/wilesun/comments/402769.htmlhttp://www.tkk7.com/wilesun/archive/2013/08/14/402769.html#Feedback0http://www.tkk7.com/wilesun/comments/commentRss/402769.htmlhttp://www.tkk7.com/wilesun/services/trackbacks/402769.htmlSee the thread GlassFish Tools does not provide a Server Runtime for Java Build Path in the Oracle forum.
Summary: They no longer provide a "Server Runtime" for plain Java projects. Instead, the project needs to be a faceted project and have a target runtime.
To configure this, do the following:
Go to the project properties > Project Facets
If necessary, click on Convert to faceted form...
In the Runtimes tab, select GlassFish 3.1
In case you need to export the GlassFish libraries to dependent projects, also do the following:
In Project Facets properties, select Utility Module and click Apply
In Java Build Path > Order and Export, select GlassFish System Libraries
]]>Configuring Oracle for XAhttp://www.tkk7.com/wilesun/archive/2013/07/26/401984.htmlwilesunwilesunFri, 26 Jul 2013 01:45:00 GMThttp://www.tkk7.com/wilesun/archive/2013/07/26/401984.htmlhttp://www.tkk7.com/wilesun/comments/401984.htmlhttp://www.tkk7.com/wilesun/archive/2013/07/26/401984.html#Feedback0http://www.tkk7.com/wilesun/comments/commentRss/401984.htmlhttp://www.tkk7.com/wilesun/services/trackbacks/401984.htmlConfiguring Oracle for XA
Oracle 10.2.0.3 and lower
Oracle 10.2.0.4, 11g and higher
Oracle 10.2.0.3 and lower
NOTE: this tip was written with Oracle DBMS version 10.2.0.2.0
How can you know if your Oracle server is correctly configured for XA?
The simplest and usually the most effective way is the following:
logon to SQLPlus (or use another tool if you like); make sure to use the user/password that you are using for your application
execute the query: select * from SYS.DBA_PENDING_TRANSACTIONS;
If this works then XA is configured.
If not then you should do one or all of the following:
run the oracle scripts 'initxa.sql' and 'xaview.sql' (or ask your DBA to do this for you).
ask your DBA to grant select rights (to your user) on SYS.DBA_PENDING_TRANSACTIONS
for the driver ojdbc14.jar, you also need execute rights on SYS.DBMS_SYSTEM
The last step is NOT needed for the older (JDK 1.2) drivers in classes12.jar
Oracle 10.2.0.4, 11g and higher
For Oracle 10.2.0.4 and up, you no longer need execute rights on SYS.DBMS_SYSTEM. This was fixed in Oracle 10.2.0.4 (BUG 5945463).
Make sure you are also using client driver ojdbc14 version 10.2.0.4 and up.
]]>FWK005 parse may not be called while parsing.http://www.tkk7.com/wilesun/archive/2012/05/09/377723.htmlwilesunwilesunWed, 09 May 2012 09:18:00 GMThttp://www.tkk7.com/wilesun/archive/2012/05/09/377723.htmlhttp://www.tkk7.com/wilesun/comments/377723.htmlhttp://www.tkk7.com/wilesun/archive/2012/05/09/377723.html#Feedback0http://www.tkk7.com/wilesun/comments/commentRss/377723.htmlhttp://www.tkk7.com/wilesun/services/trackbacks/377723.html
org.xml.sax.SAXException: FWK005 parse may not be called while parsing. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:263) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
if(fParseInProgress) { thrownew XNIException("FWK005 parse may not be called while parsing."); } fParseInProgress =true; // 解析xml文g finally{ fParseInProgress =false; }
从程序逻辑来看Q如果当前DocumentBuilder对象正在转换文Q此时再ơ请求{换文,那么直接抛出XNIException(“FWK005 parse may not be called while parsing.”);异常?/p>
]]>delphi实现静态方?/title>http://www.tkk7.com/wilesun/archive/2009/01/07/250306.htmlwilesunwilesunWed, 07 Jan 2009 04:32:00 GMThttp://www.tkk7.com/wilesun/archive/2009/01/07/250306.htmlhttp://www.tkk7.com/wilesun/comments/250306.htmlhttp://www.tkk7.com/wilesun/archive/2009/01/07/250306.html#Feedback0http://www.tkk7.com/wilesun/comments/commentRss/250306.htmlhttp://www.tkk7.com/wilesun/services/trackbacks/250306.html
unit Unit2;
interface
type
TMyClass = Class
public
{静态过E?讄静态属性的值}
class procedure SetStaticMemberValue(AString: string);
{静态函?d静态属性的值}
class function GetStaticMemberValue: string;
end;
implementation
{在此声明静态属?q一点与c++有很大的不同}
var
AStaticMember: string;
class function TMyClass.GetStaticMemberValue: string;
begin
Result := AStaticMember;
end;
class procedure TMyClass.SetStaticMemberValue(AString: string);
begin
AStaticMember := AString;
end;
end.
那么在TMyClass中声明的属性及Ҏ是否是静态属性或静态方法呢?L下面的实?
...
uses unit2
...
procedure TForm1.Button2Click(Sender: TObject);
begin
{不需声明TMyClass的实?可直接设|及d静态属性的值}
TMyClass.SetStaticMemberValue('MyClass');
showmessage(TMyClass.GetStaticMemberValue);
end;