× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

CATALOG not working

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 1 week ago - 9 years 1 week ago #19559 by concern
CATALOG not working was created by concern
Catolog is not working on my localhost. However compile works.

Details: R13, Windows 7, TAFC,
BASIC NMB.BP TEST
TEST
BASIC_7.c
Source file TEST compiled successfully
CATALOG NMB.BP TEST
TEST
link @C:\windows\TEMP\jbuild2 >C:\windows\TEMP\jbuild3 failed , command returned a code of 1104
LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LINK : warning LNK4044: unrecognized option '/W3'; ignored
LINK : warning LNK4044: unrecognized option '/GR'; ignored
LINK : warning LNK4044: unrecognized option '/EHa'; ignored
LINK : warning LNK4044: unrecognized option '/GF'; ignored
LINK : warning LNK4044: unrecognized option '/Zi'; ignored
LINK : warning LNK4044: unrecognized option '/F5000000'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE64_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_FILE_OFFSET_BITS=64'; ignored
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
jcompile: C:\windows\TEMP\jbuild2 deleted
jcompile: C:\windows\TEMP\jbuild3 deleted
jcompile: Returned an error code of 8
 ** Unable to catalog object TEST **
Return code = CATALOG_ERROR

Edit record again ? N

jsh t24 ~ -->

remote.cmd
rem Base variables:

rem cd C:\Temenos\R13\Temenos\bnk\bnk.run
set TERM=vt100
set HOME=%cd%
cd ../../..
set ROOT=%cd%
cd Temenos/bnk/bnk.run
set TOOLS=%ROOT%\3rdParty
set TAFC_HOME=%ROOT%\Temenos\TAFC
set TAFC_CONTEXT=default

set JBCDATADIR=%TAFC_HOME%\jbase_data
set JBCRELEASEDIR=%TAFC_HOME%
set JBCGLOBALDIR=%TAFC_HOME%
set JBASE_PATH=%HOME%\t24bin
set JBCLISTFILE=%HOME%\^&SAVEDLISTS^&
set JEDIFILENAME_MD=VOC
set JEDIFILENAME_SYSTEM=%JBCRELEASEDIR%\src\SYSTEM
set JBCEMULATE=prime
set JBASE_ERRMSG_DIVIDE_BY_ZERO=19
set JBASE_ERRMSG_ZERO_USED=35
set JBASE_ERRMSG_NON_NUMERIC=19
set JBC_CORE_DUMP=1
set JEDIFILEPATH=%HOME%
set JEDIENABLEQ2Q=1
set JBCBASETMP=%HOME%\tmp_workfile
set JBCDEV_BIN=%HOME%\bin
set JBCDEV_LIB=%HOME%\lib
set TAFC_MONITORING_STORE=REMOTE:127.0.0.1:58002

rem Execution:

set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91
set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include;C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\include
set LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64;C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\lib\amd64

set PATH=%TAFC_HOME%\bin;%HOME%\bin;%HOME%\t24bin;%JAVA_HOME%\bin;C:\windows\system32;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE;%PATH%

rem %TOOLS%\Microsoft Visual Studio 10.0\VC\bin\amd64;%TOOLS%\Microsoft Visual Studio 10.0\Common7\IDE;

set JBCOBJECTLIST=%HOME%\lib;%HOME%\t24lib
set JBASE_WARNLEVEL=4
set JBASE_INHIBIT_ZERO_USED=1
set JEDIENABLEQ2Q=1
set JBASE_JBCOBJECTLIST_DIR=1

rem set JREDIR=%JBCRELEASEDIR%\java\jre

set JREDIR=C:\Program Files\Java\jre1.8.0_91
set JBCJVMLIB=%JAVA_HOME%\jre\bin\client\jvm.dll
set RELIB=%HOME%\ruleengine
set CLASSPATH=%RELIB%
set CLASSPATH=%CLASSPATH%;%RELIB%\rules-engine.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\xml-apis.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\xercesImpl.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\xalan.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\jaxb-api.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\jaxb-impl.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\jsr173_1.0_api.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\antlr-2.7.6.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\commons.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\commons-codec-1.3.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\junit-4.1.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\jaxb-xjc.jar
set CLASSPATH=%CLASSPATH%;%RELIB%\activation.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24email\mail.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24email\activation.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24email\t24email.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24email\xercesImpl.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24email\config
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24sms
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24sms\t24sms-ci.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24sms\t24sms-impl.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24sms\xercesImpl.jar
set CLASSPATH=%CLASSPATH%;%HOME%\jars\t24sms\config
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\webservices-rt-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\geronimo-jta_1.1_spec-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\webservices-api-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\webservices-extra-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\webservices-extra-api-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\webservices-tools-1.1.jar
set CLASSPATH=%CLASSPATH%;%HOME%\tagnotification\tag-notifications-3.1-DEV.jar

rem UTF8 settings :

set JBASE_I18N=1
set JBASE_CODEPAGE=utf8
set JBASE_LOCALE=en_US
set JBASE_TIMEZONE=Europe/Belgrade

rem Printer Services:

set JBCSPOOLERDIR=%HOME%\jspooler

jprofile.bat
Last edit: 9 years 1 week ago by concern. Reason: put quotes

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
9 years 1 week ago #19560 by VK
Replied by VK on topic CATALOG not working
Hi
Probably you don't need to mention "C:\Program Files (x86)\Microsoft Visual Studio 11.0" anywhere in your remote.cmd if you have "C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0"?

Cheers
VK

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 1 week ago #19561 by concern
Replied by concern on topic CATALOG not working
I have tried it and other different setups but i cant get CATALOG to work..

rem Execution:

set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91
set INCLUDE=C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\include
set LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A;C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\lib\amd64

set PATH=%TAFC_HOME%\bin;%HOME%\bin;%HOME%\t24bin;%JAVA_HOME%\bin;C:\windows\system32;C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\bin\amd64;C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\Common7\IDE;%PATH%

rem %TOOLS%\Microsoft Visual Studio 10.0\VC\bin\amd64;%TOOLS%\Microsoft Visual Studio 10.0\Common7\IDE;

set JBCOBJECTLIST=%HOME%\lib;%HOME%\t24lib
set JBASE_WARNLEVEL=4
set JBASE_INHIBIT_ZERO_USED=1
set JEDIENABLEQ2Q=1
set JBASE_JBCOBJECTLIST_DIR=1

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
9 years 1 week ago - 9 years 1 week ago #19562 by VK
Replied by VK on topic CATALOG not working
hi

Try to amend "set LIB" to:
set LIB=C:\Temenos\R13\3rdParty\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\lib\x64

(swap 2 entries, append "\lib\x64" to the second, I suppose there is Kernel32.Lib there)

Cheers
VK
Last edit: 9 years 1 week ago by VK.

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 1 week ago #19563 by concern
Replied by concern on topic CATALOG not working
Getting the same error.

CATALOG PRG.BP TEST
TEST
link @C:\windows\TEMP\jbuild2 >C:\windows\TEMP\jbuild3 failed , command returned a code of 1104
LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LINK : warning LNK4044: unrecognized option '/W3'; ignored
LINK : warning LNK4044: unrecognized option '/GR'; ignored
LINK : warning LNK4044: unrecognized option '/EHa'; ignored
LINK : warning LNK4044: unrecognized option '/GF'; ignored
LINK : warning LNK4044: unrecognized option '/Zi'; ignored
LINK : warning LNK4044: unrecognized option '/F5000000'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE64_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_FILE_OFFSET_BITS=64'; ignored
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
jcompile: C:\windows\TEMP\jbuild2 deleted
jcompile: C:\windows\TEMP\jbuild3 deleted
jcompile: Returned an error code of 8
** Unable to catalog object TEST **
jsh t24 ~ -->

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
9 years 1 week ago #19564 by VK
Replied by VK on topic CATALOG not working
Post the output of:
CATALOG -v PRG.BP TEST

also, search for the file kernel32.lib at your hard drive.

Cheers
VK

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 1 week ago #19565 by concern
Replied by concern on topic CATALOG not working
jsh t24 ~ -->CATALOG -v PRG.BP TEST
TEST
jcompile -Q CATALOG_7.obj -oC:\Temenos\R13\Temenos\bnk\bnk.run\bin\TEST
link @C:\windows\TEMP\jbuild2 >C:\windows\TEMP\jbuild3 failed , command returned a code of 1104
LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LINK : warning LNK4044: unrecognized option '/W3'; ignored
LINK : warning LNK4044: unrecognized option '/GR'; ignored
LINK : warning LNK4044: unrecognized option '/EHa'; ignored
LINK : warning LNK4044: unrecognized option '/GF'; ignored
LINK : warning LNK4044: unrecognized option '/Zi'; ignored
LINK : warning LNK4044: unrecognized option '/F5000000'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE64_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_FILE_OFFSET_BITS=64'; ignored
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
jcompile: C:\windows\TEMP\jbuild2 deleted
jcompile: C:\windows\TEMP\jbuild3 deleted
jcompile: Returned an error code of 8
** Unable to catalog object TEST **
jsh t24 ~ -->



Attachments:

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
9 years 1 week ago - 9 years 1 week ago #19567 by VK
Replied by VK on topic CATALOG not working
Can't see the tails of directories...

Any of them present in your LIB environment variable?
If yes - I have no more ideas :((

If not - add one of them (preferably something from c:\temenos but make sure you get the version for your architecture - x64).

Cheers
VK
Last edit: 9 years 1 week ago by VK.

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 1 week ago - 9 years 1 week ago #19568 by concern
Replied by concern on topic CATALOG not working
Apologies for that, please see below.

Attachments:
Last edit: 9 years 1 week ago by concern. Reason: pic

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
9 years 1 week ago #19570 by VK
Replied by VK on topic CATALOG not working
Try to add to LIB the directory which is second from the bottom...

Cheers
VK

Please Log in or Create an account to join the conversation.

  • concern
  • concern's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • R20 | TAFJ | ORACLE
More
9 years 5 days ago #19599 by concern
Replied by concern on topic CATALOG not working
I finally got it working. Thanks for your help.
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91
set INCLUDE=%TOOLS%\Microsoft Visual Studio 10.0\VC\include
set LIB=%TOOLS%\Microsoft SDKs\Windows\v7.1\Lib\x64;%TOOLS%\Microsoft Visual Studio 10.0\VC\lib\amd64
set PATH=%TAFC_HOME%\bin;%HOME%\bin;%HOME%\t24bin;%JAVA_HOME%\bin;%TOOLS%\Microsoft Visual Studio 10.0\VC\bin\amd64;%TOOLS%\Microsoft Visual Studio 10.0\Common7\IDE;C:\windows\system32;%PATH%

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds