Bug getting handle to 'setLogLevel' in Connector

This is version 7 of S1AS.
There appears to be a bug at IASMCFFactory.java:346.
At this line, the class is trying to get a handle to
the method 'setLogLevel' of the managed-connection-factory;
as specified in the j2ee connector specification ra.xml
file.
IASMCFFactory appears to be using the reflection method
that only returns methods of the derived class; and not those defined in any super class.
For the Siebel J2EE Connector (v7.5), the 'setLogLevel'
class is defined in the super class SiebelConnectionFactory of the derived class
SiebelNoTxManagedConnectionFactory; and IASMCFFactory
is throwing:
[03/Dec/2002:19:30:34] FINE ( 7525): Method setlogLevel was not found in class com.siebel.integration.jca.spi.notx.SiebelNoTxManagedCon
nectionFactory
java.lang.NoSuchMethodException: com.siebel.integration.jca.spi.notx.SiebelNoTxManagedConnectionFactory.setlogLevel(java.lang.String)
at java.lang.Class.getMethod0(Class.java:1756)
at java.lang.Class.getMethod(Class.java:963)
at com.iplanet.ias.connectors.deployment.IASMCFFactory.getManagedConnectionFactory(IASMCFFactory.java:346)
at com.iplanet.ias.connectors.deployment.IASMCFFactory.loadOneMCF(IASMCFFactory.java:504)
at com.iplanet.ias.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:68)
at com.iplanet.ias.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:84)
at com.iplanet.ias.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:162)
at com.iplanet.ias.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:464)
at com.iplanet.ias.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:451)
at com.iplanet.ias.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:294)
at com.iplanet.ias.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:99)
at com.iplanet.ias.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:84)
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:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)
'

OK, there appears to be a different cause for this rather
than the reflection method (which looks like the right one).
Rather, S1AS is looking for the method 'setlogLevel'
(notice the lower case 'l' in Log).
My connector has the method 'setLogLevel'.
I see no mention of this method in the J2EE Connector Architecture Specification 1.5; but it seems like
setLogLevel is better.

Similar Messages

  • Need sample code to get handle of Selected rows from ADF Table

    Hi,
    I am new to ADF. I have an ADF table based on VO object.On some button action,I need to get handle of selected rows in application module.
    If anybody is having sample code to do this then please share with me.
    Thanks,
    ashok

    wow now link http://blogs.oracle.com/smuenchadf/examples/#134 is working.thanks a lot.
    also the link http://baigsorcl.blogspot.com/2010/06/deleting-multi-selected-rows-from-adf.html is very useful. Thanks a lot for Sameh Nassar too.He made it clear that in 11g Select column is not available for a ADF table and provided a solution to get Select column.
    Thanks,
    ashok

  • How to get handle of a button that i created through Customisation?

    How to get handle of a button that i created through Customisation?
    I tried this in processformrequest ..failed :(
    String str2 = paramOAPageContext.getParameter("AutoDialler");
    if (str2 != null) {
    System.out.println("Inside AutoDialler Hurray");
    }

    this works well
    but can you give documentation support of whatever you are saying?
    public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    OASubmitButtonBean oasb= (OASubmitButtonBean)paramOAPageContext.getWebBeanFactory().createWebBean(paramOAPageContext,"BUTTON_SUBMIT");
    oasb.setID("xxSubmitAutoDialler");
    oasb.setUINodeName("xxSubmitAutoDialler");
    oasb.setEvent("xxSubmitAutoDialler");
    oasb.setText("xxSubmitAutoDialler");
    paramOAWebBean.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    if ( strEvent.equals("xxSubmitAutoDialler"))
    //IMPORTANT Get this by calling the Function that loops for records.
    System.out.println("Inside processFormRequest Hurray");
    }

  • Problem in getting handle to EJB Object

    Hi All,
    I am getting following exception when i try to get handle on my ejb object.
    My Client Program:
    import synch.*;
    import javax.naming.*;
    import java.rmi.*;
    import javax.rmi.*;
    import javax.ejb.*;
    import java.io.*;
    public class SearlizeClient
         public static void main(String[] args) throws Exception
              Context ic = new InitialContext();
                   Object o = ic.lookup("NameBean"); // replace with YOUR JNDI name for the bean
                   NameHome nameHome = (NameHome) PortableRemoteObject.narrow(o, NameHome.class);
                   synch.Name obj1 = nameHome.create();
                   obj1.setName("Balaji");
                   Handle myHandle= obj1.getHandle();// Getting exception at this place
                   FileOutputStream out = new FileOutputStream("MyHandle.txt");
                   ObjectOutputStream s = new ObjectOutputStream(out);
                   s.writeObject(obj1);
                   s.flush();
                   out.close();
    I got following excetion when i try to get handle on EJBObject
    Dec 6, 2005 11:20:19 AM com.sun.corba.se.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810257: (MARSHAL) Could not find class"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemExcep
    tion.java:7756)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1013
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_
    1_0.java:873)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_
    1_0.java:863)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java
    :269)
    at synch._Name_Stub.getHandle(Unknown Source)
    at SearlizeClient.main(SearlizeClient.java:20)
    Caused by: java.lang.ClassNotFoundException
    ... 7 more
    Exception in thread "main" java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested excepti
    on is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at synch._Name_Stub.getHandle(Unknown Source)
    at SearlizeClient.main(SearlizeClient.java:20)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemExcep
    tion.java:7756)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1013
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_
    1_0.java:873)
    at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_
    1_0.java:863)
    at com.sun.corba.se.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java
    :269)
    at synch._Name_Stub.getHandle(Unknown Source)
    ... 1 more
    Caused by: java.lang.ClassNotFoundException
    ... 7 more
    Enviroment: This bean is hosted on Sun J2ee Appserver 8.0 and normal client prg is working fine .. But it is failing in getting handle
    Please suggest,
    Thanks in advance

    The only way is to create your own equivalent of HttpSessionContext.
    Its simple enough, just create a class that implements HttpSessionListener (responds to session creation, and destruction)
    You can get the sessions as they are created, and keep a global reference to them, and manipulate it as much as you like. In your case you would probably want to index the sessions by userId rather than sessionId for easy access.
    Good luck,
    evnafets

  • [svn:fx-trunk] 5473: Fix for bug around handling of constraints during and after effects were run , both for old and new effects.

    Revision: 5473
    Author: [email protected]
    Date: 2009-03-20 16:02:58 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Fix for bug around handling of constraints during and after effects were run, both for old and new effects. Fix was to correctly record and handle styles that were set or not set in either state and to temporarily set width/height values for the duration of an effect if we disabled the relevant styles that affect width/height.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17809
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17809
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as

    Revision: 5473
    Author: [email protected]
    Date: 2009-03-20 16:02:58 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Fix for bug around handling of constraints during and after effects were run, both for old and new effects. Fix was to correctly record and handle styles that were set or not set in either state and to temporarily set width/height values for the duration of an effect if we disabled the relevant styles that affect width/height.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17809
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17809
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as

  • Getting to know the Valet Connector (AM10)

    Getting to know the Valet Connector (AM10)

    A_Zammit wrote:
    Hi all,
    I am new to this forum and hope I can get some help. I would like to know if it is possible by using Java (maybe some 3rd party SDK) to get to know the behavior of the user on a particular resource. For a example; a user using a desktop machine with a MS Windows OS performed the following actions
    * printed a MS Word document,
    * started a browsing session
    * edited a document
    * created a new text file
    That wouldn't be easy in any language. For example "create a new text" file means what if I save a Excel document as a csv file? I certainly consider a csv file to be a text file, but it wouldn't for example have a .txt extension.
    Consider also where a email client disallows executables so to send a exe I rename it with a .txt extension. Not really a txt file at all.
    And in terms of printing in Word that would require hooking into word and probably also the printing subsystem. Very hard to do.
    So you would need to define what all of those requirements mean in terms of the OS before proceeding in any language.
    As an example of creating a key logger via java it would probably be done best in another language. But in general
    1. Use C code to hook into the OS to trap key events (and exclude mouse events.)
    2. Write JNI code to accept callbacks from the C code.
    3. Write java code that writes (via 2) the characters to a file.
    I would use this information to create usage patterns and habits of the particular user. Hence, understand the preferences together with the needs of the particular user by building and customizing a user model on these usage patterns. I have searched on the Internet for solutions however I was not that successful. Many solutions were given by either using the Win32 Hooks or some spying/proxy API.This is a lot easier if you base it on a single application. Thus if you built a text editor in java and then recorded all of the action in there it would be a lot easier. And something that you could do entirely in java.

  • IExpense - Could not get handle to the Attachments VO

    Friends, I am stuck, so thought to get your help.
    On iExpense Final Review Page "FinalReviewPG" Submitt button, We have a requirement to throw the exception to user if he/she does not attach the Receipts Attachments with some specific Attachment Categories. In order to acheive this I need to get Handle to the Attachments VO but I could not as It throws the Java Exception error upon getting handle to the Attachments VO even though i added few atatchments and they showup on screen. Below is the portion of the problematic code and after that the full code. Thanks for your help.
    //below is the problmeatic code
    OAApplicationModule RootAM = oapagecontext.getRootApplicationModule();
    //OAApplicationModule AttachAM = (OAApplicationModule)RootAM.findApplicationModule("OAAttachmentsAM");//doesnt work
    //OAApplicationModule AttachAM = (OAApplicationModule)RootAM.findApplicationModule("oracle_apps_fnd_server_OAAttachmentsAM");//get the AM handle but null VOs
    OAAttachmentsAMImpl AttachAM = (OAAttachmentsAMImpl)RootAM.findApplicationModule("oracle_apps_fnd_server_OAAttachmentsAM");//throws me java null pointer exception
    FndAttachedDocumentsDomExtensionVORowImpl AttachRow =
    (FndAttachedDocumentsDomExtensionVORowImpl)AttachAM.getFndAttachedDocumentsDomExtensionVO().getCurrentRow();
    String strCategory = AttachRow.getAttachmentCategoryName();
    oapagecontext.writeDiagnostics("tc.oracle.apps.ap.oie.webui.TCFinalReviewPageCO",
    "IM90978: 14-Feb-2013 14:32 strCategory = "+ strCategory, 2);
    //below is my full code
    package tc.oracle.apps.ap.oie.entry.summary.webui;
    import oracle.apps.ap.oie.entry.summary.webui.FinalReviewPageCO;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageAttachmentLinkBean;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.ap.oie.server.WebExpensesAMImpl;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageAttachmentLinkBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageInlineAttachmentBean;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.ap.oie.server.ExpenseReportHeadersVORowImpl;
    import oracle.apps.ap.oie.server.WebExpensesAMImpl;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean;
    import oracle.apps.fnd.server.FndAttachedDocumentsDomExtensionVORowImpl;
    import oracle.apps.fnd.server.FndAttachedDocumentsVORowImpl;
    import oracle.apps.fnd.server.*;
    import oracle.apps.fnd.server.OAAttachmentsService;
    import oracle.apps.fnd.server.OAAttachmentsAMImpl;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OARow;
    public class TCFinalReviewPageCO extends FinalReviewPageCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormData(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormData(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    String s = oapagecontext.getParameter("OIESubmit");
    if (s != null)
    OAMessageStyledTextBean oamessagestyledtextbean = (OAMessageStyledTextBean)oawebbean.findChildRecursive("ReceiptRequired");
    String strReceiptRequired = oamessagestyledtextbean.getText(oapagecontext);
    WebExpensesAMImpl am =
    (WebExpensesAMImpl)oapagecontext.getRootApplicationModule();
    ExpenseReportHeadersVORowImpl row =
    (ExpenseReportHeadersVORowImpl)am.getExpenseReportHeadersVO().getCurrentRow();
    String isPaperLessClaim = row.getAttribute5();
    OAApplicationModule RootAM = oapagecontext.getRootApplicationModule();
    //OAApplicationModule AttachAM = (OAApplicationModule)RootAM.findApplicationModule("OAAttachmentsAM");//doesnt work
    //OAApplicationModule AttachAM = (OAApplicationModule)RootAM.findApplicationModule("oracle_apps_fnd_server_OAAttachmentsAM");//get the AM handle but null VOs
    OAAttachmentsAMImpl AttachAM = (OAAttachmentsAMImpl)RootAM.findApplicationModule("oracle_apps_fnd_server_OAAttachmentsAM"); // I get error right here :(
    FndAttachedDocumentsDomExtensionVORowImpl AttachRow =
    (FndAttachedDocumentsDomExtensionVORowImpl)AttachAM.getFndAttachedDocumentsDomExtensionVO().getCurrentRow();
    String strCategory = AttachRow.getAttachmentCategoryName();
    oapagecontext.writeDiagnostics("tc.oracle.apps.ap.oie.webui.TCFinalReviewPageCO",
    "IM90978: 14-Feb-2013 14:32 strCategory = "+ strCategory, 2);
    if ("Required".equals(strReceiptRequired) && "Y".equals(isPaperLessClaim))
    // Receipt is required, check for required attachment
    oapagecontext.writeDiagnostics("tc.oracle.apps.ap.oie.webui.TCFinalReviewPageCO",
    "IM90978: 14-Feb-2013 14:32 both conditions met = ", 2);
    OAMessageAttachmentLinkBean oamessageattachmentlinkbean = (OAMessageAttachmentLinkBean)oawebbean.findChildRecursive("ReviewGenInfoHeaderAttachments");
    String strAttachment = (String)oamessageattachmentlinkbean.getAttributeValue(oapagecontext.getRenderingContext(), TEXT_ATTR);
    if("None".equals(strAttachment.trim()))
    oapagecontext.writeDiagnostics("tc.oracle.apps.ap.oie.webui.TCFinalReviewPageCO",
    "IM90978: 14-Feb-2013 14:32 before exception = ", 2);
    throw new OAException("XXTFA", "XXTFA_ATTACH_RECEIPT");
    else
    super.processFormRequest(oapagecontext, oawebbean);
    else
    super.processFormRequest(oapagecontext, oawebbean);
    else
    super.processFormRequest(oapagecontext, oawebbean);
    }

    Hi,
    Check and see the below code works or not, see which option suits for you,
    1) Check any attachment is there or not
    ======================================
    public boolean checkAttachment(OAPageContext oapagecontext,OAWebBean oawebbean)
    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    String amName = "";
    String objectivesAMName = "OAAttachmentsAM";
    String objectiveVOName = "FndAttachedDocumentsDomExtensionVO";
    String nestedAMArray[] = am.getApplicationModuleNames();
    oapagecontext.writeDiagnostics(this,"Root AM=>"+am.getName() + " Child AMs=>"+ nestedAMArray.length,1);
    OAApplicationModule currentAM = null;
    OAViewObject vo = null;
    boolean isAttachmentFound = false;
    currentAM = am;
    for(int i = 0; i < nestedAMArray.length; i++)
    amName = nestedAMArray;
    oapagecontext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
    currentAM = (OAApplicationModule)am.findApplicationModule(amName);
    //Get the view names
    oapagecontext.writeDiagnostics(this,"Nested AM Value "+currentAM.getName(),1);
    if(!(amName.indexOf(objectivesAMName)==-1))
    String[] viewNames = currentAM.getViewObjectNames();
    for (int j =0 ;j<viewNames.length ;j++ )
    if(viewNames[j].indexOf(objectiveVOName) > 0){
    vo = (OAViewObject)currentAM.findViewObject(viewNames[j]);
    if(vo!=null && vo.getFetchedRowCount() > 0){
    oapagecontext.writeDiagnostics(this,"View object name "+viewNames[j]+" Row Count"+vo.getFetchedRowCount(),1);
    isAttachmentFound = true;
    break;
    oapagecontext.writeDiagnostics(this,"Found Handle to My Nested AM " + amName ,1);
    return isAttachmentFound;
    2) Check the attachment count when the auto commit is false:
    public boolean checkAttachment(OAPageContext oapagecontext,OAWebBean oawebbean){
    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    String amName = "";
    String objectivesAMName = "OAAttachmentsAM";
    String objectiveVOName = "FndAttachedDocumentsDomExtensionVO";
    String nestedAMArray[] = am.getApplicationModuleNames();
    oapagecontext.writeDiagnostics(this,"Root AM=>"+am.getName() + " Child AMs=>"+ nestedAMArray.length,1);
    OAApplicationModule currentAM = null;
    OAViewObject vo = null;
    boolean isAttachmentFound = false;
    currentAM = am;
    for(int i = 0; i < nestedAMArray.length; i++)
    amName = nestedAMArray[i];
    oapagecontext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
    currentAM = (OAApplicationModule)am.findApplicationModule(amName);
    //Get the view names
    oapagecontext.writeDiagnostics(this,"Nested AM Value "+currentAM.getName(),1);
    if(!(amName.indexOf(objectivesAMName)==-1))
    String[] viewNames = currentAM.getViewObjectNames();
    for (int j =0 ;j<viewNames.length ;j++ )
    if(viewNames[j].indexOf(objectiveVOName) > 0){
    vo = (OAViewObject)currentAM.findViewObject(viewNames[j]);
    if(vo!=null && vo.getFetchedRowCount() > 0){
    oapagecontext.writeDiagnostics(this,"View object name "+viewNames[j]+" Row ount"+vo.getFetchedRowCount(),1);
    isAttachmentFound = true;
    break;
    oapagecontext.writeDiagnostics(this,"Found Handle to My Nested AM " + amName ,1);
    return isAttachmentFound;
    With regards,
    Kali.
    OSSi.

  • [svn:bz-trunk] 10026: Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints .

    Revision: 10026
    Author:   [email protected]
    Date:     2009-09-04 10:28:18 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • How to get handle to all HSSF worksheets

    Hi Friends,
    Is there any way we can get handle to all the worksheets in the excel file using apache POI classes..
    For eg:
    If there are 10 worksheets, how to get all the sheet names without using
    HSSFSheet sheet = wb.getSheetAt(0)
    Thanks and Regards,
    JG

    Hi masijade,
    I was not aware of the property getNumberOfSheets.
    Thanks for notifying me of that property.
    and this will property will resolve my issue.
    Thanks and Regards,
    JG

  • Need to reset 5G sometimes to get audio out from iPod connector

    When I connect the 5G (and my Nano also), to one of my 3 docks, I sometimes have to do a reset to get line out audio out of the iPod connector. Anyone else see this behavior?

    Good. Sometimes I get no output on my iTrip and have to reset my iPod, I didn't notice it getting better with the latest update - though I have now downgraded to V1.0 due to a few bugs in V1.1.
    Mike

  • How do you get sound through the dock connector to a PC or Mac?

    Where I work they have blocked the Pandora website. (Along with just about every other online radio site.) They don't mind if we listen to music, as long as it's not streamed online through their network.
    I have both a PC & a Mac on my desk.
    What I would like to do is listen to my Pandora app from my iPhone by plugging the dock connector into a Mac or PC. This would keep the battery drain to a minimum & allow for better quality.
    When I plug in the dock connector the phone starts charging & iTunes want's to sync. I can run the Pandora app, but no sound comes through the computer.
    Does anyone know how to get the audio to come from the dock connector & play through the computers sound card?

    You have several choices:
    1. Composite AV Cable: has a dock connector on one end and USB, RCA line out and RCA composite video on the other. It also comes with an AC Adaptor.
    2. Component AV Cable: same as the Composite AV Cable but with RCA component video.
    3. Universal Dock: has a dock connector socket on it and a line out socket.
    4. iPhone 3G Dock or the (original iPhone Dock): same as the Universal Dock but designed just for the iPhone.
    All you need is somewhere to plug the line out into.

  • How to get handle to a MST bean for a particular row in an advanced table

    Hi
    Requirement:
    My advanced table has 2 columns, the 1st one has a LOV and the 2nd one is a switcher which toggles from LOV to MST depending on the value in the 1st column.
    Implementation Steps:
    1) Trap LOV event in 1st column and pass row index to the AM
    2) Get the VO row from the row index (EVENT_SOURCE_ROW_REFERENCE), set the switcher attribute to MST/LOV depending on Business Logic
    3) Get the view attribute value of the 2nd column (to which LOV/MST is mapped).
    My LOV/MST gets rendered correctly on the page. However, when the LOV renders in the 2nd column, the view attribute is correctly populated in the LOV. But the MST renders with no value.
    I understand that the MST loses value on form submission and that this value needs to be set in the PR of the CO. For that how do I get a handle to the MST bean of the particular row?
    This is urgent!!
    Thanks
    Ritu

    Pointers?
    Anyway I can make the MST in the row return the correct view attribute?

  • Can I get handle to Database Row before an entity is deleted

    Hi,
    We are using stored procedure to list, insert , update and delete entity objects.To use the stored procedure I override the default queries generated by Toplink and make use of the stored procedure query.The issue here is that my Stored Procedure requires more arguments (like name of the user doing the insert) than there are fields in the entity.I need to provide these argument values to the call.For this I do something like
    session.getDescriptor(MyClass.class).getEventManager().addListener(new DescriptorEventAdapter(){
         public void aboutToInsert(DescriptorEvent evt) {
         evt.getRow().put("USER",evt.getSession().getProperty("username"));
    I set the username in the unitOfWork out of which I can grab the value in the eventHandler and put it inside the row just before insert.I do the same for modify too.But I dont see a similar methods for "delete".Do we have a aboutToDelete() method where I can get a handle to the row.The preDelete() does not provide a handle to the row.How can I insert additional arg values to the delete query?
    Thanks,
    Harini

    Hello Harini,
    Wow, you are correct there is no aboutToDelete, I guess manipulating the row before deletetion is not that common for our TopLink clients as this is the first request I have heard for it. I will add this request to our enhancement database. You might want to follow it up with support if it is a priority for you.
    As a workaround you could use the preDelete event to change the stored procedure call with the user name argument (i.e. build the procedure call dynamically in preDelete and set it into the query. The query will have been cloned at this point so there should be no concurrency issues. Make sure when doing this that you do not set the deleteQuery in the descriptor query manager as this will override the original query if set.
    Example:
    descriptor.getEventManager().addListener(new DescriptorEventAdapter() {
    public void preDelete(DescriptorEvent event) {
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("Delete_proc");
    call.addNamedArgument("P_ID", "ID");
    call.addNamedArgumentValue("USER", "scott");
    call.addNamedArgumentValue("TIME", new java.util.Date());
    event.getQuery().setCall(call);
    });

  • Serious bug when handling accented letters in language names

    Hello,
    While porting my linguistic plugin to CS5, I found a rather serious problem in the Windows version of CS5 (the Macintosh version works all right with the same code). Language names containing any accented letters (anything beyond the basic ASCII range, so even a non-Unicode-only one between 128 and 255) are treated completely wrong. ID doesn't recognise a document created in a previous ID version as having the same language (comparing the language names seems to be corrupt). ID doesn't allow the actual language to be re-selected manually in the Character or Paragraph Styles Edit dialog, it will revert to the erroneously parenthesized version of the same language.
    The final proof that points to an ID bug rather than something in my own code is that the language name corruption can be clearly seen when two documents are created with the same language both on Macintosh and Windows. By looking into the .indd file with a hex editor, the Mac version stores the language name correctly, including the accented letters, the Windows version stores it up to the first accented letter, and replaces the rest with garbage.
    Is there any way to get in touch with an ID developer responsible for this area to verify this problem and to determine whether it could be worked around somehow?
    Bye,
      Gábor

    Ah, solved... It was user error. The files in question were missing from the disk in iTunes library, so of course they were missing on my Apple TV too.
    What happened. I have two laptops, and iTunes libraries on them got a bit out of sync over time. So I consolidated them on one laptop and made backup copy (probably using ssh/scp and/or tar) to my Linux box. Then I wiped out the iTunes library on my second laptop, and copied entire content of iTunes directory over SMB. Well, guess what, any file that had accented letters in the file name was not copied over (not sure if this is limitation of SMB as a protocol, Samba server on Linux side, or Samba client on Mac OS X side). The iTunes database on second laptop (to which Apple TV was syncing) now contained references to the files that were no longer present on the disc. When syncing to the Apple TV, iTunes would notice there are songs referenced in the database that were not present on Apple TV, try to copy them and fail (since the referenced files did not exist) over and over again.
    I've just located all missing files, spc-ed them over where they should be inside iTunes library, and all is working fine now.
    I wish there was a way to have automatic two-way sync between iTunes libraries on my desktops/laptops, instead of having to move files around manually...

Maybe you are looking for

  • Changeable image using table view iterator

    Hello Forum - I have a tableview iterator working using cl_htmlb_image class. The icon shows up perfectly based on the column value (X=green; space=red). I would now like to click on the icon (just like clicking on checkbox) and turn the color from r

  • Link to Download LR 5 trial won't world - won't even start downloading!

    I have singed in, checked my mac has enough space, done everything and when I click on download button it won't strat downloading! Seems like a website failure but I urgently need the programme for my course tomorrow... can anyone help me please? Tha

  • Text on top of an image in a component

    How do I get text on top of an image in a component? ImageIcon icon = new ImageIcon("foo.jpg"); JLabel label = new JLabel(); label.setIcon(icon); // this prints next to, not on top of, the image label.setText("Hello"); if I add this: label.setHorizon

  • Can I output XML to a buffer?

    Given a DOM node (such as the one resulting from xslprocess), how can I convert it to a string of XML? The XSLSample program uses the XSLProcessor.printres() method to print the XML to stdout, but I need the output in a memory buffer. I'm using the C

  • License file error ?

    Hi, Our admin team getting suddenly db2 db license related error. SQL8006W The product does not have a valid license key installed. System is giving error. After install sap license key we supplied. Is there any mistake that db team made with license