• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Set classpath in WAS 4.0

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could any1 tell me how to set classpath in WAS 4.0???
many thanks!!!
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The quick answer is you don't or you try not to. Could you explain what you want to do, and then I'll explain how best to solve that in WebSphere 4.0 and J2EE.
Kyle Brown
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally, you put everything in .ear file. Manifest.MF can be used to specify a relative classpath.
If you don't know how to do the above, put your application dependent jar in C:\WebSphere\AppServer\lib\app folder. On Solaris, it is similar. Every .jar in app folder will be automatically pick up. In IBM's info center there are serveral pages talking about classpath check that out. Also, in Web Console, under JVM there is a place for you to specify classpath.
 
Son Bean
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks hong!
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess there are 2 ways of giving classpath
1 -- when i was deploying the war and ear file on websphere 4.0 i found it giving a dialogue for classpath. is this classpath relative claspath
2-- also i guess if u edit the server-cfg.xml file u can manipulate the classpath but inthis case it is absolute not relative
 
I think I'll just lie down here for a second. And ponder this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic