[ADF BC] error in using ajax4jsf with jdeveloper 10.1.3
I want to use ajax4jsf with jdeveloper 10.1.3 but foolowing error is appearing when i run my application
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: org.apache.commons.collections.map.LRUMap
Dependent class: org.ajax4jsf.cache.LRUMapCache
Loader: current-workspace-app.web.Application11-Project1-webapp:0.0.0
Code-Source: /D:/testProjects/Application11/Project1/public_html/WEB-INF/lib/richfaces-impl-3.1.3.GA.jar
Configuration: WEB-INF/lib/ directory in D:\testProjects\Application11\Project1\public_html\WEB-INF\lib
The missing class is not available from any code-source or loader in the system. at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264) at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462) at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167) at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119) at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674) at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635) at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.ajax4jsf.cache.LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:49) at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:110) at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.getFilterConfig(HttpApplication.java:7585) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:515) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
Missing class: org.apache.commons.collections.map.LRUMap
The commons-collections.zip included with JDeveloper 10.1.3 does not include the LRUMap class.
Use the Apache Commons Collections commons-collections-3.2.zip.
http://commons.apache.org/downloads/download_collections.cgi
Similar Messages
-
How to use BC4J with JDeveloper 9i in a Team
Hello
I'm not sure if I'm to stupid, but to say the truth I didn't found the clue how to share a BC4J Application between several develeopers. Maybe someone can give me a hint.
That's my situation:
Our team is going to develop a web application using BC4J and BC4J-JSP, nothing special I think.
But my problem is, that BC4J and especially the wizards refer to a lot of different files. Even simple changes often result in multiple files being changed in different parts of the project.
Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.
So it is not easy to find parts of code from which I can say they are owned by one developer and others which are owned by another. Most often, if you have to merge the work of different developers, you have to edit the BC4J-XML-Files using an external editor. Or did someone find a better way? Please tell me!
So, what is the best way to share code between developers?
Should I partition the application by packages?
- advantage:
it allows a fine partitioning
- disadvantages:
it has the great danger that BC4J makes changes in other packages which will be overseen when merging.
Should I create a projects for each developer and distribute code between the projects using libraries?
- advantage: no unseen changes will happen, as the libraries are readonly.
- disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.
Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.
So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.
Thanks in advance
Frank BrandstetterHi,
I'm not sure whether my answer is good enough for you, but it might help.
First of all, you have to use JDev 9.0.3, because 9.0.2 has big problems with associations/view links between objects in different projects.
Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.This is not completely true in 9.0.3, as you may choose not to create an accessor in the imported object (and usually you don't need it neither!). As for bc4j.xcfg, there is a trick: define a "standard" database connection name to use all over your project! This will prevent modifying these files all the time!
Should I create a projects for each developer and distribute code between the projects using libraries?
- advantage: no unseen changes will happen, as the libraries are readonly.
- disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.I would say, projects for each application component, which by chance will be managed by a single developer at a time.
As for the disadvantages, in 9.0.3 you are able to properly create associations and links using read-only objects. Hopefully, the release version will solve some generation inconsistencies...
Concerning the errors that occur when modifying a library, this might be balanced by the relative independence of the components... If you are able to develop following the dependency tree, you will not meet the problem very often.
Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.Indeed, I do not have a SCMS really able to manage merges in the BC4J XML files... We rather try not to arrive there!
So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.I really hope that my hints will help.
Regards,
Adrian -
ERROR:JAVA.LANG.CLASSCASTEXCEPTION WITH JDEVELOPER 10.0.1.3
I´m trying to use JSTL functions but I have the error
"Error:java.lang.ClassCastException with JDeveloper 10.0.1.3".
When I make or rebuild the code I have the error.
The test <c:when test="${fn:length(P_LIGACOES) > 0}" > has error. I´ve been
used others functions and the error is the same.
Please, see JSP code as follows:
<%@ page import="java.text.DateFormat"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.text.NumberFormat"%>
<%@ page import="com.celesc.tf.BilheteTelefonico"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ligações Telefônicas</title>
<style type="text/css">
Body{
background-image: url(images/fdo.jpg);
background-repeat: no-repeat;
background-color: #FFFFFF;
</style>
<link href="css/ligtel.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 align=center> </h1>
<h1 align=center> </h1>
<c:choose>
<c:when test="${!empty mensagem}">
<h1 align=center>
<img src="images/erro.jpg"><font size="5" face="Verdana, Arial, Helvetica,
sans-serif"><c:out value="${mensagem}"/></font></h1>
</c:when>
<c:otherwise>
<%
Vector ligacoes = (Vector) request.getAttribute("P_LIGACOES");
SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy
HH:mm:ss");
double totalligacoes = 0;
NumberFormat preco = NumberFormat.getCurrencyInstance();
%>
<c:choose>
<c:when test="${fn:length(P_LIGACOES) > 0}" >
<h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
sans-serif">Nenhuma ligação Realizada</font></h1>
</c:when>
<c:otherwise>
<h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
sans-serif">Relação das Ligações</font></h1>
<table class="table-normal" width="70%" align="center">
<tr class="table-result">
<td colspan="5"><b><%= ligacoes.size()%> </b> Ligações Realizadas</td>
</tr>
<tr class="table-title">
<td>Fone Chamado</td>
<td>Ramal</td>
<td>Data</td>
<td>Duração</td>
<td>Custo(R$)</td>
</tr>
<c:forEach items="${P_LIGACOES}" var="bilhete">
<tr class="table-content">
<td><c:out value="${bilhete.numeroChamado}"/></td>
<td><c:out value="${bilhete.ramalOrigem}"/></td>
<td><c:out value="${bilhete.dataLigacao}"/></td>
<td><c:out value="${bilhete.duracao}"/></td>
<!--<td><c:out value="${bilhete.custo}"/></td>-->
<td><c:out value="${bilhete.custo}"/></td>
<c:set var="totalligacoes" value="${totalligacoes +
bilhete.custo}"/>
</tr>
</c:forEach>
<tr class="table-result">
<td colspan="4" align="right"><B>Total</B></td>
<!-- <td ><B><%= preco.format(totalligacoes)%></B></td> -->
<td><B><c:out value="${totalligacoes}" /></B></td>
</tr>
</table>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</body>
</html>Hi,
Please make sure that there is no other version of *"net.nrj.alf.DimensionLabel"* class present in any other Class Loader
There are various kind of Class Loaders : PreMordial Class Loader, BootStrap ClassLoader, System Class Loader (WebLogic ClassLoader), Application ClassLoader, Module Class Loader....
net.nrj.service.SearchServiceProcessor java.lang.ClassCastException: net.nrj.alf.DimensionLabel java.lang.ClassCastException: net.nrj.alf.DimensionLabel If your code is working fine in WLS9.2 it means in WLS10.3.3 the same class is getting loaded from different Class Loaders...In order to find out which classLoader is being used to load that class please do the following:
<b><font color=maroon>
Class dimentionLevel=Class.forName("net.nrj.alf.DimensionLabel")
ClassLoader cl=dimentionLevel.getClassLoader();
System.out.println("\n\n\t DimentionLevel is loaded from ClassLoader: "+cl);
</font></b>
Above 3 Lines of code you need to write for "net.nrj.service.SearchServiceProcessor" class as well...Because i suspect that these two classes are getting loaded from two different class Loaders.
If the Application Code is 100% correct The Main reason of ClassCastException is Classes are getting Loaded from two Different Class Loaders. You can also look at the Filtering ClassLoader Feature of WebLogic to Tell WebLogic to Load some Classes from a Specific ClassLoaders...As described Here .*http://middlewaremagic.com/weblogic/?page_id=192*
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic/?page_id=2261 (Middleware magic Is Here) -
Using Struts with JDeveloper, BC4J and OC4J 9.0.2
Is it feasible to use Struts with JDeveloper 9.0.2, BC4J 9.0.2 and OC4J 9.0.2? We have an application that uses the BC4J JBO tags in version 9.0.2. We wish to use Struts and we want to retain the use of the JBO tags. Is there a way to do this without upgrading to 9.0.3?
Here are two related questions:
Can we upgrade to oracle9iAS 9.0.3 yet still use JDeveloper 9.0.2 and BC4J/JBO 9.0.2?
Can we upgrade to JDeveloper 9.0.3 and BC4J/JBO 9.0.3 yet still deploy to oracle9iAS 9.0.2? -
How to use CVS with JDeveloper
Hi all!
I'm starting a new project and I would like to know how to use CVS with JDeveloper. This is my first project where I will have two more people working with me and I don't know what the better approach is. Should I use CVS that come with JDeveloper (option Internal to Oracle JDeveloper 10g) or should I configure an external repository? In both cases, I don't know what I have to do to have CVS working properly with JDeveloper. Actually I tried to create a new CVS connection in CVS navigator (using the access method Password Server), but when I test I receive the message: Could not open connection to CVS server: general socket failure, sure I must doing something wrong.
I'm using JDeveloper 10.1.3.0.4
Thanks in advance.Thanks for you help John!
I installed cvsnt and when I try to create a new CVS connection inside JDeveloper I receive the message: authorization failed: server adminf29786.dixamico.com.br rejected access to /Diversos/DownLoad/CVS/usr/local/cvsroot for user JMartins
I using pserver method and JMartins is my user in windows
There is something that I'm curious about, when I was installing CVSNT I didn't configure any user and password, is there any default user/password?
Thanks! -
Is there a detailed tutorial about using Subversion with JDeveloper?
Hi,
My project is currently in my single-user repository, and I have checked out, modified, and checked in my files. All that works fine, but there is much more functionality available. At the moment, I am going through some YouTube videos by Stuart Fleming, but I was hoping that someone might suggest an article that I could keep as a searchable reference.
Thanks.
JamesHi Timo,
Using Subversion with JDeveloper is the only way I use it. Would you explain what you mean below?
You just need a couple of method which are not dependant on jdev.
Thanks.
James -
Using richfaces with jdeveloper 10.3.1.4
hello.
Iam trying to use richfaces with my jsf project.
iam using developer 10.3.1.4 and jsf 1.1, i think. (didnt add any extra library for jsf in jdeveloper).
i used this step by step:
1. i downloaded richfaces from here [http://www.jboss.org/jbossrichfaces/downloads/] .jboss-richfaces-3.0.1-bin.zip
version ( i also tried different versions).
2. i uniziped and copied jar files in to web-inf/lib
3. right cliked on project -> project properties ->libraries ->add jar/directory and added all 3 jar files.
4. changed web.xml file
5. added
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
on jsp
6. ran the project.
i got an error:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: org.apache.commons.collections.map.LRUMap
Dependent class: org.ajax4jsf.cache.LRUMapCache Loader: current-workspace-app.web.Test-rf3-webapp:0.0.0 Code-Source: /D:/product/jdevstudio10134/jdev/mywork/Test/rf3/public_html/WEB-INF/lib/richfaces-impl-3.1.0.jar Configuration: WEB-INF/lib/ directory in D:\product\jdevstudio10134\jdev\mywork\Test\rf3\public_html\WEB-INF\libThe missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.ajax4jsf.cache.LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:49)
at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:110)
at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getFilterConfig(HttpApplication.java:7592)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:515)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
which richfaces i can use for jdeveloper 10.3.1.4?does trindiad only work on apache server? Iam using oracle aplication server with Soa suite.
i tried this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1250"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250"/>
<title>untitled1</title>
</head>
<body><h:form>
<tr:outputText value="bghg"/>
</h:form></body>
</html>
</f:view>
But i see blank page whe i run it. i dont get any error. -
Error while using pppd with chat script.
We are using pppd with chat script to establish a connection.
In the process we get the "Protocol reject" error.
e.g.
Fri Feb 26 11:35:40 2010 : Serial connection established.
Fri Feb 26 11:35:40 2010 : Using interface ppp0
Fri Feb 26 11:35:40 2010 : Connect: ppp0 <--> /dev/cu.usbmodem413
Fri Feb 26 11:35:43 2010 : Remote message: PAP access OK
Fri Feb 26 11:35:43 2010 : PAP authentication succeeded
Fri Feb 26 11:35:43 2010 : Protocol-Reject for unsupported protocol 0x382
Fri Feb 26 11:35:46 2010 : Protocol-Reject for unsupported protocol 0x382
Fri Feb 26 11:35:48 2010 : local IP address 161.30.96.51
Any inputs for resolving this error.Some more details:
Tue Mar 9 13:39:34 2010 : Serial connection established.
Tue Mar 9 13:39:34 2010 : using link 0
Tue Mar 9 13:39:34 2010 : Using interface ppp0
Tue Mar 9 13:39:34 2010 : Connect: ppp0 <--> /dev/cu.usbmodem413
Tue Mar 9 13:39:35 2010 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x23b22dfd> <pcomp> <accomp>]
Tue Mar 9 13:39:35 2010 : rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <magic 0x23b22dfd> <pcomp> <accomp>]
Tue Mar 9 13:39:35 2010 : sent [LCP ConfReq id=0x2]
Tue Mar 9 13:39:35 2010 : rcvd [LCP ConfAck id=0x2]
Tue Mar 9 13:39:37 2010 : rcvd [LCP ConfReq id=0x34 <mru 1500> <auth pap>]
Tue Mar 9 13:39:37 2010 : lcp_reqci: returning CONFACK.
Tue Mar 9 13:39:37 2010 : sent [LCP ConfAck id=0x34 <mru 1500> <auth pap>]
Tue Mar 9 13:39:37 2010 : sent [PAP AuthReq id=0x1 user="void" password=<hidden>]
Tue Mar 9 13:39:37 2010 : rcvd [PAP AuthAck id=0x1 "PAP access OK"]
Tue Mar 9 13:39:37 2010 : Remote message: PAP access OK
Tue Mar 9 13:39:37 2010 : PAP authentication succeeded
Tue Mar 9 13:39:37 2010 : sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 161.30.96.51> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Tue Mar 9 13:39:37 2010 : sent [ACSCP ConfReq id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
Tue Mar 9 13:39:37 2010 : rcvd [LCP ProtRej id=0x35 03 82 35 01 01 00 10 01 06 00 00 00 01 02 06 00 00 00]
Tue Mar 9 13:39:37 2010 : Protocol-Reject for unsupported protocol 0x382
Tue Mar 9 13:39:39 2010 : rcvd [IPCP ConfRej id=0x1]
Tue Mar 9 13:39:39 2010 : sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 161.30.96.51> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Tue Mar 9 13:39:40 2010 : sent [ACSCP ConfReq id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
Tue Mar 9 13:39:40 2010 : rcvd [LCP ProtRej id=0x36 03 82 35 01 01 00 10 01 06 00 00 00 01 02 06 00 00 00]
Tue Mar 9 13:39:40 2010 : Protocol-Reject for unsupported protocol 0x382
Tue Mar 9 13:39:41 2010 : rcvd [IPCP ConfRej id=0x2]
Can anyone provide help to resolve the above error ? -
Getting "invalid type: 169" errors when using POF with Push Replication
I'm trying to get Push Replication - latest version - running on Coherence 3.6.1. I can get it working fine if I don't use POF with my objects, but when trying to use POF format for my objects I get this:
2011-02-11 13:06:00.993/2.297 Oracle Coherence GE 3.6.1.1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2011-02-11 13:06:01.149/2.453 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded POF configuration from "file:/C:/wsgpc/GlobalPositionsCache/resource/coherence/pof-config.xml"
2011-02-11 13:06:01.149/2.453 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6/coherence/lib/coherence.jar!/coherence-pof-config.xml"
2011-02-11 13:06:01.149/2.453 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-common-1.7.3.20019.jar!/coherence-common-pof-config.xml"
2011-02-11 13:06:01.165/2.469 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-messagingpattern-2.7.4.21016.jar!/coherence-messagingpattern-pof-config.xml"
2011-02-11 13:06:01.165/2.469 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-pushreplicationpattern-3.0.3.20019.jar!/coherence-pushreplicationpattern-pof-config.xml"
2011-02-11 13:06:01.243/2.547 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Service DistributedCacheForSequenceGenerators joined the cluster with senior service member 1
2011-02-11 13:06:01.258/2.562 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheForLiveObjects, member=1): Service DistributedCacheForLiveObjects joined the cluster with senior service member 1
2011-02-11 13:06:01.274/2.578 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheForSubscriptions, member=1): Service DistributedCacheForSubscriptions joined the cluster with senior service member 1
2011-02-11 13:06:01.290/2.594 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheForMessages, member=1): Service DistributedCacheForMessages joined the cluster with senior service member 1
2011-02-11 13:06:01.305/2.609 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheForDestinations, member=1): Service DistributedCacheForDestinations joined the cluster with senior service member 1
2011-02-11 13:06:01.305/2.609 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Service DistributedCacheWithPublishingCacheStore joined the cluster with senior service member 1
2011-02-11 13:06:01.321/2.625 Oracle Coherence GE 3.6.1.1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
2011-02-11 13:06:01.461/2.765 Oracle Coherence GE 3.6.1.1 <Info> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): TcpAcceptor now listening for connections on 166.15.224.91:20002
2011-02-11 13:06:01.461/2.765 Oracle Coherence GE 3.6.1.1 <D5> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): Started: TcpAcceptor{Name=Proxy:ExtendTcpProxyService:TcpAcceptor, State=(SERVICE_STARTED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.DefaultSerializer, PingInterval=0, PingTimeout=0, RequestTimeout=0, SocketProvider=SystemSocketProvider, LocalAddress=[/166.15.224.91:20002], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}, ListenBacklog=0, BufferPoolIn=BufferPool(BufferSize=2KB, BufferType=DIRECT, Capacity=Unlimited), BufferPoolOut=BufferPool(BufferSize=2KB, BufferType=DIRECT, Capacity=Unlimited)}
2011-02-11 13:06:01.461/2.765 Oracle Coherence GE 3.6.1.1 <D5> (thread=Proxy:ExtendTcpProxyService, member=1): Service ExtendTcpProxyService joined the cluster with senior service member 1
2011-02-11 13:06:01.461/2.765 Oracle Coherence GE 3.6.1.1 <Info> (thread=main, member=1):
Services
ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.6, OldestMemberId=1}
InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
PartitionedCache{Name=DistributedCacheForSequenceGenerators, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCacheForLiveObjects, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCacheForSubscriptions, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCacheForMessages, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCacheForDestinations, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCacheWithPublishingCacheStore, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
ProxyService{Name=ExtendTcpProxyService, State=(SERVICE_STARTED), Id=9, Version=3.2, OldestMemberId=1}
Started DefaultCacheServer...
2011-02-11 13:08:27.894/149.198 Oracle Coherence GE 3.6.1.1 <Error> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): Failed to publish EntryOperation{siteName=csfb.cs-group.com, clusterName=SPTestCluster, cacheName=source-cache, operation=Insert, publishableEntry=PublishableEntry{key=Binary(length=32, value=0x15A90F00004E07424F4F4B303038014E08494E535430393834024E0345535040), value=Binary(length=147, value=0x1281A30115AA0F0000A90F00004E07424F4F4B303038014E08494E535430393834024E03455350400248ADEEF99607060348858197BF22060448B4D8E9BE02060548A0D2CDC70E060648B0E9A2C4030607488DBCD6E50D060848B18FC1882006094E03303038402B155B014E0524737263244E1F637366622E63732D67726F75702E636F6D2D535054657374436C7573746572), originalValue=Binary(length=0, value=0x)}} to Cache passive-cache because of
(Wrapped) java.io.StreamCorruptedException: invalid type: 169 Class:com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher
2011-02-11 13:08:27.894/149.198 Oracle Coherence GE 3.6.1.1 <D5> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): An exception occurred while processing a InvocationRequest for Service=Proxy:ExtendTcpProxyService:TcpAcceptor: (Wrapped: Failed to publish a batch with the publisher [Active Publisher] on cache [source-cache]) java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:348)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.query(InvocationServiceProxy.CDB:6)
at com.tangosol.coherence.component.net.extend.messageFactory.InvocationServiceFactory$InvocationRequest.onRun(InvocationServiceFactory.CDB:12)
at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.onMessage(InvocationServiceProxy.CDB:9)
at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:103)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:163)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:343)
... 9 more
Caused by: (Wrapped) java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:265)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$ConverterKeyToBinary.convert(PartitionedService.CDB:16)
at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invoke(ConverterCollections.java:2156)
at com.tangosol.util.ConverterCollections$ConverterNamedCache.invoke(ConverterCollections.java:2622)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invoke(PartitionedCache.CDB:11)
at com.tangosol.coherence.component.util.SafeNamedCache.invoke(SafeNamedCache.CDB:1)
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:142)
... 10 more
Caused by: java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2265)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2253)
at com.tangosol.io.DefaultSerializer.deserialize(DefaultSerializer.java:74)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2703)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:261)
... 16 more
2011-02-11 13:08:37.925/159.229 Oracle Coherence GE 3.6.1.1 <Error> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): Failed to publish EntryOperation{siteName=csfb.cs-group.com, clusterName=SPTestCluster, cacheName=source-cache, operation=Insert, publishableEntry=PublishableEntry{key=Binary(length=32, value=0x15A90F00004E07424F4F4B303038014E08494E535430393834024E0345535040), value=Binary(length=147, value=0x1281A30115AA0F0000A90F00004E07424F4F4B303038014E08494E535430393834024E03455350400248ADEEF99607060348858197BF22060448B4D8E9BE02060548A0D2CDC70E060648B0E9A2C4030607488DBCD6E50D060848B18FC1882006094E03303038402B155B014E0524737263244E1F637366622E63732D67726F75702E636F6D2D535054657374436C7573746572), originalValue=Binary(length=0, value=0x)}} to Cache passive-cache because of
(Wrapped) java.io.StreamCorruptedException: invalid type: 169 Class:com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher
2011-02-11 13:08:37.925/159.229 Oracle Coherence GE 3.6.1.1 <D5> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): An exception occurred while processing a InvocationRequest for Service=Proxy:ExtendTcpProxyService:TcpAcceptor: (Wrapped: Failed to publish a batch with the publisher [Active Publisher] on cache [source-cache]) java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:348)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.query(InvocationServiceProxy.CDB:6)
at com.tangosol.coherence.component.net.extend.messageFactory.InvocationServiceFactory$InvocationRequest.onRun(InvocationServiceFactory.CDB:12)
at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.onMessage(InvocationServiceProxy.CDB:9)
at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:103)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:163)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:343)
... 9 more
Caused by: (Wrapped) java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:265)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$ConverterKeyToBinary.convert(PartitionedService.CDB:16)
at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invoke(ConverterCollections.java:2156)
at com.tangosol.util.ConverterCollections$ConverterNamedCache.invoke(ConverterCollections.java:2622)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invoke(PartitionedCache.CDB:11)
at com.tangosol.coherence.component.util.SafeNamedCache.invoke(SafeNamedCache.CDB:1)
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:142)
... 10 more
Caused by: java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2265)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2253)
at com.tangosol.io.DefaultSerializer.deserialize(DefaultSerializer.java:74)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2703)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:261)
... 16 more
2011-02-11 13:08:47.940/169.244 Oracle Coherence GE 3.6.1.1 <Error> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): Failed to publish EntryOperation{siteName=csfb.cs-group.com, clusterName=SPTestCluster, cacheName=source-cache, operation=Insert, publishableEntry=PublishableEntry{key=Binary(length=32, value=0x15A90F00004E07424F4F4B303038014E08494E535430393834024E0345535040), value=Binary(length=147, value=0x1281A30115AA0F0000A90F00004E07424F4F4B303038014E08494E535430393834024E03455350400248ADEEF99607060348858197BF22060448B4D8E9BE02060548A0D2CDC70E060648B0E9A2C4030607488DBCD6E50D060848B18FC1882006094E03303038402B155B014E0524737263244E1F637366622E63732D67726F75702E636F6D2D535054657374436C7573746572), originalValue=Binary(length=0, value=0x)}} to Cache passive-cache because of
(Wrapped) java.io.StreamCorruptedException: invalid type: 169 Class:com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher
2011-02-11 13:08:47.940/169.244 Oracle Coherence GE 3.6.1.1 <D5> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): An exception occurred while processing a InvocationRequest for Service=Proxy:ExtendTcpProxyService:TcpAcceptor: (Wrapped: Failed to publish a batch with the publisher [Active Publisher] on cache [source-cache]) java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:348)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.query(InvocationServiceProxy.CDB:6)
at com.tangosol.coherence.component.net.extend.messageFactory.InvocationServiceFactory$InvocationRequest.onRun(InvocationServiceFactory.CDB:12)
at com.tangosol.coherence.component.net.extend.message.Request.run(Request.CDB:4)
at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.InvocationServiceProxy.onMessage(InvocationServiceProxy.CDB:9)
at com.tangosol.coherence.component.net.extend.Channel.execute(Channel.CDB:39)
at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onNotify(Peer.CDB:103)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Attempted to publish to cache passive-cache
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:163)
at com.oracle.coherence.patterns.pushreplication.publishers.RemoteClusterPublisher$RemotePublishingAgent.run(RemoteClusterPublisher.java:343)
... 9 more
Caused by: (Wrapped) java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:265)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$ConverterKeyToBinary.convert(PartitionedService.CDB:16)
at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invoke(ConverterCollections.java:2156)
at com.tangosol.util.ConverterCollections$ConverterNamedCache.invoke(ConverterCollections.java:2622)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invoke(PartitionedCache.CDB:11)
at com.tangosol.coherence.component.util.SafeNamedCache.invoke(SafeNamedCache.CDB:1)
at com.oracle.coherence.patterns.pushreplication.publishers.cache.AbstractCachePublisher.publishBatch(AbstractCachePublisher.java:142)
... 10 more
Caused by: java.io.StreamCorruptedException: invalid type: 169
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2265)
at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2253)
at com.tangosol.io.DefaultSerializer.deserialize(DefaultSerializer.java:74)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2703)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:261)
... 16 more
It seems to be loading my POF configuration file - which also includes the standard Coherence ones as well as those required for PR - just fine, as you can see at the top of the trace.
Any ideas why POF format for my objects is giving this error (NB. I've tested the POF stuff outside of PR and it all works fine.)
EDIT: I've tried switching the "publisher" to the "file" publisher in PR. And that works fine. I see my POF format cached data extracted and published to the directory I specify. So the "publish" part seems to work when I use a file-publisher.
Cheers,
SteveHi Neville,
I don't pass any POF config parameters on the command-line. My POF file is called "pof-config.xml" so seems to be picked up by default. The trace I showed in my post shows the file being picked up.
My POF config file content is as follows:
<pof-config>
<user-type-list>
<!-- Standard Coherence POF types -->
<include>coherence-pof-config.xml</include>
<!-- Coherence Push Replication Required POF types -->
<include>coherence-common-pof-config.xml</include>
<include>coherence-messagingpattern-pof-config.xml</include>
<include>coherence-pushreplicationpattern-pof-config.xml</include>
<!-- User POF types (must be above 1000) -->
<user-type>
<type-id>1001</type-id>
<class-name>com.csg.gpc.domain.model.position.trading.TradingPositionKey</class-name>
<serializer>
<class-name>com.csg.gpc.coherence.pof.position.trading.TradingPositionKeySerializer</class-name>
</serializer>
</user-type>
<user-type>
<type-id>1002</type-id>
<class-name>com.csg.gpc.domain.model.position.trading.TradingPosition</class-name>
<serializer>
<class-name>com.csg.gpc.coherence.pof.position.trading.TradingPositionSerializer</class-name>
</serializer>
</user-type>
<user-type>
<type-id>1003</type-id>
<class-name>com.csg.gpc.domain.model.position.simple.SimplePosition</class-name>
<serializer>
<class-name>com.csg.gpc.coherence.pof.position.simple.SimplePositionSerializer</class-name>
</serializer>
</user-type>
<user-type>
<type-id>1004</type-id>
<class-name>com.csg.gpc.coherence.processor.TradingPositionUpdateProcessor</class-name>
</user-type>
</user-type-list>
</pof-config>
EDIT: I'm running both clusters here from within Eclipse. Here's the POF bits from the startup of the receiving cluster:
2011-02-11 15:05:22.607/2.328 Oracle Coherence GE 3.6.1.1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2011-02-11 15:05:22.779/2.500 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded POF configuration from "file:/C:/wsgpc/GlobalPositionsCache/resource/coherence/pof-config.xml"
2011-02-11 15:05:22.779/2.500 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6/coherence/lib/coherence.jar!/coherence-pof-config.xml"
2011-02-11 15:05:22.779/2.500 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-common-1.7.3.20019.jar!/coherence-common-pof-config.xml"
2011-02-11 15:05:22.779/2.500 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-messagingpattern-2.7.4.21016.jar!/coherence-messagingpattern-pof-config.xml"
2011-02-11 15:05:22.779/2.500 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-pushreplicationpattern-3.0.3.20019.jar!/coherence-pushreplicationpattern-pof-config.xml"
And here's the start-up POF bits from the sending cluster:
2011-02-11 15:07:09.744/2.343 Oracle Coherence GE 3.6.1.1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2011-02-11 15:07:09.916/2.515 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded POF configuration from "file:/C:/wsgpc/GlobalPositionsCache/resource/coherence/pof-config.xml"
2011-02-11 15:07:09.916/2.515 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6/coherence/lib/coherence.jar!/coherence-pof-config.xml"
2011-02-11 15:07:09.916/2.515 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-common-1.7.3.20019.jar!/coherence-common-pof-config.xml"
2011-02-11 15:07:09.916/2.515 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-messagingpattern-2.7.4.21016.jar!/coherence-messagingpattern-pof-config.xml"
2011-02-11 15:07:09.916/2.515 Oracle Coherence GE 3.6.1.1 <Info> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=1): Loaded included POF configuration from "jar:file:/C:/coherence3.6-pushreplication/coherence-3.6-pushreplicationpattern-3.0.3.20019.jar!/coherence-pushreplicationpattern-pof-config.xml"
They both seem to be reading my pof-config.xml file.
I have the following in my sending cluster cache config:
<sync:provider pof-enabled="true">
<sync:coherence-provider />
</sync:provider>
And this in the receiving cache config:
<introduce:config
file="coherence-pushreplicationpattern-pof-cache-config.xml" />
Cheers,
Steve
Edited by: stevephe on 11-Feb-2011 07:05 -
Error while using RSCRM_BAPI with remote cubes
Hi,
We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file.
We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going on and on with SAP development. They are saying we need to find alternatives.
I wanted to know if anybody has tried using display hierarchies with RSCRM_BAPI in 2004s if not then I would like to know what are my options in getting a flat hierarchy report on to a flat file?
I dont think infospoke supports flat hierarchy extracts as infoproviders dont store hierarchy information.
ThanksHeres my thought -
to use Bex Broadcaster to download the information,am not sure if RSCRM_BAPI is replaced by new functionality ,might wait for SAP to confirm.
<b>Key capabilities:-</b>
1)The right information:Based on BExqueries, views, workbooks, Web applications & enterprise reports
2)In different formats:HTML, MHTML, PDF, ZIP, printer formats, online links, SAP alerts
3)To the right people:e.g., single users, groups, distribution lists, user-specific or role-specific (incl. non-SAP users)
4)In different channels:e-mail, Portal, BExPortfolio (unified access based on Knowledge Management folders), collaboration rooms, Universal Work List
At the right time:event driven, exception driven, ad-hoc, scheduled
Bex Broadcaster + Information Broadcasting
Note 760775 - Settings for Information Broadcasting
Functions of Bex broadcaster
http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
Hope it Helps
Chetan
@CP.. -
Using TortoiseSVN with Jdeveloper
Hi,
How to use TortoiseSVN with J developer 10g.
I have installed Subversion1.3.2, TortoiseSVN 1.5.6,but couldn't find any tutorial online..........Hi,
TortoiseSVN is a stand alone SVN client (usually used as an explorer plug in). JDev comes with it's own SVN client build in (via an extension).
So what you can do is to check out some projects with JDev and use TortoiseSVN to check the folders in the file system. In theory you can check out projects using Tortoise and use them in JDev, but I never got it working correctly.
BUT you normally don't use Tortoise and JDev in parallel. You use either Tortoies or JDev.
I'll use Tortoise only to check some files when JDEV is not running. Some advanced function like branch or merge are better (easier) done using Tortoise, but this is my personal opinion.
One BIG Warning I have to share: Don't use Tortoise Version 1.5.x together with JDev. JDev uses svn in version 1.4.x (JD11g uses almost 1.5.x but I've not tested it). The protocol has changed between the 1.4.x version to 1.5.x version.
If you check out something with 1.5.x you can't see or use it with 1.4.x.
Timo -
Strange error while using ActionListener with RichCommandLink
Hi,
I am using Technology preview 3.
I have RichTable bound to af:table in my JSF page.
I am showing database contents inside richTable.
Inside richTable i have one extra column in which i am showing remove link. So every row of table will have remove link. I have added ActionListener as inner class for the backing bean. and this actionlistener i am adding into RichCommandLink(remove link)
But when i click on remove link I am getting weired exception. And i am not able to get why this error is coming.
This problem occures whenever I use contentDelivery parameter with <af:table>
Here is the stack trace of the error.
java.lang.InstantiationException: com.backingBean.UpdateSampleTypeB
ackingBean$MyLinkActionListener
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(S
tateUtils.java:286)
at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(S
tateUtils.java:202)
at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreList(StateUti
ls.java:257)
at org.apache.myfaces.trinidad.bean.PropertyKey.restoreValue(PropertyKey
.java:231)
at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUt
ils.java:148)
at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState
(FlaggedPropertyMap.java:194)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBean
Impl.java:358)
at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(U
IXComponentBase.java:881)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:861)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponent
Base.java:1154)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeStat
e.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestore
State(UIXComponentBase.java:855)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponent
Base.java:1154)
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.rest
oreView(StateManagerImpl.java:487)
at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl
.java:287)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWra
pper.java:193)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.resto
reView(ViewHandlerImpl.java:258)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(Li
fecycleImpl.java:438)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
ifecycleImpl.java:229)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
leImpl.java:155)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:65)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilte
r(SharedLibraryFilter.java:135)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:284)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:69)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:284)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter
.java:74)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:284)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invoke
DoFilter(TrinidadFilterImpl.java:208)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
erImpl(TrinidadFilterImpl.java:165)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
r(TrinidadFilterImpl.java:138)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
lter.java:92)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterC
hain.java:15)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
18)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:611)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:362)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpReq
uestHandler.java:915)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:821)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:599)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:383)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:161)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(Server
SocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
SocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocket
AcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
ServerSocketAcceptHandler.java:878)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:675)
Can anybody please provide any help on this?
Regards,
HirenHi Simon,
I am using addActionListener method of RichCommandLink
Here is how i am trying to use it.
public class backingBean {
private RichTable table;
public backingBean() {
RichColumn rc = new RichColumn();
RichCommandLink cmd = new RichCommandLink();
MyActionListener listener = new MyActionListener();
cmd.addActionListener(listener);
public RichTable getTable() {
return table;
class MyActionListener implements ActionListener {
public void processAction (ActionEvent actionEvent) throws AbortProcessingException {
// Processing related to edit components of backing bean
Hiren -
How to use ant with Jdeveloper 11g
Hello, as we develop our app with ADF Faces & EJB 3.0 we are using tomcat 6.x + openEJB 3.0 as a sort of app server. So we need to build application archive 2 differrent methods (collapsed war for tomcat and ear for Jdev's integrated WLS). Besides, some xml files need to be modificated depending on target server. So we are going to use ant to build archives.
My questions:
- Where should I copy built archive for deployment on integrated WLS (should I copy it in ant's target or Jdev can do it for me)? Or there is another way to do the following: when one presses Run button on a page ant builds an archive for local WLS and then app is deployed and the page is opened in a new browser tab (just like default Jdev behaviour)?
- Where can I find tutorial on integration of Jdev & ant?Here is a good example [http://biemond.blogspot.com/2009/04/weblogic-jdeveloper-ant-tasks.html]
-
Error when using MII with SAPUI5
I get the following error - "Unable to get value of the property 'getElementsByTagName':object is null or undefined
<!DOCTYPE HTML>
<HTML>
<HEAD>
<meta name="description" content="UI5 table example with local JSON model" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<TITLE>SAPUI5 Projects Status - Applications</TITLE>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"
type="text/javascript" src="/sapui5/resources/sap-ui-core.js" data-sap-ui-theme="sap_goldreflection"
data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.commons,sap.ui.table">
</SCRIPT>
<script>
var xmlHttp = new XMLHttpRequest();
var xmlDOM;
xmlHttp.open("GET","ProjectsStatus/Transactions/ProjectsStatus", false);
xmlHttp.send();
xmlDOM = xmlHttp.responseXML.documentElement;
var opElement = xmlDOM.getElementsByTagName("Row")[0].firstChild; <<<<<< I get error here - 'getElementsByTagName':object is null or undefined
var aData = eval(opElement.firstChild.data);
/* Define the table, with toolbar controls, update button */
var oTable = new sap.ui.table.DataTable("table", {
editable : true,
visibleRowCount :5
oTable.setSelectionMode(sap.ui.table.SelectionMode.Multi);
oTable.setToolbar(new sap.ui.commons.Toolbar({items: [
new sap.ui.commons.Button({text: "Update Data", press: updateData}),
new sap.ui.commons.Label({text: "First Visible Row"}),
new sap.ui.commons.TextField({tooltip: "First Visible Row", width: "30px", change: function(oEvent) { oTable.setFirstVisibleRow(parseInt(oEvent.getParameter("newValue"))); }}),
new sap.ui.commons.Label({text: "Visible Row Count"}),
new sap.ui.commons.TextField({tooltip: "Visible Row Count", width: "30px", change: function(oEvent) { oTable.setVisibleRowCount(parseInt(oEvent.getParameter("newValue"))); }})
/* Define the table columns */
var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
/* Define the JSON model */
var oModel = new sap.ui.model.json.JSONModel();
oModel.setData({modelData: aData});
/* Connect the data table to the JSON model */
oTable.setModel(oModel);
oTable.bindRows("modelData");
oTable.placeAt("content");
/* Function to save the updated data in the grid.*/
function updateData() {
/* get the selected row context and using the context read the required values from the selected row*/
var selRowContext = oTable.getContextByIndex(oTable.getSelectedIndex());
var selectedId = oModel.getProperty("giid", selRowContext);
var selectedApp = oModel.getProperty("application", selRowContext);
var selectedDate = oModel.getProperty("datedue", selRowContext);
document.icmd_common.setQueryTemplate("ProjectsStatus/MDO_Transactions/Projects_MDO_Select");
var commCommandQueryTemplate = document.icmd_common.getQueryObject();
commCommandQueryTemplate.setParam(1, selectedApplications);
commCommandQueryTemplate.setParam(2,selectedPercentComplete);
commCommandQueryTemplate.setParam(3, selectedDate_Due);
commCommandQueryTemplate.setParam(4, selectedTesting_Due);
document.icmd_common.executeCommand();
/* Display a success message */
sap.ui.commons.MessageBox.alert("Actual quantity updated successfully."); }
</script>
</head>
<body class='sapUiBody'>
<h><b>Applications</b></h><br><br>
<table style="width:100%">
<div id='content1'></div>
</table> <br><br><br>
</body>
<body class='sapUiBody'>
<h><b>Applications Changes</b></h><br><br>
<table style="width:100%">
<div id='content2'></div>
</table><br><br><br>
</body>
<body class='sapUiBody'>
<h><b>Infrastructure Changes</b></h><br><br>
<table style="width:100%">
<div id='content3'></div>
</table><br><br><br>
</body>
</html><!DOCTYPE HTML>
<HTML>
<HEAD>
<meta name="description" content="UI5 table example with local JSON model" />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<TITLE>SAPUI5 Projects Status - Applications</TITLE>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"
type="text/javascript" src="/sapui5/resources/sap-ui-core.js" data-sap-ui-theme="sap_goldreflection"
data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.commons,sap.ui.table">
</SCRIPT>
<script>
function PageLoad()
GetMDoData();
// create the DataTable control
var oTable = new sap.ui.table.Table({editable:true});
// define the Table columns
var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
// create some local data
var aData = [
{Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
{Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
{Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
{Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
{Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
{Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
{Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
{Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
{Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
{Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
{Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
{Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
{Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
{Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
{Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
{Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
{Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
/* =================================== */
/* Obtain Json object filled with Data* <<<<<< This is where it shows "no data" in the table
/* =================================== */
var xmlHttp = new XMLHttpRequest();
var xmlDom;
xmlHttp.open( "GET", "/XMII/Runner?Transaction=ProjectsStatus/Transactions/ProjectsStatus&OutputParameter=JSONData&Content-Type=text/xml", false );
xmlHttp.send();
xmlDom= xmlHttp.responseXML;
// xmlDom = xmlHttp.responseText;
// create a JSONModel, fill in the data and bind the Table to this model
// var oModel = new sap.ui.model.json.JSONModel();
var oModel = new sap.ui.model.xml.XMLModel();
oModel.setData({modelData: xmlDom});
oModel.setXML(xmlDom);
oTable.setModel(oModel);
oTable.bindRows("/element"); //where element is the node that represents that data which forms each row of the table
// finally place the Table into the UI
oTable.placeAt("content1");
</script>
<script>
// create the DataTable control
var oTable = new sap.ui.table.Table({editable:true});
// define the Table columns
var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
// create some local data
var aData = [
{Applications: "ISO IE11 BUG FIXES", PercentComplete: "0", Date_Due: "6/1/2014", Testing_Due: "" },
{Applications: "ISO Fernley TimeOut", PercentComplete: "0", Date_Due: "6/1/2014", Testing_Due: "" },
{Applications: "IE 11 Testing", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "IE 11 Testing_ISO Application", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
{Applications: "IE 11 Testing_ISO DSS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
{Applications: "IE 11 Testing_BOD/EPAmericas", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
{Applications: "IE 11 Testing_TOOLS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
{Applications: "IE 11 Testing_STATUS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
// create a JSONModel, fill in the data and bind the Table to this model
var oModel = new sap.ui.model.json.JSONModel();
oModel.setData({modelData: aData});
oTable.setModel(oModel);
oTable.bindRows("/modelData");
// finally place the Table into the UI
oTable.placeAt("content2");
</script>
<script>
// create the DataTable control
var oTable = new sap.ui.table.Table({editable:true});
// define the Table columns
var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
// create some local data
var aData = [
{Applications: "CIMX", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMX - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMX - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMX - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMX - Integration", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMID", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMID - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMID - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMID - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMID - Integration", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMIP", PercentComplete: "99.5", Date_Due: "", Testing_Due: "" },
{Applications: "CIMIP - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMIP - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMIP - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIMIP - Integration", PercentComplete: "98", Date_Due: "", Testing_Due: "" },
{Applications: "CIM1", PercentComplete: "99.5", Date_Due: "", Testing_Due: "" },
{Applications: "CIM1 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM1 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM1 - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM1 - Integration", PercentComplete: "98", Date_Due: "", Testing_Due: "" },
{Applications: "CIM2", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
{Applications: "CIM2 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM2 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM2 - Security", PercentComplete: "90", Date_Due: "", Testing_Due: "" },
{Applications: "CIM2 - Integration", PercentComplete: "50", Date_Due: "", Testing_Due: "" },
{Applications: "CIM3", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
{Applications: "CIM3 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM3 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
{Applications: "CIM3 - Security", PercentComplete: "90", Date_Due: "", Testing_Due: "" },
{Applications: "CIM3 - Integration", PercentComplete: "50", Date_Due: "", Testing_Due: "" },
{Applications: "CIM4", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
{Applications: "CIM4 - Connections", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
{Applications: "CIM4 - NWDI", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
{Applications: "CIM4 - Security", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
{Applications: "CIM4 - Integration", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
// create a JSONModel, fill in the data and bind the Table to this model
var oModel = new sap.ui.model.json.JSONModel();
oModel.setData({modelData: aData});
oTable.setModel(oModel);
oTable.bindRows("/modelData");
// finally place the Table into the UI
oTable.placeAt("content3");
</script>
</head>
<body class='sapUiBody'>
<h><b>Applications</b></h><br><br>
<table style="width:100%">
<div id='content1'></div>
</table> <br><br><br>
</body>
<body class='sapUiBody'>
<h><b>Applications Changes</b></h><br><br>
<table style="width:100%">
<div id='content2'></div>
</table><br><br><br>
</body>
<body class='sapUiBody'>
<h><b>Infrastructure Changes</b></h><br><br>
<table style="width:100%">
<div id='content3'></div>
</table><br><br><br>
</body>
</html> -
Licence Error while Using nqcmd with Analytics Web DSN
Hi,
While running nqcmd with Analytics Web DSN i am getting a DataDirect error, stating that you do not have appropriate licence to run ODBC Data Direct.
I am getting this on Linux box but while running the same on Windows their is no such error.
Have any one of you got such kind of stuff. I am using OBIEE which Oracle provides on her website for free for development purpose.
Please help.
Edited by: RKK on Oct 3, 2011 10:01 PMHi,
kindly Refer
https://forums.oracle.com/forums/thread.jspa?messageID=2289534�
Thanks
Deva
Maybe you are looking for
-
Poor performance ssd 7,1
Hi my name is Raul and i own a mid 2010 macbbok pro 7,1 core 2 duo 2.4ghz 4 gb ram ddr3, i bought an ssd for my laptop knowing that is not going to use the sata3 because this model is only sata2 capable but the you check in system information and say
-
Infotype for Bank details not highlighted even though user has access
Even though a user has Bank details maintain role with P_PERNR object's authorisation field as R and W, in his PA20 - Personnel data tab - In infotype text- for Bank details there is no tick / correct mark. Doesnt the tick mark depend on all the auth
-
I neet to format my iMac but the errase option is not clickable.
So, I am about to sell my 2011 iMac, but since it came with no disk of instalation, it came with Lion pre-installed, ive been worried about how do I restore it, ive searched a bit and i found that in disk utility you can "format" the HDD and automati
-
OmniPortlet parameter passing to another portlet (discoverer worksheet )
how can i use omniportlet's simple parameter form to pass parameter to the other portlet(discoverer worksheet portlet)? PLS help Korhan YUNAK
-
I am getting a consistent error message whenever I attempt to use the App Store for updating my system. Periodically Garage Band & iMovie. When I select update I get; There was an error in the App Store. Please try again later. (18) If it was a sin