DTW-problem using Business Obj: oStockTaking and Template: StockTaking

Hello Experts,
I am getting problem in using SotckTaking data upload, It uploaded the data using the above said template and Business Object option using DTW.
But neither I could see it in Inventory Audit Report or Stock Posting. where I can see my uploaded data ... ?
Thanks

StockTaking will not post entries to Inventory instead it updates stock as counted and you should perform reconciliation to update the stock.
Please refer the following information that is extracted from following threads:
Re: wants put stock opening balance through DTW
You could import the inventory counts using the Stock Taking template and the prices can be imported along with the Items using the template Items_Prices (inside folder oItems)
In the Inventory Reconciliation Tab select the pricelist number you have imported the prices (cost) in the above step and RECONCILE
The SAP document, 'Data Migration and Opening Balances Implementation Guide.pdf' states the following: Page No: 14:
Load Inventory Beginning Balances via DTW
In the workbench, the process contains 2 stages:
1. Loading of the initial quantities for all items using the Stock Taking object in the DTW.
2. Perform Stock Posting manually using Inventory u2192 Inventory Transactions u2192 Beginning Quantities and Cycle Counting u2192 Stock Posting. This stage will create the stock transaction and the appropriate Journal Entry to reflect the stock value in the GL.
In the stock posting, the same rules apply for determination of the item cost prices as in manual process.
The quantities you loaded will appear as counted. For the beginning quantities, the difference should be zero.
Make sure the date is set for the day you go live.
o The increasing and decreasing accounts are defaulted from the G/L account determination. For the beginning balances only, you should overwrite these accounts with the opening balance account.
o If you donu2019t use the Continuous Stock System, only quantity transactions will be created, no journal entries.
Since the stock accounts are affected, you must consider these amounts when creating the G/L opening balances.
If a variance remains after reconciliation between SAP Business One and the legacy system, for example, due to different prices, you have to correct this difference manually.
Regards
Satish

Similar Messages

  • DTW-problem using Business Obj: Product Tree

    Hello Experts,
    I am trying to upload BOM through DTW, as it has two templates "productTree and productTrees_Lines"
    In DTW Data import wizard on the second screen It says QueryParams and ProductTree and ProductTree_Lines, i attach my files with the ProductTree and ProductTree_Lines and press next, it gives message source file missing
    Please Help

    Hi Muhammad 
    It sounds like you are using some old version DTW which will show
    the source file as "QueryParams".(a known issue fixed in later version)
    Please upgrade your DTW to latest version.Or you can try to attach your
    souce file ProductTree to the QueryParams and import.That may work.
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Hi. I am just about to move from the UK to Kuwait. Will I have any problems using my iPhone 4 and able to join a local carrier using this device please?

    Hi. I am just about to move from the UK to Kuwait. Will I have any problems using my iPhone 4 and able to join a local carrier using this device please?

    If your phone is locked to a particular carrier, you must contact them to request they unlock it. Once they've taken care of that and you've followed the instructions to complete the unlock process, you will be able to use the phone elsewhere.
    ~Lyssa

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • Does anyone have problems using the  highlights, shadows and sharpness edits in iphoto? Since I uploaded Mountain Lion, those editing tabs do not work!

    Does anyone have problems using the highlights, shadows and sharpness controls in iphoto 11? Since I uploaded Mountain Lion on my
    mac mini, those editing features no longer work!!!!

    Sorry, I booted into 10.8 just to test this, but I only have iPhoto 08.

  • Problems using RMI between linux and windows.

    I have problems using RMI between linux and windows.
    This is my scenario:
    - Server running on linux pc
    - Clients running on linux and windows PCs
    When a linux client disconnect, first time that server try to call a method of this client, a rmi.ConnectException is generated so server can catch it, mark the client as disconnected and won't communicate with it anymore.
    When a windows client (tested on XP and Vista) disconnect, no exceptions are generated (I tryed to catch all the rmi exception), so server cannot know that client is disconnected and hangs trying to communicate with the windows client.
    Any ideas?
    Thanks in advance.
    cambieri

    Thanks for your reply.
    Yes, we are implementing a sort of callback using Publisher (remote Observable) and Subscribers (remote Observer). The pattern and relative code is very well described at this link: http://www2.sys-con.com/ITSG/virtualcd/java/archives/0210/schwell/index.html (look at the notifySubscribers(Object pub, Object code) function).
    Everything works great, the only problem is this: when a Publisher that reside on a Linux server try to notify something to a "dead" Subscriber that reside on a Windows PC it does't receive the usual ConnectException and so tends to hang.
    As a workaround we have solved now starting a new Thread for each update (notification), so only that Thread is blocked (until the timeout i guess) and not the entire "notifySubscribers" function (that contact all the Subscribers).
    Beside this, using the Thread seem to give us better performance.
    Is that missed ConnectException a bug? Or we are just making some mistake?
    We are using java 6 and when both client and server are Linux or Windows the ConnectException always happen and we don't have any problem.
    I hope that now this information are enough.
    Thanks again and greetings.
    O.C.

  • Dynamic class loading problem using unknown JAR archive and directory names

    I read the following article, which enlightened me a lot:
    Ted Neward: Understanding Class.forName().
    However, it took me some while to understand that my problem is the other way around:
    I know the name of the class, I know the name of the method,
    but my program/JVM does not know where to load the classes from.
    Shortly, my problem is that the server engine that I am writing
    uses two different versions of the same library.
    So I am trying out the following solution:
    My program is named TestClassPathMain.java
    Assume the two libraries are named JAR1.jar and JAR2.jar
    and the class/instance method that should
    be exposed to TestClassPathMain.java by them is named
    TestClass1.testMethod().
    As long as I was depending on just one library,
    I put JAR1.jar in the classpath before starting java,
    and I was happy for a while.
    At the moment I got the need to use another version of
    TestClass1.testMethod() packaged in JAR2.jar,
    a call would always access JAR1.jar's
    TestClass1.testMethod().
    I then decided to remove JAR1.jar from the classpath,
    and programmatically define two separate ClassLoaders, one for use
    with JAR1.jar and the other for use with JAR2.jar.
    However, the problem is only partly solved.
    Please refer to the enclosed code for details.
    (The code in the JAR1.jar/JAR2.jar is extremely simple,
    it just tells (by hardcoding) the name of the jar it is packaged in
    and instantiates another class packaged in the same jar using
    the "new" operator and calls a method on it. I don't enclose it.)
    The TestClassPathMain.java/UC1.java/UC2.java code suite was
    successfully compiled with an arbitrary of JAR1 or JAR2 in the classpath,
    however removed from the classpath at runtime.
    (I know that this could have been done (more elegantly...?) by producing an Interface,
    but I think the main problem principle is still untouched by this potential lack of elegancy(?))
    1) This problem should not be unknown to you experts out there,
    how is it generally and/or most elegantly solved?
    The "*** UC2: Variant 2" is the solution I would like best, had it only worked.
    2) And why arent "*** UC2: Variant 2" and
    "*** static UC2: Variant 2" working,
    while "*** Main: Variant 2" is?
    3) And a mal-apropos:
    Why can't I catch the NoClassDefFoundError?
    The output:
    *** Main: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** Main: Variant 2 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 2 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** UC1: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** UC1: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** static UC2: Variant 2 JAR 1 ***:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestClass1
            at UC2.runFromJarVariant2_static(UC2.java:56)
            at TestClassPathMain.main(TestClassPathMain.java:52)
    TestClassPathMain.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class TestClassPathMain {
        public static void main(final String args[]) throws MalformedURLException, ClassNotFoundException, InstantiationException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
                // Commented out because I cannot catch the NoClassDefFoundError.
                // Why?
                try {
                    final TestClass1 testClass1 = new TestClass1();
                    System.out.println(
                        "\nThe class TestClass1 is of some unexplicable reason available." +
                        "\nFor the purpose of the test, it shouldn't have been!" +
                        "\nExiting");
                    System.exit(1);
                } catch (NoClassDefFoundError e) {
                    System.out.println("\nPositively confirmed that the class TestClass1 is not available:\n" + e);
                    System.out.println("\n\nREADY FOR THE TEST: ...");
                // Works fine
                System.out.println("\n*** Main: Variant 1 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 1 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                System.out.println("\n*** Main: Variant 2 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 2 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                final UC1 uc1 = new UC1();
                System.out.println("\n*** UC1: Variant 1 JAR 1 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC1: Variant 1 JAR 2 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                System.out.println("\n*** static UC2: Variant 2 JAR 1 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** static UC2: Variant 2 JAR 2 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                final UC2 uc2 = new UC2();
                System.out.println("\n*** UC2: Variant 2 JAR 1 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC2: Variant 2 JAR 2 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
        private static void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
        private static void runFromJarVariant2(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    UC1.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC1 {
        public void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
    UC2.java
    import java.lang.reflect.InvocationTargetException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC2 {
        public void runFromJarVariant2(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
         * Identic to the "runFromJarVariant2" method,
         * except that it is static
        public static void runFromJarVariant2_static(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    }

    2. i need to load the class to the same JVM (i.e. to
    the same environment) of the current running
    aplication, so that when the loaded class is run, it
    would be able to invoke methods on it!!!
    ClassLoader(s) do this. Try the URLClassLoader.
    (I was talking about relatively esoteric "security"
    issues when I mentioned the stuff about Class objects
    "scope".) You might use the URLClassLoader kind of
    like this.
    Pseudo-code follows:
    // setup the class loader
    URL[] urls = new URL[1];
    urls[0] = new URL("/path/to/dynamic/classes");
    URLClassLoader ucl = new URLClassLoader(urls);
    // load a class & use make an object with the default constructor
    Object tmp = ucl.loadClass("dynamic.class.name").newInstance();
    // Cast the object to a know interface so that you can use it.
    // This may be used to further determine which interface to cast
    // the class to. Or it may simply be the interface to which all
    // dynamic classes have to conform in your program.
    InterfaceImplementedByDynamicClass loadedObj =
        (InterfaceImplementedByDynamicClass)tmp;It's really not as hard as it sounds, just write a little test of
    this and you will see how it works.

  • Problems using Photostream on iPad and iPhone.

    I'm hoping someone can advise me and solve this problem easily.  Not a massive techie so please use layman's terms!
    I've had a similar problem to others in that photos on my iPhone were appearing as blank white... Both in the Thumbnail and full screen.  I corrected this by using the rotate function and re-saving each photo.  The photos now appear correctly in the camera roll but not in photo stream which syncs to my iPad.  For obvious reasons I'd really love all the photos to appear correctly on both devices...
    Can anyone help?!

    Anything at all people?!?!

  • Problem using trinidad 2.0 and facelets

    Hi everyone!!!
    I am facing problem using Trinidad 2.0 components with facelets. I am using Tomcat 6.0 server , 1.6_20 jdk with jre6. I am using springsource tool suite as an IDE.
    My problem is regarding usage of facelets with trinidad component library. I am trying to run *<tr:panelTabbed>* component of TRINIDAD 2.0 on *.jsp* as well as *.xhtml*. If I run my jsp , I am able to used panel tab fully like switching between two tabs. Same code I have added in my .xhtml page in the same project under *<ui:composition>* tags. I am successfully able show the component on the screen , but I am not able to switch between the two tabs. Here are the list of libs that have added to the project.
    commons-beanutils-1.7.0.jar,commons-codec-1.3.jar,commons-collections-3.2.jar,commons-digester-1.8.jar,commons-discovery-0.4.jar,
    commons-el.jar,commons-fileupload.jar,commons-logging-1.1.1.jar,jsf-facelets.jar,jstl.jar,myfaces-api-2.0.1.jar,myfaces-impl-2.0.1.jar,
    trinidad-api-2.0.0-alpha-2.jar,trinidad-impl-2.0.0-alpha-2.jar
    index.jsp
    <%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%><html>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <head>
    <title>Your first JSF Application</title>
    </head>
    <body bgcolor="white">
    <f:view>
         <tr:document>
              <h:form>
                   <tr:panelTabbed position="above">
                        <tr:showDetailItem text="Account">
                             <tr:panelBox text="Account Information Details"
                                  inlineStyle="width: 100%;">
                                  <tr:panelList inlineStyle="width: 100px;">
                                       <tr:panelHorizontalLayout inlineStyle="height:100px;">
                                            <f:facet name="separator">
                                                 <tr:spacer width="100" height="100" />
                                            </f:facet>
                                            <tr:outputText value="Account Number" styleClass="AFFieldText" />
                                            <tr:outputText value="Effective Date" styleClass="AFFieldText" />
                                            <tr:outputText value="Expiration Date" styleClass="AFFieldText" />
                                       </tr:panelHorizontalLayout>
                                       <tr:panelHorizontalLayout inlineStyle="height:100px;">
                                            <f:facet name="separator">
                                                 <tr:spacer width="100" height="100" />
                                            </f:facet>
                                            <tr:outputText value="#{accDet.accountNumber}"
                                                 styleClass="AFFieldText" />
                                            <tr:outputText value="#{accDet.effectiveDate}"
                                                 styleClass="AFFieldText" />
                                            <tr:outputText value="#{accDet.expirationDate}"
                                                 styleClass="AFFieldText" />
                                       </tr:panelHorizontalLayout>
                                       <tr:separator />
                                       <tr:panelHorizontalLayout inlineStyle="height:100px;">
                                            <f:facet name="separator">
                                                 <tr:spacer width="100" height="1" />
                                            </f:facet>
                                            <tr:outputText value="Address" styleClass="AFFieldText" />
                                            <tr:outputText value="Fax" styleClass="AFFieldText" />
                                       </tr:panelHorizontalLayout>
                                       <tr:panelHorizontalLayout inlineStyle="height:100px;">
                                            <f:facet name="separator">
                                                 <tr:spacer width="100" height="1" />
                                            </f:facet>
                                            <tr:outputText value="#{accDet.address}"
                                                 styleClass="AFFieldText" />
                                            <tr:outputText value="#{accDet.fax}" styleClass="AFFieldText" />
                                       </tr:panelHorizontalLayout>
                                  </tr:panelList>
                             </tr:panelBox>
                        </tr:showDetailItem>
                        <tr:showDetailItem text="Insured">
                             <tr:panelHeader text="Header 2">
                                  <tr:panelFormLayout>
                                       <tr:inputText label="Text1" />
                                       <tr:inputText label="Text2" />
                                       <tr:inputText label="Text3" />
                                  </tr:panelFormLayout>
                             </tr:panelHeader>
                        </tr:showDetailItem>
                   </tr:panelTabbed>
              </h:form>
         </tr:document>
    </f:view>
    </body>
    </html>
    guess.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:tr="http://myfaces.apache.org/trinidad"
         xmlns:f="http://java.sun.com/jsf/core">
    <body bgcolor="white">
    <f:view>
         <tr:document>
    <h:form>
         <tr:panelTabbed>
              <tr:showDetailItem text="Tab 1"></tr:showDetailItem>
              <tr:showDetailItem text="Tab 2"></tr:showDetailItem>
         </tr:panelTabbed>
    </h:form>
    </tr:document>
    </f:view>
    </body>
    </html>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         id="WebApp_ID" version="2.5">
         <display-name>Demo_ProtoType</display-name>
         <filter>
              <filter-name>trinidad</filter-name>
              <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>trinidad</filter-name>
              <servlet-name>faces</servlet-name>
         </filter-mapping>
         <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>client</param-value>
         </context-param>
         <listener>
              <listener-class>
                   org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
         </listener>
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.xhtml</url-pattern>
         </servlet-mapping>
         <servlet>
              <servlet-name>resources</servlet-name>
              <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>resources</servlet-name>
              <url-pattern>/adf/*</url-pattern>
         </servlet-mapping>
         <context-param>
              <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
              <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
              <param-value>*.xhtml</param-value>
         </context-param>
    </web-app>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
         version="1.2">
         <application>
              <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
         </application>
         <managed-bean>
              <managed-bean-name>accDet</managed-bean-name>
              <managed-bean-class>com.csc.Account.AccountDetail</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>Following warning is coming on server start up
    java.lang.ClassNotFoundException: org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
    PLEASE LET ME KNOW IF ANYONE NEED THE .WAR file .I can send it over mail. Please hrlp me out !!! I have literally tried everything.This is the only HOPE

    Hi gimbal2 ,
    thanks for your prompt response.
    I deleted jsf-facelets.jar from the lib.
    Also I removed      <context-param>
              <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
              <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
              <param-value>*.xhtml</param-value>
         </context-param>Now that error has gone .But I am still not able to switch between the tabs for .xhtml page but it is working fine for .jsp page.
    For .xhtml page , on clicking on the tab, console is showing something like below
    Aug 17, 2010 9:20:49 PM org.apache.myfaces.trinidad.component.UIXShowDetail broadcast
    WARNING: Event org.apache.myfaces.trinidad.event.DisclosureEvent[phaseId=INVOKE_APPLICATION(5),component=CoreShowDetailItem[UINodeFacesBean, id=j_id957384125_39108532],expanded=true] was delivered to a showDetail already in that disclosure state.

  • Problem using pdk-html:multibox and pdk-html:checkbox

    Hi all,
    I am developing a PDK struts application using OC4J 10.1.2. I have to create some form pages which are going to have some checkboxes. I have tried to follow the following code in order to use the pdk version of the checkbox in my form:
    in jsp file
    <logic:iterate id="item" property="items">
    <pdk-html:multibox property="selectedItems">
    <bean:write name="item"/>
    </pdk-html:multibox>
    <bean:write name="item"/>
    </logic:iterate>
    Given an ActionForm setup like this
    private String[] selectedItems = {};
    private String[] items = {"UPS","FedEx","Airborne"};
    public String[] getSelectedItems() {
    return this.selectedItems;
    public void setSelectedItems(String[] selectedItems) {
    this.selectedItems = selectedItems;
    ....... //getters and setters of items//
    In the reset method I also reinitialize the selectedItems array like :
    selectedItems=new String[]{};
    But the value of the multibox is not reflected in the action class. To my surprise, the html code generated by the server is similar to ordinary checkbox which ideally should carry some portlet specific information like pdk-html:text
    Same is the case with single checkbox. I have created a boolean variable for the single checkbox in the actionForm class. But same problem frustrates me again. The value is not passed simply.
    Can anybody comment. Is this some kind of a bug or may be there is no support for checkbox and multibox in pdkstruts.jar (10.1.2.0.2).
    Best regards,
    Omer

    following below the code that generate the XML. I still need help.
    I hope someone can help me in this issue
    The servlet that generate the XML.
    response.setContentType("text/xml");
    String Xml = "";
    Xml = Xml + "<?xml version=\"1.0\"?>";
    Xml = Xml + "<?xml-stylesheet href=\"/XslGravaCrit.xsl\" type=\"text/xsl\"?>";
    Xml = Xml + "<!-- Here is a sample XML file -->";
    Xml = Xml + "<page>";
    Xml = Xml + "<title>Test Page</title>";
    Xml = Xml + "<content>";
    Xml = Xml + "<paragraph>What you see is what you get!</paragraph>";
    Xml = Xml + "</content>";
    Xml = Xml + "</page>";
    try{
    TransformerFactory tFactory = TransformerFactory.newInstance();
    byte[] arr=Xml.getBytes();
    ByteArrayInputStream bytes=new ByteArrayInputStream(arr);
    Source xsl=new StreamSource("../XslGravaCrit.xsl");
    Templates template=tFactory.newTemplates(xsl);
    Transformer transformer = template.newTransformer();
    transformer.transform(new StreamSource(bytes), new StreamResult(response.getWriter()));
    }catch(Exception e){
    System.out.println("Excecao 100: " + e.getMessage() + e.getLocalizedMessage());
    The XSL XslGravaCrit.xsl
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java"
    version="1.0">
    <xsl:strip-space elements="*"/>
    <xsl:output method="html" indent="yes" version="4.0"/>
    <xsl:template match="page">
    <html>
    <body><b>
    <xsl:value-of select="java:java.util.Date.new()"/>
         </b>
    <xsl:for-each select="/page">
    <xsl:sort select="paragraph"/>
    <xsl:value-of select="paragraph"/>
    </xsl:for-each>
    <i>Hello World</i>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>

  • Problem using secondary database, sequence (and custom tuple binding)

    I get an exception when I try to open a Sequence to a database that has a custom tuple binding and a secondary database. I have a guess what the issue is (below), but it boils down to my custom tuple-binding being invoked when opening the sequence. Here is the exception:
    java.lang.IndexOutOfBoundsException
    at com.sleepycat.bind.tuple.TupleInput.readUnsignedInt(TupleInput.java:4
    14)
    at com.sleepycat.bind.tuple.TupleInput.readInt(TupleInput.java:233)
    at COM.shopsidekick.db.community.Shop_URLTupleBinding.entryToObject(Shop
    _URLTupleBinding.java:72)
    at com.sleepycat.bind.tuple.TupleBinding.entryToObject(TupleBinding.java
    :73)
    at COM.tagster.db.community.SecondaryURLKeyCreator.createSecondaryKey(Se
    condaryURLKeyCreator.java:38)
    at com.sleepycat.je.SecondaryDatabase.updateSecondary(SecondaryDatabase.
    java:546)
    at com.sleepycat.je.SecondaryTrigger.databaseUpdated(SecondaryTrigger.ja
    va:42)
    at com.sleepycat.je.Database.notifyTriggers(Database.java:1343)
    at com.sleepycat.je.Cursor.putInternal(Cursor.java:770)
    at com.sleepycat.je.Cursor.putNoOverwrite(Cursor.java:352)
    at com.sleepycat.je.Sequence.<init>(Sequence.java:139)
    at com.sleepycat.je.Database.openSequence(Database.java:332)
    Here is my code:
    // URL ID DB
    DatabaseConfig urlDBConfig = new DatabaseConfig();
    urlDBConfig.setAllowCreate(true);
    urlDBConfig.setReadOnly(false);
    urlDBConfig.setTransactional(true);
    urlDBConfig.setSortedDuplicates(false); // No sorted duplicates (can't have them with a secondary DB)
    mURLDatabase = mDBEnv.openDatabase(txn, "URLDatabase", urlDBConfig);
    // Reverse URL lookup DB table
    SecondaryConfig secondaryURLDBConfig = new SecondaryConfig();
    secondaryURLDBConfig.setAllowCreate(true);
    secondaryURLDBConfig.setReadOnly(false);
    secondaryURLDBConfig.setTransactional(true);
    TupleBinding urlTupleBinding = DataHelper.instance().createURLTupleBinding();
    SecondaryURLKeyCreator secondaryURLKeyCreator = new SecondaryURLKeyCreator(urlTupleBinding);
    secondaryURLDBConfig.setKeyCreator(secondaryURLKeyCreator);
    mReverseLookpupURLDatabase = mDBEnv.openSecondaryDatabase(txn, "SecondaryURLDatabase", mURLDatabase, secondaryURLDBConfig);
    // Open the URL ID sequence
    SequenceConfig urlIDSequenceConfig = new SequenceConfig();
    urlIDSequenceConfig.setAllowCreate(true);
    urlIDSequenceConfig.setInitialValue(1);
    mURLSequence = mURLDatabase.openSequence(txn, new DatabaseEntry(URLID_SEQUENCE_NAME.getBytes("UTF-8")), urlIDSequenceConfig);
    My secondary key creator class looks like this:
    public class SecondaryURLKeyCreator implements SecondaryKeyCreator {
    // Member variables
    private TupleBinding mTupleBinding; // The tuple binding
    * Constructor.
    public SecondaryURLKeyCreator(TupleBinding iTupleBinding) {
    mTupleBinding = iTupleBinding;
    * Create the secondary key.
    public boolean createSecondaryKey(SecondaryDatabase iSecDB, DatabaseEntry iKeyEntry, DatabaseEntry iDataEntry, DatabaseEntry oResultEntry) {
    try {
    URLData urlData = (URLData)mTupleBinding.entryToObject(iDataEntry);
    String URL = urlData.getURL();
    oResultEntry.setData(URL.getBytes("UTF-8"));
    catch (IOException willNeverOccur) {
    // Success
    return(true);
    I think I understand what is going on, and I only noticed it now because I added more fields to my custom data (and tuple binding):
    com.sleepycat.je.Sequence.java line 139 (version 3.2.44) does this:
    status = cursor.putNoOverwrite(key, makeData());
    makeData creates a byte array of size MAX_DATA_SIZE (50 bytes) -- which has nothing to do with my custom data.
    The trigger causes an call to SecondaryDatable.updateSecondary(...) to the secondary DB.
    updateSecondary calls createSecondaryKey in my SecondaryKeyCreator, which calls entityToObject() in my tuple-binding, which calls TupleInput.readString(), etc to match my custom data. Since what is being read goes for more than the byte array of size 50, I get the exception.
    I didn't notice before because my custom tuple binding used to read fewer that 50 bytes.
    I think the problem is that my tuple binding is being invoked at all at this point -- opening a sequence -- since there is no data on which it can act.

    Hi,
    It looks like you're making a common mistake with sequences which is to store the sequence itself in a database that is also used for application data. The sequence should normally be stored in separate database to prevent configuration conflicts and actual data conflicts between the sequence record and the application records.
    I suggest that you create another database whose only purpose is to hold the sequence record. This database will contain only a single record -- the sequence. If you have more than one sequence, storing all sequences in the same database makes sense and is safe.
    The database used for storing sequences should not normally have any associated secondary databases and should not be configured for duplicates.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with Business Process Publisher and AIA

    After installing AIA 11.1.1.5, I installed the Business Process Publisher following the instructions in the AIA Installation Guide at http://download.oracle.com/docs/cd/E21764_01/aia.htm, sec. 8.3: "Manually uploading reference process models to business process publisher".
    Since I could not find the Publisher installation files in the AIAFP install I downloaded from OTN, I used the Publisher installation files from the BPA OTN download (files Oracle_BPA_Suite_11.1.1.4_OTN_1of2.zip and Oracle_BPA_Suite_11.1.1.4_OTN_2of2.zip - I did not install BPA before installing Publisher).
    Now when I launch Publisher the login page says "Currently, no exports are available. You can only log in to the administration area at this time". If I login, the new page does not show any AIA contents, only the message "There are currently no profiles available". (I am not sure which “exports” and “profiles” it is talking about).
    Evidently something is missing, but I cannot figure out what.
    Thank you,
    Ugo

    "Todd Bradfute" <[email protected]> wrote:
    >
    I'm trying to run the Business Process Tutorial (http://e-docs.bea.com/workshop/docs81/doc/en/integration/tutorial/tutWLIProcessCreateApp.html?skipReload=true#1025634)
    in WebLogic Workshop 8.1 (Build 2003.0710.190003) and I'm having trouble
    with
    the part that says:
    In the New Application dialog box, select Tutorial in the left pane,
    and select
    Tutorial: Process Application in the right pane.
    In my setup, the New Application window has only "All" in the left pane.
    And it
    doesn't have anything "Tutorial" related in the right pane.
    Any suggestions?
    Thanks
    -TAB
    Hi TAB--
    When you installed the platform, did you install the whole thing, or just part
    of it? If you chose not to install the examples, or if you chose not to install
    Integration, that would explain this behavior. If not, we'll try to go from there...
    Thanks,
    Mike

  • Testcase problem using two file adapter and a transformation

    We've got an input which looks like this :
    <?xml version="1.0" encoding="UTF-8"?>
    <rows>
    <row>
    <id>10</id>
    <naam>A</naam>
    </row>
    <row>
    <id>20</id>
    <naam>B</naam>
    </row>
    </rows>
    I've created an XSD for this message which looks like this ( straightforward ) :
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.test.nl/testschema" xmlns:test="http://www.test.nl/testschema" elementFormDefault="unqualified">
         <element name="row">
              <complexType>
                   <sequence>
                        <element ref="test:id"/>
                        <element ref="test:naam"/>
                   </sequence>
              </complexType>
         </element>
         <element name="rows">
              <complexType>
                   <sequence>
                        <element ref="test:row" maxOccurs="unbounded"/>
                   </sequence>
              </complexType>
         </element>
         <element name="naam">
              <simpleType>
                   <restriction base="string">
                   </restriction>
              </simpleType>
         </element>
         <element name="id">
              <simpleType>
                   <restriction base="byte">
                   </restriction>
              </simpleType>
         </element>
    </schema>
    I've imported this XSD in my ESB project and created a file adapter which reads this type op files.
    I've created another file adapter to write the files 1:1 to an output dir.
    In the routingservice I've created a very straightforward XSL mapping which maps everything 1:1.
    Now the problem
    When I use this input :
    <?xml version="1.0" encoding="UTF-8"?>
    <rows>
    <row>
    <id>10</id>
    <naam>Martin</naam>
    </row>
    <row>
    <id>20</id>
    <naam>Edward</naam>
    </row>
    </rows>
    my output result is:
    <?xml version="1.0" ?><imp1:rows xmlns:imp1="http://www.test.nl/testschema"/>
    I know this is a namespace issue. When I add the namespace
    <?xml version="1.0" encoding="UTF-8"?>
    <rows xmlns="http://www.test.nl/testschema">
    <row>
    <id>10</id>
    <naam>Martin</naam>
    </row>
    <row>
    <id>20</id>
    <naam>Edward</naam>
    </row>
    </rows>
    I get the correct ( and 1:1 output ).
    The problem is. In the scenario I'm about to build the input xml messages do not have an namespace. How can I alter my xsd file or anything within my ESB project that all files will be picked up correctly and processed without having an default namespace?
    Any help is appreciated!

    True,
    But its the other way around what is causing my problem.
    Because the input xml files contain no namespace at all the xml messages are transformed but result in an almost empty xml message. ( e.g. the root element is there and thats it ).
    This is because the XML transformation mapper in ESB ( as well as BPEL ) excplicitly needs a namespace.
    I solved it by editing the XSL by hand, removing the :imp1 namespace prefixes in the select="" tags. e.g.
    <xsl:for-each select="/imp1:rows/imp1:row"> is updated in
    <xsl:for-each select="/rows/row">
    As far as I know this is the only workaround at the moment that I could find.

  • Problem using "Photo to Movie" and "Toast 8 Titanium" for dvd slideshow

    I used photo to movie to compile a 20 minute collection of photos for a relative's funeral. All the files were still photos (no video) but I added 4 songs (that I had in iTunes).
    When I go to "create movie", I normally select NTSC for toast, but when I do so toast gives me an error saying "filename.dv is an unsupported format and cannot be imported".
    I just went throw this process a day ago for a wedding slideshow (using same computer and workflow) and it worked fine!!! What could be causing this?
    I have downloaded all the latest updates of both toast and photo to movie.

    I finally figured out (after 8 hrs of troubleshooting) that there was one photo in there it didnt like. When I finally found the photo (by process of elimination) and replaced it, everything worked fine. Just wish the error messaging would be more specific to help me locate the problem!

  • Serious problems using for the Airports and any devices like the new iPod or iPad 3 after installing Airport

    I know this sounds crazy but I recently installed an Airport express and an Airport Extreme, I worked on it for several days and everything seemed to finally working like it should using manual configurations so it is all right as far as function goes. Later on I found out I had to do a restore on my new IPod and the latest iPad. No other changes were made to the system using snow lepoard 10.6. I tried for several days to restore these devices with no explanation of the problem. I could not use wi-fi or cellular to update any of the devices. Don't ask me why but I shut the computer down and removed every usb device except for the wireless key board that came with the latest iMac system. I made sure everything was the latest version of my applications. It did not affect my DSL or connection to the internet. I even removed the thunderbolt cable so I had 1 usb connection to the computer. The system was setup just like it came out of the box. I brought up iTunes and connected the USB cable to the iPad and selected restore. I had used iCloud to back everything up when I first bought the iPad and iPod. I also made sure iOS 6 was installed. I clicked restore and it loaded without any problem in just a few seconds without having to sync anything. I checked when it was done and it worked exactly like it did when I first bought them from Apple. The only strange thing that happened was I purchased a brand new generation iPod from Apple (which was made in China). I had not installed any apps for several weeks and had no problem with them. This seems crazy to me that you would have to reset he computer to it's original setup in order to restore the latest iPad and iPod software and devices. The only item that I did not have any problem with was the iPhone. Has anyone had this problem? If so how did you deal with it. Was it the airports, made in China the new iOS or the new iTunes that is causing this? gillie70

    Try a reboot of your ipad. Hold the Sleep/Wake button and Home button simulataneously. Keep holding, ignoring the red slider, until the Apple logo appears. Release the buttons and let the ipad restart. A reboot often fixes numerous problems.
    Also are you aware that by suncing with a different computer it is likely the personal stuff you had on your ipad from your imac will be removed?
    The ipad is designed to sync with only one device.

Maybe you are looking for

  • Multiple Language Menus

    We're getting to the final stages of a multi-language DVD (subtitles and audio) and have been trying to figure the best method to work. Is is best to add languages and use the language sub-menus, or best to add separate menus for each language (3)? I

  • I all ready pay but do i have to pay again mountain lion for my second macbook pro

    do i have to pay again mountain lion for my second macbook pro

  • Some files missing

    hey all, i have a 30gb ipod w/ movies and pics.. some somgs are in my itunes libary and can be played when clicking them, but they do not update into my ipod? why is this

  • Workflow container operation problem

    Hi , i have assign userid (USR01-BNAME) container element to  User business object type ?? Container operation does not allow me this as it is expecting the user businees object type to be assigned to it. How can i do this ??? How to create business

  • BDC on Infotype 1 , 2 and 8

    Hi   Im new to ABAP HR and im required to do BDC on Infotype 1,2,8. Can anyone send me samples that i can proceed ? Thanks and Regards Swarna Arunachalam