WildFly datasource connection-properties - database-connection

I'm using WildFly 21.0.1-Final.
My problem is that I want to set a custom connection property for the Oracle driver. I am not able to do that using jboss-cli nor admin console web interface.
The default property is:
jboss-cli error:
Web app error:
I'm getting the error. It looks like the '$' sign is a problem .... ???
Appreciate any help! Thanks in advance )

Finally escaping $ sign with the back slash did the trick. But I should admit that this approach works only with jboss-cli and not with Web Management Console.
Thanks ehsavoie for giving me the hint.

Related

Klaviyo is unable to connect to Magento Server for OAuth Handshake

Quoting this answer: https://community.klaviyo.com/integrations-39/magento-2-4-1-integration-issue-2147?postid=7443#post7443
I have a question to "how to solve that?"
Because I am also facing a similar issue while integrating.
==ERROR MESSAGE==
We ran into an error
There was an error while integrating your Klaviyo account with Magento 2. Below are the details about your error
Klaviyo is unable to connect to Magento Server for OAuth Handshake.
Url tried was: None
Please ensure that both /oauth/token/request and /oauth/token/access
are accessible
So if you can help me, it will be very much useful.
Getting same above issue on Magento 2.4.2 with Klaviyo Integration.
Solution:
/vendor/magento/module-integration/Controller/Adminhtml/Integration/TokensExchange.php
use Magento\Framework\App\Action\HttpGetActionInterface;
class TokensExchange extends Integration implements
HttpPostActionInterface,HttpGetActionInterface
Added additional interface HttpGetActionInterface
Please override this file to local
https://github.com/magento/magento2/commit/68d20230ca9d6198fa3093eb174e24aff47b1646#comments
Actually there was no issues in the code or the module.
The problem was, I was using magento in localhost, so klaviyo was not able to connect it.
I moved to a public IP and removed the sub folder format in url, i.e., localhost/magento2 was my url. Changed it to work with localhost/
So now klaviyo is working.

Delphi 2010 Class TraCoreModule not found

When i run my application it tells me that "Class TraCoreModule not found". I tried to google witch class this is or where it comes from but no results.
Can anyone tell me what module this is or why i get this error please?
The application connects to a sql server database and updates a few fields.
It also uses ActiveX to send emails.
I am using Woll2Woll.
I wish i could provide more information but this is all i have.
I tried to locate the error in my code by printing debug messages in a memmo but this does not help.
So i figured out the issue. The TppReport was corrupted...

How to use swagger file locally?

Hi I have a swagger file written for my API and I could not test the paths of my API since I am getting: ERROR Server not found or an error occurred because my paths are all localhost, so how can i use swagger locally? thank you
I found a solution which is using the building from source way in swagger-editor
Assuming you are developing within Visual studio click the green play looking button to build & run your solution , a browser should now pop up. ignore whatever it comes up with and type localhost/swagger and it should provide you with the interface. Let me know what happens or if you require any assistance

SonarQube Service Starts, Runs and then Stops?

I have a Windows 2012 R2 server and I managed to install the SonarQube 5.4 server as a Windows Service. I also set up a user so the service can actually start without the infamous "It started then stopped" error a lot of people seem to get. Before installing the server as a windows service, I checked that it worked using StartSonar.bat and it did work just fine, so I was confident when I made it into a service.
But when I try to access http://localhost:9000 there is nothing there, and it appears that shortly after starting the service it stops without any message at all. I can't tell if this is because I try to access the site (which gives me ERR_EMPTY_RESPONSEin Google Chrome) or if it just closes down after a short while.
Anyone got any insight?
I'm a beginner. I came across the same issue and fixed it.
Ensure that the database is running.
My log file (located at sonarqube_home_dir/logs/sonar.log) included the following statement.
Caused by: org.h2.jdbc.JdbcSQLException: Wrong user name or password [28000-176]
Since I'm using the default database, I commented below lines
#sonar.jdbc.username=***
#sonar.jdbc.password=***
at sonarqube_home_dir/conf/sonar.properties.
This must happen due to many reasons like connection problems, permission problems so First, you have to see the logs. /sonarqube-7.6/logs$ tailf sonar.log. then you can find the reason. Once I had the same problem so I did like that. my error is something Directory does not exist: lib/jdbc/mysql
org.sonar.process.MessageException: Directory does not exist: lib/jdbc/mysql reason is I uninstall MySQL and remove all folders name contains "MySQL".
just check whether port 9001 already in used, stop it if already in used.

404 error when accessing Struts2 Web application

I had created a web application and committed the code in CVS. The web application is working good in my machine. When i tried to import the same code in another machine i am getting 404 error. I tried importing the code via ftp from my machine to another machine and also checking out the code from CVS. But still i get 404 error.
I also noticed that there is no error that had been captured in the console or in the application's log. Could someone help me in how to proceed further in identifying the issue. Please let me know if i need to post any further details regarding the issue.
I notice this issue to be in the Websphere server. I tried hosting the application in different machine and found that in few machine the same code is working good and some it is not. Is there any way to compare the server configuration?
In the WAS server 6.1 i added the below value in the web container and the application worked fine.
Steps:
In the server admin console, click on Application Server--> --> Web container--> custom properties.
Add the name as com.ibm.ws.webcontainer.invokefilterscompatibility and value as true.
Thank you all for the response.

Resources