I am looking at moving our Windchill database from Oracle Enterprise to Microsoft SQL. Currently we are running PTC/IntraLink 9.1_M070 with 200 heavy users. 1) Has anyone moved the database to Microsoft SQL? 2) What problems are you seeing running Microsoft SQL?
Oracle Enterprise to Microsoft SQL
Creo objects fail to check into Windchill - need to fix it
When checking in Creo objects that are related to parts and assemblies in family tables, the check in will fail. This requires opening the Event Manager screen, then opening the information screen to see the results of the failure. It states that it failed check in because some family table instance or instances, sometimes many instances of different family tables, of some part was not checked out. Therefore, you have to go out of this, and search Windchill for those instances and check them out, one by one. It makes it more difficult in that it is giving the Windchill number and not the Croe number. Then go back and try the check in again. Most times it will again fail check in because Windchill now requires other instances to be checked out, and you find that out by opening the event manager and then opening the information window.
The most frustrating part is that there is a box there on the screen with "Retry Options" but this does not apply for this type of failure.
Windchill knows what it needs to check out before it can check in other objects, for that is the message that it gives, and lists every item that needs to be checked out. A simple selection in the "Retry Options" would be "Check out now" and then hit the retry button. A little delay in getting objects checked in, but an easier way to collect and check out what is needed to check in.
Better yet , Windchill should prompt you during the check in process that it needs to check these items out, and allow that action be done befor the failure to check in.
Taking sometimes hours to check in an object because of these continuous failures and retries is a major road block to functionality of this product being a useful and productive tool for business.
Please fix this functionality to make it more user friendly.
Thank you
Batch Print Date on Printout
How do you get the print date on the document?
Craig
Windchill 10 Stuck in subfolder
A few of our engineers keep having the same problem. Once we navigate down into a subfolder we can not naviate back to a folder above it. If you click on a folder higher in the file path - next to the home button - the screen loads then drops you right back down into the folder you were in. It's almost as if the page is caching and refusing to navigate away from the current folder.
Please help! The only solution we have come up with is restarting Creo, but once you move into a subfolder you are stuck there. So to work in another folder you have to restart again.
Attribute Constraint Conditions
I'm trying to figure out how to add a condition on an attribute constraint. Here is the scenario I'm looking to solve.
I have 2 different Organizations in my Windchill 10.2 M010 environment, Org1 and Org2. I have different users in each organization and they cannot see the data of the other org. My Soft Type (MyDocType) is defined at Site level. It has an IBA called docCode, which has a Legal Value List constraint on it.
Here is my question: Can I put a condition on this IBA so that the users in Org1 see the list of values: A, B, C; and the users in Org2 see the list of values: D, E, F?
How to retrieve custom attribute values of a part and set them through Api?
How to retrieve custom attribute values of a part and set them through Api?
How to retrive the assembly information of a part using api?
How to retrive the assembly information of a part using api?
MultiLevel BOM Report
Hi All,
my requirement is to get Multilvel BOM from Windchill using API.
i have below code which gives me only the child parts from first node in assebly.
here is my code::
--------------------------------------
package ext.util.javaP;
import java.util.ArrayList;
import wt.fc.PersistenceHelper;
import wt.fc.QueryResult;
import wt.part.WTPart;
import wt.part.WTPartUsageLink;
import wt.query.QuerySpec;
import wt.query.SearchCondition;
import wt.vc.VersionControlHelper;
import wt.vc.config.LatestConfigSpec;
import wt.vc.struct.IteratedUsageLink;
import wt.vc.struct.StructHelper;
public class StructureNavigator {
WTPart part;
ArrayList<WTPart> partList;
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Inside the Main Method");
StructureNavigator navigator = new StructureNavigator(args[0]);
if(navigator.getPart()==null)
{
System.out.println("Assembly not found!!");
return;
}
System.out.println("In Naviagtor !!!");
ArrayList<WTPart> pList = navigator.getPartList();
System.out.println("pList size: "+pList.size());
for(int i=0;i<pList.size();i++)
{
WTPart current = (WTPart)pList.get(i);
if(current!=null){
System.out.println(current.getNumber());
}
}
}
public static ArrayList<WTPart> getWTPartList(String partNumber){
ArrayList<WTPart> parts=new ArrayList<WTPart>();
StructureNavigator navigator = new StructureNavigator(partNumber);
if(navigator.getPart()!=null){
System.out.println("Inside the if of naviagator.getpart() "+navigator.getPart());
parts=navigator.getPartList();
System.out.println("After parts ###### "+parts);
}
else{
System.out.println("#### Structure Navigator is empty #### ");
}
return parts;
}
public WTPart getPart()
{
System.out.println("Inside the getPart() Method::"+part);
return part;
}
public ArrayList<WTPart> getPartList()
{
System.out.println("Inside the ArrayList getPartList() Method" +partList);
return partList;
}
public StructureNavigator(String prt)
{
partList = new ArrayList<WTPart> ();
try{
QuerySpec qs = new QuerySpec(WTPart.class);
SearchCondition sc = new SearchCondition(WTPart.class, WTPart.NUMBER,
SearchCondition.EQUAL, prt.trim());
qs.appendWhere(sc);
QueryResult queryResult = PersistenceHelper.manager.find(qs);
if (queryResult == null) {
part = null;
}
else
{
if(queryResult.hasMoreElements())
{
part = (WTPart) queryResult.nextElement();
getPartStructure(part);
}
}
}catch(Exception e){e.printStackTrace();}
}
public void getPartStructure(WTPart parentPart) throws Exception {
//System.out.println("In getPartStructure!!"+parentPart.getNumber());
try{
//Get Part data
if(!partList.contains(parentPart))
{
partList.add(parentPart);
}
LatestConfigSpec lcs = new LatestConfigSpec();
QueryResult usesLinks = StructHelper.service.navigateUses(parentPart, false);
while(usesLinks.hasMoreElements()){
//FileWriter writer = new FileWriter(path, true);
WTPartUsageLink usageLink = (WTPartUsageLink) usesLinks.nextElement();
WTPart childPart = (WTPart) lcs.process(VersionControlHelper.service.allVersionsOf(((IteratedUsageLink)usageLink).getUses())).nextElement();
getPartStructure(childPart);
}
}catch(Exception e){
System.out.println("###########Exception while getting structure!!! ######## - in get part structure");
e.printStackTrace();
}
}
}
// END********************************************//
***************************
I Pass the run time Argument to this i.e my TOP Level Asm Number: 1234567.
it gives me output::
Inside the Main Method
Inside the getPart() Method::wt.part.WTPart:96042
#########Something here!!#######
Inside the ArrayList getPartList() Method[wt.part.WTPart:96042, wt.part.WTPart:96050, wt.part.WTPart:110026, wt.part.WTPart:110037]
pList size: 4
1234567
0000000021
0000000022
00000000023
***********************************************
Here is the my BOM Snap from Windchill.
and below is my Requirement
Please check my code and suggest the modifications so i can get my required BOM.
Thanks,
Vivek
Windchill 10.1 IndexQueue Errors
Went into the Queue Management utility and noticed that we have the following "severe" Errors:
1) wt.queue.QueueWatcherMBean.exceededTotalEntriesThreshold
2) wt.util.WTException: Error processing collection
Can anyone provide information or solutions regarding the above errors?
Thanks
Reporting object types with different type name formats
I’m trying generate a .qml report of object types that displays the type name in 2 formats
1) Fully qualified type name - wt.part.WTpart|com.acme.softype
2) RootType:branchID(latest) - wt.part.WTpart:77137
Does anybody know if this is possible?
getCacheDescriptor
Adding columns to display on home page - My Tasks
Does anyone know where I have to go to add a column to the list of available columns when customizing a My Tasks table view? I was able to add the column on our Change Notices page (browse>changes>change notices). I just need to display on people's home page. Currently it's not listed in the available columns to add.
Thanks in advance,
Greg
Windchill 10.1 and Office 2013
Will M050 add support of office 2013? We will be upgrading office long before we upgrade to 10.2.
Thanks,
Wayne
Retrieving the CAD model of a part
Hello community,
I am trying to retrieve the CAD model of a part in order to store it in an external application.
I started doing that with info*engine. With info*engine i can retrieve the history of a part, or link two parts together but i didn't find a way to extract the part from windchill.
Any one have an idea how to proceed ? Is the use of info*engine the correct way to do that ?
Best regards
AD
Windchill Search engine: import results directly into Excel
Hello!
I am searching for a way to directly import search results into Excel.
I don't want to use the manual Export -> Excel option but for example a direct URL to a search and get a text based XML or CSV file back as result which can be imported into Excel. And this search result should contain the EPMDocument number of each search result.
The standard search window cannot be imported to Excel since it contains Javascript elements and it is not showing up the EPMDocument number (or is this just a setting?)
My goal is to import this text into Excel with a macro and generating direct URLs to Creo View so the user can interact from Excel, gets a list of different versions and can directly open them in Creo View.
This means that the search routine should be some kind of translator from the search keyword to the internal EPMDocument number which seems to be the unique database number which is needed for Creo View, right?
I also thought of connecting directly to the Oracle database and perform the search there but I know that PTC advises users against connecting directly to the database with 3rd party software.
If you have any tips how to manage this, I would be glad.
Thanks!
Regards,
David
wt.util.WTException: Constructor "{0}" not public.
Any Idea on below error, It is coming after we upgrade to 10.2 M010 from 10.0 M040
at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77) |
2014-07-14 13:57:26,576 ERROR [ajp-bio-8011-exec-6] wt.adapter.exception - WTAdapterImpl
com.ptc.core.command.common.CommandException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.
Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.
at wt.fc.PagingSessionHelper.getTotalCount(PagingSessionHelper.java:319)
at wt.pom.PagingHelper.executeFetch(PagingHelper.java:885)
at wt.pom.PagingHelper.query(PagingHelper.java:405)
at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1166)
at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1981)
at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1948)
at com.ptc.core.query.server.impl.BasicQueryService.execute(BasicQueryService.java:2025)
at com.ptc.core.query.server.impl.BasicQueryService.execute(BasicQueryService.java:1967)
at com.ptc.core.query.server.impl.BasicQueryService.query(BasicQueryService.java:434)
at com.ptc.core.query.command.server.QueryCommandDelegate.doExecution(QueryCommandDelegate.java:159)
at com.ptc.core.command.common.delegate.AbstractCommandDelegate.execute(AbstractCommandDelegate.java:216)
at com.ptc.core.command.common.CommandDelegateForwarder._remoteExecute(CommandDelegateForwarder.java:292)
at com.ptc.core.command.common.CommandDelegateForwarder.remoteExecute(CommandDelegateForwarder.java:240)
at com.ptc.core.command.common.CommandDelegateForwarder.execute(CommandDelegateForwarder.java:202)
at com.ptc.core.command.common.bean.AbstractServerCommand.execute(AbstractServerCommand.java:202)
at com.ptc.core.adapter.server.impl.AbstractWebject.getResultContainer(AbstractWebject.java:1791)
at com.ptc.core.adapter.server.impl.AbstractWebject.getTypeInstances(AbstractWebject.java:1472)
at com.ptc.core.adapter.server.impl.QueryObjectsWebjectDelegate.invoke(QueryObjectsWebjectDelegate.java:167)
at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)
at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:772)
at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:479)
at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:198)
at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:262)
at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_10$2e2$5cWindchill$5ctasks.com.abb.infoengine.getlatestdocumentbynumber$2exml.invoke(getlatestdocumentbynumber$2exml.java:113)
at com.infoengine.SAK.Task.invoke(Task.java:1806)
at com.infoengine.SAK.Task.invokeAndCheckExternalAccess(Task.java:1703)
at wt.method.WTAdapterImpl.processTask(WTAdapterImpl.java:711)
at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:481)
at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:198)
at com.infoengine.IeServlet$RequestDispatcher.run(IeServlet.java:464)
at com.infoengine.IeServlet.doGet(IeServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at de.innoface.wc.client.util.MethodServerFeedback.doFilter(MethodServerFeedback.java:166)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.ptc.jws.servlet.filter.WsdlServletFilter.doFilter(WsdlServletFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:98)
at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:242)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:327)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1639)
at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)
2014-07-14 13:57:26,576 ERROR [ajp-bio-8011-exec-6] com.infoengine.util.IeContextMonitor.contexts - 2014-07-14 11:57:26.545 +0000, 2tvqzj;hxlq5rk6;8820;42ebzl;5353, 115, ajp-bio-8011-exec-6, 2tvqzj;hxlq5rk6;8820;42ebzl;5351, US_SHOPFLOOR_VIEWINGTOOL, 10.92.65.27, /com/abb/infoengine/getLatestDocumentByNumber.xml, 0.028489735, com.infoengine.util.IEException
2014-07-14 13:57:27,169 ERROR [ajp-bio-8011-exec-1] wt.adapter.exception - WTAdapterImpl
com.ptc.core.command.common.CommandException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.
Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.
at wt.fc.PagingSessionHelper.getTotalCount(PagingSessionHelper.java:319)
at wt.pom.PagingHelper.executeFetch(PagingHelper.java:885)
Windchill 10.2 sidebar folder names incorrect
This is a strange problem that has been happening regularly to my windchill pages. When navigating folders within windchill, the side bar will sometimes start displaying the wrong folder links. I have attached a screen shot of an example. I cannot find any pattern to it and it is very annoying. The side bar will display folders that are NOT within the selected folder tree in place of of the folders that should be there. When the links are clicked on it brings you to the labeled folder.
In the first screen shot attached you can see the folders "Assemblies" & "Banjos and Banjo heads" have been replaced by two completely different folders. When I expand those folders they display the contents of the folders that they replaced but they are filled with incorrect folders as well (pic 2 highlighted). When you CLICK on the incorrect folder it will open the folder is is named as.
None of this happens when navigating through the main center window, only the side bar. I would be more than happy to answer any questions to clarify.
Is this a bug? Some strange setting that needs to be changed? Can anyone help me out here?
EDIT: Refreshing the page seems to sort it out but why is it happening in the first place? Im guessing software bug
Can we add document as subassembly in a part ? is it possible ?Ca you please give clear information ?
Can we add document as subassembly in a part ? is it possible ?
Content is not visible after upgrade ..
Hi,
Yesterday, we upgraded the system to 10.2 M010 from 10.0 M040. it was successfull and then we clustered it
2 slave and 1 master then configured load balancer in slave 1
later, in the evening, we had performed some testing, it was working fine but next day morning ,that is today, all of the sudden
contents were not visible, after couple of refresh, it works and then couple of refresh it will not work, it was very unstable, but after completion of upgrade we had tested it, all functionaity we could able to perform, like check in check out create epm doc , replica and publishing and al other things were working..
above test was made with cluster configuration ( 2 slave and 1 master )
morning,, it was behaving weiredly .. no content to see from cabinet page of user and search was showing blank result though objects were there with that search string.,
does any body faced such problem, if yes what solution you adopted., please share.
Now, we have removed load balancer and running it in single slave , so it is working fine , as normal but with slave 2 and load baancer it is not working.
Same load baancer configiuration was applied which ws used in 10.0 before upgrade with ittle changes like path , like that ...
How can we monitor/check windchill queue status using windchill shell?(other than queue analyzer)
How can we monitor/check windchill queue status using windchill shell?(other than queue analyzer)