Total Pageviews
2008/06/29
Applied MyEclipse and JUnit to do Hibernate Code Gen and Testing
• Code Gen Process
• Generate DAO for the four tables
• Artifacts
• Spring Configuration File
• Apply JUnit to do DAOs Test
• JUnit Framework
• How to Test with JUnit?
• Simplified Workflow of Applying JUnit
• Testing Process
• Generate Unit Test Result via Ant
http://www.slideshare.net/junyuo/applied-myeclipse-and-junit-to-do-hibernate-code-gen-and-testing/
2008/06/20
Doxygen – Source Code Documentation Generator Tool
- What is Doxygen
- Doxygen Features
- Getting Start
- Check the result
http://www.slideshare.net/junyuo/doxygen-source-code-documentation-generator-tool/
2008/06/15
My First Web Services Example - XFire, Spring, SoapUI
- Setup Web Services Environment
- Setup Web Services IDE Environment
- Install and Validation Process
- Download Extra Jar Files
- Buzzwords
- Web Services Architecture
- Scenario
- Deployment descriptors of the Web application
- Testing Procedure
2008/04/18
2008/04/10
2008/04/03
Subclipse - the Subversion plugin for Eclipse
- What is Subclipse ?
- Subclipse Installation
- Import Source Code From SubVersion
- Troubleshooting
http://junyuo.googlepages.com/Subclipse-TheSubversionPluginForEcli.rar
2008/03/02
2008/02/21
2008/01/23
2007/12/21
Ports and protocol which had been used by Windchill
JavaRMIServlet: 5001~5010
ProjectLink Meeting port: 5620~5660
Therefore, network administrator should open these ports.
2007/12/13
Check Windchill failed queue how-to
1. Go to Site tag and click Utils
2. Go to Queue Manager page
3. Choose failed queue, ex. WfUserWorkQueue
4. pickup one queue entry which had been marked as server, and select 'show' option in dropdown list
5. check error message, ex. wt.workflow.robots.WfInternalMethod:135596
6. used sql statement to figure out which object cause this failed queue.
select t2.businessobjreference, t2.name from WfInternalMethod t1, wfprocess t2 where t1.ida2a2 = 135596 and t1.ida3parentprocessref = t2.ida2a2
7. we can get information from step6.
businessobjreference is VR:wt.doc.WTDocument:136558
name is TPV - Release Workflow_0000000046 - Electronic Component Sample Request Operation Quide A
8. go to search page: apply 0000000046 to number to be our search criteria,
then we can check the related workflow to check what's wrong
2007/12/05
Utilized JAXB to generate POJOs automatically -- Green Integration Part II
Agenda
- Scenario
- JAXB (Java Architecture for XML Binding)
- Implementation steps in Green Integration
- JAXB Usage
- JAXB Limitations
2007/11/28
Follow-up procedure, after installed partslink
1. Make sure web.xml had define ConfigFile location
1 2 3 4 | <context-param> <param-name>ConfigFile</param-name> <param-value>D:/ptc/Windchill/partslink/conf/main.properties</param-value> </context-param> |
3. login to database, execute make_schema_ora.sql script
SQL> @make_schema_ora.sql
4. Load ACL, execute command: windchill wt.load.WindchillLoader -Application=Windchill.PartsLink
Windchill Quick Backup
1. backup applicationa & configuration, i.e. D:\PTC\Windchill8\codebase
2. backup database, i.e. execute command: exp pdm8/pdm8@WINDDEV file=D:\tmp\database\WINDDEV.dmp log=D:\tmp\database\WINDDEV.log
If any problem occurred, just overwrite codebase and do database import to do system recovery
2007/11/26
Windchill Change Password
Many customers will complain about this.
Now, Windchill 8 M040 had provided.
But default, M040 disabled change password function, we need to turn it on.
Process:
1. define in site.xconf
1 2 3 | <property name="wt.org.services.userPasswordChangeEnabled" overridable="true" targetfile="codebase/wt.properties" value="true"> |
2. execute xconfmanager -p in windchill shell
3. restart tomcat, method server. And do not forgot to clean tomcat cache.
2007/11/23
OraDoclet - Database Documentation Generator
The purpose of OraDoclet is generation of the detailed database documentation
resembling the JavaDoc style. It is a custom doclet that functions either with the
JavaDoc tool or as a standalone Java application. The documentation generated
has a form of static html files and describes all objects in the given Oracle
database schema.
http://oradoclet.sourceforge.net/
OraDoclet - Database Documentation Generator