Thomas and Priyanka,
On 3/7/22 14:23, Thomas Hoffmann (Speed4Trade GmbH) wrote:
it looks like your application is using a DB2 database.
The file libdb2.so is related to the JDBC-driver.
Please check the location of that shared-object and verify that the path is
listed in the LD_LIBRARY_PATH environment variable.
>
It seems that Java can't find the file in the LD_LIBRARY_PATH.
+1
I would further highly recommend that Priyanka use a JDBC Type 4[1]
driver, which does not require any native libraries.
Native libraries can be a pain because thy have specific rules about
where they must be installed (e.g. LD_LIBRARY_PATH), they can only be
loaded a single time for an entire JVM instance, and if there is an
error in the drive, your whole JVM goes down instead of just throwing an
exception and causing one request, etc. to fail.
-chris
[1]
https://en.wikipedia.org/wiki/JDBC_driver#Type_4_driver_%E2%80%93_Database-Protocol_driver/Thin_Driver(Pure_Java_driver)
________________________________
Von: Kumawat, Priyanka <priyanka.kuma...@dxc.com>
Gesendet: Montag, 7. März 2022 19:48
An: Tomcat Users List
Betreff: Tomcat - Error
Hello Team ,
We are getting the below error on the tomcat Catalina .out logs , needed your
help as is there any lib file corrupted , can you please help us on this error
- this has occurred on production env.
WsUtils(getUserName)-> authentication is
[org.springframework.security.authentication.UsernamePasswordAuthenticationToken@7b116622:
Principal: websvcasc; Cre
dentials: [PROTECTED]; Authenticated: false; Details: null; Not granted any
authorities].
WsUtils(getUserName)-> userName is [websvcasc].
WsUtils(getUserName)-> Exit.
[Ljava.lang.StackTraceElement;@211dde1c
/cgi/sales_ws_rules_engine: error while loading shared libraries: libdb2.so.1:
cannot open shared object file: No such file or directory
ThqUserDetailsService(loadUserByUsername)-> username [audramassie] authorities
[[ROLE_Dealer, ROLE_USER]].
2022-03-07 12:18:19,935 WARN
org.springframework.security.authentication.event.LoggerListener:67 -
Authentication event InteractiveAuthenticationSuccessEven
t: audramassie; details: null
(getGywUserMask)-> GYW usermask is all 'N's
isAuthorized-> success
ThqWsAuthenticationManager(authenticate)-> Entry.
Thanks & Regards,
Priyanka Kumawat | Middleware Admin
T +91.7879364483
EMail - priyanka.kuma...@dxc.com<mailto:priyanka.kuma...@dxc.com>
DL -
ams-leveraged-webadmin-offsh...@dxc.com<mailto:ams-leveraged-webadmin-offsh...@dxc.com>
DXC Technology
DXC Technology Company -- This message is transmitted to you by or on behalf of
DXC Technology Company or one of its affiliates. It is intended exclusively for
the addressee. The substance of this message, along with any attachments, may
contain proprietary, confidential or privileged information or information that
is otherwise legally exempt from disclosure. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient
of this message, you are not authorized to read, print, retain, copy or
disseminate any part of this message. If you have received this message in
error, please destroy and delete all copies and notify the sender by return
e-mail. Regardless of content, this e-mail shall not operate to bind DXC
Technology Company or any of its affiliates to any order or other contract
unless pursuant to explicit written agreement or government initiative
expressly permitting the use of e-mail for such purpose.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org