I don't have a war file *yet*. I was given these instructions below by Oracle. I'm starting to grasp this project and am trying to understand the architecture.
I have a couple of very high-level simple issues. 1) I don't know where the application will "live" when I upload it from the war file. I need to know that because 2) there are 5 .jnlp files which have a hard-coded path reference in them that looks like;
<jnlp codebase="http://snslcvwwls802/uc4v812a/classes/" href="../JavaHelp.jnlp">
I need to know where this app will go so I can change the references. Then I need to know whether or not to package the entire app inside the .war file with my little locally produced jsp that passes parameters to the app. Or, do I just stage it somewhere and point the jsp file at it? I think this is doable I just don't get it yet.
ERROR MESSAGE:
I got this error when I tried to create the .war file in accordance with 5) below:
D:\Compile\Appworx>C:\"Program Files"\Java\jdk1.7\bin\jar -cvf Appworx.war Appworx_build
Illegal option: F
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
ORACLE SUPPORT INSTRUCTIONS:
1) Create a folder simpleapp
2) Inside the simpleapp folder create another folder WEB-INF
3) Copy your JSP files in simpleapp folder
4) Copy web.xml amd weblogic.xml in WEB-INF folder
5) Generate WAR file simpleapp.war using below command.
Go to JDK bin folder.
jar.exe -cvf simpleapp.war simpleapp
6) Now go to weblogic admin console--> click on Deployments --> click on Install -->
select the WAR file simpleapp.war click next -->
Select deployment targets -->
select "Install this deployment as an application" -->
Select deployment targets -->
select "Copy this plan onto every target for me" -->
Next-->Finish-->Save--> activate changes.
7) Now access the application.
http://<hostname>:port/simpleapp
Here i am attaching sample application browsestore.war for your reference.