I have one remote test server, I want to upgrade the Sentry and Log4j to the latest version. I built my java project and on my local machine both Sentry and Log4j where now latest. But, when I upload the jar file to test server(remote server) and run the service it still shows the old version.
The jar is having the latest version of Sentry and Log4j.
Can anyone help me know why I am not able to upgrade these tools on my remote server.
Below is the latest version showing in the jar -
Related
I was using Apache tomcat 9.0.44 earlier and due to some security vulnerabilities I've upgraded it to 9.0.62 now.
/bin/Version.bat shows correct version now 9.0.62
Also checked registry keys and it also shows correct version
Still on security dashboard we are getting "Vulnerable version of Apache Tomcat is installed 9.0.44"
All the applications are working fine.
I am not sure if during upgrade I've missed anything.
During upgrade from 9.0.44 to 9.0.62 these were the steps that I'd followed:-
From this URL https://tomcat.apache.org/migration-9.html#Upgrading_9.0.x checked the configuration file changes from Apache tomcat 9.0.44 to apache tomcat 9.0.62 and perform these changes in the configuration files as applicable.
Replaced all jar files from
Downloads\apache-tomcat-9.0.62-windows-x64\apache-tomcat-9.0.62\lib to
Tomcat9/lib directory
Updated Bootstrap.jar , Tomcat-juli jar , Tomcat9.exe , Tomcat9w.exe files from
Downloads\apache-tomcat-9.0.62-windows-x64\apache-tomcat-9.0.62\bin to
Tomcat9/bin
Also java -cp "catalina.jar" org.apache.catalina.util.ServerInfo shows :-
could anyone please suggest what is incorrect in this case?
I am using windows 7, an old version of Eclipse, Eclipse Java EE IDE for Web Developers. Mars.2 Release (4.5.2) and WebSphere Application Server Version 8.5.5.9 Liberty.
I am working on a pretty old codebase. Java 1.7 and configuration/library management tools like Maven or Ant is not used here. I used neither eclipse nor WebSphere before. So it is very confusing to me.
The issue is that whatever code, I update it doesn't reflect when try to debug my code. I tried clan build by eclipse as well as manually delete the build directory to make sure it is really clean. Still, my latest code change is not visible after deployed to the WebSphere Application Server. How can I see my latest code changed in the IDE?
UPDATED Question
In the WebSphere Application Server installation location there are following directory:-
bin,
clients,
dev,
lafiles,
lib,
templates,
usr
usr dir has subdirectory:-
.settings,
servers,
shared,
.project
Inside the servers directory:-
.classCache,
.logs,
myserver
This myserver directory is copied from one of my colleagues. I was told it is kind of WebSphere Application Server profile.
This myserver has the following subdirectory:-
apps,
config,
dropins,
logs,
resources,
tranlog,
workarea,
jvm.options,
server.env,
server.xml
I deployed the application from eclipse as Run As:-
Run on Server
The application is deployed at apps directory as Application-HEAD.ear.xml
If I open Application-HEAD.ear.xml file I can read
All my application submodule path is given there.
If I delete this Application-HEAD.ear.xml, it is generated as soon as I deploy from eclipse. But the problem still exists my code change is not reflected.
I have created a repository named local.
You can see there are several repositories on the sesame server.
Then I restarted tomcat, connected to sesame workbench. Now all the repositories I just created is GONE!!(picture below)
I don't understand, how can I find the repositories I JUST created?
I Just put the war file into the tomcat "webapps" folder. and start tomcat.
Environment :
OS: Windows 10
tomcat: 8.0.30
java: 1.8.0_60
You are probably using a version of Sesame that has this bug: SES-2346. If your JVM is not shut down cleanly, the in-memory store (and therefore Sesame Server's SYSTEM repository) does not persist. This bug was introduced in Sesame 2.8.4/4.0.0, and was fixed in Sesame 2.8.9/4.0.2.
The solution is to upgrade your version of Sesame to the latest release (at time of writing that's Sesame 4.1.1 or Sesame 2.8.10), and/or to make sure that you shut down tomcat cleanly (rather than just killing it).
I have configured the Hadoop installation directory location(C:\cygwin\home\hadoop-0.19.1) but whenever i am running the .java file as run on Hadoop it is not displaying Hadoop server run wizard and it's not running.Please help me to come out of this problem.
I have used Eclipse Indego 3.7 version which was not working previously so i degraded the Eclipse version to 3.3. As i googled i came to know that there are some changes happened for Hadoop plugin in Eclipse latest versions which are released after 3.3
I have downloaded and unzipped in a directory to get disc1 to disc3 folders but there's no exe to launch and no instruction in readme file so how do you install ?
IBM WebSphere Application Server for Developers, including Liberty Profile v8.5 (Part 1 of 3)
was.repo.8500.developers.ilan_part1.zip (988M)
Download now
IBM WebSphere Application Server for Developers, including Liberty Profile v8.5 (Part 2 of 3)
was.repo.8500.developers.ilan_part2.zip (1G)
Download now
IBM WebSphere Application Server for Developers, including Liberty Profile v8.5 (Part 3 of 3)
was.repo.8500.developers.ilan_part3.zip (910M)
You need IBM Installation Manager to install that. The disks you downloaded are simply the repositories of the software that IIM can read and process.
For example, the 1.5 version can be found here.
If you do not want to download compressed archives containing the Installation Manager repositories, then there is a much easier and simpler process for getting WebSphere Application Server for Developers installed.
Once you have IBM Installation Manager installed, you only need to provide the repository location to where the IBM hosted WebSphere Application Server for Developers repository is located. For instance, to install WAS for Developers version 8.0 or version 8.5, you simply add one of the following repository locations to the repository preferences.
V8.0: http://www.ibm.com/software/repositorymanager/V8WASDeveloperILAN
V8.5: http://www.ibm.com/software/repositorymanager/V85WASDeveloperILAN
Information on installing WAS for Developers using IBM hosted repositories in available on WASDev.net.
Alternatively, you can use the IBM Package Utility (a companion to Installation Manager), to reconstruct the IBM hosted repository on your local machine. The advantage to using PU is that you will be able to create a local repository that also includes the fixpack level of your own choosing rather than having to go get a fixpack from IBM Fix Central and then updating the installation afterwards.
Information on creating local repositories with Packaging Utility is available in the WebSphere Knowledge Center.
You have to download IBM Installation Manager and install it. Then run the Installation Manager by click on Restart Installation Manager. After all press Install and in the new page press 'Repositories'. In the Repositories locate the directory you extracted IBM WebSphere Application Server then select repository.conf and stick with defaults to continue installation.
Download or run Eclipse and go to Help > Eclipse Marketplace and search for IBM WebSphere and press install to add IBM WebSphere into your Eclipse Environment.
To install new version you can follow the below link with complete guidance.
https://developer.ibm.com/wasdev/downloads/#asset/WAS_traditional_for_Developers
A solution is to install the official docker image:
https://hub.docker.com/r/ibmcom/websphere-traditional/
there are all the versions from 8.5.5.9 to the newest, BASE and ILAN licenses.