| Author |
about war file
|
ravindra patil
Ranch Hand
Joined: Sep 01, 2006
Posts: 196
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
|
What is "wab logig"?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
TellTheDetails... What isn't working? What version of tomcat and WebLogic Server are you using?
|
 |
Lijo Jacob
Greenhorn
Joined: Sep 02, 2004
Posts: 5
|
|
|
jar command is independent of the server. It comes with the JDK.
|
Lijo Jacob<br />SCJP, SCWCD, SCBCD
|
 |
Jignesh Patel
Ranch Hand
Joined: Nov 03, 2001
Posts: 625
|
|
define java_home/bin your sytem path. It has nothing to do with Server.
|
 |
D Rog
Ranch Hand
Joined: Feb 07, 2004
Posts: 471
|
|
|
more likely web.xml has problems
|
Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
|
 |
ravindra patil
Ranch Hand
Joined: Sep 01, 2006
Posts: 196
|
|
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
Joined: Jul 20, 2005
Posts: 8146
|
|
|
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.
|
[My Blog] [JavaRanch Journal]
|
 |
ravindra patil
Ranch Hand
Joined: Sep 01, 2006
Posts: 196
|
|
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
Joined: Jul 20, 2005
Posts: 8146
|
|
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
Joined: Oct 10, 2000
Posts: 1348
|
|
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!
|
 |
 |
|
|
subject: about war file
|
|
|