Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JMS code does not work

Bhautesh VedMar 28 2024

I am learning JMS. I am getting a javax.jms.MessageFormatRuntimeException when executing ClaimManagement.java. I am attaching my code(ClaimsManagement.java, Claims.java, jndi.properties and pom.xml) as text files.

I get this exception when I use the LIKE operator on line 26 of ClaimManagement.java. This exception does not occur when using an equal to condition such as doctorName='John'.

Also attached are the Execution result and a screenshot of the Eclipse Package explorer.

I would appreciate any help on resolving this issue.

Claim.txt

ClaimManagement.txt

Execution Result.txt

jndi.txt

pom.txt

Eclipse Package Explorer.JPG

Comments

Arnoschots-Oracle Apr 22 2020 — edited on Apr 22 2020

Hi,

The "sudo al-config -s" doesn't work on my Autonomous Linux instance.

Command output:

[opc@opsserver ~]$ sudo al-config -s

/sbin/al-config: illegal option -- s

Configure OCI notification service topic OCID:

  Usage:

    al-config -T [topic OCID]

  Options:

    -T [topic OCID] OCI notification service topic OCID

Configure OCI CLI profile:

  Usage:

    al-config -u [user OCID] -t [tenancy OCID] -k [key file]

  Options:

    -u [user OCID] OCI User OCID

    -t [tenancy OCID] OCI Tenancy OCID

    -k [key file] from which we obtaion the API private key

    -p [key passphrase file] from which we obtain API key passphrase. Provide

       this if API private key is encrypted. If not provided, user will be

       prompted to enter passphrase.

1 - 1

Post Details

Added on Mar 28 2024
1 comment
156 views