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

Re: Access Policy added to Role does not apply, only to Group!

$
0
0

Hi Mike,

Yes I am sure the ACL was applied to the Role in that context as I only added that new Role to that context.I also tried it on some OOB roles just to check.

Its as if somehow the ACL is not applied to the Group thats in the Role.


Utente non trovato - Impossibile accedere a Windchill

$
0
0

Gentile supporto,

vi scrivo perché da qualche giorno alcuni utenti, tentando di accedere al server Windchill, ricevono il messaggio di errore "Utente non trovato".

Vi riporto di seguito l'output completo dell'errore.

Ritentando un'ora dopo il problema non si ripresenta.

 

 

 

 

Riavviare il server di Windchill e pulire la cache del server Web non hanno portato alcune beneficio.

 

 

 

 

 

 

Eccezione: wt.util.WTRuntimeException: wt.util.WTException: java.lang.reflect.InvocationTargetException

 

Eccezione annidata: java.lang.reflect.InvocationTargetException; l'eccezione annidata è:

 

wt.util.WTException: java.lang.reflect.InvocationTargetException

 

Eccezione annidata: java.lang.reflect.InvocationTargetException

 

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

 

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

 

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

 

at com.ptc.core.appsec.FoundationHolder.getPrincipal(FoundationHolder.java:263)

 

at com.ptc.core.appsec.FoundationHolder.getPrincipalName(FoundationHolder.java:188)

 

at com.ptc.core.appsec.CSRFNonce.createMessage(CSRFNonce.java:467)

 

at com.ptc.core.appsec.CSRFNonce.access$000(CSRFNonce.java:35)

 

at com.ptc.core.appsec.CSRFNonce$1.call(CSRFNonce.java:321)

 

at com.ptc.core.appsec.CSRFNonce$1.call(CSRFNonce.java:319)

 

at wt.httpgw.WTContextBeanHandler.runOperation(WTContextBeanHandler.java:274)

 

at wt.httpgw.WTContextBeanHandler.runOperation(WTContextBeanHandler.java:259)

 

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

 

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

 

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

 

at com.ptc.core.appsec.CSRFNonce.initializeMac(CSRFNonce.java:317)

 

at com.ptc.core.appsec.CSRFNonce.initialize(CSRFNonce.java:162)

 

at com.ptc.core.appsec.CSRFNonce.newCSRFNonce(CSRFNonce.java:131)

 

at com.ptc.core.appsec.CSRFProtector.addNonce(CSRFProtector.java:297)

 

at com.ptc.core.appsec.CSRFProtector.getNonce(CSRFProtector.java:139)

 

at com.ptc.core.appsec.CSRFProtector.getNonce(CSRFProtector.java:118)

 

at com.ptc.core.appsec.CSRFProtector.getNonce(CSRFProtector.java:96)

 

at org.apache.jsp.WEB_002dINF.jsp.shell_jsp._jspService(shell_jsp.java:123)

 

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

 

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

 

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

 

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

 

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

 

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 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

 

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

 

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

 

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

 

at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)

 

at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)

 

at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)

 

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)

 

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

 

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

 

at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)

 

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 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:248)

 

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:1594)

 

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:407)

 

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$Worker.runTask(ThreadPoolExecutor.java:895)

 

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

 

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

 

at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

 

Caused by: (wt.session.sessionResource/2) wt.org.UserNotFoundException: Utente non trovato: nome Web sconosciuto: "mfeladmin".

 

at wt.session.StandardSessionManager.getAuthenticatedUser(StandardSessionManager.java:423)

 

at wt.session.StandardSessionManager.getPrincipal(StandardSessionManager.java:160)

 

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

 

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

 

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

 

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

 

at com.sun.proxy.$Proxy19.getPrincipal(Unknown Source)

 

at wt.session.SessionHelper.getPrincipal(SessionHelper.java:157)

 

... 72 more

 

Re: Utente non trovato - Impossibile accedere a Windchill

$
0
0

Simone,

la tua richiesta non è stata fatta al supporto PTC, ma alla comunità di utenti PTC.

 

Era questa la tua volontà?

 

Nella comunità la lingua da utilizzare per avere risposta è l'inglese, altrimenti limiti da subito i potenziali utenti che possono aiutarti.

 

Se invece volevi aprire una chiamata al supporto, devi usare questo link https://support.ptc.com/appserver/cs/portal/index.jsp?tab_id=mycompany

 

Ovviamente puoi aprire una chiamata solo se hai un contratto di manutenzione attiva.

 

Visto che lavoriamo nella stessa provincia se ti serve posso darti supporto nell'apertura della chiamata, ma non nella risoluzione del problema.

 

Basta che passi col mouse sopra il mio nome e clicchi su messaggio.

 

In questo modo mi arriverà direttamente una mail.

Re: WGM Modeling unattended Installation

$
0
0

Hi Ludwig,

 

I have requested PTC support to contact you & follow up on this issue. Please let me know, if your concern is not addressed.

 

Regards,

Pankaj Mooteri

Greetings. How can I send the creator of my workflow to call and send it to print. In a mail robot.

Re: Access Policy added to Role does not apply, only to Group!

$
0
0

Definitely frustrating - have seen lots of things like this over the years.

Only other suggestions are:

- Use Manage Security a lot to track down exactly what ACL's are being applied to specific groups / users

- Remove, then re-add the ACL and see what this does (shouldn't have to do this but sometimes it lends light to the situation)

Invoke javascript function after wizard step is displayed

$
0
0

Hi.

I need to invoke javascript funtion after "defineItemAttributesWizStep" is displayed.

The purpose is to set number field "readOnly=true".

How can i do it?

Action attribute "beforeJS" does not help because field is null at that time.

Thanks.

Re: Invoke javascript function after wizard step is displayed

$
0
0

Aleksandr Kosolapov wrote:

 

Hi.

I need to invoke javascript funtion after "defineItemAttributesWizStep" is displayed.

The purpose is to set number field "readOnly=true".

How can i do it?

Action attribute "beforeJS" does not help because field is null at that time.

Thanks.

I have done something similar for new part creation by adding this to the end of codebase/netmarkets/jsp/part/createPartWizard.jspf:

 

<script>

//Run functions after the attribute table has been loaded.

PTC.wizard

        .on(

                "afterLoadAttributeTable",

                function() {

                    //alert("Here at afterLoadAttributeTable");

                    //Needs a delay here because the "afterLoadAttribueTable" isn't really

                    //after the table has finished loading in the browser.

                    setTimeout(

                          function()

                          {

                              someJavaScriptFunctionHere();

                          }, 50);

                });

</script>


Windchill not starting after cloning..

$
0
0

Hi,

 

I trying to clone my production server for that i did the followed steps,

 

  1. Copy the Windchill installation and third party product at the same directory structure from the source machine to the target machine (windchill and Apache directory)
  2. Install oracle on the new machine
  3. Run the PSI on the target machine and install java , WindchillDS and OCU
  4. Import the Production database dump on the New machine’s DB
  5. Import the LDAP to the Windchill DS on the New machine
  6. If database is installed on the Production machine then no need to make any changes in db.properties file, else update “wt.pom.jdbc.host=<target host name>” in db.properties file of the target machine.

 

After completed the above steps i tried to start the windchill, but its not started. Herewith i attached the MS log file.

 

whether i followed the correct steps or anyone please suggest me the correct steps for that.

 

Waiting for your valuable reply!!!!!

Re: Access Policy added to Role does not apply, only to Group!

$
0
0

Made some headway on this.

First I removed all the extra roles in the context that I was not going to use. Then I added the new Roles in ALL the context. I was then able to apply a policy to that Role and it worked. I then added a test Group to place in the role.

I also Hide all the Role I was not going to use.

For now, it seems that I can use the Org level Policy.

 

The one thing that makes this difficult in 11 is having Windchill find (display) the role I want to add the Policy to. You type in the name and sometimes nothing displays, I then type in another name and wait for the Advanced Search to pop up so I can type in the correct name. Chrome seems to be a bit faster at this then IE.

Re: Windchill not starting after cloning..

$
0
0

There are a bunch of properties files and database entries that need to be changed.  The only PTC supported method is to run the rehosting tool.  Everything you did so far is fine, you just need to add that as step 6.

Re: NPAPI Plugins in Firefox

$
0
0

I guess all these problems will be gone at latest with 11.0 M030 in June 2017! I'm really looking forward to see Creo View in the browser!

Converting Single Windchill Server to a Cluster Configuration

$
0
0

Curious if anyone has changed from the single server to cluster configuration. Are there specific steps and do you use a load balancer? Thanks in advance!

Serial number for Windchill?

$
0
0

Is there a serial number for Windchill?  If so then where is it?  Our tax person is asking if there is one.

Re: Serial number for Windchill?

$
0
0

I don't think so, just like there is no serial number for Creo. The closest you have would be your customer ID number, Site ID number or Service Contract Number. Between those 3, you should have a unique identifier.


Re: Conditional routing based on Document attributes

$
0
0

Thank you for your comment.

 

The problem is that when the process run, sometimes I get the value of the attribute and sometimes not.

 

Regards

John

Re: Conditional routing based on Document attributes

$
0
0

It is solved. I found the error.

Originally I was telling to check this:

              

                if (val.getDefinition().getName().equals("contracttype")) IPselect= val.getLocalizedDisplayString();

                break;

 

So the if was break at the first attribute it was getting (any attribute). Obvisously it was not the one i wanted. So I have put the break inside like that:

 

 

                if (val.getDefinition().getName().equals("contracttype")) {

                IPselect= val.getLocalizedDisplayString();

                break;

                }

 

So now it will check all the attributes, and it will stop when it will get the "contracttype".

 

Regards

John

Re: Windchill not starting after cloning..

$
0
0

Thanks for your reply. In my case i have both source and target server has same host name. So i didn't change any properties in target system.

 

Whether i need to run a Re-host utility??

 

Can you explain little bit more. Am new to Rehosting!!!!

 

If you have any document kindly share to me if possible....

Re: I have created a ComboBox for a soft attribute of WTPart in the create new page. I have done this using data utility.It is showing me the values correctly in the UI screen of Create New WTPart. But the selected value is not getting persisted. Can som

$
0
0

REMOVE

comboBox.setName(component_id);

  comboBox.setId(component_id);

 

RETAIN

comboBox.setColumnName(AttributeDataUtilityHelper.getColumnName(component_id, datum, mc));

Add additional field to picker

$
0
0

Hi.

I need to add some additional fields to picker page.

Something like this:

classification_picker.png

This is checkbox field is added on classification picker:

in Windchill\codebase\netmarkets\jsp\structuredenumerationpicker\structuredEnumerationTreePicker.jsp

<jca:renderPropertyPanel>

    <w:checkBox name="ptsCreateNumberFromClassification" label="${numberFromClassificationCheckboxLabel}" renderLabel="true" renderLabelOnRight="true"/>

</jca:renderPropertyPanel>

 

How can i pass this checkbox value to picker callback function?

Request in Windchill\codebase\netmarkets\jsp\structuredenumerationpicker\structuredEnumerationPicker_dataFetcher.jsp does not have this property.

Thanks.

Viewing all 8876 articles
Browse latest View live


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