Cancel
Showing results for 
Search instead for 
Did you mean: 

TCIC RACless problem on initialization

Builder
Builder

Hi there.

 

I've problem on CATIA integration with error message "the racless application ended prematurely because of initialization error.". When I choose the start Teamcenter from Teamcenter menu in Catia, after login page and user & pass, this error appears.

There are two clients on Catia side: "Teamcenter Rich Client" and "Teamcenter Integration For CATIA V5 Loader" Which the second one is default client.

 

Afetr many investigations I've found Temp\tcic_racless_out_nnn.log file with this content:

 

 

Found servers: 
TcWeb1
Creating connection. for protocolHTTP host=http://tcserver/tc
Start SOASession.login() 4
johny : Login successful
*******************************
writeTcicPreferencesXml
*******************************
 Start writing tcic preferences
java.lang.RuntimeException: Failed to load the library libcat2soalibrary. Please ensure that the library is installed in the library path.
	at com.ebsolutions.soacore.sessionmanager.SOAExceptionHandler.handleException(SOAExceptionHandler.java:85)
	at com.teamcenter.soa.internal.client.XmlRestSender.invoke2(Unknown Source)
	at com.cat2.services.strong.library.Cat2SoaRestBindingStub.catUserService(Unknown Source)
	at com.ebsolutions.utility.config.PreferencesManager.getWriteTcicPrefencesValues(PreferencesManager.java:1211)
	at com.ebsolutions.utility.config.PreferencesManager.writeTcicPreferencesXml(PreferencesManager.java:1057)
	at com.ebsolutions.utility.config.PreferencesManager.init(PreferencesManager.java:770)
	at com.ebsolutions.utility.config.PreferencesManager.<init>(PreferencesManager.java:661)
	at com.ebsolutions.utility.config.PreferencesManager.get_instance(PreferencesManager.java:723)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.initializeSOAConnectionDependants(ConnectionManager.java:680)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.connectGateway(ConnectionManager.java:579)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateConnection(ConnectionManager.java:876)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateSOAConnectionIfLicenceIsRequired(ConnectionManager.java:1138)
	at com.ebsolutions.soacore.process.DoDisplayLoaderAction.lockGateway(DoDisplayLoaderAction.java:133)
	at com.ebsolutions.soacore.process.RACLessProcessAbstract.initRACLessProcess(RACLessProcessAbstract.java:427)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.ebsolutions.soacore.socketmanager.CommandDispatcher$5.run(CommandDispatcher.java:1893)
java.lang.RuntimeException: Failed to load the library libcat2soalibrary. Please ensure that the library is installed in the library path.
	at com.ebsolutions.soacore.sessionmanager.SOAExceptionHandler.handleException(SOAExceptionHandler.java:85)
	at com.teamcenter.soa.internal.client.XmlRestSender.invoke2(Unknown Source)
	at com.cat2.services.strong.library.Cat2SoaRestBindingStub.catUserService(Unknown Source)
	at com.ebsolutions.utility.soa.CommonSOAToolkit.callSOAService(CommonSOAToolkit.java:659)
	at com.ebsolutions.utility.soa.TcICSOAServices.releaseLicenseCatiaIntegration(TcICSOAServices.java:2258)
	at com.ebsolutions.soacore.sessionmanager.SOASession.logout(SOASession.java:1043)
	at com.ebsolutions.soacore.sessionmanager.SOASession.closeSOASession(SOASession.java:406)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.connectGateway(ConnectionManager.java:585)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateConnection(ConnectionManager.java:876)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateSOAConnectionIfLicenceIsRequired(ConnectionManager.java:1138)
	at com.ebsolutions.soacore.process.DoDisplayLoaderAction.lockGateway(DoDisplayLoaderAction.java:133)
	at com.ebsolutions.soacore.process.RACLessProcessAbstract.initRACLessProcess(RACLessProcessAbstract.java:427)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.ebsolutions.soacore.socketmanager.CommandDispatcher$5.run(CommandDispatcher.java:1893)
Terminate the session with the Teamcenter Server : logout()
java.lang.NullPointerException
	at com.ebsolutions.utility.process.CatiaManager.checkCatiaEnv(CatiaManager.java:1247)
	at com.ebsolutions.utility.process.CatiaManager.initInfos(CatiaManager.java:438)
	at com.ebsolutions.utility.process.CatiaManager.<init>(CatiaManager.java:405)
	at com.ebsolutions.utility.process.CatiaManager.get_instance(CatiaManager.java:462)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.closeAwHostedClient(ConnectionManager.java:2798)
	at com.ebsolutions.soacore.sessionmanager.SOASession.logout(SOASession.java:1083)
	at com.ebsolutions.soacore.sessionmanager.SOASession.closeSOASession(SOASession.java:406)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.connectGateway(ConnectionManager.java:585)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateConnection(ConnectionManager.java:876)
	at com.ebsolutions.soacore.sessionmanager.ConnectionManager.updateSOAConnectionIfLicenceIsRequired(ConnectionManager.java:1138)
	at com.ebsolutions.soacore.process.DoDisplayLoaderAction.lockGateway(DoDisplayLoaderAction.java:133)
	at com.ebsolutions.soacore.process.RACLessProcessAbstract.initRACLessProcess(RACLessProcessAbstract.java:427)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.ebsolutions.soacore.socketmanager.CommandDispatcher$5.run(CommandDispatcher.java:1893)
cmd=C:\TCIC_V5\bin\WIN32\TcToFront.exe 329900
The RACless application ended prematurely because of an initialization error.
Gateway failed to connect with the provided credentials.
 UNLOCK of the RACLess Server
Command dispatched [CloseRACLessServer]
Close RACLess socket server
 End of SWT UI Thread
Start function: ViewerShutdown
VisView is not running()
 * End of RACLess application * 
close running threads
INFO: Kill GatewayEventMonitor was invoqued. It's thread ends.

 

I've found out that the libcat2soalibrary.dll and libcat2soalibrary.lib are present in C:\TCIC_V5\Teamcenter\lib, so I don't know where I should set library path. Could anyone please help me?

 

Thanks for your attention

8 REPLIES

Re: TCIC RACless problem on initialization

Genius
Genius

Have you install respective TCIC template on database respect to your TCIC Version?

Re: TCIC RACless problem on initialization

Builder
Builder

Yes, TCIC template and TCIC Server are installed on server side. CATPart, CATProduct and other datasets are currently available on TC database and ready to use. The problem I think is on the client side.

Re: TCIC RACless problem on initialization

Genius
Genius

if it is case then you must have libcat2soalibrary.dll at Server (bin folder) and libcat2soalibrary.lib at Server (lib folder).

Re: TCIC RACless problem on initialization

Builder
Builder

Thanks. That problem solved,  but new error appeared as "new teamcenter server has been assigned." when saving part files.

Actually this error appeares randomly not the all the times.

 

Found servers: 
TcWeb1
Creating connection. for protocolHTTP host=http://tcserver/tc
Start SOASession.login() 4
johny : Login successful
*******************************
writeTcicPreferencesXml
*******************************
 Start writing tcic preferences 
 End writing tcic preferences 
TcICSOAServices.initTcServer()
 LOCK of the RACLess Server 
registerState() index = 1
Server encoding : utf-8
Command dispatched [SaveManagerCommand]
TcICSOAServices.setTabStr(
0
C:\Users\Administrator\AppData\Local\DassaultSystemes\CATCache\
0
0
,catia_cache_options)
File is downloaded : C:\TCIC_V5_tmp\tmp\1_johny_1512994610414_server_savemanager_env.txt
TcICSOAServices.globalInitProcess(save)
File is downloaded : C:\TCIC_V5_tmp\tmp\1_johny_1512994610414_server_savemanager_complete.txt
INFO : added Gateway Events listener: SaveManagerApplication
File is downloaded : C:\TCIC_V5_tmp\tmp\2_johny_1512994610414_server_savemanager_partial.txt
File is downloaded : C:\TCIC_V5_tmp\tmp\4_johny_1512994610414_server_savemanager_partial.txt
File is downloaded : C:\TCIC_V5_tmp\tmp\6_johny_1512994610414_server_savemanager_partial.txt
File is downloaded : C:\TCIC_V5_tmp\tmp\8_johny_1512994610414_server_savemanager_partial.txt
TcICSOAServices.getTabStr(error_file)
File is downloaded : C:\TCIC_V5_tmp\tmp\johny_32611_1512994649.000000.tcic.tmp
TcICSOAServices.getTabStr(error_file)
File is downloaded : C:\TCIC_V5_tmp\tmp\johny_14068_1512994649.000000.tcic.tmp
TcICSOAServices.getTabStr(result_file)
File is downloaded : C:\TCIC_V5_tmp\tmp\johny_5700_1512994649.000000.tcic.tmp
File is downloaded : C:\TCIC_V5_tmp\tmp\2_johny_1512994610414_server_desc.xml
Command dispatched [SaveAssemblyCommand]
java.lang.RuntimeException: tcserver44@8085@TCSERVER@4928: No response received.
	at com.ebsolutions.soacore.sessionmanager.SOAExceptionHandler.handleException(SOAExceptionHandler.java:85)
	at com.teamcenter.soa.internal.client.XmlRestSender.invoke2(Unknown Source)
	at com.cat2.services.strong.library.Cat2SoaRestBindingStub.catUserService(Unknown Source)
	at com.ebsolutions.utility.soa.CommonSOAToolkit.callSOAService(CommonSOAToolkit.java:659)
	at com.ebsolutions.utility.soa.TcICSOAServices.saveAssembly(TcICSOAServices.java:923)
	at com.ebsolutions.soacore.process.SaveAssemblyCommand.coreProcess(SaveAssemblyCommand.java:165)
	at com.ebsolutions.soacore.process.RACLessProcessAbstract.executeProcess(RACLessProcessAbstract.java:1348)
	at com.ebsolutions.soacore.process.RACLessProcessAbstract.executeProcess(RACLessProcessAbstract.java:1218)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.ebsolutions.soacore.socketmanager.CommandDispatcher$5.run(CommandDispatcher.java:1916)
Command dispatched [UnlockSocketServerCommand]
 UNLOCK of the RACLess Server 
SOAExceptionHandler - handleException : InternalServerException 214016 - The server was reassigned.
*******************************
writeTcicPreferencesXml
*******************************
 Start writing tcic preferences 
 End writing tcic preferences 
INFO: Fire State change [TC_SERVER_REASSIGNED] for 1 Gateway Event Listeners
 : The Gateway State Event recieved by [SaveManagerApplication] is : TC_SERVER_REASSIGNED
unregisterState() for index 1
cmd=C:\TCIC_V5\bin\WIN32\TcToFront.exe 590984
Command dispatched [CloseRACLessServer]
Close RACLess socket server
INFO: Fire State change [GATEWAY_CLOSING] for 1 Gateway Event Listeners
 : The Gateway State Event recieved by [SaveManagerApplication] is : GATEWAY_CLOSING
Terminate the session with the Teamcenter Server : logout()
INFO: Fire State change [GATEWAY_CLOSED] for 1 Gateway Event Listeners
 : The Gateway State Event recieved by [SaveManagerApplication] is : GATEWAY_CLOSED
 End of SWT UI Thread
INFO : removed Gateway Events listener: SaveManagerApplication
Start function: ViewerShutdown
VisView is not running()
 * End of RACLess application * 

As I've seen, this error appears depend on server process load. I saw this error on Save part, Checkout from Catia, Load in Catia from TC. Is there any timeout or something related to this error?

Could you please share your experience?

 

Thanks

Re: TCIC RACless problem on initialization

Genius
Genius

You may have to check value for context Parameter for TIMEOUT in your webTier settings. Try to give bigger value than default to see if it resovle the issue

Re: TCIC RACless problem on initialization

Builder
Builder

Thanks. I wasn't able to find any webtier related timeout among TC options. Is there any configuration file to look for this option? I use IIS as webtier. Could you please help me where to find this?

 

Thanks for your response

Re: TCIC RACless problem on initialization

Genius
Genius

In your INSWEB - WebTier configuration. I didnt know much about IIS.

Re: TCIC RACless problem on initialization

Experimenter
Experimenter

Hi, you mentioned that you have solved the problem. But how? Because I have a simlar problem after using the Toolbar in CATIA.

 

Loading libraries...
OS name is Windows 7
JVM vendor is Oracle Corporation
Data model is 64
A problem has occurred
The RACless application ended prematurely because of an initialization error.
End of SWT UI Thread
Start function: ViewerShutdown
VisView is not running()
* End of RACLess application *
close running threads