Could not find implementation of liquibase.logging.Logger on Tomcat 8.5 - java

I am working on a WebApp with Vaadin and Hibernate which is using Version 3.2.3 of Liquibase as a dependency.
When I build this App and test it with the Tomcat7 Maven Plugin everything works fine.
When I deploy the .war file manually to Azure (running Tomcat 8.5) or a Tomcat 8.5 on my local machine I get the following error:
liquibase.exception.ServiceNotFoundException: Could not find implementation of liquibase.logging.Logger
When I deploy the .war manually to a Tomcat 7.0 running locally it works again.
The database is the same in all cases.
What might be the reason for this?
How can I fix this?

Looks like it's a should-be-fixed-but-still-reproduced issue.
There are two issues in Liquibase's Jira:
CORE-2003
CORE-2042
Try updating liquibase. Version 3.2.3 is very old already.

Related

Upgrading to Mobile First 6.3 Server shows No runtime

The client has upgraded the worklight server 6.2 to Mobile First 6.3, and deployed the updated war file. Now when we open the console to deploy the adapter, "It shows no runtime can be found"
But the same project works fine in the local development environment, where we installed the mobilefirst studio plugin in eclipse. We are able to build the project and run the app.
Java - 1.7
Eclipse - Juno SR2
MobileFirst studio 6.3
Cannot access the remote server for now, will attach the logs shortly.
Kindly let us know if there are any known issues on upgrading to 6.3(mobile first) from 6.2(worklight)
Thanks
Hi we are able to fix it. The reason is the client has not built the war file in 6.3, they have updated the old war, when we tried building the war file from the 6.3 and deployed. it worked.

JavaAgentDetector error while deploying to Elastic Beanstalk

I have a Java 8, Spring boot application that has an embedded Tomcat (it is actually a JHipster 3.0.0 monolithic app). I want to deploy it to AWS Elastic Beanstalk.
My approaches:
On a Java environment, with a Procfile.
On a Tomcat environment, with a Procfile.
On a Java environment, without a Procfile.
On a Tomcat environment, without a Procfile.
No matter the approach I always get this error.
I am not using ever in my project that JavaAgentDetector.class that Elastic Beanstalk fails to inflate.
Of course, when I execute that .war locally there are no problems.
Thoughts?
could be a difference in your production profile and dev profile?
What made the trick: I finally deployed my app on a Tomcat environment without a Procfile. The error was a caps lock difference between my pom.xml and my application-prod.properties in the name of the database.

Ant build failing when upgrading to weblogic 10.3.6

We have an existing application which has an ANT script used for deployment and running on weblogic version 9.2.3.
We had a request to upgrade the weblogic to version 12.1 and I was able to successfully upgrade this by changing the application specific WL_HOME and giving the build using the ANT script already present. But unfortunately we were having a dependency on another application that is running on weblogic 8.1 and weblogic 12.1 is not compatible with 8.1.
So we are now in the process of downgrading the weblogic to version 10.3.6 and after installation of weblogic 10.3.6, I changed the same application specific property WL_HOME to point to weblogic 10.3.6 and tried the ANT build.
But this time the ANT script failed, throwing errors saying error: package javax.ejb does not exist
import javax.ejb.CreateException;
The application and weblogic is installed in a solaris/unix machine and we are using jdk 1.7.0.60 for the application.
I am not an expert on weblogic or ANT, and I couldn't figure out where I went wrong. I see that we have javax.ejb_3.0.1.jar present in the modules directory.
It will be really grateful if somebody could let me know where I might have gone wrong.
Thanks for your help in advance.

Weblogic 12c with Eclipse Luna RC3

I am new to weblogic 12c server. previously i was using tomcat 6, jdk6 eclipse luna, and my project type is tomcat project.now in our company they migrated to weblogic 12c.
the problem is i used to start/stop tomcat like this by using sysdeo plugin.
After start i used to right click on project ->upload context->click.
it used to deploy automatically to tomcat than in browser i can access that.
now how to achieve this in weblogic 12c.i googled and find out that if my project is dynamic web project than i can add server instance of weblogic and can achieve the above by selecting runas server option.
but my project type is tomcat project structure.
so can any one help me with this.
Update
i found this plugin but it works from weblogic 6 to weblogic 8.1 but not for weblogic 12c.
you need to install the enterprise pack
http://www.oracle.com/technetwork/developer-tools/eclipse/overview/weblogicservertools-161590.html
I would recommend also, to try netbeans 8
It has better integration with maven, weblogic etc
this post is little old but I wanna share that I found just and I guess it is related to this post, there is no config combination exists between Jdk 1.6 + Eclipse luna + Oracle Service pack(12c) for Eclipse! You will have to upgrade or downgrade at least one of them...

Can't publish J2EE project to tomcat in eclipse

I have a Java project using Groovy and Java mixed. Now I want to publish it to my tomcat, but it says
Could not publish to the server. java.lang.IndexOutOfBoundsException
Platform : OS X / Eclipse Kepler Service Release 1 / Java 1.6 / Tomcat 7.0.39
How can I deal with this issue ? I can deploy a new create Dynamic Web Project, but not my exist project.
My server configuration :
My Jar files are way too old, I just deploy my project into Tomcat manually and found a lot of error log.
Just update them into newer version.

Categories

Resources