Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

war file question

 
Shreya Menon
Ranch Hand
Posts: 285
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic