jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Tech / everything · hot matching “java”

15 shown · updated 3s ago · read only
  1. Problems using JVM diagnostic tool on Tomcat 9 on Ubuntu: Is there a better solution? [closed] (stackoverflow.com)stack

    24 points by JillT in stackoverflow.com · 1h ago · stack

    I'm running a test instance of Tomcat 9 on Ubuntu 22:04, installed via apt, and using Open JDK 21. Most of the diagnostic tools in the JDK wouldn't work with the Tomcat instance. For example, with Tomcat running on PID 18369, this command: sudo jcmd 18369 VM.version fails with t…
  2. How to get audio.src to use a cached response instead of making a new network request? (stackoverflow.com)stack

    23 points by Gary in stackoverflow.com · 3h ago · stack

    When this function is called and the url_id is not in the cache, the messages are logged showing that it reached the code to fetch the data and wrote it to the cache, and it shows that the navigator.storage.estimate().usage increased—in my test case, by 20 MiB. After this, when…
  3. Apache Camel transaction rollback not working when JMS reply queue fails (stackoverflow.com)stack

    18 points by MMRahman in stackoverflow.com · 27d ago · stack

    I'm using Apache Camel with ActiveMQ to process messages in a transactional route. The route receives messages from a queue, performs a database operation, and then sends a response back to a temporary/reply queue. However, when the temporary queue is unavailable or lost during…
  4. Fixing deprecated SimpleMongoDbFactory to SimpleMongoClientDbFactory break Embedded Mongo tests (stackoverflow.com)stack

    10 points by Zejuho in stackoverflow.com · 6y ago · stack

    I work on a project which was extending SimpleMongoFactory to enable multi tenancy public class MultiTenantMongoFactory extends SimpleMongoDbFactory { After migrating from Spring boot 2.1.10 to 2.2.1 , we tried to fix deprecation warning by using recommended class SimpleMongoCli…
  5. gRPC connection: use keepAlive or idleTimeout? (stackoverflow.com)stack

    8 points by xialin in stackoverflow.com · 7y ago · stack

    Looking at gRPC Java doc - ManagedChannelBuilder, there're two options to manage the connections. It seems idleTimeout() is the default/preferred configuration. But when I tried to search for a comparison, most of the posts are talking about keepAlive option. I'm curious about w…
  6. AOS (animate on scroll) library not working when selecting elements to animate with jQuery (stackoverflow.com)stack

    7 points by charlesFromSoCal in stackoverflow.com · 7y ago · stack

    I'm trying to animate H1 elements for many pages using AOS (animate on scroll). I have several pages that use the title so I'm selecting all the titles with jQuery. If I type in the attributes manually in each title it works, but not when adding them through jQuery. I have selec…
  7. Retrieve data from database using ajax (stackoverflow.com)stack

    6 points by aan in stackoverflow.com · 8y ago · stack

    I want to get data from database by using ajax. The data will be fetched by choosing the drop down option and click the search button and data will show up in the table. I've written the proper query and it runs very well. All I want is just show the data from database to the ta…
    filed under javascriptphpajax
  8. How can I detect back navigation on the client? (stackoverflow.com)stack

    3 points by Jordan in stackoverflow.com · 11y ago · stack

    Please Note: I am not trying to detect that the back button was clicked. I don't care about that. I just want to know that they page was loaded on a back navigation. I want to display a warning to my user in one place of my application if they click the back button advising them…
    filed under javascriptjquery
  9. PayPal REST API - Sandbox returning 401 for API requests but successful access token (stackoverflow.com)stack

    2 points by Magna in stackoverflow.com · 13y ago · stack

    I am using the PayPal REST API in Java to make a request to the testing (sandbox) servers for an access token, which succeeds, and then sending that access token back to the same sandbox servers for a Payment which fails with a 401 Not Authorized. I followed the PayPal REST API…