Skip to Main Content

DevOps, CI/CD and Automation

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!

Generating Barcodes Using Javabean on Server

567855Mar 19 2007 — edited Apr 5 2007
I am trying to generate barcodes using javabean in Oracle Reports 10g. I am able to generate barcodes on the client. However, when I put the report on the server and call the report using a front end screen developed in Oracle Forms 10g, nothing happens.

I put sever SRW.MESSAGE instructions in the function that generates the barcode. These messages lead me to the SRW.CREATE_TEMPORARY_FILENAME. The message gave me a file directory that I used to hard code the temporary file with a variable to generate my temporary file. It continued to bomb in that area. The next instruction is BARCODE = BARCODE.NEW().

I have bumped up the declaration of IMAGEFILE to VARCHAR2(500). The formula that I created on the database model was also bumped up to 500 characters. The formula function that I created was changed from CHAR to VARCHAR2. All of these changes allowed me to generate barcodes on the client.

The OS for the server is WINDOWS 2000. The jar file is in the correct location for both server and client. This location is in the CLASSPATH for both client and server.

Any suggestions on how to get this thing to work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2007
Added on Mar 19 2007
8 comments
1,124 views