Values from a java archive file that uses Coherence are null

This is essentially the details of my project.
Check the values in andrew's coherence cluster.
Checkign the values in the stats class.
z:\javaclasses\stats.jar
Some sample code:
-- initialize
/* start the stats class (the fields you want to look) */
Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW,
StatsField.PREV_CLOSE);
-- pulling data
if (Stats.get(sSymbol).PREV_CLOSE != null) {
fValue = Stats.get(sSymbol).PREV_CLOSE;
-- in your .bat file (Before setting the classpaths)
call z:\coherence\bin\prod_setup.bat
set java_opts=%java_opts%
-Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
myclasspaths
myclasspaths
myclasspaths
My bat file looks like this.
call z:\coherence\bin\prod_setup.bat
set java_opts=%java_opts% -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
cd \
cd C:\Users\Dan\Documents\Documents_for_4th_Project
SET PATH=%PATH%;Z:\jdk1.7.0\bin
SET CLASSPATH=
SET CLASSPATH=%CLASSPATH%;.
SET CLASSPATH=%CLASSPATH%;z:\javaclasses\stats.jar
SET CLASSPATH=%CLASSPATH%;Z:\coherence\lib3702\coherence.jar
javac ValuesInStats.java
java ValuesInStats
pause
My ValuesInStats.java looks like this below.
* To change this template, choose Tools | Templates
* and open the template in the editor.
//package ValuesInStats;
import stats.*;
import java.io.*;
* @author Dan
public class ValuesInStats
* @param args the command line arguments
private double dayHigh;
private double dayLow;
private double prevClose;
public void startStatClass()
Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW, StatsField.PREV_CLOSE);
public void pullDataFromStatClass()
if (Stats.get("GOOG")._1_DAY_HIGH != null)
dayHigh = Stats.get("GOOG")._1_DAY_HIGH;
if (Stats.get("IBM")._1_DAY_LOW != null)
dayLow = Stats.get("IBM")._1_DAY_LOW;
if (Stats.get("SLB").PREV_CLOSE != null)
prevClose = Stats.get("").PREV_CLOSE;
public static void main(String[] args)
ValuesInStats stat = new ValuesInStats();
stat.startStatClass();
stat.pullDataFromStatClass();
try
PrintWriter inputToFile = new PrintWriter(new BufferedWriter(new FileWriter("C:\\Users\\Dan\\Documents\\Documents_for_4th_Project\\DANS_StatReport.txt")));
inputToFile.println(stat.dayHigh);
inputToFile.println(stat.dayLow);
inputToFile.println(stat.prevClose);
inputToFile.close();
catch(Exception e)
e.getMessage();
e.printStackTrace();
The results i'm getting are included below.
C:\Users\Dan\Documents\Documents_for_4th_Project>call z:\coherence\bin\prod_setup.bat
C:\Users\Dan\Documents\Documents_for_4th_Project>REM
C:\Users\Dan\Documents\Documents_for_4th_Project>REM Call this batch file before setting any PATH or CP or JAVA_OPTS.
C:\Users\Dan\Documents\Documents_for_4th_Project>REM You can override anything you don't like afterwards.
C:\Users\Dan\Documents\Documents_for_4th_Project>REM
C:\Users\Dan\Documents\Documents_for_4th_Project>title
C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_HOME=z:\jdk7
C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_EXE=z:\jdk7\bin\java_for_.exe
C:\Users\Dan\Documents\Documents_for_4th_Project>set PATH=z:\jdk7\bin
C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2" %u in ('date /t') do set d=%v
C:\Users\Dan\Documents\Documents_for_4th_Project>set d=10/11/2011
C:\Users\Dan\Documents\Documents_for_4th_Project>set timestr=20111011
C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2,3 delims=: " %i in ('time /t') do set q=%i%j%k
C:\Users\Dan\Documents\Documents_for_4th_Project>set q=1052AM
C:\Users\Dan\Documents\Documents_for_4th_Project>set datetime=20111011_1052AM
C:\Users\Dan\Documents\Documents_for_4th_Project>echo 20111011_1052AM
20111011_1052AM
C:\Users\Dan\Documents\Documents_for_4th_Project>REM token=14 for vista, 15 for XP
C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=14,15" %a in ('c:\windows\system32\ipconfig | c:\windows\system32\findstr /R "Address.*XXX.XXX.X."') do (IF "%a" == ":" (set my_ip=%b ) ELSE (set my_ip=%a ) )
C:\Users\Dan\Documents\Documents_for_4th_Project>(IF "XXX.XXX.X.XXX" == ":" (set my_ip= ) ELSE (set my_ip=XXX.XXX.X.XXX ) )
IP=XXX.XXX.X.XXX
C:\Users\Dan\Documents\Documents_for_4th_Project>for /F %i in ('z:\coherence\bin\getpid.exe') do set my_pid=%i
C:\Users\Dan\Documents\Documents_for_4th_Project>set my_pid=1464
C:\Users\Dan\Documents\Documents_for_4th_Project>IF /I "" == "OMS" goto OMS
C:\Users\Dan\Documents\Documents_for_4th_Project>goto DONE
C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
C:\Users\Dan\Documents\Documents_for_4th_Project>set java_opts= -Dtangosol.coherence.localhost=XXX.XXX.X.XXX -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.member=Dan -Xms -Xmx -server -showversion -Djava.
eferIPv4Stack=true -Dtangosol.coherence.log.level=3 -Dtangosol.coherence.log=z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.log -Xloggc:z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.gc -Dtangosol.pof.config=z:/coherence/pof-conf
-Dtangosol.coherence.cacheconfig=z:/coherence/cache-config.xml -Dtangosol.coherence.clusteraddress=255.0.0.1 -Dtangosol.coherence.clusterport=54321 -Dtangosol.coherence.cluster=oms_prod -Dtangosol.coherence.rack= -Dtangosol.cohere
te=1464 -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
C:\Users\Dan\Documents\Documents_for_4th_Project>cd \
C:\>cd C:\Users\Dan\Documents\Documents_for_4th_Project
C:\Users\Dan\Documents\Documents_for_4th_Project>SET PATH=z:\jdk7\bin;Z:\jdk1.7.0\bin
C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=
C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.
C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar
C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar;Z:\coherence\lib3702\coherence.jar
C:\Users\Dan\Documents\Documents_for_4th_Project>javac ValuesInStats.java
C:\Users\Dan\Documents\Documents_for_4th_Project>java ValuesInStats
2011-10-11 10:52:21.299/2.277 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence.xml"
2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence-override-dev.xml"
2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.7.0.2 Build 25173
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2011-10-11 10:52:22.625/3.603 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded Reporter configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/reports/report-group.xml"
2011-10-11 10:52:22.844/3.822 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/coherence-cache-config.xml"
2011-10-11 10:52:24.029/5.007 Oracle Coherence GE 3.7.0.2 <D4> (thread=main, member=n/a): TCMP bound to /XXX.XXX.X.XXX:8102 using SystemSocketProvider
2011-10-11 10:52:24.560/5.538 Oracle Coherence GE 3.7.0.2 <Info> (thread=Cluster, member=n/a): This Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInSt
uesInStats, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) joined cluster "cluster:0x96AB" with senior Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=proces
, Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2)
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
d Cluster with senior member 1
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
Cluster with senior member 1
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
d Cluster with senior member 1
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
d Cluster with senior member 1
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
d Cluster with senior member 1
2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
d Cluster with senior member 1
2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Cluster with senior member 1
2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Management with senior member 1
2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Cluster with senior member 1
2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Management with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Cluster with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Management with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Cluster with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Management with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Cluster with senior member 1
2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Management with senior member 1
2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Cluster with senior member 1
2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Management with senior member 1
2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
Group{Address=224.3.7.0, Port=37000, TTL=4}
MasterMemberSet
ThisMember=Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
OldestMember=Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
ActualMemberSet=MemberSet(Size=8, BitSetCount=2
Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0, BitSetCount=0
TcpRing{Connections=[7]}
IpMonitor{AddressListSize=0}
2011-10-11 10:52:24.872/5.850 Oracle Coherence GE 3.7.0.2 <D5> (thread=Invocation:Management, member=9): Service Management joined the cluster with senior service member 1
2011-10-11 10:52:25.871/6.849 Oracle Coherence GE 3.7.0.2 <D5> (thread=DistributedCache, member=9): Service DistributedCache joined the cluster with senior service member 9
Stats init _1_DAY_HIGH
Stats init _1_DAY_LOW
Stats init PREV_CLOSE
Stats.get() hm has null for GOOG
Stats.get() hm has null for IBM
Stats.get() hm has null for SLB
2011-10-11 10:52:28.605/9.583 Oracle Coherence GE 3.7.0.2 <D4> (thread=ShutdownHook, member=9): ShutdownHook: stopping cluster node
2011-10-11 10:52:28.620/9.598 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=9): Service Cluster left the cluster
C:\Users\Dan\Documents\Documents_for_4th_Project>pause
Press any key to continue . . .
I'm not sure why I'm getting null values. Let me know if additional information is needed. Thanks!
P.S. IP Addresses represent XXX.XXX.X.XXX for security purposes.

Here's the details of the stat class from the stats.jar. Thanks!
package stats;
import java.lang.reflect.Field;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
public class Stats implements com.tangosol.util.MapListener, com.tangosol.net.MemberListener {
public String SYMBOL;
public String NAME;
public String CUSIP;
public Long POSITION_LIMIT;
public Float YEAR_HIGH;
public String NEWS_BUY_RATING;
public String NEWS_SELL_RATING;
public String NEWS_NOTES;
public Long AVG_DAILY_VOLUME;
public Float MARKET_CAP;
public Float _1_DAY_GROUP_PERCENT_CHANGE;
public String PRIMARY_GROUP;
public String ZACKS_RANK;
public String FUND_GRADE;
public String CRAMER_CALL;
public Float PREV_CLOSE;
public Float KSLOW;
public Float DSLOW;
public Float _90_DAY_HIGH;
public Float _90_DAY_LOW;
public Float _90_DAY_PERCENT_OF_RANGE;
public Float _52_WEEK_HIGH;
public Float _52_WEEK_LOW;
public Float _52_WEEK_PERCENT_OF_RANGE;
public Date NEXT_EARNINGS_DATE;
public String NEXT_EARNINGS_ANNOUNCEMENT_TIME;
public Object OPENING_INDICATION;
public oms.OrderExchange PRIMARY_EXCHANGE;
public Float _1_DAY_PERCENT_CHANGED;
public Float _1_DAY_PERCENT_CHANGED_TEST;
public Float _1_DAY_HIGH;
public Float _1_DAY_LOW;
public Long POSTMARKET_VOLUME;
public Long PREMARKET_VOLUME;
public Float OPEN_PRICE;
public Integer POSTMARKET_TRADES;
public Integer PREMARKET_TRADES;
public Float POSTMARKET_HIGH;
public Float POSTMARKET_LOW;
public Float PREMARKET_HIGH;
public Float PREMARKET_LOW;
public Float POSTMARKET_VOLUME_WEIGHTED_AVG_PRICE;
public Float PREMARKET_VOLUME_WEIGHTED_AVG_PRICE;
public Float POSTMARKET_AVG_PRICE;
public Float PREMARKET_AVG_PRICE;
public Boolean IS_OPEN_ON_NYSE;
public Boolean IS_HALTED;
public Integer NEWSWARE_STORY_COUNT;
public Float _1_DAY_PERCENT_OF_RANGE;
public Boolean IS_ETF;
public Integer ROUND_LOT_SIZE;
public Integer LOCATED_SHARES_AVAILABLE;
public Boolean IS_OPTIONABLE;
private static HashMap<String, Stats> hm;
private static List<com.tangosol.net.NamedCache> subscribedCacheList;
private static Stats INSTANCE;
private Set<StatsUpdateListener> updateListenerSet;
public Stats() {
//compiled code
throw new RuntimeException("Compiled Code");
public void memberJoined(com.tangosol.net.MemberEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public void memberLeaving(com.tangosol.net.MemberEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public void memberLeft(com.tangosol.net.MemberEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public static Stats get(String string) {
//compiled code
throw new RuntimeException("Compiled Code");
public static void init(StatsField[] sfs) {
//compiled code
throw new RuntimeException("Compiled Code");
private static Field getField(com.tangosol.util.MapEvent me) throws NoSuchFieldException {
//compiled code
throw new RuntimeException("Compiled Code");
private void notifyUpdateListeners(Field field, Object o) {
//compiled code
throw new RuntimeException("Compiled Code");
public void addStatsUpdateListener(StatsUpdateListener sl) {
//compiled code
throw new RuntimeException("Compiled Code");
public void removeStatsUpdateListener(StatsUpdateListener sl) {
//compiled code
throw new RuntimeException("Compiled Code");
private void processInsertOrUpdate(com.tangosol.util.MapEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public synchronized void entryInserted(com.tangosol.util.MapEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public synchronized void entryUpdated(com.tangosol.util.MapEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
public void entryDeleted(com.tangosol.util.MapEvent me) {
//compiled code
throw new RuntimeException("Compiled Code");
}

Similar Messages

  • How can I get dataTable to display values from the java layer?

    When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
    If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
    <h:dataTable var="data" value="#{NameBean.test}" border="1">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    </h:column>
    <h:column>
    <f:facet name="header">
    <!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
    <h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </f:facet>
    </h:column>
    </h:dataTable>
    public List gettest()
              List li = new LinkedList();
              Object Developers[] = {"M@n00j", "sdsadas"};
              for( int i = 0; i < Developers.length; i++ )
                   li.add(Developers);
              return li;
    Thanks in advance to anyone that can help.
    -ls6v

    I've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
    I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
    rows="0" in the <h:dataTAble tag
    Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
    Here's what it's printing to the screen (the table):
    ===================
    == [asdasd], [sddfdfd] ==
    ===================
    ===================
    == [asdasd], [sddfdfd]==
    ===================
    what it should print:
    ============
    == [asdasd] ==
    ============
    ============
    == [sddfdfd] ==
    ============
    My code:
    public List gettest()
              List li = new ArrayList();
              li.add("asdasd");
              li.add("affffd");
              return li;
              }JSP
    <h:dataTable border="1" columnClasses="list-column-left"
        headerClass="list-header"
        rowClasses="list-row-odd"
        id="table"
        rows="0"
        value="#{NameBean.test}"
        var="data">
    <h:column>
    <f:facet name="header">
    <h:outputText value="test"/>
    </f:facet>
    <h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </h:column>
    </h:dataTable>

  • Static lookup lists:read data from a Java *.properties file

    Hi
    i need to make static lookup lists i am using read data from a Java *.properties file
    i am using the Class "PropertyFileBasedLookupViewObjectImpl" that wrote by Steve Muench in ToyStore.
    but i need to use the default language for that i update the loadDataFromPropertiesFile()
    method to find the correct properties file
    String temp=Locale.getDefault().getLanguage();
    String propertyFile =
    getViewDef().getFullName().replace('.', '/')+"_"+temp+ ".properties";
    the problem:
    For English(TEST_en.properties) it is good and working
    For Arabic(TEST_ar.properties) read from correct file _ar.properties
    but the dispaly character is wrong
    When Debug
    In the File 1=&#1583;&#1605;&#1588;&#1602;
    In debug 1=/u32423

    Depending on your use case you can either use a programmatic VO or directly expose the JV class as a data control.
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html

  • Archiving Projects that use Nested Sequences

    I'm looking for some help using Project Manager to archive projects that use nested sequences. 
    I work at the University of Michigan, we are wrapping up a study that is based on files from many Premiere Pro projects.  Each project started with 150 to 160 min of video footage from two cameras.
    Of this we have edited down to a 10 – 20min finished sequence containing footage from both cameras as a two-camera shoot.  I want to archive eachproject (to save HDD space) retaining only the used sections of footage in thePPro archived project, allowing us to make minor edits to the projects.
    My workflow has been to rely heavily on nested sequences throughout each project.  From two sequences containing all of the footage from Camera1 and Camera2 all the way to the final cut sequence everything is dependent on a series of interim nested sequences. So the last sequence “Final” is based/linked on the very first sequences.  When I attempt toarchive this using Project Manager the nested sequence edits are not recognized as individual clips.  I either end up with all of the original footage or no footage.  I’m not sure how (if?) I can archive these projects in a way to eliminate all but the final file footage segments with 30 frame handles.
    Can anyone point me in the right direction or offer some advice?

    figure for $1000/terabyte drive
    Alot less than that, you can get a good Dual HD enclosure for $100 and probably less than that, and 500 Gig Drives for about $250 a piece, so assume about $600 without shopping too hard.
    I find it is alot easier to use HDs, and have a couple of copies for important projects. You can use the other items as another backup (never can have too many) and going to be easier than having to recapture, especially if there was dropped framess or timecode issues. Guess it comes down too how often do you have to go back annd re-edit a wedding DVD once it is done, and what will make your like easier when it is said and done, but if it happens, on the HD just open it up, otherwise you have to recapture the tapes which is a couple of hours at least it sounds like.
    As to archieve DVDs, who knows. There have been claims that the original CDs were to last 100 years, some of the ones I bought when they first came out started to go a few years ago. Same for some other media.

  • Itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?

    itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?
    new to itunes, used windows media player before that and always ripped music directly to an external hardrive and accessed it through the player. now that i downloaded itunes it is taking from the external hardrive and copying a second file for each song onto my lap top hard drive which does not have the capacity for all my music. as itunes converts music files i want them saved back onto my external drive or another location i have space for rather than the lap top. how do i change the setting to move the itunes media folder to another location. assuming that hitting copy and past and dropping it in a random location will cause a few errors.

    When I have done this, all I did was network the two machines and copy the contents of the iTunes folder to the other machine, and that's it.
    My understanding (which may not be 100% correct) is that the one file that is absolutely necessary is iTunes Library, and that the XML file is actually a copy auto-generated from the iTunes Library, appearing in a different format only for non-iTunes apps that take advantage of the iTunes Library data.
    As far as I know, if you simply have the Library (database) file and all your original music files, iTunes on that computer should operate as it did on your old computer. I believe that the Album Artwork, Genius Data, and XML files can be regenerated from the Library file. Not sure about the Extras file.

  • How to call Fortran .dll file that using other library files?

    Hi,
    I am trying to do some arkward tasks using LabView, and I am desperately need help....
     A little bit background:
    1. My co-worker has some code written in Fortran, where he called other libraries (many from CERNLAB or PAW). Those stuffs are pretty powerful in mathmatical calculation and simulations.
    2. In some of my LabView code, I need to call his Fortran source code in order to do some complicated calculations. I have no capablility to translate his Fortran code to Labview (or is it even possible??), so we end up with trying to use "Call library function node" where I just provide input/outputs to communicate with his code. The idea sounds simple enough?
    3. We complie the Fortran code into .dll, and then specifiy the dll in "Call library function node". The first try with a very simple Fortran code, something like c = a+b*a, was sucessful. The dll file and Call lib function worked good. It's sort of proved the concept.
    4. Now I am trying more complicated Fortran code (say Test.dll), which calling other library (.lib files) that using typical "call xxx(a,b,c)" line, and my nightmare started....  It seems nothing was excuted when I call Test.dll in LabView.
    Questions:
    1. How do LabView know if the Test.dll code needs functions from other .lib files? Do I need to copy all the .lib files to a specific folder?
    2. When I create .dll file, for LabView to be able to use it, are there any special requirement on the way the .dll is compiled?
    3. Seems there is mismatch btw the data type in Fortran and LabView. For example, LabView's  Signed 8-bit Integer seems different with a integer in Fortran. How can i know the correlation btw data type in different langurage, i.e. LabView vs Fortran?
    4. Are there any good examples that I can take a look?
    I would highly appreicate any suggestions/helps!
    Rgds,
    Harry

    You are aware that Intel Visual Fortran is the successor to Compaq Visual Fortran (I think you made a mistype with the Virtual)? So an upgrade might be at its place.
    Anyhow I'm really not familiar with Fortran at all, but lib files are usually compiled into an EXE or DLL and not loaded dynamically. 1) 
    So there should be no problem with locating those libs. What most likely is a problem are other DLL dependencies such as any Fortran Runtime library or possibly other third party DLLs the more advanced code in your DLL might be using.
    Typically most compilers can be configured to link the runtime library code statically into the DLL, as altenbach reports for the Intel compiler, otherwise you must make sure to install the  redistributable Fortran Runtime Library for your compiler. Besides that you must make sure to find out what other runtime dependencies your code might have and install them.
    1) One exception I know of is LabWindows CVI which allows to also load lib files dynamically. This is supposedly a legacy feature from LabWindows for DOS, which allowed that feature to simulate dynamic module loading in order to swap modules at runtime to work around the 640k memory limitation of DOS.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Files that used to be visible are now hidden in Mavericks. How can I change the setting to view the same files as before? I do not need the hidden files that are typically invisible.

    Files that used to be visible are now hidden in Mavericks 10.9.1. How can I change the setting to view the same files as before? I do not need the hidden files that are typically invisible.
    I am having trouble locating such files as PDF's INDD, AI etc. When I view all hidden files and try to open it in the program..it looks like it is really not on the drive. Has anyone come across a solution?

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Recently my adobe is taking much longer to load PDF files that used to open immediately

    recently my adobe is taking much longer to load PDF files that used to load almost instantly

    Look at this comprehensive trouble shooting document;
    https://discussions.apple.com/docs/DOC-3353
    I suggest that you start with SMC and PRAM resets.
    Then  a Safe Boot.
    Ciao.

  • Problem in scheduling data refresh of excel file that uses PowerPivot

    I think I have successfully created and enabled the gateway and data sources for refresh - they are both seeming to connect.  However, when I try to schedule a data refresh to occur in the PowerBI site for the Excel file I receive an error message
    that the connection could not be established and receive error message "Correlation ID: d118ab93-436d-44a9-8c09-564f64fe0c58".  Appreciate any assistance in figuring out how to resolve.  Thanks a lotl

    Let's track it here: https://social.technet.microsoft.com/Forums/en-US/42c806dc-2d82-4bcf-ab6e-c279e2692a68/problem-in-scheduling-data-refresh-of-excel-file-that-uses-powerquery-and-powerquery?forum=powerbiforoffice365 
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Upload text file that uses "|" as separator

    Hello,
    Im trying to upload a text file that uses " | " to separate its columns using fm gui_upload, but it only uploads the first column.
    Could anybody tell me what other fm i can use or what i may be doing wrong?

    Use this.
    CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                      = lv_file
            filetype                      = 'ASC'
           <b> has_field_separator           = '|'</b>
            header_length                 = 0
            read_by_line                  = 'X'
       DAT_MODE                      = ' '
       CODEPAGE                      = ' '
            ignore_cerr                   = 'X'
            replacement                   = '#'
       CHECK_BOM                     = ' '
       VIRUS_SCAN_PROFILE            =
       NO_AUTH_CHECK                 = ' '
    IMPORTING
       FILELENGTH                    =
       HEADER                        =
          TABLES
            data_tab                      = data_mat
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    Reward Points if useful.
    Thanks
    Aneesh.

  • I have files that say they are missing or offline. I have checked all my folders off of lightroom and they can not be found. I have used the ? mark settings to find and still not found. I can see the images on lightroom so they have to be in my system som

    I have files that say they are missing or offline. I have checked all my folders off of lightroom and they can not be found. I have used the ? mark settings to find and still not found. I can see the images on lightroom so they have to be in my system some how. How can I retrieve these images? Is there a re boot for lightroom? Need help ASAP!

    You have probably moved the files outside of Lightroom. The images you see in LR are previews that were made before you moved the files.
    Do a search for the files/folders using your computers operating system. (Explorer/Finder)
    Once you have found them, you can point LR to the right location.

  • Files that iLife needs are missing Files that iWeb needs are missing

    Well, I seem to have a problem that was in other threads, but they really didn't resolve the issue - just got lucky.
    When opening either any iWork app or iWeb, I get the following message: "Files that Ilife needs are missing".
    This occured after an archive install, but I have removed any file/library remotely connected to IWeb and (several times) reinstalled ILife from the DVD.
    I tried the install iWork demo workaround - no luck!
    iMovie, iDvd, iTunes all work OK.
    What are the critical files in this case?
    How do I resolve this?

    OK, I fixed it
    1. Use AppDelete to delete all programs installed by iLife
    2. Download iLifeSupport
    3. Show Package contents, open "installers" and run each of the installers (5) then run iLifeSupport.dist
    4. Reinstall iLife
    Did it for me, but it took a while

  • Some files that iWork needs are missing.

    I tried updating iWork '08, but the installer failed during the update of Pages. Since then i have been unable to boot any of the iWork apps. Numbers and Pages both gives the same error message: "Some files that iWork needs are missing", it then suggests that i reinstall iWork '08, but when i do that, the same issues still remain. i have tried reinstalling, uninstalling by deleting the app icon and then installing it again, ive also tried uninstalling using appdelete, and then install it again, but the same issue just remains.
    Do you know what i can do?
    Thanks in advance.

    Guys
    I have the same problem as above.
    What happened was that all was fine, then trying to install an add-in for Safari, I hapened to delete the System/Library folder when the GUI went slow on me :-(((
    Anyway, couldn't fix or reboot, so ended up reloading the OS from the DVD's.
    Once that was done, almost everything was OK, except for Parallels and iWork08, both of which had worked previously.
    In the case of iWork08 I've tried all the tips here (delete any file associated with iWork 06/08, fix rights) and even going as far as looking what files the install package says it installs.
    Yet, the problem remains.
    Like some others, the installer thinks I'm UPGRADING rather than installing fresh.
    What other tips can you give, where is the root problem and how do I get around it?
    Thanks!
    /TrakDah

  • Files that iWork needs are missing

    When I open Pages or either of the other 2 apps, I get the error window that says, "Files that iWork needs are missing. To restore the missing files, use the iWork installer to reinstall iWork."
    About 2 days after I loaded iWork8, my computer hard drive crashed (would not boot up). I downloaded everything except the System onto an external hard drive, wiped the G5 hard drive, and reinstalled the System. I recopied everything back from the external hard drive, but iWork will not open.
    I tried reinstallation, and everything went though the install process, but still it would not open.
    Then I did a Spotlight search for anything that said iWork, dumped all of that, did another reinstallation from the disk, and it still gives the same error message.
    Now what? I have iWork on my laptop, and I really like it and would really like to have it work on my desk top computer.

    Dennis,
    No doubt it would have been better had I reinstalled iWork from the CD rather than just drag all my applications from my external drive. But all other 74 primary apps (Office as 1 primary app) that I brought in by dragging work just fine. If iWork is going to be this touchy, then Apple should provide an "Uninstall" program as Windows has to do for this very reason -- you can't ever find all the little files that an application uses.
    I did as you suggested: searched for iWork, Pages, Numbers, and Keynote. I am a university professor and some of these terms generate a lot of files.
    For "pages" I got 20 folders, 2 images, 54 presentations, 2 music, 1 application (the one we want to find), 249 PDF documents, 793 HTML files, 994 documents, and 89 "other". Do I just dump the application, or are there "documents" or any other kind of file I need to dig through?
    For "keynote" I got: 4 folders (all dealing with keynote speakers), 1 application (the one we want to find), 17 PDF documents, 8 HTML files, 33 documents, and 68 "other". Do I just dump the application, or are there "documents" or any other kind of file I need to dig through?
    For "numbers" I got: 0 folders, 531 presentations, 4 application (1 of which is the 1 we want to find), 3 system preferences (none of which seems to be related to iWork), 544 PDF documents, 874 HTML files, 1915 documents, and 20 "other". Do I just dump the application, or are there "documents" or any other kind of file I need to dig through?
    I will wait to hear from you before I dump anything. Thanks.
    Calidris

  • Open a web page and pass values from a java file

    Hi,
    I need to open a web page and pass values in the text boxes.
    Finally submit needs to be triggered. All this needs to be done from a java file. i.e instead of entering my values in a web page and submit, i need to do it from my java file..
    Any inputs so that I proceed in the right direction..or is there any alternate way to achive this ??
    Thanks in advance..
    Sid

    I hava found a lines of jaa that can open a URL , lets say www.net.java
    You can open it writable or not.
    It is half of the job you need.
    If you are interested.
    I am wrinting a program to print a URL , and have developed this small
    code.
    Angel Portal

Maybe you are looking for

  • Error create a software component

    I am trying to create a software component in SLD, but I am getting following error. <b>“Unknown reference instance in CIMPropertyReference key property” </b>. I am giving following parameters . Product  : TBIT40_WORKSHOP,1.0 of SAP Vendor :sap Name

  • FIle Creation in the Application Server With Unicode-8 and Byte-Order Mark

    Hi Guys, I've requirement of creating a file in the Application server with the Data. The Data Format Should be in UTF-8 and Byte-Order Mark. I need to supply this data from SAP to PRMS. I'm able to create a file with Unicode, but any of the guys hav

  • Adobe Reader X (10.1.1) Invalid plugin detected. Adobe Reader will quit.

    This is the second time this has happen. My system consists of the following: PC running Windows 7 w/64bit When I try to open a .pdf Iget a pop-up within 10 seconds say Invalid plugin detected. Adobe Reader will quit. I paid the $39.00 from tech supp

  • Grid control agent and data guard in mount mode

    Hello, I would like to know how you manage your data guards when you do not have the license for active data guard with the grid control agents. The standby database is in mount mode, so the agents cannot query the database. What do you guys do in su

  • Export Issues in Iphoto 11'

    I am having some serious issues trying to move my iphoto library to an external hard drive. I have read just about every article on here about the issue but none help at all. I keep going to File > Export and it brings up the options box for exportin