Artifactory Failed to export , Binary provider has no content - binary

When trying to backup or export the JFrog Artifactory, the backup folder is created.
But the System log shows multiple errors like:
2019-12-23 17:31:07,026 [art-exec-5] [ERROR] (o.a.r.d.i.DbExportBase:123) - Failed to export '/data/backups/20191223.172751.tmp/repositories/repo1.maven.org-cache/org/apache/httpcomponents/project/7/project-7.pom' due to:Binary provider has no content for 'c486760d8e0eafe8d4932450e386c2805364f782': Binary provider has no content for 'c486760d8e0eafe8d4932450e386c2805364f782'

This error is printed when the actual binary file is missing from the Artifactory storage location (by default, $ARTIFACTORY_HOME/data/filestore/). You shouldn't be able to download the same artifact (repo1.maven.org-cache/org/apache/httpcomponents/project/7/project-7.pom) as well ad the actual content is missing. This however shouldn't fail the backup of the repository/system, it just an error message indicates that the content of this artifact does not exist.

Related

SSIS complains about access rights when path use æøå characters

So, I have a SSIS package, which is supposed to write a file to "..\Prod\OUT\Markedsføringslisten".
However, SSIS fails, citing access rights:
[SSIS.Pipeline] Error: Flat File Destination failed the pre-execute phase and returned error code 0xC020200E.
[Flat File Destination [2]] Error: Cannot open the datafile "..\prod\Out\Markedsføringslisten\AL_Erhverv_Markedsføringslisten_2021_12_06.csv".
[Flat File Destination [2]] Warning: Access is denied.
However, If I change the path to:
"...\Prod\OUT\Markedsfoeringslisten" (ø = oe) then everything works just fine, meaning that it shouldn't really be an access issue with the subfolder. We need to keep using the same name, however, as other solutions are expecting files from: "..\Prod\OUT\Markedsføringslisten".
The package is being build in SSIS 2017. An older variant of the package, built in 2013, works just fine. I can't see any immediate difference between the two connections, but feel free to ask for additional information if you feel it could help.

Getting an error Unable to locate appender "jmeter-log" for logger config "root" while running and creating the html dashboard for my jmeter scripts

I am trying to create Jmeter HTML report through CSV with the help of command but getting below error in my CMD. Please help me what i need to change or enhance for getting the reults
2020-07-23 16:47:20,385 main ERROR Null object returned for File in Appenders.
2020-07-23 16:47:20,409 main ERROR Unable to locate appender "jmeter-log" for logger config "root"
An error occurred: Cannot read test results file : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
errorlevel=1
Press any key to continue . . .
The main problem is Cannot read test results file and it occurs when you point JMeter to not-existing file or the file cannot be read (you don't have permissions to open the file in that location)
The other problem is with JMeter logging configuration, either your log4j2.xml file is broken or again you don't have proper read/write permissions to the folder where JMeter is installed. Try running the terminal with elevated rights and both should go away
I solved this problem by installing the latest version of Jmeter, 5.3. After that, no more logging/summarizer errors.

Play TypeSafe Activator fails to start - IllegalArgumentException "Failed to download new template catalog properties"

Moving from play 2.2.x to latest activator last night. Downloaded minimal 1.2.10, extracted it in program file (x86)\typesafe... and put the directory into the system path variable. cloned my repository, and when i executed activator run it downloaded the required modules and my app is up and running. All great so far. run works!
Then I tried to create a new app, and activator fails, with the following trace:
Checking for a newer version of Activator (current version 1.2.10)...
... our current version 1.2.10 looks like the latest.
Found previous process id: 9632
FOUND REPO = activator-local # file:////C:/Program%20Files%20(x86)/Typesafe/activator-1.2.10-minimal/repository
Play server process ID is 9760
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /127.0.0.1:8888
[info] a.e.s.Slf4jLogger - Slf4jLogger started
[WARN] [10/30/2014 10:47:13.972] [default-akka.actor.default-dispatcher-2] [ActorSystem(default)] Failed to download new template ca
talog properties: java.lang.IllegalArgumentException: requirement failed: Source file 'C:\Users\admin\.activator\1.2.10\templates\in
dex.db_6e0565f0c8826b17.tmp' is a directory.
[ERROR] [10/30/2014 10:47:13.972] [default-akka.actor.default-dispatcher-2] [akka://default/user/template-cache] Could not find a te
mplate catalog. (activator.templates.repository.RepositoryException: We don't have C:\Users\admin\.activator\1.2.10\templates\cache.
properties with an index hash in it, even though we should have downloaded one
activator.templates.repository.RepositoryException: We don't have C:\Users\admin\.activator\1.2.10\templates\cache.properties with a
n index hash in it, even though we should have downloaded one
at activator.cache.TemplateCacheActor.preStart(TemplateCacheActor.scala:184)
at akka.actor.Actor$class.aroundPreStart(Actor.scala:470)
at activator.cache.TemplateCacheActor.aroundPreStart(TemplateCacheActor.scala:25)
at akka.actor.ActorCell.create(ActorCell.scala:580)
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456)
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478)
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263)
at akka.dispatch.Mailbox.run(Mailbox.scala:219)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
I've taken a look at several similar issues on SO and elsewhere. I've deleted .activator directory and retried, I've tried this process from behind a proxy and not, as well as offline (surely offline should work!), but it consistently gives the above error. activator ui gives the same error. I'm stuck and any suggestions would be appreciated. (Edit. tried with full activator download, rather than minimal, and I get the same error.)
Look for reasons it might be impossible to create or access 'C:\Users\admin.activator\1.2.10\templates\in
dex.db_6e0565f0c8826b17.tmp' ... maybe a permissions issue?
The failed check is for "is a directory" but that also fails if it just doesn't exist or can't be accessed.

Unable to schedule an ssis package WHICH RETRIEVES data from MYSQL

I've created an SSIS PACKAGE on machine X to retrieve data from MYSQL DB Query from machine Y and write to an SQLSERVER Destination Table which is on machine Z(compulsions since I am unable to connect to mysql from Z and X is the only machine which has navicat).
The package runs to the T when run manually and I'm trying to schedule it on machine X for Z's DB .I've created the xml configuration file and placed it on Z since the process runs on Z's DB.and the job fails when executing as a scheduled Job.
I've added passwords to the config file as they don't save automatically.
I suppose it's due to different machines being used(Package on X running on Z's DB and config file on Z).
Here's the error:
Failed to open package file "D:\CSMS\SSIS\Random\Random\MySQlDBtoDWH11DataTransfer.dtsx" due to error 0x80070015 "The device is not ready." This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. End Error Could not load package "D:\CSMS\SSIS\Random\Random\MySQlDBtoDWH11DataTransfer.dtsx" because of error 0xC0011002. Description: Failed to open package file "D:\CSMS\SSIS\Random\Random\MySQlDBtoDWH11DataTransfer.dtsx" due to error 0x80070015 "The device is not ready." This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
Unable to understand where I'm failing!
Are you using Direct configuration or using Indirect( in which your xml config file path is saved in Environmental variable?
IF you are using Direct configuration, you need to make sure your both machines have the same folder structure which is saved in package.
If you are using Environment variable to point to configuration file. Make sure you have changed the value of variable according to machines and folders where your configuration file is.
To close this question,I've scheduled it to run from a batch file and the process is running fine.

Why isn't findbugs_result.xml generated?

I installed jenkins 1.452 and findbugs 4.34, when after building and invoking findbugs, findbugs_result.xml isn't generate so findbugs report isn't generated neither. Below message is out:
[FINDBUGS] Collecting findbugs analysis files...
Finished: SUCCESS
Normaly findbugs is supposed to generate result.xml and parse it out to many warnings so that we could see many warning or progress message in the output console. Findbugs work normally for the same project in hudson, and I cofigure in jenkins the same as in hudson. Below is configuration snapshot.
OS is CentOS, and where I can find findbugs log ,I think maybe some erros are out, log will be very helpful to my case.
I change name to '**/findbugs.xml", it throws another error:
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Parsing 1 files in /home/irteam/.jenkins/jobs/hangame-dnest/workspace
[FINDBUGS] Parsing of file /home/irteam/.jenkins/jobs/hangame-dnest/workspace/common-build/common/findbugs.xml failed due to an exception:
org.dom4j.DocumentException: Sax error Nested exception: Invalid top-level element (expected BugCollection, saw project)
Do you have some clues?