• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can I delete contents of installedApps manually?

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

The deployed applications are visible in the folder C:\WebSphere\AppServer\profiles\AppSrv01\installedApps\MyCell01. Let us the name of an application is called online and its contents are present in C:\WebSphere\AppServer\profiles\AppSrv01\installedApps\MyCell01\online_1.ear. The jar files of online_1.ear are present in this folder. After starting the server, I am able to delete/replace some of the jars but not the others. The jars that could not be deleted come up with a message 'the jar is in use'. I understand that deleting the jar is incorrect and I may get an error in the operation of the application later.

My question is why did Websphere permit me to delete some jars and not some others.

The intention of the question is that we have an ojdbc.jar outside the container, but is used by webspere to reach oracle. The customer had deleted it by mistake. Some containers continued the operation without error till we restarted and some failed immediately. The customer wants to know if we have any backdoor to oracle without relying on ojdbc.jar. We aren't and I have to prove that we rely on ojdbc.jar. But don't have a theory to support.

Your perspective will be useful.

Regards,
Rajesh
 
Bartender
Posts: 1357
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I may only guess that jar file are locked by the underlying S.O only when one of WAS's classloaders uses those file to load classes, i.e when they are actually used by your application. And that behaviour may depend upon SO Websphere is installed on...

Regards.

 
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic