Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all 5797 articles
Browse latest View live

Windchill connected to MS Active Directory Load balanced server pair

$
0
0

When we first rolled out Windchill late last year we connected it to our MS Active Directory system for authentication.  Worked great.  At the time the AD system was two servers, call them AD1 and AD2, acting in failover mode.  Windchill talked to AD1.  At one point AD1 failed, so AD2 took over and I had to repoint Windchill to AD2- still fine.  Now they AD system has been reconfigured to be load balanced and failover.  So AD1 and AD2 are constantly sharing the load and if one dies, the other takes on 100% of the work.  Since that change, and it's purely correlation in timing that has me speculating there may be a cause - effect relationship, the time it takes for Windchill to present a login when starting Pro/E has gotten much longer.   It was nearly instant, now it takes 20-30 seconds for some users and I'm getting complaints.  Has anyone else seen anything like this?  And, is there any way to designate Windchill so it knows there are two AD servers working in parallel AND that if one doesn't respond to look for the other one?  PTC's page only indicates "contact PTC Global Services" for that kind of configuration.

 

Thanks


Erik

 

Windchill 10 M030

Pro/E Wildfire 4 M220

Clients - Windows 7 64 bit, IE9


Retarget Principals

$
0
0

Hi All,

 

We are in the Process to Migrating the iPlanet LDAP to AD.

As we unplugged the old (iPlanet) adapter the users are rendered disconnected. [These are visible in the Maintenance tab in Principal Administration menu].

 

Now, the disconnected principals need to be retargeted.

The user to be retargeted also have groupmembership in Local DS (Windchill DS) groups.

The disconnected users are numerous (~5000) so doing manually is not an options.

 

Option Tried:

DB UPDATE (Tables:  RemoteobjectID, RemoteobjectInfo, WTUSER)

Issue:

The Windchill DS doesn’t update.

 

I believe as through OOTB (Principla Administration-> Maintaiance ->Select Disconnect User -> Retarget) we could retarget the users successfully (it also updates the Windchill DS) the options below would be a preferred one:

  1. Windchill API  probabl e -> API fixuid
  2. InfoEngine Tasks

 

Any Sample code would be applicable.

 

Thanks & Regards

Debashis Patnaik

Creating a link between Parent Part and Child Part using windchill API's

$
0
0

Hi,

 

I am getting the following error while creating a link between a checked out working copy of a part and a child part.

 

(wt.vc.wip.wipResource/0) wt.vc.wip.WorkInProgressException: The object was improperly initialized (i.e., it was null).

        at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:795)

        at wt.services.ServiceFactory$ClientInvocationHandler.invoke(ServiceFact

ory.java:349)

        at $Proxy8.checkout(Unknown Source)

        at com.injector.Injector_Test.main(Injector_Test.java:201)

 

Any suggestions on how to solve this error ?

 

Code for reference :

 

WTPart part = WTPart.newWTPart(

 

"Part1", "MyPart");

PersistenceHelper.

 

manager.save(part);

WTPart childPart = WTPart.newWTPart(

 

"CPart1", "MyChildPart");

 

PersistenceHelper.

 

manager.save(childPart);

 

 

WTPart Workingcopy = (WTPart)WorkInProgressHelper.

 

service.checkout(part, null, null).getWorkingCopy();

 

PersistenceHelper.

 

manager.save(link);

WorkInProgressHelper.

 

service.checkin(Workingcopy,null);

 

 

WTPartUsageLink link = WTPartUsageLink.newWTPartUsageLink(Workingcopy, (WTPartMaster) childPart.getMaster());

 

 

 

Help in adding action to “Model Structure Report” and “Family Table”

$
0
0

Hi,

 

I have created URLActionDelegate for my action and have code (Link) to be added in .xml file

If i add in "NavigationAndAction.xml" under any of the Navigation_Tree it does not gets rendered in

“Model Structure Report” and “Family Table”. But i am able to show in "Product Structure" which belong

to WTPart. As “Model Structure Report” and “Family Table” belongs to EPMDocument. In which .xml i should

add an entry ro get action displayed in “Model Structure Report” and “Family Table” ?

 

TP1.jpgTP2.jpg

And as it is a template processed one it is difficult in finding definitions of actions.

 

Thanks

Vijayan

Install Windchill 10.1 in Centos6.2 Error occurs : Windchill loader exited with error status = 1

$
0
0

Do you hava this similar problems, help me

os.name: Linux

         

os.version: 2.6.32-220.el6.x86_64

            

os.arch: amd64

        

java.vendor: Sun Microsystems Inc.

       

java.version: 1.6.0_41

……

DEBUG  2013-06-05 21:12:55 - CHOSEN_INSTALL_SET=Recover

 

DEBUG  2013-06-05 21:12:55 - CHOSEN_INSTALL_FEATURE_LIST=Application

 

DEBUG  2013-06-05 21:12:55 - Data Load (WindchillLoaderManager): timer.start

 

INFO   2013-06-05 21:12:55 - Executing pre-data load actions.

 

INFO   2013-06-05 21:12:55 - Found data to load

 

INFO   2013-06-05 21:12:55 - Starting Apache.

 

DEBUG  2013-06-05 21:12:55 - Checking if web service is running...

 

DEBUG  2013-06-05 21:12:55 - checking URL connection to http://plm101.ptc.com:80  ...

 

DEBUG  2013-06-05 21:12:55 - Exception while attempting to connect (web service may simply not be running)

java.net.ConnectException: Connection refused

 

    at java.net.PlainSocketImpl.socketConnect(Native Method)

 

    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

 

    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)

 

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

 

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

 

    at java.net.Socket.connect(Socket.java:529)

 

    at sun.net.NetworkClient.doConnect(NetworkClient.java:158)

 

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:411)

 

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:525)

 

    at sun.net.www.http.HttpClient.<init>(HttpClient.java:208)

 

    at sun.net.www.http.HttpClient.New(HttpClient.java:291)

 

    at sun.net.www.http.HttpClient.New(HttpClient.java:310)

 

    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)

 

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)

 

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)

 

    at com.ptc.windchill.install.suite.runnables.AbstractWebService.attemptConnect(AbstractWebService.java:228)

 

    at com.ptc.windchill.install.suite.runnables.AbstractWebService.isRunning(AbstractWebService.java:201)

 

    at com.ptc.windchill.install.suite.runnables.AbstractWebService.start(AbstractWebService.java:295)

 

    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.startApache(WindchillLoaderManagerImpl.java:526)

 

    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.loadSubinstallerData(WindchillLoaderManagerImpl.java:134)

 

    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.process(WindchillLoaderManagerImpl.java:87)

 

    at com.ptc.windchill.install.suite.WindchillLoaderManager.process(WindchillLoaderManager.java:29)

 

    at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:468)

    at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:313)

 

    at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)

 

    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)

 

    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)

 

    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)

 

    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)

 

    at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)

 

    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)

 

    at com.zerog.ia.installer.Installer.install(DashoA10*..)

 

    at com.zerog.ia.installer.actions.InstallProgressAction.n(DashoA10*..)

 

    at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(DashoA10*..)

 

DEBUG  2013-06-05 21:12:55 - apache appears to be down.  Starting it...

 

DEBUG  2013-06-05 21:12:55 - Starting Apache...

 

DEBUG  2013-06-05 21:12:55 - Executing command: /wc/ptc/Windchill/Apache/bin/apachectl -k start

DEBUG  2013-06-05 21:12:55 - Executing: /wc/ptc/Windchill/Apache/bin/apachectl -k start

 

DEBUG  2013-06-05 21:12:56 - socket connect to localhost:80 completed with no error

 

DEBUG  2013-06-05 21:12:56 - Checking if web service is running...

 

DEBUG  2013-06-05 21:12:56 - checking URL connection to http://plm101.ptc.com:80  ...

 

DEBUG  2013-06-05 21:12:56 - apache running at http://plm101.ptc.com:80

 

DEBUG  2013-06-05 21:12:56 - Apache seems to be running.

 

INFO   2013-06-05 21:12:56 - Loader command: /wc/ptc/Windchill/Windchill/bin/windchill --java=/wc/ptc/Windchill/Java/bin/java --javaargs=-Dwt.load.installer.serverManagerTimeout=300 wt.load.WindchillLoader -All -Unattended -AbortOnError -IncludeDemo -Locale=en -User=wcadmin -Password=wcadmin 

 

INFO   2013-06-05 21:12:59 - joining with std out thread

 

INFO   2013-06-05 21:12:59 - std out join complete.

 

INFO   2013-06-05 21:12:59 - joining with std error thread

 

INFO   2013-06-05 21:12:59 - std err join complete.

 

FATAL  2013-06-05 21:12:59 - Windchill loader exited with error status = 1

 

DEBUG  2013-06-05 21:12:59 - Installation is Aborting.  The installation cannot continue.

 

DEBUG  2013-06-05 21:12:59 - Installation is Aborting.  The installation cannot continue.

Creo tries to check out objects when opening

$
0
0

Does anyone know why Creo wants to check out random files when opening an assembly or drawing? It will try to check out parts like a nut, screw or some other assembly when just opening a drawing/parent assembly. What causes this?

CASTING & RAW model management in WTPart structure

$
0
0

There's any body have an idea how to manage Merge reference model from the CAD document in the WTPart BOM structure?

It seems that out-of-the-box there is no way to have a member link between that merge model from the CAD document and the WTPart structure.

 

So basically here is my situation:

 

Within my company we create a lot of CASTING model which we create with the Merge Inheritance function in Creo Parametric. This to be able to have the base model with over stock and draft, what we call the RAW model from which we start to create the final model with machining feature. 

 

So basicall my issue is that I need to pobulated  that RAW model within my EBOM structure so the procurement team can order RAW and the MACHINE PART

 

Here is the default WTPART structure generated from the CAD structure

PS: Within that example the X-1 is a PART link with a CAD-DOCUMENT that have a merge inheritance!! At first I would appreciate to be able to see that Merge reference by default in the PART structure:

pict-01.jpg

So basically to incorporate the RAW we just insert the raw under the X-1

pict-02.jpg

Af first this seem to work but when the Procurement extract the (Component list report) from windchill the report ignore the MACHINE PART?

So the only alternative we have so far is to insert the RAW model at the same level as the MACHINE PART. But this mean that we have to insert the raw manually each time we use the MACHINING PART... 

 

Did any body have face that kind of issue and manage it a more efficient way?

 

My next step is to develop a component list REPORT with specific filter but this not seem to be easy!!

Thanks

How do I set the Document Format in OIR rule?

$
0
0

I've made a custom OIR rule for a library that sets several attributes, but when I use it to upload files from the web, none of the files get a "Document Format", and therefore can't be added to a workspace(they should be cad files).  Does anyone know of a specific attrValue/AttrContraint set that will let the format be detected again?

 

Thanks

 

I'm using PDMLink 10.1


Config file problems

$
0
0

To all you Windchill users:

 

We are on Windchill 10.0 M030, Creo 1.0 M050.

 

I recently updated the config file for all users (all are stored locally on each users C drive). The previous config file worked fine for all users.

 

The new config file is basically the same, with a few new options. For one of our users, after Creo startup, Creo will hang indefinitely (after user is prompted for the Windchill user/pass). This user is running on Windows 7, though the rest of the users also use either Windows 7 or Vista with no issues.

 

I can circumvent this problem by removing all the following config options that have the file path starting with wtpub://Windchill… :

 

template_designasm wtpub://Windchill/Libraries/Library/Formats/in_lbs_assembly_solid.asm

template_sheetmetalpart wtpub://Windchill/Libraries/Library/Formats/inlbs_part_sheetmetal.prt

template_solidpart wtpub://Windchill/Libraries/Library/Formats/inlbs_part_solid.prt

pro_format_dir wtpub://Windchill/Libraries/Library/Formats

start_model_dir wtpub://Windchill/Libraries/Library/Formats

pro_palette_dir wtpub://Windchill/Libraries/Library/Symbols

symbol_instance_palette_file wtpub://Windchill/Libraries/Library/Symbols/standard_notes.drw

 

Note, however, that the old config file also contained most of the above options, yet there was no hang after startup.

 

I have attached the old and new config files.

 

Anyone have any ideas?

 

Andri Ulrich

creating a link between part and document

$
0
0

Hie All,

               I m tring to create link between part and document throgh the following code.

 

 

WTPart part = WTPart.newWTPart("MyPart", "MyPart001");
PersistenceHelper.manager.save(part);

 

WTDocument doc1 = new WTDocument().newWTDocument();
doc1.setName("Doc1");
doc1.setNumber("D001");
PersistenceHelper.manager.save(doc1);
System.out.println("Saved Document ...");

 


Folder myFolder = WorkInProgressHelper.service.getCheckoutFolder();
System.out.println("Folder name is " + myFolder.getFolderPath());


CheckoutLink checkout_lnk = WorkInProgressHelper.service.checkout(part, myFolder, "workingCopy");
System.out.println("Creating the working copy of part..");
part = (WTPart) checkout_lnk.getWorkingCopy();


System.out.println("Created working copy ...");

WTPartDescribeLink link1 = WTPartDescribeLink.newWTPartDescribeLink(part, doc1);
PersistenceHelper.manager.save(link1);
System.out.println("Saved link ...");

 

WorkInProgressHelper.service.checkin(part, null);

 

But getting the following error:-

wt.vc.wip.WorkInProgressException: java.lang.NullPointerException

Nested exception is: java.lang.NullPointerException

        at wt.fc.collections.ReferenceUtility.isInflated(ReferenceUtility.java:3

83)

        at wt.fc.collections.ReferenceUtility.getPersistable(ReferenceUtility.ja

va:263)

Issue while configuring Creo View Adapter for publishing Inventor files

$
0
0

Hi All,

 

I'm trying to configure Creo View Adapter worker for publishing Inventor files in my PDM Essentials server.

 

I had installed WGM using standard Installation procedure and it identified my instance of Inventor 2013 and I checked in an Inventor Assembly into my PDM Server. I had configured the CAD worker with standard procedure and tried to publish for which I get ther error "Fails to start".

 

After a long troubleshooting I identified that when I try publishing my the worker is unable to start Inventor in my local machine(Which is correctly configured in Worker Agent Administration).

 

Can someone tell me is there any specific configuration that I need to do while configuring my Inventor along with WGM to sort the issue that I'm facing.

 

regards,

Amar.

Retrieving back previous iteration

$
0
0

Hi all, i need to retrieve back previous iteration of a model in windchill. ie to my model there is 3 iterations in commonspace. I need to use the 1st iteration of the model again. How to retrieve without any loss. Guide me

How to add an action on right click in the Object List table of workspace?

$
0
0

The Object List table in Workspace of any product has no actions on right click of the objects. i need to add one.

I have done that for other tables by using "menufor" in the actionmodel and then calling this actionmodel as a column in the TableBuilder class. And it worked.

ColumnConfig testcolumn = factory.newColumnConfig(DescriptorConstants.ColumnIdentifiers.NM_ACTIONS, true); ((JcaColumnConfig)testcolumn).setDescriptorProperty(DescriptorConstants.ActionProperties.ACTION_MODEL,"testactionmodel"); table.addComponent(testcolumn);

But i am not able to find the TableBuilder for the Object List table. Anybody has had any experience here.

Untitled.png

Setting jcaDebug=true, also doesnt reveal anything. Normally, it would have directly given me the TableBuilder name.

How to add Actions in Template processed Page ?

$
0
0

Hi,

 

Adding an actions in Info page of WTDocument, WTPart, EPMDocument was easier,

But i could not figure out where the action info are listed in action.xml & action-models.xml.

jcaDebug is not working in Template Processed page.

Please help me in adding actions in Template processed Page.

 

Thank you

Vijayan

More lost data, more crashes. The hits just keep coming.......

$
0
0

Lost a couple days work.  Yay.  Have had to reboot the system probably 15 tims or more in the last 1-1/2 days.  It turns out Windburn handles family table very poorly, especially when trying to copy them in the workspace.  I copied the family table assembly, carefully renaming the instances so there wasn't any issue.  Then I deleted the entire family table.  That worked, but then when I wanted to delete the instances from the workspace, the HAL 9000 system told me I had to delete the generic.  The system failed to either delete the instances from the Workspace (best solution) or even break the link between the files.  So, again, I'm having to go outside the system to back up the assembly to a network drive, delete the entire family table, then bring it into the workspace.

 

Excuse me, but would it be too much to ask to have the system we paid a TON of money for, actually work as advertised so I don't have to keep using a network drive to get the job done?  SRSLY?????


Does any one know how to create and use workflows in ProjectLINK?

$
0
0

I saw that in Windchill 10.1, users can create and route workflows in ProjectLINK.  I have already established workflows in PDMLink, but the capability to customized workflows in ProjectLINK would be very helpful.  For certain projects, it would be great to have customized workflow routing for data package reviews without loading the files into PDMLink.

 

Can anyone give me guidance as how to create ad use customized workflows in ProjectLINK?

Managing Multiple Design Alternatives (ie Design Branching)

$
0
0

In Intralink 3.X there was funcationality called "branching" that would allow an engineer to manage multiple design alternatives (prototypes) of the same part number then finalize on one alternative. In a file/folder environment the typical way to handle this is to duplicate parts into folders to isolate them, explore different scenaros, then incorporate the released one option into the final design.

 

Consider this basic scenario with a part:

 

  1. Bracket with holes has fitment issues
  2. Engineer would like to try 3 different prototypes but keep the same part number
    1. One with slots
    2. One with larger holes
    3. One with tighter tolerancing
  3. Engineer chooses the one with slots and Releases
  4. The other two alternatives are left at WIP, In Work, Prototype, etc.

 

So my question is what is the best way to handle this in Windchill PDMLink? We are using 10.1.

 

Let me know if my issue needs more clarification.

Searching Using Solr Query Language

$
0
0

Hello,

 

The company i work for has recently switched to Windchill 10.0 and I have discovered the advanced search option using solr query language syntax in the keyword field. I have never used solr before and was wondering if there was an easy way to determine the searchable fields. As of now, i have only found two; name: and number:

 

Searching other fields such as version or context give a bad request error.

 

 

Thanks!

Change Request - Annotations Table

$
0
0

When looking at the details tab of a Change Request...what is the annotations table for?  I cannot find any info on it, nor can I add objects to it.  We are running WC10.0 M040 and are currently testing & debugging the Change Management system.

Temporary Library Access Via Workflow

$
0
0

I am looking for suggestions on how to allow users to create and update library objects without opening up the entire library to them.

 

Currently when a user wants to make a change to a library part I simply add them to the role with the appropriate permissions and then remove them when they’re done.  The danger with this is that they could inadvertently change much more than intended (anything in the library).

 

I have considered using a “Library - Pending” folder, but then I have to manually move the objects they want to change into that folder first before they can check them out.  Then I have to move them back when they are done and the changes are approved.  Is there a better way to do this?

 

In a perfect world I would like a change request to trigger a workflow that automatically allows the user to access the necessary objects and then locks them back down after the changes are approved.  Is there a way to use a workflow to either (a.) move the files back and forth at the proper point in the process or (b.) allow access to only the affected objects long enough to make the changes without opening up the entire library?

 

Thanks.

Viewing all 5797 articles
Browse latest View live