Felix's Blog
li.feixiang · 共 86 篇文章
Compiling and Installing Apache with Redhat
Download $ lynx http://httpd.apache.org/download.cgi Extract $ gzip -d httpd-NN.tar.gz $ tar xvf httpd-NN.tar $ cd httpd-NN Configure $ ./configure --prefix=PREFIX Compile $ make Install $ make install Customize $ vi PREFIX/conf/httpd.conf Test $ PREFIX/bin/apachectl -k start
2012-02-08 18:00 · 评论(0)
JSP Authentication with the Method Server
During development for a customer, they wanted to access a JSP page that would execute some server-side code. The problem was that the page was being accessed by a program developed by the customer, so no user interaction could occur for authentication on Windchill's end. The requirements prevented…
2012-02-07 20:31 · Windchill · 评论(0)
Solution for searching the latest revision object
// Implement your query specification QuerySpec spec = new QuerySpec(WTDocument.class); spec.appendWhere(new SearchCondition(WTDocument.class, WTDocument.NAME, SearchCondition.EQUAL,"JUN_DOC2")); // Set latest configspec LatestConfigSpec configspec = new LatestConfigSpec(); // Search latest object.…
2012-02-01 11:44 · Windchill · 评论(0)
Solution for search object with IBA Attribute
QuerySpec qs = new QuerySpec(WTDocument.class); // IBA attribute area. I used one IBA value "ALEX1" AttributeDefDefaultView addv = IBADefinitionHelper.service.getAttributeDefDefaultViewByPath("ALEX1"); long ibaDefId = addv.getObjectID().getId(); IBAQuerySpec ibaQuery = new IBAQuerySpec(StringValue.…
2012-02-01 11:39 · Windchill · 评论(0)
Formula Evaluation
Using FormulaEvaluator.evaluate(Cell cell) This evaluates a given cell, and returns the new value, without affecting the cell FileInputStream fis = new FileInputStream("c:/temp/test.xls"); Workbook wb = new HSSFWorkbook(fis); //or new XSSFWorkbook("c:/temp/test.xls") Sheet sheet = wb.getSheetAt(0);…
2012-01-19 21:51 · 评论(0)
Reload Command Fails for Windchill Cluster Environment
标题 Reload Command Fails for Windchill Cluster Environment during installation of Windchill Partslink 10.0 说明 Reload Command Fails for Windchill Cluster Environment during installation of Windchill Partslink Error: “Cannot connect to //wtcluster.ptcnet.ptc.com:11011/datasource” 适用于 Windchill PartsLi…
2011-12-16 23:42 · 评论(0)
周鸿袆: 教您打造十页完美商业计划书
第一,用几句话清楚说明你发现目前市场中存在一个什么空白点,或者存在一个什么问题,以及这个问题有多严重,几句话就够了。很多人写了三百张纸,抄上一些报告。投资人天天看这个,还需要你教育他吗?比如,现在网游市场里盗号严重,你有一个产品能解决这个问题,只需要一句话说清楚就可以。 第二,你有什么样的解决方案,或者什么样的产品,能够解决这个问题。你的方案或者产品是什么,提供了怎样的功能? 第三,你的产品将面对的用户群是哪些?一定要有一个用户群的划分。 第四,说明你的竞争力。为什么这件事情你能做,而别人不能做?是你有更多的免费带宽,还是存储可以不要钱?这只是个比方。否则如何这件事谁都能干,为什么要投资给你…
2011-12-08 20:31 · 评论(0)
ERROR : wt.access.evaluation.report - Administrator does not have Modify permiss
标题 Rehost unix to windows. Methodserver "ERROR : wt.access.evaluation.report - Administrator does not have Modify permission" Windchill PDMLink 9.1 说明 ERROR : wt.access.evaluation.report - Administrator does not have Modify permission 适用于 Windchill PDMLink 9.1 原因 解决方案 update app-Windchill-AuthProvi…
2011-12-06 10:47 · 评论(0)
How to include a principal in a Member Roles using Info*Engine
标题 How to include a principal in a Member Roles using Info*Engine in Windchill 9.1? 说明 How to include a principal in a Member Roles using Info*Engine 适用于 Windchill 9.1 原因 解决方案 Use wt.inf.team.ContainerTeamHelper.addMember with Apply-Service webject <%@page language="java"%> <%@taglib uri="http://ww…
2011-12-06 10:45 · 评论(0)
FAQ How do I increase the heap size available to Eclipse?
Some JVMs put restrictions on the total amount of memory available on the heap. If you are getting OutOfMemoryError s while running Eclipse, the VM can be told to let the heap grow to a larger amount by passing the -vmargs command to the Eclipse launcher. For example, the following command would ru…
2011-11-29 17:37 · 评论(0)
How do I increase the permgen size available to Eclipse?
If you see java.lang.OutOfMemoryError: PermGen space errors, you need to increase the permanent generation space available to Eclipse. PermGen is the permanent generation of objects in the VM (Class names, internalized strings, objects that will never get garbage-collected). An easy, if somewhat me…
2011-11-29 17:36 · 评论(0)
Initialization Parameter files: PFILEs vs. SPFILEs
When an Oracle Instance is started, the characteristics of the Instance are established by parameters specified within the initialization parameter file. These initialization parameters are either stored in a PFILE or SPFILE. SPFILEs are available in Oracle 9i and above. All prior releases of Oracl…
2011-11-22 00:43 · Database · 评论(0)
U盘安装Windows 7
下载Windows 7 ISO压缩包; 下载Windows 7 USB/DVD download tool,下载地址:http://images2.store.microsoft.com/prod/clustera/framework/w7udt/1.0/en-us/Windows7-USB-DVD-tool.exe 安装Windows 7 USB/DVD download tool 使用Windows 7 USB/DVD download tool复制ISO至U盘 注意:复制过程中会格式化U盘,所以需要备份U盘中原始内容; 建议复制前关闭杀毒软件和防火墙软件等。
2011-11-12 20:30 · Others · 评论(0)
java.util.MissingResourceException: Can't find resource for bundle
标题 "java.util.MissingResourceException: Can't find resource for bundle wt.cache.cacheResource, key en_US" returned when logging into Windchill PDMLink 10.0 说明 java.util.MissingResourceException: Can't find resource for bundle wt.cache.cacheResource, key en_US returned when logging in Additional err…
2011-11-09 11:10 · 评论(0)