Status : Failure -Test failed: no ocijdbc21 in java.library.path: - oracle

Failure -Test failed: no ocijdbc21 in java.library.path: [/Users/MY NAME/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
I am using oracle 21.4.3.063 version and keep getting this error message.
I also went to preference-DataBase-Advanced and check "use oracle client" as what other said, but it doesn't work.
Can anyone help me with this issue?

Related

oracle export failed due to unable to close dump file

The export is failing due to below error
ORA-31693: Table data object "x"."x_t" failed to load/unload and is being skipped due to error:
ORA-31643: unable to close dump file ""
Anyone has knowledge regarding this issue, please help out

Corda Node H2 illegal State Exception

we are having an issue in one of our corda nodes, everytime we try to restart we see following error:
[1;31mE 08:18:33-0400 [Node thread-1] spi.SqlExceptionHelper.logExceptions - General error: "java.lang.IllegalStateException: This store is closed
Additinoally if I tried to access to node H2 DB in Internet Explorer I get this error message: 90047BVersion mismatch, driver version is "0" but server version is "16"ÿÿÿÿ_¿\org.h2.jdbc.JdbcSQLException: Version mismatch, driver version is "0" but server version is "16" [90047-194] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:179) at org.h2.server.TcpServerThread.run(TcpServerThread.java:89) at java.lang.Thread.run(Unknown Source)
Any idea about rca of this issue?
Thanks!!
Javier
I just tried to run this queryableState CorDapp samples. The H2 database seems working fine.
I would suggest you check your log to see if there is any error message during the deployNodes process. Just in case, there is something wrong with the java environment.

Sonarqube : The 'report' parameter is missing

I am using MSBuild. I have Java 8 installed.
I am running the following commands:
SonarQube.Scanner.MSBuild.exe begin /k:"ABC" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="8b839xxxxxxxxxxxxxxxxxxxxxxx6b00125bf92" /d:sonar.verbose=true
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe" /t:rebuild
SonarQube.Scanner.MSBuild.exe end /d:sonar.login="8b839xxxxxxxxxxxxxxxxxxxxxxx6b00125bf92"
The last step fails:
ERROR: Error during SonarQube Scanner execution
ERROR: The 'report' parameter is missing
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
The SonarQube Scanner did not complete successfully
12:53:21.909 Creating a summary markdown file...
12:53:21.918 Post-processing failed. Exit code: 1
The MSBuild version is greater than 14.
Java 8 is properly installed. Documentation indicates that Java 8 is adequate.
Any idea on what could be wrong?
Where do I add the -X switch? I tried on all 3 statements
Update :I installed Java SDK 9. Still same issue.
Update :With verbose logging and using /n naming parameter:
INFO: Analysis report generated in 992ms, dir size=4 MB
INFO: Analysis reports compressed in 549ms, zip size=1 MB
INFO: Analysis report generated in C:\ABC\.sonarqube\out\.sonar\scanner-report
DEBUG: Upload report
DEBUG: POST 400 http://localhost:9000/api/ce/submit?projectKey=ABC | time=1023ms
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 54.833s
INFO: Final Memory: 51M/170M
INFO: ------------------------------------------------------------------------
DEBUG: Execution getVersion
DEBUG: Execution stop
ERROR: Error during SonarQube Scanner execution
ERROR: The 'report' parameter is missing
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
Process returned exit code 1
The SonarQube Scanner did not complete successfully
Creating a summary markdown file...
Post-processing failed. Exit code: 1
I've struggled the same problem with SonarQube and I've finally found a solution:
You need to restart sonar service after using evaluation token.
Please note this isn't the answer, however I feel this feedback is valuable to getting this question answered.
I can reproduce this issue in POSTMan with a POST request to:
http://localhost:9000/api/ce/submit?projectKey=myProjectKey
This returns
{
"errors": [
{
"msg": "The 'report' parameter is missing"
}
]
}
You can get a similar error by removing the projectKey query parameter. I tried adding a report query parameter and received the same error:
http://localhost:9000/api/ce/submit?projectKey=brian3016&report=report
Given this, I feel there is a problem with their code. It should have included a report parameter when creating the POST request, but it failed to do so.
Verbose output seems to have changed from using the -X switch to /d:sonar.verbose=true. E.G.
SonarScanner.MSBuild.exe begin /k:"myProjectKey" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="myLogin" /d:sonar.verbose=true
Note the verbose logging didn't give me any valuable insight.
(Also note that the documentation currently says to use SonarQube.Scanner.MSBuild.exe, but the verbose logger told me to switch to SonarScanner.MSBuild.exe)
SO...how we we report this issue to someone that can fix it? Their documentation says to go to Stackoverflow. So here we are.
I thought it may have been an issue with a project. So I created a new project with nothing other than the startup template Console Application. Same error.
In my case SonarQube 7.9.1 (deployed with Helm to Kubernetes cluster) was missing temp directory /opt/sonarqube/temp/tc/work/Tomcat/localhost/ROOT after Helm rollback. No idea what happened to it.
Logfile /opt/sonarqube/logs/web.log inside SonarQube pod had this error:
2021.02.02 06:57:03 WARN web[AXdZ6l6MParQCncJACv3][o.s.s.w.ServletRequest] Can't read file part for parameter report
java.io.IOException: The temporary upload location [/opt/sonarqube/temp/tc/work/Tomcat/localhost/ROOT] is not valid
The fix was to exec into pod and create the missing directory. Would like to know the reason though...
The issue is with the sonar service starting up.
First try to stop the SonarStart.bat by using Ctrl+c, and then try to open localhost:9000 ( or whichever port you configured sonar server).
If it is still opening then go to task manager and search for wrapper.exe service and stop the service. If no service is found then go to:
Task manager>Details> and stop all java.exe process.
Note: If you running many Java applications, right-click the java.exe and choose goto service, and stop only those java.exe that belongs to AppX deployment.services
Now start sonarstart.bat as administrator..
today i face the same error when using jenkins to scanner the code.
get the error when POST /api/ce/submit and get 400 code by add the sonar.verbose=true
i use the below step to check reason
first to restart the sonarqube => failed
check the report file size by using "du -sh" get 108m and DB server support 1G => failed
login the sonar-qube server and check the access.log, web.log and another log, finally find the error reason " Processing of multipart/form-data request failed. No space left on device", so i check the server by command "df -h", some devices are used 100% => so i remove some no-using file and fix it!!!
check if you have enough memory
ex: free -m
In my case I had to upgrade memory.

Vertica admintools error

when I try to connect to database from admintools I am getting following error:
Error: Unable to connect to database
Hint: Username or password could be invalid
I have found in the logs following error:
Apr 20 08:08:29 [24291] [vsql.connect spawn] Exception: Error! pty.fork() failed: out of pty devices
Do you know what is the problem?
Your node might be down
Check logs at
/opt/vertica/log
or at
/opt/vertica/config/admintools.conf
check restart policy section is right
[Database:mydb] host = 11.11.11.11
restartpolicy = ksafe

ISDEV fatal error 6032 Internal build error

i am using IS2008, Windows XP and VS2010. everything was ok until two weeks ago but something happened and everything changed.
I have been having "ISDEV fatal error 6032 Internal build error" errors recently. I have checked all website but i could not get any answers about this problem. I have no idea why this is happening, I was thinking that my InstallShield had expired, however I did not get any warning message while IS executes.
I am sending logs above,
[exec] Embedding manifest SetupExe.Invoker.manifest into setup.exe
[exec] **ISDEV : fatal error -6032: Internal build error**
[exec] Installers\Release 2 - 1 error(s), 0 warning(s)
[exec] Log file has been created: <file:D:\OutpuT\EnterpriseClient\Release\Installers\Release 2\LogFiles\3-1-2013 10-32-00 AM.txt>
======
and this is CMD error message:
[exec] Result: -1073741819
[exec] Result: 1
BUILD FAILED
D:\...\build.xml:26: Following error occured while executing this line
D:\...\build.xml:56: Following error occured while executing this line
D:\...\InstallShield\build.xml:39: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:7: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:107: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:704: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:792: Warning: Could not find file D:\...\OutpuT\EnterpriseClient\Release\Installers\Release 2\DiskImages\DISK1\1028.mst to copy.
Total time: 244 minutes 43 seconds
cmake.pl failed with error : 1
I would be happy if someone could share a solution.
this problem has been resolved,
i could not find anything wrong on my code or on my enviroment then, i decided deactivate our anti virus program (trend micro). i think trend did not let me to access some paths.
fortunately everything looks ok.

Resources