Newbie question - JDBC with JSF

Anyone have a good example of populating a JSF object like a list box, table, etc with data using jdbc?

So, when I expect to add a quarter note (actually it should be notated as two tied eighth notes), instead I'm getting a dotted quarter note (appearing as an eighth note tied to a quarter note).
As I said, musical notation is not directly tied to the duration of the notes. So before you add that last quarter note, the display is perfectly musical. Now when you add the last note, the display switches and displays the notes differently. I just tried it out, I can add that note in the notation view (you might want to put it on the 1 of the next beat and then drag it to the left a little).
Most experienced GB users don't bother to use the notation view for editing, but use the "piano roll" view which gives you a lot more control about how the notes sound. Then let GB do the job of displaying them - you don't have andy influence on that anyway.

Similar Messages

  • Newbie question: working with note durations across measure breaks

    Hi, I'm a newbie with Garage Band. Last night I was entering some music as a software instrument, using the editor in both musical notation view and the other view (where the notes are solid rectangles). I'm having problems with note lengths. When I enter an eighth note, I want it to stay an eighth note . But when I copy-and-paste them, they don't start at the right place and the duration gets strange.
    I also had a lot of problems ending a 4/4 measure with an eighth note (on the "and" of beat 4) that should be tied to the first note in the next measure. I couldn't do this easily. I finally switched to the non-music notation mode, and dragged the right side of the note across the measure boundary, but with that, I couldn't get an eighth note, it would only go for a full beat in the next measure.
    Thank for any help
    j

    So, when I expect to add a quarter note (actually it should be notated as two tied eighth notes), instead I'm getting a dotted quarter note (appearing as an eighth note tied to a quarter note).
    As I said, musical notation is not directly tied to the duration of the notes. So before you add that last quarter note, the display is perfectly musical. Now when you add the last note, the display switches and displays the notes differently. I just tried it out, I can add that note in the notation view (you might want to put it on the 1 of the next beat and then drag it to the left a little).
    Most experienced GB users don't bother to use the notation view for editing, but use the "piano roll" view which gives you a lot more control about how the notes sound. Then let GB do the job of displaying them - you don't have andy influence on that anyway.

  • Question about app design with JSF

    I'm new to JSF and have been using MyFaces in combination with Tomcat and Hibernate to write a web application for my institution. We have a fairly clean model implemented and our hibernate persistence layer is also looking good. I'm running into trouble making a clean view layer with JSF. Namely, I can't seem to avoid creating lots of classes to get a given job done.
    As a for instance: I have quite a few enumerations representing various units of measure, conventions, etc. To persist them in the db with hibernate, I needed to make a converter class to convert the Enums to strings. I wrote a class using generics that could convert any enum to strings appropriately given a class object you pass into the constructor. Well, hibernate needs a no arg constructor so it can instantiate one automatically, so I had to make a subclass of this converter for each enumeration I have in my model. Couldn't see a way around it.
    Now, using JSF, I'm needing to implement another converter for enumerations in order convert back and forth from strings. Same deal. I could use a single class to get the job done. The problem is, in the faces-config.xml where you define your converter classes, it doesn't look like I can have 2 converters defined with the same converter class.
    i.e.:
    <converter>
    <converter-for-class>commons.astronomy.Epoch</converter-for-class>
    <converter-class>tools.webapp.EnumConverter</converter-class>
    <property>
         <property-name>enumClass</property-name>
         <property-class>java.lang.Class</property-class>
           <default-value>commons.astronomy.Epoch</default-value>
    </property>
    </converter>
    <converter>
    <converter-for-class>commons.astronomy.VelocityConvention</converter-for-class>
    <converter-class>tools.webapp.EnumConverter</converter-class>
    <property>
         <property-name>enumClass</property-name>
         <property-class>java.lang.Class</property-class>
            <default-value>commons.astronomy.VelocityConvention</default-value>
    </property>
    </converter>MyFaces seems to associate both Epoch and VelocityConvention with the second configuration of the EnumConverter class. So, the long and short of it is, here I am again having to write yet another class PER enumeration.
    I could go on with another example, but this post is getting lengthy, so I'll make it short. Some of my model classes are not java beans because it would create inconsistencies to only set some of the properties one at a time. I.E. I need to call a method obj.set(a, b) not obj.setA(a); obj.setB(b). My first thought was to create a custom component for obj so that I can turn 2 (or more) input fields into 1 set call. There are other advantages in reusability, etc.
    Unfortunately, I have several of those situations and am finding myself leaning toward implementing yet MORE classes to make a separate component for each such instance of a non-java bean set of properties.
    What it all comes down to is I seem to be having a class explosion and I'm wondering if there's a better approach to this whole thing. How do you organize a view layer that talks to a model having enumerations and not quite javaBean pattern properties without a class explosion? That's the question I guess.
    Thanks for your patience in reading all of that and any help you can provide!
    brian

    No, I don't have tables of values. I have a java 1.5 enumeration, like for instance:
    public enum VelocityConvention {
       RELATIVISTIC,
       REDSHIFT;
    }and a class Velocity that contains a convention and a value like so:
    public class Velocity {
       public VelocityConvention getConvention() {...}
       public double getValue() {...}
       public void set(VelocityConvention conv, double value) {...}
    }When I persist the Velocity class to the database, I want a field called convention that holds the appropriate value of the enumeration. That much is done how I explained before.
    I want to have a selectOneMenu for setting the convention. Via trial and error, I found that MyFaces wasn't able to automatically convert from a string back to a proper VelocityConvention enum constant. It can, of course, convert from the enum to a string because it just calls toString(). But I need both directions for any UIInput element I use, be it a selectOne, or just a straight inputText.

  • Upgrading to weblogic 12c issue with JSF

    Migrating to the Weblogic 12c faced so many issue with the shared class library. After fixing all the issue stuck with JSF and on google everywhere it was mentioned error happening due to multiple JSF version colliding.
    My whole application works like a charm in 10.3.6 but same app not working after updating the spring 4 and hibernate 4.
    This is the error I am receiving below errors ...
    <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <JSF1029: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' does not implement the InjectionProvider interface. >
    1. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
    2. Cause: Unable to create a new instance of 'org.springframework.web.jsf.DelegatingVariableResolver': javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
        at com.sun.faces.config.processor.LifecycleConfigProcessor.process(Unknown Source)
        Truncated. see log file for complete stacktrace
    Caused By: javax.faces.FacesException: org.springframework.web.jsf.DelegatingVariableResolver
        at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(Unknown Source)
        at com.sun.faces.config.processor.ApplicationConfigProcessor.process(Unknown Source)
        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source)
        Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: org.springframework.web.jsf.DelegatingVariableResolver
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        Truncated. see log file for complete stacktrace
    3. ]] Root cause of ServletException.
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
        at javax.faces.FactoryFinderInstance.getFactory(Unknown Source)
        at javax.faces.FactoryFinder.getFactory(Unknown Source)
        at javax.faces.webapp.FacesServlet.init(Unknown Source)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
        Truncated. see log file for complete stacktrace
    4.Error> <javax.faces> <BEA-000000> <Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.>
    <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
        at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
        at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
        at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:583)
        Truncated. see log file for complete stacktrace
    I had the classloader from weblogic but unable to find if there is anything related with Multiple JSF versions colliding. Here is the classloader log
    **System Classloaders**
    Type: sun.misc.Launcher$ExtClassLoader
    HashCode: 1956433926
    Classpath:
    /C:/Java/jdk1.7.0_45/jre/lib/ext/access-bridge-64.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/dnsns.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/jaccess.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/localedata.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunec.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunjce_provider.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/sunmscapi.jar
    /C:/Java/jdk1.7.0_45/jre/lib/ext/zipfs.jar
    Type: sun.misc.Launcher$AppClassLoader
    HashCode: 345487281
    Classpath:
    /C:/Oracle12c/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar
    /C:/Oracle12c/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar
    /C:/Oracle12c/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar
    /C:/Oracle12c/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar
    /C:/Oracle12c/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/webservices.jar
    /C:/Oracle12c/Middleware/wlserver_12.1/server/lib/xqrl.jar
    /C:/Program%20Files/Java/jdk1.7.0_45/lib/tools.jar
    Type: weblogic.utils.classloaders.GenericClassLoader
    HashCode: 1277718374
    Classpath:
    **Application Classloaders**
    Type: weblogic.utils.classloaders.FilteringClassLoader
    HashCode: 929366372
    Filter: [antlr.*, antlr.collections.*, antlr.collections.impl.*, antlr.debug.misc.*, com.sun.activation.*, com.sun.istack.*, com.sun.mail.*, com.sun.xml.*, org.apache.commons.*, org.joda.time.*, org.apache.xalan.*, org.apache.xml.*, org.apache.wml.*, org.apache.xerces.*, org.apache.xpath.*, com.ctc.wstx.*, org.slf4j.*, javax.faces.*, com.sun.faces.*, com.bea.faces.*, com.sun.el.*, javax.el.*, javassist.*]
    Classpath: empty
    Type: weblogic.utils.classloaders.GenericClassLoader
    HashCode: 2137066604
    Classpath:
    **Type: weblogic.utils.classloaders.FilteringClassLoader**
    HashCode: 1212049573
    Filter: []
    Classpath: empty
    Type: weblogic.utils.classloaders.ChangeAwareClassLoader
    HashCode: 1604673952
    Classpath:
    C:\s-ear-1.0-SNAPSHOT_4
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\classes
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\FastInfoset-1.2.12.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\_wl_cls_gen.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\acegi-security-1.0.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\activation.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\antlr-2.7.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aopalliance-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjrt-1.8.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\aspectjweaver-1.8.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\backport-util-concurrent-3.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\bcprov-jdk16-140.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cacauth-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-core-2.5.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\camel-josql-2.5.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps-handshake-3.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2-liquibase-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2domain-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\caps2util-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\cloning-1.7.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-beanutils-1.8.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-codec-1.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-collections-3.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-dbcp-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-digester-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-httpclient-3.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-io-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-lang-2.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-logging-api-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-management-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\commons-pool-1.5.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\dom4j-1.6.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\gentlyweb-utils-1.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-commons-annotations-4.0.4.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-core-4.2.18.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-entitymanager-4.2.18.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.1.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\hibernate-validator-4.2.0.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-ace-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icefaces-compat-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\icepush-3.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itext-4.2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\itextpdf-5.0.6.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-asl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-core-lgpl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jackson-mapper-asl-1.9.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jasperreports-ca-4.8.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javassist-3.18.2-GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.el-api-2.2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.faces-2.2.9.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\javax.inject-1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jax-qname.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb-impl-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxb1-impl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxp-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jaxws-api-2.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-archive-browsing-5.0.0alpha-200607201-119.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-3.1.3.GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-logging-annotations-1.2.0.Beta1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jboss-transaction-api_1.1_spec-1.0.1.Final.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jcl-over-slf4j-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jersey-bundle-1.18.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\joda-time-hibernate-1.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-1.5.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\josql-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\json-20140107.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr173_1.0_api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr250-api-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jsr311-api-1.1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jstl-1.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\jta-1.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\log4j-1.2.14.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail-1.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\mail.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\objenesis-1.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\opencsv-1.7.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\oro-2.0.8.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\portlet-api-2.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\primefaces-3.4.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\quartz-1.8.4.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api-1.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-api.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\saaj-impl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer-2.7.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\serializer.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\service-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\servlet.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-api-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\slf4j-log4j12-1.5.2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aop-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-aspects-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-beans-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-context-support-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-core-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-expression-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jdbc-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-jms-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-orm-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-oxm-3.0.5.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-security-core-4.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-tx-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-web-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-webmvc-4.0.9.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-core-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-ws-security-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\spring-xml-2.0.0.RELEASE.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\stax-api-1.0-2.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\3capture-1.0.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\s-beans-1.0-SNAPSHOT.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.core-3.1.0.CR10.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.jodatime-1.9.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\usertype.spi-3.1.0.CR10.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\validation-api-1.0.0.GA.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\wss4j-1.5.8.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xalan-2.7.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl-2.8.1.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xercesImpl.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xml-apis.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmldsig.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec-1.4.3.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xmlsec.jar
    C:\s-ear-1.0-SNAPSHOT_4\war\WEB-INF\lib\xws-security-3.0.jar
    jsf myfaces weblogic1
    Here are links for more details.
    http://stackoverflow.com/questions/29857571/weblogic-12c-java-lang-illegalstateexception-could-not-find-backup-for-factory
    http://www.coderanch.com/t/649308/JSF/java/Faces-Servlet-failed-preload-startup
    Sorry incase question not formatted. Any suggestions appreciated.

    hi.
    I had faced this behavior on weblogic 12c(12.1.1).
    Maybe This problem was solved by 12.1.2.
    But, when text item submitted together with a upload file, multibyte characters was garbage characters.
    See Multibyte character was garbage characters, when multipart requested (Multipartリクエストで文字化けが発生する) on WebLogic12(12.1.2.0)

  • JDBC with Oracle

    As i come from SQL server environment, I am new to Oracle environment. So my newbie question is how do you connect to particular sub-space (inner schema) of main service. For example, the database hierarchy looks like below.
    (1) A (Database/Service Name)
    ----(1.1) X (database or inner schema)
    ----------(1.1.1) Number of tables belongs to x database
    ----(1.2) Y (database or inner schema)
    ---------(1.2.1) Number of tables belongs to y database
    The TNS file (tnsname.ora) includes entry for "A" database/service. I use JDBC drive to connect to oracle database.
    Connection conObj = DriverManager.getConnection(
    "jdbc:oracle:thin:"+user+"/"+passwd+"@serverName:portnumber:A");
    Above command let me connect to "A" database but when i replace "A" with "X" to connect to "X" database, it gives me following exception. I tried using setCatalog() function to connect to sub-space of the Connection database object's database, but it didn't work. Any idea what i am missing? Thanks
    Exception Error: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093376)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    Best Regards,
    Prashant Patel

    The Oracle database hierarchy uses different terminology:
    (1) A (Database)
    ----(1.1) X (schema)
    ----------(1.1.1) Number of tables belongs to x schema
    ----(1.2) Y (schema)
    ---------(1.2.1) Number of tables belongs to y schema
    In Oracle world, a "database" properly speaking is the complete collection of files that store the data and the data state.
    Also, service names are not the same as database names; service names can be thought of as "channels" in Oracle's networking layer, through which you connect to a database. 2 different service names may connect you to the same or different databases, either in different modes or with different resource restrictions (such as maximum CPU percentage).
    Each Oracle user has their own schema and it is the default schema when they connect; if the user has privileges to access another schema, they may access the tables in the other schema directly, by fully qualifying table references with a schema name.
    For example, users jdoe and sroe each have a table named my_table; jdoe has the "SELECT ANY TABLE" privilege and sroe doesn't. jdoe can get results from these SQL statements:
    select count(*) from my_table;
    select count(*) from jdoe.my_table;
    select count(*) from sroe.my_table;user sroe can only do these:
    select count(*) from my_table;
    select count(*) from sroe.my_table;for sroe, "select count(*) from jdoe.my_table;" will return a privilege error.
    Additionally a user session can change the "default schema", the schema that is used when a table refence is not fully qualified, by using the "ALTER SESSION" command. For example, jdoe could issue:
    ALTER SESSION SET CURRENT_SCHEMA = SROE;
    // get the count from sroe's table
    select count(*) from my_table;Hope that helps.

  • Unable to connect SQL server 2005 databse with JSF applications !

    Hello guys!
    Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
    I tried for the basic applications but instead got this error:
    "unable to deploy jdbc drivers to the <project>domain/lib"
    Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
    Thank you guys!

    1) don't use the bridge driver
    2) don't do database access from JSF
    3) learn how to use your application server
    4) learn how to use your IDE

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Navigation problem when using tiles with JSF

    Hi all,
    I m using tiles with JSF. i have included all the libraries and jsp page is rendered properly. but when i use <h:commandLink> in the body part of the JSP , i cannot go to the specified link. when we use tiles, what changes need to be done in faces-config file?? i mean what navigation rule we need to specify ??

    Hello, I have the same problem; JSF+Tiles = No navigation.
    One basic question is should I reference the parent jsp or the included body jsp in the faces-config.xml file.
    For example: The login.jsp is a main tiles page that includes a menu.jsp, header.jsp & a loginBody.jsp.
    Hence the faces-config could have this rule;
    <navigation-rule>
    <from-view-id>/login.jsp</from-view-id>
    <navigation-case>
    <to-view-id>/catalog.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    (I've left the outcome tag out to simplify this post)
    Or, I could refer loginBody.jsp in the navigation rule;
    <navigation-rule>
    <from-view-id>/loginBody.jsp</from-view-id>
    <navigation-case>
    <to-view-id>/catalog.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    The loginBody.jsp has a commandbutton which a user clicks which starts the navigation.
    Neither seems to work unfortunately & I'm a stuck.
    Thanks

  • Tiles works with jsf but....

    Hi guys,
    i've a jsf application and i've tried to improve its layout with Tiles of Struts and everythings work,infact each page has its layout fixed.
    I've used one header,one footer,one left menu(for quickly navigation and language selection and personal content of each page.
    My question is:
    if i navigate throught my application it's ok,when i use quickly navigation on left menu it's ok.
    The problem is when i click on buttons that performs not only navigation,but also java logic,i've this exception (but the operation requested,as insert in database,delete etc...are done!!!!)
    GRAVE: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
         at giu.NavigationManager.handleNavigation(NavigationManager.java:23)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:89)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at giu.AuthorizationFilter.doFilter(AuthorizationFilter.java:61)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)i've used this NavigationManager
    package giu;
    import javax.faces.application.NavigationHandler;
    import javax.faces.context.FacesContext;
    public class NavigationManager extends NavigationHandler {
         final String menuId ="@mainMenu";
         NavigationHandler _base;
         public NavigationManager (NavigationHandler base) {
              super();
              _base = base;
         public void handleNavigation(FacesContext fc, String actionMethod, String action) {
              int atPosition = action.indexOf(menuId);
              if (atPosition < 0) {
                   _base.handleNavigation(fc, actionMethod, action);
              } else {
                   String viewId = fc.getViewRoot().getViewId();
                   fc.getViewRoot().setViewId(menuId);
                   String newAction = action.substring(0, atPosition);
                   _base.handleNavigation(fc, actionMethod, newAction);
    }that comes from a jsf-tiles example downloaded from core Java server faces book..i'vent understood too well this navigation,can someone help me to understand it and solve my exception??
    Thanks very much....(i use exadel studio pro 4,jsf 1.1.0.1,servlet 2.3 and tiles from struts 1.1)

    giubat: I've stuggled with getting Tiles to work correctly with JSF.
    If your not to far into your project, I strongly recommend Facelets, it is very simple to include other JSF files and the syntax is XML formatted which allows Exadel Studio 4.0 to check your pages.
    You'll need to change you actual page extension to .xhtml, which Exadel Studio handles nicely...
    Tiles is just a waste of time when combined with JSF...

  • Domain name settings - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name? Any option?

    Setting up a mailserver and making sure it doesn't suddenly turn into a spambox is not something you do with the use of a few commands. I suggest to dive into the Solaris admin guide on docs.sun.com and read up on e-mail and network services.
    If that is asking too much of your time you'll be better off getting your ISP to handle all this for you.

  • Dynamic forms with JSF

    Hello guys !
    I hope you can help me. I am trying to do something with JSF, but I am not sure if JSF is the right approach.
    I am trying to build a dynamic web service, based on the information of a web service. That is I dont know the controls ( radio buttons, checkboxed, input boxes) , my form will have in advance, so I dont build any managed bean that maps all the controls.
    What I thought , it is to have a collection, which has the description of all the questions and posible answers, and dynamically go through the collection and build the form. (that is something I can do with datatables), and then when the user submits the form , in the action method ...I would recover the "answers" based on the ID or name of the controls, but for my surprise I cannot set the name of the controls with JSF , so I am clueless to send the answers of the form.
    I post the fill-up of the form to another web service which very briefl requires someting like this
    <answers>
            <answerid></answerid>
            <answervalue></answervalue>
    </answers>I might have the value , but not the answerid
    Thanks,
    Deibys

    or is there a way I cam force the id of a control ?
    <h:selectOneRadio id="#{question.questionid}"  layout="pageDirection" >
                             <f:selectItems value="#{question.answersOptions}" />
                        </h:selectOneRadio>this does not work for me
    org.apache.jasper.JasperException: /encuestaRiesgo.jsp(22,4) PWC6314: According to the TLD, the attribute id is not a deferred-value or deferred-method, but the specified value co

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

  • Multiple version of JRE in company..How to manage? (newbie question)

    Greetings..this is a newbie question
    We have 48 versions of JRE running in on XP IE6 in our company.
    Some version beat up other JAVA applications.
    It's a mess.
    How can anyone manage this many versions?
    Can we consolidate down to a few versions?
    I saw some posts on changing the JRE dynamically or perhaps using a wrapper with a product from "sourceforge".
    Are these viable?
    Thanks in advance

    We have 48 versions of JRE running in on XP IE6 in
    our company.
    Some version beat up other JAVA applications.
    It's a mess.can you elaborate on how some versions "beat up" other apps?
    How can anyone manage this many versions?you don't, each computer should periodically upgrade (IMO) but you shouldn't care. if you do, tell your users to load the latest version
    Can we consolidate down to a few versions?sure
    I saw some posts on changing the JRE dynamically or
    perhaps using a wrapper with a product from
    "sourceforge".
    Are these viable?i have no idea what this is, but I have doubts about your problem, if it exists at all

  • Newbie question - XML version, searching by artist

    Probably quite a common problems - apologies for newbie questions.
    I've changed the URL of my MP3s in my XML to a new location and refreshed my feed. Is there a way of seeing what version of the XML iTunes is using? (it takes around 24 housr to refresh, right?)
    Also, when I'm searching for my podcast by author it's not coming up (<channel><itunes:author>) - is there a reason for this or a way to get it to show up when people search for the artist, other than doubling it in the title? (This works by the way, but I'd prefer not to!)
    Thanks.

    you can do it in just one loop, going through all the image
    tags in index_content and for each tag fill the values of all four
    arrays
    for (i...) {
    get the appropriate child of index_content
    first_array[ i ] = value of first tag
    second_array[ i ] = value of second tag
    no need for multiple loops.
    flash has functionality for xml files, but it helps to write
    a little wrapper around it, to simplify programming, especially if
    you work with xml a lot.. I wrote my for work, so I can't show it
    to you, but it's not very complicated to do

  • Event handling with JSF

    Hi Everybody,
    I have a question about event handling and I am just wondering if I can do the following with JSF.
    I have two HTML dropdown lists A and B. When ever a value changes in list A, based on the selected value, list B has to be populated. Is it possible to do with JSF? Can you guys give me pointers where some code samples may be available?
    Cheers!
    Krish

    Take a look at the JSF Value-Changed Listener sections

Maybe you are looking for

  • Error msg, "Maximum selection does not contain value 9999999999.

    Hi, I am getting this error wile doing Reclassification of HFM Movement. Error msg, "Maximum selection does not contain value 9999999999 of subassignment HFM CD2 & Asset Type "                                          in the Data Monitor, ( in Reclas

  • PDF printing errors with InDesign CS4 docs

    I've discovered somewhat belatedly that since upgrading from CS3 to CS4, every pdf I have created in InDesign (a dozen or more) won't print. After a general error message, "the document could not be printed," I get one or both of these messages: "the

  • How to display database records in text item

    hello friends, I'm using forms6i.. I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard.. In property palette of of "username" i have following changes Nu

  • Mountin Lion or Mavericks on Mid 2010

    Hello, I have a MacBook Pro, 13-inch Mid 2010 Processor 2.66  GHz Intel Core 2 Duo Memory 4 GB 1067 MHz DDR3 Graphics NVIDIA GeForce 320M 256 MB I recently installed the latest update OS X 10.9.3, I'm curious is there perhaps by any chance that havin

  • Will a FCP 3.0.4 upgrade from FCP 1 load onto a new Mac Pro

    Will a FCP 3.0.4 upgrade from FCP 1 load onto a new Mac Pro. I have tried loading in onto a mac book with no luck. I think its because my original FCP 1 loades using OS9 and because the new Mac Pro does not have an old operating system on it I cant l