Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Disable Exception Stack Traces

$
0
0

Does anyone know if it's possible to disable exception stack traces in the Windchill log files?  These are bloating the logs and (in my opinion) provide no value.  Frankly, I don't think Windchill legitimately preventing users from doing something they don't have permission to do (based on ACLs) should be classified as an ERROR.  I don't need to see a stack trace every time someone tries to check out something before they revise it.  This isn't an ERROR, this is a SUCCESS.  Windchill is doing it's job!  Can the red text below be suppressed?

 

2017-03-28 02:47:28,676 ERROR [ajp-nio-127.0.0.1-8010-exec-66] com.ptc.windchill.uwgm.proesrv.action.AddToWorkspaceAction <user> - AddToWorkspaceAction.checkoutToWorkspace :: EPM checkout failed

wt.vc.wip.WorkInProgressException:

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: Drawing  - <drawing 1>

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: Drawing  - <drawing 2>

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: Drawing  - <drawing 3>

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: CAD Part  - <part 1>

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: CAD Part  - <part 2>

Operation failed because the user did not have the necessary permission on the following objects to perform the operation: Assembly  - <assembly 1>

at wt.vc.wip.StandardWorkInProgressService.validateAccessForCheckout(StandardWorkInProgressService.java:3968)

at wt.vc.wip.StandardWorkInProgressService.checkoutMap(StandardWorkInProgressService.java:2226)

at wt.vc.wip.StandardWorkInProgressService.checkoutMap(StandardWorkInProgressService.java:2212)

at wt.vc.wip.StandardWorkInProgressService.checkout(StandardWorkInProgressService.java:1172)

at sun.reflect.GeneratedMethodAccessor1683.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

at com.sun.proxy.$Proxy39.checkout(Unknown Source)

at wt.epm.workspaces.WorkspaceCheckoutManager.checkout(WorkspaceCheckoutManager.java:188)

at wt.epm.workspaces.EPMStandardWorkspaceManager.checkout(EPMStandardWorkspaceManager.java:477)

at sun.reflect.GeneratedMethodAccessor1744.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

at com.sun.proxy.$Proxy195.checkout(Unknown Source)

at com.ptc.windchill.uwgm.proesrv.action.AddToWorkspaceAction.reservedCheckout(AddToWorkspaceAction.java:525)

at com.ptc.windchill.uwgm.proesrv.action.AddToWorkspaceAction.checkoutToWorkspace(AddToWorkspaceAction.java:473)

at com.ptc.windchill.uwgm.proesrv.action.AddToWorkspaceAction.executeAction(AddToWorkspaceAction.java:1536)

at com.ptc.windchill.uwgm.proesrv.action.UwgmAction.execute(UwgmAction.java:84)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsExistingDocumentProcessor.checkoutDocs(SaveAsExistingDocumentProcessor.java:542)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsExistingDocumentProcessor.reviseAndCheckoutDocs(SaveAsExistingDocumentProcessor.java:446)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsExistingDocumentProcessor.getUpdatedSaveAsInstructions(SaveAsExistingDocumentProcessor.java:246)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsExistingNameConflictProcessor.processDocuments(SaveAsExistingNameConflictProcessor.java:426)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsExistingNameConflictProcessor.processResolutionOptions(SaveAsExistingNameConflictProcessor.java:304)

at com.ptc.windchill.uwgm.common.conflict.MultiConflictHolder.checkResolutionOptions(MultiConflictHolder.java:98)

at com.ptc.windchill.uwgm.common.conflict.ConflictUtilities.checkConflictsInternal(ConflictUtilities.java:162)

at com.ptc.windchill.uwgm.common.conflict.ConflictUtilities.checkConflicts(ConflictUtilities.java:61)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsConflictManager.checkConflicts(SaveAsConflictManager.java:132)

at com.ptc.windchill.uwgm.proesrv.saveas.SaveAsHelper.checkConflicts(SaveAsHelper.java:362)

at com.ptc.windchill.uwgm.proesrv.action.AbstractSaveAsAction.executeAction(AbstractSaveAsAction.java:188)

at com.ptc.windchill.uwgm.proesrv.action.SaveAsToWorkspaceAction.executeAction(SaveAsToWorkspaceAction.java:156)

at com.ptc.windchill.uwgm.proesrv.action.UwgmAction.execute(UwgmAction.java:84)

at com.ptc.windchill.uwgm.proesrv.request.SaveAsRequest.executeSaveAsAction(SaveAsRequest.java:252)

at com.ptc.windchill.uwgm.proesrv.request.SaveAsToWorkspaceRequest.executeRequest(SaveAsToWorkspaceRequest.java:138)

at com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher.dispatchRequest(StandardRequestDispatcher.java:1311)

at com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher.scanRequests(StandardRequestDispatcher.java:1061)

at com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.execute(UwgmTransactionExecuterImpl.java:109)

at com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.executeTransaction(UwgmTransactionExecuterImpl.java:59)

at com.ptc.windchill.uwgm.proesrv.task.UwgmTask.run(UwgmTask.java:131)

at com.ptc.core.task.Task.execute(Task.java:262)

at com.ptc.core.task.StandardTaskManager.runTask(StandardTaskManager.java:183)

at com.ptc.core.task.StandardTaskManager.retryTask(StandardTaskManager.java:591)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)

at com.sun.proxy.$Proxy188.retryTask(Unknown Source)

at com.ptc.core.htmlcomp.console.RetryTaskProcessor.retryTask(RetryTaskProcessor.java:152)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at wt.htmlutil.MethodAction.action(MethodAction.java:132)

at wt.htmlutil.CachedHTMLTemplate.execute(CachedHTMLTemplate.java:162)

at wt.htmlutil.CachedHTMLTemplate.execute(CachedHTMLTemplate.java:123)

at wt.htmlutil.HTMLTemplate.process(HTMLTemplate.java:229)

at wt.templateutil.processor.DefaultTemplateProcessor.handleRequest(DefaultTemplateProcessor.java:524)

at wt.enterprise.URLProcessor.URLTemplateAction(URLProcessor.java:278)

at sun.reflect.GeneratedMethodAccessor968.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at wt.httpgw.HTTPServletResponse.invoke(HTTPServletResponse.java:264)

at wt.httpgw.MethodRequestHandler.handleRequest(MethodRequestHandler.java:62)

at wt.httpgw.HTTPGatewayServlet.serviceWithoutFilters(HTTPGatewayServlet.java:336)

at wt.httpgw.HTTPAuthGatewayServlet.serviceWithoutFilters(HTTPAuthGatewayServlet.java:86)

at wt.httpgw.FilterChainImpl.doFilter(FilterChainImpl.java:94)

at wt.session.SessionContextDestroyer.doFilterInternal(SessionContextDestroyer.java:136)

at wt.session.SessionContextDestroyer.doFilter(SessionContextDestroyer.java:184)

at wt.httpgw.FilterChainImpl.doFilter(FilterChainImpl.java:81)

at wt.httpgw.HTTPGatewayServlet.service(HTTPGatewayServlet.java:235)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at com.ptc.jws.servlet.filter.WsdlServletFilter.doFilter(WsdlServletFilter.java:61)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at com.ptc.core.components.filter.JCAFilter.doFilter(JCAFilter.java:97)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at com.ptc.core.ui.validation.URLValidationFilter.doFilter(URLValidationFilter.java:77)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:104)

at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:294)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1660)

at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)

at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1420)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)


Re: How to retrieve the "promoted from state" for promotion targets using an expression robot in a promotion request workflow

Re: Multiple Authentications before login

$
0
0

Hi

Has anyone done successful 2 factor / dual  Authentication with Windchill 10 or Windchill 11?

thanks

How to have different Date effectivities for same Part Revision?

$
0
0

Hi all,

 

We have a requirement of setting 2 different Date effectivities for the same Part Revision.

When we are using the Change Notice / Change Task approach of setting effectivity, there is a OOTB validation / Check that combines the 2 date effectivities and calculates the resultant effectivity.

Say for Eg,.

If CN1 / Change task 1 specifies  effectivity as 31/3/2017 - Open ended

CN2 / Change Task 2 specifies effectivity as 10/5/2017 - Open ended

 

What we wanted is to set  2 different effectivities for that Part Revision namely

31/3/2017 - Open ended

10/5/2017 - Open ended

 

But system gives onl y1 effectivity , as  the following effectivity ( seems it is merging and calculating)

31/3/2017

 

I can understand on why this is like this, because system determines that the Part Revision, as a Net result should be effective on the earliest date between 2 CNs.

 

My question is , how to bypass or over ride this check , so that we get 2 effectivities.

 

The reason for us wanting this is that we share the CN1/Change task 1  to Supplier 1  and CN2 / Change Task 2 to another Supplier 2 , via 2 different Projects (ProjectLink).

 

The behavior here is that system needs the "winning" CN (in this case CN1) to be shared to a supplier inorder to see the effectivity.

 

The effectivity 1 should not be visible to supplier 2, the effectivity 2 should not be visible to supplier 1.

 

We are in Windchill 11.0 M010.

 

Please give your valuable thoughts.

 

Thanks & Regards

Hari

Re: Anyone customized a referenced by link for EPMDocuments?

$
0
0

That property does the magic. I've tried it and EPMDocument is now showing in the relationship constraints applet.

 

Thanks, Gregory.


Yao

Re: Anyone customized a referenced by link for EPMDocuments?

$
0
0

Yes, Gregory's help was exactly what we needed. Thank you all.

Re: How to have different Date effectivities for same Part Revision?

$
0
0

Date Effectivity has two concepts - you can set either Global or Context based effectivity.

 

Global means - this part is effective on this date any place it is used (unless there is a also a Context effectivity)

 

Context effectivity enables you to specify that the part is effective for a particular date in the Context of that part or assembly.  For example:

 

Part 001, Pump, Rev A:

Effective 7/1/17 in the Context of Water Cooler Product

Effective 7/15/17 in the Context of the Water Heater Product

 

In your case you could create a "Context" that is Supplier 1 and Supplier 2.  However when looking at Part 001 you would still see both Effectivity statements.

 

If you are using the Supplier Mgmt module you could have different Supplier Orgs and AML for the Parts for Supplier 1 and Supplier 2 - each would get their own effectivity and each Supplier would be able to see only their parts.

Re: Creo View Adapter for SolidWorks Plots Upside Down

$
0
0

I'm still experimenting with the Winline printer/writer.

 

I first installed the "WL HP-GL Center" printer as shown above with initial success publishing from Windchill, except the line thicknesses are all the same, text and all.  I found PTC article CS201822, which indicates that PLT files can contain either HPGL or HPGL/2 output. So I decided to try the "WL HP-GL2 Pen Plotter" driver.

I set it up with the same settings as the HPGL printer from above, but guess what?  With these settings the published output from Solidworks is upside-down!

 

Well, just like the "WL-HP-GL Center" printer from before, you can enter Job Control Strings to affect the output.  I Googled the HPGL/2 Reference Guide, and there is a code for page rotation, RO.  So I entered the code for 180 degree rotation, RO180 to the "StartPage" string as shown below.

Voila, right-side-up, HPGL/2 PLT file output from Solidworks!

 

I can immediately see that HPGL/2 PLT files are better quality output than HGPL.  The line thicknesses match the Solidworks drawing and the text is thin and clean.

 

The next question is will this PLT output be compatible with the Drawing Compare functionality in Creo View MCAD?


Out of Sync Share

$
0
0

Hello,

I am working on project and shared few cad files from product to my project. Now I see Out of sync share error for shared files. I tried updating project folder and updating selected shares options, couldn't get rid of this. Any other ways to get latest files in my project?

 

Re: Out of Sync Share

Has anyone turned on the Preference for "Automatic Revise Mode"?

$
0
0

Hey,

 

We are considering turning on the Windchill preference, "Automatic Revise Mode" to help us with our state based versioning scheme transition from pre-release states to released.   I was wondering if anyone has done this and what best practices you could share.

 

As I understand it there are several things that need to be changed for this to work:

  1. Set Preference: Automatic Revise Mode
  2. Verify that you are using the latest Promotion Request workflow.
  3. Update lifecycle.
    1. Dedicated state for the automatic revision
    2. Updated transitions for other states if needed.
    3. Additional Revise transition to Released state from the dedicated state.
  4. Create or update ACL to prevent ad hoc revision in dedicated state.

 

Windchill 11.0 m020

 

20170330-132754.png

I am having trouble accessing my workspace?

$
0
0

min_issue.png

I get this error message when I access my workspace .What could be the problem?

My colleague who has site level access seems to be able to  access the workspace

Re: I am having trouble accessing my workspace?

$
0
0

ACL permissions on that container for your permission level.

Is there a way to delay auto-numbering in Windchill 10.2?

$
0
0

Hello,

 

Currently, the auto-numbering kicks in and renames all components according to the auto-numbering scheme when opening a 3D model in CATIA that is not saved in Windchill. I would like to delay this action until the 3D model is saved in Windchill.


I came across this preference in Windchill 11.0 that seemed to be what I need, delay.autonumber.generation which allows you to switch behavior and delay number generation. Does anyone know if this setting is available in 10.2 and if yes, would it change the above behavior to what I want? If not, is there an alternative way to do it?


Thanks much in advance!

Re: Out of Sync Share

$
0
0

Darren Storey Yes I have got complete access for my project.

I get the below error when I click the link shared above.


Re: [LDAP: error code 49 - Invalid Credentials]

$
0
0

in addition with jndi you must respect this exact process :

 

your original map credential file is located at windchill\codebase\WEB-INF\mapCredentials.txt and looks like this if using an enterprise ldap :

mapcredentials.admin.adapters=net.<yourdomain>.Ldap^cn\=<DsAccount>r^encrypted.net.<yourdomain>.Ldap.cn\=<DsAccount>r;net.<yourdomain>.<yourserver>.ldap-pending^cn\=<DsAccount>^encrypted.net.<yourdomain>.<yourserver>.ldap-pending.cn\=<DsAccount>;net.<yourdomain>.EnterpriseLdap^<youraccount>^encrypted.net.<yourdomain>.EnterpriseLdap.<youraccount>
mapcredentials.nonprivileged.adapters=

 

The new map credential will erase the old one, using the shell, ldap info per ldap info, ie : ldap, pending then after ldap and ending with enterprise ldap.

caution : input the "-" with your keyboard rather than copy paste in the shell.   the "<>" must be replaced with "your data".

 

open a windchill shell and type :

xconfmanager -t codebase/WEB/mapCredentials.txt -s "mapcredentials.admin.adapters=net.<yourdomain>.EnterpriseLdap^CN=<youraccount>,OU=<depending on your enterprise ldap orgs>,OU=< same specific> -,DC=<yourdomaindc>,DC=net^<yourpassword>"

 

hit enter, the shell will display :

Default product root=[...]Windchill\bin\.. java -jar "[...]Windchill\bin\..\codebase\WEB-INF\lib\install.jar" -r "[...]Windchill\bin\.." -t codebase/WEB/mapCredentials.txt -s "mapcredentials.admin.adapters=net.yourdomain.EnterpriseLdap^CN=<youraccount>,OU=<depending on your enterprise ldap orgs>,OU=< same specific> -,DC=<yourdomain dc>,DC=net^<yourpassword>"

 

then type

xconfmanager -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=net.<yourdomain>.Ldap^cn=<DsAccount>^<DsPassword>"

 

hit enter, the shell will display :

Default product root=[...]Windchill\bin\.. java -jar "[...]Windchill\bin\..\codebase\WEB-INF\lib\install.jar" -r "[...]Windchill\bin\.." -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=net.yourdomain.Ldap^cn=<DsAccount>^<DsPassword>"

 

then type

xconfmanager -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=net.<yourdomain>.<yourserver>.ldap-pending^cn=<DsAccount>^<DsPassword>"

 

hit enter, the shell will display :

Default product root=[...]Windchill\bin\.. java -jar "[...]Windchill\bin\..\codebase\WEB-INF\lib\install.jar" -r "[...]Windchill\bin\.." -t codebase/WEB-INF/mapCredentials.txt --add "mapcredentials.admin.adapters=net.<yourdomain>.<yourserver>.ldap-pending^cn=<DsAccount>^<DsPassword>"

 

then type

xconfmanager -p

 

then restart apache an windchill.

Any one using CN/CR # from Windchill on CAD Drawing Title or Revision Block ?

$
0
0

Our old drawings title block have ECN numbers , with windchill I am advising not to use the CN # on Drawing title block. My reasoning is all you need is Part NUmber and the subsequent details can be found in your PLM system. This will also promotes the best practice of using PLM system the right way ( right way as I think )

Please share your thoughts on this

Thanks

Alex

Any idea on how long it takes to run Oracle to SQL server data migration ? Oracle DB is 100GB

$
0
0

We have a oracle 11g R2 DB around 100 GB with Windchill PDMLink10.2 M030. Need an estimate of the data migration time needed for TEST and PROD environment conversion ?

Re: Any idea on how long it takes to run Oracle to SQL server data migration ? Oracle DB is 100GB

$
0
0

I suspect that this could be like asking how long is a piece of string because all windchill systems have different data sets in them with differing relationships in the DB and also different Oracle and SQL servers will have differing performance, but for what it is worth, our 60GB Oracle database migrated to our MS SQL Server in about 4 hours.

Where are the thumbnails of the objects (Business Objects) are stored ? On Master/Replica/BLOB ?

$
0
0

Facing issue after changing the vaulting & Replication preference from master to replica, the thumbnails of the objects goes missing.

Viewing all 8876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>