Creating EAR File
How to add sun-application.xml to ear file.
How to create a new deployment descriptor for sun-application.xml
Yes , 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 .
Similar Messages
-
Need build.xml to create Ear file using Ant in jdeveloper 11g??
Hi all,
I think Jdeveloper use ANT to create Ear file and how to get build.xml from Jdeveloper.
1) I have created ADF Fusion web Application having separte Model and View Controller.
2) Now when I select View Controller project and then i create New ant-> Build.xml i get the required build.xml which can be used to create war file for my View Controller project.
3) Similarly when I select Model project and then i create New ant-> Build.xml i get the required build.xml which can be used to create Jarfile for my Model project.
4) If I select my application and then i click deploy... I'm able to create my ear file having both war file for View Controller and Jar File for Model.
5) But I dont know how to get built.xml file which will create ear file having both View Controller and Model in it.
Thanks a lot....However note the generated Ant script includes unnecessary targets. See the following blog post: http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
CM. -
How to create .ear file in JDeveloper 10g
Hi, I am new to Jdeveloper. I am using JDeveloper 10g. I have created one project abc.jws under which there are five .jpr folders(DTO.jpr,persistence.jpr,service.jpr,util.jpr,ViewController.jpr). I want to create .ear file for the whole project so that it can be directly put in the production environment. When I right click on the abc.jws and select New, the EAR option under deployment profiles is disabled. I would highly appreciate if someone can help me on this.
Thanks.Hi Rexy,
See if the steps given in [this link|http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm#t3s3] helps
Sireesha -
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 -
Not able to create EAR file for WAR file extracted project
Hi Experts,
I am trying to import a WAR file, make changes to the project and create an EAR file for the same. I am not able to remove import
errors despite of adding required jar files to it.
Also, I am not able to create an EAR file for the same.
I have copied the steps here with screen shots. Below are the steps :
Import WAR file in NWDS 7.3 – Enterprise Portal perspective
Select WAR file to create WAR and EAR project for it.
Project created with import errors. e.g – com.sapportals.portal.prt*
Found jar file from Class – target jar file table.
e.g – for Class com.sapportals.portal.prt.resource.IResource needed jar file is tc~epbc~prt~api.jar
Copied required jar files in WEB-INF -> lib folder.
Configure Build path and Add External jars.
Portalapp file screen shot
I think errors should go now, but they still exist.
Next I right click on WAR project and tried updating related EAR project.
Next, Export EAR file from EAR project.
I have tried both EAR types.
But EAR file is not created.
Please help me in removing the errors.
Thanks in advance :-)
Anubha PandeyHi Anubha,
I feel that you're missing JAR dependencies and hence not able to resolve the above import errors.
Please go through the below thread for the AFP Masthead customization and follow the same:
How to download and change AFP Masthead on SAP Portal 7.3
Hope, this will help!!!
BR,
Anurag -
Error while creating Ear File for project Containing (WAR+MAR) in jdev
hi,
I am trying to deploy my adf application containing MDS customization.While creating EAR from application properties--->deploy--->deploye to EAR i am getting following error.
Wrote MAR file to C:\JDeveloper\mywork\MDSApp\deploy\AutoGeneratedMar.mar
[04:40:07 PM] Wrote Web Application Module to C:\JDeveloper\mywork\MDSApp\ViewController\deploy\MDSApp_ViewController_webapp1.war
*[04:40:07 PM] Warning: Some of the customization documents under '/' are packaged as part of WAR. This metadata cannot be accessed from WAR using MDS.*
*[04:40:07 PM] Info: Namespace '/xliffbundles' is mapped to deploy-target metadata-store-usage 'MAR_TargetRepos' in adf-config.xml but no metadata from the namespace is included in the MAR*.
[04:40:07 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\MDSApp\deploy\MDSApp_application1.ear
[04:40:07 PM] Elapsed time for deployment: 4 seconds
[04:40:07 PM] ---- Deployment finished. ----
my adf-config.xml is as below
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
<adf-property name="adfAppUID" value="MDSApp-3718"/>
</adf:adf-properties-child>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
<sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
authorizationEnforce="true"
authenticationRequire="true"/>
</sec:adf-security-child>
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
<cust-config>
<match path="/">
<customization-class name="oracle.model.mycompany.SiteCC"/>
<customization-class name="oracle.adf.share.config.UserCC"/>
</match>
</cust-config>
<persistence-config>
<metadata-namespaces>
<namespace path="/xliffbundles" metadata-store-usage="MAR_TargetRepos"/>
</metadata-namespaces>
<metadata-store-usages >
<metadata-store-usage id="MAR_TargetRepos" deploy-target="true">
<metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
<property name="jndi-datasource" value="jdbc/mds/DEV_MDS"/>
<property name="partition-name" value="part1"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">
<taglib-config>
<taglib uri="http://xmlns.oracle.com/adf/faces/rich">
<tag name="column">
<attribute name="displayIndex">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="frozen">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="noWrap">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="selected">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="visible">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="width">
<persist-changes>true</persist-changes>
</attribute>
</tag>
<tag name="showDetailHeader">
<attribute name="disclosed">
<persist-changes>true</persist-changes>
</attribute>
</tag>
<tag name="panelSplitter">
<attribute name="collapsed">
<persist-changes>true</persist-changes>
</attribute>
<attribute name="splitterPosition">
<persist-changes>true</persist-changes>
</attribute>
</tag>
</taglib>
</taglib-config>
<persistent-change-manager>
<persistent-change-manager-class>oracle.adf.view.rich.change.MDSDocumentChangeManager</persistent-change-manager-class>
</persistent-change-manager>
</adf-faces-config>
</adf-config>hi frank,
If you have any idea plz reply...We r stucked with metadat-namespace path attribute. -
How to Create EAR file thorugh JDEVELOPER 10.1.3.4
Hi,
I am working on struts database application using JDEVELOPER 10.1.3.4. Earlier i was working On JDeveloper 10.1.2.x version. There i used to create an ear file through Deployment Profile and was quite easy for me to deploy an ear file.
But when i use the same method with JDeveloper 10.1.3.4, and try to deploy .ear file on server, it give me error base Exception jar file /tmp/ft4583.tmp.ear is missing its standard xml descrtor loacted at META-INF/application.xml.
Please help me.
Thanx in advance
Regards
DhananjayThe process should be the same - however there are specific things you'll need to do if you are trying to deploy from JDev 10.1.3 to OAS 10.1.2.
For example: http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/deployment_topics.htm#CIHGIAAE -
Creating ear file from ADF project
Hi All,
I have an ADF project which can be built and deployed using jdeveloper. And I have few ant tasks which I can use to deploy not create. Now I want to create an ear file for this project , are there any ant tasks available, if not , what should be my approach ?
-ThanksHi,
JDeveloper 10.1.3.x does not have Ant tasks that allows you deploy projects deployment configurations from a command line. This is planned for JDevelopepr 11
Frank -
I have no knowledge about a problem with an application created. I want to create an EAR file but I have a problem when I want to access to file directly. The source code is like the follow:
String spath = request.getServletPath();
if (spath != null)
String rpath = getServletConfig().getServletContext().getRealPath(spath);
if (rpath != null)
String pat = TextFormat.formatPath(rpath);
tiempo=System.currentTimeMillis();
xml = bc.getXmlForReport(clave, "F",usuario);
Logger.log("XML" + xml);
EJBLocator loc = new EJBLocator();
Context ctx = loc.getContext();
try{
BasicosHome home_user = (BasicosHome) ctx.lookup("Basicos");
BasicosPK oper_pk = new BasicosPK(clave,"F");
tiempo=System.currentTimeMillis();
Basicos oper = (Basicos) home_user.findByPrimaryKey(oper_pk);
t_emp=(String) oper.getTipoemp();
catch (Exception e) {
e.printStackTrace();
tiempo=System.currentTimeMillis();
if (t_emp.equals("2")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PF.xsl");
}else report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PM.xsl");
/*if (t_emp.equals("1")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_MP.xsl");
}else if (t_emp.equals("3")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_ME.xsl");
}else if (t_emp.equals("4")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PE.xsl");
And the xsl file isn't found becausd the path returned in getServletPath is null.
Could someone to help me about this problem?
Thanks,
D.Solsona
[att1.html]If you are going to use a URL, you may be able to use the ! notation to point inside an EAR/WAR/JAR.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"David Solsona" <[email protected]> wrote in message news:[email protected]..
I have no knowledge about a problem with an application created. I want to create an EAR file but I have a problem when I want to access to file directly. The source code is like the follow:
String spath = request.getServletPath();
if (spath != null)
String rpath = getServletConfig().getServletContext().getRealPath(spath);
if (rpath != null)
String pat = TextFormat.formatPath(rpath);
tiempo=System.currentTimeMillis();
xml = bc.getXmlForReport(clave, "F",usuario);
Logger.log("XML" + xml);
EJBLocator loc = new EJBLocator();
Context ctx = loc.getContext();
try{
BasicosHome home_user = (BasicosHome) ctx.lookup("Basicos");
BasicosPK oper_pk = new BasicosPK(clave,"F");
tiempo=System.currentTimeMillis();
Basicos oper = (Basicos) home_user.findByPrimaryKey(oper_pk);
t_emp=(String) oper.getTipoemp();
catch (Exception e) {
e.printStackTrace();
tiempo=System.currentTimeMillis();
if (t_emp.equals("2")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PF.xsl");
}else report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PM.xsl");
/*if (t_emp.equals("1")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_MP.xsl");
}else if (t_emp.equals("3")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_ME.xsl");
}else if (t_emp.equals("4")) {
report = tra.transform(xml,"file:///" + pat + "/../reports/ReporteOperacion_PE.xsl");
And the xsl file isn't found becausd the path returned in getServletPath is null.
Could someone to help me about this problem?
Thanks,
D.Solsona
[att1.html] -
Where do I find the ANT task for creating ear file in WLI
Hi friends
I was trying to create an ear file out of my process definitions and deploy on weblogic instead of deploying it from Workshop. I heard that there are ANT tasks available that do this but I couldn't find much detail.
I was wondering if somebody can point me to any documentation or anything that'll help me achieve this.
Thanks.
BijanThis may help
-
Hi,
I have a brand new installation of CF9, on a brand new server, configured in multiserver mode. The intial instance seems to be fine and I am trying to create an EAR file so that I can build other instances. When I run the build from the CF Administrator, it looks like it's doing some thing but then times out. If I reload the page, the archive looks like it has been created. However, when I try to use it while adding a new instance, it says the package can't be found. What am I doing wrong? The only think I can think of is that I used a .car file from a stand alone CF8 version after the CF 9 installation. If that is the problem, what do I do to get rid of the car file data?
Thanks.Well, the good news is that the CAR file deployment should be the way to go. As I feared, you saw the WAR option and like others were perhaps led to think it was "the" way to go (whether from the interface, the docs, or perhaps someone's suggestion). It really serves a different purpose (though, yes, it COULD be used for this purpose too. More on that in a moment.)
First, I'll say also that I assume that you chose to switch to the Multiserver mode on the new server because you thought it would give you some new flexibility. It will, though if you're only going to have one instance on the new server, you don't really need to use multiserver. As this episode shows, with its power comes also more need to understand its ins/outs (not least of which are the vastly different directory locations, as I showed in the last note). I know some pundits suggest it's "the way" to go, but not everyone needs it. And to be very clear, you can certainly install CF9 in Server mode (or as you called it "single server"), and then if you wanted later you could also install CF 9 in Multiserver mode on the same box.
But back to your question, yes, the CAR file approach is the simplest way to move the CF Admin settings from one CF server to another. It should have worked.
So it seems you’re saying here that the servers in question (source and destination) are the ones you referred to in the first note. You said in that note that you HAD already done the CAR file export/import, and then you were trying the WAR file approach. Did the CAR file approach not work well for some reason?
And to answer your last question about propagation of Multiserver Admin settings, I can understand your confusion. It's not as clear as it could be in the docs or interface. Again, if you change any settings in the first/main/cfusion instance, then when you create a new instance, the settings in the cfusion instance are propagated into the new instance. That could be a benefit or a detriment, depending on one's expectations. It's also a point-in-time thing: the settings are not kept in sync after that.
As for the reference you found to the EAR file deployment, again, that's really a more elaborate approach that is primarily for those who prefer to do EAR/WAR deployments (whether from the CF installer or from another Enterprise server/instance). For your needs, you don't need it, which is why I pressed the point. I kind of suspected.
It's too bad that things can be so confusing. I know that the CF team is well aware of the challenges and we can hope that they will improve things in the future. (No need for folks to chime in with comments about how bad it is. Again, that's not new information to anyone.)
/charlie arehart
[email protected]
Providing CF and CFBuilder troubleshooting services
at http://www.carehart.org/consulting -
What is the best way to produce an EAR file for deployment to different application servers? Once an EAR file is created can the same one be used on different platforms (WebSphere, WebLogic, etc.)
can someone explain or point me to some docs on this?
thanksWhat is the best way to produce an EAR file for
deployment to different application servers? Once an
EAR file is created can the same one be used on
different platforms (WebSphere, WebLogic, etc.)An EAR file will contain several things. EJBs, for instance, have container-specific deployment descriptors. And the descriptor filename is different for each AS. There is a workaround to this too... you need to create deployment descriptors for all the app servers and package them. Then porting the EJBs doesn't have much of a problem. Similar techniques can be used for other resources. WARs shouldn't be a concern!
***Annie*** -
How to Create EAR File by Ant Script for ADF Application
Hi,
I want to deploy my ADF Application by EAR.
I refer this blog:- http://jdeveloperfaq.blogspot.com/2010/01/faq-10-how-to-configure-ojdeploy-as-ant.html
From this I am able to make WAR file but not EAR file and I want it should be EAR
Can anyone suggest me any script or any process.
Jdev Ver:- 11.0.0.3
Thanks in Advance.
Ramit
Edited by: Ramit on May 31, 2011 3:54 AMHi All,
I am not able to run the adf application.In log I found this error message.please help me to resolve this
javax.faces.FacesException: javax.el.PropertyNotFoundException: Missing Resource in EL implementation: ???propertyNotReadable???
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:261)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:513)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:782)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
at oracle.adfinternal.view.faces.unified.taglib.layout.UnifiedPanelGroupLayoutTag.doStartTag(UnifiedPanelGroupLayoutTag.java:50)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:440)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
thanks
santosh -
Different sections of the help system seem to indicate two different approaches.
Is there any real difference or is the deployment URL just a nicer interface to
JwsCompile?
Also, will these EAR files run on any J2EE compliant app server, or is a WebLogic
server required?
Thanks much, RB
PS - Reposted here by request of others on the newsgroupsHi Richard. Thanks for the questions.
Different sections of the help system seem to indicate two differentapproaches.
I like the deployment URL myself, but JwsCompile is useful if you're trying
to integrate with ant or something.
Also, will these EAR files run on any J2EE compliant app server, or is aWebLogic
server required?From an earlier newsgroup posting:
In the first release our focus has been deployment on WebLogic server and on
standardization efforts around the JWS file format itself, and have not
tested the work required to port to other application servers. We anticipate
that over time other application server vendors will support the .jws format
just as they have adopted J2EE.
Hope this helps!
Ian M. Goldstein
Developer Relations Engineer
BEA Systems, Inc.
"Richard Berger" <[email protected]> wrote in message
news:3c8e6d76$[email protected]..
>
Different sections of the help system seem to indicate two differentapproaches.
Is there any real difference or is the deployment URL just a nicerinterface to
JwsCompile?
Also, will these EAR files run on any J2EE compliant app server, or is aWebLogic
server required?
Thanks much, RB
PS - Reposted here by request of others on the newsgroups -
I got error like this
D:\Fahc\web services\ejb>ant
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: D:\Fahc\web services\ejb\build
[mkdir] Created dir: D:\Fahc\web services\ejb\build\META-INF
[copy] Warning: build.xml modified in the future.
[copy] Warning: ejb-jar.xml modified in the future.
[copy] Warning: weblogic-ejb-jar.xml modified in the future.
[copy] Copying 5 files to D:\Fahc\web services\ejb\build\META-INF
compile_ejb:
[javac] Warning: Weather.java modified in the future.
[javac] Warning: WeatherBean.java modified in the future.
[javac] Warning: WeatherHome.java modified in the future.
[javac] Compiling 3 source files to D:\Fahc\web services\ejb\build
jar_ejb:
[jar] Building jar: D:\Fahc\web services\ejb\a_statelessSession.jar
ejbc:
[java] error: cannot read: D:\Fahc\web services\ejb\ejbcgen\examples\webservices\rpc\weatherEJB\*.java
[java] 1 error
[java] Exec failed .. exiting
[java] Java Result: 1
all:
wsgen:
[wsgen] Ejbjar 'weather.jar' not found. Skipping.
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.ant.taskdefs.ejb.WSGenHelper.ejb_modules(WSGenHelper.java:1595)
at weblogic.ant.taskdefs.ejb.WSGenHelper.getEJBDescriptor(WSGenHelper.java:422)
at weblogic.ant.taskdefs.ejb.WSGenHelper.updateWAR(WSGenHelper.java:517)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:377)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1539)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:94)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
[wsgen] Can't find module: [module: weather.jar
path: weather.jar
uri: /weatheruri
copy:
[copy] Copying 1 file to E:\bea\wlserver6.1\config\mydomain\applications
BUILD SUCCESSFUL
Total time: 11 seconds
Will anybody solve my problem
Thanks in advance
Regards,
Vinoth.CHi vinoth,
Just a suggestion, could be ejbc is having trouble with the filename you have in "[java] error: cannot read:
D:\Fahc\web services". You might try it without the space. Otherwise, post the build.xml and maybe we can
provide further assistance.
HTH,
Bruce
vinoth wrote:
I got error like this
D:\Fahc\web services\ejb>ant
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: D:\Fahc\web services\ejb\build
[mkdir] Created dir: D:\Fahc\web services\ejb\build\META-INF
[copy] Warning: build.xml modified in the future.
[copy] Warning: ejb-jar.xml modified in the future.
[copy] Warning: weblogic-ejb-jar.xml modified in the future.
[copy] Copying 5 files to D:\Fahc\web services\ejb\build\META-INF
compile_ejb:
[javac] Warning: Weather.java modified in the future.
[javac] Warning: WeatherBean.java modified in the future.
[javac] Warning: WeatherHome.java modified in the future.
[javac] Compiling 3 source files to D:\Fahc\web services\ejb\build
jar_ejb:
[jar] Building jar: D:\Fahc\web services\ejb\a_statelessSession.jar
ejbc:
[java] error: cannot read: D:\Fahc\web services\ejb\ejbcgen\examples\webservices\rpc\weatherEJB\*.java
[java] 1 error
[java] Exec failed .. exiting
[java] Java Result: 1
all:
wsgen:
[wsgen] Ejbjar 'weather.jar' not found. Skipping.
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.ant.taskdefs.ejb.WSGenHelper.ejb_modules(WSGenHelper.java:1595)
at weblogic.ant.taskdefs.ejb.WSGenHelper.getEJBDescriptor(WSGenHelper.java:422)
at weblogic.ant.taskdefs.ejb.WSGenHelper.updateWAR(WSGenHelper.java:517)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:377)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1539)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:94)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
[wsgen] Can't find module: [module: weather.jar
path: weather.jar
uri: /weatheruri
copy:
[copy] Copying 1 file to E:\bea\wlserver6.1\config\mydomain\applications
BUILD SUCCESSFUL
Total time: 11 seconds
Will anybody solve my problem
Thanks in advance
Regards,
Vinoth.C
Maybe you are looking for
-
Admin server and Managed Server not Running
Hi, Admin server doesnot change its state to RUNNING from STARTING. Even after hrs of starting the server.. the satus is as shown. <Jun 1, 2011 10:22:59 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 P
-
Losing data on a tabular form when submitting a page with validation errors
I have a window that has a regular HTML form at the top that has several items. Then on the bottom of the page, I have a tabular form where the user can enter multiple rows of information. Unfortunately, when the page is submitted, if there are any v
-
BOE XI R2 compatibility with SAP GUI 7.1
Hi Experts, Currently, my company has BO XI R2 SP2 working with SAP BW 3.5. We use BOE XI R2 integration kit for SAP which is compatible with SAP GUI 6.4 Now we have upgraded system to BI 7.0. We also plan to upgrade the SAP GUI version to 7.1 as SAP
-
In SAP Netweaver Administrator, I went to Deploy and Change tab. There I selected 'Create BW system' - Install It is asking for 1. Http port for ABAP server. 2. ABAP Client. 3. Logon Group. 4. Http port of message server. From where do I get these de
-
HI, Our customer requested that a motion system should be constructed with VB and Omron hardware. Fortunately they accepted LabVIEW and NI-hardware due to the fact we said this would result in a shorter delivery time (because I have not used VB for l