SetBindValue() not binding.

I am using the setBindValue() method on the XSU to avoid re-parsing my query. However, when looking at the parse/execute ratio, I noticed it is 1. It is parsing for every execution. Here is my code:
--Determine the correct number of transitions to return.
IF num_transitions = 0 THEN --Return ALL transitions for the specified negotiation.
--Define negotiation transition select string.
queryCtx := DBMS_XMLQuery.newContext('SELECT * FROM v_ngtn_party_trnstn WHERE ID = :ngtnid ');
ELSE --Return the current transition for the specified negotiation.
queryCtx := DBMS_XMLQuery.newContext('SELECT * FROM v_get_ngtn_wtransitions WHERE ID = :ngtnid ');
END IF;
--DBMS_XMLQuery.clearBindValues(queryCtx);
DBMS_XMLQuery.setBindValue(queryCtx,'ngtnid',ngtn_id);
--Set the necessary XML parameters for the negotiation node.
FormatXML := format_xml(QueryCTX,'NEGOTIATION', 'NEGOTIATIONS', 'ERROR_RESULT', 'ID');
-- get the result..!
cl_ngtn := DBMS_XMLQuery.getXML(queryCtx);
DBMS_XMLQuery.closeContext(queryCtx); -- you must close the query handle..
null

ntsiii wrote:
> How is "troubleEvent " getting populated to start with?
> Tracy
At this point it is not. It is using an AS data model and
defaulting to
empty|null values. I have figured out one way to bind the
model to the
form items using <mx.binding...> tags. I imagine there
is a cleaner way
to do this and would love to hear them.
Back to your question. I need to learn how to initially
populate the
'troubleEvent' with a remote object call based on the
selected item in a
data grid in another custom MXML control that called this
MXML control
when selected.

Similar Messages

  • WARNING: Could not bind factory to JNDI

    Hi i am using tomcat server5.5
    Eclipse 3.2 and adding tomcat plug-in's to my Eclipse
    i created JNDI on tomcat server i got this type of error
    plez any one can help me
    i got this type WARNING
    WARNING: Could not bind factory to JNDI
    javax.naming.NamingException: Context is read only
    how can i over come this worning
    the server show message like
    INFO: Factory name: java:hibernate/SessionFactory
    May 2, 2007 9:12:24 AM org.hibernate.util.NamingHelper getInitialContext
    INFO: JNDI InitialContext properties:{}
    May 2, 2007 9:12:24 AM org.hibernate.util.NamingHelper bind
    INFO: Creating subcontext: java:hibernate
    May 2, 2007 9:12:24 AM org.hibernate.impl.SessionFactoryObjectFactory addInstanc
    e
    WARNING: Could not bind factory to JNDI
    javax.naming.NamingException: Context is read only
    at org.apache.naming.NamingContext.checkWritable(NamingContext.java:901)
    at org.apache.naming.NamingContext.createSubcontext(NamingContext.java:5
    15)
    at org.apache.naming.NamingContext.createSubcontext(NamingContext.java:5
    36)
    at org.apache.naming.SelectorContext.createSubcontext(SelectorContext.ja
    va:421)
    at javax.naming.InitialContext.createSubcontext(InitialContext.java:423)
    at org.hibernate.util.NamingHelper.bind(NamingHelper.java:69)
    at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFac
    toryObjectFactory.java:90)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:
    303)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
    a:1213)
    at com.gssamerica.expensereporting.business.dao.HibernateUtil.<clinit>(H
    ibernateUtil.java:38)
    at com.gssamerica.expensereporting.business.dao.RoleHome.roleList(RoleHo
    me.java:159)
    at com.gssamerica.expensereporting.business.listener.LookupCacheListener
    .cacheRoles(LookupCacheListener.java:168)
    at com.gssamerica.expensereporting.business.listener.LookupCacheListener
    .contextInitialized(LookupCacheListener.java:48)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3827)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    343)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    May 2, 2007 9:12:24 AM org.hibernate.cache.UpdateTimestampsCache <init>
    INFO: starting update timestamps cache at region: org.hibernate.cache.UpdateTime
    stampsCache
    May 2, 2007 9:12:24 AM org.hibernate.cache.EhCacheProvider buildCache
    WARNING: Could not find configuration [org.hibernate.cache.UpdateTimestampsCache
    ]; using defaults.
    May 2, 2007 9:12:24 AM org.hibernate.cache.StandardQueryCache <init>
    INFO: starting query cache at region: org.hibernate.cache.StandardQueryCache
    May 2, 2007 9:12:24 AM org.hibernate.cache.EhCacheProvider buildCache
    WARNING: Could not find configuration [org.hibernate.cache.StandardQueryCache];
    using defaults.
    Roles Cached......
    ##################>.SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=
    []];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] col
    lectionRemovals=[] collectionUpdates=[]])
    Currencies Cached.......
    Countries Cached.......
    JNDI DATASOURCE USED ........................................
    Instance Created .................
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '
    ' for connect URL 'null'
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
    rce.java:780)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
    .java:540)
    at com.gssamerica.expensereporting.ui.common.SQLManager.getConnection(SQ
    LManager.java:93)
    at com.gssamerica.expensereporting.business.dao.CacheHome.getExpenseIds(
    CacheHome.java:63)
    at com.gssamerica.expensereporting.business.listener.LookupCacheListener
    .cacheExpenseId(LookupCacheListener.java:191)
    at com.gssamerica.expensereporting.business.listener.LookupCacheListener
    .contextInitialized(LookupCacheListener.java:51)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3827)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    343)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getDriver(DriverManager.java:243)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
    rce.java:773)
    ... 20 more
    Connection Error - Exchange Rates cannot be Stored in Database
    Expense Ids Cached......
    Statuses Cached......
    May 2, 2007 9:12:27 AM org.apache.catalina.startup.ContextConfig applicationConf
    ig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].
    StandardHost[localhost].StandardContext[SCWCDProj]
    log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
    ConvertUtils).
    log4j:WARN Please initialize the log4j system properly.
    log4j:ERROR Could not read configuration file from URL [file:E:/WebExpenses/Test
    ValidationsTomcat/WEB-INF/classes/log4j.properties].
    java.io.FileNotFoundException: E:\WebExpenses\TestValidationsTomcat\WEB-INF\clas
    ses\log4j.properties (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
    at java.net.URL.openStream(URL.java:1007)
    at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
    r.java:433)
    at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.
    java:336)
    at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.
    java:70)
    at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebC
    onfigurer.java:151)
    at org.springframework.web.util.Log4jConfigListener.contextInitialized(L
    og4jConfigListener.java:51)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3827)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    343)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    log4j:ERROR Ignoring configuration file [file:E:/WebExpenses/TestValidationsTomc
    at/WEB-INF/classes/log4j.properties].
    May 2, 2007 9:12:30 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    May 2, 2007 9:12:31 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    May 2, 2007 9:12:32 AM org.apache.catalina.loader.WebappClassLoader validateJarF
    ile
    INFO: validateJarFile(E:\WebExpenses\JSFDataBaseConnection\WEB-INF\lib\servlet-a
    pi.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
    javax/servlet/Servlet.class
    log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
    ConvertUtils).
    log4j:WARN Please initialize the log4j system properly.
    May 2, 2007 9:12:35 AM org.apache.catalina.startup.ContextConfig applicationConf
    ig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].
    StandardHost[localhost].StandardContext[WebServicesApp]
    May 2, 2007 9:12:37 AM org.apache.catalina.loader.WebappClassLoader validateJarF
    ile
    INFO: validateJarFile(E:\WebExpenses\JSFApplication\WEB-INF\lib\servlet-api.jar)
    - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/s
    ervlet/Servlet.class
    May 2, 2007 9:12:39 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    May 2, 2007 9:12:39 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\admin.xml
    May 2, 2007 9:12:40 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    May 2, 2007 9:12:40 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    May 2, 2007 9:12:40 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    May 2, 2007 9:12:42 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\balancer.xml
    May 2, 2007 9:12:43 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\jsp-examples.xml
    May 2, 2007 9:12:43 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\manager.xml
    May 2, 2007 9:12:44 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\ROOT.xml
    May 2, 2007 9:12:44 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\servlets-examples.xml
    May 2, 2007 9:12:44 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\tomcat-docs.xml
    May 2, 2007 9:12:44 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\TomcatJNDIProj.xml
    log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
    ConvertUtils).
    log4j:WARN Please initialize the log4j system properly.
    May 2, 2007 9:12:45 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\webdav.xml
    May 2, 2007 9:12:46 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /struts2-blank-2.0.1 from URL f
    ile:C:/Tomcat 5.0/webapps/struts2-blank-2.0.1
    May 2, 2007 9:12:47 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Root WebApplicationContext: initialization started
    May 2, 2007 9:12:47 AM org.springframework.core.CollectionFactory <clinit>
    INFO: JDK 1.4+ collections available
    May 2, 2007 9:12:47 AM org.springframework.core.CollectionFactory <clinit>
    INFO: Commons Collections 3.x available
    May 2, 2007 9:12:47 AM org.springframework.beans.factory.xml.XmlBeanDefinitionRe
    ader loadBeanDefinitions
    INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applic
    ationContext.xml]
    May 2, 2007 9:12:47 AM org.springframework.context.support.AbstractRefreshableAp
    plicationContext refreshBeanFactory
    INFO: Bean factory for application context [Root WebApplicationContext]: org.spr
    ingframework.beans.factory.support.DefaultListableBeanFactory defining beans [];
    root of BeanFactory hierarchy
    May 2, 2007 9:12:48 AM org.springframework.context.support.AbstractApplicationCo
    ntext refresh
    INFO: No beans defined in application context [Root WebApplicationContext]
    May 2, 2007 9:12:48 AM org.springframework.context.support.AbstractApplicationCo
    ntext initMessageSource
    INFO: Unable to locate MessageSource with name 'messageSource': using default [o
    [email protected]]
    May 2, 2007 9:12:48 AM org.springframework.context.support.AbstractApplicationCo
    ntext initApplicationEventMulticaster
    INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMu
    lticaster': using default [org.springframework.context.event.SimpleApplicationEv
    entMulticaster@2f7cfe]
    May 2, 2007 9:12:48 AM org.springframework.ui.context.support.UiApplicationConte
    xtUtils initThemeSource
    INFO: Unable to locate ThemeSource with name 'themeSource': using default [org.s
    [email protected]3]
    May 2, 2007 9:12:48 AM org.springframework.beans.factory.support.DefaultListable
    BeanFactory preInstantiateSingletons
    INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory
    .support.DefaultListableBeanFactory defining beans []; root of BeanFactory hiera
    rchy]
    May 2, 2007 9:12:48 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Using context class [org.springframework.web.context.support.XmlWebApplica
    tionContext] for root WebApplicationContext
    May 2, 2007 9:12:48 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Root WebApplicationContext: initialization completed in 1638 ms
    May 2, 2007 9:12:49 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /HibElearning from URL file:C:\
    Tomcat 5.0\webapps\HibElearning
    May 2, 2007 9:12:50 AM org.apache.catalina.loader.WebappClassLoader validateJarF
    ile
    INFO: validateJarFile(C:\Tomcat 5.0\webapps\HibElearning\WEB-INF\lib\servlet-api
    .jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: ja
    vax/servlet/Servlet.class
    log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
    ConvertUtils).
    log4j:WARN Please initialize the log4j system properly.
    May 2, 2007 9:12:51 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /reddy from URL file:C:\Tomcat
    5.0\webapps\reddy
    May 2, 2007 9:12:52 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Root WebApplicationContext: initialization started
    May 2, 2007 9:12:52 AM org.springframework.core.CollectionFactory <clinit>
    INFO: JDK 1.4+ collections available
    May 2, 2007 9:12:52 AM org.springframework.core.CollectionFactory <clinit>
    INFO: Commons Collections 3.x available
    May 2, 2007 9:12:52 AM org.springframework.beans.factory.xml.XmlBeanDefinitionRe
    ader loadBeanDefinitions
    INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applic
    ationContext.xml]
    May 2, 2007 9:12:52 AM org.springframework.context.support.AbstractRefreshableAp
    plicationContext refreshBeanFactory
    INFO: Bean factory for application context [Root WebApplicationContext]: org.spr
    ingframework.beans.factory.support.DefaultListableBeanFactory defining beans [];
    root of BeanFactory hierarchy
    May 2, 2007 9:12:52 AM org.springframework.context.support.AbstractApplicationCo
    ntext refresh
    INFO: No beans defined in application context [Root WebApplicationContext]
    May 2, 2007 9:12:53 AM org.springframework.context.support.AbstractApplicationCo
    ntext initMessageSource
    INFO: Unable to locate MessageSource with name 'messageSource': using default [o
    [email protected]]
    May 2, 2007 9:12:53 AM org.springframework.context.support.AbstractApplicationCo
    ntext initApplicationEventMulticaster
    INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMu
    lticaster': using default [org.springframework.context.event.SimpleApplicationEv
    entMulticaster@fae78f]
    May 2, 2007 9:12:53 AM org.springframework.ui.context.support.UiApplicationConte
    xtUtils initThemeSource
    INFO: Unable to locate ThemeSource with name 'themeSource': using default [org.s
    [email protected]3]
    May 2, 2007 9:12:53 AM org.springframework.beans.factory.support.DefaultListable
    BeanFactory preInstantiateSingletons
    INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory
    .support.DefaultListableBeanFactory defining beans []; root of BeanFactory hiera
    rchy]
    May 2, 2007 9:12:53 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Using context class [org.springframework.web.context.support.XmlWebApplica
    tionContext] for root WebApplicationContext
    May 2, 2007 9:12:53 AM org.springframework.web.context.ContextLoader initWebAppl
    icationContext
    INFO: Root WebApplicationContext: initialization completed in 1279 ms
    May 2, 2007 9:12:53 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    May 2, 2007 9:12:54 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    plez any one can help me as early as possible

    Maybe this resoruce will be helpful.

  • Using table component,not binding

    Hi all,
    I've been searching info about using the table component
    , adding,deleting,etc programatically, not binding to a Database how the JSC tutorial works.
    The idea is simply:
    - add and remove rows when the user fills a textbox and push a button to add the item.....
    Anyone have an example or a link with examples??
    thanks in advance!

    What I do is create a list with, say, two Person objects then use ObjectListDataProvider's setList(List) method to associate the list with the data provider's list property.
    I create the data provider in a session bean. In the bean's init method I call remove the dummy list items.
    Before you can bind this data provider's list to any components you have to build the project, then close and reopen the project. Otherwise, JSC won't detect the presence of the data provider.
    Here's an example from my program. Note that any package or import beginning with com.cfi.office refers to custom code.
    This first class is the data provider. I added a convenience method clear the list but you don't have to do that.package com.cfi.office.dataproviders;
    import com.cfi.office.schema.tables.Phone;
    import com.sun.data.provider.impl.ObjectListDataProvider;
    import java.util.ArrayList;
    import java.util.List;
    public class PhoneListDataProvider extends ObjectListDataProvider {
        public PhoneListDataProvider() {
            List phoneList = new ArrayList();
            phoneList.add(new Phone("1112223333", "444");
            phoneList.add(new Phone("5556667777", "888");
            this.setList(phoneList);
        public void clearList() {
            this.getList().clear();
            return;
    }This next code fragment is from a session bean.    public void init() {
            super.init();
            try {
                _init();
            } catch (Exception e) {
                log("BidSessionBean Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
            abContactPhoneListDP.clearList();
        private PhoneListDataProvider abContactPhoneListDP = new PhoneListDataProvider();
        public PhoneListDataProvider getAbContactPhoneListDP() {
            return this.abContactPhoneListDP;
        public void setAbContactPhoneListDP(PhoneListDataProvider abContactPhoneListDP) {
            this.abContactPhoneListDP = abContactPhoneListDP;
        }After you build the project, close it and reopen it, you should see the data provider in the binding dialog box.

  • Change of settlement control (not binding) from 2 to 3

    Dear expert
    we want to change in plant xxxx settlement control (not binding) from 2 to 3. How can be do that. transaction has already been made in the plant.

    Hi Amit,
    As far as I understand you are making reference to the Price determination control field MLAST.
    The change of price determination control using TA CKMM should be done shortly before     
    running the MM period shift (Transaction MMPV) at month end. This procedure will ensure,
    that status 'newly created'  remains in the prior period unchanged. Please check the note 703604
    which provides a detailed explanation about how to execute transaction CKMM to change
    price determination from '2' to '3'.
    In addition, please read the note 384553 carefully as it explains what happens if     
    CKMM is executed.                                                        
    I hope helps.
    Regards,
    MLM

  • LDAP will not Bind

    I am running 10.5.1 on several systems and can not bind them to our LDAP directory. (no SSL) It worked fine in Tiger but no matter how I configure it in Leopard it will not work. Things I have done/noticed:
    1. Directory Utility reports that "The server is responding normally."
    2. Directory Utility - Services - I have the LDAP mappings set as "Custom" and configured identical to settings in Tiger
    3. Directory Utility - Search Policy - shows the custom path properly
    4. In Tiger I would test the set-up in Terminal by typing id xxxx which would return UID, GID, and Groups
    I have rebuilt the system from scratch and tried rebinding twice with no luck.
    Any ideas, questions, pointers, are greatly appreciated.
    Message was edited by: surfit

    Hello,
    Is the OpenLDAP server on a computer with wireless connection active?
    If so, try to only active the Ethernet interface.
    It has resolved the problem for me, but I don't know why ? A bug on DirectoryService... ?

  • Postfix does not bind to en0 anymore

    Hi all,
    I have a Leopard server that runs mail services. All of the sudden postfix does not bind to en0 anymore. Normally postfix will bind to any IP address showing something similar to this in netstat:
    tcp4 0 0 *.25 . LISTEN
    On my server I only hace postfi listening on localhost like this:
    tcp4 0 0 127.0.0.1.10025 . LISTEN
    This is although postfix has determined on which IP addresses it should be listening:
    postfix: dict_lookup: mynetworks = 127.0.0.0/8,172.16.0.0/24
    postfix: mac_parse: 127.0.0.0/8,172.16.0.0/24
    postfix: dict_eval: const 127.0.0.0/8,172.16.0.0/24
    postfix: inetaddr_listappend: 127.0.0.1
    postfix: inetaddr_listappend: 127.0.0.1
    postfix: inetaddr_listappend: 255.0.0.0
    postfix: inetaddr_listappend: 172.16.0.12
    postfix: inetaddr_listappend: 255.255.255.0
    postfix: inetaddrlocal: configured 2 IPv4 addresses
    postfix: inetaddr_listappend: 255.0.0.0
    So why does postfix only binds to localhost? Any hints on that?
    Thanks,
    Stephan

    Oh my… problem solved.
    There has been a trailling "inetinterface"/"mynetworks" combo just at the end of the main.cfg that caused this problem.
    I wonder if Server Admin has put them there…
    Cheers,
    Stephan

  • Can not bind server stubs.

    Hi All,
    i am strugling for a few days (!) now with a starnge problem
    i have created an rmi application and when i run under windows all is well.
    when i tried running it under Linux (Red Hat 7.2) and the stubs where not packed in a jar file all is well as
    well. BUT - if i pack the stubs in a jar i get an exception :
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: (<name of class>...)
    The Exception occour when i try to BIND the stub not when the client is looking for it.
    i have set the policy , classpath , and security manager properly obviously since the appliaction is working
    ok when the stubs are not packed in a jar. the jar file is at the same directory as the unpacked stubs when
    the application is runnig so i dont think it is a classpath issue.
    Can anyone please help ? thanx.

    I don't, sorry. I suppose windows is making a informed guess about the path to the classes. I'm only using linux and Java 1.5 and I have to make sure and expose the interfaces I bind to the rmi registry. Not sure which behavior is supposed to be the correct one.

  • Values retrieved by OVS not binded to the context node

    Hi all gurus,
    In SRM 7 I'm working on an ABAP web dynpro (/SAPSRM/WDC_DODC_CT) which is intended to show a document's header custom table. In the unique view of this web dynpro, the user can see the table (made up by custom fields) and can add or remove a line.
    I created dinamically a pair of OVS search help for some of the fields of the table, in this way (method WDDOMODIFYVIEW):
    * insert: Object Value Selector for ZZ_PROLE_R3 and ZZ_LIFNR_R3
          DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          CALL METHOD lo_tabnode_info->set_attribute_value_help
            EXPORTING
              name = 'ZZ_PROLE_R3'
              value_help_mode = 131 "ovs mode
              value_help = 'OVS'
          CALL METHOD lo_tabnode_info->set_attribute_value_help
            EXPORTING
              name = 'ZZ_LIFNR_R3'
              value_help_mode = 131 "ovs mode
              value_help = 'OVS'
    and these Object-value selectors seem to work properly: the user can trigger them and the selection populates correctly the related field, in the selected row, of the table.
    So we could say that apparently, everything seems ok. BUT...
    ...if I then SAVE the document, or simply change to another view and come back, the new entries added via search help disappear.
    It's like there's something missing (a binding?) on the "lower" level...But I don't understand what's the point.
    Otherwise, if a value is entered directly by hand by the user, the new row remains persistently (that is to say, direct fill by the user populated correctly the table view AND related fields in the buffer table). Is there something I'm missing?
    This is the third - and last - phase in my OVS method (ON_OVS_R3_ROLE):
    WHEN if_wd_ovs=>co_phase_3.
    *   apply result
            IF ovs_callback_object->selection IS NOT BOUND.
    ******** TODO exception handling
            ENDIF.
            ASSIGN ovs_callback_object->selection->* TO <ls_selection>.
            IF <ls_selection> IS ASSIGNED.
              ovs_callback_object->context_element->set_attribute(
                                     name  = `ZZ_PROLE_R3`
                                     value = <ls_selection>-zz_prole_r3 ).
            ENDIF.
    Help and suggestions are highly appreciated.
    M.
    Edited by: Matteo Montalto on Nov 12, 2010 4:14 PM

    HI,
    I found the clue, but basically I have no idea on why it happens
    This is the point: when I select a possible value from a select list in the OVS help, then the corresponding value(s) on the tables are filled BUT no CHANGE BADI is in this case triggered. Odd thing is that even if I select the field populated by the search help and press ENTER, the BADI isn't triggered.
    Standard behaviour, which happens anytime I enter a value "manually", triggers the CHANGE BADI automatically (I can see in debug that the stack of the calls contains a fire_event_update, that's probably the clue).
    So I guess the point is how to make a selection from a select list in OVS be equivalent to a value enter manually, so that we could generally say that anytime an input is filled  - no matter if by OVS or "by hand" - the underlying CHANGE BADI is triggered.
    Any help or suggestion is really appreciated,
    thanks.

  • Data Table will not bind to Dropdown List selection

    I get the following error when I try to use my own database tables (As in the "Using Databound Components to Access Databases" tutorial). It is a Oracle9i database. The Table (Vehicle)I use to populate the Dropdown List has around 450 000 rows, and the ComponentRowset returns 362 000 rows when run without a parameter.
    Exception Details: javax.faces.el.EvaluationException
    java.lang.NullPointerException
    Possible Source of Error:
    Class Name: com.sun.faces.el.ValueBindingImpl
    File Name: ValueBindingImpl.java
    Method Name: getValue
    Line Number: 206
    Please help! What am I doing wrong? As far as I can see the code is identical to the "Using Databound Components to Access Databases" tutorial.
    Here is the code:
    * Page1.java
    * Created on 12 October 2004, 05:56
    * Copyright jgenis
    package ucodapp;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import javax.faces.component.html.*;
    import com.sun.jsfcl.data.*;
    import javax.faces.component.*;
    import com.sun.sql.rowset.*;
    import javax.faces.event.*;
    import javax.faces.convert.*;
    public class Page1 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlDataTable dataTable1 = new HtmlDataTable();
        public HtmlDataTable getDataTable1() {
            return dataTable1;
        public void setDataTable1(HtmlDataTable hdt) {
            this.dataTable1 = hdt;
        private JdbcRowSetXImpl componentRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getComponentRowSet() {
            return componentRowSet;
        public void setComponentRowSet(JdbcRowSetXImpl jrsxi) {
            this.componentRowSet = jrsxi;
        private HtmlOutputLabel componentLabel1 = new HtmlOutputLabel();
        public HtmlOutputLabel getComponentLabel1() {
            return componentLabel1;
        public void setComponentLabel1(HtmlOutputLabel hol) {
            this.componentLabel1 = hol;
        private HtmlOutputText componentLabel1Text = new HtmlOutputText();
        public HtmlOutputText getComponentLabel1Text() {
            return componentLabel1Text;
        public void setComponentLabel1Text(HtmlOutputText hot) {
            this.componentLabel1Text = hot;
        private UIColumn column1 = new UIColumn();
        public UIColumn getColumn1() {
            return column1;
        public void setColumn1(UIColumn uic) {
            this.column1 = uic;
        private HtmlOutputText outputText1 = new HtmlOutputText();
        public HtmlOutputText getOutputText1() {
            return outputText1;
        public void setOutputText1(HtmlOutputText hot) {
            this.outputText1 = hot;
        private HtmlOutputText outputText2 = new HtmlOutputText();
        public HtmlOutputText getOutputText2() {
            return outputText2;
        public void setOutputText2(HtmlOutputText hot) {
            this.outputText2 = hot;
        private UIColumn column2 = new UIColumn();
        public UIColumn getColumn2() {
            return column2;
        public void setColumn2(UIColumn uic) {
            this.column2 = uic;
        private HtmlOutputText outputText3 = new HtmlOutputText();
        public HtmlOutputText getOutputText3() {
            return outputText3;
        public void setOutputText3(HtmlOutputText hot) {
            this.outputText3 = hot;
        private HtmlOutputText outputText4 = new HtmlOutputText();
        public HtmlOutputText getOutputText4() {
            return outputText4;
        public void setOutputText4(HtmlOutputText hot) {
            this.outputText4 = hot;
        private UIColumn column3 = new UIColumn();
        public UIColumn getColumn3() {
            return column3;
        public void setColumn3(UIColumn uic) {
            this.column3 = uic;
        private HtmlOutputText outputText5 = new HtmlOutputText();
        public HtmlOutputText getOutputText5() {
            return outputText5;
        public void setOutputText5(HtmlOutputText hot) {
            this.outputText5 = hot;
        private HtmlOutputText outputText6 = new HtmlOutputText();
        public HtmlOutputText getOutputText6() {
            return outputText6;
        public void setOutputText6(HtmlOutputText hot) {
            this.outputText6 = hot;
        private UIColumn column4 = new UIColumn();
        public UIColumn getColumn4() {
            return column4;
        public void setColumn4(UIColumn uic) {
            this.column4 = uic;
        private HtmlOutputText outputText7 = new HtmlOutputText();
        public HtmlOutputText getOutputText7() {
            return outputText7;
        public void setOutputText7(HtmlOutputText hot) {
            this.outputText7 = hot;
        private HtmlOutputText outputText8 = new HtmlOutputText();
        public HtmlOutputText getOutputText8() {
            return outputText8;
        public void setOutputText8(HtmlOutputText hot) {
            this.outputText8 = hot;
        private UIColumn column5 = new UIColumn();
        public UIColumn getColumn5() {
            return column5;
        public void setColumn5(UIColumn uic) {
            this.column5 = uic;
        private HtmlOutputText outputText9 = new HtmlOutputText();
        public HtmlOutputText getOutputText9() {
            return outputText9;
        public void setOutputText9(HtmlOutputText hot) {
            this.outputText9 = hot;
        private HtmlOutputText outputText10 = new HtmlOutputText();
        public HtmlOutputText getOutputText10() {
            return outputText10;
        public void setOutputText10(HtmlOutputText hot) {
            this.outputText10 = hot;
        private UIColumn column6 = new UIColumn();
        public UIColumn getColumn6() {
            return column6;
        public void setColumn6(UIColumn uic) {
            this.column6 = uic;
        private HtmlOutputText outputText11 = new HtmlOutputText();
        public HtmlOutputText getOutputText11() {
            return outputText11;
        public void setOutputText11(HtmlOutputText hot) {
            this.outputText11 = hot;
        private HtmlOutputText outputText12 = new HtmlOutputText();
        public HtmlOutputText getOutputText12() {
            return outputText12;
        public void setOutputText12(HtmlOutputText hot) {
            this.outputText12 = hot;
        private UIColumn column7 = new UIColumn();
        public UIColumn getColumn7() {
            return column7;
        public void setColumn7(UIColumn uic) {
            this.column7 = uic;
        private HtmlOutputText outputText13 = new HtmlOutputText();
        public HtmlOutputText getOutputText13() {
            return outputText13;
        public void setOutputText13(HtmlOutputText hot) {
            this.outputText13 = hot;
        private HtmlOutputText outputText14 = new HtmlOutputText();
        public HtmlOutputText getOutputText14() {
            return outputText14;
        public void setOutputText14(HtmlOutputText hot) {
            this.outputText14 = hot;
        private RowSetDataModel dataTable1Model = new RowSetDataModel();
        public RowSetDataModel getDataTable1Model() {
            return dataTable1Model;
        public void setDataTable1Model(RowSetDataModel rsdm) {
            this.dataTable1Model = rsdm;
        private HtmlSelectOneMenu dropdown1 = new HtmlSelectOneMenu();
        public HtmlSelectOneMenu getDropdown1() {
            return dropdown1;
        public void setDropdown1(HtmlSelectOneMenu hsom) {
            this.dropdown1 = hsom;
        private UISelectItems dropdown1SelectItems = new UISelectItems();
        public UISelectItems getDropdown1SelectItems() {
            return dropdown1SelectItems;
        public void setDropdown1SelectItems(UISelectItems uisi) {
            this.dropdown1SelectItems = uisi;
        private JdbcRowSetXImpl vehicleRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getVehicleRowSet() {
            return vehicleRowSet;
        public void setVehicleRowSet(JdbcRowSetXImpl jrsxi) {
            this.vehicleRowSet = jrsxi;
        private BigDecimalConverter dropdown1Converter = new BigDecimalConverter();
        public BigDecimalConverter getDropdown1Converter() {
            return dropdown1Converter;
        public void setDropdown1Converter(BigDecimalConverter bdc) {
            this.dropdown1Converter = bdc;
        // </editor-fold>
        public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                componentRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                componentRowSet.setCommand("SELECT ALL TRACKER.COMPONENT.PINNO, TRACKER.COMPONENT.UNITCODE, TRACKER.COMPONENT.INSTALLEDDATE, TRACKER.COMPONENT.INSTALLREPORTNO, TRACKER.COMPONENT.TNUSERIALNO, TRACKER.VEHICLE.REGNO, TRACKER.VEHICLE.VINNO, TRACKER.VEHICLE.VEHICLEID, TRACKER.TRACKERAGREEMENT.TAID, TRACKER.TAPRODUCT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTID, TRACKER.COMPONENT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTTYPEID, TRACKER.COMPONENT.INSTALLERID, TRACKER.TAPRODUCT.TAID, TRACKER.TAPRODUCT.PRODUCTTYPEID, TRACKER.TAPRODUCT.TAPRODUCTSTATUSID, TRACKER.TAPRODUCT.PRORATANRDAYS, TRACKER.TAPRODUCT.CONTRACTPERIOD, TRACKER.TAPRODUCT.BILLINGFREQUENCYID, TRACKER.TAPRODUCT.CANCELLATIONDATE, TRACKER.TAPRODUCT.STARTDATE, TRACKER.TAPRODUCT.SOURCEID, TRACKER.TAPRODUCT.PRICINGDATE, TRACKER.TAPRODUCT.DEALTYPEID, TRACKER.TAPRODUCT.ACTIONTYPEID, TRACKER.TAPRODUCT.ISSTANDARDBATTERY, TRACKER.TAPRODUCT.AUDITUSERID, TRACKER.TAPRODUCT.AUDITSRID, TRACKER.COMPONENT.SERIALNUMBER, TRACKER.COMPONENT.RECEIVEDDATE, TRACKER.COMPONENT.RESPONSECODE, TRACKER.COMPONENT.REPLYCODE, TRACKER.COMPONENT.ACTIVATIONCODE, TRACKER.COMPONENT.ALERT, TRACKER.COMPONENT.ALTDEACTIVATIONCODE, TRACKER.COMPONENT.INSTALLEDLOCATION, TRACKER.COMPONENT.VERSION, TRACKER.COMPONENT.SOFTWAREVERSION, TRACKER.COMPONENT.CANACTIVATE, TRACKER.COMPONENT.COMPONENTSTATUSID, TRACKER.COMPONENT.SIMNO, TRACKER.COMPONENT.LOCATECELLNO, TRACKER.COMPONENT.AUDITDT, TRACKER.COMPONENT.THEFTNO, TRACKER.TAPRODUCT.STATUSBEFORECANCELLATION, TRACKER.TAPRODUCT.AUDITDT, TRACKER.TRACKERAGREEMENT.VEHICLEID, TRACKER.TRACKERAGREEMENT.CUSTOMERID, TRACKER.TRACKERAGREEMENT.TASTATUSDATE, TRACKER.TRACKERAGREEMENT.TASTATUSID, TRACKER.TRACKERAGREEMENT.AUDITUSERID, TRACKER.TRACKERAGREEMENT.AUDITSRID, TRACKER.TRACKERAGREEMENT.AUDITDT, TRACKER.VEHICLE.MAKEMODELID, TRACKER.VEHICLE.VEHICLECOLOURID, TRACKER.VEHICLE.COLOURSHADEID, TRACKER.VEHICLE.BATTERYID, TRACKER.VEHICLE.INSURERID, TRACKER.VEHICLE.ENGINENO, TRACKER.VEHICLE.CHASSISNO, TRACKER.VEHICLE.POLICYNO, TRACKER.VEHICLE.YEARMODEL, TRACKER.VEHICLE.JOINDATE, TRACKER.VEHICLE.POLICYCOMMENCEDATE, TRACKER.VEHICLE.DESCRIPTION, TRACKER.VEHICLE.ACTIVE, TRACKER.VEHICLE.METALLICIND, TRACKER.VEHICLE.TEMPREGNO, TRACKER.VEHICLE.ORDERNUMBER, TRACKER.VEHICLE.POLICYSEQUENCENO, TRACKER.VEHICLE.AUDITUSERID, TRACKER.VEHICLE.AUDITSRID, TRACKER.VEHICLE.AUDITDT, TRACKER.VEHICLE.THEFTNO  FROM TRACKER.COMPONENT INNER JOIN TRACKER.TAPRODUCT ON TRACKER.COMPONENT.TAPRODUCTID=TRACKER.TAPRODUCT.TAPRODUCTID INNER JOIN TRACKER.TRACKERAGREEMENT ON TRACKER.TAPRODUCT.TAID=TRACKER.TRACKERAGREEMENT.TAID INNER JOIN TRACKER.VEHICLE ON TRACKER.TRACKERAGREEMENT.VEHICLEID=TRACKER.VEHICLE.VEHICLEID WHERE TRACKER.VEHICLE.VEHICLEID=?");
                dataTable1Model.setDataCacheKey("com.sun.datacache.Page1.componentRowSet");
                dataTable1Model.setRowSet(componentRowSet);
                dataTable1Model.setSchemaName("");
                dataTable1Model.setTableName("");
                vehicleRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                vehicleRowSet.setCommand("SELECT ALL TRACKER.VEHICLE.VEHICLEID, TRACKER.VEHICLE.REGNO  FROM TRACKER.VEHICLE");
                vehicleRowSet.setFetchSize(1000);
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e : new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
            // Initialization Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                vehicleRowSet.execute();
                vehicleRowSet.next();
                dataTable1Model.setObject(1, vehicleRowSet.getObject("VEHICLEID"));
            } catch (Exception ex) {
                throw new FacesException(ex);
            } // end try catch
        protected ucodapp.ApplicationBean1 getApplicationBean1() {
            return (ucodapp.ApplicationBean1)getBean("ApplicationBean1");
        protected ucodapp.SessionBean1 getSessionBean1() {
            return (ucodapp.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
            vehicleRowSet.close();
            vehicleRowSet.close();
            componentRowSet.close();
        public void dropdown1_processValueChange(ValueChangeEvent vce) {
            // Dropdown List Event Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                dataTable1Model.setObject(1, dropdown1.getValue());
                dataTable1Model.execute();
            } catch (Exception e) {
                log("vehicle id change exception", e);
                error("Exception changing Vehicle Id: " + e);
            } // end try catch
            // User event code here...

    Take a look at the Page1 constructor.
    It appears that you're trying to bind the datatable to 2
    different rowsets. I suggest to clean up this
    constructor to make sure you're using the right
    rowset.
    Your value binding expressions on each column
    of the datatable may not be set to the right column.
    John
    JSC QA

  • Active Directory not binding in AD Plugin

    I cannot bind to the Active Directory at work using the ActiveDirectory Plugin for the Directory Access utility.
    I keep getting the error message "Invalid Domain"
    If I try to ping server.domain.local it does not work. If I try to ping the IP of the server, it works.
    The DNS server is Windows Server 2003 based, and has the entire subnet under Reverse Lookup.
    I can connect to Samba Shares based on server names, so it knows how to find servers on the network when looking for shares, just not when looking to ping, bind to domain, or browse websites on local servers.
    I am able to bind to the LDAP server and browse all the users and computers using LDapper just fine.

    In case someone else tries this, this DOES NOT WORK IN LEOPARD!
    Leopard added an official Active Directory module that effectively drops any Active Directory support. I have not heard of anyone getting it to work consistently. I was able to check out a kerberos ticket then enable AD authentication, and it worked great, until I turned off the computer and came back the next day and it broke. As soon as the kerberos ticket expires, so does any hope of authenticating against the AD Domain Controller.
    Incredibly frustrating.

  • Date time field will not bind over into XML data file

    am using the Current Date field in a form that is supposed to give me the current date & time. In the Object, Value, I am using a "calculated - Read Only" , with Run-time property of Date and Time. WHen I view this as a PDF, the current datae & time display on the form as well as when I view the body pages, the {current date/time} is displayed in the actual field of the form. My only problem is I want to bind this so I can export the data to an XML data file, to import to an Access Database. WHen I use these settings, I do not have a "binding" tab to use. WHen I change vaule to "calculation script), it then pops up the binding tab and let's me export the field to the XML data file, but the data in that field is not comming over (the date & time). The field comes into the database inport, but is blank. What am I doing wrong..?? Thanks in advance for any suggestions...

    Well, I'm assuming that when you change it to a calculation script you see the date in the PDF and therefore have the script to set the value written properly. So, if you change the binding from None to Normal or an explicit binding the date will be exported in the data. If all of that is correct, then the most likely problem is the data format you are exporting is not a format that your database will accept.
    Chris
    Adobe Enterprise Developer Support

  • ICal Server starts but does not bind to port 8008 or 8443

    I am having some trouble getting ICal server to start up and be available. When is start up I get the following log entry
    2008-01-31 20:04:28+0000 [-] Log opened.
    2008-01-31 20:04:28+0000 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up
    2008-01-31 20:04:28+0000 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-31 20:04:28+0000 [-] 1 processors found, configuring 1 processes.
    2008-01-31 20:04:28+0000 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] Log opened.
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>+
    2008-01-31 20:04:36+0000 [-] [caldav-8008]  [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
    2008-01-31 20:04:36+0000 [-] [caldav-8008]  [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up document root at: /Library/CalendarServer/Documents
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up default ACEs on root resource
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up AdminPrincipals
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting root ACL
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring authentication for realm: /Search
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up scheme: kerberos
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up scheme: digest
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Initializing database /var/run/caldavd/.db.digestcredentialscache
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring authentication wrapper
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up service
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x1470ed0>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Adding server at :8008
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Adding SSL server at :8443
    But when I try to connect on either http (port 8008) or https (port 8443) I get:
    +Calendar Home not found for 'http://mydomain.com:8008/principals/_uids_/38535666-DA2F-4803-B26E-AD3C4CECC908/'+
    Looking at netstat on the server it seems that the caldav server is not actually binding the port.
    Any ideas how to fix?

    The log files (and the containing caldavd folder) don't exist.
    Errors in system.log do:
    Mar 4 10:15:27 internal /usr/sbin/ocspd[39025]: starting
    Mar 4 10:15:32 internal com.apple.launchd[1] (org.calendarserver.calendarserver[39026]): open("/var/log/caldavd/error.log", ...): No such file or directory
    Mar 4 10:15:35: --- last message repeated 1 time ---
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: Removing stale pidfile /var/run/caldavd.pid
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Log opened.
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] 2 processors found, configuring 2 processes.
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Adding pydirector service with configuration: /tmp/pydirmegbeS
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Traceback (most recent call last):
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] run()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] app.run(runApp, ServerOptions)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] runApp(config)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] _SomeApplicationRunner(config).run()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 158, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.postApplication()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 213, in postApplication
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] startApplication(self.config, self.application)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 174, in startApplication
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.IService(application).privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 228, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 228, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/internet.py", line 68, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self._port = self._getPort()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/internet.py", line 86, in _getPort
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] return getattr(reactor, 'listen'+self.method)(*self.args, **self.kwargs)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/internet/posixbase.py", line 432, in listenUNIX
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] p.startListening()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/internet/unix.py", line 84, in startListening
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.factory.doStart()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 364, in doStart
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.observer.start()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 207, in start
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self._open()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 224, in _open
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.f = open(self.logpath, 'a', 1)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] IOError: [Errno 2] No such file or directory: '/var/log/caldavd/access.log'
    Mar 4 10:15:35 internal com.apple.launchd[1] (org.calendarserver.calendarserver[39026]): Exited with exit code: 1
    Mar 4 10:15:35 internal com.apple.launchd[1] (org.calendarserver.calendarserver): Throttling respawn: Will start in 7 seconds
    So, as I suspected, it isn't starting up correctly. Now, what to do about that? Do I just need to create taht caldavd folder and touch the log files?
    Greg

  • Ear files intermittently not binding on OAS 10.1.3.3

    Over the last couple of weeks I have noticed that when i deploy EAR files some apps don't start up and can't access the login pages. ie:(the Request Processing Time in EM is blank)
    Then sometimes i can just restart the specific app and it works but sometimes it doesn't
    Then I will try and undeploy and deploy manually and it will fail with the error below. Then sometime later i will do the same thing and it works.
    [24-Aug-2009 2:45:14 PM] Binding web application(s) to site default-web-site begins...
    [24-Aug-2009 2:45:14 PM] Binding occamweb web-module for application occam to site default-web-site under context root OnDemand
    [24-Aug-2009 2:45:15 PM] Operation failed with error: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
    Not sure what is happening exactly but hopefully you may be able to help out?

    Over the last couple of weeks I have noticed that when i deploy EAR files some apps don't start up and can't access the login pages. ie:(the Request Processing Time in EM is blank)
    Then sometimes i can just restart the specific app and it works but sometimes it doesn't
    Then I will try and undeploy and deploy manually and it will fail with the error below. Then sometime later i will do the same thing and it works.
    [24-Aug-2009 2:45:14 PM] Binding web application(s) to site default-web-site begins...
    [24-Aug-2009 2:45:14 PM] Binding occamweb web-module for application occam to site default-web-site under context root OnDemand
    [24-Aug-2009 2:45:15 PM] Operation failed with error: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
    Not sure what is happening exactly but hopefully you may be able to help out?

  • OS 10.5.4 will not bind to Active Directory.

    Long story short, our macs (for the graphic designers) using Leopard that were able to login to the computer via active directory server without any problems for months, no longer can and we have no idea why. They worked in the morning yesterday, and suddenly their email (entourage) was disconnected, and when restarting, their domain user accounts no longer work when logging in on the macs. Only local admin account can log in. Can't even log in with network system user.
    Nothing was changed on the local machines or the server either.
    you can however log in to the server to the server using a local user account and Apple+K into the server and log in with the user names and passes that were previously used as domain login without a problem.
    Any particular cause for this? The system clocks are not off, no settings have changed, I re-joined the macs to the domain and active directory and now it won't even allow me to do that anymore. I get this exact error - "Unable to add domain. Error Type -14910 (eServerError)"
    Very odd, IMO.
    However, our ONE mac that is still on 10.4 works perfectly.
    Any insight?
    Message was edited by: RudeMood

    We've stuck with 10.5.2 because of the bug in 10.5.3 that caused file corruption with CS3 documents saved over the network. 10.5.4 seems to have broken AD binding (maybe it was 10.5.3, wouldn't know since we passed on it). Apple is aware of the issue and is working on a fix. I wouldn't be surprised if it hasn't already been fixed in the 10.5.5 forthcoming release (just a guess).
    Don

  • JNDI obj not binding to initial context--10gRel 2 issue only,works in rel3

    hi all,
    The issue I am writing about is an issue only in OAS 10g release 2 (10.1.2.0.2) and not in release 3. I have an issue where in I am trying to bind a data source object to the initial context. This data source object reference is created dynamically and is not specified in any XML file (say like web.xml or server.xml). The business requirement driving this is that for each user we need to create a data source dynamically and attach it to the JNDI and then this JNDI name is passed on to Crystal Reports which will use this data source to retrieve its data from the DB. The code for creating the data source dynamically is as below,
    private String setDataSource(String username, String password) throws NamingException {
              String prefix = "jdbc";
              InitialContext ic = new InitialContext();
              // Construct BasicDataSource reference
              Reference ref = new Reference("javax.sql.DataSource", CustomDataSourceFactory.class.getName(), null);
              ref.add(new StringRefAddr("url", xxxxxx));
              ref.add(new StringRefAddr("schema",xxxxx));
              ref.add(new StringRefAddr("xxxxxx", xxxxx));
              ref.add(new StringRefAddr("password", xxxxx));
              try {
                   ic.listBindings(prefix);
              } catch (NameNotFoundException exp) {
                   ic.createSubcontext(prefix);
              String datasourceName = prefix + "/" + oneNumber;
              ic.rebind(datasourceName, ref);
              return datasourceName;
    As you can see the reference to the data source is added dynamically. Now when I try to obtain this object by looking up the context for its JNDI name I get a object not found error. This is how I look up the object through my code,
    private void testDataSource(String dsName){
              Connection conn = null;
              Statement stmt = null;
              ResultSet rs = null;
              try {
                   InitialContext ic = new InitialContext();
                   javax.sql.DataSource ds = (javax.sql.DataSource) ic.lookup(dsName);
                   conn = ds.getConnection();
                   stmt = conn.createStatement();
                   rs = stmt.executeQuery("select sysdate from dual");
                   String result = rs.getString(1);
                   System.out.println("----YOGI----Result of query execution is AAA -----" + result);
              } catch (Exception ex ){
                   System.out.println("----YOGI----the exception from this specific block is " + ex.getLocalizedMessage());
              finally {
                   try {
                        if (null!= rs)
                             rs.close();
                        if(null !=stmt)
                             stmt.close();
                        if(null !=conn)
                             conn.close();          
                   } catch (Exception ex){
                        System.out.println("Hopeless");
    When I do this I get this exception message --> jdbc/1562 not found in MyAPP
    jdbc/1562 is the data source JNDI name I generated in the first method and "MyAPP" is the name of my application. I decided to make the JNDI globally available in the context and hence I used "java:global/jdbc/1562" for my datasource name and even that did not work even though the JNDI name is not bound to the application in specific.
    I am really at a loss here as this is a simple add/retrieve operation to a object bound to the context. Can someone tell what is wrong here? The same code works fine in release 3 OAS and also in tomcat and websphere. Any help will be appreciated.
    Regards,
    Yogi

    OK, I seem to be getting a new exception, not sure if I did any change but ran into this exception in the logs,
    11/08/24 18:45:08 ----YOGI----the exception from this specific block is javax.naming.Reference cannot be cast to javax.sql.DataSource*
    From what I read on the web, this is prevalent in glassfish and jboss. The reason could be that missing j2ee.jar in classpath or duplicate jdbc jars. I added j2ee.jar to my application library in oc4j dint resolve the issue. I removed jdbc jar from the OAS lib folder and restarted, it dint help.
    Any other clues, anyone?

Maybe you are looking for