Application.xml in ear file
Hi
When we deploy to ear file the application.xml file is created with the following root tag:
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee">
Previously (Jdev10.1.2) it was created with only:
<application>
We are running on an older app server which does not accept the new tag. Any way to set up 10.1.3 to deploy the same tag as the previous version?
If I manually edit the ear file and change the application.xml file, it runs fine on the older app server. We do not want this manual intervention.
Thank you
Does setting a target platform in the deployment profile that points to a 10.1.2 application server works?
Also you can create a 1.3 application.xml using New->deployment descriptor->J2EE deployment descriptor wizard
Similar Messages
-
How to use application params in .EAR files
When we build an ear file , Weblogic-application.xml provides application-param
tag?
are they similar to env-entry in ejb-jar.xml.
Can I use application-param tag to define a configurable params
say myName and value as "Harshad"
How do i read it in the application say a simple java class that is included in
a jar inside the ear file.application-param tag in weblogic-application.xml may be used to define parameters:
webapp.encoding.default
webapp.encoding.usevmdefault
webapp.getrealpath.accept_context_path
http://e-docs.bea.com/wls/docs81/programming/app_xml.html#1034632
"Harshad Nanal" <[email protected]> wrote:
>
When we build an ear file , Weblogic-application.xml provides application-param
tag?
are they similar to env-entry in ejb-jar.xml.
Can I use application-param tag to define a configurable params
say myName and value as "Harshad"
How do i read it in the application say a simple java class that is included
in
a jar inside the ear file. -
How to get built.xml for ear file in jdeveloper?
Hi,
I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file.
Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?This blog explains:
http://adfhowto.blogspot.com/2011/03/ojdeploy-deploying-adf-application-from.html
Based on the blog, I simply copied an existing project "deploy" target definition and augmented the project's build.xml with a new target "deployApp" that omits the Project parameter to ojdeploy. This causes ojdeploy to build the workspace-level deploy profile instead. I also omitted the output directory parameter (default is app's /deploy folder) and assume that there is only one application deployment profile (i.e. the default for profile parameter is the '*' wildcard). You can augment the build.properties file if you need to get fancier than that.
<target name="deployApp" description="Deploy Complete YourFoo Application"
depends="init">
<taskdef name="ojdeploy"
classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
uri="oraclelib:OJDeployAntTask"
classpath="${oracle.jdeveloper.ant.library}"/>
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${oracle.jdeveloper.ojdeploy.path}"
ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
<ora:deploy>
<ora:parameter name="workspace"
value="${oracle.jdeveloper.workspace.path}"/>
<ora:parameter name="profile"
value="${oracle.jdeveloper.deploy.profile.name}"/>
<ora:parameter name="nocompile" value="true"/>
</ora:deploy>
</ora:ojdeploy>
</target> -
How to extract XML from EAR file?
how to Extract weblogic-application.xml file from StellentPortlets.ear file ???
http://en.wikipedia.org/wiki/EAR_(file_format)
An EAR file is a standard JAR file (and therefore a Zip file) with a .ear extension, with one or more entries representing the modules of the application, and a metadata directory called META-INF which contains one or more deployment descriptors.
7zip is a nice tool for me but most any should be usable. -
Error exporting application into a ear file
I'm developing an application with the Sun One 5 IDE,and Application server 8, i'm making CMP entity bean, when i try to export to an ear file an error occur
Validation failed for entities.CMPAdministradorBean. Verify that all fields are mapped.
CMP Mapping Error in bean CMPAdministrador:: Warning: The bean pcImpl0.moduleComp0.entities.CMPAdministrador is not mapped.
Set the primary table for the bean.
No jndi-name defined for the cmp-resource element of this module.
Select the SunONE tab for the ejb module and configure the CMP Resource property.
and they can't make the ear
somebody can help me with this.
Thank youFigured it out, found similar post that stated changing the HEAP size
Increase the page size in odiparams.bat in the bin folder and restart Designer.
For eg:
set ODI_INIT_HEAP=128m
set ODI_MAX_HEAP=1024m -
Sort order in Java application (oc4j container) -- ear file deployment
I have a Java application deploy in Oracle OC4J container (EAR file).
In my Java application (jsp), I have a SQL statement who return data but the
sort order is wrong. The letters "é" and all characters with accents
appears at the end of the result.
I tried many things to change the sort order (NLS parameters in database
and OAS10g parameter files).
When I use SQL*plus on database server, that's working.
The sort order is wrong when I use the java application.
Somebody can tell me what and where is the NLS parameters to change ?
Thanks
RobinRobin,
I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
Maybe you should try the Globalization Support forum?
Good Luck,
Avi. -
How do I specify utility jars that my application needs in EAR file
I'm using weblogic 7.0 and trying to deploy and application. I would like to add
any utility classes related to this application with in the .ear file and deploy
the application. Where should I add these files. Does APP-INF/lib work with 7.0?
Please suggest some sol...
ThanksYou'll need to use manifest class-path entries in 7.0. It's covered in
the J2EE spec, or if you search this newsgroup, you should see plenty of
examples.
-- Rob
Jaya wrote:
I'm using weblogic 7.0 and trying to deploy and application. I would like to add
any utility classes related to this application with in the .ear file and deploy
the application. Where should I add these files. Does APP-INF/lib work with 7.0?
Please suggest some sol...
Thanks -
Session sharing across web applications in an EAR File
Hi,
I have an ear file which further has 5 war files. I want to share the same session
object across all these war files in the ear file. Can u pls tell me if this is
possible in weblogic. If yes how?
Thanks,
AkashI'm sorry, by the J2EE 1.3 specification this isn't allowed. I have sent it on
to the servlet team to add as an option but that won't be in time for you. If
you need to share state between them I would probably try and put it in another
place like an EJB or a singleton class in the system classpath.
Sam
[email protected] wrote:
Hi,
I have an ear file which further has 5 war files. I want to share the same session
object across all these war files in the ear file. Can u pls tell me if this is
possible in weblogic. If yes how?
Thanks,
Akash -
Porting *.war files and *.ear files to Weblogic 10.3
If we can figure this issue out, I'll see if I can't publish/post a
maven-based solution in the Maven and Oracle forums so that others
will not have to go through our pain.
We are having all the usual problems regarding where Weblogic expects
to find things and what exclusions need to be made in weblogic.xml for
war files and weblogic-application.xml for ear files. Any insights
would be deeply appreciated.
Here is what our exploded war structure currently looks like.
|____index.jsp
|____WEB-INF
| |____lib
| | |____...a long list of jar files
| |____tags
| | |____...a short list of tag files
| |____applicationContext.xml
| |____web.xml
| |____content
| | |____...a bunch of jsps
| |____tlds
| | |____...some tlds
| |____classes
| | |____mailProperties.properties
| | |____struts.xml
| | |____logback.xml
| | |____com ... the root of our class heiarchy
|____images
| |____...a list of images
|____META-INF
| |____maven
| | |____com
| | | |____project-name
| | | | |____pom.xml
| | | | |____pom.properties
| |____MANIFEST.MF
|____script
| |____...some java script files
|____style
| |____...some css files
Exceptions when trying to deploy are as follows:
INFO: ... initialized Struts-Spring integration successfully
java.lang.Exception: Could not load
servers/AdminServer/tmp//appmergegen_1254502686535_OurApp/war/WEB-INF/classes/com...
at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:745)
at com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:148)
The exception above repeats for every .class file found below
WEB-INF/classes/com, i.e. the the ones in this module rather than the
ones in included modules.
Checking the file system shows that there is no such directory as
"appmergegen_1254502686535_conap". I'm uncertain if there is actually
supposed to be anything there, but it would seem like it.
I've a theory that if we can solve the above issue, we can solve the
rest ourselves.
It would also be handy to know what packages may cause conflicts.Alright, my research points to the idea that this might have something to do with staging. Since this is a dev setup we don't have any managed servers or anything. All we have is AdminServer and that is it. We have only one domain and it is "base_domain". Does anyone know if this is wrong?
-
How to add sun-application.xml to ear file.
How to create a new deployment descriptor for sun-application.xmlYes , but when i add this file to META-INF directory and then create EAR file througth deploy to EAR wizard , this file is not added to ear archive . Only application.xml file is added to ear archive . How to cahnge deploy properties , in order to add this sun-application.xml sun app. server specific file .
-
Deploy given EAR file having application.xml and change context-root
hi
Please consider deploying a given EAR file on WebLogic Server 10.3.5 (part of JDeveloper 11.1.1.6.0) and changing the context-root for its web-module.
For example an EAR file with only a web-module (ReviewContextRootFirstApp.ear [1]) or an EAR file with a web-module and an ejb-module (ReviewContextRootSecondApp.ear [2]).
Given documentation appendix B section "context-root" [3] saying
"... A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml. ..."
and documentation section "Typical Deployment Configuration Workflows" [4] saying
"Oracle does not support using a deployment plan to change the context-root in an application.xml file. However, if an application is deployed as a library, you can either change the context-root through an weblogic-application.xml file or use the deployment plan to change the context-root in an weblogic-application.xml file. "
Some observed behaviour:
- scenario (sc1) : deploy ReviewContextRootFirstApp.ear without deployment plan, results in context-root "/rcrfaweb" (as in application.xml)
- scenario (sc2) : deploy ReviewContextRootFirstApp.ear with deployment plan fa-plan.xml (tries to configure "/rcrfaweb11"), results in context-root "/rcrfaweb" (as in application.xml)
- scenario (sc3) : deploy ReviewContextRootSecondApp.ear without deployment plan, results in context-root "/rcrsaweb" (as in application.xml)
- scenario (sc4) : deploy ReviewContextRootSecondApp.ear with deployment plan sa-plan.xml (tries to configure "/rcrsaweb21"), results in context-root "/rcrsaweb" (as in application.xml)
The blog post "Defining the context root of a web application in Oracle WebLogic server" [5] by Silviu Leahu in its section "Defining the context root in deployment plan" suggests to
"Remove the META-INF/application.xml DD from the EAR"
- scenario (sc5) : remove application.xml from ReviewContextRootFirstApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan fa-plan.xml, results in context-root "/rcrfaweb11" (as in fa-plan.xml)
- scenario (sc6) : remove application.xml from ReviewContextRootSecondApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan sa-plan.xml, results in context-root "/rcrsaweb21" (as in sa-plan.xml)
One could expect that using a deployment plan (like in scenario's (sc2) and (sc4)) would allow to configure/change the context-root, whithout having to make changes to the EAR file to make this possible. (Somewhat like "Figure 4-2 Single Deployment Plan Workflow")
Only in scenario's (sc5) and (sc6) I see something close to what I would like to achieve, but there the application.xml file has been removed from the EAR file.
So ...
- (q1) Is it impossible to change the context-root at deploy-time for a web-module in a given EAR file that includes an application.xml file, without changing the EAR file?
- (q2) Is working with EAR files that don't have an application.xml file a supported approach (to change the context-root at deploy-time)?
Seems like a simple goal, but I must be missing something that is required to achieve it.
- [1] ReviewContextRootFirstApp/deploy/ReviewContextRootFirstApp.ear in the ZIP file
at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
- [2] ReviewContextRootSecondApp/deploy/ReviewContextRootSecondApp.ear in the (same) ZIP file
at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
- [3] http://docs.oracle.com/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#WBAPP623
- [4] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
- [5] http://blog.leahu.net/it/2011/01/04/defining-the-context-root-of-a-web-application-in-oracle-weblogic-server/
many thanks
Jan VerveckenThanks for your reply René van Wijk.
René van Wijk wrote:
You can use deployment plans in order to change the context-root ...That is what I tried and describe in scenario's (sc2), (sc4), (sc5) and (sc6) in this forum thread.
Because the application.xml file (in the "given EAR file"), added by JDeveloper 11.1.1.6.0 when deploying to an EAR file, doesn't have id attributes on its application/module elements, I first tried a different XPath expression:
"/application/module/web[web-uri/text()="WebProject.war"]/context-root"
But, that didn't work.
Although the "given EAR file" does not have the suggested id attributes, I tried adding a deployment descriptor application.xml file that does have such id attributes [2], allowing an XPath expression like the one suggested:
"/application/module[id="WebProject"]/web/context-root"
- scenario (sc7) : deploy ReviewContextRootFirstApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan fa-plan-application-xml-with-id.xml (tries to configure "/rcrfaweb14"), results in context-root "/rcrfaweb" (as in application.xml)
- scenario (sc8) : deploy ReviewContextRootSecondApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan sa-plan-application-xml-with-id.xml (tries to configure "/rcrsaweb24"), results in context-root "/rcrsaweb" (as in application.xml)
So, it does not seem to work.
... you have to use a variable assignment in the right part of the deployment plan (in this case the application.xml) ...My observations I describe above (that it does not seem to work) seem to confirm the Oracle documentation [1] I referred to in this forum thread before:
"Oracle does not support using a deployment plan to change the context-root in an application.xml file. ... "
... By using an xpath expression, you can define which part of the xml has to be changed. ...The values for the deployment-plan xpath elements seem to be "peculiar".
Although it should not be a problem in an XPath expression, using single quotes (like module[id='WebProject'] ) instead of double quotes (like module[id="WebProject"] ) results in:
"java.lang.AssertionError: Attributes must be defined as name value pairs, eg, name="value" -- [id='WebProject']"
Because an XPath predicate expression would use an "@" to refer to an attribute, I also tried to replace what you suggested module[id="Web"] with something like module[@id="Web"] but that also did not make a difference.
- [1] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
- [2] http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.02.zip
regards
Jan Vervecken -
Fail to deploy ear file to AS10g
Hi friends,
I use Jdev10g to generate ear file and dcmctl to deploy to AS10g. Something must have been wrong but I couldn't work it out. Really need your help.
--info: Project:"Master Detail page using ADF"
http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_ComplexMasterDetail.zip
--Here are my WAR and EAR file
unzip -l ../ias904/mywork/ADF_ComplexMasterDetail.ear
Archive: /raid1/oracle/ias904/mywork/ADF_ComplexMasterDetail.ear
Length Date Time Name
104 09-21-04 13:28 META-INF/MANIFEST.MF
4730626 09-21-04 13:28 ADF_ComplexMasterDetail.war
439 09-21-04 10:39 META-INF/application.xml
285 09-21-04 10:36 META-INF/orion-application.xml
4731454 4 files
unzip -l ../ias904/mywork/ADF_ComplexMasterDetail.war
Archive: /raid1/oracle/ias904/mywork/ADF_ComplexMasterDetail.war
Length Date Time Name
104 09-21-04 13:28 META-INF/MANIFEST.MF
3175 09-21-04 13:28 WEB-INF/classes/DataBindings.cpx
439 09-21-04 11:17 WEB-INF/classes/META-INF/application.xml
575 09-21-04 13:26 WEB-INF/classes/META-INF/data-sources.xml
285 09-21-04 11:17 WEB-INF/classes/META-INF/orion-application.xml
613 09-21-04 13:26 WEB-INF/classes/Model.jpx
881 09-21-04 13:28 WEB-INF/classes/connections.xml
1844 09-21-04 13:26 WEB-INF/classes/model/DepartmentManagersView.xml
4004 09-21-04 13:26 WEB-INF/classes/model/Departments.xml
3849 09-21-04 13:26 WEB-INF/classes/model/DepartmentsImpl.class
1975 09-21-04 13:26 WEB-INF/classes/model/DepartmentsView.xml
364 09-21-04 13:26 WEB-INF/classes/model/DepartmentsViewImpl.class
1329 09-21-04 13:26 WEB-INF/classes/model/DeptMgrFkAssoc.xml
1091 09-21-04 13:26 WEB-INF/classes/model/DeptMgrFkLink.xml
1336 09-21-04 13:26 WEB-INF/classes/model/EmpDeptFkAssoc.xml
1095 09-21-04 13:26 WEB-INF/classes/model/EmpDeptFkLink.xml
1332 09-21-04 13:26 WEB-INF/classes/model/EmpJobFkAssoc.xml
1343 09-21-04 13:26 WEB-INF/classes/model/EmpManagerFkAssoc.xml
1098 09-21-04 13:26 WEB-INF/classes/model/EmpManagerFkLink.xml
9312 09-21-04 13:26 WEB-INF/classes/model/Employees.xml
7121 09-21-04 13:26 WEB-INF/classes/model/EmployeesImpl.class
3836 09-21-04 13:26 WEB-INF/classes/model/EmployeesView.xml
1135 09-21-04 13:26 WEB-INF/classes/model/EmployeesViewImpl.class
2842 09-21-04 13:26 WEB-INF/classes/model/Jobs.xml
3368 09-21-04 13:26 WEB-INF/classes/model/JobsImpl.class
997 09-21-04 13:26 WEB-INF/classes/model/client/EmployeesViewClient.class
239 09-21-04 13:26 WEB-INF/classes/model/common/EmployeesView.class
1210 09-21-04 13:26 WEB-INF/classes/model/common/bc4j.xcfg
1273 09-21-04 13:26 WEB-INF/classes/model/hrService.xml
1717 09-21-04 13:26 WEB-INF/classes/model/hrServiceImpl.class
2152 09-21-04 13:26 WEB-INF/classes/model/model.xml
3591 09-21-04 11:17 WEB-INF/classes/view/BrowseAllEmployeesAction.class
1122 09-21-04 11:17 WEB-INF/classes/view/BrowseEmployeesInDeptAction.class
1179 09-21-04 11:17 WEB-INF/classes/view/QueryEmployeesAction.class
4529 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseAllDepartmentsUIModel.xml
5104 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseAllEmployeesUIModel.xml
6195 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseEmployeesInDeptUIModel.xml
4436 09-21-04 11:17 WEB-INF/classes/view/UIModels/editEmployeeInDeptUIModel.xml
4300 09-21-04 11:17 WEB-INF/classes/view/UIModels/editEmployeeUIModel.xml
3742 09-21-04 11:17 WEB-INF/classes/view/UIModels/masterDetailUIModel.xml
3631 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryAllDepartmentsUIModel.xml
6130 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryEmployeesInDeptUIModel.xml
2174 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryEmployeesUIModel.xml
1010 09-21-04 13:28 WEB-INF/classes/view/resources/AppSampleResources.properties
3581 09-21-04 13:28 WEB-INF/classes/view/resources/ApplicationResources.properties
1810 09-21-04 11:17 WEB-INF/classes/view/util/HelpDispatcherAction.class
49438 05-14-04 19:28 WEB-INF/lib/adf-controller.jar
163279 05-14-04 19:28 WEB-INF/lib/bc4jhtml.jar
42730 05-14-04 19:29 WEB-INF/lib/bc4juixtags.jar
118726 06-30-03 11:50 WEB-INF/lib/commons-beanutils.jar
165119 06-30-03 11:50 WEB-INF/lib/commons-collections.jar
109096 06-30-03 11:50 WEB-INF/lib/commons-digester.jar
112307 05-11-04 17:17 WEB-INF/lib/commons-el.jar
22379 06-30-03 11:50 WEB-INF/lib/commons-fileupload.jar
63980 06-30-03 11:50 WEB-INF/lib/commons-lang.jar
31605 06-30-03 11:50 WEB-INF/lib/commons-logging.jar
46865 06-30-03 11:50 WEB-INF/lib/commons-validator.jar
140889 05-14-04 19:29 WEB-INF/lib/datatags.jar
17747 05-14-04 19:29 WEB-INF/lib/graphtags.jar
65368 06-30-03 11:50 WEB-INF/lib/jakarta-oro.jar
191881 01-28-04 03:32 WEB-INF/lib/jaxen-full.jar
3086 05-11-04 17:17 WEB-INF/lib/jsp-el-api.jar
21128 01-28-04 03:32 WEB-INF/lib/jstl.jar
3503 05-11-04 17:17 WEB-INF/lib/oracle-el.jar
23563 01-28-04 03:32 WEB-INF/lib/saxpath.jar
515490 01-28-04 03:32 WEB-INF/lib/standard.jar
498051 06-30-03 11:50 WEB-INF/lib/struts.jar
1271111 01-28-04 03:32 WEB-INF/lib/xalan.jar
2529 03-01-04 04:34 appsample_files/10gwelcome.gif
37314 03-03-04 00:26 appsample_files/blaf-en-ie-6.css
62 04-04-03 06:32 appsample_files/c-ghb.gif
61 04-04-03 06:32 appsample_files/c-ghbr.gif
66 04-04-03 06:32 appsample_files/c-ghcb.gif
145 04-04-03 06:32 appsample_files/c-ghct.gif
49 04-04-03 06:32 appsample_files/c-ght.gif
68 04-04-03 06:32 appsample_files/c-ghtl.gif
68 04-04-03 06:32 appsample_files/c-ghtr.gif
5395 03-03-04 00:26 appsample_files/mod_jdeveloper.css
661 01-29-04 08:35 appsample_files/return.gif
1870 03-02-04 20:23 appsample_files/sample_footer.jsp
7957 03-02-04 08:04 appsample_files/sample_header.jsp
1544 03-02-04 20:20 appsample_files/sample_help_footer.jsp
1490 03-02-04 20:19 appsample_files/sample_help_header.jsp
747 03-26-04 17:08 appsample_files/sample_sidebar.jsp
2105 04-04-03 06:47 appsample_files/samples.gif
272 04-04-03 07:19 appsample_files/wwv_help.gif
4974 03-05-04 21:35 browseAllDepartments.jsp
5730 03-08-04 23:31 browseAllEmployees.jsp
5213 03-08-04 15:01 browseEmployeesInDept.jsp
2594 03-03-04 00:22 css/jdeveloper.css
3485 03-03-04 21:37 editDepartment.jsp
5063 03-08-04 23:27 editEmployee.jsp
2686 02-12-04 10:18 editEmployeeInDept.jsp
3279 03-08-04 14:50 help/MasterDetailJSPKey.jsp
14710 03-06-04 14:03 help/helpSection1.jsp
15223 03-08-04 23:47 help/helpSection2.jsp
16556 03-08-04 23:09 help/helpSection3.jsp
2191 03-03-04 20:37 help/helpSection4.jsp
36555 03-08-04 13:37 help/images/StrutsPageFlow.jpg
19352 03-03-04 22:13 help/images/section1_flow.gif
8532 03-08-04 13:41 help/images/section2_flow.gif
5454 03-08-04 19:08 help/images/section3_flow.gif
247 02-09-04 14:58 images/ViewObject.gif
806 02-11-04 09:33 images/sideMenuBottom.gif
833 02-11-04 09:31 images/sideMenuBottomC.gif
806 02-11-04 09:29 images/sideMenuRight.gif
806 02-11-04 09:33 images/sideMenuTop.gif
831 02-11-04 09:31 images/sideMenuTopC.gif
1739 04-05-04 16:59 index.jsp
5272 03-03-04 20:53 masterDetail.jsp
6132 03-26-04 17:06 queryAllDepartments.jsp
5104 03-08-04 23:34 queryEmployees.jsp
9543 03-08-04 23:33 queryEmployeesInDept.jsp
5468 02-18-04 10:11 sideMenu.jsp
517075 02-09-04 15:07 web-inf/lib/standard.jar
227 09-21-04 11:15 web-inf/orion-web.xml
8868 02-09-04 14:54 web-inf/struts-bean.tld
10175 09-20-04 14:42 web-inf/struts-config.xml
65029 02-12-04 10:52 web-inf/struts-html-el.tld
66192 02-10-04 12:03 web-inf/struts-html.tld
2513 02-12-04 10:53 web-inf/web.xml
4713475 121 files
--when I deployed on AS10g using:
"dcmctl
deployApplication -file ../ias904/mywork/ADF_ComplexMasterDetail.ear -a jdev9051samples/JSPMasterDetail"
I got following error:
ADMN-300158
Jar file: /var/tmp/jar64914.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Jar file: /var/tmp/jar64914.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
Resolution:
at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
Thanks in advance.I wish there is a forum for JDev like asktom.oracle.com for DBA.
I posted several questions but receive no feedback.
future never wait :-( -
Static files within a ear file - help me if you can I am feeling down
I am using oc4j.
I have some static files (templates and configuration files for the applications) in an ear file.
These files are addressed via web.xml init param and I use relative path.
This works in my "working directory".
But when I deploy the ear file the servlet cannot access the file (io exception file test/templates/temp.txt not found).
Has anybody an idea how I must address the files in the web.xml?
How can I address the files from /test level?
Or is somthing wrong with the structur of the directory?
my "working dirctory"
appname/
META-INF/application.xml
test/
web-inf/web.xml
/classes
/lib
templates/temp.txt
init-param
<param-value>appname/test/templates/temp.txt</param-value>
init-param
<param-value>/test/templates/temp.txt</param-value>
thanks in advance
peterIf these files are only accessed from the web module, then put these files in a subdirectory of the "WEB-INF" directory of the war file.
-
Java proxy and EAR file in NDS
Hi,
I'm new in java and also proxy development and I need some help
I have followed the pdf how to create java proxies in 3.0.
But i have some doubts:
Must I delete aii*.jar libraries from the EAR create?
I have no other .jar archive in that .ear... why? I suppose that is not correct and why my EJB module .jar is not included?
Thanks
carme,Hi, Shabarish
I have followed the same steps point out in this two blogs.
I recreated all my EJB project and application.
The EAR file created only contains:
guidgenerator.jar
aii_utilxi_misc.jar
aii_proxy_xirt.jar
aii_msg_runtime.jar
sda-dd.xml
application-j2ee-engine.xml
application.xml
Sap_manifest.mf
Manifest.mf
and also a file WITHOUT NAME and size 0.
That is not correct... right? -
Issue in Creating EAR File Using ANT in ADF 11g of Jdeveloper11g IDE
Hi
Rookie to this ADF 11g Framework and during the exploring of ADF 11g gone through ADF essentials in OTN and i did sample application of ANT build script and in the ADF Essentials of Ant i came across creating build.xml,build.properties and finally creating WAR file and currently i want to create EAR file so that EAR file can be deployed to my oracle Weblogic server.But ADF Essentials of ANT is totally confined to build.xml,build.properties,WAR file only ! Can any one suggest me the template build.xml of EAR file of any Sample Application so that i can come across what are the patterns,jars,excluded names,included names of EAR .
Thanks In Advance,
Regards
RKRK,
There are a few options. If I were doing this today, I'd just use ojdeploy (and the ojdeploy ANT task) to create the EAR file with a minimum of fuss (refer to the JDeveloper docs for more information).
If you wanted to create an EAR file using the same technique that I used in the ADF Development Essentials article, just follow the same techniques - create an EAR file using JDeveloper and unzip it to discover the structure of what it should look like.
Best,
John
Maybe you are looking for
-
Is there a way to see and have control over who connects to your time capsule wifi network?
Ok, have this question. Have a time capsule wifi network. Have the latest mountain lion on my mac pro. I know if you go into airport utility, and you click on the picture of my timecapsule it shows what clients are connected to my time capsule aka us
-
Duplicate TV Shows in iPod Menu
I've had one season of family guy on my ipod for a few months now that i edited the metadata with lostify to get them to show up under "tv shows"- I just got 2 more seasons on dvd and ripped them to my ipod and downloaded the new version of lostify a
-
my mac book pro is so slow !!! i have enouf free space in my disk !! Geheugen 4 GB 1067 MHz DD Capaciteit: 320,07 GB (320.072.933.376 bytes)
-
hi...im trying to play my mpeg videos on my intel mac and i cant find a way to do can anyone help me...please
-
Can't click on link in Mac Mail to open Firefox
I use Firefox as my default browser on my iMac. Now (for the past month) when I click on a link in Mac Mail nothing happens. It works fine on my Mac-book. Does anyone know how to solve this problem? I should say I can click on a link if I set Safari