Deployment failed in Tomcat server - tridion

I am trying to publish one page on tomcat server. But it fails at Deploying phase with error message
Phase: Deployment Processing Phase failed, Could not initialize class com.tridion.storage.StorageManagerFactory. Can anybody help me?

Please also check password encryption in cd_storage_conf.xml: try without password encryption and see if it works.

Thanks for replying. The error was due to wrong configuration in cd_deployer_config.xml. That I fixed. But now I am getting error at committing deployment phase.
Error:
Phase: Deployment Prepare Commit Phase failed, Unable to prepare transaction: tcm:0-44-66560, org.hibernate.exception.SQLGrammarException: Cannot open connection, org.hibernate.exception.SQLGrammarException: Cannot open connection, Unable to prepare transaction: tcm:0-44-66560, org.hibernate.exception.SQLGrammarException: Cannot open connection, org.hibernate.exception.SQLGrammarException: Cannot open connection

Related

How to fix Airflow logging?

I have S3 remote logging enabled, Airflow is installed on an EC2. My dags are running however, they don't always create a log and then fails. The error is as follows:
*** Falling back to local log
*** Log file does not exist: /home/ec2-user/airflow/logs/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log
*** Fetching from: http://ip-10-105-32-92.eu-west-1.compute.internal:8793/log/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log
*** Failed to fetch log file from worker. Client error '404 NOT FOUND' for url 'http://ip-10-105-32-92.eu-west-1.compute.internal:8793/log/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log'
For more information check: https://httpstatuses.com/404
After a few attempts (3-5), it eventually does end up working.
I have even disabled the remote logging in an attempt to debug, and it still doesn't work. Any suggestions?
Apache Airflow version: 2.2.4
We use a describe stacks API call to get the latest ECS Task Definition, and I've noticed we have lots of these errors:
An error occurred (Throttling) when calling the DescribeStacks operation (reached max retries: 4): Rate exceeded

Corda throws error trying to generate the basic nodes

Am trying to generate the basic nodes- PartyA, PartyB and Notary on Ubuntu 14 by running ./gradlew deployNodes or even ./gradlew clean deployNodes. The error reads:
... still waiting. If this is taking longer than usual, check the node logs.
Error while generating node info file /cordapp-template-java/build/nodes/Notary/logs
Error while generating node info file /cordapp-template-java/build/nodes/PartyB/logs
Error while generating node info file /cordapp-template-java/build/nodes/PartyA/logs
Task :deployNodes FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':deployNodes'.
Error while generating node info file. Please check the logs in /cordapp-template-java/build/nodes/Notary/logs.
Error while generating node info file. Please check the logs in /cordapp-template-java/build/nodes/Notary/logs.
The error logs do not provide any indication of error.
I have personally run into the above question myself. From what I saw, it seems it was a random incident on the Unix based machine.
The issue was resolved after I moved the project to the different location. It is absurd. But I have never ran into this issue ever again.

Why am I getting connection reset error in Sqoop?

I am using Sqoop 1.4.6v and hadoop-2.7.1v.
I am importing data from Oracle DB and using ojdbc6.jar.
It is working fine but sometimes I am getting following error:-
19/03/15 16:27:23 INFO mapreduce.Job: Task Id : attempt_1552649108375_0013_m_000000_0, Status : FAILED
Error: java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLRecoverableException: IO Error: Connection reset
How do I resolve this issue?
Any help regarding this would be appreciated.
I found something for you let me know if it helps :
This problem occurs primarily due to the lack of a fast random number generation device on the host where the map tasks execute
Please refer the sqoop guide for detailed explanation:
https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_oracle_connection_reset_errors

Artifactory Couldn't parse ErrorsModel from Access. Original message: Not Found

we have problems with our artifactory server since this morning. When I try to restart Artifactory, we get this error:
2018-04-16 10:11:11,360 [art-init] [WARN ] (o.j.a.c.AccessClientHttpException:27) - Couldn't parse ErrorsModel from Access. Original message: Not Found
2018-04-16 10:11:37,420 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:99) - Application could not be initialized: Waiting for access server to respond timed-out after 90303 milliseconds. java.lang.reflect.InvocationTargetException: null
Can anyone help, we have no idea what's wrong
Thanks
It seems there is an issue with the Access application, which is being started simultaneously with Artifactory.
You should fine relevant logs at the following log file: $ART_HOME/access/logs/access.log
the error message is somewhat misleading. In fact, there was a problem at the database level. the transaction log becomes full on our MSSQL database. We have increased the limit and are working to see how to reduce the size of the log.

unable to delete distribution repo in artifactory

we are using Artifactory server and I encountered a problem today.
I tried deleting a distribution repo but I was unable.
I got an error message:
Deleting repo 'BASELINES-BINTRAY' failed: Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast
to org.artifactory.descriptor.repo.RepoDescriptor)]
I looked at the logs of Artifactory and this is what I saw:
2018-02-13 22:25:16,525 [http-nio-8080-exec-2637] [ERROR] (o.a.u.r.s.a.c.r.DeleteRepositoryConfigService:66) - Deleting repo 'BASELINES-BINTRAY' failed: Could not merge and save new descriptor
[org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast to org.artifactory.descriptor.repo.RepoDescriptor)]
java.lang.IllegalStateException: Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast to org.artifactory.descriptor.repo.RepoDescriptor)]
any ideas what it means ?

Resources