How to use log4j 2 logger in java application with RXOP
Incident Properties
Question
Hi RiDP support,
My java application use RXOP to deploy app and set/get device config.
I create log4j2.xml file with this content:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn" name="A" packages="">
<Appenders>
<File name="a" fileName="..\Logs\a.log">
<PatternLayout>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
</PatternLayout>
</File>
<Async name="Async">
<AppenderRef ref="a"/>
</Async>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Async"/>
</Root>
</Loggers>
</Configuration>
I put log4j2.xml in a folder where rxop jar files and log4j-api, log4j-core are located.
I use these snippet code
RicohJavaDevice.setUseLogging(true);
RicohJavaDevice.setWorkPath(logFolder);
rDevice.setLogLevel(Level.DEBUG);
SPManager.setUseLogging(true);
SPManager.setWorkPath(logFolder);
spManager.setLogLevel(Level.DEBUG);
Logs of RicohJavaDevice are wrote to Logs\a.log instead of Logs\rxinst\10.180.40.186\log\2024-08-12.log file.
Logs\rxinst\10.180.40.186\log\2024-08-12.log file is empty.
Logs\rxsp\10.180.40.186\log\2024-08-12.log file has content.
Why Logs\rxinst\10.180.40.186\log\2024-08-12.log file is empty. RicohJavaDevice logs did not work as SPManager logs.
I would like my java application logs are wrote to Logs\a.log and RicohJavaDevice logs still are wrote to Logs\rxinst\10.180.40.186\log\2024-08-12.log.
Please advise.
Thanks.
ACL File V2
Incident Properties
Question
Requesting a ACL File V2. Have created the following text document from the ACL text script. Please let me know if anything else is needed.
ERROR - install -- STATE_INSTALL_ERROR ERR_SOP_APK_COMPONENT_ERROR :: Apk component error. :: :: ::
Incident Properties
Question
Hi RiDP support,
We use RXOP to deploy application to the device.
We got ERROR - install -- STATE_INSTALL_ERROR ERR_SOP_APK_COMPONENT_ERROR :: Apk component error. :: :: ::
We attached machine log, rxinst log.
Please advise.
Thanks.
ServiceProgram.USER_AUTHENTICATION_MANAGEMENT) is not set in IM C4510 device
Incident Properties
Question
Hi Support Team,
We use RXOP to deploy application to IM C4510 device.
When installing we have to set ServiceProgram.USER_AUTHENTICATION_MANAGEMENT to value 4
When uninstalling we set ServiceProgram.USER_AUTHENTICATION_MANAGEMENT to default value 0
But after uninstalling we check in device by WIM. User Authentication Management still show Custom Authentication (not default value). (UserAuthenticationManagement.png)
Device has Firmware 1.08.1
Enable or Disable FAR (Flexible Admin Roles), the issue has remained.
We attached machine log, rxop log.
Start Time: 2024-07-17 20:23:41
Are there any thing changes in settings of new M C4510 device?
Please advise.
Thanks.
Error ricoh.rxop.rxcommon.RxopException: -- init -- Device not reachable. when using RXOP to install applicaiton on IM 370 device.
Incident Properties
Question
Hi Ricoh Support,
When the customer using our Application (use RXOP) to deploy application to IM 370 device.
They got this error:
[10.21.36.250] Product 1711276041. Failed. ricoh.rxop.rxcommon.RxopException: -- init -- Device not reachable.
at ricoh.rxop.rxinst.RicohJavaDevice.h(RicohJavaDevice.java)
at ricoh.rxop.rxinst.RicohJavaDevice.e(RicohJavaDevice.java)
at ricoh.rxop.rxinst.RicohJavaDevice.access$000(RicohJavaDevice.java)
at ricoh.rxop.rxinst.al.run(al.java)
at ricoh.rxop.rxinst.bB.run(bB.java)
at java.lang.Thread.run(Thread.java:750)
Caused by: ricoh.rxop.rxinst.f: HTTP Exception, status 404 404
at ricoh.rxop.rxinst.RicohJavaDevice.e(RicohJavaDevice.java)
at ricoh.rxop.rxinst.RicohJavaDevice.i(RicohJavaDevice.java)
... 6 more
we attached rxinst log and machine log.
We can install application to other devices on the same environment.
Please advise.
Thanks.
How much times do we need to reboot device when install/uninstall/set settings?
Incident Properties
Question
Hi RiDP support,
We would like to ask How much times do we need to reboot device when install/uninstall/set settings?
Currently RXOP 3.8.9 require how many reboot times?
In the future do you have any plan to reduce reboot times when install/uninstall/set settings?
Thanks.
Please re package rxop 3.8.9
Incident Properties
Question
Hi RiDP support,
In these tickets: Question about rxspServlet version in RXOP Java Library v3.8.9 | Ricoh Developer Program (RiDP) (ricoh-ridp.com)
and RXSPSERVLET Error IN RXOP JAVA LIBRARY V3.8.9 | Ricoh Developer Program (RiDP) (ricoh-ridp.com)
We have package issue with rxspservlet 3.8.9 and rxconfServlet 3.8.9.
workaround is using rxspservlet 3.8.8 and rxconfServlet 3.8.8.It works but it causes confusion.
We would like to identify why rxspservlet 3.8.9 and rxconfservlet of 3.8.9 has issue.
And we would like to know when the new RXOP 3.8.9 with fixed rxsp servlet 3.8.9 and rxconfservlet 3.8.9?
Thanks.
The exception when call https://10.144.201.54:51443/dsdk/StartServlet, javax.net.ssl.SSLHandshakeException: DH ServerKeyExchange does not comply to algorithm constraints
Incident Properties
Question
Hi RiDP support,
We got this error when using RXOP to start rxspservlet (status rxspservlet is not running)
The exception when call https://10.144.201.54:51443/dsdk/StartServlet, javax.net.ssl.SSLHandshakeException: DH ServerKeyExchange does not comply to algorithm constraints
Device: MP 2501
We attached rxinst, rxsp.
We tried to get machine log but got 404 not found when accessing to get machine log page.
Please advise.
Thanks.
Authentication failed during app deployment
Incident Properties
Question
Hello,
A customer is encountering an issue when trying to deploy our pull print and authentication applications using our deployment utility with RXOP.
When they attempt the deployment, they are getting the following error from our deployment log:
22 Feb 2024 10:53:00 MRDP0012D APPLICATION - ID(1711276132) NAME(App Manager) VERSION(1.4.10) INSTALLING
22 Feb 2024 10:53:01 MRDP6006E EXCEPTION OCCURRED DURING RICOH APPLICATION DEPLOYMENT - -- install -- Authentication failed.
I am attaching the full deployment log, the rxinst/rxsp logs, and the device tracelog.
After this fails, they reboot the printer and try the deployment again and it works without an issue. According to the customer, this is reproducible across several different devices.
The customer and the Ricoh technician on-site claim the firmware (System/Copy and SOP) are fully up-to-date. Can this be confirmed?
I didn't see much detail in the deployment logs. In the device tracelog, around the time 11:03:20.650, I start seeing a lot of exception messages (503 Service Unavailable). Any ideas what these are pointing to?
Regards
Bryan
rxop/rxinst plugin installation failures with streamline
Incident Properties
Question
We have a Java application that uses rxop/rxinst to install our rf IDEAS Reader Plugin apk. We're going through the compatibility testing process with Ricoh North America and are running into issues installing our plugin on MFPs that are running Streamline. We've never see this error when installing our plugin onto MFPs that do not have Streamline already installed. I'm including the rxinst logs at DEBUG level, you can see the error at the end of the log file as well as the attached screen shot:
The attached logs are from a IM C530FB device running SLNX 3.7
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - ---- InstallServletResponse ----
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - name: /rws/sop/dsdk/InstallServlet
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - result: false
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - errorCode: 9000
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - message: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /mnt/ramdisk/jp.co.ricoh.advop.riservice/inst/202402020010848/upload_edbb6815_917a_4af4_8145_27672a28654b_00000001.tmp: open failed: ESTALE (Stale NFS file handle)
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - sasErrNumber:
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - sasErrMsg:
[rxinst-10.77.2.166-800597923][2024-02-02 12:15:30] DEBUG - errInfo:
We need to understand the process for installing plugins on devices running Streamline.