cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while using jLink code inside JSP - Tomcat Sever

ptc-1911984
1-Newbie

Error while using jLink code inside JSP - Tomcat Sever

Hi I am using jLink code inside a JSP file to retirve a ProE Model Information from my PLM Server. My application server is Tomcat 5.5. When I gave the request, I am getting the following exception in Tomcat console: com.ptc.pfc.Implementation.pfcExceptions$XToolkitNotFound I am able to connect to ProE Processes and get the session object. But when I use the method "session.RetrieveModel(desc)" at this point it is throwing this exception. Any idea why this is happening? Any setting to be done at the Tomcat env? Thanks for your help, Nagarajan R
1 REPLY 1

Nagarajan, Maybe it's because the function pfcSession.BaseSession.RetrieveModel does not look into the complete commonspace of PDMLink. You may need to use the functions mentioned in the JLink API User's Guide in chapter Windchill Connectivity API's. The method pfcServer.Server.GetAliasedUrl enables you to search for a server object by its name. Specify the complete filename of the object as the input, for example, test_part.prt. The method returns the aliased URL for a model on the server. Use this as argument for the method pfcSession.BaseSession.RetrieveModel
Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.