No method found for XML query element
Hi,
I have an EJB module which contains some entity beans.
If I try to deploy it or verify it using the Sun One Verifier Tool I get the following exception...
Error: ** Error trying to process file: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
at com.sun.enterprise.deployment.xml.EjbNode.parseQueries(EjbNode.java:700)
at com.sun.enterprise.deployment.xml.EjbNode.completeLoadingDescriptor(EjbNode.java:671)
at com.sun.enterprise.deployment.xml.EjbBundleNode.completeLoadingDescriptor(EjbBundleNode.java:524)
at com.iplanet.ias.deployment.EjbBundleXmlReader.load(EjbBundleXmlReader.java:249)
at com.iplanet.ias.deployment.EjbBundleXmlReader.loadStdAloneModule(EjbBundleXmlReader.java:162)
at com.sun.enterprise.tools.verifier.Verifier.openEjbJar(Verifier.java:2421)
at com.sun.enterprise.tools.verifier.Verifier.loadEjbJar(Verifier.java:1318)
at com.sun.enterprise.tools.verifier.Verifier.loadJar(Verifier.java:866)
at com.sun.enterprise.tools.verifier.gui.MainPanel.run(MainPanel.java:187)
at java.lang.Thread.run(Thread.java:536)
Look in file "EntityBeans.jar_verified.xml" for detailed results on test assertions.
This problem can be resolved by un-installing the IDE, removing my user directory, and re-installing the IDE (I am using SunOne Studio 5 SE Update 1). The problem is that it returns with alarming regularity.
Anyone else experiencing this? Any help would be much appreciated.
Sometimes, but not always, this exception appears in the ide.log before the error first occurs.
com.sun.forte4j.j2ee.packaging.PackagingIOException: package/EntityBeans.ejbjar
at com.sun.forte4j.j2ee.packaging.PackagingUtil.writeJarFile(PackagingUtil.java:403)
at com.sun.forte4j.j2ee.packaging.PackagingUtil.writeJarFile(PackagingUtil.java:67)
at com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataObject.writeEJBJar(EJBModuleDataObject.java:2673)
at com.iplanet.ias.tools.forte.verifier.VerifierAction.performAction(VerifierAction.java:63)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
Similar Messages
-
Oracle equivalent of "for xml auto, elements"
Apologies if this is a bit of a "newbie" question.
I have a .NET application that makes extensive use of the SQL Server syntax "for xml auto, elements" to retrieve data as an XML stream and then merge this with XSL to produce reports.
I would like to support both Oracle and SQL Server. Is there a simple way to do this without writing an Oracle specific interface and rewriting all my SQL?Hello.
I am struggling with this, so here are some examples:
MS SQL Server will allow "for XML auto, elements" or "for XML raw" to be added to the end of a SQL statement to return an XML stream instead of a data set. Taking the MS example Northwind database, the query:
"select CompanyName, ContactName from Customers where CustomerId like 'A%' for XML raw"
would return the following stream:
<row CompanyName="Alfreds Futterkiste" ContactName="Maria Anders"/>
<row CompanyName="Ana Trujillo Emparedados y helados" ContactName="Ana Trujillo"/>
<row CompanyName="Antonio Moreno Taquería" ContactName="Antonio Moreno"/>
<row CompanyName="Around the Horn" ContactName="Thomas Hardy"/>
If you were to change the SQL to be:
"select CompanyName, ContactName from Customers where CustomerId like 'A%' for XML auto, elements"
...you would get back:
<Customers><CompanyName>Alfreds Futterkiste</CompanyName><ContactName>Maria Anders</ContactName></Customers><Customers><CompanyName>Ana Trujillo Emparedados y helados</CompanyName><ContactName>Ana Trujillo</ContactName></Customers><Customers><CompanyName>Antonio Moreno Taquería</CompanyName><ContactName>Antonio Moreno</ContactName></Customers><Customers><CompanyName>Around the Horn</CompanyName><ContactName>Thomas Hardy</ContactName></Customers>
I have found this useful when merging with XSL to create reports and/or pages on the fly based on queries. I have recently joined OPN and am looking to migrate my applications to Oracle and this is a key factor for me.
All help gratefully received. -
F110 - No valid payment method found for Customer Direct Debits
Hi All,
I am running customer Direct debit pre-notifications payment run via F110.
I am runnnig only for one customer and it appears as an exception with the message 'No valid payment method found
We have used payment method D lots of times before so it is nothnig to do with the company code or payment method set up.
It is however the first we've tried to run for this customer.
I have checked everything I know:
1) Payment method D selected in the F110 parameters
2) Payment method D entered in the invoice line item
3) Payment method D entered in the payment transactions tab on the customer master data
4) Valid Direct Debit madate exists and check complete
5) parameters are correct in the F110 selection - company code, payment method, dates, next payment date, invoice is well overdue, it was only entered today but was due back in 2014!, free selection, additional log etc.
6_ Checked in SPRO in "Payment Method/Country" details and the following are required : Bank details including IBAN required, SWIFT code required, SEPA mandate required. These are all maintained in the customer master data.
and still the customer invoice I want to pay is show as an exception in the log. In the payment proposal it shows as an exception No valid payment method found. In the log it shows as
Customer/vendor does not have any allowed bank details Message class FZ Message no. 651
No permitted payment method exists Message class FZ Message No. 608
Information re. customer 131275 / paying company code N120 ... Message class FZ Message no. 306
... payment not possible because of reported error Message class FZ Message no. 311
I am at a loss as to where to check next. Please help.
thanks
JemmaHi Jenna,
In the log I can see the message 'SEPA mandate & for bank xxx has been assigned to a contract' FZ788. This means: Mandates with contract cannot be used for the payment of any invoice. The invoice has to be assigned to the mandate or be assigned in the payment run.
Please check the F1-help of the field 'SEPA Mandate: Contract Type' in the mandate.
The Note http://service.sap.com/sap/support/notes/1874892 describes the various options.
Regards,
Emőke -
I can't seem to construct an http SQL query correctly using the Java URL constructor. When I enter the following string in the browser window, everything works fine:
"http://aaaa.bbb.ccc.com/nwind?sql=select * from employees for xml auto&root=root". The results of the query are displayed in the browser window. I would like to get this to work using the URL and URLConnection classes. It seems I always get some sort of error with a response length of -1. I would appreciate any insight into this problem. Thanks for your help.
Paul J. Lay
[email protected]Thanks for your prompt reply. I tried your suggestion immediately. It didn't change the results. I still get a response length of -1. You can actually try this yourself by keying in a browser window the following string: www.itsmagical.com/nwind?sql=select * from employees for xml auto&root=root. I can't imagine what the problem could be. Thanks again for your prompt reply.
Best Regards,
Paul J. Lay -
Passing file location as URL parameter for xml query
Hi all,
A quick question regarding using a parameter to set the source URL in an XML query template.
When assigning the URL, the static text works perfectly eg:
//<servername>/<folder>/samplefile.xml . The xml is returned as required.
However, we wish to call this from a BLS txn and set the source URL dynamically.
To test this we assigned //<servername>/<folder>/samplefile.xml to Parameter no 1 and insert [Param.1] in the source URL field. No luck.
Any suggestions?
Cheers
MarkMark,
In BLS, the double slashes (escaping the single /) are only necessary if you are building the full http url string in the link editor.
If your XMLQuery template is something like http://localhost/Folder/Subfolder/[Param.1] then put in a default param value in the query template and make sure the query test works. Then configure (or reconfigure) this in your BLS transaction and generate the sample results. All you should have to do in BLS then is to assign your Transaction or Local property to the Param.1 link in your XMLQuery action block. All of the dynamic replacement and subsequent xml file retrieval should then be done by the XMLQuery itself.
If you can keep the majority of the URL in the XMLQuery itself and then just dynamically pass it the Param.1 piece it will be very easy to test and configure (also use localhost if the file lives on the xMII web server), but if you have to build the string external in BLS I would recommend using a combination of the expression editor and a Local property. If the Local string property contains the base of http://localhost/Folder/Subfolder/ (no quotes or character escaping needed for the default value of a string property) then just assign something like the following to your Param.1 property of the XMLQuery: Local.URLBase & "filename.xml" (a simple evaluate will confirm your efforts).
Regards,
Jeremy -
How to display no data found for two different elements
i wanted to display report either by dept wise or supplier wise
so when I dont have deptno related data
It should say no data found
for that I'm using if condition
same for supplier too
instead of giving twice can I give it in the same if condition
if so howUse logical operator 'or'
like <?if:not(DEPT_GRP) or not(SUPPLIER_GRP)?>No data Found<?end if?> -
Hello,
I have a simple SQL query in a report.
select
null as "Complete",
a.col1,
a.col2,
a.col3,
a.col4,
b.col2
from TableA a, TableB b
where a.id = b.idThere is a known issue in apex 4.0 that is causing the "When No Data Found" message to work incorrectly so that this is returned:
report error:
ORA-01403: no data found
Is there a way to return a message in a SQL statement? If not, any suggestions on how I can convert this in the existing report to PL/SQL would be appreciated.
Thanks!
MattI would like to do something similar to this (below) but the only option that is given other than "SQL Query" is “PL/SQL function body returning a SQL query”
I'm not sure how to do this as a funciton.
declare
vComplete Varchar2;
vCol1 Varchar2;
vCol2 Varchar2;
vCol3 Varchar2;
vCol4 Varchar2;
vColB2 Varchar2;
Begin
select
null as "Complete",
a.col1,
a.col2,
a.col3,
a.col4,
b.col2
into vComplete,vCol1,vCol2,vCol3,vCol4,vColB2
from TableA a, TableB b
where a.id = b.id
Dbms_output.put_line(vComplete,vCol1,vCol2,vCol3,vCol4,vColB2);
Exception
When no_data_found
Dbms_output.put_line(vComplete,vCol1,vCol2,vCol3,vCol4,vColB2);
When others
Dbms_output.put_line(‘exception handling message’);
End; -
Hello,
I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
What is the problem? Where should I put my jndi.jar? Thanks.
Regards
CY SeahHello,
I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
What is the problem? Where should I put my jndi.jar? Thanks.
Regards
CY Seah -
FOR XML will not run in stored procedure but will in Query
The following is the Query and stored procedure for a XML export. The query runs find and returns a clickable link. The stored procedure does not.
Stored Procedure
USE [db]
declare @XmlOutput1 xml
set @XmlOutput1 =
(SELECT incident_num,
unit_id, unit_status_datetime,
unit_status_remarks
FROM unit_status_hist
where convert(varchar,unit_status_datetime,102)
=
convert(varchar,getdate(),102)
FOR XML
RAW)
select @XmlOutput1
Query:
use db
SELECT incident_num, unit_id,
unit_status_datetime, unit_status_remarks
FROM unit_status_hist
WHERE convert(varchar,unit_status_datetime,102)
=
convert(varchar,getdate(),102)
for XML
auto, Elements
Any help would be greatly appreciated. Thank you.The following is the Query and stored procedure for a XML export. The query runs find and returns a clickable link. The stored procedure does not.
Stored Procedure
USE [db]
declare @XmlOutput1 xml
set @XmlOutput1 =
(SELECT incident_num,
unit_id, unit_status_datetime,
unit_status_remarks
FROM unit_status_hist
where convert(varchar,unit_status_datetime,102)
=
convert(varchar,getdate(),102)
FOR XML
RAW)
select @XmlOutput1
Query:
use db
SELECT incident_num, unit_id,
unit_status_datetime, unit_status_remarks
FROM unit_status_hist
WHERE convert(varchar,unit_status_datetime,102)
=
convert(varchar,getdate(),102)
for XML
auto, Elements
Any help would be greatly appreciated. Thank you.
I cant see any stored procedure here
both of the code posted are queries only
also clickable link will come in only SSMS query window. Are you trying to execute this from some application?
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Single detail Record repeated with xml for in wcf sql for xml polling.
Hi,
I am getting a weird results for a inner join of header detail with for xml auto, element.
If I run the query in sql it gives me master detail results as expected. i.e
<HEADER>
<ID>1</ID>
<DETAIL><ID>1</ID></DETAIL>
<DETAIL><ID>2</ID></DETAIL>
</HEADER>
In BizTalk I configured the receive location and added a root node and the namespace to the binding properties.
I get results as.
<HEADER>
<ID>1</ID>
<DETAIL><ID>1</ID></DETAIL>
</HEADER>
<HEADER>
<ID>1</ID>
<DETAIL><ID>2</ID></DETAIL>
</HEADER>
Please Advice.
Thank you and have great day! Vivek Kulkarni MCAD.netHi Vivek,
Took a while to simulate your issue. The usage of "FOR XML AUTO, ELEMENTS" is generally used in the old SQL-adapter. To get this working in the WCF-SQL adapter, you need to have some properties set which is not explored well.
The issue is due to the way you have defined the SQL query and the "InboundOperationType" property of the WCF-SQL adapter. Here is the steps I have done to get the result as you wanted in WCF-SQL adapter, the same output as "FOR XML AUTO,
ELEMENTS " in SQL.
In the binding of the WCF-SQL adapter, select the "InboundOperationType" property to "XMLPolling". The default is "Polling".
In the "Polling Statement", ensure the SQL statement which will give results the XML-output as you wanted. So if you have used following statement in SQL management studio, then use the same statement in the "Polling Statement" property
of the Receive location. Ensure you DON'T remove the "For XML AUTO" statement while configuring the SQL query in receive location. As here you have choose "XMLPolling" as the value for "InboundOperationType"
property, the output of the SQL statement should be XML.
SELECT Header.ID
,Detail.ID
FROM Header
JOIN Detail ON Detail.OrderHeaderID = Header.ID
FOR XML AUTO, ELEMENTS
Note: You can either use SQL select statement or stored procedure. Even if any of these method used to get the resultset from SQL db, ensure it return the output in XML.
Above query is what I have used to simulate your case, you can change it to suit your actual SQL table and column names.
In the "PolledDataAvailableStatement" property I have used the following which would ensure that "Polling Statement" statement executes. I assume you're using this to learn how WCF-SQL adapter works, in real time you may need to update
the query in SQL so that SQL doesn't return the resultset continuously
SELECT top 1 Header.OrderID
,Detail.DetailID
FROM Header
JOIN Detail ON Detail.OrderHeaderID = Header.OrderID
Try the setting, the structure of the output using the above using "XMLPolling" values in "InboundOperationType" property of the receive location binding will be same as the "FOR XML AUTO, ELEMENTS" in SQL. You may need to change
the rootname property to suit your actual expected output.
Regards,
M.R.Ashwin Prabhu
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Automatic payment error - no valid payment method found
I created an invoice which i try to clear in f110. the vendor has the appropriate payment methods specified too but still I get this error "No valid payment method found " for that document.
kindly assist, if anyone knows where can be the error.
this is only for one company code.
thanksHi,
Check the configuration of Automatic Payment Program. Check "Bank Determination" and verify whether the paymetn method is set up for the House Bank determined by Automatic Payment Program configuration.
If the payment method in invoice or vendor master does nto match with the payemnt method set up for the house bank, you may get this error.
Regards,
Chirag
Pls. award points if this is useful. -
Can I select the query elements of structure manually in transport conn
Hello all,
I am trying to select a structure and the elements of the structure manually in transport connection. I am able to slect the structure from from query elements -> structure but now how can i select (manually) the items like new selections and new formulas that are inlcuded in my structure.
When I go and search for that query element in table V_ELTDIR_TXT it says that the the items of my structure are RKF but when i try to serach under query elements -> RKF i dont see them.
Can someone help here.
Thanks in advanceHi Kamaljeet ,
you are trying to tell me that i can just slect my query and structure (manually..so basically only 2 query elements in transport request)...and transport that and it should take care of selections and formulas in structure.
I have created a transport as per what you have told, waiting on basis to transport it. Will update you in few minutes.
Thanks again -
We have deployed Webcenter application on a environment and we configured database MDS. Still it looks like the application is trying to hit the file based mds i.e. file generic-site-resources.xml. Log message is as under, please provide some information.
oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/generic-site-resources.xml"
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1408)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3874)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1589)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1525)
at oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl.getScopedResources(GenericSiteResourcesManagerImpl.java:1377)
at oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl.getResources(GenericSiteResourcesManagerImpl.java:1220)
at oracle.webcenter.security.policy.WCPageSecurityPolicy.findPageResource(WCPageSecurityPolicy.java:213)
at oracle.webcenter.security.policy.WCPageSecurityPolicy.checkSiteResource(WCPageSecurityPolicy.java:295)
at oracle.webcenter.security.policy.WCPageSecurityPolicy.isCustomizableInternal(WCPageSecurityPolicy.java:89)
at oracle.adf.view.page.editor.security.DefaultPageSecurityPolicy.isCustomizable(DefaultPageSecurityPolicy.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.adfinternal.view.faces.security.ComponentActionSecurity._getPagePrivilege(ComponentActionSecurity.java:444)
at oracle.adfinternal.view.faces.security.ComponentActionSecurity.getActionsAvailable(ComponentActionSecurity.java:343)
at oracle.adfinternal.view.faces.security.ComponentActionSecurity.getActionsAvailable(ComponentActionSecurity.java:333)
at oracle.adfinternal.view.faces.security.ComponentActionSecurity.getActionsAvailable(ComponentActionSecurity.java:126)
at oracle.adfinternal.view.faces.utils.Utility.getGlobalActions(Utility.java:123)
at oracle.adf.view.rich.component.customizable.PanelCustomizable.isActionAllowed(PanelCustomizable.java:254)
at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:241)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:343)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.processFlattenedChildren(IncludeTag.java:675)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1155)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddleForFlowing(PanelStretchLayoutRenderer.java:657)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanesFlowing(PanelStretchLayoutRenderer.java:434)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:357)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:313)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)
at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)
at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1341)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.renderView(CustomViewHandler.java:245)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:979)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:408)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
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:128)
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.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:418)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
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:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
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:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)Found the fix for this issue.
The issue was occurring because generic-site-resources.xml file was not getting packaged with default Autogenerated MAR file.
We had to manually copy siteresources folder insite Portal->adfmsrc->siteresources. siteresources folder contains the generic-site-resources.xml file. Once we placed the file there and created ear, we found an entry of generic-site-resources.xml inside the MAR.
You can query MDS database to see if there is an entry for this file: select * from mds_paths where path_name like '%generic%';
If this table does not have and entry you will see this MDS error. -
Hi All,
I am using CUIT to write automated UI test cases. I have a dialog containing few edit control and buttons.
While running the test it is able to click the button.
However I am getting few warnings as below.
The target element "Technology Name: 'MSAA';Search Configuration: 'VisibleOnly'; Search Properties - ControlType : 'Button',Name : 'OK'" was not found, so all intermediate elements were ignored. As a result, an incorrect element that matches the target
element's search properties can be found. Verify that all intermediate elements in Query Id have valid and unique search properties.
Technology Name: 'MSAA'
Search Configuration: 'VisibleOnly'
Search Properties -
ControlType : 'Button'
Name : 'OK'
Mouse button : 'Left'
I need to resolve these warning. Can anybody suggest me how to resolve these warnings.Hi sanjay_t,
From these warning message as you provide, I doubt that maybe the button control did not be found successfully by the searchproperties when you playback the Coded UI test.
So I suggest you can try to use DrawHighlight Method to check if the button control
is found before you perform actions on the button target control.
(2)I suggest you can try to use
FindMatchingControls Method on the button control to check if there are more than one control which matches the specified searchproperties and filterproperties.
In addition, as you said that you are using CUIT to write automated UI test. it means that you record the UI action by handing code, am I right?
If yes, I suggest that you can create a simple coded UI test through recording actions using Coded UI Test Builder. Then
generate the code and then try to playback. If playback succeeds, then cross check the properties from UIMap.Designer.cs file. You can reference the code about entering values in the text edit in the UIMap.Designer.cs file to write
your own code.
For more information about how to find a control for coded UI test, I suggest you can refer the following blog.
http://blogs.msdn.com/b/balagans/archive/2009/12/28/9941582.aspx
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
XML File not Found for the Container BC4J.cpx
Hi,
Have following error when I start a BC4J-JSP/Struts application (with Embedded and standalone OC4J) :
500 Internal Server Error
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container BC4J.cpx
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition(java.lang.String)
DefinitionManager.java:751
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition()
DefinitionManager.java:793
void oracle.jbo.mom.DefinitionManager.initManager()
DefinitionManager.java:137
void oracle.jbo.uicli.mom.JUMetaObjectManager.<init>()
JUMetaObjectManager.java:57
oracle.jbo.uicli.mom.JUMetaObjectManager oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom()
JUMetaObjectManager.java:131
oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
HttpContainer.java:541
boolean oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(oracle.jbo.html.struts11.BC4JActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
BC4JRequestProcessor.java:222
org.apache.struts.action.ActionMapping oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
BC4JRequestProcessor.java:124
void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RequestProcessor.java:234
void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:1292
void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:492
void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
HttpServlet.java:740
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:721
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:803
void java.lang.Thread.run()
Thread.java:484
Then I make a Reload and it's ok.
I have a Workspace with two Projects :
BC4J.jpr for Businnes Components
Web.jpr for JSP Struts
In /classes I have the file Web.cpx, but no BC4J.cpx.
From which does this name come ? Can I change this name ?
Thanks
YvesI found this on Metalink...
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
The following is from Note 137429.1. Hope this helps.
Raja.
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
Action: 1. Make sure that the file is present. In particular, if the file is to be found in a zip/jar file, make sure that the Zip/JAR file is included in the CLASSPATH.
2. This error is also reported if the name of the XML file does not match the object Name specified in the XML file. If the file system support case insensitive file names (e.g., Windows NT), make sure that the file name matches the object Name in the XML file in case-sensitive fashion.
3. For a .JPX file, this error is reported if the JPX file is missing the JboProject XML tag. Check the JPX file to make sure that the valid tag is in there.
4. One XML file may be extending another XML file (specified by the Extends element in this XML file). This error is reported if the base XML file is not found.
5. When loading the XML file for a package (JboPackage tag), this error is reported if some unexpected error occurs while loading a containee.
In all of the above cases, a more descriptive message may be printed on Diagnostic. If you are not seeing Diagnostic messages, you can run your application with Diagnostic turned on, as in "java -Djbo.debugoutput=console ...", to see Diagnostic messages.
Maybe you are looking for
-
IPad remote for ATV2 not listing TV programmes in order, plays wrong programme.
Hi, I took delivery of an ATV2, and connected it via Ethernet to my home network. All works well with the supplied remote. However, if using the iPad remote app there is a problem. The iPad remote app lists a series TV programmes, but if you choose a
-
Get "Error in Net Price Calculation" error while creating a Purchase Order
I am getting a error when i try to create a PO. Says "Error in Net Price Calculation item 00010(Please correct)" I have defined conditon records with the price for the material and have also created info record.However the price in the info record (
-
The URL line accepts text, but using the "Enter" key generates no response. The right arrow at the end of the URL line will take me to the URL.
-
Sender Mail Adapter - Need to pick all email only with subject "Send to Business Partner "
Hi Experts, I have a mail to file scenario where I need to pick all emails with subject as "Send to Business Partner". I have seen one mail attribute SHeaderSUBJECT. Can I use this attribute to set a condition like SHeaderSUBJECT = "Send to Business
-
I don't know what I did, but one of my windows changed - it is now long. In fact it's so long that I can't find the dragger to drag it back into place. How do I resize this window back to normal again?