Showing error in import of WDP class files for import of DC in nwds

I am importing one DC application into NWDS , but inside the implementation of DC its
showing error in the following line:-
import com.ahs.ac.wdp.IMessageAttendanceClaimComp;
I already rebuild many times but its not getting solved.
Kindly help me .
In the project there is two DC and this error is coming in both .
I checked in Message Pool also but message id is already there.
Thanks for your time ?
Abhishekh Singh
Enteg Infotech Pvt Ltd.
Edited by: Abhishekh Singh on Mar 2, 2010 3:43 PM

Hi Abhishekh ,
Check whether is there a component with the name called 'AttendanceClaimComp', because if you create a message pool then it creates message class with the corresponding component name in which you have created message pool.
If it exists then close the DC once and open it, after opening the DC try Reload option available in context menu. It reloads the complete DC.
Thanks & Regards,
Jhansi Miryala

Similar Messages

  • Error Msg - "You must add the Class files for this enterprise bean"

    Hi,
    I am creating creating new enterprise bean using j2sdkee1.2. I am able to create .ear file in desired folder, but can not create .jar. Please help. Getting above error message.
    remote, home interface files and file having business logic (EJB) is compiled and kept at desired location.
    j2ee server started, Deploytool is started.
    Then I can successfully create new application (.ear file)
    Then I go for creating new enterprise bean. I get same application name in Drop down list named "Enterprise Bean will go in".
    Then I can add home, remote and ejb class file to create jar ("Add" under "Contents" ).
    When I say ok after adding these 3 files, I am getting error - "You must add the Class files for this enterprise bean".
    In the deploytool console, getting error - "java.io.FileNotFoundException: C:\2sdkee1.2\mahesh\ConverterEJB.class (The system cannot find the path specified) "
    Can you please help me where to configure the path?
    Can u please help?
    Please send your answer to - [email protected]
    Cheers!

    the path really begins with '2', without a 'j', ie not c:\j2sdkee1.2\...?
    "java.io.FileNotFoundException:
    C:\2sdkee1.2\mahesh\ConverterEJB.class (The system
    cannot find the path specified) "

  • Problem with:error: java.lang.ClassFormatError: Truncated class file

    Hello, I created an simple applet writing "hello world". Now I would like to add *.class file to my serwer witch I've implemented on microcontroller P89C51RD2BN.
    Serwer is programmed with hex file which is created after compiling C source files. In this case I converted .class file to array in C (using hexedit program). When I am (using IE ) browsing my serwer Html site is loading corectly and *.class file is send from serwer also corectly (define arrays are transfered corectly) but applet is not initiated. When I am runnig Java console I can see this:
    error: java.lang.ClassFormatError: Truncated class file
    When I am runnig the same site with the same class file on my PC everything is ok.
    I would be greatfull for any help. Thx. (sorry for my English :P )

    Not too familiar with native compilation, which I believe you are trying to accomplish here. It would appear that you don't have any problems running your applet, more or less running it after being converted to legacy code. Try the "native methods" forum under "Fundementals/Key Classes", this may be helpful. Sorry for not being too helpful.

  • Folio Builder: An error has occurred opening the source file for the article layout.

    I have been working on a Folio. When I sat down to work on my folio, I was instructed by indesign to update my Folio producer tools, which I did.
    Since then I can no longer view any article layout from that folio in indesign. Indeed any folio that I create that does not reside on my desktop give the same problem. I can import articles, add articles and they all upload to the proper place at adobe and I can view them. But I simply cannot open them up through folio builder as I previously.
    The exact error message is as below:
    An error has occurred opening the source file for the article layout.
    The InDesign file for the layout cannot be found.
    Another strange thing that seems to be happening is that the folio will randomly reoder the articles in the folio.
    I have dumped my indesign prefs, tried creating an entirely new project, made a new account and even reinstalled the entire software.
    But the problem of opening an article that I have imported or added to a folio, simply not being found to open has got me stumped. I can't proceed with a major project until I can sort this out.
    Can anyone help.
    Many thanks
    Steve
    The problem initially seemed very similar to the one linked below, but I dont get the content generation error
    http://forums.adobe.com/thread/901804?decorator=print&displayFullThread=true

    Questions about the Adobe Digital Publishing Suite should be posted in the DPS Forum.
    http://forums.adobe.com/community/dps

  • Logon Error:Could not retrieve the source file for Port "Main"

    Hi All,
    We have a port which is blocked due to structural exceptions.When i try to connect to the Exceptions folder
    "Main[Exceptions]" the import manager throws an error "Logon Error:Could not retrieve the source file for port "Main".
    Any help greatly appreciated

    Hi ,
    Thanks for your reply.
    This is what I see in the log file in the exceptions folder
    These are the line I see almost to the end of the log file before they complete field mappings,value addings
              <Failure ts="2008/07/22 00:10:48.326 GMT" tid="1286" entry-no="9114" operation="Create lookups" rc="0x80000001">Illegal value for parameter</Failure>
              <Timer ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9115" name="Import Lookup" total="0.040819">1</Timer>
              <Trace ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9116">Import of Lookup Failed.</Trace>
    But when I open the same source xml file after downloading to my local folder from Exceptions Structural folder and load manually using IM i get the status as "Ready to import".
    Any Help greatly appreciated

  • For WebLogic 5.1, where should I put my class files for my JavaBeans?

    With JBuilder4, I have built an application with JSP and a few Java Beans (Those JavaBeans are instantiated in those JSP files). There are no EJBs. The package name is called 'onlinetrade'. I have tested the application on JBuilder's web server, it works pretty well.
    Now I am moving this application to WegLogic 5.1. I have encountered a problem with WebLogic 5.1
    and do not know where I should place my JavaBean class files --
    Originally, the JSP files for my application are in package path-- ..onlinetrade\jsp
    and the class files for my beans are in the package path -- ..onlinetrade\jsp\bean\*.class
    Now, with WebLogic 5.1,
    1) I have put my JSP files in
    C:\weblogic\myserver\public_html\onlinetrade\jsp
    2) I have created subdirectory and put my bean class files in
    C:\weblogic\myserver\classfiles\onlinetrade\jsp\bean
    When I started weblogic and the first page - login.jsp page can be up and accessed. But when I login and forward to another JSP page called 'controller.jsp', where a bean is instantiated, I got the following error
    Compilation of 'C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java' failed:
    C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java:210: cannot access jsp_servlet._onlinetrade._jsp.registerBean
    probably occurred due to an error in /onlinetrade/jsp/controller.jsp line 53:
    registerBean registerBeanInstance = new registerBean();
    I know the javac is working, and a java file is created upon the JSP page, but the problem is -- the bean class files cannot be found!!!
    Where should I create the package path and put my bean class file so that my JSP pages can pick them up?
    Any help is greatly appreciated!
    Thanks.
    --Tim

    I have mine in WEB-INF/classes

  • How to get the .class file for the extended Controller .java file

    Hi,
    I did the below steps.
    1. Created New OAWorkspace
    2. Created New project
    3. Imported the page .xml file
    4. Added new .java file by extending the controller class
    5. Added code in the .java file.
    6. Ran the .xml file
    As I copied all the folders from Unix box, the page was opened.
    But My question was where can I see the .class file the extended controller. It's a .java file. How to compile and get the .class file for this .java file. If I get this .class file, I can go to the page and click the personlize page. and change the Controller name to the new path by ftp ing the new class to the cust.oracle.apps.pos.changeorder.webiui.
    Please let me know how to create the .class file.
    Thanks,
    HP

    All are Java files are stored in JDEV_INSTALL_DIR:\jdevhome\jdev\myprojects\
    In your case the path java would be
    JDEV_INSTALL_DIR:\jdevhome\jdev\ myprojects \cust\oracle\apps\pos\changeorder\webui\
    AND
    Once you compile the java file in Jdeveloper, Class files get generated @ below path
    In your case the path of class would be
    JDEV_INSTALL_DIR:\jdevhome\jdev\ myclasses \cust\oracle\apps\pos\changeorder\webui\
    Duplicate Thread-
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • Cannot find the class file for com.sap.portal.services.api.connectorgateway

    Hi,
    I was trying the "How to BI JAVA SDK in a Portal iView and get the following error.
    The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath and try rebuilding this project.
    I have the following in my portalapp.xml file
    <property name="SharingReference" value="com.sap.portal.ivs.connectorservice"/>
    and i have also added the jar file "com.sap.portal.ivs.connectorservice_api" in the set of lib's
    Has some faced a similar issue? or can someone suggest how I could possibly resolve this.
    Thanks,
    Smitha

    Hi Smitha:
       My webdynpro dc was build failed for "This compilation unit indirectly references the missing type com.sap.engine.services.webservices.espbase.client.dynamic.content.GenericObject (typically some required class file is referencing a type outside the classpath)".
    How should i do?  Thank you!

  • Internal error has occurred. Check log files for details.

    While configuring software library on OEM 11g grid control, i get the error as Internal error has occurred. Check log files for details.
    On checking emoms.trc i see the following error
    2011-08-08 22:15:13,298 [EMUI_22_15_13_/console/provision/admin/admin] ERROR em.provis
    ion checkAllSoftwareLibLocs.216 - AdminUtil:checkAllSoftwareLibLocs: No software libra
    ry locations configured.
    2011-08-08 22:15:13,320 [EMUI_22_15_13_/console/provision/admin/admin] ERROR em.provis
    ion handleValidateLocsSoftwareLib.1754 - AdminController:handleValidateLocsSoftwareLib
    : ComponentException while fetching all software library locations from repostiory.
    oracle.sysman.emgc.provision.component.ComponentException: Software Library location i
    s not configured.
    at oracle.sysman.emgc.provision.ui.model.admin.AdminUtil.checkAllSoftwareLibLo
    cs(AdminUtil.java:218)
    at oracle.sysman.emgc.provision.ui.model.admin.AdminUtil.checkAllSoftwareLibLo
    cs(AdminUtil.java:146)
    at oracle.sysman.emgc.provision.ui.controller.admin.AdminController.handleVali
    dateLocsSoftwareLib(AdminController.java:1746)
    at oracle.sysman.emgc.provision.ui.controller.admin.AdminController.handleEven
    t(AdminController.java:397)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleRequest(AbstractProvisioningPageHandler.java:235)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:738)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:329)
    at oracle.sysman.eml.app.Console.doGet(Console.java:352)
    at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubS
    ecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelp
    er.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntim
    eExceptionFilter.java:58)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.jav
    a:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.ja
    va:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:10
    2)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.
    java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
    WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubje
    ct.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServlet
    Context.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext
    .java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:14
    32)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2011-08-08 22:24:58,397 [EMUI_22_24_58_/console/provision/admin/edit_sw_lib_dir_config
    uration] ERROR svlt.PageHandler handleRequest.640 - java.lang.NoClassDefFoundError: Co
    uld not initialize class oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps
    java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.osd.
    unix.OiipuUnixOps
    at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.getVolumeName(OiipgFileSystem.
    java:615)
    at oracle.sysman.eml.swlib.bitstore.FileBitStore.getFreeSpaceInKB(FileBitStore
    .java:1044)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.getFreeSpaceInKB(LibraryServiceI
    mpl.java:1572)
    at oracle.sysman.emgc.provision.impl.component.SoftwareLibraryImpl.getFreeSpac
    eInKB(SoftwareLibraryImpl.java:2582)
    at oracle.sysman.emgc.provision.impl.component.ComponentManagerImpl.getFreeSpa
    ceInKB(ComponentManagerImpl.java:664)
    at oracle.sysman.emgc.provision.ui.model.admin.SoftwareLibContext$OkButton.han
    dleClickEvent(SoftwareLibContext.java:860)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleEvent(AbstractProvisioningPageHandler.java:427)
    at oracle.sysman.emgc.provision.ui.controller.admin.SoftwareLibController.hand
    leEvent(SoftwareLibController.java:53)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleRequest(AbstractProvisioningPageHandler.java:235)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:738)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:329)
    at oracle.sysman.eml.app.Console.doGet(Console.java:352)
    at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubS
    ecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelp
    er.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntim
    eExceptionFilter.java:58)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.jav
    a:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.ja
    va:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:10
    2)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.
    java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
    WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubje
    ct.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServlet
    Context.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext
    .java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:14
    32)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi, I followed all the steps correctly and also the owner of the directory is correct.
    But i have not installed the patches which is listed at the bottom of the link page.
    I had done this on RHEl and i had no problem but now i am getting problem on solaris.

  • I receive an error message when submitting a pdf file for conversion to a Word document "... an unex

    I receive an error message when submitting a pdf file for conversion to a Word document "... an unexpected error has occurred..."   - is there a way to overcome this error?

    I received your Scan.pdf sent to [email protected] and had no problem to convert it via Export PDF service. Could you try again?
    Jyh-Jiun Liou

  • ERROR   OGG-00446  No valid log files for current redo sequence 142

    2011-02-03 14:26:41 ERROR OGG-00446 No valid log files for current redo sequence 142,
    thread 1, error retrieving redo file name for sequence 142, archived =0,
    use_alternate = 0Not able to establish initial position for begin time 2011-02-03 14:25:17.
    Is this an error finding the redo logs or is this an error finding the archive redo logs.

    Yes. It depends - is that sequence number in the current log group, or is it in an archived redo log?

  • Anyone know why I got this Terminal Error? [ERROR]      CPPathUtils.c:526      The device-file for this operating system, 'osx-12.1.0.xml', was not found.

    Here is the full text:
    [ERROR]          <CPPathUtils.c:526>          The device-file for this operating system, 'osx-12.1.0.xml', was not found. An attempt to revert to a previous revision of the OS device-file: 'osx-12.0.0.xml' has been made. Please file a Radar report with Apple, on the 'CoreProfile' component, version 'X'.
    Appeared after 10.8.1 Friday update while troubleshooting USB/FW issues w/ Mountain Lion.

    OK. To recap:
    1. Open Terminal.app
    2. Type at cursor:
    cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/De vices/
    3.  Press Return
    4.  Type at cursor:
    ls
    5.  Press Return
    6.  Type at cursor:
    sudo ln -s osx-12.0.0.xml osx-12.1.0.xml
    7.  Press Return
    8. Enter password if asked
    9. Done.
    Can I then type ls again to verify the change?

  • Error Message When Using a Class Files to Control Navigation

    This is my first attempt at using a class file in a flash project. My intent is to keep all of my navigation elements in class file called "Navigation".  However, I keep getting an error message when I publish.
    I am using a button to go back to the main screen and I gave that button the instance name of "bnt_home". I have also linked that button in the library to the class "Navigation".
    Here is the code:
    package
        import flash.display.SimpleButton;
        public class Navigation extends SimpleButton
            public function Navigation()
                bnt_home.addEventListener(MouseEvent.MOUSE_DOWN, goNavigation);
            private function goNavigation(event:MouseEvent):void
                gotoAndPlay(1,"Main");

    When I changed the code I got error (1046: Type was not found or was not a compile-time constant: MouseEvent).
    package
        import flash.display.SimpleButton;
        public class Navigation extends SimpleButton
            public function Navigation()
                this.addEventListener(MouseEvent.MOUSE_DOWN, goNavigation);
            private function goNavigation(event:MouseEvent):void
                root.gotoAndPlay(1,"Main");

  • Urgent,java Error when compiling class file for jsp

    Hi!
    Reference to statement is ambbiguous,both class java.sql.statement in java.sql and class.java.beans.statement in java beans match.
    this is my file . When i comment the java.import.bean headre it does compile but my server is not able to recognize the class file.,Cud someone help me.
    THis is my source file
    package dbmg;
    //import java.beans.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DbBean
    Connection con;
    ResultSet rs;
    String sql;
    boolean queryType;
    int edited;
    public DbBean() throws Exception
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:Forums");
    public void setQueryType(String s)
    queryType=s.equalsIgnoreCase("select");
    public void setSql(String s)
    sql = s;
    synchronized public void processRequest(HttpServletRequest req) throws
    Exception
    if (queryType)
    Statement stmt=con.createStatement();
    rs=stmt.executeQuery(sql);
    else
    PreparedStatement ps=null;
    ps=con.prepareStatement(sql);
    int count=0;
    String sqlParam,paramValue;
    boolean set=true;
    while (set)
    count++;
    sqlParam="param"+String.valueOf(count);
         if (sqlParam==null)
              set=false;
              continue;
    paramValue=req.getParameter(sqlParam);
         if (paramValue==null)
    set=false;
    continue;
              else
                   paramValue=paramValue.trim();
    try
                   ps.setString(count,paramValue);
              catch(Exception ex)
                   set=false;
                   continue;
    try
    edited=ps.executeUpdate();
    catch(SQLException e)
    edited=0;
    public Connection getConnection()
    return con;
    public ResultSet getResultSet()
    return rs;
    public int stored()
    return edited;
    public void closeCon() throws Exception
    con.close();
    rs = null;

    No need of commenting your import statement. Whenever there is ambiguity, you can use full class name (with package).
    Like,
    java.sql.Statement stmt=con.createStatement();
    Now there is no ambiguity.
    Sudha

  • Error when trying to create class file

    I am getting this error when I try to create file
    clobsearch.java:246: not a statement ex;
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex; <--- this is line 246
    System.out.println(ex.getMessage());
    return null;
    any help would be appricated
    thanks
    robert

    The guy who wrote this code is no longer with the company
    the server IP got changed and he had an IP coded in the program
    i managed to uncompile the code
    i changed the IP to the new one
    when I tryed to create the class file i get the error
    so as far as what is happenning with the ex I am not sure
    here is another piece of code that might help
    really all i need to do is get the class file created again...
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex;
    System.out.println(ex.getMessage());
    return null;
    protected double toDouble(String s)
    double d = 0.0D;
    try
    d = Double.parseDouble(s);
    catch(NumberFormatException ne) { }
    return d;
    protected String convertClob(Reader in, int blen)
    StringWriter sw = new StringWriter(32768);
    char buf[] = new char[blen];
    int len = 0;
    try
    while((len = in.read(buf)) != -1)
    sw.write(buf, 0, len);
    in.close();
    sw.close();
    catch(IOException ioe)
    len = 1;
    return null;
    String s = sw.toString();
    int q = s.indexOf("<Quote");
    int end = 0;
    if(q == 0)
    end = s.indexOf("</Quote>") + 8;
    } else
    q = s.indexOf("<Project");
    if(q == 0)
    end = s.indexOf("</Project>") + 10;
    else
    end = s.indexOf("</Order>") + 8;
    return s.substring(0, end);
    public static void main(String args[])
    if(args.length < 2)
    System.out.println("Usage: clobsearch tablename [searchpattern] [datesql]");
    System.out.println("Where: searchpattern like \"Geodesic Dome\" and datesql like \" where quotedate >= to_date('01/01/2004', 'MM/DD/YYYY')\"");
    System.out.println("OR: clobsearch tablename searchpattern -data idfile [idcolname]");
    System.out.println("Where: searchpattern as above, idfile is a one per line file of quote or order numbers, idcol=column name for id col");
    System.exit(1);
    clobsearch cs = new clobsearch(args);
    }

Maybe you are looking for

  • Service Desk Actions

    Dear Gurus, You know what like, in service desk or change man. in  action profile we can do some processings. (for examle change status, e-mails, etc.) In one of my action, there are two processing types which system must do. One of them is change st

  • Open orders display in BEX report based on Key date

    Hello All, I have a requirement: We have an existing report which needs to have input selection as Key Date. The report should display the Open orders based on the key date mentioned. For Eg: if an item A was Opened on 20th Sept, 2010 and now CLEARED

  • How can I use two midi keyboards to control two different patches?

    I would like to use two midi keyboards in my setup, each controlling a different patch or track.

  • File sharing with 10.2.8 and 10.5.4

    im running 10.2.8 on my iBook G3 Clamshell, and i want to share files with my MacBook running 10.5.4. I can access my iBook through my MacBook, but i can't figure out how to access my MacBook through my iBook. How do i do this?

  • I can send email but I can't receive them

    I can send emails, but I can't receive them.