Oxygen plugin upgrade issue
Having trouble installing and integrating Oxygen Feedback? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Tue Mar 25, 2025 4:14 pm
Oxygen plugin upgrade issue
Post by dchatterjee »
Hi, we are using Oxygen Editor 24.1 with JDK 1.8.0_181. We planned to upgrade Oxygen to latest version 27 with OpenJDK17U-Temurin_17.0.14_7. Based on the plugin project we do replace below directories with our artifact's
“frameworks/CSRTypesettingXMLEditingV2”,
“plugins\csr-workspace-accessV2\lib” and
“lib\endorsed”,
I have attached list of libraries which we are currently using. The issue is our customization calls a soap service to convert XML into PDF. but after upgrade it is not able to call the SOAP service. I am not also able to generate the log to see which library/class causing this issue.
I have erased the content from the screenshot as this data are secured and content is not the issue here.
It would be helpful if anyone can provide any lights on it.
“frameworks/CSRTypesettingXMLEditingV2”,
“plugins\csr-workspace-accessV2\lib” and
“lib\endorsed”,
I have attached list of libraries which we are currently using. The issue is our customization calls a soap service to convert XML into PDF. but after upgrade it is not able to call the SOAP service. I am not also able to generate the log to see which library/class causing this issue.
I have erased the content from the screenshot as this data are secured and content is not the issue here.
It would be helpful if anyone can provide any lights on it.
List of libraries.png
Oxygen_27_issue.png
Oxygen24_works.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen plugin upgrade issue
Hi,
I would strongly advise against adding jars to the "lib\endorsed" folder, what precise JAR libraries are you adding there? Frameworks and plugins are intended to come with their own JAR libraries which are used in their own class loaders. Adding JAR libraries in the Oxygen "lib\endorsed" folder also influences and might produce crashes or destabilize the main Oxygen application.
If you start Oxygen using the "oxygen.bat" executable script that you should find in the Oxygen installation folder and then invoke your action, do you get any kind of exception stack trace listed in the Command Prompt window? If so, what is it?
You mentioned you are not able to generate logging in Oxygen, Oxygen's core code uses the logback library for logging, there are details here about how to enable full logging in Oxygen using a "logback.xml" configuration file:
https://www.oxygenxml.com/doc/versions/ ... -form.html
Regards,
Radu
I would strongly advise against adding jars to the "lib\endorsed" folder, what precise JAR libraries are you adding there? Frameworks and plugins are intended to come with their own JAR libraries which are used in their own class loaders. Adding JAR libraries in the Oxygen "lib\endorsed" folder also influences and might produce crashes or destabilize the main Oxygen application.
If you start Oxygen using the "oxygen.bat" executable script that you should find in the Oxygen installation folder and then invoke your action, do you get any kind of exception stack trace listed in the Command Prompt window? If so, what is it?
You mentioned you are not able to generate logging in Oxygen, Oxygen's core code uses the logback library for logging, there are details here about how to enable full logging in Oxygen using a "logback.xml" configuration file:
https://www.oxygenxml.com/doc/versions/ ... -form.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Tue Mar 25, 2025 4:14 pm
Re: Oxygen plugin upgrade issue
Post by dchatterjee »
Thank you for your guidance! Let me follow the instruction. I will update you.
-
- Posts: 2
- Joined: Tue Mar 25, 2025 4:14 pm
Re: Oxygen plugin upgrade issue
Post by dchatterjee »
@Radu Please find my log4j.properties entry. But it is not creating the file. Log4j.properties reside in the following directory
C:\Users\<username>\AppData\Local\Programs\OxygenXMLEditor24\frameworks\tei\xml\tei\jtei_aux\trans. I wanted to test this first with the working Oxygen version. It would be helpful if you could advise the correct procedure to generate the log.
# ALL < DEBUG < INFO < WARN < ERROR < FATAL < OFF
log4j.rootCategory=ERROR, R
# R is the standard output
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%r %p [ %t ] %c - %m%n
log4j.appender.R.File=c:/logs/ERROR.log
#Define root logger options
log4j.rootLogger=DEBUG, file, console
#Define console appender
log4j.appender.console=org.apache.log4j.ConsoleAppender
logrj.appender.console.Target=c:/logs/System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %c{1} - %m%n
#Define rolling file appender
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=c:/logs/main.log
log4j.appender.file.Append=true
log4j.appender.file.ImmediateFlush=true
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %d{Z} [%t] %-5p (%F:%L) - %m%n
#Define loggers
log4j.logger.com.journaldev.log4j=WARN, file, console
log4j.logger.com.journaldev.log4j.logic=DEBUG, file, console
#setting additivity
log4j.additivity.com.journaldev.log4j=false
log4j.additivity.com.journaldev.log4j.logic=false
C:\Users\<username>\AppData\Local\Programs\OxygenXMLEditor24\frameworks\tei\xml\tei\jtei_aux\trans. I wanted to test this first with the working Oxygen version. It would be helpful if you could advise the correct procedure to generate the log.
# ALL < DEBUG < INFO < WARN < ERROR < FATAL < OFF
log4j.rootCategory=ERROR, R
# R is the standard output
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%r %p [ %t ] %c - %m%n
log4j.appender.R.File=c:/logs/ERROR.log
#Define root logger options
log4j.rootLogger=DEBUG, file, console
#Define console appender
log4j.appender.console=org.apache.log4j.ConsoleAppender
logrj.appender.console.Target=c:/logs/System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %c{1} - %m%n
#Define rolling file appender
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=c:/logs/main.log
log4j.appender.file.Append=true
log4j.appender.file.ImmediateFlush=true
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %d{Z} [%t] %-5p (%F:%L) - %m%n
#Define loggers
log4j.logger.com.journaldev.log4j=WARN, file, console
log4j.logger.com.journaldev.log4j.logic=DEBUG, file, console
#setting additivity
log4j.additivity.com.journaldev.log4j=false
log4j.additivity.com.journaldev.log4j.logic=false
Last edited by dchatterjee on Tue Apr 29, 2025 5:13 pm, edited 1 time in total.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen plugin upgrade issue
Hi,
As mentioned in our Oxygen 24.1 user's guide, the correct way to enable logging in Oxygen is by using a logback.xml configuration file placed directly in the Oxygen installation folder. Oxygen has stopped using the log4j libraries for quite a long time now (about 4-5 years).
https://www.oxygenxml.com/doc/versions/ ... -form.html
Also officially Oxygen 24 is in our end of life stage so we no longer provide any support for it, including technical support, bug fixes or security fixes:
https://www.oxygenxml.com/eol.html
Regards,
Radu
As mentioned in our Oxygen 24.1 user's guide, the correct way to enable logging in Oxygen is by using a logback.xml configuration file placed directly in the Oxygen installation folder. Oxygen has stopped using the log4j libraries for quite a long time now (about 4-5 years).
https://www.oxygenxml.com/doc/versions/ ... -form.html
Also officially Oxygen 24 is in our end of life stage so we no longer provide any support for it, including technical support, bug fixes or security fixes:
https://www.oxygenxml.com/eol.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service