JDev 10.1.3.0.4 studio problem: table attribute not found in @JoinTable

Hi,
I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler
complains about the table attribute of the @JoinTable annotation.
The following code is not accepted:
* Retrieve the list of clubs this player played for
* @return List of clubs this player played for
@ManyToMany(fetch=EAGER,targetEntity=nl.company.contractadmin.Club.class)
@JoinTable(table=@Table(name = "CONTRACTPERIOD")
joinColumns = {@JoinColumn(name = "PYR_ID",
referencedColumnName = "ID")}
inverseJoinColumns = {     @JoinColumn(name = "CUB_ID",
referencedColumnName = "ID")
public Collection getClubs() {
return clubs;
public void setClubs(Collection<Club> clubs){
this.clubs=clubs;
This code compiles in the EA release of JDev 10.1.3..
Can anyone tell me if there is something changed in the implementation of EJB3??

On the latest build of JDeveloper, the backspace key mapping is still NOT WORKING. I've been trying to fix this since the early access release, but I failed.
Backspace key is already mapped by default, but still not working.
Did I missed something during the installation here? The installation documentation said that I should only extract the archive then edit the jdev.conf file to set the JDK to use.
I already pointed my installed JDK and JDeveloper's JDK but the backspace is still not working.
Help!

Similar Messages

  • F110 Auto. payment program ..Problem payment method not found

    Hi,
    I done the configuration for automatic payment program.with payment method c.
    when i am running the program the proposal is created but it is with a error saying no valid payment method found.
    Please guide me.
    Thanks
    Micheal

    I had given the payment method C in vendor master,Payment methods in country and payment methods in company code,Bank determination in FBZP.
    I am getting the same problem.Payment method not found.Please find the error list
    Information re. vendor 1900107 / customer  / paying company code 100 ...
    Payment with currency USD, payment method C: No valid payment procedure
    Information re. vendor 1900107 / paying company code 100 ...
    ... payment not possible because of reported error
    End of log
    Job finished
    Thanks and best regads
    Micheal

  • EJB3 Problem: table attribute of @JoinTable not accepted in JDEV 10.1.3..

    Hi,
    I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler
    complains about the table attribute of the @JoinTable annotation.
    The following code is not accepted:
    * Retrieve the list of clubs this player played for
    * @return List of clubs this player played for
    @ManyToMany(fetch=EAGER,targetEntity=nl.company.contractadmin.Club.class)
    @JoinTable(table=@Table(name = "CONTRACTPERIOD")
    joinColumns = {@JoinColumn(name = "PYR_ID",
    referencedColumnName = "ID")}
    inverseJoinColumns = { @JoinColumn(name = "CUB_ID",
    referencedColumnName = "ID")
    public Collection getClubs() {
    return clubs;
    public void setClubs(Collection<Club> clubs){
    this.clubs=clubs;
    This code compiles in the EA release of JDev 10.1.3..
    Can anyone tell me if there is something changed in the implementation of EJB3??

    Use @JoinTable(name, catalog, schema, uniqueConstraints) instead of @JoinTable(table=@Table())
    http://www.hibernate.org/hib_docs/ejb3-api/javax/persistence/JoinTable.html

  • Weblogic 6 Post Installation Problem - weblogic.Server not found

    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    set CLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    set PATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visual Stud
    io\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Visual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    set PATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visua
    l Studio\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath .;.\lib\weblogic_sp.j
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserver "
    -Dbea.home=d:\bea" "-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

    It looks like your startWebLogic.cmd script has problems with the class
    path. You should doublecheck that.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Bindu Rao" <[email protected]> wrote in message
    news:[email protected]...
    >
    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    setCLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    setPATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisual Stud
    io\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\MicrosoftVisual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    setPATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisua
    l Studio\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft VisualStudio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath.;.\lib\weblogic_sp.j
    >
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserv
    er "
    -Dbea.home=d:\bea""-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

  • Web-application deployment problem (404 - File not found)

    Hello
    Does anyone have had the same problems like me on deploying java web-applications on iPlanet WS 6.0?
    I started with the HelloWorld.war example that came with the server and went through the manual but no luck so far. Heres what I did:
    0. Checked that webapps are enabled in the servler.xml file
    1. Created a directory /opt/webapps and /opt/webapps/hello with sufficient permissions
    2. Copied the HelloWorld.war example to /opt/webapps
    3. Deployed the excample on my test-server using the webinterface.
    Heres the content of the web-apps.xml file of my testserver after step 3:
    [DTD here]
    <vs>
    <jsp-servlet enable="true">
    <init-param>
    <param-name>use-precompiled</param-name>
    <param-value>true</param-value>
    </init-param>
    </jsp-servlet>
    <web-app uri="/hello" dir="/opt/webapps/hello" enable="true"/>
    </vs>
    All files have been extracted to /opt/webapps/hello properly. The server has been restarted.
    When I finally point my browser to http://server/hello or hello/index.jsp I get only a 404 - File not found message by the server. The context path seems to be totaly ignored.
    Heres the error log of the server
    [17/Feb/2003:16:17:38] info (12040): successful server startup
    [17/Feb/2003:16:17:38] info (12040): iPlanet-WebServer-Enterprise/6.0SP2 B11/13/2001 00:49
    [17/Feb/2003:16:17:39] info (12041): Installing a new configuration
    [17/Feb/2003:16:17:39] info (12041): [LS ls1] http://XXX.XXX.XXX.XX, port 1080 ready to accept requests
    [17/Feb/2003:16:17:39] info (12041): A new configuration was successfully installed
    [17/Feb/2003:16:17:40] info (12041): Using the Solaris VM v1.2.2 from Sun Microsystems Inc.
    [17/Feb/2003:16:17:40] info (12041): Java VM classpath: /www/ns-home6sp2/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/opt/jdk1.2.2/lib/tools.jar:/www/ns-home6sp2/bin/https/jar/NSServletLayer.jar:/www/ns-home6sp2/bin/https/jar/NSJavaUtil.jar:/www/ns-home6sp2/bin/https/jar/NSJavaMiscUtil.jar:/www/ns-home6sp2/bin/https/jar/servlet.jar:/www/ns-home6sp2/bin/https/jar/servlet-2.3-filters-api.jar:/www/ns-home6sp2/bin/https/jar/jsp092.jar:/www/ns-home6sp2/bin/https/jar/jaxp.jar:/www/ns-home6sp2/bin/https/jar/crimson.jar:/www/ns-home6sp2/bin/https/jar/xalan.jar:/www/ns-home6sp2/bin/https/jar/jspengine.jar:
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): Adding web application (/hello) at (/opt/webapps/hello)
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): vs(https-duke)servlet 'snoop' class = 'SnoopServlet' loaded in context = '/hello'
    [17/Feb/2003:16:17:40] info (12041): snoop: init
    [17/Feb/2003:16:17:40] info (12041): Successfully initialized web application environment (web-apps.xml) for virtual server (https-duke)

    i had similar problem due to the incorrect jdk path...
    try http://..../hello/snoop, if this works, it seems that the jsp file cannot be compiled automatically and jdk path needs to be checked...

  • Swing problem: table is not refreshed when i open it  from jdialog

    Hi , my situation is this one :
    1. i have a swing form.
    2. i have created a panel form where i have a drop down list and a table. wich are depndend with each other. When i choose an item to the drop down list the value in the table is changed.
    3. i invoke this panel into the form with drag and drop, with invoke jDialog from button option.
    4. First time i run the form and open the panel from button the drop down list and the table are working correctly.
    5. i close the panel and open it again: And at this time when i choose an item from drop down list the table is not refreshed anymore. I have to run the form again if i want that this panel to work correctly.
    Am i doing smth wrong? I dont have too much experience in swing , and the documentation for adf-swign are really poor .
    Ps: Maybe i should explain the way i have created the drop down list and table in the panel . i am not using smth like execute with parameters for the view in the table. I have created a link between the view in the drop down list and the view in the table. It seems they work correcly if i run the panel for the first time.
    Thanks in advance !

    To answer your question, Restore the iPhone with current iTunes on your computer. If fixed, it was software. If still problem, most likely hardware, and then make Genius reservation or set up Service and take or send to Apple for resolution under Warranty.

  • Jdev: method invokeMethod(java.lang.String, org.w3c.dom.Element) not found

    I am calling a Web Service that returns an XML-file. The XML-file should be passed to a method that puts the xml into a table in my database.
    I will upload the 3 files that are being used for this.
    When I rebuild my files I get the following error in CustomerCO.java:
    Error(78,38): method invokeMethod(java.lang.String, org.w3c.dom.Element) not found in interface oracle.apps.fnd.framework.OAApplicationModule
    Line 78 reads as follows:
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    Any suggestions?
    PS: I am a newbie to java and framework
    Here are my files:
    CustomerCO.java:
    /*===========================================================================+
    Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA
    All rights reserved.
    ===========================================================================
    HISTORY
    +===========================================================================*/
    package xxcu.oracle.apps.ar.customer.server.webui;
    import java.io.Serializable;
    import java.lang.Exception;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import org.w3c.dom.Element;
    import xxcu.oracle.apps.ar.customer.ws.LindorffWS;
    * Controller for ...
    public class CustomerCO extends OAControllerImpl implements Serializable
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    * 2009.07.09, Roy Feirud, lagt til for å utføre spørring
    if (pageContext.getParameter("Search") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Setter søkekriteriene til LindorffWS
    String Name = pageContext.getParameter("SearchName");
    String Address = pageContext.getParameter("SearchAddress");
    String Zip = pageContext.getParameter("SearchZipCode");
    String City = pageContext.getParameter("SearchCity");
    String Born = pageContext.getParameter("SearchBorn");
    String Phone = pageContext.getParameter("SearchPhoneNo");
    Serializable[] param = { Name, Address, Zip, City, Born, Phone };
    //Bygger søkestrengen
    String SearchString = (String)am.invokeMethod("initBuildString", param );
    //Initialiserer LindorffWS
    LindorffWS WsConnection = new LindorffWS();
    try
    //Kaller Web Sevice fra Lindorff
    Element wsXml = (Element)WsConnection.XmlFulltextOperator(SearchString);
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    catch(Exception WsExp)
    // WsConnection = new LindorffWS();
    System.out.println("Kall til LindorffWS feilet!");
    am.invokeMethod("initQueryCustomer");
    CustomerAMImpl.java:
    package xxcu.oracle.apps.ar.customer.server;
    import java.io.Serializable;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import org.w3c.dom.Element;
    // --- File generated by Oracle Business Components for Java.
    public class CustomerAMImpl extends OAApplicationModuleImpl implements Serializable
    * This is the default constructor (do not remove)
    public CustomerAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("xxcu.oracle.apps.ar.customer.server", "CustomerAMLocal");
    * Container's getter for CustomerVO1
    public CustomerVOImpl getCustomerVO1()
    return (CustomerVOImpl)findViewObject("CustomerVO1");
    * 2009.07.09, Roy Feirud, Lagt til for å utføre spørring.
    public void initQueryCustomer()
    CustomerVOImpl vo = getCustomerVO1();
    if (vo!=null)
    vo.initQuery();
    * 2009.08.31, Roy Feirud, Lagt til for å bygge opp input til WebService hos Lindorff.
    public String initBuildString(String Name
    ,String Address
    ,String Zip
    ,String City
    ,String Born
    ,String Phone)
    String ws_string = null;
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_WS_LINDORFF_PKG.BUILD_STRING (?,?,?,?,?,?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setString(1,Name);
    cs.setString(2,Address);
    cs.setString(3,Zip);
    cs.setString(4,City);
    cs.setString(5,Born);
    cs.setString(6,Phone);
    cs.registerOutParameter(7,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    ws_string = cs.getString(7);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_WS_LINDORFF_PKG.BUILD_STRING";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return ws_string;
    public String initSaveXml(Element WsXml)
    String Status = "Error";
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP (?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setObject(1,WsXml);
    cs.registerOutParameter(2,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    Status = cs.getString(2);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return Status;
    LindorffWS.java:
    package xxcu.oracle.apps.ar.customer.ws;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    //import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    //import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Fri Jul 10 10:37:21 CEST 2009
    * WSDL URL: http://services.lindorffmatch.com/Search/Search.asmx?WSDL
    public class LindorffWS extends WrappedDocLiteralStub
    public LindorffWS()
    m_httpConnection = new OracleSOAPHTTPConnection();
    public String endpoint = "http://services.lindorffmatch.com/Search/Search.asmx";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element XmlFulltextOperator(String xmlString) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "XmlFulltextOperator";
    String targetNamespace = "http://services.lindorffmatch.com/search";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"xmlString", xmlString});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://services.lindorffmatch.com/search/XmlFulltextOperator", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Element)fromElement((Element)responseData.elementAt(0), org.w3c.dom.Element.class);
    _______________________________________________________________________________________________________________________________

    Hi,
    wrong forum. If this is a problem related to the use of OA framework, please use the OA framework forum here on OTN
    Frank

  • Crystal Report Windows Forms Viewer problems - table could not be found

    Hi,
    I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
    the caption says: "Crystal Reports Windows Forms Viewer"
    the message says: "The table 'paymentVoucher' could not be found.
    Error in file C:\...paymentVoucher.rpt. The table could not be found."
    By the way, I can run the report in another workstation.
    Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
    Thanks in advance.

    The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
    I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
    Thanks everyone for the advice.

  • Virtualbox problem: modprobed_db: command not found[SOLVED]

    I'm running arch in virtualbox.
    and when I run # virtualbox, error:
    "VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory"
    wiki write: "Note: You may need to update the kernel modules db in order to avoid 'no such file or directory' error when loading vboxdrv. Run: modprobed_db."
    but result:
    "# modprobed_db
    bash: modprobed_db: command not found
    Last edited by lqs (2012-07-27 09:00:44)

    modprobed_db can be found in the AUR. It collects all modules which have ever been loaded on your system. It's very practical if you compile a custom kernel and only want to include the modules you need.
    I think this doesn't solve your problem. Your system is missing the file /usr/lib/libQtCore.so.4 Do you have [testing] enabled? If so, do you also have [community-testing] enabled? I'll need more input to be able to help properly.

  • SUP sync problem: Category products not found on WSUS

    Hello,
    Updates stopped working suddenly for clients, and the clients reported back with message: "Client check passed/Active".
    I can't say much about it because I have to be honest, I didn't do much troubleshooting.
    I went straight to re-configuration of SUP/WSUS.
    So I removed the SUP CM role, and WSUS and re-installed everything again.
    I did this several times now and followed similar procedures, but slightly different.
    Basically:
    Remove SUP
    Remove WSUS
    Restart
    Install WSUS
    Install the two famous updates
    Restart
    Add SUP role
    Environment (one machine):
    Server: 2008 R2
    SCCM: 2012 SP1 - 5.0.7804.1000
    WSUS 3.0 SP2 with both KB's
    Syncing doesn't work.
    From the wsyncmgr.log I'd say that SCCM is unable to communicate with WSUS.
    From the wcm.log I'd think that Category Products are enabled on SCCM which cannot be found on WSUS, which I find a strange reason to block the whole Updating process but who am I to critisize. :-)
    The problem is that I can't find these products in SCCM, let alone disable.
    I really hope someone can help me out with this as this is starting to drive me crazy.
    Also tried to run the WSUS configuration wizard partially until the products but that didn't help either.
    Each time I restart the whole configuration, when I add the SUP role it seems to remember my settings. Is there a proper way to completely remove SUP?
    WCM.log:
    Category Product:70cfad70-6629-b54b-5819-c809a605515e (Adobe Flash Player) not found on WSUS
    SMS_WSUS_CONFIGURATION_MANAGER 13/12/2013 15:32:12
    5572 (0x15C4)
    Category Product:e1d507be-497c-d8fd-61d7-b0d93ee399ca (Adobe Reader) not found on WSUS
    SMS_WSUS_CONFIGURATION_MANAGER 13/12/2013 15:32:12
    5572 (0x15C4)
    Subscription contains categories unknown to WSUS.
    SMS_WSUS_CONFIGURATION_MANAGER 13/12/2013 15:32:12
    5572 (0x15C4)
    Failed to set Subscriptions on the WSUS Server. Error:(-2147467259)Unspecified error
    SMS_WSUS_CONFIGURATION_MANAGER 13/12/2013 15:32:12
    5572 (0x15C4)
    WSYNCMGR.log
    Sync failed: WSUS server not configured. Please refer to WCM.log for configuration error details.. Source: CWSyncMgr::DoSync
    SMS_WSUS_SYNC_MANAGER 13/12/2013 15:37:12
    5660 (0x161C)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=SVCMSS001.mobilebelgium.be SITE=PS1 PID=5216 TID=5660 GMTDATE=Fri Dec 13 14:37:12.547 2013 ISTR0="CWSyncMgr::DoSync" ISTR1="WSUS server not
    configured. Please refer to WCM.log for configuration error details." ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
    SMS_WSUS_SYNC_MANAGER 13/12/2013 15:37:12
    5660 (0x161C)
    Sync failed. Will retry in 60 minutes SMS_WSUS_SYNC_MANAGER
    13/12/2013 15:37:12 5660 (0x161C)

    After 3 days of screwing around and one afternoon being sure it's related to the two category updates, I have been able to find a way to fix this situation. Not sure if it's the correct way, but it IS a way.
    I'd still be grateful if anyone can explain how it could happen, since this fix is not really supported I guess.
    But here is what was wrong.
    At a certain point in those 3 days I was getting following error in WSYNCMGR.log:
    Sync failed: WSUS server not configured. Please refer to WCM.log for configuration error details.. Source: CWSyncMgr::DoSync
    SMS_WSUS_SYNC_MANAGER
    08/12/2013 23:40:04 4720 (0x1270)
    I went into the DB, in the CI_UpdateSources table and changed the value for IsExprired from True to False.
    Then I got the error from my original post:
    Sync failed: WSUS server not configured. Please refer to WCM.log
    for configuration error details.. Source: CWSyncMgr::DoSync
    I made sure all category products were disabled (I think they were at this time) and went in the DB to the table CI_UpdateCategorySubscription and found that there were two rows with IsSubscribed set to True. What a coïnsidence the error in WCM.log gave
    two category products thta could not be found in WSUS.
    I went ahead and set them to False and there you go, sync is doing fine now.
    Now I'm going to enable some products and check if sync is still ok, and ultimately check if clients receive the updates.
    Questions are:
    How could this UpdteSource be flagged as Expired?
    How are those two Subscriptions enabled?
    The SUP and WSUS have been removed and re-installed at least 3 times or so.
    Cheers, hope this can help someone else!

  • Mod_jrun20.so Problem... not found

    OS: RHEL 4
    Apache: 2.0.52
    Coldfusion: 7.0.1
    I have done a TON of research on this problem trying to fix
    it PRIOR to posting here.. Here is the problem, when I start
    apache, I get this:
    Starting httpd: Syntax error on line 907 of
    /etc/httpd/conf/httpd.conf:
    Cannot load
    /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so into
    server: /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so:
    cannot open shared object file: No such file or directory
    [FAILED]
    Now, here is what I have done so far:
    I have commented out the LD_ASSUME lines in the coldfusion
    start script
    I have chcon'd the mod_jrun20.so file to reference the httpd
    file
    I have turned off the SELinux stuff by setting
    SELinux=disabled in the /etc/selinux/config file
    I have checked to make sure that
    /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so does indeed
    exist
    At this point I am at a loss. Any help would be greatly
    appreciated. If any more details are needed just ask. Coldfusion
    seems to start just fine.

    I tried this and got this:
    Starting httpd: Syntax error on line 907 of
    /etc/httpd/conf/httpd.conf:
    Cannot load /etc/httpd/modules/mod_jrun20.so into server:
    /etc/httpd/modules/mod_jrun20.so: cannot open shared object file:
    No such file or directory
    [FAILED]
    Same thing... sucks cause this was an idea I had not yet
    tried... anything else? I can tell you that I have DEFINITELY
    placed that file in *THAT* directory, but still thinks it isn't
    found. I've also put the appropriate commands in the conf file (as
    above). SELinux is still disabled too, and I chmod'd the
    mod_jrun20.so 777. Let me know if there is something else it should
    be. It tells me a syntax error, here is what the few lines in the
    conf file look like...
    # JRun Settings
    LoadModule jrun_module modules/mod_jrun20.so
    <IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore
    /opt/coldfusionmx7/runtime/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:51011
    #JRunConfig Errorurl <optionally redirect to this URL on
    errors>
    #JRunConfig ProxyRetryInterval 600
    #JRunConfig ConnectTimeout 15
    #JRunConfig RecvTimeout 300
    #JRunConfig SendTimeout 15
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
    .cfswf
    </IfModule>
    What am I doing wrong?

  • Solaris problem:  libmawt.so not found

    I also posted this message to the JRE group. Sorry it you've already seen it there. Not sure which group is right for this topic
    Whenever I try to run any graphic application on my Solaris machine, I get a fatal exception:
    "libmawt.so: open failed: No such file or directory".
    This happens if I try to execute appletviewer or run a graphic program from the comand line. Applets inside the browser (NS 4.7) do not have this problem.
    I have libmawt.so on my system in a couple of places:
    $JAVA_HOME/jre/motif12/libmawt.so
    $JAVA_HOME/jre/motif21/libmawt.so
    but the system can't seem to find the files. Is there some environment variable that must be set???
    Using jdk 1.3.1 on Solaris 7 (2.7)
    TIA
    Pete

    Nevermind, I found the answer -- should have searched for previous postings.
    "Solved" it by establishing a soft link to one of the existing files:
    ..jre/lib/sparc/libmawt.so -> ..jre/lib/sparc/motif21/libmawt.so
    Pete

  • Huge problem with songs not found in iTunes and duplicates

    I have been having serious issues with itunes -- it recently started losing files. I get the message, "The song could not be used because the original file could not be found. Would you like to locate it?" I have tried manually linking them, but I have thousands of files and it would take forever.
    I ended up reinstalling itunes and re-adding all music, but I lost my playlists. I then found an old itunes music file and put it in the itunes folder and voila! -- all of my playlists returned.
    Now the problem is that I have many missing files and almost every remaining song has been duplicated at least once. (I think I screwed up by first importing songs and then having to add them to the library as well).
    Is there a way to group together all the files (to find them later) and then delete them? There are thousands of them. Also, is there a way to stop this random deleting of files. It seems this is a widespread problem. Thanks.

    Arghhhhhhhhh
    Count me in -
    At the moment I've lost access to roughly 800 of the 1200 .mp3s that are sitting in my iTunes music folder ("iTunes cannot find the file. Would you like to try and locate it?").
    This appears to have occurred after downloading the 7.1.1 update today. One additional symptom that I'm getting that I haven't seen mentioned elsewhere is that the .mp3s themselves seem to be corrupted - when I open them directly with iTunes they are playing a strange combination of the same two songs, and I can't open them at all in any other application (Quicktime, Bias Peak etc...) which is really wrong.
    I've done everything that I've seen suggested here and then some, including repairing my disk and permissions from a Tiger install disk several times, reinstalling iTunes, rebuilding the iTunes Library and running a bunch of third party maintenance and repair routines, all to no avail,
    Just wanted to keep this thread near the top.
    ;D
    eMac   Mac OS X (10.4)   700 MHz / 384 MB / 40gig / CDR internal/DVD-R/RW external

  • JTable Problem (table does not show rows and columns)

    Hi All,
    What the table is suppose to do.
    - Load information from a database
    - put all the values in the first column
    - in the second column put combobox (cell editor with numbers 1-12)
    - the 3rd column put another combobox for something else
    - the 4th column uses checkbox as an edit
    The number of rows of the table should be equal to the number of
    record from
    the database. If not given it default to 20 (poor but ok for this)
    The number of columns is 4.
    But the table does not show any rows or
    column when I put it inside a
    JScrollPane (Otherwise it works).
    Please help,
    thanks in advance.
    public class SubjectTable extends JTable {
    * Comment for <code>serialVersionUID</code>
    private static final long serialVersionUID = 1L;
    /** combo for the list of classes */
    protected JComboBox classCombo;
    /** combo for the list of subjects */
    protected JComboBox subjectsCombo;
    /** combo for the list of grade */
    protected JComboBox gradeCombo;
    boolean canResize = false;
    boolean canReorder = false;
    boolean canSelectRow = false;
    boolean canSelectCell = true;
    boolean canSelectColumn = true;
    // the row height of the table
    int rowHeight = 22;
    // the height of the table
    int height = 200;
    // the width of the table
    int width = 300;
    // the size of the table
    Dimension size;
    * Parameterless constructor. Class the one of the other constructors
    to
    * create a table with the a new <code>SubjectTableModel</code>.
    public SubjectTable() {
    this(new SubjectTableModel());
    * Copy constructor to create the table with the given
    * <code>SubjectTableModel</code>
    * @param tableModel -
    * the <code>SubjectTableModel</code> with which to
    initialise
    * the table.
    SubjectTable(SubjectTableModel tableModel) {
    setModel(tableModel);
    setupTable();
    * Function to setup the table's functionality
    private void setupTable() {
    clear();
    // set the row hieght
    this.setRowHeight(this.rowHeight);
    // set the font size to 12
    //TODO this.setFont(Settings.getDefaultFont());
    // disble reordering of columns
    this.getTableHeader().setReorderingAllowed(this.canReorder);
    // disble resing of columns
    this.getTableHeader().setResizingAllowed(this.canResize);
    // enable the horizontal scrollbar
    this.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    // disable row selection
    setRowSelectionAllowed(this.canSelectRow);
    // disable column selection
    setColumnSelectionAllowed(this.canSelectColumn);
    // enable cell selection
    setCellSelectionEnabled(this.canSelectCell);
    setPreferredScrollableViewportSize(getSize());
    TableColumn columns = null;
    int cols = getColumnCount();
    for (int col = 0; col < cols; col++) {
    columns = getColumnModel().getColumn(col);
    switch (col) {
    case 0:// subject name column
    columns.setPreferredWidth(130);
    break;
    case 1:// grade column
    columns.setPreferredWidth(60);
    break;
    case 2:// class room column
    columns.setPreferredWidth(120);
    break;
    case 3:// select column
    columns.setPreferredWidth(65);
    break;
    } // end switch
    }// end for
    // set up the cell editors
    doGradeColumn();
    doClassColumn();
    //doSubjectColumn();
    * Function to clear the table selection. This selection is different
    to
    * <code>javax.swing.JTable#clearSelection()</code>. It clears the
    user
    * input
    public void clear() {
    for (int row = 0; row < getRowCount(); row++) {
    for (int col = 0; col < getColumnCount(); col++) {
    if (getColumnName(getColumnCount() - 1).equals("Select")) {
    setValueAt(new Boolean(false), row, getColumnCount() - 1);
    }// if
    }// for col
    }// for row
    * Function to set the cell renderer for the subjects column. It uses
    a
    * combobox as a cell editor in the teacher's subjects table.
    public void doSubjectColumn() {
    TableColumn nameColumn = getColumnModel().getColumn(0);
    nameColumn.setCellEditor(new DefaultCellEditor(getSubjectsCombo()));
    // set up the celll renderer
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    nameColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = nameColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Name to see a list of choices");
    }// end doSubjectsColumn----------------------------------------------
    /** Function to set up the grade combo box. */
    public void doGradeColumn() {
    TableColumn gradeColumn = getColumnModel().getColumn(1);
    gradeColumn.setCellEditor(new DefaultCellEditor(getGradeCombo()));
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    gradeColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = gradeColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Grade to see a list of choices");
    }// end doGradeColumn-------------------------------------------------
    * Function to setup the Class room Column of the subjects
    public void doClassColumn() {
    // set the column for the classroom
    TableColumn classColumn = getColumnModel().getColumn(2);
    classColumn.setCellEditor(new DefaultCellEditor(getClassCombo()));
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    classColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = classColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Class to see a list of choices");
    }// end doClassColumn--------------------------------------------------
    * Function to get the size of the table
    * @return Returns the size.
    public Dimension getSize() {
    if (this.size == null) {
    this.size = new Dimension(this.height, this.width);
    return this.size;
    * Function to set the size of the table
    * @param dim
    * The size to set.
    public void setSize(Dimension dim) {
    if (dim != null) {
    this.size = dim;
    return;
    * Function to create/setup the class room comboBox. If the comboBox
    is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the classCombo.
    private JComboBox getClassCombo() {
    if (this.classCombo == null) {
    this.classCombo = new JComboBox();
    // fill up the class name combo
    ArrayList classRooms = new ArrayList();
    try {
    //TODO classRooms = Settings.getDatabase().getClassRooms();
    for (int i = 0; i < 10; i++) {
    String string = new String("Class");
    string += i;
    if (!classRooms.isEmpty()) {
    classRooms.trimToSize();
    for (int i = 0; i < classRooms.size(); i++) {
    this.classCombo.addItem(classRooms.get(i));
    } catch (Exception e) {
    e.printStackTrace();
    return this.classCombo;
    * Function to create/setup the subjects comboBox. If the comboBox is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the subjectsCombo.
    private JComboBox getSubjectsCombo() {
    if (this.subjectsCombo == null) {
    this.subjectsCombo = new JComboBox();
    try {
    ArrayList subjects = loadSubjectsFromDatabase();
    if (!subjects.isEmpty()) {
    Iterator iterator = subjects.iterator();
    while (iterator.hasNext()) {
    // create a new subject instance
    //TODO Subject subct = new Subject();
    // typecast to subject
    //TODO subct = (Subject) iterator.next();
    String name = (String) iterator.next();
    // add this subject to the comboBox
    //TODO this.subjectsCombo.addItem(subct.getName());
    subjectsCombo.addItem(name);
    }// end while
    }// end if
    else {
    JOptionPane.showMessageDialog(SubjectTable.this,
    "Subjects List Could Not Be Filled");
    System.out.println("Subjects List Could Not Be Filled");
    } catch (Exception e) {
    e.printStackTrace();
    return this.subjectsCombo;
    * Function to load subjects from the <code>Database</code>
    * @return Returns the subjects.
    private ArrayList loadSubjectsFromDatabase() {
    // list of all the subject that the school does
    ArrayList subjects = new ArrayList();
    try {
    //TODO to be removed later on
    for (int i = 0; i < 10; i++) {
    String string = new String("Subject");
    string += i;
    subjects.add(i, string);
    // set the school subjects
    //TODO subjects = Settings.getDatabase().loadAllSubjects();
    } catch (Exception e1) {
    e1.printStackTrace();
    return subjects;
    * Function to create/setup the grade comboBox. If the comboBox is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the gradeCombo.
    private JComboBox getGradeCombo() {
    if (this.gradeCombo == null) {
    this.gradeCombo = new JComboBox();
    // fill with grade 1 to 12
    for (int i = 12; i > 0; i--) {
    this.gradeCombo.addItem(new Integer(i).toString());
    return this.gradeCombo;
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
    System.out.println("Look and Feel has been set");
    } catch (UnsupportedLookAndFeelException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    SubjectTableModel model = new SubjectTableModel();
    int cols = model.getColumnCount();
    int rows = model.getRowCount();
    Object[][] subjects = new Object[rows][cols];
    for (int row = 0; row < rows; row++) {
    subjects[row][0] = new String("Subjectv ") + row;
    }//for
    model.setSubjectsList(subjects);
    SubjectTable ttest = new SubjectTable(model);
    JFrame frame = new JFrame("::Table Example");
    JScrollPane scrollPane = new JScrollPane();
    scrollPane.setViewportView(ttest);
    frame.getContentPane().add(scrollPane);
    frame.pack();
    frame.setVisible(true);
    **************************************END
    TABLE******************************
    ----------------------------THE TABLE
    MODEL----------------------------------
    * Created on 2005/03/21
    * SubjectTableModel
    package com.school.academic.ui;
    import javax.swing.table.AbstractTableModel;
    * Class extending the <code>AbstractTableModel</code> for use in
    creating the
    * <code>Subject</code>s table. In addition to the implemented methods
    of
    * <code>AbstractTableModel</code> The class creates a model that has
    initial
    * values - the values have their own <code>getter</code> and
    * <code>setter</code> methods - but can still be used for values that
    a user
    * chooses.
    * <p>
    * @author Khusta
    public class SubjectTableModel extends AbstractTableModel {
    * Comment for <code>serialVersionUID</code>
    private static final long serialVersionUID = 3257850978324461113L;
    /** Column names for the subjects table */
    String[] columnNames = { "Subject", "Grade", "Class Room",
    "Select" };
    /** Array of objects for the subjects table */
    Object[][] subjectsList;
    private int totalRows = 20;
    protected int notEditable = 0;
    * Parameterless constructor.
    public SubjectTableModel() {
    // TODO initialise the list
    // add column to the default table model
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    * Copy constructor with the <code>subjectList</code> to set
    * @param subjects
    public SubjectTableModel(Object[][] subjects) {
    this(0, null, subjects, 0);
    * Copy constructor with the initial number of row for the model
    * @param rows -
    * the initial rows of the model
    * @param cols -
    * the initial columns of the model
    * @param subjects -
    * the initial subjects for the model
    * @param edit - the minimum number of columns that must be
    uneditable
    public SubjectTableModel(int rows, String[] cols, Object[][]
    subjects, int edit) {
    // set the initial rows
    setTotalRows(rows);
    // set the column names
    setColumnNames(cols);
    // set the subjectlist
    setSubjectsList(subjects);
    //set not editable index
    setNotEditable(edit);
    * Function to get the total number of columns in the table
    * @return int -- the columns in the table
    public int getColumnCount() {
    if (this.subjectsList == null) {
    return 0;
    return getColumnNames().length;
    * Function to get the total number of rows in the table
    * @return int -- the rows in the table
    public int getRowCount() {
    if (this.subjectsList == null) {
    return 0;
    return this.subjectsList.length;
    * Function to get the name of a column in the table.
    * @param col --
    * the column to be named
    * @return String -- the column in the table
    public String getColumnName(int col) {
    if (getColumnNames()[col] != null) {
    return getColumnNames()[col];
    return new String("...");
    * Function to get the value of the given row.
    * @param row --
    * the row of the object.
    * @param col --
    * the col of the object.
    * @return Object -- the value at row, col.
    public Object getValueAt(int row, int col) {
    return getSubjectsList()[row][col];
    * Function to return the data type of the given column.
    * @param c --
    * the column whose type must be determined.
    * @return Class -- the type of the object in this col.
    public Class getColumnClass(int c) {
    if (getValueAt(0, c) != null) {
    return getValueAt(0, c).getClass();
    return new String().getClass();
    * Function to put a value into a table cell.
    * @param value --
    * the object that will be put.
    * @param row --
    * the row that the object will be put.
    * @param col --
    * the col that the object will be put.
    public void setValueAt(Object value, int row, int col) {
    * TODO: Have a boolean value to determine whether to clear or
    to set.
    * if true clear else set.
    if (value != null) {
    if (getSubjectsList()[0][col] instanceof Integer
    && !(value instanceof Integer)) {
    try {
    getSubjectsList()[row][col] = new
    Integer(value.toString());
    fireTableCellUpdated(row, col);
    } catch (NumberFormatException e) {
    * JOptionPane .showMessageDialog( this., "The \""
    +
    * getColumnName(col) + "\" column accepts only
    values
    * between 1 - 12");
    return;
    System.out.println("Value = " + value.toString());
    System.out.println("Column = " + col + " Row = " + row);
    // column = Grade or column = Select
    switch (col) {
    case 2:
    try {
    // TODO
    if (Boolean.getBoolean(value.toString()) == false
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    // subjectsList[row][col + 1] = new
    Boolean(true);
    System.out.println("2. false - Updated...");
    * this.subjectListModel.add(row,
    * this.subjectsList[row][0] + new String(" -
    ") +
    * this.subjectsList[row][2]);
    } catch (ArrayIndexOutOfBoundsException exception) {
    exception.printStackTrace();
    break;
    case 3:
    if (Boolean.getBoolean(value.toString()) == false
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    System.out.println("3. If - Added...");
    getSubjectsList()[row][3] = new Boolean(true);
    this.subjectListModel.addElement(this.subjectsList[row][0] +
    * new String(" - ") + this.subjectsList[row][2]);
    // subjectListModel.remove(row);
    fireTableCellUpdated(row, col);
    fireTableDataChanged();
    // this.doDeleteSubject();
    } else if (Boolean.getBoolean(value.toString()) ==
    true
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    setValueAt("", row, col - 1);
    setValueAt("", row, col - 2);
    setValueAt("", row, col - 3);
    System.out.println("3. Else - Cleared...");
    // this.subjectListModel.remove(row);
    break;
    default:
    break;
    }// end switch
    getSubjectsList()[row][col] = value;
    fireTableCellUpdated(row, col);
    fireTableDataChanged();
    }// end if
    }// end
    * Function to enable edition for all the columns in the table
    * @param row --
    * the row that must be enabled.
    * @param col --
    * the col that must be enabled.
    * @return boolean -- indicate whether this cell is editble or
    not.
    public boolean isCellEditable(int row, int col) {
    if (row >= 0
    && (col >= 0 && col <= getNotEditable())) {
    return false;
    return true;
    * Function to get the column names for the model
    * @return Returns the columnNames.
    public String[] getColumnNames() {
    return this.columnNames;
    * Function to set the column names for the model
    * @param cols
    * The columnNames to set.
    public void setColumnNames(String[] cols) {
    // if the column names are null the default columns are used
    if (cols != null) {
    this.columnNames = cols;
    * Function to get the rows of subjects for the model
    * @return Returns the subjectsList.
    public Object[][] getSubjectsList() {
    if (this.subjectsList == null) {
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    return this.subjectsList;
    * Function to set the subjects list for the model
    * @param subjects
    * The subjectsList to set.
    public void setSubjectsList(Object[][] subjects) {
    // if the subject list is null create a new one
    // using default values
    if (subjects == null) {
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    return;
    this.subjectsList = subjects;
    * Function to get the total number of rows for the model. <b>NB:
    </b> This
    * is different to <code>
    getRowCount()</code>.<code>totalRows</code>
    * is the initial amount of rows that the model must have before
    data can be
    * added.
    * @return Returns the totalRows.
    * @see #setTotalRows(int)
    public int getTotalRows() {
    return this.totalRows;
    * Function to set the total rows for the model.
    * @param rows
    * The totalRows to set.
    * @see #getTotalRows()
    public void setTotalRows(int rows) {
    // if the rows are less than 0 the defaultRows are used
    // set getTotalRows
    if (rows > 0) {
    this.totalRows = rows;
    * Function to get the number of columns that is not editble
    * @return Returns the notEditable.
    public int getNotEditable() {
    return this.notEditable;
    * Function to set the number of columns that is not editable
    * @param notEdit The notEditable to set.
    public void setNotEditable(int notEdit) {
    if (notEdit < 0) {
    notEdit = 0;
    this.notEditable = notEdit;
    ----------------------------END TABLE MODEL----------------------------------

    I hope you don't expect us to read hundreds of lines of unformatted code? Use the "formatting tags" when you post.
    Why are you creating your own TableModel? It looks to me like the DefaultTableModel will store you data. Learn how to use JTable with its DefaultTableModel first. Then if you determine that DefaultTableModel doesn't provide the required functionality you can write your own model.

  • First EJB problem:  HTTP 404 NOT FOUND

    I was running the first EJB example(Coverter) in J2EE Tutorial. My HTTP port is 4848.
    I can deploy the application at localhost:4848, and I can connect to http://localhost:4848/asadmin/
    The context root for web client is /converter.
    But when I try to connect http://localhost:4848/converter, It gave me HTTP 404 NOT FOUND error.
    Why?

    Now I know.
    Admin Port is 4848. Http Port is 4421.

Maybe you are looking for

  • Vf02 error while releasing a billing doc to accounting

    Hello All, I m getting the below mentioned error while releasing a billing doc for a accouting. I have checked all the settings in vkoa , ob52 and many more and all are set properly, now m not able to track where actually the prob is. error is: No ac

  • White screen in Avid Meridian after export from FCP 6?

    After exporting a sequence as 10 bit uncompressed NTSC (using AJA Kona II card) on FCP Ver. 6.06, I imported the file into my Avid Symphony (Meridian). When I tried to play the file, I could only see a white screen. Audio plays fine. I have searched

  • HT5622 how can change apple id that software installation with another apple id?

    my software installation with another apple id , i want to update software for expample games, i cant do this , what can i do to change thats apple id?

  • SQL Developer - Adding a column comment via SQL

    When I add a comment in SQL*Plus via SQL, such as COMMENT ON COLUMN "MY_OWNER"."MY_TABLE"."MY_COLUMN" IS 'column comment' it works fine. When I try the same thing in SQL Developer I receive a message "No SQL statement entered". I realize this can be

  • LabVIEW 2009 build memory usage exceeds Windows limit

    We have a large application that builds without problems using 8.6.1, but failed to build using LabVIEW 2009 with the error "Not enough memory to build this application". We solved the problem by adding the parameter /3GB to the Windows XP boot.ini f