prashantha M · Aug 4, 2020 go to post

I'm getting following exception when i try to create Java Business Hosts and import the jar files, i have implemented with PEX BO/BS

The selected file does not contain any classes which can be imported as a java business host.  Try selecting a different jar file

prashantha M · Aug 4, 2020 go to post

yes , its showing the required class files...is there any JDK version issues or any configuration required

prashantha M · Aug 3, 2020 go to post

I have all the required class files and dependencies , I'm facing some crazy issue , while setting up Java host, when I try to import Jar file , it tells class files doesn't exist , but if I unzip the jar files , I can all the class files 

prashantha M · Aug 3, 2020 go to post

Tried getting following exception

Terminating Job 20085 / 'KafkaProducer' with Status = ERROR #8104: Gateway Exception: <GATEWAY> java.lang.NoClassDefFoundError java.lang.Class.forName0(Native Method) Could not initialize class example.KafkaBusinessOperation, %QuitTask=
 

prashantha M · Aug 3, 2020 go to post

I followed same steps and having same issue , let me past sample and highlighted <Property name="Credentials">, after giving right credentials, its failing  
 

 

Spoiler

 

Java Business Operation which runs Java class iris.Kafka.IRISKafkaProducer</Description>

<Super>Ens.Java.Operation.PassthroughOperation</Super>

<TimeChanged>65521,53538.454697</TimeChanged>

<TimeCreated>65521,53538.450249</TimeCreated>

<GeneratedBy>EnsPortal.GenerateJBHFrame</GeneratedBy>

IP address or name of the machine where the Java Gateway Server is located.</Description>

<Type>%String</Type>

<InitialExpression>"127.0.0.1"</InitialExpression>

Credentials for Java to use when authenticating with IRIS</Description>

<Type>%String</Type>

<InitialExpression>"SuperUser"</InitialExpression>

Path to JAR file containing Java-side implementation of this Business Operation</Description>

<Type>%String</Type>

<InitialExpression>"/home/irisowner/IRIS/dev/java/lib/kafka/IRISKafkaProducer_1.2.jar"</InitialExpression>

Name of the Config Item for the Java Gateway Server. If specified, the Address and Port of the selected Java Gateway Server override any values entered in the Address and Port settings.</Description>

<Type>%String</Type>

<InitialExpression>"Initiator"</InitialExpression>

TCP port number for communication between the Java Gateway Server and the proxy classes in IRIS.</Description>

<Type>%String</Type>

<InitialExpression>55555</InitialExpression>

<Default>iris.Kafka.IRISKafkaProducer</Default>

prashantha M · Aug 2, 2020 go to post

It’s giving issue for credentials , I have set Superuser and password, I’m able to call through Irissession 

could you please help better understanding of the credentials, after mapping user with admin Privileged user also it’s not working