If we have created a simple java class with main method and one another method in the class and compiled the class.created a jar out of it and set the class path in the designer.tra(tibco.env.CUSTOM_CP_EXT) and bwengine.tra file(tibco.env.CUSTOM_EXT_APPEND_CP) with the jar file location.
Now created a bw process having a java method and trying to browse for a class.in the show class browser can able to locate jar file. But, if we can click on that jar file, it may not showing the classes or methods in the jar file to select. So for this issue we may troubleshoot like this below mentioned
Fallow the steps
1. Put your class in this path C:\tibco\bw\5.6\lib\com
2. Create your class with serializable
3. Crete jar file in C:\tibco\bw\5.6\lib
4. Create alias library and add C:\tibco\bw\5.6\lib
5. Java method activity configure library with alias library.
6. Now select your class
7. It will show your method.
8. Give input to java method
9. Desired output will be coming
If we have still the same problem then do this like mentioned here.
while building Jar file in RAD there are different ways in JAVA folder i.e.JAR,JAR file with instrumentation support and Runnable JAR file.
To enable in TIBCO classes window the jar should build as Runnable JAR file only.
So if classes are not showing in window, then should build again the JAR file properly
Now created a bw process having a java method and trying to browse for a class.in the show class browser can able to locate jar file. But, if we can click on that jar file, it may not showing the classes or methods in the jar file to select. So for this issue we may troubleshoot like this below mentioned
Fallow the steps
1. Put your class in this path C:\tibco\bw\5.6\lib\com
2. Create your class with serializable
3. Crete jar file in C:\tibco\bw\5.6\lib
4. Create alias library and add C:\tibco\bw\5.6\lib
5. Java method activity configure library with alias library.
6. Now select your class
7. It will show your method.
8. Give input to java method
9. Desired output will be coming
If we have still the same problem then do this like mentioned here.
while building Jar file in RAD there are different ways in JAVA folder i.e.JAR,JAR file with instrumentation support and Runnable JAR file.
To enable in TIBCO classes window the jar should build as Runnable JAR file only.
So if classes are not showing in window, then should build again the JAR file properly