Tomcat 6 failing to evaluate EL expressions, Tomcat 6 bug?!!!!
Can someone please tell me this is not a bug in Tomcat 6, its too obvious and to some extend unacceptable I must be doing something wrong.
Here is my problem, I have written my own custom component to display a div tag.
the JSP is as follows:
<faces:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>My Custom Tags</title>
</head>
<body>
<html:form>
<h2>Cat In The Rain</h2>
<mine:mytag title="#{index.title}">Dancing in the rain.</mine:mytag>
</html:form>
</body>
</html>
</faces:view>The tag class is given below:
This text #{index.title} is being interpreted as Literal text which is obviously wrong, when deployed in glassfish the code works fine.
Output text in my tomcat console is
MyTag.setProperties(): Title is literal text....
MyTag.setProperties(): title value= #{index.title}
MyTag.setProperties(): Title Value expression is null
The Tag class.
public class MyTag extends UIComponentELTag{
private ValueExpression title;
public String getComponentType() {
return "test.MyOutput";
public String getRendererType() {
return "test.MyRenderer";
@Override()
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (null!= title){
if (!title.isLiteralText()){
component.setValueExpression("component.title", title);
System.out.println("MyTag.setProperties(): Its not literal text.");
System.out.println("MyTag.setProperties (): title value = "+ title.getValue(getELContext()));
else{
component.getAttributes().put("component.title", title.getExpressionString());
System.out.println ("MyTag.setProperties(): Title is literal text....");
System.out.println("MyTag.setProperties(): title value= "+ title.getExpressionString());
System.out.println ("MyTag.setProperties(): Title Value expression is "+ component.getValueExpression("component.title"));
}The component class.
public class MyOutput extends UICommand{
public MyOutput(){
setRendererType("test.MyRenderer");
@Override()
public String getFamily() {
return "test.MyOutput";
}The tld file
<?xml version=" 1.0 " encoding="UTF-8"?>
<taglib version="2.0"
xmlns="http://java.sun.com/xml/ns/j2ee "
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd">
<tlib-version> 1.0</tlib-version>
<short-name>mine</short-name>
<uri>http://www.my-tests.com </uri>
<tag>
<name>mytag</name>
<tag-class> test.MyTag</tag-class>
<body-content>JSP</body
-content>
<description></description>
<attribute>
<name>binding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<deferred-value>
<type>test.MyOutput</type>
</deferred-value>
<description>
A ValueExpression that resolves to the UIComponent that corresponds
to this tag. This binding allows the Java bean that contains the UIComponent
to manipulate the UIComponent, its properties, and its children.
</description>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
<description></description>
</attribute>
<attribute>
<name>rendered</name>
<required>false</required>
<deferred-value>
<type>boolean</type>
</deferred-value>
<description><![CDATA[ Use the rendered attribute to indicate whether the HTML code for the
component should be included in the rendered HTML page. If set to false,
the rendered HTML page does not include the HTML for the component. If
the component is not rendered, it is also not processed on any subsequent
form submission.
]]></description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
Set the JSP version in your TLD to 2.1.
Meaning from:
<taglib version="2.0"
xmlns="http://java.sun.com/xml/ns/j2ee "
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd">to:
<taglib version="2.1"
xmlns="http://java.sun.com/xml/ns/j2ee "
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd">Edited by: rlubke on Oct 15, 2007 9:32 PM
Similar Messages
-
The Expression Engine failed to evaluate the expression for a Subportal Act
Anyone seen this error before and know of a fix? We're getting it on our 6.1 MP1 portal after we deployed our custom sso solution.
"62 12-19-2007 12:58:37.292 Error Portal_UI_Infrastructure portal.c27mynrspaxr01.webadm .NET #32 com.plumtree.portaluiinfrastructure.condition.ConditionTypeManager The Expression Engine failed to evaluate the expression for a Subportal Action.
System.NullReferenceException: Object reference not set to an instance of an object.
at com.plumtree.portaluiinfrastructure.condition.ConditionTypeManager.EvaluateExpressionForSubportalAction(AActivitySpace asCurrentSpace, IApplication application, IXPRequest xpRequest, Object ptUserSession) in e:\buildroot\Release\portalui\6.1.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\condition\ConditionTypeManager.cs:line 260 <ptLogMsgEnd>"As far as i know this is a harmless error. Our portal generated that message every time someone browsed /portal/server.pt.
-
RPE-01038: Failed to evaluate expression null.
Hi, gurus! :)
Upon executing a process flow, I got the following error message:
RPE-01003: An infrastructure condition prevented the request from completing.
RPE-01038: Failed to evaluate expression null. Please modify the expression, redeploy and retry again.
RPE-01003: An infrastructure condition prevented the request from completing.
RPE-02227: Cannot test Control Center user OWF_MGR. This user must match the login credentials of the evaluation location configured on owning module.
RPE-01003: An infrastructure condition prevented the request from completing.
java.lang.NullPointerException
I suspect I got this error from improper use of parameters (just started using). I've searched for answers in the internet, still I am not sure how to efficiently and correctly use parameters. I'm dealing with this "literal" confusion. I would like to confirm the following:
1. If a local parameter is an integer, how should I set the value and literal field? (say, set value to 0, literal = true?)
2. How about for while loops? The condition is automatically a string. If I use the paramater par_loc, how should I write it (say, par_loc < 100).
3. For Assign operators, data type is also an automatic string. What if I want to have an integer value? Or maybe an integer value thru an expression? (e.g. par_loc + 20).
The questions above somehow summarize the activity I created.
I'll try to do more tests and research and give you an update if I found any solution.
Any help will be deeply appreciated. Thank you, gurus!
Manoy :)Thanks, Carsten! :)
I applied what you suggested. I still got the same error.
1. Defined the parameter via local variable --> same error as above
2. Defined it under start activity --> got a new error:
RPE-02075: Oracle Workflow failed to process the execution request for Activity PF_WHILE:WHILE_LOOP. This may be because dependent objects have not yet been deployed.
ORA-20007: The execution cannot be activated because not all required parameters have been set
WB_RT_WORKFLOW_UTIL_10G.Execute_Any_Task(PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
WB_RT_WORKFLOW_UTIL_10G.Execute_Task(PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
Wf_Engine_Util.Function_Call(WB_RT_WORKFLOW_UTIL_10G.EXECUTE_TASK, PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
RPE-02083: Process PF_WHILE has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process
Did I miss something? :|
Manoy -
Tomcat fails to detect jsp change
I have a folder called myjsp in witch I have many jsp pages. I often make changes to these jsp pages and copy folder myjsp to many servers (Tomcat 5 and Tomcat 6).
SOME of these Tomcat would fail to detect my changes.
All tomcat are configured the same way. Reload is set to true.
Any ideas?
ThanksThe files have a newer date compared to what?
The date that the JSP file would be compared to would be the date of the generated servlet sitting in the work directory.
Executing the unix "touch" command on all the JSPs you are updating will ensure that they get the current date/time and that they will be newer than the generated page.
Alternatively you can delete Tomcat's work directory (where it stores all the generated/compiled servlets) and you can be absolutely certain that no old ones remain.
cheers,
evnafets -
I use NetBean 5.5, bundled Tomcat ( Tomcat buid in NetBean) and jdk 1.6
Pleas help me to find the error.
I created the following servlet:
import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class FormServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
"Transitional//EN\">\n" +
"<HTML>\n" +
"<HEAD><TITLE> FORM </TITLE></HEAD>\n" +
"<BODY>\n" +
"<H1> FORM </H1>\n" +
"<UL>\n" +
" <LI><B>param1</B>: "
+ request.getParameter("param1") + "\n" +
" <LI><B>param2</B>: "
+ request.getParameter("param2") + "\n" +
" <LI><B>param3</B>: "
+ request.getParameter("param3") + "\n" +
"</UL>\n" +
"</BODY></HTML>");
} The Servlet code should be correct because I copied it from tutorial
the error is:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
Starting server Bundled Tomcat (5.5.17)
Starting Tomcat process...
Waiting for Tomcat...
Starting of Tomcat failed.
C:\Documents and Settings\Domenico\FormServlet\nbproject\build-impl.xml:440: Deployment error:
Starting of Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 9 seconds)sing CATALINA_BASE: C:\Documents and Settings\Domenico\.netbeans\5.5\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Programmi\netbeans-5.5\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Documents and Settings\Domenico\.netbeans\5.5\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Programmi\Java\jdk1.6.0
2-mag-2007 9.38.49 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programmi\Java\jdk1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\ATI Technologies\ATI Control Panel;C:\Programmi\QuickTime\QTSystem\
2-mag-2007 9.38.49 org.apache.coyote.http11.Http11BaseProtocol init
GRAVE: Error initializing endpoint
java.net.SocketException: Invalid argument: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2-mag-2007 9.38.49 org.apache.catalina.startup.Catalina load
GRAVE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.SocketException: Invalid argument: JVM_Bind
at org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2-mag-2007 9.38.49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1110 ms
2-mag-2007 9.38.50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2-mag-2007 9.38.50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
2-mag-2007 9.38.50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2-mag-2007 9.38.51 org.apache.coyote.http11.Http11BaseProtocol start
GRAVE: Error starting endpoint
java.net.SocketException: Invalid argument: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
at org.apache.catalina.connector.Connector.start(Connector.java:1089)
at org.apache.catalina.core.StandardService.start(StandardService.java:459)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2-mag-2007 9.38.51 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.SocketException: Invalid argument: JVM_Bind
at org.apache.catalina.connector.Connector.start(Connector.java:1096)
at org.apache.catalina.core.StandardService.start(StandardService.java:459)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2-mag-2007 9.38.51 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1656 ms
2-mag-2007 9.38.51 org.apache.catalina.core.StandardServer await
GRAVE: StandardServer.await: create[8025]:
java.net.SocketException: Invalid argument: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) -
Revision: 18538
Revision: 18538
Author: [email protected]
Date: 2010-11-11 09:59:23 -0800 (Thu, 11 Nov 2010)
Log Message:
Remove apache-tomcat-6.0.14 and apache-tomcat-6.0.26 versions from trunk
checkintests: passed
Ticket Links:
http://bugs.adobe.com/jira/browse/tomcat-6
http://bugs.adobe.com/jira/browse/tomcat-6
Removed Paths:
blazeds/trunk/servers/apache-tomcat-6.0.14/
blazeds/trunk/servers/apache-tomcat-6.0.26/I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file. -
What are the advantages of Tomcat 6.x in comparison to Tomcat 5.5?
Hi,
What are the advantages of Tomcat 6.x in comparison to Tomcat 5.5, in terms of performance, scalability, development and deployment.
Is there any particular reason for the changed directory structure in Tomcat 6.x, other than making it simplified.
In case this is not the right place for this question, please direct me to the right forum.
Thankshttp://forums.sun.com/thread.jspa?threadID=5422359&messageID=10897994#10897994
http://forums.sun.com/thread.jspa?threadID=5422354&messageID=10897951#10897951
http://forums.sun.com/thread.jspa?threadID=5422095&messageID=10896690#10896690 -
Consolidation of Oracle Database 10g Express Edition "Bugs"
I'll take a stab at cleaning this up. This is a collection of postings, reported as bugs, but not really bugs or difficult to understand/reproduce. These were filed in the Database General forum and they should have been filed in the XE forum.
Firstly, thank you for taking the time to report these issues and suspected issues. In the future, it would be quite helpful to everyone if you reported these in the XE forum.
1. Oracle Database 10g Express Edition Bugs
This is not a bug. The developer toolbar will show when you are authenticated to the development environment. You do not have to be authenticated to your application for the developer toolbar to appear.
2. Oracle Database 10g Express Edition Bugs
If data is present in the cache, this is up to the application developer (you) to implement the proper security which prevents this behavior.
3. Oracle Database 10g Express Edition Bugs
This is a minor issue, at best. For this type of search interface, it is desirable to perform a case-insensitive query. Wouldn't it be a shame if you searched for "item" and it did not return results that contained "Item".
4. Oracle Database 10g Express Edition Bugs
This is not a bug. Different authentication schemes have different data restrictions. It is up to you, the application developer, to easily implement the data validations appropriate for your application.
5. Oracle Database 10g Express Edition Bugs
Insufficient information provided. You will have to specify what exact error message is arising and what data you changed which resulted in this error. A complete step-by-step test case is desirable, please.
6. Oracle Database 10g Express Edition Bugs
Duplicate of #5 above. And still insufficient information.
7. Oracle Database 10g Express Edition Bugs
Not a bug. This is intentional behavior. If I know I want to enter table name EMP, it would be bad from a usability standpoint to always force the user to employ their mouse.
8. Oracle Database 10g Express Edition Bugs
This could not be reproduced.
9. Oracle Database 10g Express Edition Bugs
Almost identical to #8. Please clarify what the expected behavior should be.
JoelThis discussion has been continued in the XE forum at:
Consolidation of Oracle Database 10g Express Edition "Bugs"
In the future, please attempt to post all XE-related issues in the XE forum.
Joel -
Deployment failed: The evaluate phase failed. The Adapter used in the evalu
Hi All,
I am deploying an application in Oracle Application Server ( 10.1.2.0.2) made using EJB and myfaces as the front end.
While deploying the application i am facing the following Error.
Deployment failed: The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
Resolution:
Please call Oracle support.
Base Exception:
java.lang.NoClassDefFoundError
org/apache/commons/logging/LogFactory. org/apache/commons/logging/LogFactory
I have all the ADF libraries in applib of OC4J. Also, i have added "jsp-el-api.jar" in the applib of OC4J, as mention in reply to similar error in the forum.
But still i am getting the same error when i try to deploy the application.
Please help.
Thanks and Regards,
Vikram singhThe one you're missing is something like commons-logging-xxx.jar. It either needs to be included in the EAR and the MANIFEST.MF, or you can put it in app-lib with the other stuff.
-
CorrelationSet with JMS: "Failed to evaluate correlation query"
Hi,
i want to send a message over JMS to another service and then receive the correlated message back in my BPEL process.
The only documentation i found was http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/async.htm#CIHBIEEJ
Here the error message:
callbackClient (faulted)
[2007/01/31 10:16:41] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
- <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
Failed to evaluate correlation query.
Failed to evaluate the correlationAlias query "/ns2:Request/ns2:Header/@Nummer" on the element "oracle.xml.parser.v2.XMLElement@b0abcb"
Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
</summary>
</part>
</selectionFailure>
Here the source of invoke and receive:
<invoke name="callbackClient" partnerLink="ControlEntrance"
portType="ns1:Produce_Message_ptt" operation="Produce_Message"
inputVariable="callbackClient_Produce_Message_InputVariable">
<correlations>
<correlation initiate="yes" set="myCorrelationSet"
pattern="out"/>
</correlations>
</invoke>
<receive name="Receive_1" partnerLink="ControlExit"
portType="ns3:Consume_Message_ptt" operation="Consume_Message"
variable="Receive_1_Consume_Message_InputVariable"
createInstance="no">
<correlations>
<correlation initiate="no" set="myCorrelationSet"/>
</correlations>
</receive>
If i change the pattern="out" to "in" (invoke-node), then the instance never completes in the BPELConsole (stops before invoke in AUDIT) but my JMS-webservice is executed....
If pattern="in" i see in the logfile:
ORABPEL-03813
Failed to evaluate correlation query.
Failed to evaluate the correlationAlias query "/ns2:Request/ns2:Header/@Nummer" on the element "oracle.xml.parser.v2.XMLElement@ccef02"
Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
So it is the same error but my webservice is invoked and i can provide a ORABPEL-number...
Message was edited by:
HEWizardHi,
"The property alias was not defined correctly in the BPEL/WSDL source, or the payload is not as expected"...
I bet on the latter... the payload is not as expected... Have you checked the payload?
Cheers,
Vlad -
Failed to evaluate correlation query
Hi,
can anyone help me in resolving this error even after giving all the correlation properly. i am getting the following error message
Failed to evaluate correlation query.
Failed to evaluate the correlationAlias Query /esa:processServiceOrder/esa:ServiceOrder/esa:id" on the element "oracle.xml.parser.v2.XMLElement@29b829b8"
Please check your BPEL/WSDL source to make sure that property alias is defined correctly.Hi,
"The property alias was not defined correctly in the BPEL/WSDL source, or the payload is not as expected"...
I bet on the latter... the payload is not as expected... Have you checked the payload?
Cheers,
Vlad -
Hi all,
I am trying to evaluate a string expression against rows of data. If the data satisfys that condition/expression then its selected otherwirse its not.
To re-iterate how to evaluate a string expression like: "value < 1"
against data values like: 0, 1, 2 ...n
Any help will be appreciated. Thanks in advance.
Here's the code I am using:
* Evaluates the Expression Either return True or False
* @return
public boolean evalExpression() {
boolean retval = true;
// Identify the conditional process step
if (this.isConditional()) {
// get the inputs
for (int i = 0; i < myInputs.size(); i++) {
ContainerDataElement containerDataElement = (ContainerDataElement) myInputs
.elementAt(i);
String data = containerDataElement.getValueAsString();
// Get the conditions
for (int j = 0; j < myProcessConditions.size(); j++) {
ProcessCondition pc = (ProcessCondition) myProcessConditions
.elementAt(j);
Boolean condition = new Boolean(pc.getExpression());
// Evaluate the expression against the data elements
if (condition.booleanValue()) {
retval = true;
else {
retval = false;
return retval;
}ProcessCondion holds the Expression but I need to match the value the expression matches.
A bit like equals example I am trying out now:
public boolean evalExpression() {
boolean retval = true;
// Identify the conditional process step
if (this.isConditional()) {
// get the inputs
for (int i = 0; i < myInputs.size(); i++) {
ContainerDataElement containerDataElement = (ContainerDataElement) myInputs
.elementAt(i);
String data = containerDataElement.getValueAsString();
com.aim.common.DebugLog.debug("dataELEMENTS--------"
+ data.toString());
// Get the conditions
for (int j = 0; j < myProcessConditions.size(); j++) {
ProcessCondition pc = (ProcessCondition) myProcessConditions
.elementAt(j);
com.aim.common.DebugLog.debug("ProcessCondition--------"
+ pc.toString());
Boolean condition = new Boolean(pc.getExpression());
com.aim.common.DebugLog.debug("condition--------"
+ condition.toString());
// Evaluate the expression against the data elements
if (containerDataElement.equals(condition)) {
com.aim.common.DebugLog.debug("conditionEVALUATED--------"
+ retval);
retval = true;
else {
retval = false;
return retval;
} -
Hi Guys,
I need to write java command line program to evaluate a mathematical
expression input by user without parantheses using Stack approach.
Can anyone give me the clue how to start of with.
Is it possible to evaluate the expression in infix notation directly using stack, without converting to prefix notation.
Thanks in advanceIs there something nicer?You can also use java 6 and javascripts. I saw a
thread where someone posted an example.
KajI posted something a couple of weeks back (reply #2):
http://forum.java.sun.com/thread.jspa?threadID=5137192
Of course, you don't need to bind any variables and can do it like this:import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
public class ScriptDemo {
public static void main(String[] args) {
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEngineByName("js");
try {
String expression = "3+4";
Object result = engine.eval(expression);
System.out.println(expression+" = "+result);
} catch(ScriptException se) {
se.printStackTrace();
output: 3+4 = 7.0
*/ -
"Application failed to evaluate" during OSD after SP1 Upgrade
Hi,
Today i upgraded out configuration manager from 2012 rtm to 2012 sp1. The update process completet without any errors but now i'm unable to install application during osd. The first application crashed with the message:
Installation job completed with exit code 0x00000000
Execution status received: 16 (Application failed to evaluate )
in smsts.log
I know that there are some gotcha's regarding application installation during osd after sp1 upgrade. I already did the following steps:
- Update the deployment type of the application in my osd task sequence
- Re-Add the Network Access Account
- Removed the first application in the task sequence to see if the problem is application related
- Checked the option "Allow this application to be installed.." in the application properties
- Reboot my site servers
I can install application via Software Center without any problems, also the software updates are working normally.
Thanks in advanceHi,
How are things going? Please let us know if there is any progress.
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. -
Failed to evaluate package P01000XX, Error code 0x80070002
I have a package that got deleted while it still had all the DP's listed under content location, so now I have every site flagged with a big yellow warning.
Not really a big deal but before I could just look at all 54 secondary's at a glance and see green but now I have to select each one to check its status.
Anyone know how to remove it like it never existing so my update status points will go back to green?Hi,
Does the smsdpmon.log still say "Failed to evaluate package P01000F3, Error code 0x80070002" now?
Please check the blog below.
If the package is not on the site, you must remove the package from WMI on the distribution point. The namespace to connect to is root\sccmdp.
Troubleshooting Content Mismatch Warnings on a Distribution Point in
System Center 2012 Configuration Manager
Best Regards,
Joyce
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Maybe you are looking for
-
Transfer music from iBook g4 to MacBook pro
What is the most efficient way to transfer music from an older iBook to a new MacBook Pro? There are too many tracks to try to do this with RW CDs.
-
NokiA Lumi 1520 (Cyan package) can not change APN
Hi, I am Lumia user. I bought No Lumia 1520 in VN 2 month ago. It work properly until the day i came to Japan, and update my fone to Lumia Cyan. Now, i can not use internet with my simcard's data plan (Jp Docomo). I tried to add new APN, but i couldn
-
InDesign CC 2014 crashes seconds after opening file
Hi All, I have an InDesign document that I have been working on recently, a large document with many links and placed vectors, however seconds after this file opens InDesign suddenly crashes. We have the same problem on multiple Macs, and have tried
-
Standardizing Date Storage & Retieval
We are working on a web based application, that deploys a small JAVA applet to the client. We want to maintain date integrity for users in various time zones. Our thought is to save the date in the database in Grenwich Mean Time and retrive/display t
-
IMovie Won't Work; Reinstall?
I'm a big baseball fan, so naturally I got excited when I found out that I can watch the top highlights from each game on MLB.com. I got even more excited when I discovered that Flip4Mac (Trial version) allows me to view them (which are in WMV format