Marshal Exception while sending BigDecimal(0.00)

Hello..
I have a bunch of attributes in my class A which is ofcourse Serializable. One of my field is of type BigDecimal, which is causing a MarshallException when the value in the BigDecimal is 0.00.
If I replace the call with objA.setBigDecimalValue(null) it works!!! Any inputs?
I am using WSAD.
thanks,
sanjay.

hello pradeep,
thanks for your reply....
answers to your questions
=====================
Did you face this exception with value 0.00 only or with other value too ?only with 0.00
How the BigDecimal is being initialized, using constant inside BigDecimal >>class or using Constructor ? I am using it as returnValue.setValue(new BigDecimal(0.00));
so I guess the answer is using constructor
sanjay.

Similar Messages

  • I'm getting an exception while sending a mail . .

    i'm get an excpetion while sending a mail, example i'm getting
    this particular error
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
    at MailTest.<init>(MailTest.java:25)
    at MailTest.main(MailTest.java:42)
    this is my code
    pls help me out
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class MailTest
         String mailHost = "mail.business-functions.com";
         String to = "[email protected]";
         String from = "[email protected]";
         String subject = "This is Test Mail Thru Java Mail API";
         String body = "This is Test Mail to check whether the Java Mail APi is Working or not. This is prototype developed by Snehal K gandhi of Business Functions Software Solutions Pvt Ltd.";
         Provider provider;
         public MailTest()
              try
                   Properties props = System.getProperties();
                   props.put("mail.smtp.host", mailHost);
                   Session session = Session.getInstance(props,null);
                   Message message = new MimeMessage(session);
                   message.setFrom(new InternetAddress(from));
                   message.setRecipients(Message.RecipientType.TO,new InternetAddress[]{new InternetAddress(to)});
                   message.setSubject(subject);
                   message.setContent(body, "text/plain");
                   Transport.send(message);
                   System.out.println("Mail has been Sent");
              catch(MessagingException me)
                   System.out.println("2. Error While Sending the Mail and the exception is : " + me.toString());
         public static void main(String arg[])
              new MailTest();
    ***********************************************************************/

    <sigh>
    You need activation.jar in your classpath and or
    import javax.activation.*;
    See the JavaMail Readme for more info.
    If you haven't got JAF get it here
    http://java.sun.com/products/javabeans/glasgow/jaf.html
    Rgds,
    SH

  • Exception while sending mesg in a lan environment using PTP

    hi
         i have a problem while running the simpleQueueSender/Receiver in mutilple system(in Lan environment). i follow the steps given in the tutorial under (Running JMS Client Programs on Multiple Systems) where they have said .
    On sender end, create a connection factory with the same name that points to the server on receiver. Enter a command like the following:
    j2eeadmin -addJmsFactory jms/EarthQCF queue -props
    url=corbaname:iiop:earth:1050#earth
    * what i need to know is what command have i to give
    * what those corbaname:iiop and #earth mean here.
    note:: i work in a linux OperatingSystem so what command i have to give to run my application.
    when i try to run the application by giving the
    j2eeadmin -addJmsFactory jms/EarthQCF queue -props url=hostname of my m/c:1050#hostname of my m/c
    then i have changed the lookup to jms/EarthQCF and recomplied as told and while running the sender end the error what i got was,
    Queue name is MyQueue
    Java(TM) Message Service 1.0.2 Reference Implementation (build b14)
    SEVERE unable to locate resource bundle: com.sun.jms.LocalStrings
    SEVERE unable to locate resource bundle: com.sun.jms.LocalStrings
    Exception in thread "main" java.lang.NullSointerE ception     &at com.sun.jms.client.ConnectionImpl.invokeRemoteCreateConnection(ConnectionImpl.java:149)
    at com.sun.jms.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:293)
    at com.sun.jms.QueueConnectionFactoryImpl.createQueueConnection(QueueConnectionFactoryImpl.java:77)
    at com.sun.jms.QueueConnectionFactoryImpl.createQueueConnection(QueueConnectionFactoryImpl.java:58)
    at com.sun.enterprise.jms.ConnectionFactoryWrapperStandalone.createQueueConnection(ConnectionFactoryWrapperStandalone.java:44)
    at SimpleQueueSender.main(SimpleQueueSender.java:90)
    advance thanx for the helping brain's
    perums

    hello
         this is perums y dont u help
    perums

  • Java Client throws exception – while sending NTLMV2 Response from WIN7 to W

    We have written a Java client which connects to a webservices application using NTLM authentication against Windows 2008 R2 Server (using IIS7). This program works fine when running from Windows XP, Linux but failing when running from Windows 7.
    Error encountered is: java.io.IOException: Authentication failure.
    Here is what we have written to connect to HTTPS with credential using SSLContext as mentioned below.
    SSLContext sc = SSLContext.getInstance( "SSL" );
    sc.init( null, trustAllCerts, new java.security.SecureRandom() );
    HttpsURLConnection.setDefaultSSLSocketFactory( sc.getSocketFactory() );
    ( ( HttpsURLConnection )( m_oHttpURLConnection ) ).setHostnameVerifier( this );
    URL url = new URL("https://testsite...");
    HttpsURLConnection m_oHttpURLConnection = (HttpsURLConnection) url.openConnection();
    Following properties are set to HttpsURLConnection:
    RequestMethod : GET
    InstanceFollowRedirects : true
    AllowUserInteraction : true
    UseCaches : false
    DoOutput : true
    DoInput : true
    After setting all the above parameters the following code is used to set credentials data and connect to site
    Authenticator.setDefault(new MyAuthenticator ());
    m_oHttpURLConnection.connect();
    After connection is successful request XML is sent to server and expecting a response from the server. So when the below line is called exception is thrown.
    m_oHttpURLConnection.getResponseCode();
    Exception :
    java.io.IOException: Authentication failure
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1173)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
    After changing LAN Manager Authentication level setting of Windows 7 from “Send NTLMv2 response only” to “Send LM & NTLM – use NTLMv2 session security if negotiated”, application is working fine.
    Local Security Settings àSecurity SettingsàLocal Policies à Security Optionsà Network security: LAN Manager Authentication level
    By default in Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2: Send NTLMv2 response only , Lowering the security level at the client end is bit risk and typically is not recommended.

    this subforum is about Kerberos and GSS and not about NTLM. Why are you hasseling with NTLM? Take Kerberos.

  • WLI 7.0 - XOCP Transport Exception while sending message in B2B Integration

    Hi,
    I am trying to implement B2B integration on two WLI Servers . I have done the
    configuration of
    Trading Partners, Conversation and Collaboration Agreements on both the machines.
    The business protocol used is XOCP. I am trying to implement XOCP
    Peer-to-Peer Messaging with one WLI server(first) having two trading partners
    configured, one with a Hub delivery channel and the other with a spoke delivery
    channel.One Trading Partner(with a spoke delivery channel) is configured on the
    other WLI server(second).
    When I start the second WLI server (the other Trading Partner) I get the following
    error on the console:
    <Error> <B2B> <000000> <<CA> ERROR: Failed to register Collaboration Agreement
    WLP_SERVER/10.3.8.183:57bef0:f8f7b78128:-8000 with error ERROR: Failed to join
    Channel, received null reply.>
    At the same time the WLI server of the first Trading Partner shows the following
    error:
    <Error> <B2B> <000000> <<XOCP-Protocol> ERROR: CA received WLP_SERVER/10.3.8.183:2aabf2:f8f7c4b9f2:-8000
    in XOCP message
    http://10.3.8.183:9001/ExampleReplierPartner:JoinCSpace_ExampleReplierPartner_1069318538697:0
    not found in repository. Rejecting the message...>
    <Error> <B2B> <000000> <<XOCP-Protocol> ERROR: While decoding XOCP request, received
    transport exception: ERROR: CA received WLP_SERVER/10.3.8.183:2aabf2:f8f7c4b9f2:-8000
    in XOCP message
    http://10.3.8.183:9001/ExampleReplierPartner:JoinCSpace_ExampleReplierPartner_1069318538697:0
    not found in repository. Rejecting the message...>
    Please find attached the files with WLI console errors for your reference.
    Any help on solving this problem would be highly appreciated.
    Nirupama Srivastava
    MBT, MUMBAI
    [B2BError.zip]

    Hi,
    I am trying to implement B2B integration on two WLI Servers . I have done the
    configuration of
    Trading Partners, Conversation and Collaboration Agreements on both the machines.
    The business protocol used is XOCP. I am trying to implement XOCP
    Peer-to-Peer Messaging with one WLI server(first) having two trading partners
    configured, one with a Hub delivery channel and the other with a spoke delivery
    channel.One Trading Partner(with a spoke delivery channel) is configured on the
    other WLI server(second).
    When I start the second WLI server (the other Trading Partner) I get the following
    error on the console:
    <Error> <B2B> <000000> <<CA> ERROR: Failed to register Collaboration Agreement
    WLP_SERVER/10.3.8.183:57bef0:f8f7b78128:-8000 with error ERROR: Failed to join
    Channel, received null reply.>
    At the same time the WLI server of the first Trading Partner shows the following
    error:
    <Error> <B2B> <000000> <<XOCP-Protocol> ERROR: CA received WLP_SERVER/10.3.8.183:2aabf2:f8f7c4b9f2:-8000
    in XOCP message
    http://10.3.8.183:9001/ExampleReplierPartner:JoinCSpace_ExampleReplierPartner_1069318538697:0
    not found in repository. Rejecting the message...>
    <Error> <B2B> <000000> <<XOCP-Protocol> ERROR: While decoding XOCP request, received
    transport exception: ERROR: CA received WLP_SERVER/10.3.8.183:2aabf2:f8f7c4b9f2:-8000
    in XOCP message
    http://10.3.8.183:9001/ExampleReplierPartner:JoinCSpace_ExampleReplierPartner_1069318538697:0
    not found in repository. Rejecting the message...>
    Please find attached the files with WLI console errors for your reference.
    Any help on solving this problem would be highly appreciated.
    Nirupama Srivastava
    MBT, MUMBAI
    [B2BError.zip]

  • Getting exceptions while sending mail using javamail api

    Hi to all
    I am developing an application of sending a mail using JavaMail api. My program is below:
    quote:
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class sms
    public static void main(String args[])
    try
    String strstrsmtserver="smtp.bol.net.in";
    String strto="[email protected]";
    String strfrom="[email protected]";
    String strsubject="Hello";
    String bodytext="This is my first java mail program";
    sms s=new sms();
    s.send(strstrsmtserver,strto,strfrom,strsubject,bodytext);
    catch(Exception e)
    System.out.println("usage:java sms"+"strstrsmtpserver tosddress fromaddress subjecttext bodyText");
    System.exit(0);
    public void send(String strsmtpserver,String strto,String strfrom ,String strsubject,String bodytext)
    try
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Properties p=new Properties(System.getProperties());
    if(strsmtpserver!=null)
    p.put("mail.transport.protocol","smtp");
    p.put("mail.smtp.host","[email protected]");
    p.put("mail.smtp.port","25");
    Session session=Session.getDefaultInstance(p);
    Message msg=new MimeMessage(session);
    Transport trans = session.getTransport("smtp");
    trans.connect("smtp.bol.net.in","[email protected]","1234563757");
    msg.setFrom(new InternetAddress(strfrom));
    msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(strto,false));
    msg.setSubject(strsubject);
    msg.setText(bodytext);
    msg.setHeader("X-Mailer","mtnlmail");
    msg.setSentDate(new Date());
    Transport.send(msg);
    System.out.println("Message sent OK.");
    catch(Exception ex)
    System.out.println("here is error");
    ex.printStackTrace();
    It compiles fine but showing exceptions at run time.Please help me to remove these exceptions.I am new to this JavaMail and it is my first program of javamail.Please also tell me how to use smtp server.I am using MTNL 's internet connection having smtp.bol.net.in server.
    exceptions are:
    Here is exception
    quote:
    Javax.mail.MessagingException:Could not connect to SMTP host : smtp.bol.net.in, port :25;
    Nested exception is :
    Java.net.ConnectException:Connection refused: connect
    At com.sun.mail.smtp.SMTPTransport.openServer<SMTPTransport.java:1227>
    At com.sun.mail.smtp.SMTPTransport.protocolConnect<SMTPTransport.java:322>
    At javax.mail.Service .connect(Service.java:236>
    At javax.mail.Service.connect<Service.java:137>
    At sms.send<sms.java:77>
    At sms.main<sms.java:24>

    Did you find the JavaMail FAQ?
    You should talk to your ISP to get the details for connecting to your server.
    In this case I suspect your server wants you to make the connection on the
    secure port. The FAQ has examples of how to do this for GMail and Yahoo
    mail, which work similarly. By changing the host name, these same examples
    will likely work for you.

  • Exception while sending mail using javamail

    below i am using the code to send a mail to [email protected]
    but it is giving exception
    "class com.sun.mail.smtp.SMTPSendFailedException: 554 <[email protected]>: Recipient address rejected: Relay access denied"
    please can any body help me to solve this problem
    Properties props = new Properties();
    props.put("mail.smtp.host", "xxxxxxxxxxxxx");
    Session s = Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress to = new InternetAddress("[email protected]");
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("Test from JavaMail.");
    message.setText("Hello from JavaMail!");
    Transport.send(message);

    I was getting the same error as the others, and I added authentication, but it still gives me the error.
    All "AutomailingUtility" constants are strings
    public class SMTPSender {
    private Session session;
    public SMTPSender() {
    Properties props = new Properties();
    props.setProperty("mail.smtp.host", AutomailingUtility.HOST);
    props.put("mail.smtp.auth", AutomailingUtility.AUTH);
    Authenticator auth = new MyAuthenticator(AutomailingUtility.USERNAME, AutomailingUtility.PASSWORD);
    session = Session.getInstance(props, auth);
    public void sendMessage(String toUser, String message, String subject) {
    try {
    Message msg = new MimeMessage(session);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    InternetAddress ia = new InternetAddress(AutomailingUtility.FROM_ADDRESS);
    msg.setFrom(ia);
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(toUser));
    msg.setText(message);
    Transport.send(msg);
    } catch (AddressException e) {
    e.printStackTrace();
    } catch (MessagingException e) {
    e.printStackTrace();
    any ideas?

  • Classcast exception while sending objects to the server

    I'm getting classcast exception when i try to send objects from the java webstart application at the client side to a server. Its working fine if I do the same without using javaweb start. I'm using hessian client to send objects to the server.
    I've a web app that gets outlook contacts from the client machine and send those to the server. I'm sending these contacts as custom objects(OutlookContact) to the server using hessian client. But these objects are being sent to the server as String objects but not as OutlookContact objects. I don't know whats happening. Can anyone please tell me is there any setting that I need to set in the jnlp file.
    thanks,
    Jayaram

    I am also getting the same error. Please anybody can help

  • Exception while sending json payload

    getting this exception when i send a json payload for auhtentication to a rest service
    Content-Type: application/json {"X-Idaas-Rest-Subject-Type":"USERCREDENTIAL","X-Idaas-Rest-Subject-Username":"weblogic","X-Idaas-Rest-Subject-Password":"weblogic","X-Idaas-Rest-New-Token-Type-To-Create":"USERTOKEN"}
    java exception running circuit: java.lang.NullPointerException at com.vordel.circuit.CircuitActivationProcessor.getGeneratedAttributesFromStack(CircuitActivationProcessor.java:26) at com.vordel.circuit.CircuitActivationProcessor.invoke(CircuitActivationProcessor.java:54) at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:160) at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:52) at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.java:241) at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:36) at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:300) at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:166)

    could you provide the policy flow also.
    From the exception it looks like there is something wrong with the authentication part as if it is not getting the required attributes.

  • Exception while sending Mail

    Hi I am getting javax.mail.sendFailedException: InvalidAddreses
    nested exception is class com.sun.mail.smtp.SMTPAddressFailedException:553 sorry that domain isn't in my list of allowed rcpthosts<#5.7.1>
    Here my Program:
    package com.fortune2win.mail;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    // Send a simple, single part, text/plain e-mail
    public class SendMail {
    public void sendMail(String TO,String secCode, String UserNumber){
                                                                          // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
    String from = "[email protected]";
                                                                          // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
    String host = "207.234.145.236";
                                                                          // Create properties, get Session
    Properties props = new Properties();
              props.put("mail.transport.protocol","smtp");
                                                                          // If using static Transport.send(),
                                                                          // need to specify which host to send it to
    props.put("mail.smtp.host", host);
                                                                               // To see what is going on behind the scene
    props.put("mail.debug", "true");
    Session session = Session.getDefaultInstance(props);
    try {
                                                                               // Instantiatee a message
    Message msg = new MimeMessage(session);
                                                                               //Set message attributes
    InternetAddress addressFrom = new InternetAddress(from);
              msg.setFrom(addressFrom);
                   InternetAddress[] address = {new InternetAddress(TO)};
                   msg.setRecipients(Message.RecipientType.TO,address);
    msg.setSubject("F2W Player's Intimation");
                                                                               // Set message content
    msg.setText("Thank You for playing F2W online game.\n \n"+
    "CONGRATULATIONS\n \n "+
    "Your Number:" UserNumber""+"is a valid entry. \n"+
    "Your Security Code:"+""+secCode+""+"\n" +
    "You are entitled to claim the prize only if you produce a print of this mail."+
    "\n Click www.fortune2win.com/home_index.jsp for prizedetails.\n");
                                                                               //Send the message
    Transport.send(msg);
    catch (MessagingException mex) {
                                                                               // Prints all nested (chained) exceptions as well
    mex.printStackTrace();
                                                                                    //End of class
    Plz it urgent...Help me

    Hi thanks for the reply.
    But the TO addreass I specified in the argumentlist. that is outside the program.
    But the mails are going to with in the same host that is under given host address(XXX.XXX.XXX.XXX) .
    Wht I mean is..mails are going with in my company...but outside mails are not going...like yahoo/gmail..etc..
    plz help .
    TO address i am taking from Form textbox
    Regards
    Varma

  • CPALookupException while sending a Test message to Adapter engine

    Hello Experts,
    I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
    Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
    This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
    Thanks in advance.
    Regards
    Rajeev

    Error is clearly saying that it is unable to find receiver agreement for that particular interface.
    Please check your receiver agreement for the interface.
    If your receiver agreement is fine then do CPA cache refresh using following URL:-
    http://<host>:<port>/CPACache/refresh?mode=full

  • Uncaught Exception occured while sending mail through abap code.

    Hi,
    Uncaught Exception occured while sending mail through abap code.Run time Errors "UNCAUGHT_EXCEPTION" occured after excuting the call method  CALL METHOD SEND_REQUEST->SEND( ).kindly help in resolving the issue.

    HI,
    Runtime Error:  UNCAUGHT_EXCEPTION details.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_ADDRESS_BCS
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_ADDRESS_BCS' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program 'SAPLZSEND_MAIL' has to be
         terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_ADDRESS_BCS', was not caught in
        procedure "SEND_MAIL" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An exception occurred
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_ADDRESS_BCS"
        "SAPLZSEND_MAIL" or "LZSEND_MAILU01"
        "ZSEND_EMAIL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SEND_MAIL" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    Please help me to resolve this issue.

  • JMS Exception while trying to send a message on Login

    I am getting the following exception while trying to send a JMS message after the login.
    2012-06-01 12:09:30,688 ERROR [nucleusNamespace.com.tesco.events.manager.ILActivityManager] JMSException Occured
    javax.jms.JMSException: A transaction-related exception occurred while trying to obtain a JMS Session from provider "Login": javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted] Can't register synchronization because the transaction is in aborted state
         at atg.dms.patchbay.SessionManager.getSession(SessionManager.java:190)
         at atg.dms.patchbay.Provider.getQueueSession(Provider.java:632)
         at atg.dms.patchbay.OutputDestination.getPooledSession(OutputDestination.java:268)
         at atg.dms.patchbay.OutputPort.getPooledSession(OutputPort.java:156)
         at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:848)
         at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:546)
         at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:557)
         at com.tesco.events.manager.ILActivityManager.sendLogMessage(ILActivityManager.java:81)
         at com.tesco.events.manager.ILActivityManager.logActivity(ILActivityManager.java:69)
         at com.tesco.events.listener.ATGLogEventListenerImpl.logActivity(ATGLogEventListenerImpl.java:46)
         at com.tesco.events.source.ATGLogEventSource.logActivity(ATGLogEventSource.java:61)
         at com.tesco.ecom.userprofiling.ProfileFormHandler.postLoginUser(ProfileFormHandler.java:2022)
         at com.tesco.ecom.userprofiling.ProfileFormHandler.handleLogin(ProfileFormHandler.java:1191)
         at sun.reflect.GeneratedMethodAccessor1140.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at atg.droplet.EventSender.sendEvent(EventSender.java:582)
         at atg.droplet.FormTag.doSendEvents(FormTag.java:791)
         at atg.droplet.FormTag.sendEvents(FormTag.java:640)
         at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
         at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.tesco.ecom.userprofiling.AssignCookieServlet.service(AssignCookieServlet.java:139)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.spindrift.sitebuilder.request.AuthServlet.service(AuthServlet.java:74)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.tesco.ecom.userprofiling.LoginControlServlet.service(LoginControlServlet.java:61)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.tesco.ecom.userprofiling.AccessControlServlet.processExpiredSession(AccessControlServlet.java:645)
         at com.tesco.ecom.userprofiling.AccessControlServlet.service(AccessControlServlet.java:392)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.tesco.bns.droplets.AddingRecentlyViewedDroplet.service(AddingRecentlyViewedDroplet.java:235)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:396)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at com.tesco.servlet.pipeline.LogOutputFilterServlet.logWithMdc(LogOutputFilterServlet.java:68)
    Edited by: 915252 on Jun 4, 2012 2:39 AM

    Hi,
    you may be interested in a solution I tracked down at http://support.bea.com/application?namespace=askbea&origin=ask_bea.jsp&event=button.search_ask_bea&askbea_display=relevancy&askbea_max_number_returned=50&question=weblogic.jms.common.JMSException%3A+Connection+not+found&all_bea_products=all_bea_products&ES=ES#
    Basically : you need to have your Weblogic servers, JMS servers and JMS stores
    on each domain named uniquely !!!
    "Joe Mooney" <[email protected]> wrote:
    >
    Any news on this one ?
    "B Liu" <[email protected]> wrote:
    Can u tell me how you supplied the required security credentials?
    Thanks,
    -Ben
    "Andy" <[email protected]> wrote:
    Hi.
    I have a situation where I am sending an JMS message to external queue
    on Weblogic
    Server which is not part of cluster. This happens in a session bean,which
    is wrapped
    in a container transaction. I have supplied the required security credentials
    like user, password etc.
    I get an error while tryign to send the message through bean. The stack
    trace
    is :
    weblogic.jms.common.JMSException: Connection not found
    at weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java:136)
    at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:596)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
    at weblogic.jms.client.JMSConnection.createSessionInternal(JMSConnection.java:400)
    at weblogic.jms.client.JMSConnection.createQueueSession(JMSConnection.java:347)
    also one thing interesting is that if I call the same server and queue
    outside
    of the session bean,it works fine.
    Any ideas what might be causing the issue?
    Thanks
    Andy

  • Issue while sending a zipped file from ABAP to JAVA layer

    Hi All,
    I have a requirement wherein i have to zip a xml file in abap, convert it to base64 encoded string and send it to JAVA layer.
    I'm using the class CL_ABAP_ZIP for zipping the xml string and FM "SCMS_BASE64_ENCODE_STR" to convert the zipped data to base64 encoded string.
    But on the JAVA layer we get an exception while unzipping this data.
    Has anybody come across a similar situtation.
    Please help.
    Regards,
    Ankit Agrawal

    Example
    REPORT  Z_PAP_UP_ZIP_DL.
    DATA: L_ZIPPER TYPE REF TO cl_abap_zip.
    DATA: FILEX type XSTRING.
    DATA: FILENAME type string.
    DATA: PATH type string.
    DATA: zip type xstring.
    DATA: FILE_N_TAB type FILETABLE.
    DATA: FULL_PATH type string.
    DATA: FILE_LENGTH type i.
    DATA: FILE_TAB type w3mimetabtype.
    DATA: WA_INT type int4.
    DATA: PATH_TABLE TYPE TABLE of char1024.
    "    Load the file
    "Which file to upload
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      CHANGING
        FILE_TABLE              = FILE_N_TAB
        RC                      = WA_INT
    "load the (first) file from the frontend the user has selected.
    LOOP at FILE_N_TAB into FULL_PATH.
    "get the file
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
         EXPORTING
           FILENAME                = FULL_PATH
           FILETYPE                = 'BIN'
        IMPORTING
          FILELENGTH              = FILE_LENGTH
        CHANGING
          DATA_TAB                = file_tab.
        exit.
    endloop.
    "create xstring from table
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
      EXPORTING
        INPUT_LENGTH       = FILE_LENGTH
      IMPORTING
        BUFFER             = FILEX
      TABLES
        BINARY_TAB         = file_tab
    "get the name of the file. we take entry after the last '\' ...windows.
    SPLIT FULL_PATH AT '\' INTO TABLE PATH_TABLE.
    DESCRIBE TABLE PATH_TABLE LINES WA_INT.
    READ TABLE PATH_TABLE INTO FILENAME INDEX WA_INT.

  • Custom SharePoint 2010 designer page throws "The data source control failed to execute the insert command" exception while adding the new item after the August 13, 2013 CU has installed

    We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
    August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values)     at
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65  w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
    failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)     at System.Web.UI.DataSourceView.Insert(IDictionary
    values, DataSourceViewOperationCallback callback)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65* w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
    Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
    instead of only "Daughter".
    Please provide the solution to get rid of this issue.
    Thanks
    Ramasubbu

    Try below:
    http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
    http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
    While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
    'i' and I was working with an Edit Form. Changing it to
    'u' as it was with every other FormField fixed the issue.
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
    />
    Explanation:
    DataBind operation type parameters (the first parameter) are listed below:
    'i' stands for INSERT,
    'u' stands for UPDATE,
    'd' stands for DELETE.
    http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • Payment advice for multiple vendors using F110

    Hi all I am facing problem while printing Multiple vendors payment advice using transaction F110.I am getting layout for first vendor only( using Tcode ). when I execute on via program I am getting below error. "An unallowed overflow of the main wind

  • Max number of IP phones per blade

    I have read in aCisco manual that the maximum number of IP phones is 18, assuming they use 15,4Watt. On a WS-X4148-RJ45V combined with a PWR-C45-4200ACV that leaves us with 30 ports we can not use for VoIP useing PoE. Or am I wrong?

  • New Quad-G5 with Apple 30" display WON'T DISPLAY THE COLOR BLACK???!!!!

    Just got this system up and running with all my software and for some reason if I show video with an all black screen there are blue lines tarnishing the image. If I let the computer go to sleep and then wake it up any black is afflicted with the sam

  • URGENT: Errors in module RSQL of the database interface.

    hi    i got a error while i was doing data replication from R/3 to SRM.pls send details to my mail id [email protected] as soon as possible.   kind regards to all.

  • OSX 10.8.5 on new MacPro?

    is it possible to run on new Mac Pro osx 10.8.5 on ext HD or partitioon? thanks for your help