• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

war file question

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have a web project which I developed in WSAD and its running fine. Npw I want to install this web project in another machine.
I tried exporting the war file and then importing the war file in the other machine.
But I needed to add all the jar files by hand. I dont want to do this, because we have to send this jar file to the business team where they dont have any tech exposure. So I would prefer having a war with all the external jars added.
Can I add jar files manually, or whats the proper solution ?
Thanks
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the JAR files are the things that are already in the WebSphere classpath (things in the AppServer/lib directory or in the JDK) then you don't need to add them to the WAR file.
If they are 3rd party JARs then you should import them into the WAR file inside WSAD, which will automatically make sure they're packaged correctly into the WAR's lib directory.
kyle
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kyle,
You mean, when I say, import war, in the next screen add the external jar files, ok. Got it
Thanks
Could you pls let me know whats the max size of a file that can be sent as a SOAP attachment ?
Maya
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maya,
AFAIK there is no max size. I've never encountered on at least...
Kyle
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
BTW, I exported my WAR file from WSAD. I opened the war and saw 3 of my classes inside the "WEB-INF"/classes/com/test folder.
But when I tried creating a new web project in another machine and try importing the previous jar file, I imported it but inside WSAD I am not seeing any classes inside the WEB-INF/classes folder. In other ways, when I imported a war file with classes into WSAD, I got an empty classes folder..
Why is it so ?
Thanks
Maya
 
You showed up just in time for the waffles! And 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
reply
    Bookmark Topic Watch Topic
  • New Topic