S:textInput error color

Hi All,
How can I set the color of s:texinput box to be RED if I got an error?.
I don't see the errorColor anymore.
Thanks!

To make this more clear.
I have this function validate to display the error when something is missing in my validation ( http://forums.adobe.com/message/3953371#3953371 )
NowI want to highlight the components (inputText or ComboBox) that are not passing the validation.
Any ideas?
Thanks!

Similar Messages

  • AS2 TextInput Background Color - Issues when trying to change dynamically

    Hello,
    I'm having issues changing a TextInput background color after the initial onLoad using AS2.
    On load, I have no issues setting the background color with this code:
    Code:
    onClipEvent (load) {
        this.background = true;
        this.backgroundColor = 0x1E1C1C;
    However, I have a form validator run when focus is lost but yet I cannot set the background color at that point. For example, I'm trying to set the background color to orange and text to white if the field's contents are invalid. Even something simple like this doesn't affect the colors.
    Code:
    on (focusOut) {
            this.backgroundColor = 0xFAA523;
            this.borderColor = 0xFAA523;
            this.borderStyle = "solid";
            this.color = 0xFFFFFF;
            this.text = 'Enter your first name';
    All code is in actions for the TextInput itself.
    Anyone know what I'm doing wrong?
    Thanks in advance!

    Actually, that's not the solution. You need to use setStyle to access the backgroundColor property when the TextInput is already generated.
    This worked for me:
    this.setStyle("backgroundColor",0x1E1C1C);

  • Illustrator CS4 install error: Color EU settings

    Hi everyone,
    I've been trying to install Illustrator CS4 for the past few days, I have updated my DirectX and all my VGA drivers in hopes of getting it to work.
    Every time I try, I end up with this error message:
    "Error:
    Error 1603. Error 1714.The older version of Adobe Color EU Extra Settings CS4 cannot be removed. Contact your technical support group."
    What on earth is this Adobe Color EU extra settings? Any chance I can delete them manually??
    Here are my PC specs:
    OS: Windows Vista Ultimate 32bit
    RAM: 2GB
    Processor: AMD Athlon 64 X2 Dual Core 3800+
    VGA: Nvidia Asus EN7600GS 512mb (with latest drivers and DirectX 10)
    Free Disk space on Install drive: 12GB
    Oh well, I hope somebody here know whats going on..
    Cheers,
    Ahsu

    Color Profile information installed by a previous version of Adobe programs. Check C:\Program Files\Common Files\Adobe\Color and C:\WINDOWS\system32\spool\drivers\color, but before dig into the install log to exactly find out what it is trying to delete. It's located in C:\Program Files\Common Files\Adobe\Installers and either ends with *.log or *.log.gz. There should be a mention of "Failure" regarding the deletion of the files in question somewhere in it.
    Mylenium

  • Opening Error: Colors could not be properly read

    After HD failure, replacement, and HD contents recovery, other iLife applications seem to function correctly, but iWeb (version 1.1.2) opens existing site with some images absent, some incorrect colors, and the following message:
    "The following errors occurred while trying to open this document: One or more colors could not be properly read, and may not display correctly on some systems."
    This is obviously true, but no further advice is provided.
    The website displays correctly as previously published on .Mac, and on a folder restored from the original HD.
    Themes display correctly in the chooser, and new pages created from the same theme that does not display correctly in the existing site, display as they should.
    I think the problem is with Domain.sites itself, therefore reinstalling iWeb will have no impact (except to replace Domain.sites with a "blank").
    Is there a way to use the published sites to recreate a correct Domain.sites file?
    PowerBook G4   Mac OS X (10.4.8)  

    No.
    What you can do however is open the original Domain site, highlight the contents of one page and copy it. Close that old Domain site, open the new Domain site - Paste the contents. Repeat until you've found the culprit file(s)

  • Gummi error coloring.

    I really like gummi (mostly for its live preview mode), but there is this little thing that I can't stand. And that's the fact that, when there is a line of error after compiling, this line gets red (like deep red), and the (black) cursor becomes indiscernible when it's placed in that line. That makes it hard to correct the line.
    So that brings me to my question: Where can I find the lines in the source code of gummi (http://dev.midnightcoding.org/projects/gummi/repository), which are responsible for the coloring of lines with errors? I don't want to bruteforce my way and go through every file.
    edit. Found the solution. It didn't have to do with the source code, but rather the color scheme I was using (tango). So I dig up a little, and found out gtksourceview. Then all I did was change the "scarletred2" value in /usr/share/gtksourceview-2.0/styles/tango.xml, to a lighter red value.
    Last edited by T.J.S. (2014-05-01 16:00:48)

    fsckd wrote:Hmm, what's in your startup scripts?
    I've added the relevant data into the first post.
    fsckd wrote:It looks like bash is executing "LS_COLORS=<snip>; export LS_COLORS" as a single command. You're not trying to execute a variable like "$var" when you should be doing $var are you?
    Err, you lost me there.

  • Lexmark all-in-one printer error: Color table is missing

    I've got this "Color table is missing." only after I accepted the automatic update 2.2 of 24.2 MB coming from Lexmark.
    To solve the problem I had to remove ALL traces of Lexmark drivers and software, then reinstall the correct driver, the one for Mac Os 10.6 (snow leopard).
    Now I must remember NOT to accept any automatic update and I can use again my X3550.
    So please DO NOT INSTALL that update 2.2 of 24.2 MB!!!
    Message was edited by: Daniele P.

    Color table is missing: solved.
    I've got this "Color table is missing." only after I accepted the automatic update 2.2 of 24.2 MB coming from Lexmark.
    To solve the problem I had to remove ALL traces of Lexmark drivers and software, then reinstall the correct driver, the one for Mac Os 10.6 (snow leopard).
    Now I must remember NOT to accept any automatic update and I can use again my X3550.
    So please DO NOT INSTALL that update 2.2 of 24.2 MB!!!

  • How to set selected text color in Spark TextInput

    I'm trying to make Spark TextInputs and MXFTETextInputs look like Halo/MX TextInputs as much as possible, since I have a mix of both Spark and MX TextInputs in my application. I know I can set the
    selection background color to black using focusedTextSelectionColor. How can I set the selected text color to white so it matches the MX white-on-black look?

    This works, if you set the enabled property directly on the s:TextInput:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:layout>
            <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" />
        </s:layout>
        <s:controlBarContent>
            <s:CheckBox id="ch" label="enabled" selected="true" />
        </s:controlBarContent>
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            s|TextInput:disabled {
                color: red;
        </fx:Style>
        <s:Group>
            <s:TextInput id="ti" text="The quick brown fox jumps over the lazy dog" enabled="{ch.selected}" />
        </s:Group>
    </s:Application>
    It can get a bit trickier when you're setting the enabled property on a parent container, since (I believe) that the child control's enabled properties are still set to true and just the container is disabled. One possible workaround would be to bind the child TextInput control's enabled property to the container's enabled property. That way the s:TextInput should still go to it's disabled state and you can customize the disabled state's styles to have darker text, or whatever else you want.
    <s:Group id="gr" enabled="{ch.selected}">
        <s:TextInput id="ti" text="The quick brown fox jumps over the lazy dog" enabled="{gr.enabled}" />
    </s:Group>
    Peter

  • Non-editable Color for TextInput

    Hi,
    Is it possible to set up, in a CSS, the backgroundColor of a
    readonly text input?
    So whenever it's set to readonly (editable=false) its
    background will automatically
    change to the color set up in the CSS.
    I want to do something like this:
    TextInput{
    theme-color:haloGreen;
    color:#005FA9;
    readonly-color:0xF5F5F5; // or "non-editable-color"
    Cheers,
    Jarrod...

    you must completely fill in the background in a non-opaque color.
    I doubt the 'non-opaque color' part might be a typoI think it is a typo, otherwise, like you, I don't know what they are trying to say.
    Just using setOpaque(true), does NOT make a component opaque. It simply tells the the RepaintManger not to search the ancestor tree to find an opaque component. This makes painting more efficient if it doesn't need to search all the way up to the content pane of the window. By setting the opaque property you are guaranteeing that the component will paint its own background in an opaque color.
    For example a JPanel is opaque and its paintComponent() method will invoke the fillRect(...) method to paint the background whatever color is specified by the setBackground() method.
    So if you do panel.setBackground(Color,RED) this is valid.
    However, if you do panel.setBackground( new Color(255, 0, 0, 128) ); this is invalid because you have set a background with an alpha value that results in a transparent color. In this case you will generally see artifacts in the background of the panel. If you want to do this, then you must also use setOpaque(false), so that the background of the ancestor component is painted first.
    Edited by: camickr on Jul 8, 2008 11:18 AM
    Fixed an incorrect reference from "non-opaque" to "opaque".

  • Database link from XE to 8i - Ok for XE, but error ORA-12705 for ApEx

    I have oracle 8.1.7.4 (8i) with these settings:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET CL8MSWIN1251{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT dd-mon-rr
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    {color:#ff0000}NLS_NCHAR_CHARACTERSET CL8MSWIN1251{color}
    NLS_RDBMS_VERSION 8.1.7.4.0
    And oracle XE:
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET AL32UTF8{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    {color:#ff0000}NLS_NCHAR_CHARACTERSET AL16UTF16{color}
    NLS_RDBMS_VERSION 10.2.0.1.0
    I create database link from XE to 8i - it works fine:
    I create view in XE based on table from 8i
    and using SQL Developer {color:#0000ff}I can Select/Insert{color} into this view {color:#0000ff}from XE{color}.
    BUT when I login {color:#0000ff}to Application Express{color} and try the same SELECT from the view - {color:#0000ff}I get error:{color}
    ORA-12705: ORA-12705: invalid or unknown NLS parameter value specified
    ORA-02063: preceding line from LINKED8i
    What should I do to make Application Express work with the view based on table in remote database correctly - i.e. allow me to Select/Insert/... ?

    Hi,
    i don't have a solution for your problem but i want to share with you my research in using Database Links with XE/Apex.
    I have done it a in a lot of projects and in most of all cases it shows a strange behavior when using Database Links via Apex. As far as i know SQL-Request in Apex are executed via the DBMS_SQL-Package. And that seems to be source for all errors and strange behaviors you get.
    If you post a SQL-Request directly from your XE, everything's fine. If you do the same from APEX, sometimes it is very slow and sometimes it fails.
    So, my approach to this issue is to work with Materialized Views. Your can create MV's on your XE to reference your remote tables and even schedule refreshes. In Apex, you only work with these MV's instead of the remote tables. And everything's going to be fine!
    Hope this helps!
    Regards, Jens

  • Getting error while writing JUnit test case for RestFul Services

    Hi All,
    I have written Restful services in Netbean 6.8.
    It's running well...no issues.
    {color:#0000ff}While writing JUnit test cases for them, I am getting following error:
    {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginServicesTest): Caused an ERROR
    Implementing class{color}
    java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:160)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at com.ct.services.LoginServices.getAuthenticated(LoginServices.java:205)
    at com.ct.services.LoginServicesTest.testGetAuthenticated(LoginServicesTest.java:84)
    Test com.ct.services.LoginServicesTest FAILED
    F:\NetbeanProjectsWorkspace\DemoProject\nbproject\build-impl.xml:972: Some tests failed; see details above.
    BUILD FAILED (total time: 11 seconds)
    {color:#0000ff}Strange thing is that when I am commenting below lines and its related calls:
    {color}
    {color:#ff0000}EntityManagerFactory mEmf = Persistence.createEntityManagerFactory("AnyName");
    EntityManager mEm = mEmf.createEntityManager();
    {color}
    {color:#0000ff}from my code, JUnit test cases are working fine.
    {color}Anybody having any idea about this ?
    Thanks
    Avi
    Edited by: Avi007 on Aug 28, 2010 5:17 AM

    Hi All,
    [http://stackoverflow.com/questions/2778295/test-driven-development-problem]
    Please refer the above link for the solution
    Thanks
    Avi
    Edited by: Avi007 on Aug 30, 2010 12:33 AM

  • Apex 3.1.2.00.02 creates invalid export file (that gives ORA-20001 error)

    Hi
    I want to let you know, that sometimes APEX 3.1.2.00.0 creates invalid export file.
    Older apex 3.0 created correct file.
    For example: our application has page button, where "Optional URL Redirect" is:
    Page: &APP_PAGE_ID.
    Request: FLOW_XMLP_OUTPUT_R11531800061044170_et
    If we export application into file f110.sql and try to import it to the same workspace on the same server, we get error:
    {color:#0000ff}ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 28, column 111: PLS-00103: Encountered the symbol "_" when expecting one of the following: ) , * &amp; | = - + &lt; / &gt; at in is mod remainder not rem =&gt; .. &lt;an exponent (**)&gt; &lt;&gt; or != or ~= &gt;= &lt;= &lt;&gt; and or like LIKE2_ LIKE4_ LIKEC_ as between from using || multiset member SUBMULTISET_ The symbol &a
    {color}In exported f110.sql file the invalid section is:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R'||to_char({color}{color:#0000ff}{color:#ff0000}*10255206661122183_et*{color}+wwv_flow_api.g_id_offset)||':&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    If we exported the same application in apex 3.0, this section was correct:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R*10255206661122183_et*:&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    Best Regards,
    T&otilde;nu

    Thanks for pointing that out. We'll fix it. It does appear though, that in 3.0, the offset would not be added to the number part of the request value, so if you installed the application as a different application ID or into a different workspace, the request would have failed.
    Scott

  • Getting error when i am giving the server name in JDBC

    Hi All,
    When i am trying to connect to JDBC then i am getting the error in Servername
    {color:#3366ff}********************INPUT OF Testing.java************************
    package com.fidelity.ereview.utils;{color}
    {color:#3366ff}import java.io.*;
    import java.sql.*;{color}
    {color:#3366ff}public class Testing {
    public static void main(String[] args) throws SQLException {{color}
    {color:#3366ff} Connection con;
    SQLServerDataSource ds = new SQLServerDataSource();
    ds.setServerName("01HW059726\SQL2K5"); {color:#ff0000}//here getting error{color}
    ds.setPortNumber(1433);
    ds.setUser("eReview");
    ds.setPassword("Password123");
    ds.setDatabaseName("migration");
    con = ds.getConnection();
    if (con != null) {
    System.out.println("Successfully connected");
    else
    System.out.println("Not Successfully connected");
    Kindly anybody tell me that how shell i give the server name (My server name is :01HW059726\SQL2K5) in the
    ds.setServerName???{color}

    Replace \ in server name with \\ like
    01HW059726*{color:#ff0000}\\{color}*SQL2K5

  • Error during ant build

    Hi guys
    I am getting the following error when i try to build my project using ant 1.6
    {color:#ff0000}
    error in opening zip file
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    {color:#000000}jdk version is 1.5. this working fine when i using 1.4 javac compiler.
    Please help me in resolving this issue.
    Thanx in advance...
    GolD
    {color}{color}

    Some input files use unchecked or unsafe operations.
    Recompile with -Xlint:unchecked for details.
    You are using something that is now depricated in 1.6
    where as it was not in 1.4/1.5
    change
    javac someFile.javato
    javac -Xlint someFile.javait should tell you what is wrong then change it to an undepricated one
    Edited by: gtRpr on 2008/07/16 10:00

  • Error in looking up a session bean from simple client

    Hi,
    I have the following problem: (*+{color:#008000}Urgent problem my project depends on this problem to solve please help{color}+*)
    I completed the "Create a Simple EJB Session Bean" example from cue cards tutorials from jdeveloper 11 g final release, and run the "HelloWorldSession" and waiting for server to finish its initialization.
    Note:
    Session bean code:
    import javax.ejb.*;
    +@Stateless(name = "HelloWorldSession", mappedName = "SessionEJB-SessionEJB")+
    +@Remote+
    +public class HelloWorldSessionBean implements HelloWorldSession {+
    +public HelloWorldSessionBean() {+
    < <em>public String sayHello(String name) {+
    return "Hello " name;+
    +}+
    HelloWorldSessionClient code:
    +public class HelloWorldSessionClient {+
    < <em>public static void main(String[] args) {+
    +try {+
    final Context context = getInitialContext();
    HelloWorldSession helloWorldSession =
    +(HelloWorldSession)context.lookup("*SessionEJB-SessionEJB#eg.com.efinance.HelloWorldSession*");+
    System.out.println(helloWorldSession.sayHello("world"));
    +} catch (Exception ex) {+
    ex.printStackTrace();
    < <em>+
    < <em>private static Context getInitialContext() throws NamingException {+
    Hashtable env = new Hashtable();
    +// WebLogic Server 10.x connection details+
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    +"weblogic.jndi.WLInitialContextFactory");+
    env.put(Context.PROVIDER_URL, "t3://127.0.0.1:7101");
    return new InitialContext(env);
    +}+
    Then on HelloWorldSessionClient right click then run I got the following errors:
    *{color:#ff0000}"C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe" -client -classpath "C:\Documents and Settings\Mohamed_Taman.HEADQ\Desktop\SessionEJB\Project1\classes;C:\Oracle_Middleware_11g\modules\javax.ejb_3.0.1.jar;C:\Oracle_Middleware_11g\wlserver_10.3\server\lib\weblogic.jar" -DproxySet=false eg.com.efinance.HelloWorldSessionClient{color}*
    *{color:#ff0000}Exception in thread "main" java.lang.AssertionError: java.lang.ClassNotFoundException: eg.com.efinance.HelloWorldSession{color}*
    *{color:#ff0000} at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57){color}*
    *{color:#ff0000} at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205){color}*
    *{color:#ff0000} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){color}*
    *{color:#ff0000} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39){color}*
    *{color:#ff0000} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25){color}*
    *{color:#ff0000} at java.lang.reflect.Method.invoke(Method.java:597){color}*
    *{color:#ff0000} at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329){color}*
    *{color:#ff0000} at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351){color}*
    *{color:#ff0000} at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197){color}*
    *{color:#ff0000} at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564){color}*
    *{color:#ff0000} at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193){color}*
    *{color:#ff0000} at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62){color}*
    *{color:#ff0000} at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240){color}*
    *{color:#ff0000} at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348){color}*
    *{color:#ff0000} at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259){color}*
    *{color:#ff0000} at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source){color}*
    *{color:#ff0000} at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392){color}*
    *{color:#ff0000} at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380){color}*
    *{color:#ff0000} at javax.naming.InitialContext.lookup(InitialContext.java:392){color}*
    *{color:#ff0000} at eg.com.efinance.HelloWorldSessionClient.main(HelloWorldSessionClient.java:12){color}*
    *{color:#ff0000}Caused by: java.lang.ClassNotFoundException: eg.com.efinance.HelloWorldSession{color}*
    *{color:#ff0000} at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151){color}*
    *{color:#ff0000} at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96){color}*
    *{color:#ff0000} at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54){color}*
    *{color:#ff0000} ... 26 more{color}*
    *{color:#ff0000}Process exited with exit code 1.{color}*

    Hello
    The problem is beacause weblogic doesn't allow blank spaces in the CLASS PATH, so try that in your path doesn't exit blank spaces like these:
    C:\Documents and Settings

  • Getting Invalid Descriptor Index (SQL ERROR) ERROR

    Hi,
    When i am running this java class then i am fetiching all the values from database table to the CSV file then i am getting the following database error.
    import java.io.FileWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import com.fidelity.ftg.ereviewg2.migration.connection.DatabaseConnection; import com.fidelity.ftg.ereviewg2.migration.vo.object.DmUserVO; import com.fidelity.ftg.ereviewg2.migration.vo.table.Iereview.ITMigFilenetAttachErrorVO; /** * @Organization: Fidelity Investments/FTG * @Project: eReview_DataConversion * @File: DatabseFetching.java * @Description: * @date: Oct 28, 2008 * @author: 197881 **/ /** * @author 197881 * */ public class DatabseFetching { /** * @param args */ public static void main(String[] args) throws SQLException, Exception { // TODO Auto-generated method stub DatabaseConnection con = new DatabaseConnection(); Connection connection = con.getConnection(); String AttachId=null; StringBuffer buffer = new StringBuffer(); String tMigFilenetAttachErrorColumnName[] = { ITMigFilenetAttachErrorVO.PIECE_ID, ITMigFilenetAttachErrorVO.PIECE_NUM, ITMigFilenetAttachErrorVO.PIECE_VER, ITMigFilenetAttachErrorVO.PIECE_INSTANCE, ITMigFilenetAttachErrorVO.ATTACH_ID, ITMigFilenetAttachErrorVO.ERROR_CD, ITMigFilenetAttachErrorVO.ERROR_REASON }; FileWriter createCsvFileObj = new FileWriter("D:/TCS/1.csv"); String SQL = "select * from t_mig_filenet_attach_error"; Statement stmt = connection.createStatement(); ResultSet resultObj = stmt.executeQuery(SQL); while (resultObj.next()) { AttachId=resultObj.getString("attach_id"); if(AttachId.equals("attacha")) { System.out.println("attach id is"+AttachId); for (int i = 0; i < tMigFilenetAttachErrorColumnName.length; i++) { buffer.append(resultObj.getString(tMigFilenetAttachErrorColumnName));
    buffer.append(",");
    buffer.append("falure");
    buffer.append("\n");
    createCsvFileObj.write(buffer.toString());
    createCsvFileObj.close();
    *{color:#ff0000}********************ERROR*************************{color}* *{color:#ff0000}{color:#000000}# Connected to Database: sun.jdbc.odbc.JdbcOdbcConnection@a62fc3* *attach id isattacha* *{color}Exception in thread "main" java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index* * at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)* * at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)* * at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)* * at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)* * at sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)* * at sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)* * at DatabseFetching.main(DatabseFetching.java:58){color}*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    The columns from the ResultSet must be retrieved in the order in which they appear in the table. Say your table has columns Name, Address, City. Then you should retrieve them as:
    ResultSet.getString("Name");
    ResultSet.getString("Address");
    ResultSet.getString("City");
    Otherwise you will get an Invalid Descriptor Index.
    Like this:
    ResultSet.getString("Address");
    ResultSet.getString("Name");
    ResultSet.getString("City");
    Invalid Descriptor Index

Maybe you are looking for

  • Can't start UCSM after java upgrade

    Hi After I have been recommended to upgrade to newest java, I can't start UCS Manager anymore. I try from a Windows 7 64 Bits computer and a Windows 8 64 Bits computer. Same error. As you see, I have java 1.7.0_07. It is higher than the reguirement.

  • Can't eject cd

    I put my cd in my macpro, but i cant eject it out of my notebook.....

  • Accidental damage screen repair cost

    I dropped my MacBook Pro and when I turn it on, there is a black blob and the back lighting visible, but nothing else. The glass screen, itself, is not broken. What is broken? What price range am I looking at to get this fixed at an Apple store?

  • ASR1002 IPSec license

    I am trying to bring up an IPSec tunnel between an ASR1002 and a 2821. The tunnel itself works. Only the 2821 shows hits against its access list. Only the 2821 shows packets being encrypted with no decrypted packets. I purchased the firewall and IPSe

  • About AToM (pe to pe)

    7304做MPLS配置:MPLS VPN三层没有问题,二层VPN建立VC有问题,无法解决!!!请求关注!!! Router#sh run Building configuration... Current configuration : 1802 bytes version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption enable passwor