Please help urgently.... strange error

Hello Everyone,
I have done a project which comprises of CMP Entity bean, stateless Session Bean. I have tested the project on inprise App server, it works fine. I use DB2 database. I have successfully installed the project on WAS4.0 Advanced edition. But my problem is that when I try to run the client program I get the Non-application exception -------
CNTR0019E: Non-application exception occurred while processing method create:
com.ibm.websphere.cpi.CPIException: COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0204N "BAIJU.CHILDREF" is an undefined name. SQLSTATE=42704; nested exception is:
     COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0204N "BAIJU.CHILDREF" is an undefined name. SQLSTATE=42704COM.ibm.db2.jdbc.DB2Exception:
[IBM][CLI Driver][DB2/NT] SQL0204N "BAIJU.CHILDREF" is an undefined name. SQLSTATE=42704
----- Begin backtrace for detailCOM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT]
SQL0204N "BAIJU.CHILDREF" is an undefined name. SQLSTATE=42704
In the above error message "BAIJU.CHILDREF" is not actual table name (actual table name
on which i have created the entity bean is "BAIJU.CHILD_REF").I have noticed that Websphere by default removes any underscore ("_") from the table name or the Column name of the table (I have checked this in Schema.dbxmi & Map.mapxmi files). I have many tables names & column names which has underscore character in it. Every tables which has
underscores ("_") gives almost similar error.
The tables which doesn't have underscore ("_") in there name & which contains the column names without underscore ("_") works fine.
Does this means that Application deployed on WAs 4.0 should not have underscores ("_")
as the table & column name ??????
please help me urgently......
regards..
Ashish.

Are you using the DB2 JDBC driver, by default db2 will treat _ as wildcards for table names, you have to disable the wildcard property or else rename your table.
You can do this by using the client configuration assistant and disabling the wildcard property or by editting the db2cli.ini file directly.
Ensure that you have registered the database as an cli/odbc datasource so that the properties can be set, when u do this an entry will be created in the db2cli.ini file which is located in the c:\sqllib folder, edit the entry for the datasource and add the following line
UNDERSCORE=0

Similar Messages

  • Please Help with strange error.

    I've searched extensively for an answer to this strange problem I'm having both throughout this forum and in Google and have come up dry. Any help would be HUGELY appreciated.
    I'm using Audition 3 with a Windows XP Pro SP3 comp.
    I have recorded some live music at 44.8/24 bit sample rate and used Audition to cut the individual tracks and make a few other minor editing changes. I saved the files and they play with no problem. I did this for about 10 complete live shows so this represents a lot of work and there are many files.
    Now I want to downsample the files to 44.1/16 like I have done many times before with no problems. Well, it seems that about 25% of the files I've saved, although can be played with my default player with no problems can NOT be opened using Audition. I receive an "above file name is invalid" error. I also tried to open with Audacity and get the same error message. I tried to right click on these files and choose "open with" but that option, along with copy, cut, rename, properties etc is not there. The names of these files are perfectly valid but I'm unable to rename the files. When I try to move, copy or cut the file, nothing happens.
    I've rebooted as well as defragged the drive but still no joy. I still have the original large files but it was so much work to edit these files I really don't want to do it all over again. I would like to know why it happened so it won't happen anymore.
    I think I covered everything here but if you have questions please ask. Does anyone have any ideas why this is happening and what I can do about it?
    Thank you very much,
    Seth
    UPDATE: I just found that Windows Media Player gives me the same error. I'm using XM Player as my audio player and it doesn't have any problems playing these files.

    Are these files "real" files or perhaps shortcuts to the files, and/or are these files located on a local hard drive or on a network drive (Windows Home Server...)? The "file" name may actually be a perfectly valid name, but when you are not logged in to that server, you might get that message.
    Is "above file name is invalid" the only part of the error, or is the filename (or part of it) in this error message. E.g. "04 above file name is invalid": it might indeed be possible that the spaces in the filename cause this error. But since you cannot rename them there's hardly a remedy other than to record these files again in AA whilst playing them in XM player.
    There is a utility called "unstoppable copier"; it can copy files that you normally cannot copy (http://www.roadkil.net/). Try that one so we can have a look at one of the files.

  • Please help (urgent) unicode error

    Hi experts ,
    i have these two structure in my code .plz hel me in resolving these issuses.
    according to me i am gettin this error bcoz of this statement
    <b>tab1 TYPE x,</b>
    plz help me as it is very urgent for me
    thanx in advance.
    DATA:BEGIN OF it_file OCCURS 0,
            rec(1200),
       END OF it_file.
    DATA:BEGIN OF it_proj OCCURS 0,
           line_id(1) TYPE c,
           tab1 TYPE x,
           pspid LIKE proj-pspid,
           tab2 TYPE x,
           post1 LIKE proj-post1,
           tab3 TYPE x,
           vernr LIKE proj-vernr,
           tab4 TYPE x,
           astnr LIKE proj-astnr,
           tab5 TYPE x,
           status LIKE tj02t-istat,
           tab6 TYPE x,
           prctr LIKE proj-prctr,
           objnr LIKE proj-objnr,
       END OF it_proj.
    error coming in statement:
    APPEND LINES OF it_proj TO it_file.
    error is :
    "IT_FILE" and "IT_PROJ" are not mutually convertible. In Unicode          
         programs, "IT_FILE" must have the same structure layout as "IT_PROJ",independent of the length of a Unicode character.

    Hi,
      Could you tell which phase of the upgrde you are getting the error and what is the exact error message
    Regards
    Srivatsa.V

  • Please Help - Urgent

    Hi everyone, I�m having problems with Java Mail, I have just installed it along with the java activation framework, they are located in the following directories:
    JavaMail: C:\jdk1.3.1\lib\javamail-1_2[1]
    Java activation framework: C:\jdk1.3.1\lib\jaf1_0_1[1]
    I have the classpath set as: C:\jdk1.3.1\lib\mail.jar;C:\jdk1.3.1\lib\activation.jar
    When I try to compile the sample code provided with these packages, msgsend.java using Jbuilder 2 I get the following errors:
    Error (36): cannot access directory javax\mail.
    Error (37): cannot access directory javax\mail\internet.
    Error (209): class message not found in class msgsend.
    Error (210): class MessagingException not found in class msgsend
    Error (134): class Session not found in class msgsend
    Error (134): variable Session not found in class msgsend
    Error (139): class Message not found in class msgsend
    Error (139): class MimeMessage not found in class msgsend
    Error (141): class InternetAddress not found in class msgsend
    Error (145): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (146): Variable InternetAddress not found in class msgsend
    Error (148): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (149): Variable InternetAddress not found in class msgsend
    Error (151): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (152): Variable InternetAddress not found in class msgsend
    Error (162): Variable Transport not found in class msgsend
    Error (170): class Store not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (189): class Folder not found in class msgsend
    Error (195): Variable Folder not found in class msgsend
    Error (197): class Message not found in class msgsend
    Error (197): class Message not found in class msgsend
    If I try to use another Java package to compile it I get even more errors (52), I cannot compile it by using the Javac command line compiler, it just says �Bad command or file name�.
    Can anyone tell me Why this is happening and how I might be able to fix it please, I need to start learning Java Mail quickly but at the moment I can�t even begin to do this until I can understand how to get this sample code to work.
    Thanks Everyone
    Noel

    First of all... don't post with topics like "Please Help - Urgent". The topic is supposed to reflect what the question is about.
    Secondly... think for a second. If mail.jar is in C:\jdk1.3.1\lib\javamail-1_2[1]... why are you with your classpath saying that mail.jar is in C:\jdk1.3.1\lib ?
    You classpath is supposed to point directly at you jar-files.
    /Michael

  • Starting tomcat problem, please help urgent

    I installed jwsdp on windowsXP . The log file gives this following error when i try to start tomcat:
    java.util.zip.ZipException: Access is denied
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.jar.JarFile.<init>(JarFile.java:138)
         at java.util.jar.JarFile.<init>(JarFile.java:80)
         at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1081)
         at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
         at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: Access is denied
         at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1109)
         at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
         at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    PLEASE HELP ,URGENTLY NEEDED TO SHOW SOME WORK ON THIS.
    THANKS
    jim

    Hi,
    I have a similar problem, i try to deploy a JAR file built on AIX 5.2 platform (jvm 14.1) into Tomcat 5.5.7 running on Windows platform when i try start Tomcat it's fail with the fellowing message
    SEVERE: Error deploying web application directory usi
    java.lang.IllegalArgumentException
         at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:299)
         at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:238)
         at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
         at java.util.jar.JarInputStream.<init>(JarInputStream.java:58)
         at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
         at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:368)
         at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:187)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3942)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:909)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:872)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

  • PASSWORD FOR FLODERS  PLEAse  HELP URGENT

    HI ALL
    please tell me the method of implementing password
    provision for some folders/files in the system.
    it should ask for password authentification before
    opening when i click on the folder.
    please help urgent
    thanks
    belur

    Hi Swaroopba,
    It can be very well done thru Form based Authentication.
    For eg let me explain with respect to Tomcat.
    Go to
    $TOMCAT_HOME/webapps/examples/WEB-INF directory.
    Please add the following code in it.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Area </web-resource-name>
    <!-- Define the context URL's to be protected -->
    <url-pattern>/jsp/security/protected</url-pattern>
    </web-resource-collection>
    </security-constraint>
    Please add the following code in it. And you have to specify the roles for it.
    I hope this will be helpful for you.
    Or if you want it in an application, please let me know.
    Thanks
    Bakrudeen

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • Please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE

    please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE
    And in system prefs/language and text/input languages, simplified chinese and traditional chinese are ticked as usual with handwriting options on !!!!

    Please search the forum for "chinese" to find the many other earlier posts about your issue, like
    https://discussions.apple.com/message/15746805#15746805

  • I bought an iphone 5 on 01 February 2013 from your store to use in Turkey. But the phone is sim-locked. What can I do now?  Please help urgently.

    I bought an iphone 5 from apple store in Geneva to use in Turkey. But it is sim-locked. What can I do now. Please help urgently.

    Return it to the store where you purchased & get your money back. Either that, or call the store. No one here can help you, as there is no one from Apple here.

  • How to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    I did this a few weeks ago to be sure it was going to work for a young person I was giving my ipod to.  Then I reset the information for her and now it will not load.  Very sad.  She is so talented and she really needs this.   Anyone know?

  • I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.

    I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.??

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Please Help Urgently to refresh the report on the change in data

    We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
    Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
    Thanks in Advance.

    Pritesh,
    Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
    If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
    I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
    Regards,
    The Oracle Reports Team jls

  • I have lost my iphone 4 just an hour ago... i need to delete my personal photos from it. PLease help urgently.. Thanks

    I have lost my iphone 4 just an hour ago... i need to delete my personal photos from it. PLease help urgently.. Thanks

    If you had find my iphone enabled follow the steps in the article below:
    http://support.apple.com/kb/ph2701

  • I've added a pdf to itunes and i want to change it so its visible with an album (digital booklet). But for some reason, when i click get info, its all greyed out and the little box for read only is unticked. please help - urgent! thanks

    I've added a pdf to itunes and i want to change it so its visible with an album (digital booklet). But for some reason, when i click get info, its all greyed out and the little box for read only is unticked. please help - urgent! thanks

    Hi
    My first thoughts are
    • iMovie ill behaving - Trash the iMovie pref file - use to set things right
    • in reg. to Photos - Did You change iPhoto Photo Library - Then iMovie get's lost as it peeks into iPhoto on start up to see where photos are stored. Set iPhoto back to first Photo Library (when iMovie is not running) then start iMovie.
    Yours Bengt W

  • Invalid Number Error Please help Urgent

    Hi,
    I am trying to create a report in discoverer where in I get an invalid number error for the statement
    ,DECODE(final.TYP,'Sales',to_char(final.future_supplpy),'B/O','B/O') sale_type.
    We have the requirement that when TYP is Sales i need to display future supply and when the TYP is B/O i need to display B/O.
    The query runs perfectly fine in TOAD but in Discoverer Desktop when i run the report i get an error message
    invalid number.
    Please help its urgent
    Thanks
    Ashwini

    Hi Ashwani
    First of all, your statement appears to not be handling anything other than Sales or B/O. Is that deliberate? If not, you need a default, catch all value at the end like this:
    DECODE(final.TYP,'Sales',NVL(final.future_supply,to_char(final.future_supply),'B/O','B/O', default_value) sale_type
    You also might want to make sure there aren't any NULL values in future_supply or in TYP and if there are you might want to consider using an NVL for these, like this:
    DECODE(final.TYP,'Sales',NVL(to_char(final.future_supply,NULL),'B/O','B/O', default_value) sale_type
    Also, when using DECODE you don't always need to use TO_CHAR as the DECODE conversion to a string typically takes place automatically. CASE is different as it insists that all results are of the same data type.
    Hope this helps
    Best wishes
    Michael

Maybe you are looking for