Java heapsize usage increases while streaming messages

Hello,
We have created a scenario in which BlazeDS has been connected to a JMS topic. We noticed that every time a message is pushed into the JMS pipe, the Java heapsize usage increases. After we analysed a heap-dump, it appeared that the FlexClient object keeps all received message in-memory. From reading up on forums and documentation (and even bug-reports), this apparently works as desgined.
However, we are using the flex application for some sort of always-on, always-connected display application. If the application is never switched off or disconnected, the messages that are stored in-memory just accumulate are never released anymore. Obviously this works like a time-bomb, eventually leading to an out-of-memory server-crash.
I wonder if it is possible to change this behaviour of BlazeDS, preferrably without creating a custom queue processor. Any experts in this area that could guide me in the right direction?
Thanks in advance!
Cheers,
Jan

Jan,
Sorry I misread your post.
The bug I attached in the previous message is about AsyncMessage.
I  am having the same problem as you, and I couldn't find a way to replicate this.
The problem comes with heavy load of the server, from different sessions creating lots and lots of threads right?
I profiled this and I've seen many and many threads blocked
If you find a way to replicate this bug please tell me.
I tried with a Thread that dispatches a lot of messages but it doesn't work cause blaze creates only one session for that thread.
(in JMS mode)
I am going to try with Jmeter.
I really  need to know if the bug that we have can be fixed with the bug report I attached before.
We can help each other...jejej
Carlos.

Similar Messages

  • Java.lang.OutofmemoryError while loading message in mapping

    Hi,
    I encountered a Strange problem while performing message mapping.
    I have to transform Orders05 message into another message format(the size of the XSD file is 17 KB) which has got 100 elements(approx count) in it.
    After selecting the source message(Orders05) when i tried to select the target message (whihc was imported into XI as external definations), the system hangs up and i get below error message.
    <b>Display Problem
    java.lang.OutofmemoryError
    Internal problem occurred (INTERNAL_PROBLEM)
    MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM</b>
    The system i tried this was a P4-processor512 MB RAM. so i used my laptop(1 GB RAM Intel centrino) to perform the same. But no change in message mapping, but the only thing i noticed was the system did not hangup.
    Later i went to perform the same mapping on the server 3 GB RAM, dual processor. Initially the message could be selected as target field. But after performing 2-3 field level mapping, the Design time hanged up. I had to close the session and open up again to perform 2-3 field mappings again. This went on for over 20 times and only then i could finish the entire mapping.
    I have never encountered such a problem earlier. Is there any solution to rectify this. My problem is, i have to perform 10 such mappings :-((
    Here is the complete errror i got .
    Internal problem occurred (INTERNAL_PROBLEM)
    MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM
    STACKTRACE:
    com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)
        at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:362)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.OutOfMemoryError
    STACKTRACE:
    Regards,
    Siva Maranani

    Hi Siva,
    Goto the exchange profile via URL
    http://<>:port/exchangeProfile, goto
    IntegrationBuilder in the left tree and increase parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 768m (or higherif necessary). Press the save button.
    Goto http://<>:port/rep/support/admin/index.html,
    press AII Properties on the left side and then press the REFRESH button until you see the new value on the right side.
    if the problem is no resolved even after doing the above, take a look at a look at note:
    580351 Java WebStart troubleshooting in XI 2.0
    855471
    (This note is also valid for XI3.0)
    Cheers,
    Naveen
    Message was edited by: Naveen Pandrangi

  • Jdev11.1.1.6.0-Error while translating message to native format-FileWrite

    Im reading a file from a service and transforming the data and writing them into a file through the external reference using a Mediator component.
    I have no problem while building or deploying.
    But while executing I get an error as follows:
    Non Recoverable System Fault :
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'WriteAppointmentRequestInLogFile' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    My input is a File Adpater Read operation and output is File Adapter Write operation.
    The schemas are as below:
    Input schema:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    targetNamespace="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    <xsd:element name="doctorAppointmentRequestRoot"><xsd:complexType>
    <xsd:sequence>
    <xsd:element name="doctorAppointmentRequest" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C7" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C9" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C10" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C11" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C12" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C13" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C14" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C15" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Output Schema:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    targetNamespace="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    <xsd:element name="AppointmentRequestsLog"><xsd:complexType>
    <xsd:sequence>
    <xsd:element name="AppointmentRequest" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C3" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C7" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C9" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <!--NXSDWIZ:C:\SOAHandbook\DoctorsAppointmentRequestProcessor\DoctorAppointmentRequestProcessor\samples\Logged_DoctorsAppointmentRequestFile.txt:-->
    <!--USE-HEADER:false:-->
    Transformation XSL used in Mediator:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/ReadFileDoctorsAppointmentRequest"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:imp1="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:ns1="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
    xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/LogDoctorAppointmentRequests"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl tns pc plt wsdl imp1 jca xsd ns1 ns0 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref bpmn ldap">
    <xsl:template match="/">
    <ns1:AppointmentRequestsLog>
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C4>
    <xsl:value-of select="concat(/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2,/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C3)"/>
    </ns1:C4>
    <ns1:C5>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C4"/>
    </ns1:C5>
    <ns1:C6>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C5"/>
    </ns1:C6>
    <ns1:C7>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C12"/>
    </ns1:C7>
    <ns1:C8>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C14"/>
    </ns1:C8>
    <ns1:C9>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C15"/>
    </ns1:C9>
    </ns1:AppointmentRequest>
    </ns1:AppointmentRequestsLog>
    </xsl:template>
    </xsl:stylesheet>
    Just in case if you are aware, Im trying the example in Lucas Jellema's book Chapter 7 and Im getting the error there in the first example project.
    I have seen few very old threads on this problem in the forum but none of them had any answers so opening up a new one.
    Thanks.

    Your transformation with for-each look is incorrect.
    This is what you have right now:
    <ns1:AppointmentRequestsLog>
    <xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C3>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2"/>
    </ns1:C3>This is the correct way to write for-each within XSLT:
    <ns1:AppointmentRequestsLog>
    <xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C3>
    <xsl:value-of select="imp1:C2"/>
    </ns1:C3>Also, check the flow trace in the EM console for the instance which errored out and paste here the data which is being sent to the FileWrite Adapter. Also, you need to ensure that any elements which are defined as xs:int should not have empty string as values. For example in your write schema C3 has int. So you should map C3 in XSLT like following:
    <xsl:choose>
    <xsl:when test="imp1:C2 and string-length(imp1:C2) > 0">
    <ns1:C3>
    <xsl:value-of select="imp1:C2"/>
    </ns1:C3>
    </xsl:when>
    <xsl:otherwise>
    <ns1:C3>0</ns1:C3>
    </xsl:otherwise>
    </xsl:choose>

  • Error occurred while preparing messages for Publication or while Publishing

    Hello
    I'm using the rdbms event generator created with WebLogic Integration Administration Console.
    When the event generator runs on both my managed servers in the cluster I get the error message below. If it only runs on one of my managed servers, it works OK.
    Please advice what I'm supposed to do.
    I'm using WebLogic Platform 8.1.6.
    ####<15.nov.2007 kl 15.27 CET> <Warning> <EJB> <sgm633> <IntServer2> <ExecuteThread: '3' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    javax.ejb.EJBException: Error occurred while preparing messages for Publication or while Publishing messages; nested exception is: java.sql.SQLException: Result set already closed.
    javax.ejb.EJBException: Error occurred while preparing messages for Publication or while Publishing messages; nested exception is: java.sql.SQLException: Result set already closed
    java.sql.SQLException: Result set already closed
    at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:105)
    at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:67)
    at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getObject(Unknown Source)
    at com.bea.wli.mbconnector.rdbms.trigger.WorkerMDB.handleResultSet(WorkerMDB.java:493)
    at com.bea.wli.mbconnector.rdbms.trigger.WorkerMDB.fetchUsingResultSet(WorkerMDB.java:403)
    at com.bea.wli.mbconnector.rdbms.trigger.WorkerMDB.onMessage(WorkerMDB.java:232)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2698)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2610)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    i also have same error during load testing, mainly this error
    "Unexpected exception while enlisting XAConnection java.sql.SQLException"
    i tried rerunning after increasing connection pool sizes, transaction timeout, but no luck, marginal improvement in performance though
    also tried changing the default tracking levl to none, but no luck.
    i am with 8.1SP5, how about you ?
    do share if you are able to bypass these errors
    cheers

  • Out of memory error occurred while processing message at RFC receiver

    Hi Experts
    Hi Experts
    i have a scenario file to RFC BPM bridge Sync/Async,
    i´m getting this error when this BPM is trying to read  the RFC
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: Out of memory error occurred while processing message at RFC receiver
    please somebody can you help me

    Hi,
    No need to restart the server. In PI there is a parameter 'java Heap' indicating the size of data processed adapters. Check if it is necessary to increase the size of this parameter.
    Check the note: 1173398
    I hope to help you
    Regards,

  • Error trying to send email -- IOException while sending message

    Email is successful when:
    I run my application through JDeveloper
    or
    when I use a classpath, but if I try to execute app via a jar file, i get the following error message: IOException while sending message.
    The jar file does include mail.jar and activation.jar.
    Below is my email code:
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class JMAR_Mail {
    private String sendTo;
    private String sentFrom;
    private String host;
    private String messageSubject;
    private String messageText;
    private MimeMessage msg;
    public JMAR_Mail() {}
    public JMAR_Mail(String sendTo, String sentFrom, String _host) {
    sendTo = _sendTo;
    sentFrom = _sentFrom;
    host = _host;
    public void setEmailSubject(String _messageSubject) {
    messageSubject = _messageSubject;
    } // end setEmailSubject
    public void setEmailText(String _text) {
    messageText = _text;
    public void sendEmail() throws MessagingException {   
    // create some properties and get the default Session
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    Session session = Session.getInstance(props, null);
    InternetAddress addr = new InternetAddress();
    // parses comma separted list of email addresses
    InternetAddress[] address = addr.parse(sendTo);
    msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(sentFrom));
    msg.setSubject(messageSubject);
    msg.setText(messageText);
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSentDate(new Date());
    Transport.send(msg);
    } // end sendEmail
    }

    You don't want to include those jar files in your jar file,
    you want to reference them:
    http://forum.java.sun.com/thread.jspa?forumID=43&threadID=762763

  • Error while processing message

    I have WS2RFC interface that use to work. I recieve in the RWB this error message from the RFC Reciever.
    10/6/08 1:20:10 PM aa98b6f0-9398-11dd-94cf-0017a43cc516 Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[RFC_Reciever]07cef9b030ce3c398f109f93020feffb is exhausted. The current pool size limit (max connections) is 1 connections.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[RFC_Reciever]07cef9b030ce3c398f109f93020feffb is exhausted. The current pool size limit (max connections) is 1 connections.
    any ideas?
    Kfir

    In RFC channel increase the maximum connections paramter value to 5. Save and activate.
    Thanks,
    Gujjeti

  • Issue while posting message to queue

    Hi ,
    I am getting following exception while posting message into queue.For every new build I am getting this exception and after 2 or 3 times of restart of corresponding OBPM related weblogic server,Issue is getting resolved
    A component failed while executing activity '/COM/OU/UserlProcess#Default-3.0/ComponentExecution[PreProcessor]' (BP-method preProcessor) over instance '/COM/OU/UserlProcess#Default-3.0/15141/0'.
    Details:
    The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    Detail:Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1091)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1277)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.runCil(ComponentExecutionMicroActivity.java:126)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.execute(ComponentExecutionMicroActivity.java:84)
         at fuego.server.execution.microactivity.MicroActivityEngineExecutionHandler.executeActivity(MicroActivityEngineExecutionHandler.java:57)
         at fuego.server.execution.ImmediateActivity.execute(ImmediateActivity.java:42)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:251)
         at fuego.ejbengine.ItemExecutionBean$1.execute(ItemExecutionBean.java:217)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:203)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:115)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4123)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4013)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4541)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
         at fuego.connector.JMSHelper.getSession(JMSHelper.java:75)
         at fuegoblock.msg.DynamicJMS.sendMessage(DynamicJMS.java:145)
         at xobject.Utility.JMSService.writeToAppQueue(JMSService.xcdl:11)
         at xobject.Utility.Notification.sendAuditNotification(Notification.xcdl:19)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl:20)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1082)
         ... 31 more
    Please help how can I resolve this issue
    Thanks
    Sailendra

    I am also getting the same issue. Sailendra, did you resolve the issue?
    If not could anyone help us to resolve this issue.
    I am using Tibco JMS for queue and I have set 'ConnectionFactory' as Connection Factory Lookup Name value in the external resourse.
    Thanks in advance.
    Regards,
    Ramanan

  • Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream

    I am trying to develop a web service client for amazon webservice.but i am getting this error while running the app. Can anyone please help me. I have installed the JWSDP and but could not understand why i have to locate all the jar files in the classpath?Please help.
    ===== error=========================================
    C:\abr\classes>java -classpath c:\abr\test.jar;C:\abr\jaxrpc-api.jar;C:\abr\jaxrpc-impl.jar;C:\abr\jaxrpc-spi.jar;c:\abr\classes\amazon.jar;C:\abr\mail.jar;C:\a
    br\saaj-api.jar;C:\abr\activation.jar;c:\abr\FastInfoset.jar;%classpath% Client
    [b]Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLS
    treamWriter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.
    java:672)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)
    at amazon.AmazonSearchPort_Stub.authorSearchRequest(AmazonSearchPort_Stu
    b.java:988)
    at Client.main(Client.java:21)

    I'm assuming you're using JWSDP 1.6 as I see Fastinfoset.jar in your list. You are missing some jar files in your classpath there. The best way to know what you need is to look at the release notes for JWSDP 1.6. Since you're building a web serivce start with the table in there and lookup JAX-RPC. It'll show you what jar files are needed and what other libraries are needed. Now depending on what you're doing you don't really need all those.
    For sure you're missing jsr173_api.jar which is where I believe that class you need is located. This is in the JWSDP_1_6\sjsxp\lib directory. You will probably need the other jar thats in there too. Best bet is to follow the dependancy chart in the release notes.
    This should get you going.
    Ryan

  • ORABPEL-11017 Error while translating message to native format

    Hello I and trying to do a simple read and write file adapter. When I try and map the variables in the xls file it seems to work right but I run the BPEL and I get this output :(
    ORABPEL-11017
    [2010/01/20 15:52:19]
    Faulted while invoking operation "Write" on provider "WriteFileAdaper".
    - <messages>
    - <input>
    - <Invoke_1_Write_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
    - <readrecord xmlns:tns="http://TargetNamespace.com/ReadFileAdapter" xmlns="http://TargetNamespace.com/ReadFileAdapter">
    <tns:name/>
    <tns:number/>
    <tns:email/>
    </readrecord>
    </part>
    </Invoke_1_Write_InputVariable>
    </input>
    - <fault>
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    null
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess_1.0_f1f4eaf21f2ea0f6ab23787c642f300a.tmp/WriteFileAdaper.wsdl [ Write_ptt::Write(readrecord) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
    Error while translating message to native format [Caused by: Error in definition of native data.
    No style found to read the native data for <element name="name">.
    Must specify a style at <element name="name"> to read the corresponding native data.
    ; nested exception is:
         ORABPEL-11017
    Translation Error.
    Error while translating message to native format [Caused by: Error in definition of native data.
    No style found to read the native data for <element name="name">.
    Must specify a style at <element name="name"> to read the corresponding native data.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    null
    </detail>
    </part>
    </bindingFault>
    </fault>
    </messages>
    Here is the XSD:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://TargetNamespace.com/ReadFileAdapter"
    xmlns:tns="http://TargetNamespace.com/ReadFileAdapter"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="readrecord">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="number" type="xsd:string" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="email" type="xsd:string" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <!--NXSDWIZ:F:\BPEL-Training\insert.txt:-->
    <!--USE-HEADER:false:-->

    Are you using opaque schema or custom defined schema?
    Make your File Outbound Adapter from Opaque to the same Schema as you used for input. Modify the InputVariable to Outbound File Adatper Message Type to the Schema's Element . Modify the PL Property for your Directory Structure for inbound and outbound.

  • Error while translating message to native format

    Hi,
    I am getting the following error.
    file:/D:/product/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess_Wait_1.0_f424c58781ab2927050a79384d0d7535.tmp/writeName.wsdl [ Write_ptt::Write(opaque) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
    Error while translating message to native format [Caused by: Error in encoded stream, got 1].
    i have created a file adapter for writing to which i am passing some value and the output format is opaque.
    Just check the below one, "Roshx" is one i want to write to the file.
    Invoke_1 (faulted)
    [2008/01/14 15:39:16] Faulted while invoking operation "Write" on provider "writeName".less
    -<messages>
    -<input>
    -<Invoke_1_Write_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="opaque">
    <opaqueElement xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/">Roshx
    </opaqueElement>
    </part>
    </Invoke_1_Write_InputVariable>
    </input>
    -<fault>
    -<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    file:/D:/product/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess_Wait_1.0_f424c58781ab2927050a79384d0d7535.tmp/writeName.wsdl [ Write_ptt::Write(opaque) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
    Error while translating message to native format [Caused by: Error in encoded stream, got 1].
    </summary>
    </part>
    </bindingFault>
    </fault>
    </messages
    Please suggest.
    Thanks,
    Rosh

    Hi,
    We can create an xsd like following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://myorg.com/integration" elementFormDefault="qualified" attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD" xmlns:tns="http://myorg.com/integration" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:element name="file" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eof}">
         </xsd:element>
    </xsd:schema>
    And import it into your BPEL process and before calling write partnerlink assign whatever value you want to "file" element.
    I hope this helps you.
    Thanks,
    -Vidya

  • Analysing SAP Java Memory Usage in Unix/Linux

    Hi,
    I need to analyze the SAP Java memory usage of Unix /Linux machine..NW 7.0
    Please guide with the commands and steps..complete prcedure.
    Based on it I should decide whether to create a new server node (or) increasing heap size
    Thanks in advance

    Hi,
    Do you have performance problems?
    How many CPU's are in the server?
    Did you check Log Configuration for delays or errors?
    Did you tune any exisiting parameters?
    You can add the nodes only if there is performance problems. You may think of adding one node to start with
    Proper number of server nodes within an instance:
    u2013 #ServerNodes = availableMemory / (JavaHeapPermSpaceStack)
    You can calculate the server nodes based on below formula
    No. of server Node = (RAM you want to assign or available RAM in GB)/2.5 ============> for 64-bit system
    No. of server Node = (RAM you want to assign or available RAM in GB)/1.5 ============> for 32-bit system
    Hence as per above discussion, we should go with 5 server nodes means,
    5 = RAM/2.5 (Assuming you are on 64-bit platform)
    i.e. RAM = 12.5 GB
    2). u2013 Configure JVM heap according to Note 723909 and Note 1008311 - Recommended Settings for NW 7.0 >= SR2 for the AIX JVM (J9)

  • Diagnostics Workload Analysis - Java Memory Usage gives BI query input

    Dears
    I have set up diagnostics (aka root cause analysis) at a customer side and I'm bumping into the problem that on the Java Memory Usage tab in Workload analyis the BI query input overview is given
    Sol Man 7.0 EHP1 SPS20 (ST component SP19)
    Wily Introscope 8.2.3.5
    Introscope Agent 8.2.3.5
    Diagnostics Agent 7.20
    When I click on the check button there I get the following:
    Value "JAVA MEMORY USAGE" for variable "E2E Metric Type Variable" is invalid
    I already checked multiple SAP Notes like the implementation of the latest EWA EA WA xml file for the Sol Man stack version.
    I already reactivated BI content using report CCMS_BI_SETUP_E2E and it gave no errors.
    The content is getting filled in Wily Introscope, extractors on Solution Manager are running and capturing records (>0).
    Did anyone come accross this issue already?
    ERROR MESSAGE:
    Diagnosis
    Characteristic value "JAVA MEMORY USAGE" is not valid for variable E2E Metric Type Variable.
    Procedure
    Enter a valid value for the characteristic. The value help, for example, provides you with suggestions. If no information is available here, then perhaps no characteristic values exist for the characteristic.
    If the variable for 0DATE or 0CALDAY has been created and is being used as a key date for a hierarchy, check whether the hierarchies used are valid for this characteristic. The same is valid for variables that refer to the hierarchy version.
      Notification Number BRAIN 643 
    Kind regards
    Tom
    Edited by: Tom Cenens on Mar 10, 2011 2:30 PM

    Hello Paul
    I checked the guide earlier on today. I also asked someone with more BI knowledge to take a look with me but it seems the root cause analysis data fetching isn't really the same as what is normally done in BI with BI cubes so it's hard to determine why the data fetch is not working properly.
    The extractors are running fine, I couldn't find any more errors in the diagnostics agent log files (in debug mode) and I don't find other errors for the SAP system.
    I tried reactivating the BI content but it seems to be fine (no errors). I reran the managed system setup which also works.
    One of the problems I did notice is the fact that the managed SAP systems are half virtualized. They aren't completely virtualized (no seperate ip address) but they are using virtual hostnames which also causes issues with Root Cause Analysis as I cannot install only one agent because I cannot assign it to the managed systems and when I install one agent per SAP system I have the message that there are already agents reporting to the Enterprise Manager residing on the same host. I don't know if this could influence the data extractor. I doubt it because in Wily the data is being fetched fine.
    The only thing that it not working at the moment is the workload analysis - java memory analysis tab. It holds the Key Performance Indicators for the J2EE engine (garbage collection %). I can see them in Wily Introscope where they are available and fine.
    When I looked at the infocubes together with a BI team member, it seemed the infocube for daily stats on performance was getting filled properly (through RSA1) but the infocube for hourly stats wasn't getting filled properly. This is also visible in the workload analysis, data from yesterday displays fine in workload analysis overview for example but data from an hour ago doesn't.
    I do have to state the Solution Manager doesn't match the prerequisites (post processing notes are not present after SP-stack update, SLD content is not up to date) but I could not push through those changes within a short timeframe as the Solution Manager is also used for other scenarios and it would be too disruptive at this moment.
    If I can't fix it I will have to explain to the customer why some parts are not working and request them to handle the missing items so the prerequisites are met.
    One of the notes I found described a similar issue and noted it could be caused due to an old XML file structure so I updated the XML file to the latest version.
    The SAPOscol also throwed errors in the beginning strange enough. I had the Host Agent installed and updated and the SAPOscol service was running properly through the Host Agent as a service. The diagnostics agent tries to start SAPOscol in /usr/sap/<SID>/SMDA<instance number>/exe which does not hold the SAPOscol executable. I suppose it's a bug from SAP? After copying the SAPOscol from the Host Agent to the location of the SMD Agent the error disappeared. Instead the agent tries to start SAPOscol but then notices SAPOscol is already running and writes in the log that SAPOscol is already running properly and a startup is not neccesary.
    To me it comes down the point where I have little faith in the scenario if the Solution Manager and the managed SAP systems are not maintained and up to date 100%. I could open a customer message but the first advice will be to patch the Solution Manager and meet the prerequisites.
    Another pain point is the fact that if the managed SAP systems are not 100% correct in transaction SMSY it also causes heaps of issues. Changing the SAP system there isn't a fast operation as it can be included in numerous logical components, projects, scenario's (CHARM) and it causes disruption to daily work.
    All in all I have mixed feelings about the implementation, I want to deliver a fully working scenario but it's near impossible due to the fact that the prerequisites are not met. I hope the customer will still be happy with what is delivered.
    I sure do hope some of these issues are handled in Solution Manager 7.1. I will certainly mail my concerns to the development team and hope they can handle some or all of them.
    Kind regards
    Tom

  • Java.lang.reflect.UndeclaredThrowableException while running client

    Hi
    All I did is that I created and deployed a very simple Stateless session EJB having
    one remote method as follows
    String getProducerName(String)
    Deployment seems to be okay as I can see the deployed EJB, access the client.jar,
    But when I am calling above mentioned method, I receive following errors.
    Please help
    Thanks
    Ratan...
    Scanner has tokens:
    [OPENTAGBEGIN]
    [NAME] (META)
    [NAME] (NAME)
    [CHARDATA] (GENERATOR)
    [NAME] (CONTENT)
    [CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #
    154529 )
    [TAGEND]
    [SPACE] (
    [CLOSETAGBEGIN]
    [NAME] (HEAD)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (BODY)
    [NAME] (bgcolor)
    [CHARDATA] (white)
    [NAME] (alink)
    [CHARDATA] (#397F70)
    [NAME] (link)
    [CHARDATA] (#640078)
    [NAME] (vlink)
    [CHARDATA] (#DE7E00)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (FONT)
    [NAME] (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    Exception in thread "main" java.lang.reflect.UndeclaredThrowableException: Error
    at line:
    8 col:13 Line:8 ''' expected, got char[72]
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
    mentFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
    ava:46)
    at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
    a:258)
    at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
    a:171)
    at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
    64)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
    ler.java:31)
    at $Proxy0.getProducerName(Unknown Source)
    at WSClient.main(WSClient.java:27)
    [WSClient.java]

    Hi
    Please ignore earlier message.
    I could figure out the problem, it was due to miss match/Typo in URI and message
    was not revealing it. until I scanned through and compared with Examples.
    Thanks
    N'Joy
    Ratan...
    "Ratan" <[email protected]> wrote:
    >
    >
    >
    Hi
    All I did is that I created and deployed a very simple Stateless session
    EJB having
    one remote method as follows
    String getProducerName(String)
    Deployment seems to be okay as I can see the deployed EJB, access the
    client.jar,
    But when I am calling above mentioned method, I receive following errors.
    Please help
    Thanks
    Ratan...
    Scanner has tokens:
    [OPENTAGBEGIN]
    [NAME] (META)
    [NAME] (NAME)
    [CHARDATA] (GENERATOR)
    [NAME] (CONTENT)
    [CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #
    154529 )
    [TAGEND]
    [SPACE] (
    [CLOSETAGBEGIN]
    [NAME] (HEAD)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (BODY)
    [NAME] (bgcolor)
    [CHARDATA] (white)
    [NAME] (alink)
    [CHARDATA] (#397F70)
    [NAME] (link)
    [CHARDATA] (#640078)
    [NAME] (vlink)
    [CHARDATA] (#DE7E00)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (FONT)
    [NAME] (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    Exception in thread "main" java.lang.reflect.UndeclaredThrowableException:
    Error
    at line:
    8 col:13 Line:8 ''' expected, got char[72]
    at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXEle
    mentFactory.java:60)
    at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
    at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.j
    ava:46)
    at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
    a:258)
    at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.jav
    a:171)
    at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:1
    64)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHand
    ler.java:31)
    at $Proxy0.getProducerName(Unknown Source)
    at WSClient.main(WSClient.java:27)

  • Safari crash in agcore plugin while streaming Netflix

    While streaming Netflix on my iMac, Safari crashes with great regularity with a message talking about the agcore plugin. Is there an upgrade for it or something? Only in the case, never had a crash otherwise.

    ...and when I try to post the entire crash log (for days now) the website says it is down and come back later .... cute ... posing in parts...
    Process: Safari [57952]
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Identifier: com.apple.Safari
    Version: 4.0.5 (6531.22.7)
    Build Info: WebBrowser-65312207~1
    Code Type: X86 (Native)
    Parent Process: launchd [202]
    PlugIn Path: /Library/Internet Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore
    PlugIn Identifier: com.microsoft.SilverlightPlugin
    PlugIn Version: 4.0.50401.0 (4.0.50401.0)
    Date/Time: 2010-05-31 09:23:47.190 -0700
    OS Version: Mac OS X 10.6.3 (10D573)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread
    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 libSystem.B.dylib 0xffff09cf __memcpy + 559
    1 libGLImage.dylib 0x9076cc93 glgProcessPixelsWithProcessor + 725
    2 GLEngine 0x13bacc9e gleTextureImagePut + 1433
    3 GLEngine 0x13bad477 glTexSubImage2D_Exec + 1574
    4 libGL.dylib 0x91f8f570 glTexSubImage2D + 87
    5 ...microsoft.SilverlightPlugin 0x13620114 BitmapSource_SetSource + 535844
    6 ...microsoft.SilverlightPlugin 0x13110abf wcscat + 464751
    7 ...microsoft.SilverlightPlugin 0x13568620 UIElement_HitTestPoint + 64224
    8 ...microsoft.SilverlightPlugin 0x136300eb BitmapSource_SetSource + 601339
    9 ...microsoft.SilverlightPlugin 0x13536213 Timeline_GetCurrentTime + 152547
    10 ...microsoft.SilverlightPlugin 0x1353661f Timeline_GetCurrentTime + 153583
    11 ...microsoft.SilverlightPlugin 0x135421db Timeline_GetCurrentTime + 201643
    12 ...microsoft.SilverlightPlugin 0x13576392 MediaElement_AcquireLicenseComplete + 11538
    13 ...microsoft.SilverlightPlugin 0x13559f81 UIElement_HitTestPoint + 5185
    14 ...microsoft.SilverlightPlugin 0x13576cb4 MediaElement_AcquireLicenseComplete + 13876
    15 ...microsoft.SilverlightPlugin 0x13577536 MediaElement_AcquireLicenseComplete + 16054
    16 ...microsoft.SilverlightPlugin 0x1355a4d8 UIElement_HitTestPoint + 6552
    17 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    18 ...microsoft.SilverlightPlugin 0x1355bc9e UIElement_HitTestPoint + 12638
    19 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    20 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    21 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    22 ...microsoft.SilverlightPlugin 0x1355bc9e UIElement_HitTestPoint + 12638
    23 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    24 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    25 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    26 ...microsoft.SilverlightPlugin 0x1355ba84 UIElement_HitTestPoint + 12100
    27 ...microsoft.SilverlightPlugin 0x1355bb61 UIElement_HitTestPoint + 12321
    28 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    29 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    30 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    31 ...microsoft.SilverlightPlugin 0x1355ba84 UIElement_HitTestPoint + 12100
    32 ...microsoft.SilverlightPlugin 0x1355bb61 UIElement_HitTestPoint + 12321
    33 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    34 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    35 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    36 ...microsoft.SilverlightPlugin 0x1355bc9e UIElement_HitTestPoint + 12638
    37 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    38 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    39 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    40 ...microsoft.SilverlightPlugin 0x1355ba84 UIElement_HitTestPoint + 12100
    41 ...microsoft.SilverlightPlugin 0x1355bb61 UIElement_HitTestPoint + 12321
    42 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    43 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    44 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    45 ...microsoft.SilverlightPlugin 0x1355bc9e UIElement_HitTestPoint + 12638
    46 ...microsoft.SilverlightPlugin 0x1355a005 UIElement_HitTestPoint + 5317
    47 ...microsoft.SilverlightPlugin 0x1355a8d2 UIElement_HitTestPoint + 7570
    48 ...microsoft.SilverlightPlugin 0x1355af43 UIElement_HitTestPoint + 9219
    49 ...microsoft.SilverlightPlugin 0x1305b732 main + 774386
    50 ...microsoft.SilverlightPlugin 0x1305bf7c main + 776508
    51 ...microsoft.SilverlightPlugin 0x1360b91a BitmapSource_SetSource + 451882
    52 ...microsoft.SilverlightPlugin 0x135f3a77 BitmapSource_SetSource + 353927
    53 ...microsoft.SilverlightPlugin 0x135f4757 BitmapSource_SetSource + 357223
    54 ...microsoft.SilverlightPlugin 0x135f4949 BitmapSource_SetSource + 357721
    55 com.apple.CoreFoundation 0x959002e2 __CFRunLoopDoObservers + 1186
    56 com.apple.CoreFoundation 0x958bca1d __CFRunLoopRun + 557
    57 com.apple.CoreFoundation 0x958bc0f4 CFRunLoopRunSpecific + 452
    58 com.apple.CoreFoundation 0x958bbf21 CFRunLoopRunInMode + 97
    59 com.apple.HIToolbox 0x90f2e0fc RunCurrentEventLoopInMode + 392
    60 com.apple.HIToolbox 0x90f2deb1 ReceiveNextEventCommon + 354
    61 com.apple.HIToolbox 0x90f2dd36 BlockUntilNextEventMatchingListInMode + 81
    62 com.apple.AppKit 0x932dd135 _DPSNextEvent + 847
    63 com.apple.AppKit 0x932dc976 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
    64 com.apple.Safari 0x0000c6c8 0x1000 + 46792
    65 com.apple.AppKit 0x9329ebef -[NSApplication run] + 821
    66 com.apple.AppKit 0x93296c85 NSApplicationMain + 574
    67 com.apple.Safari 0x00002bad 0x1000 + 7085

Maybe you are looking for