We have a production server which is a websphere instance, where we copied a jar (say, c.jar which is already existing in EAR and overriden now) to EAR which is already deployed as a hot fix. I have class A, referring class B in the same Jar that is c.jar, and While loading class A, class B was unable to find and resulting in a NoClassFoundError. Hot deployment in the server is disabled. However, after restarting the server A is able find B. Any property we are missing? Why class B is not found although present in the same jar, but after restart it is able to find. Also, before copying the jar, the Old c.jar is working fine with class A and class B loaded. We are using was 6.1
Related Questions in WEBSPHERE
- Problem with C# submitting file to IBM MQ Broker
- how to increase timeout in websphere console when we are consuming the WSS3 service?
- How to access an specific resource path though the IBM Websphere Application server port 9080?
- IBM WebSphere WASX extension loginType
- Getting "javax.servlet.ServletException: java.io.FileNotFoundException: SRVE0190E: File not found: /servlet/" error bcz of IE dialog box
- Calculating average wait time per message in a topic with PromQL
- How to set TLS Cipher TLS_RSA_WITH_AES_128_GCM_SHA256 on Windows 2016
- dd_in_ear_load_EXC_ when deploing with JENKINS while the same EAR successfully deployed with WAS admin console
- How to deploy an application in IBM websphere server with a azure devops pipeline's?
- How to get rid of Websphere traditional error for Windows local development - Java8
- IBM Websphere App server - After Migration, the profile won't start because ADML3000E: Cannot locate systemlaunch.properties at path
- IBM Maximo Document Attachment not working
- IBM WCM - Content not reflecting for logged-in users
- Websphere Liberty with Spring upgrade from 4.2.1 to Spring 5.3.29 issue Caused by: java.lang.NoSuchMethodError: javax/validation/Configuration
- IBM Liberty's viewSettings command keeps saying "The password for this proxy is not encoded"
Related Questions in WEBSPHERE-6.1
- IBM Rational Application Developer 7 Websphere 6.1 not getting started while connecting over VPN
- Which versions of eclipse support IBM Websphere 6.1?
- How to build a application server independent Java web application?
- Websphere 6.1 to 8.5 how to update ibm-web-bnd.xmi to ibm-web-bnd.xml Remote EJB
- javax.naming.NameNotFoundException: Name comp/env/com.asdmt.bean.DiagramManagerManagedBean not found in context "java:"
- Class Loading issue in websphere
- Issue while using jQuery with Struts2 on Webspphere 6.1.0.0 - Error 404: SRVE0190E: File not found: xxx.action
- Websphere clusters + Struts application
- IBM Support Assistant Out Of Memory when opening heapdump .phd file
- webshere snap files - What is it
- how does fileServingEnabled="false" in ibm-web-ext.xmi loads static file
- Out of memory exception on WAS 6.1 and EJB 2.1
- Running Primefaces (JSF2) application on Websphere 6.1
- EJB Lookup Issue with WebSphere Application Server 6.1
- MyEclipse 2015 WebSphere 6.1 'Multiple problems have occurred' when server starts
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
When application server start it creates the class files of application you deployed in your WAS JVM instance to make it available in runtime. As you explore the application other classes gets loaded. when you are deleting/overwriting the jar file you are breaking the link and thats the reason other classes could not find the classes there in c.jar. when you restart the JVM a new class files gets loaded in JVM runtime and you find it is available.