I am trying to deploy my web application on my Payara 4.1 server. However I am getting the following error: java.lang.NoSuchMethodError: javax.faces.application.Application.addSearchKeywordResolver(Ljavax/faces/component/search/SearchKeywordResolver;)V
When I google this issue, I find a few people with the same problem, however they were all using outdated versions of Primefaces, but I am using the latest version (6.2) as you can see in the full logs below.
I've deployed my application before but I changed too much at one time so I don't know what triggered this error. However I did not change any of the library's/dependency's as for as I am aware.
If you need more information, let me know.
Full logs can be found here
I eventually deployed my application on a Glassfish 5 server and it worked again, I have no idea why though.
Related
This has been asked before but the only answers I saw were "restart or re-install tomcat" and similar and they're not working.
I'm trying to get a simple Java web app to work. I downloaded the example from a textbook website. The web app compiles with 0 errors but I get the following message:
org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server, server instance is not configured
This is a picture view of the error
Here is images of the run configuration
I hope this helps you guys see what could possibly be going wrong. I tried to install Apache tomcat 9 and 8 and I have both and I switch between them to see if any work but I get the same error each time. I know it has nothing to do with conflicting versions because the error was happening even when I only had Tomcat 9.
Currently using custom error pages on the Java web application which is great. To cover all bases, when restarting Tomcat after pushing out an update, there is a very minor 30 second delay restarting the Tomcat service which shows the standard Apache 503 error message. It just looks horrible.
I've looked everywhere for where to find this file to customise. Any ideas? The server is running CentOS6 with Apache Tomcat 7 which has been installed via Easy Apache 3 on cPanel's WHM.
I have generated a Recommendation engine in Mahout. I have tested the Engine as a Stand Alone Java program.
Now I want to deploy it as a Web Application and hence I am using Apache Tomcat to deploy this Java Application. But when I execute my program on Tomcat Server, I get the following Error:
I have added all dependencies and tried searching the net also on this but with no success. As I am new to Tomcat, requesting you to kindly help me out in resolving the stated issue.
Any kind of help is highly appreciated.
Thank You
I am trying to build up a Java (Java version build 1.8.0_11-b12) Maven Web Application (built up in NetBeans 8.0) that runs on Wildfly-8.1.0.Final using JPA (EclipseLink JPA 2.1) for accessing a MySQL database. The host system is Ubuntu 14.04 64Bit.
I have successfully created the datasource on Wildfly to the database on MySQL. Testing the connection sends back a message saying it was successful. Therefore, I think Wildfly should be working fine.
I then created a very simple Entity Class "Dog.java" for persisting.
The problem comes up when I compile the WAR file and copy it for deployement on the Wildfly server. Wildfly sends back endless yellow warning messages and I am not able to kill Wildfly or Java. The only way out is to restart the entire operating system.
Does anyone know this problem? Or das anyone see any problem in my configuration?
Does maybe anyone know a Howto somewhere on the net that explains Step-by-Step how to create a Web Application for Wildfly accessing a database with JPA? I already tried to find one, but was not successful.
Every help highly appreciated! Thanks in advance!
Have a look at the WildFly Quickstarts.
Back to SO after a long time :-).
I have deployed an ear for our application in Websphere (using this server for the first time). When I started the server, am getting a lot of errors (am not sure if it has got something to do with the bean configurations in the code).
I have attached the errors with this post. Can you please shed some light on it ? Am I missing something? Do jars need to be placed explicitly in some location?
Log 1
Log 2
I have been breaking head with this for more than 2 days now. Did all the search in Google but no clue where to start or what exactly is going wrong.
(i) I am able to deploy ear successfully.
(ii) When I start the server, am getting all the errors which I attached in the logs.
(iii) I am able to launch the application successfully (Can see the login page), but when I login, I get a 'WebPage CAnnot be found'. Well I can see the url changing as 'siteminderagent/forms/login.fcc'. This should be some kind of 3rd party authentication tool. I need to do some configuration for the same somewhere ?
First, WAS 7 is getting pretty old. For getting started with Websphere, if you can choose your version, use the current one. Second, read about the WAS class loaders because they may be a bit different than what you are familiar with from other app servers.
The error in log 1 looked like it may be associated with JPA. For JPA with WAS 7 IBM recommends installing a separate feature pack which provides Apache OpenJPA. If you still wanted/needed to use Hibernate there are instructions for how to configure an alternative JPA provider.