Roland Mueller

+ Follow
since Oct 28, 2011
Roland likes ...
Android Python Oracle Postgres Database Java Linux
Merit badge: grant badges
Forum Moderator
Roland Mueller currently moderates these forums:
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt Green check

Recent posts by Roland Mueller

Ivan Jozsef Balazs wrote:"I was studying Humanistics: History, Hungarian,"

The three great H's !
Nice és üdvözlet!

Köszönöm szépen ! Thank you!
2 months ago
The GET request "GET /badging/badge_print_v0.php?tpl=../../." is related to following vulnerability

One example  that is quite close to your error log row is documented here:

The basic approach of the attack is to access some file outside the document root by providing a path traversal using parent directory strings "..".
2 months ago

Wim Deblauwe wrote:

I think that is not really true. With microservices, you usually have a backend-for-frontend (BFF) that orchestrates the calls to the other microservices and prepares the JSON in an easy-to-use format for the Single Page Application. If you do server-side rendering, the BFF itself could be the server-side renderer in a microservices architecture.

Does this imply that htmx does not make use of any kind of Ajax or XMLHttpRequest ? Thus, is server-side rendering the only option to update a page?

Best Regards,
2 months ago

Joel Murach wrote:Hi Roberto,

It seems like your question is about the learning curve from the sqlplus CLI compared to the MySQL Workbench GUI. If I'm right about that, I don't think there will be much of a learning curve for you at all as I think Workbench is probably a lot easier to use than sqlplus. Also, for basic queries, I don't think you'll have much trouble switching from Oracle SQL to MySQL. They're pretty similar, in my opinion.

sqlplus is quite an ancient piece of SW ... It lacks many modern CLI environment features just to name command history. It's usability is far behind similar tools for MySQL/MariaDB (mysql/mariadb) and PostgreSQL (psql).

For working with Oracle DB one can use other tools from Oracle such as SQLDeveloper or SQLCLI. SQLDeveloper is an IDE-kind of program.

SQLcl a command line tool wrtten in Java and is to a high degree compatible to the command set of sqlplus. However, it supports many additional features such as history, better output formatting etc.
Hello and Welcome to the Coderanch!

For making your problem with upgrade to Struts 6 visible you should give more information about the error and post all relevant error message(s) from the logs here. This may shed more light on the reason why execute() method was not found.
3 months ago
The port for http (=80) and https (=443) are not open for access from internet. Probably, there is a firewall preventing access.

If your purpose is to establish a web service that can be accessed publicly you should:
  • not expose the JavaWeb or JavaEE server Wildfly directly to the internet
  • use a reverse proxy like nginx (I remember you are asking something in another post) that forwards HTTPS requests to the Wildfly server
  • HTTP requests should be redirected to HTTPS by nginx  

  • 3 months ago
    And I forgot to mention: there should be entries in the logs.

    3 months ago
    I can see one potential problem:

    Isn't the location for / is already configured in one of the configuration files under this folder?

    In addition in installations of nginx I saw the configuration subdirectory is /etc/nginx/conf.d instead of /etc/nginx/default.d.

    3 months ago
    Hello Per and Welcome to Coderanch!

    Can you share a kind of benchmark that shows the performance degrade in newer groovy versions?  It's impossible to comment on something behaviour of proprietary code.

    And searching for "groovy performance" did not reveal any finding for the problem you mentioned (except this Coderanch post)
    4 months ago
    First of all I think YAML code should be formatted. Otherwise it's nearly unreadable. I noticed your question already some days ago but found an answer only after copy&pasting the code to an editor supporting YAML.

    The SW running the Coderanch site does not support YAML but formatting as text makes the it already easy to understand and preserves whitespace.

    My findings are:
    In task "Set permissions for initialization files in user home directories"  the register directive must be after the loop. Otherwise Ansible thinks its should be a parameter of find

    The task "Correct file permissions" then works with or without the when condition. The when can be omitted. In case there are no matched files the action indie the loop is simply not carried out.

    My test dir '{{ SLASH_HOME}}' after test run. permisions of the .a files that are directly under their home dir are changed, but other files not.

    4 months ago
    Living in Finland and working for a bigger telecom supplier (you may know it: name.startsWith("N") && name.endsWith("okia") :-) ) already since 1996.
    Except my work life I am happy to be part of our family - my wife, our children + partners and grandchildren.

    During my work life in IT I had the opportunity to do and learn quite a bunch of things, even without ever changing my employee.
    This is definitely bad for CV, but I am already too old to care about.

    In my former life - still in my home country Germany - I was studying Humanistics: History, Hungarian, Russian and some Finnish.
    This turned out not to feed me and so - after moving ot Finland - I studied CS in Finland beside working as teacher for German.

    As result I received my master degree in Computer Science from the University of Tampere, and also managed to start my current job.

    IT-related things and skills I learned on job and/or outside the work:

  • scripting languages such as Bash, Perl or Python
  • "real" programming in C++, Java
  • setting up web servers using Apache, nginx or JavaWeb servers
  • dealing with obscure things such as XML, JSon and Yaml
  • working with version control systems: git, SVN, CSV and RCS (latter was my starting task)
  • databases: Oracle, PostgreSQL, MySQL
  • Unix and Linux, but also Windows. Usage of latter cannot be avoided in bigger enterprises.

  • I received now already expired cerfications for SCJP Java 1.4 and 1.6  in 2005 (?) and 2011, SCWCD for JavaWeb in 2011 and RHCSA for RHEL in 2017 .

    Last not least: end of Dec. 2023 I was nominated as Ranch Foreman in Coderanch.
    4 months ago
    Second trial to check whether I got your point:

    Parsing of HTML code has been already done by JavaScript. Instead you could retrieve the first element of given class by using  getElementsByClassName() and then loop through its children.
    In my code - that's just a starting point - I just print out the HTML tagName and the text content of the element.

    Example code from OP's post:

    Output I see in Firefox console:

    Welcome to Coderanch!

    As following site demonstrates there is a HTML property named innerHTML that can be used to retrieve or set the content of some element in DOM tree.

    In your case you would get the DOM element with id "player1" and replace its content with the code defining a video player.

    It's quite hard to say what happened when you don't include the error message(s) you got  when running the code with explicit package declarations.

    It's hard to guess what went wrong - especially when the link in Google Drive is not readable. When you have an error related to  package definition it may be that the source code is not placed into directories according to the package name.

    Here I am using plain javac and java - in real life a build tool such as Maven should be used, but that's another story.

    Code for class A in package com.example should the be put into the directory :

    Then you can compile:

    ... and execute the class:

    6 months ago
    The same topic has been discussed 10 years ago

    As result two proposals were made:

    (1) Handling of ORA-08177 by re-trying the transaction

    The only cure for the ORA-08177 error is to rollback changes and re-run the entire business transaction. If there are no update collision on the next run, the transaction will finish.

    (2) Adding ROWDEPENDENCIES to table in Oracle DB

    This causes that the version of data in DB i.e. socalled System Change Number (SCN)  is handled on row level instead of table level (default). See also
    Donald Burleson "Oracle rowdependencies tips"

    I guess doing this show decrease performance since more effort is needed to update data and do the additional checks.
    6 months ago