WLS 8.1, SP1 - Weblogic does not detect my servlet class has changed

          I've come across this problem in weblogic 7.0 sp2 and 8.1 sp1 and never found the
          solution. I've asked for solution in BEA's newsgroups and official support and
          NEVER received any suitable answer. I've found other people's quesions regarding
          this problem and they didn't found an answer either. I can't believe this is not
          happenning to more people and there is not solution!!!!!!
          Sometimes (don't know when or why) when we copy our servlets developed with JBuilder
          (6, 7 or 9) or javac and ant, into our exploded archive directory application,
          weblogic does not detect the change, and it serves the the servlet's old version.
          Of course, that servlet is not included in any classpath, and even if we delete
          the class file, it still executes the old version. We even delete the .wlnotdelete
          folder under our server, temp, etc. restart the machine, etc. and it does not
          load the updated servlet.
          The only solution is to change servlet's name and the reference in our web.xml.
          That's the moment that weblogic detects changes, but, for so long? Sooner or later,
          the problem appear again... or not. WHY!!??!! What should we change/delete or
          whatever for our new servlet to be updated?
          How can I force weblogic to register again as new servlets ALL my servlets?
          Now it's even happening to a class used in a very simple tag library. CAN'T BELEIVE
          IT!!!!
          It happens in NT 4.0 and W2K Prof. It happened in Weblogic 7.0 sp2 and now in
          Weblogic 8.1 sp1. It never happened in Weblogic 5.1 sp10.
          Looking forward to hearing a solution for this.
          

          I too am looking for this answer.
          I did notice that the BEA Docs mention that the compiled file needs to be in WEB-INF/classes,
          and mine is in WEB-INF/lib. However, ALL the .jar files are in the LIB directory.
          My jar file is never found when it's in the classes dir....
          Please let me know if you find the solution.
          "Ignacio Sanchez" <[email protected]> wrote:
          >
          >I've come across this problem in weblogic 7.0 sp2 and 8.1 sp1 and never
          >found the
          >solution. I've asked for solution in BEA's newsgroups and official support
          >and
          >NEVER received any suitable answer. I've found other people's quesions
          >regarding
          >this problem and they didn't found an answer either. I can't believe
          >this is not
          >happenning to more people and there is not solution!!!!!!
          >
          >Sometimes (don't know when or why) when we copy our servlets developed
          >with JBuilder
          >(6, 7 or 9) or javac and ant, into our exploded archive directory application,
          >weblogic does not detect the change, and it serves the the servlet's
          >old version.
          >Of course, that servlet is not included in any classpath, and even if
          >we delete
          >the class file, it still executes the old version. We even delete the
          >.wlnotdelete
          >folder under our server, temp, etc. restart the machine, etc. and it
          >does not
          >load the updated servlet.
          >
          >The only solution is to change servlet's name and the reference in our
          >web.xml.
          >That's the moment that weblogic detects changes, but, for so long? Sooner
          >or later,
          >the problem appear again... or not. WHY!!??!! What should we change/delete
          >or
          >whatever for our new servlet to be updated?
          >How can I force weblogic to register again as new servlets ALL my servlets?
          >
          >
          >Now it's even happening to a class used in a very simple tag library.
          >CAN'T BELEIVE
          >IT!!!!
          >
          >It happens in NT 4.0 and W2K Prof. It happened in Weblogic 7.0 sp2 and
          >now in
          >Weblogic 8.1 sp1. It never happened in Weblogic 5.1 sp10.
          >
          >Looking forward to hearing a solution for this.
          

Similar Messages

  • Weblogic does not call the ProxySelector class for http url

    We are using weblogic server for our project. I have created a ProxySelector class and made it the default in my code. When my code tried to access the external url, the ProxySelector is called for socket url but not http url. Because of this, I am not able to return any HTTP proxy object from the ProxySelector and it fails.
    Note: The code works fine if I execute it from tomcat.

    Hi This is the method that I have for invoking webservices. It uses a Dispatch API. The myProxySelector is an instance of MyProxySelector which is already made defult in the appication startup.
    This MyProxySelector has a threadlocal variable useProxy to indicate whether the proxy should be used or not. so I am setting the variable just before reply = dispatch.invoke(sm);
    public class WebServiceDispatch {
    public Object invoke() throws GLException {
    Object result = null;
    try {
    Service service = Service.create(getOperation().getServiceName());
    service.addPort(getOperation().getOperationName(), SOAPBinding.SOAP11HTTP_BINDING, call.getServiceEndpoint());
    Dispatch<SOAPMessage> dispatch = service.createDispatch(getOperation().getOperationName(), SOAPMessage.class, Service.Mode.MESSAGE);
    initHandlers(dispatch);
    Map<String, Object> ctx = dispatch.getRequestContext();
    if (call.useWSS()) {
    ctx.put(SOAPConstants.WSSE_SECURITY, new WSSHeader(getCredentials().getUsername(), getCredentials().getPassword(), call.sendEncryptedPassword()));
    } else if (call.getCredentials() != null ) {
    String user = getCredentials().getUsername();
    if ( user != null ) {
    ctx.put(Dispatch.USERNAME_PROPERTY, user);
    if (getCredentials().getPassword() != null ) {
    if (call.sendEncryptedPassword()) {
    ctx.put(Dispatch.PASSWORD_PROPERTY, getCredentials().getPassword().getEncryption());
    } else {
    ctx.put(Dispatch.PASSWORD_PROPERTY, getCredentials().getPassword().getText());
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage sm = mf.createMessage();
    SOAPHeader sh = sm.getSOAPHeader();
    SOAPBody sb = sm.getSOAPBody();
    for ( Iterator<?> it = call.getOperation().getOrderedParameters().iterator(); it.hasNext(); ) {
    WebServiceParameter parameter = (WebServiceParameter) it.next();
    if (parameter.isBodyParam()) {
    sb.addChildElement((SOAPElement)call.getParameterValue(parameter));
    } else {
    sh.addChildElement((SOAPElement)call.getParameterValue(parameter));
    String endPoint = call.getServiceEndpoint();
    myProxySelector.setUseProxy(useProxyServer);
    if (getOperation().getReturn() != null) {
    reply = dispatch.invoke(sm);
    result = getReplyElement(reply);
    call.setParameterValue(getOperation().getReturn(), result);
    } else {
    dispatch.invokeOneWay(sm);
    } catch (Throwable t) {
    throw GLException.factory(new CausedBy("Error Invoking Web Service Dispatch"),t);
    return result;
    .........// more code to get webservice details from db and load useProxyServer flag value
    Here is the ProxySelector code
    public class MyProxySelector extends ProxySelector {
    protected ThreadLocal<Boolean> useProxy = new ThreadLocal<Boolean>();
         public ThreadLocal<Boolean> getUseProxy() {
              return useProxy;
         public void setUseProxy(boolean useProxy) {
              setUseProxy(useProxy? Boolean.TRUE: Boolean.FALSE);
         public void setUseProxy(Boolean useProxy) {
              this.useProxy.set(useProxy);
         private ProxySelector jvmDefaultSelector = null;
         public ProxySelector getJVMDefaultSelector() {
              return jvmDefaultSelector;
         private static MyProxySelector myProxySelector = null;
         private MyProxySelector(ProxySelector jvmDefaultSelector) {
              this.jvmDefaultSelector = jvmDefaultSelector;
         public static MyProxySelector getInstance() {
              if(myProxySelector==null) {
                   myProxySelector = new MyProxySelector(ProxySelector.getDefault());
              return myProxySelector;
         @Override
         public List<Proxy> select(URI uri) {
              try {
                   if (uri == null) {
                        throw new IllegalArgumentException("URI can't be null.");
                   Boolean useProxyObject = useProxy.get();
                   if(useProxyObject == null) {
                        String protocol = uri.getScheme();
                        if ("http".equalsIgnoreCase(protocol) || "https".equalsIgnoreCase(protocol)) {
                             return getProxyList();
                        } else if(jvmDefaultSelector != null) {
                             return jvmDefaultSelector.select(uri);;
                   if(useProxyObject.booleanValue()) {
                        String protocol = uri.getScheme();
                        if ("http".equalsIgnoreCase(protocol) || "https".equalsIgnoreCase(protocol)) {
                             return getProxyList();
              } catch(Exception e) {
              } finally {
                   if (useProxy != null) {
                        useProxy.remove();
              return getNoProxyList();
         @Override
         public void connectFailed(URI uri, SocketAddress sa, IOException ioe) {
              if (uri == null || sa == null || ioe == null) {
                   throw new IllegalArgumentException("Arguments can't be null.");
              if (jvmDefaultSelector != null) {
                   jvmDefaultSelector.connectFailed(uri, sa, ioe);
    private static final String PROXY_HOST = "glog.integration.http.proxyHost";
    private static String httpProxyHost = GLProperties.get().getProperty(PROXY_HOST);
    private static final String PROXY_PORT = "glog.integration.http.proxyPort";
    private static String httpProxyPort = GLProperties.get().getProperty(PROXY_PORT);
    private static ArrayList getNoProxyList() {
              ArrayList noProxyList = new ArrayList<Proxy>();
              noProxyList.add(Proxy.NO_PROXY);
              return noProxyList;
    private static ArrayList getProxyList() {
         Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(httpProxyHost, Integer.parseInt(httpProxyPort)));
              ArrayList proxyList = new ArrayList<Proxy>();
              proxyList.add(proxy);
              return proxyList;
    public static class Startup implements StartupShutdown {
    public void load(T2SharedConnection conn) throws GLException {}
    public void activate(T2SharedConnection conn) throws GLException {
         ProxySelector.setDefault(getInstance());
    public void unload() throws GLException {}
    Edited by: pshivrat on Sep 3, 2010 10:09 PM

  • Macbook pro does not detect TV

    Hi,
    I have macbook pro Mid 2010. It used to work fine with Sony Bravia TV but today when I tried it was not detecting my TV.
    I do not see any "Arrangements" tab under System Preferences -> Displays. Here are my macbook pro details:
    Processor  2.53 GHz Intel Core i5
    Memory  4 GB 1067 MHz DDR3
    Graphics  Intel HD Graphics 288 MB
    Software  OS X 10.9.5 (13F34)
    I tried to reset PRAM but no help. Any suggestions on what may be happening?
    Thanks,
    Gaurav

    skn2011 wrote:
    My Macbook Pro notbook 13.3" does not detect external display throught it's mini display port to HDMI connector when connected to Sony Bravia 32" LCD TV.Can anyone help me get the answer as i tried reading everywhere on internet and none does not seems to work.Please help me out guys.
    Are you using the Apple adaptor or a 3rd party

  • When i connect my philips 170c monitor to my macbook pro 13" early 2011, it does not detect the second monitor?

    help! i've googled around, but none seems to solve my problem
    my macbook pro is early 2011, 13", running lion.
    the philips monitor is vga only, so i have a mini display port to vga adaptor and connecting it to the vga.
    the screen on my mbp does turn blue, but no input is detected on the external monitor.
    any advice?

    If it does not detect the display automatically, try going to system preferences>displays, click detect displays.

  • Smartband and Lifelog does not detect jogging

    Hello,
    Smartband and Lifelog does not detect jogging (does not distinguish walking and jogging/running).
    For example - walking with speed 5.7Km/h and treadmill running with speed 9-10 km/h.
    Smartband worn on left hand.

    Hi, 
    As I understand, lifelog log your exercise as running if the pace is 2.5 steps/ second or above. 
    What are your thoughts about this forum? Let us know by doing this short survey.

  • How can I use Bluetooth it does not detect others iPhone

    How can I use Bluetooth it does not detect others iPhone

    The bluetooth functionality on the iPhone is limited. It's basically limited to audio devices (headsets, for instance), although certain apps allow greater functionality. Search the app store for "bluetooth share"

  • HT4437 hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    See
    http://support.apple.com/kb/TS4215

  • Itunes 11.1.4.62 does not detect existing iphone or ipad

    Just downloaded the above, and now on plugging in either my existing iphone or my Ipad via wired USB connection, itunes does not detect the device.  Running windows 8.1, Tried updated iphone software to match as well, still no detection.  Am I missing something on the new version in set up or something, or is it an uninstall and reload?
    Thanks

    Have tried different cables as well

  • Hi; I updated my iTunes to the latest version (11.1.4.62), but it does not detect my iPhone 4s any more.

    Hi,
    I updated my iTunes to version 11.1.4.62, but it does not detect my iPhone 4s any more. I have tried the following ways but still did not work:
    Rebooted the computer
    Rebooted the iPhone
    plugged and unplugged the USB cable multiple times and to various USB ports
    Uninstalled and installed the i-Tunes
    Signed out the iTunes and signed in again
    my USB cable and ports are all ok
    my ios version on iPhone is : 7.4.4
    my laptop os is windows 8.1 and my processor is: Intel Core i7-3610QM @ 2.30 GHz
    I appreciate your help.

    I find this on another post and tried it.  It WORKED.  I had to modify to fit my situation but give it a try.  Good luck.
    Go to Windows 8.1 Control Panel.
    Go to Hardware and Sound; Devices and Printers; Device Manager; Portable Devices (look for Apple IPad)
    Right-click, then select properties on the menu list.
    Under the "Driver" tab menu, confirm the update driver button is not greyed out.  If the update driver button is grey and unselectable, you need to select and click "Change Settings" button located near the lower left corner.
    Now you can click the "Driver" tab menu near the top, so you can see the "Update Driver" button.
    Select "Update Driver".
    Select and click "Browse my computer for driver software".
    For Windows 8.1 64 bit, it should be located in the folder: C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers. 
    Click Next, and let the driver re-install.
    iTunes  11.1.4.62 should open automatically if your iphone is connected already.

  • HT1296 i just downloaded the latest version of itunes but now i cant zync my ipod. i tunes does not detect my ipod. ut just to work perfectly with the older version of itunes but not now. what is something i can do?

    i just downloaded the latest version of itunes but i cant zync my iphone nor my ipod. it just to work perfectly with the older version of itunes  but now itunes does not detect my ipod nor iphone. i have a windows pd and iwindows detects the iphone and ipod. what is something i can do to fix the problem??

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Featurs appin the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests

  • When I plug my ipod into my computer, itunes does not detect it.?

    When i plug my ipod nano into my computer,itunes does not detect it ?? What i am supposed to do ??
    Thank you

    I think you have to remove ITunes and install the latest version's one; then it will work fine.
    Bye!

  • My iphone4s does not turn on,when I connect to power ,it shows the message "connect to itunes" but when I connect to iTunes,my pc does not detect my phone,so iTunes does not detect my iPhone.

    My iphone4s does not turn on,when I connect to power ,it shows the message "connect to itunes" but when I connect to iTunes,my pc does not detect my phone,so iTunes does not detect my iPhone.

    Are you running the most recent version of iTunes for Windows on your PC?  You may be running an older version that is incompatible with the 4s.
    Hope this helps

  • ITunes V12.1.2.27 on Windows 8 does not detect iPhone 6 with IOS v8.3

    Hello there,
    It all began when I installed the latest IOS 8.3 and iTunes V12.1.2.27. iTunes simply does not detect my iPhone 6 any longer, but it does detect my old iPod mini. Everything used to be working just fine until the software update was done.
    I've run thru all the steps on the Apple support page and spent over an hour on the phone with customer support. Checked the Apple mobile device driver, deinstalled iTunes, reinstalled iTunes, changed connecting cables etc etc. Nothing works!!
    Help!
    LES

    exact same issue. And I can be TOTALLY sure it is related to the update since I was at the birthday party of my little nephew taking photo and everything were just fine. Then my brother asked me if I had already updated my iPhone. I said no and then I updated it while I was still there. From the moment the phone ended the update, I ended taking photos... The update screwed the camera focus mechanism somehow. I'm trying to downgrade to 8.1.3 and see if it will be back to normal. In this case it is a software issue, otherwise it will be a hardware failure caused by the update. I'm dowloading 8.1.3 ipsw right now.

  • Solution who encounter 'Setup does not detect Sound Blaster .....' error msg during installat

    For those who encounter 'Setup does not detect sound blaster audio in the system' error upon installing from the installation CD. You can try the steps below that work for me. It seems Windows have lock on to the sound card with an incorrect ID thus the installation CD are not able to correctly identify the card. Be sure to do a backup copy of the registry first incase something goes wrong since we are editing the registry.
    . Go to Start-Run and type in 'regedit' to start the registry editor application.
    2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\P CI.
    3. You should see listing with 'VEN....'. Expand them by clicking on the + icon and then see if it's listed as unknown or Creative related stuff. Keep note of them.
    4. Right click on those 'VEN......' listing that you have noted earlier and select full permission. Ensure that full control are selected. Now delete all those listed as unknown or Creative related stuff.
    5. Exit registry editor and reboot. Try using the installation CD again.
    Hope it hel
    ps.
    Message Edited by BadBoy on 05-22-2005 09:5 PM

    I only have this problem when i try to install <A href="]Li'veDrvUni-Pack(ENG).exe[/url] ... That driver pack also says that the drivers from cd are the newest ... :S !

  • Tecra Z50-A-11V: New SSD but Win 8.1 does not detect it

    We bought a Crucial M550 256GB disk and want to replace in a Toshiba Tecra Z50-Av1
    We do not want to make any transfer of data or cloned.
    We want to do a clean install with Windows 8.1
    The BIOS recognizes the SSD
    But when you install Windows 8.1 does not detect any disk connected to the unit and requested additional drivers. Windows not detect drive
    https://www.dropbox.com/s/mlvk6v3lxzi1rrh/2014-05-04%2009.47.18.jpg
    https://www.dropbox.com/s/fr2eo5l9xonaoln/2014-05-04%2009.48.59.jpg
    https://www.dropbox.com/s/8usxog8wm06funr/2014-05-04%2010.06.09.jpg
    i too test with lasted version of this driver (old F6 in boot to locate hdd driver)
    https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=23496&lang=eng&wapk w=f6flpy-x64.zip
    and with toshiba package
    http://support.toshiba.com/support/viewContentDetail?contentId=4004211
    you can see than i have 3.20 version of BIOS. interestingly I see that the last one is the Toshiba has released version 3.1
    But always the drive CRUCIAL is not reconized by the boot instalation of windows
    The problem is similar with ubunto, kubuntu, .... the drive is detected with the BIOS but not for the OS.
    any help?
    Thanks

    Hi
    Did you solve this issue?
    Could you install the Windows 8.1 system on this SSD drive?
    I think the additional driver installation while setup procedure isnt necessary since Win 8.1 should already contain the essential drivers.
    From my point of few there could be an compatibility issue (maybe SSD firmware update would solve this).
    How about the usage of other SSD drives? Do you have the same problem using other SSD drives from other manufactures?
    Feedback would be appreciated.

Maybe you are looking for

  • Error 1935 an error occurred during installation of assembly component

    I get this message when trying to install Lightroom 4.3 error 1935. an error occurred during installation of assembly component {6435B7C0-E0C8-3EA2-91AE-7640034EAFCE}  hresult 0X800700C1 I've tried installing with antivirus software shut down.  I've

  • Cannot Edit some files in Library

    I have a library of images imported from a Nikon D70, Nikon D200, and Canon Powershot S400. For some reason, I am unable to Edit some of the files within my library. There does not seem to be any consistency of the problem with reference to the camer

  • Switching scratch disks mid-project

    I'm moving a project from my old Vaio laptop to my new iMac. I've transferred the media and project file fairly easily. Are there any pitfalls to be aware of if I now change scratch disks settings to an external drive? Previously everything was on on

  • Adobe Flash crashes endlessly, reset or update does no good

    I have dealt with this for years. I have "reset" Firefox numerous times, I have uninstalled Adobe Flash and reinstalled version 16.0.0.235. After I uninstalled and updated it ran for a while but I am back to the "Flash is busy" message. The only way

  • How to delete 3 months old ALL partitions from oracle tables

    How to delete 3 months old ALL partitions? Here is the query i am executing..but this query delete partitions 90 days old..need help sir.. select 'alter table ABC.'||table_name||' drop partition L_'||to_char(sysdate - 90 ,'DDMONYY') || ' UPDATE GLOBA