Skip to main content
14-Alexandrite
May 11, 2011
Question

NamingServiceException Error using Info*Engine

  • May 11, 2011
  • 1 reply
  • 590 views

When using the NamingService.newInstance(namingServiceName,props) method in my Java code on the client, I get the error below for the NamingServiceException.


No exception of type NamingServiceException can be thrown; an exception type must be a subclass of Throwable


Not sure what is going on but has anyone experienced this issue? I am using WC10.0.


Thanks for any help.

1 reply

jfelkins14-AlexandriteAuthor
14-Alexandrite
May 11, 2011

Ok I found the problem. You will need to add the servlet.jar file to the library of your IDE. The jar file is located in the Windchill srclib folder.


Thanks.



In Reply to James Felkins:



When using the NamingService.newInstance(namingServiceName,props) method in my Java code on the client, I get the error below for the NamingServiceException.


No exception of type NamingServiceException can be thrown; an exception type must be a subclass of Throwable


Not sure what is going on but has anyone experienced this issue? I am using WC10.0.


Thanks for any help.