Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about war file

 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am creating war file using jar command jar -cvf applicationroot.war *

it is working properly in tomacat but not on weblogic why this
kindly reply
[ October 17, 2006: Message edited by: ravindra patil ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TellTheDetails...

What isn't working? What version of tomcat and WebLogic Server are you using?
 
Lijo Jacob
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar command is independent of the server. It comes with the JDK.
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
define java_home/bin your sytem path.

It has nothing to do with Server.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
more likely web.xml has problems
 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ravindra patil:
[QB]i am creating war file using jar command jar -cvf applicationroot.war *

it is working properly in tomacat but not on weblogic why this
kindly reply

tomacat version is 5.X and web logic server version is 6.1

but when i creates war file by eclipse then it works there is no problem with my web.xml file
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly does "its not working properly" mean? What difference are you seeing in the behavior on weblogic? Any exceptions or anything else? Please provide more specific details.
 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ravindra patil:
[QB]i am creating war file using jar command jar -cvf applicationroot.war *

it is working properly in tomacat but not on weblogic why this
kindly reply

it is giving NullPinterException but remember it is working fine on tomacat 5.X
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravindra,

Its not easy for anyone to guess why you are observing a NullpointerException in your application, unless you post the exception stacktrace that you are seeing and also the information about the usecase, when you are seeing this exception. So please provide these details and people here will be glad to help you.
(Remember to use the Code button, to wrap the exception stacktrace in a code block, while posting the stacktrace).
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly provide stack trace and any other details. Without a stack trace or other details we really cannot help you.

Exactly which versions of tomcat does it work on? 5.0 or 5.5?

Why WebLogic Server 6.1? That's really old!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic