How to deploy web application .war file into SAP NetWeaver Engine?
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
- Hide quoted text -
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advance
Hi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin
Similar Messages
-
How to deploy my web application .war file into SAP netweaver Engine
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advance
JMYou may need to convert the .war archive to SDA/SCA file format before deploying it to SAP Netweaver Engine.
Check out the below SAP NOTE if it is usefull.
Note 1223957 - Usage of NetWeaver Packaging Tool.
Apart from SDM you can also deploy the files through telnet...
Note 859444 - How to deploy libraries on J2EE Engine 6.40
1)Connect to telnet as below
Start --> Run
telnet hostname/ip address portno
Ex: telnet xxx.xx.xx.x 5<Instance no>08
2)Login with administrator id:
Use the below command to deploy the files.
deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
Also have a look at this note which talks about the error you are getting.
Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
Hope it helps.
Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM -
Deploying Java Web Application (WAR-File) into a cluster environment
Hi,
we have a web application which has to read from and write to the file system.
Since a short time we have a cluster environment (2 parallel servers) and since thisa time we have the problem, that files are worked double in the cluster. The application is working on both servers now and so we have this problem.
Does anybody know how we have to deploy the application correctly in a cluster environment or do we have to change anything in our source code of the application?
I didn't find any documentation about this.
At the moment we have deployed the application on one of the two servers only, but I think there must be a better way to solve this problem.
Thanks for your replies.
Regards
ThorstenHi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin -
How to deploy web application to Weblogic?
Does anyone know how to deploy web application to Weblogic8.1?
Hello,
I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: java/lang/StringBuilder
at servlets.ResponseServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers). -
Failed in deploying Web Application (.ear file)
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
ThanksHi,
specifying a leading slash shoul be enough to let the system know that it is an absolute path.
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
TJ schrieb:
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
Thanks -
Deploying an existing WAR file into the Portal
I have downloaded the Enterprise Portal and the SAP Netweaver Developer Studio (NDS) and have succeeded in creating a couple of projects of the Hello World variety and deployed them on the Portal! So far, so good.
The problem I have is that need to deploy on the Portal an existing JSP/Struts application of ours which is available as a Web Archive (WAR) file.
The problem is that I cannot find a way of deploying an existing WAR file on the Portal either via a Project or otherwise. I have found an entry in the Help files with the NDS which sounds promising, as it is entitled Import a .WAR File into a new project. However, the menu entry it says you should use (File ‑> Import ‑> MDK: Import a web archive (.WAR) into a new project) this last entry does not exist on my installation of NDS.
Any ideas or suggestions?Hi Mustafa (and All) - thanks you very much for your answers, which has enabled me to make good progress.
I have created a project in the Deploy Tool, imported a simple WAR file into it, loaded to project and depployed it on my instance of the Portal - or at least I have deployed it as far as the Deploy Tool is concerned.
However, when I try to find it in the Portal in order to assign it to an iView in the Portal content, I can't find any evidence of its existence!!
As another 'tack' in the NDS I have created an 'Enterprise Application Project', into which I appear to have imported the WAR file - but I cant package this as a PAR file, which is what I seem to need to do to get it into an iView on the Portal. To create a PAR package I seem to need to create a 'Portal Application Project' - but I can't find a way of getting the WAR file into that!!
Any further advice would be greatefully received.
Thanks for your help to date and thanks in advance for any more you may be able to give.
Regards,
Dave -
How to deploy fusion web application war file on weblogic
Hi
I am new to ADF. Please let me know how to create war file and the steps for deployment of war file . Its very urgent...Unresolved Webapp Library references for "ServletContext@1289849542[app:ws_ear module:WSAEEAPP-ViewController-context-root path:/WSAEEAPP-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
Specify the JSF library in the config.xml file
<library> <name>[email protected]_2-0-2</name> ... </library>
Refer the library in weblogic.xml
<library-ref> <library-name>jsf</library-name> <specification-version>2.0</specification-version> <implementation-version>1.0.0.0_2-0-2</implementation-version> <exact-match>true</exact-match> </library-ref>
The implementation version may be different. -
Sharing sessions between web applications (WAR files)
I am using weblogic 6.1. The opinion I have read indicates that
sessions cannot be shared between WAR files. That is, I cannot put an
attribute on the session from a servlet/JSP in one WAR file and read
it out from the other. The only justification I've seen is "security".
Now, I find this rather difficult to accept for several reasons:
1. I cannot fathom what kind of "security" would prevent me from
sharing the session between two web applications that I wrote myself.
Let's say I want to write a system that I divide up, for
modularity/separate deployment purposes, into 5 different WAR files.
Why should I not be able to just sign on once and pass that logon
information in the session from one to the other? (I know, I can use
cookies or URL rewriting - but that doesn't seem to be to be a good
solution. And if you can share information through cookies, why not
through sessions?) What about other user information like currently
selected language?
2. Several app servers (iPlanet and I have heard two others) allow you
to share sessions between WARs. Why not weblogic?
Thanks for any information you can give me. I have not been able to
find anything in weblogic documentation about this. If I am
misunderstanding the server capabilities, please enlighten me.
Thanks,
<>< gary
http://www.weblogic.com/docs51/classdocs/webappguide.html
--kumar allamraju
Grant Lewis wrote:
> I'm currently evaluating weblogic and I can't find any references in
> their documentation set stating they support web applications or war
> files. They explicitly state in their docs the Servlet 2.2 specification
> has been supported since version 4.5. I'm evaluating version 5.1. Can
> anybody clear up the confusion for me.
>
> Grant
-
Web application .war file
I have a war file with the following structure
index.jsp
WEB-INF/web.xml
WEB-INF/classes (all my servlets here)
WEB-INF/lib (all my application jar files)
The web.xml just defines all the servlets as follows
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name> HtmlServlet </servlet-name>
<servlet-class> <PKG PATH>.HtmlServlet </servlet-class>
</servlet>
<servlet>
<servlet-name> ChartServlet </servlet-name>
<servlet-class> <PKG PATH>.ChartServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> HtmlServlet </servlet-name>
<url-pattern> /HtmlServlet </url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name> ChartServlet </servlet-name>
<url-pattern> /ChartServlet </url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
=======================================
WHen I run my application, the index.jsp starts compiling
and throws an error
java.lang.NoClassDefFoundError: org/omg/CORBA/ORB
This class is in one of the jar files in my WEB-INF/lib folder.
What am I missing? Do I have to declare something in my web.xml file or do I need to put that in weblogic.xml? Currently I dont
have any weblogic.xml file.
Thanks,
Bharat NagwaniHi Michael,
I am having the same problem. can you provide more information. I was not
able to find out the answer in the servlet 2.2 specification.
Thanks,
Rob
Michael Girdley wrote:
I believe that you need to register your helper classes in the Web.XML file
in your Web application. Check out the servlet 2.2 specification for more
information.
Thanks,
Michael
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"bharat nagwani" <[email protected]> wrote in message
news:3a71da38$[email protected]..
I have a war file with the following structure
index.jsp
WEB-INF/web.xml
WEB-INF/classes (all my servlets here)
WEB-INF/lib (all my application jar files)
The web.xml just defines all the servlets as follows
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name> HtmlServlet </servlet-name>
<servlet-class> <PKG PATH>.HtmlServlet </servlet-class>
</servlet>
<servlet>
<servlet-name> ChartServlet </servlet-name>
<servlet-class> <PKG PATH>.ChartServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> HtmlServlet </servlet-name>
<url-pattern> /HtmlServlet </url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name> ChartServlet </servlet-name>
<url-pattern> /ChartServlet </url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
=======================================
WHen I run my application, the index.jsp starts compiling
and throws an error
java.lang.NoClassDefFoundError: org/omg/CORBA/ORB
This class is in one of the jar files in my WEB-INF/lib folder.
What am I missing? Do I have to declare something in my web.xml file or doI need to put that in weblogic.xml? Currently I dont
have any weblogic.xml file.
Thanks,
Bharat Nagwani -
How to Deploy a ColdFusion WAR File
ColdFusion 9 (and other versions) has the ability to package a CF application as a WAR file. Has anybody on the planet ever done this and successfully deployed their ColdFusion application to something like CloudBees (http://www.cloudbees.com/) or Amazon Elastic Beanstalk (http://aws.amazon.com/elasticbeanstalk/)?
I have tried both and failed. Google is strangely silent on the issue, coming back with almost no search results. Has anyone out there done anything like this?
Thanks!
SteveDId you deploy CF on AWS or Cloudbees yet? I'm about to embark on this task.
I'll share once complete.
Thanks. -
Is it possible to import an existing Struts web app WAR file into Workshop?
I browse the documents and tried using the workshop with no avail trying to import
an existing Struts WAR file. If someone know of a way doing this, I would really
appreciate a pointer or so. If this is not possible, please let me know so I will
not end up pulling out all my hair....
TIAExport the OMF from an audio app like ProTools or Logic as a stereo pair AIFF, then use that with your video. Chop it up if you need to checkerboard.
Of course this will only work if the audio is very simple - overlapping audio will mess you up. If you can figure out the audio app part, you can split up your OMF into separate tracks.
But then if you can't get it into an audio app, you're a bit hosed. -
How to deploy web applications on d:\web
Hi all,
I am new to this forum and like to know the procedure for deploying a web application
other the default deployment directory. (Eg. I need to deloy a web application
in D:\web directory).Yes. The new Weblogic J2EE book requires installation in 'c:\wlserver6.0' for the
examples to work, so that is
where I put it.
Cheers
"Mohan" <[email protected]> wrote:
>
R u sure? I think u r refering to the default installation directory
which is
c:\bea.
"Donald Stadler" <[email protected]> wrote:
The installation program gives an option to change the default deployment
directory.
I used it myself on intallation.
"S.Mohan" <[email protected]> wrote:
Hi all,
I am new to this forum and like to know the procedure for deployinga
web application
other the default deployment directory. (Eg. I need to deloy a web
application
in D:\web directory). -
How to upload comm seperated flate file into sap r/3?
plz send me any simple report program
Hi,
Please refer code below:
data : begin of itab1 occurs 0,
values(1000) type c,
end of itab1.
PARAMETERS : p_file LIKE rlgrap-filename OBLIGATORY.
DATA : filename TYPE string.
DATA : w_textout LIKE t100-text.
DATA: BEGIN OF messtab OCCURS 0.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.
data : begin of itab occurs 0,
BLDAT(10) TYPE C,
BLART(2) TYPE C,
BUKRS(4) TYPE C,
BUDAT(10) TYPE C,
MONAT(2) TYPE C,
WAERS(5) TYPE C,
NEWBS(2) TYPE C,
NEWKO(17) TYPE C,
WRBTR(13) TYPE C,
SGTXT(50) TYPE C,
GSBER(4) TYPE C,
KOSTL(10) TYPE C,
AUFNR(10) TYPE C,
TNEWBS(2) TYPE C,
TNEWKO(17) TYPE C,
TWRBTR(13) TYPE C,
end of itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CLEAR p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
start-of-selection.
filename = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = filename
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
* HEADER_LENGTH = 0
* READ_BY_LINE = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* VIRUS_SCAN_PROFILE =
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
DATA_TAB = itab1
* EXCEPTIONS
* FILE_OPEN_ERROR = 1
* FILE_READ_ERROR = 2
* NO_BATCH = 3
* GUI_REFUSE_FILETRANSFER = 4
* INVALID_TYPE = 5
* NO_AUTHORITY = 6
* UNKNOWN_ERROR = 7
* BAD_DATA_FORMAT = 8
* HEADER_NOT_ALLOWED = 9
* SEPARATOR_NOT_ALLOWED = 10
* HEADER_TOO_LONG = 11
* UNKNOWN_DP_ERROR = 12
* ACCESS_DENIED = 13
* DP_OUT_OF_MEMORY = 14
* DISK_FULL = 15
* DP_TIMEOUT = 16
* OTHERS = 17
LOOP AT ITAB1.
SPLIT ITAB1 AT ',' INTO ITAB-BLDAT ITAB-BLART ITAB-BUKRS ITAB-BUDAT ITAB-MONAT
ITAB-WAERS ITAB-NEWBS ITAB-NEWKO ITAB-WRBTR ITAB-SGTXT ITAB-GSBER ITAB-KOSTL ITAB-AUFNR.
APPEND ITAB.
ENDLOOP.
Thanks,
Sriram Ponna. -
How to deploy Jdeveloper application to war file using jasper reports?
Hello people,
I´m not sure I this is the right place to ask, but I really need help.
I´m using Jdeve 10.1.3.2
My application is working perfectly. However when I deploy to war file in publish it into application server OC4J. I can´t print report.
the error says that it can´t find jrxml file.
I´ve tried to deploy report´s files with the applicaiton. I´ve tried just to set the path of the jrxml file. but nothing works.
How can I deploy my applicattion to use Jasper reports correctly?
Thanks willianHi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin -
How do I convert an war file to ear file, deploying weblogic apps
Problem Description: I have a war file from a legacy application that needs to be migrated to weblogic. To migrate this application to weblogic, we need a ear file. Reading weblogic doc. it says we needs to use ant utility on an exploded web content application folder/ directory to create the ear file. I need to covert the existing war file to ear file , if it is doable or create one from the scratch. I need to know how to do that in weblogic. Please let me know if you have any hints .
ThanksHI,
Please try the following to convert your WAR file into an EAR exploded archieve:
*1).* Create a Directory in your file system.
Example:
/home/apps/MyFirstEAR
*2).* Place the WAR file inside the above Directory. (Suppose your WAR file name is test.war)
Example:
/home/apps/MyFirstEAR/test.war
*3).* Now create a "META-INF" directory inside "/home/apps/MyFirstEAR" directory
*4).* Now create an "application.xml" file like following inside "/home/apps/MyFirstEAR/META-INF" directory:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<description>Test EAR Example</description>
<display-name>TestEAR Example</display-name>
<module>
<web>
<web-uri>test.war</web-uri>
<context-root>test</context-root>
</web>
</module>
</application>
*5).* Your EAR is ready now you can deploy the "MyFirstEAR" directory in the WebLogic Server.
NOTE: if you want to place the "test.war" file also as an exploaded format content inside the EAR then you need to extract the test.war file and then in place of the test.war you can have "test" directory at the same place.
You need to change the "application.xml" file like below in that case:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<description>Test EAR Example</description>
<display-name>TestEAR Example</display-name>
<module>
<web>
<font color=red> <web-uri>test</web-uri> </font><br>
<context-root>test</context-root>
</web>
</module>
</application>
For more information on an EAR application structure you can refer to : http://middlewaremagic.com/weblogic/?p=1952
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here)
Maybe you are looking for
-
I have remote locked my mac using find my iPhone app via my iPad - I am unable to enter the unlock code as the mac keyboard won't pair with the mac - I guess that will teach me for playing...any ideas?
-
Thumbnails will not load in elements 12 organizer, using windows 8.1
The thumbnails will not load (hourglass icon appears on each photo) on Elements 12 using Windows 8.1. I have updated the Elements to Core Version 12.1. Any ideas how to fix this?
-
Dvd player is playing the sound of the movie but screen is black
Hello! When I put a CD is put in it starts like usual but the picture never comes up. I can hear the sound of the movie and it plays but I cannot see anything. I restarted and it worked for a minute but when I went into safari for a second and came b
-
Battery issue hasnt been solved by the update, battery life is still crappy on my iPod Touch 4th Generation...... 5.0.1 !! Needs to be solved!
-
Unable to import DWG CAD files to WCS
Hi all, I am trying to import a DWG CAD file to my WCS 4.2.62.0 for a floor area. Everything I read says I can import DWG CAD files (as well as gif, jpeg, and png) for Floor Areas but I am unable to do so. I get the following error message: The image