• 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

frustrated about life due to the deployment failure !!!!

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

I created a stand alone Java Project in WSAD5.1.2, and I just finished with the coding and ready to deploy to server. However, I encountered the following problems, and I wish you guys can give me some hints and solutions so that I will give up the mind of suicide.

1. My Java Project includes serveral api libraries from my own lib folder and default IBM base_v5 folder. When I was going to export them, I found out i can't export the .jar libraries unless I highlighted all the files in my Java Project. I want to ask what should I do if I want to deploy stand-alone Java Project to my WAS. Do I need to include the classpath within WAS so that the server can recognize my libraries ? I got "ClassNotFoundException" when I try to run the programs. What is the proper way to deploy it to server ?

2. Since I was doing the code development in Window environment, so the directory is in window's format. However, the Production environment is using "Linux" platform. Suppose I pack every class in a jar file, however, the classpath is still in window's format. What should I do before I "deploy" it to linux ?

3. Very simple...how can I deploy it successfully? Assume my java packages can runs normaly while developing.


Sorry for the long message, I hope my question are not so stupid.

Thanks in advance

Transistor
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I think this might answer your question about classpath:

You have to include the jars in a shared library and attach it to your application. You have to create the shared library and then attach it to your application.

Hope this helps.

karthika
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic