error generating xml files

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
lspagnoli
Posts: 3
Joined: 29 May 2022, 13:33

error generating xml files

Post by lspagnoli »

i was using icedtea-next e on an old computer and never had any problems generating xml files. with openwebstart, open the program in java, I can fill in all the fields and save them, but when I have to generate the xml file for sending the system gives an error, I tried to give 777 permissions in the destination folders, but the problem has not been solved, I am attaching some files that I hope will be useful to solve the anomaly
Attachments
Screenshot_20220509_185946.png
Screenshot_20220509_185946.png (66.5 KiB) Viewed 564 times
Screenshot_20220529_142540.png
Screenshot_20220529_142540.png (178.36 KiB) Viewed 564 times
Screenshot_20220529_155753.png
Screenshot_20220529_155753.png (301.95 KiB) Viewed 564 times

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: error generating xml files

Post by Janak Mulani »

OWS is starting your application but your application is crashing because it cannot find an class javax.activation.DataHandler.

May be the JRE that was chosen to run the application does not have this class.

Please send the openwebstart log files by enabling logging as described here: https://openwebstart.com/docs/OWSGuide.html#_logging

Andreas Ehret
Posts: 78
Joined: 25 Mar 2020, 12:21

Re: error generating xml files

Post by Andreas Ehret »

Really looks like your javax class is not longer included in the JVM you are using. In this case you have to add the javax activation jar to your jnlp.

lspagnoli
Posts: 3
Joined: 29 May 2022, 13:33

Re: error generating xml files

Post by lspagnoli »

Andreas Ehret wrote: 31 May 2022, 17:17 Really looks like your javax class is not longer included in the JVM you are using. In this case you have to add the javax activation jar to your jnlp.
how do i add the javax activation jar to my jnlp

lspagnoli
Posts: 3
Joined: 29 May 2022, 13:33

Re: error generating xml files

Post by lspagnoli »

Janak Mulani wrote: 31 May 2022, 16:50 OWS is starting your application but your application is crashing because it cannot find an class javax.activation.DataHandler.

May be the JRE that was chosen to run the application does not have this class.

Please send the openwebstart log files by enabling logging as described here: https://openwebstart.com/docs/OWSGuide.html#_logging
as requested I send the logs
Attachments
stage2.log
(350.73 KiB) Downloaded 29 times
stage1.log
(78.86 KiB) Downloaded 37 times

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: error generating xml files

Post by Janak Mulani »

HI

Your Jnlp specifies JRE version "requested: JRE with version string '1.7+"

OWS finds adn uses "using java runtime at '/home/leonardo/.cache/icedtea-web/jvm-cache/adoptium_11.0.15_x64'"

Your application is using class javax.activation.DataHandler:

Code: Select all

it.finanze.entrate.sfe.xmlconverter.beanutils.exceptions.ConverterMapToXmlException: java.lang.NoClassDefFoundError: javax/activation/ DataHandler
This class is not present in the JRE 11. You need to specify JVM args in Jnlp file to add the appropriate module or find a library that has this class and include its jar in the jnlp.

Post Reply