Timeout a method call made from an EJB

Hi,
Is there a way to implement a timeout in a SOAP method call which I'm invoking from an EJB. I'm trying to use a web service RPC method in my client and I need to know if there is some way by which I can timeout the method invocation.
For eg, what happens if the web service is down? I want to be able to tell the user that the call did not go through because the web service was down. I'm assuming that I'll have to specify some sort of a timeout period for which the call will wait for a response. If no response is received during this time, I want to say that a timeout occured.
So, if I do something like
webServiceA.invokeSoapMethod(parmaeters);
from an EJB I want that this method should wait for, say 10 seconds, for a response and then say that the call timed out. Is there any way to do such a thing?
Alternatively, if somebody can give me some pointers to whether SOAP or RPC (or some other component!) specify some way to timeout the RPC call, I'll appreciate that too..:-).
Thanks in advance..:-)
Ruchi

Unfortunetly, I am on the same ship.... has anyone a solution for the same?

Similar Messages

  • How do I run a JCA adapter when I am calling it from an EJB?

    How do I run a JCA adapter when I am calling it from an EJB? Do I need to create an EJB client and place it in a Client container? If my EJB and JCA adapter are deployed is there a way to call my EJB from the command line?
    Mike

    Hi. When you look at the code I provided for you in other thread you will see that connecting to adapter is done through JNDI lookup. The creation of the adapter is done in your J2EE server. Here is some code for you where you can find mapping from code to ejb-jar and orion-ejb-jar.
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1">
    <!--
    This file declares the interface (needs/promises) of the message-driven bean.
    The MDB requires:
    - a JMS queue (to receive messages from the client),
    - a JMS exception queue (to send undeliverable messages back to the source), and
    - a connection factory (to communicate with a JMS resource provider).
    Note that communication with the resource provider may be (and for this
    application is) via a JMS Connector rather than direct.
    -->
    <display-name>JMS Consume MDB - opp-ifs</display-name>
    <enterprise-beans>
    <entity>
    <description>Entity Bean ( BMP )</description>
    <display-name>EBEjbMecomsIFS</display-name>
    <ejb-name>EBEjbMecomsIFS</ejb-name>
    <local-home>EBEjbMecomsIFSLocalHome</local-home>
    <local>EBEjbMecomsIFSLocal</local>
    <ejb-class>EBEjbMecomsIFSBean</ejb-class>
    <persistence-type>Bean</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>false</reentrant>
    <service-ref>
    <service-ref-name>service/interceptor</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>META-INF/wsdl/MHS5_Jms_In_RS.wsdl</wsdl-file>
    <service-qname xmlns:ns="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5">ns:ESB_MHS5_Jms_In_RS_Service</service-qname>
    </service-ref>
    </entity>
    <message-driven>
    <display-name>JMS Consume MDB - MDB</display-name>
    <ejb-name>MDBEjbMecomsIFS</ejb-name>
    <!-- name of bean in deployment descriptor (including orion-ejb-jar.xml file) -->
    <ejb-class>MDBEjbMecomsIFSBean</ejb-class>
    <!-- bean's fully qualified Java class name -->
    <messaging-type>javax.jms.MessageListener</messaging-type>
    <transaction-type>Container</transaction-type>
    <!-- allow incoming messages to be included in transactions -->
    <!-- The ejb requires a connection factory to access an external resource (JMS). -->
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/EBEjbopp_ifs</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>EBEjbMecomsIFSLocalHome</local-home>
    <local>EBEjbMecomsIFSLocal</local>
    <ejb-link>EBEjbMecomsIFS</ejb-link>
    </ejb-local-ref>
    <resource-ref>
    <!-- The resource's connection factory must be accessible at jndi location "java:comp/env/jms/QueueConnectionFactory". -->
    <res-ref-name>jms/QueueConnectionFactory</res-ref-name>
    <!-- The resource's connection factory must implement the "javax.jms.ConnectionFactory" interface. -->
    <res-type>javax.jms.ConnectionFactory</res-type>
    <!-- container managed authorization -->
    <res-auth>Container</res-auth>
    </resource-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <!--
    Declare that a global transaction is required when the onMessage method of the ejb named
    "MDBEjbName" is called. This will cause the app server to automatically initiate a
    global (XA) transaction before calling onMessage (actually, before even receiving the JMS
    message that triggers onMessage) and end the transaction after onMessage returns. The
    JMS Connector will automatically rollback the transaction if onMessage throws an
    exception. onMessage may also set the transaction to be "rollback only".
    Participating in global transactions requires that the connection factory provided in the
    activation spec (see the ConnectionFactoryJndiName property earlier in this file) must be
    XA-capable (it must implement the javax.jms.XAConnectionFactory interface).
    If this declaration is ommitted, then onMethod will not be part of any global
    transaction. In that case the connection factory provided in the activation spec must
    implement the javax.jms.ConnectionFactory interface.
    -->
    <container-transaction>
    <method>
    <ejb-name>MDBEjbMecomsIFS</ejb-name>
    <method-name>onMessage</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>EBEjbMecomsIFS</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    orion-ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNameSpaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/orion-ejb-jar-10_0.xsd">
    <enterprise-beans>
    <entity-deployment name="EBEjbMecomsIFS">
    <service-ref-mapping name="service/interceptor">
    <wsdl-location>http://on-poc62.ontw.alfa.local:7777/event/PilotOWSM/MustHavesScenario5/MHS5_Jms_In_RS?wsdl</wsdl-location>
    <service-qname localpart="ESB_MHS5_Jms_In_RS_Service" namespaceURI="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5"/>
    <port-info>
    <wsdl-port namespaceURI="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5"
    localpart="__soap_MHS5_Jms_In_RS_execute_ppt"/>
    <service-endpoint-interface>javax.xml.rpc.Service</service-endpoint-interface>
    <call-property>
    <name>javax.xml.rpc.service.endpoint.address</name>
    <value>http://on-poc62.ontw.alfa.local:7777/event/PilotOWSM/MustHavesScenario5/MHS5_Jms_In_RS</value>
    </call-property>
    <call-property>
    <name>javax.xml.rpc.soap.http.soapaction.uri</name>
    <value>execute</value>
    </call-property>
    <call-property>
    <name>javax.xml.rpc.soap.http.soapaction.use</name>
    <value>true</value>
    </call-property>
    <call-property>
    <name>javax.xml.rpc.soap.operation.style</name>
    <value>document</value>
    </call-property>
    <runtime enabled="owsm">
    <owsm init-home="/oracle/product/SoaAs/10.1.3/owsm/config/interceptors/C0003002"
    init-file="confluent.properties"/>
    </runtime>
    </port-info>
    </service-ref-mapping>
    </entity-deployment>
    <message-driven-deployment name="MDBEjbMecomsIFS"
    resource-adapter="OEMSJMSDRAopp-ifs"
    enabled="true" max-instances="10">
    <!--
    The ejb requires a connection factory implementing the "javax.jms.XAConnectionFactory"
    interface to be accessible at jndi location "java:comp/env/jms/QueueConnectionFactory". (see ejb-jar.xml and ....)
    A suitable connection factory is already accessible at jndi location "OEMSJMSDRASubcontext/MyXACF" (see oc4j-ra.xml)
    -->
    <resource-ref-mapping location="OEMSJMSDRASubopp-ifs/MyXACF"
    name="jms/QueueConnectionFactory"/>
    <!-- don't misspell this or you'll get an RP CF which doesn't work -->
    <!-- Required activation-spec properties. -->
    <!--
    ConnectionFactoryJndiName (string, no default)
    This should be the JNDI location of an RA connection factory.
    The JMS Connector will use this connection factory to create the JMS
    connection it uses to receive messages for this MDB's onMessage. If the
    exception queue is enabled (see UseExceptionQueue), the JMS Connector will
    also use a connection created from this connection factory for the production
    of messages to the exception queue.
    This connection factory must be compatible with the message domain(s). (For
    example, if the MDB is receiving messages from a queue, the connection
    factory should implement javax.jms.[XA]QueueConnectionFactory or
    javx.jms.[XA]ConnectionFactory.)
    For XA/non-XA considerations, see the <container-transaction> comments later
    in this file.
    -->
    <config-property>
    <config-property-name>ConnectionFactoryJndiName</config-property-name>
    <config-property-value>OEMSJMSDRASubopp-ifs/MyXAQCF</config-property-value>
    </config-property>
    <!--
    DestinationName (string, no default)
    This is JNDI location of the queue or topic from which messages to be
    delivered to the MDB's onMessage method should be received.
    The JNDI locations for RA destinations are defined in the
    oc4j-connectors.xml file.
    -->
    <config-property>
    <config-property-name>DestinationName</config-property-name>
    <config-property-value>OEMSJMSDRASubopp-ifs/MyQ</config-property-value>
    </config-property>
    <!--
    DestinationType (string, no default)
    This must be set to the type of the destination named by the above
    "DestinationName" property.
    The EJB 2.1 spec states that this must be set to either javax.jms.Queue or
    javax.jms.Topic. OracleGJRA also allows it to be set to
    javax.jms.Destination (which works for both queues and topics).
    -->
    <config-property>
    <config-property-name>DestinationType</config-property-name>
    <config-property-value>javax.jms.Queue</config-property-value>
    </config-property>
    <!--
    Other activation-spec properties.
    The following activation-spec properties supported by OracleGJRA are optional
    except where otherwise noted:
    -->
    <!--
    ListenerThreadMaxPollInterval (milliseconds, 5000)
    Listener threads "poll" to see if there is a message waiting to be processed.
    The more frequently this polling is performed, the faster (on average) a given
    listener thread can respond to a new message. The price for frequent polling is
    overhead - the resource provider must process a receive request each time it is
    polled.
    Oracle's JMS Connector implementation applies an adaptive algorithm which
    uses shorter polling intervals (high polling rates) during periods of activity
    (once activity is noticed) and longer polling intervals (lower polling rates)
    during periods of inactivity. The ListenerThreadMaxPollInterval property places
    an upper limit on the polling interval used by this adaptive algorithm.
    -->
    <config-property>
    <config-property-name>ListenerThreadMaxPollInterval</config-property-name>
    <config-property-value>5000</config-property-value>
    </config-property>
    <!--
    AcknowledgeMode (string, default = Auto-acknowledge)
    This should be set to Auto-acknowledge or Dups-ok-acknowledge. This
    controls the quality-of-service provided by listener threads which
    consume messages and call the MDB's onMessage method.
    MessageSelector (string, default = no message filtering)
    This is the selector expression used to filter messages sent to the
    MDB's onMessage method. (I.e., this is used as the messageSelector for
    the JMS sessions created for the listener threads.)
    SubscriptionDurability (string, default = NonDurable)
    For topics this should be set to Durable or NonDurable. (This should
    not be set for queues.) This controls the durability of the topic
    consumer used by the listener thread. When SubscriptionDurability is
    set to Durable (and DestinationType is javax.jms.Topic or
    javax.jms.Destination), the SubscriptionName property is required.
    SubscriptionName (string, no default)
    This property is required when SubscriptionDurability is Durable (and
    DestinationType is javax.jms.Topic or javax.jms.Destination). (In all
    other cases it is ignored.) This is the name used when creating the
    durable subscriber used by the listener thread. For a given JMS server,
    a given subscription name should be assigned to at most one MDB (which
    must have most one listener thread).
    ClientId (string, no default)
    If set, connection(s) used by the listener threads will be set to use
    this client ID.
    TransactionTimeout (milliseconds, default = 300,000)
    This limits the amount of time that the JMS Connector will wait for a
    message to arrive before exiting the current transaction. The
    transaction manager limits the amount of time a transaction can last
    (see transaction-timeout in transaction-manager.xml).
    TransactionTimeout should be set such that the transaction manager will
    not timeout the transaction during the onMessage routine unless
    something is wrong. For example, If the transaction mananager timeout
    is set to 30 seconds, and the onMessage routine will never take more
    than 10 seconds unless something is wrong, then this property could be
    set to 20 seconds (20000 milliseconds).
    EndpointFailureRetryInterval (milliseconds, default = 60,000)
    If an endpoint can not be processed (due to the app server WorkManager
    not accepting new work), it will be scheduled to be retried this many
    milliseconds later.
    ReceiverThreads (integer, default = 1)
    This sets the maximum number of listener threads to create for this
    endpoint. For queues, using more than one thread may be useful in
    increasing the rate at which messages can be consumed. For topics this
    value should always be 1. (Each listener thread gets its own session
    and TopicSubscriber. For durable subscribers it would be an error to
    have more than one subscriber with the same subscription name. For
    nondurable subscribers having more than one thread will not help because
    more threads translates into more subscribers which translates into more
    copies of each message.) See also: ListenerThreadMinBusyDuration
    UseExceptionQueue (boolean, default = false)
    When "UseExceptionQueue" is true:
    - Messages that would otherwise be discarded are sent to the
    exception queue. (Currently the only case where this happens is
    when the max delivery count is exceeded. See MaxDeliveryCnt
    property.) Rather than sending the original message directly to
    the exception queue, the following procedure is used:
    o Create a new message of the same type.
    o Copy the properties and body from the original message to the
    new message.
    o If the headers were copied, sending the message to the
    exception queue would cause most of them to be lost
    (over-written by the resource-provider). So instead,
    translate headers in the original to properties in the copy,
    assigning each header obtained via "getJMS{Header}" to
    property "GJRA_CopyOfJMS{Header}". Since
    javax.jms.Destination is not a valid property type, translate
    destination headers into descriptive messages.
    (Currently this same service is not provided for JMSX*
    properties, most notably the JMSXDeliveryCount property.)
    o If some part of the copy process (above) or augmentation
    process (below) fails, do not abort. Attempt to complete the
    rest of the procedure. (For Bytes/Map/Stream message types,
    this can mean that part of the body is copied and the rest is
    not.)
    o If the copy process is 100% successful, add a boolean property
    called "GJRA_CopySuccessful" with the value "true".
    o Add a string property called "GJRA_DeliveryFailureReason" which
    indicates why the message was not delivered.
    o If the MDB onMessage method generated an exception immediately
    prior to the delivery failure, add a string property called
    "GJRA_onMessageExceptions" which contains exception information.
    o Send the resulting message to the exception queue.
    Note that only one attempt is made to send the message to the
    exception queue. Should this attempt fail, the message will
    be discarded without being placed in the exception queue.
    See IncludeBodiesInExceptionQueue property for potential variations
    of the above procedure.
    - The ExceptionQueueName property is required.
    - In addition to being used for the primary destination, the
    connection factory specified by the ConnectionFactoryJndiName
    property will also be used for the exception queue. If the primary
    destination (specified by the DestinationName property) is a topic,
    then the connection factory must support both queues and topics.
    (I.e., the <connectionfactory-interface> [see oc4j-ra.xml] for the
    given connection factory must be either javax.jms.ConnectionFactory
    or javax.jms.XAConnectionFactory.)
    ExceptionQueueName (string, no default)
    This is the JNDI location of the javax.jms.Queue object to use as the
    exception queue. (See UseExceptionQueue property for information about
    the use of the exception queue.) This property is required when
    UseExceptionQueue is true, and ignored when UseExceptionQueue is false.
    IncludeBodiesInExceptionQueue (boolean, default = true)
    This controls whether or not messages sent to the exception queue will
    include a message body. (See UseExceptionQueue property for information
    about the use of the exception queue.) If many messages are sent to the
    exception queue during normal operation and the message body is of no
    use in the exception queue, then this property may be set false to
    improve performance. This property is ignored when UseExceptionQueue is
    false. There are two cases where this property does not apply:
    - If the original message did not have a message body, then the
    message sent to the exception queue will not have one either.
    - If a copy of the original message can not be created for any
    reason, then the original may be sent to the exception queue
    instead. This may result in a message body being sent to the
    exception queue.
    MaxDeliveryCnt (integer, default = 5)
    If a message has the "JMSXDeliveryCount" property and the value of that
    property is greater than MaxDeliveryCnt, then the message will be
    discarded (and not sent to onMessage). If the exception queue is
    enabled (see UseExceptionQueue), a copy of the message will be sent to
    the exception queue. If MaxDeliveryCnt is set to 0, no messages will be
    discarded. (Note that when an MDB responds to a message by throwing an
    exception, the message is not considered delivered and it may be
    redelivered. If the MDB might always respond to a given message by
    throwing an exception, and MaxDeliveryCnt is set to 0 to prevent the
    message from ever being discarded, the result may be an MDB stuck in an
    "infinite loop" - failing to process the same message over and over
    again.)
    -->
    <config-property>
    <config-property-name>MaxDeliveryCnt</config-property-name>
    <config-property-value>0</config-property-value>
    </config-property>
    <!--
    LogLevel (string, no default)
    This controls the level of detail of messages logged by the JMS
    Connector. These messages are primarily intended for debugging the
    JMS Connector itself, but may also be useful when debugging issues
    related to the use of the JMS Connector. This property should not be
    set in production code. (It should only be set temporarily for
    debugging purposes - specific log messages and log levels may be and
    will be added/removed/modified in future versions of the JMS
    Connector.) Currently the allowed values are:
    ConnectionPool
    ConnectionOps
    TransactionalOps
    ListenerThreads
    INFO
    CONFIG
    FINE
    FINER
    FINEST
    SEVERE
    WARNING
    OFF
    ListenerThreadMaxIdleDuration (milliseconds, default = 300,000)
    This is how long a listener thread which is not receiving any messages
    will be kept around. (At least one listener thread will remain as long
    as the endpoint is active.)
    ListenerThreadMinBusyDuration (milliseconds, default = 10,000)
    If a listener thread has just received a message, has not been idle (had to
    wait for a new message to arrive) at any point during the past
    ListenerThreadMinBusyDuration milliseconds, and the current number of
    listener threads for this endpoint is less than ReceiverThreads, then
    (application server willing) an additional listener thread will be created.
    ResUser (string, default = null)
    ResPassword (string, default = null)
    These properties allow a user/password to be passed to the resource
    provider. When neither of these properties are set, connections used for
    this MDB's inbound message handling (as well as for exception queue
    handling, if enabled) are created using the no-argument version of the
    create*Connection method. When one or both of these properties are set,
    they are passed to the create*Connection method as the user/password
    arguments. (If only one property is not set, then 'null' is used for that
    particular create*Connection argument.) The ResPassword property supports
    the standard password indirection options (e.g., using "->joeuser" to
    represent the password of "joeuser").
    Note that the commas used in many of the above default values and examples are
    included here for readability but can not be used in the actual activation spec.
    (I.e., integer/milliseconds values in the activation spec must not include
    embedded commas.)
    -->
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role>"
    impliesAll="true"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>

  • Secure AJAX calls made from a JSR 168 portlet

    I am investigating methods to secure AJAX calls made from a JSR 168 portlet to a servlet using the Direct Web Remoting framework (DWR) and Weblogic Portal. The portlet can have more than one instance and different entitlements depending on the desktop it is available from. The Portal has several desktops and does not require the user to authenticate for some of the desktops.
    So far the only method I have come up with is to pass a token from the portlet to the servlet which indicates the entitlements the user should have to access the documents from the portlet and check in the servlet if the User has the appropriate global roles to access the documents.

    no , that doesn't work, the token passed can be modified by a malicious user (unless the token is random or signed)
    You need to store the desktop(s) the user is on in probably the HttpSession and read that from the servlet and make the decisions accordingly.
    regards
    deepak

  • Weird calls made from cell phone?

    Just wondering if anyone else has had this problem.
    Today, I went online to pay my bill (due April 14th) and noticed an international long distance charge for $69.65 on one of the lines on my account.
    I did some digging and pulled up the bill with the charge on it, along with all the phone calls made from each phone on my account. On this particular line, there are some VERY weird phone calls. On 2/26/11, the are numerous calls that start at 1:05 am and continue - there is a different phone call made almost every minute. It also happens on 3/11/11 in the evening, 3/12 in the early morning, 3/12 in the evening, and one call made on 3/13 at noon. Here is what it looks like (deleted my location for privacy):
    3/11 9:30P 800-429-5483 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/11 9:31P 312-568-7744 Off-Peak N&W  Chicago IL 1 -- -- --
    3/11 9:32P 800-750-7792 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/11 9:33P 602-997-3599 Off-Peak N&W  No Phoenix AZ 1 -- -- --
    3/11 9:51P 800-409-9666 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/11 10:02P 800-376-8111 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 1:57A 800-429-5483 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 1:57A 800-409-9666 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 1:58A 800-750-7792 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 1:58A 800-777-8000 Off-Peak N&W  Toll-Free CL 15 -- -- --
    3/12 2:21A 800-750-7792 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 2:22A 800-429-5483 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 2:23A 800-289-1489 Off-Peak N&W  Toll-Free CL 2 -- -- --
    3/12 2:25A 402-341-4000 Off-Peak N&W  Omaha NE 52 -- -- --
    3/12 3:23A 800-576-7777 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 3:24A 800-396-8255 Off-Peak N&W  Toll-Free CL 1 -- -- --
    3/12 3:27A 800-599-4386 Off-Peak N&W  Toll-Free CL 2 -- -- --
    3/12 3:29A 800-210-1010 Off-Peak N&W  Toll-Free CL 19 -- -- --
    Luckily, we weren't charged for the ones above, here's the one we were charged for:
    2/26 4:21A 869-662-1717 Off-Peak N&W  Basseterre KN 35 -- 69.65 69.65
    Mobile
    It's just really freaking me out. This is MY phone BTW, and I haven't made ANY of these calls. I've called several of the toll-free ones, and they all come up as party/chat lines. I've never used a chat line in my life, I'm not big on talking on the phone - I'm a texter, not a talker. Not to mention the fact that when these calls were made I was either asleep or sitting next to my spouse. I'm she would have noticed if I were chatting on a party line!
    I called VZW and spoke with customer service. She basically told me that it was IMPOSSIBLE for there to be an error on their side. So I called tech support. He told me that he didn't know what was going on and told me to contact Fraud - their computers/system was down so he couldn't help a whole lot. So I'm going to call Fraud in a little while to see if they can help.
    The phone has never been missing or stolen. It's a Samsung Intensity II, so it's pretty low tech. I don't know what to do, we can't really afford to pay the $69.65 and obviously these calls have been happening for awhile - I'm afraid it's going to happen again. This phone has issues too - it constantly gets on to the mobile web and randomly opens things like the calculator.
    What should I do if Verizon can't help me?

    Thanks for the reply!
    I've called and spoke to a rep in the "Account Investigations". The woman told me that it's impossible for it to be a cloning issue - the reason she gave is that when a phone is cloned, the theif will run up your bill completely and call multiple different coutries. She said that it's still POSSIBLE to clone, even with the ESN numbers not the sim cards, but that it's rare and she claimed that because I only received a charge for $69.65 and only 80 minutes were used up total, that this isn't a cloning or fraud issue. She also said that the calls were valid because they were all made from my home area and incoming calls were received later that day. She also called the Canada number for me and it was a party/chat line as well.
    Okay, whatever. I asked her if there was ANY way these calls could have been made without my knowledge - someone hacking in to the phone, the phone making calls on it's own...anything. She shot me down and said that she couldn't explain them - her only explaination was that someone in my home area had possesstion of the phone at this time and made the phone calls.She said it was impossible for there to be an error on Verizon's part. I told her that I gave my old phone to a friend of mine (who is single and LOVES to call party lines) and asked her if somehow the calls made on my old phone could be accidentally charged on my bill - she said definitely not. She advised me to use the parental control tools on the VZW website to prevent these calls from occuring again - which will cost me $5 more per month. I am probably going to do the parental controls thing - but I still just want to know what's going on. I'm not trying to get out of paying my bill, I just don't think I should pay for something I didn't DO. And the fraud rep didn't seem too interested in investigating further - she hung up on me, even. I have been a loyal customer since 2007 - always paid my bill on time, never made any complaints unless it was something I couldn't deal with myself...and now when I need them to help me out and just investigate a little further, they're not interested. I used to love VZW, but now I don't know.
    What should I do? Just keep calling until someone helps me?
    It seems possible that my old phone is getting confused with my new phone - when my wife's parents got divorced, her father shut off her mom's and sister's lines - not permanently, just temporarily through his account on VZW's site (you know, where you can disconnect the phone if it gets stolen or lost). When she tried to reactivate the phone on a different account, VZW cs reps told her than she couldn't because the phone was still "owned" by the account holder - the father. Now, the contract hasn't been renewed and the phones have both been permanently disconnected because the father chose to not renew the contracts and disconnected the numbers. When we tried to activate the phones, CS reps still claimed that the phones were "owned" by the father and wouldn't let us activate them.
    Sorry for being long winded, I just want some help.

  • Method Call madness

    Hey everyone,
    I got another problem which I cant seam to make sense of.
    I have a class called BDInterface. This class calls the constructor for a class called Ticket:
    Ticket t = new Ticket(TixNo,noLegs);
    The Ticket class contains a method called ViewTicket().
    If I call the ViewTicket() method from the DBInterface class with the line:
    t.ViewTicket; //This Works Fine
    Yet if I call the same method from another class called Driver with the line
    t.ViewTicket; // ERROR! Cannot Resolve Symbol.
    I dont understand why.
    If i called the constructor previously and made a Ticket object called t, why is it only
    the class that called the constructor is able to use the Ticket classes methods.
    The ViewTicket() Method is Public, if that helps!
    This confuses me.
    Can anyone help?
    Thanks

    Woops, the private Ticket t in Driver should be:
    private static Ticket t;of should be declared in the main method:
      public static void main(String[] args) 
        DBInterface dbi = new DBInterface();
        Ticket t = dbi.RetrieveTicket("AM001014"); //get the Ticket created in dbi.RetreveTicket(...)
        t.ViewTicket(); //Should work now
      }//End of Main()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unauthorised calls made from my account

    Hi guys,
    Today I noticed that I have less credit than I should so I checked by call history and found that there are several unauthorized calls to China made from March 08 2012 to March 11 2012. And I also noticed that a contact has been added to the contact list.
    I have two different and anti-virus programs and proteced by firewall software in my computer. It is scanned daily for any security issues.
    Could you please investigate how this contact has been added to the list and who made those calls? I took a screenshot, removed the contact and changed the password.
    Thanks in advance.
    Cheers,
    Shane

    docmel wrote:
    Same thing happended here - just lost £10 to calls made to Indian numbers
    you can visit the link below for suggestions;
    Suggestions on how to handle “Hacked Skype Accounts”
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Recording calls made from/to a BlackBerry by hardware means

    This thread is intended to talk about legally* circumventing the software block made on purpose by RIM because of the Canadian privacy laws. I'm assuming whoever reads this thread is allowed to do this.
    *Legally in Italy, where I live. Here the knowledge of both parties is unnecessary to record a call; only the (silent) consent of one of them is required.
    The 9900 can record a call via the Call Recorder app by Ajani InfoTech; however, this doesn't work on my 9790 and contacting the developer has proven to be a failure.
    So, I've come up with a hardware solution that needs to be improved. It does have flaws, and with this post I'm asking you to help me in fixing them.
    *** REQUIREMENTS ***
    A digital recorder
    A headset (headphone + microphone) with the mic and phones outs splitted (two outs)
    A 3-way splitter
    A 1/8'' TRS-to-TRS cable
    *** THE TECHNIQUE ***
    The BB has only one output, hence the need for the 3-way splitter. So the first step is to connect the 3-way splitter to the earphone plug of the BB.
    The first input of the splitter is for the 1/8'' TRS cable that will go directly to the microphone input of the digital recorder.
    The second and third input of the splitter are for the mic and phones of the headset.
    When making a call you have to select "Earphone" (and not "Device") because the BB won't recognize the splitter; press "Record" on the digital recorder and it will all begin.
    *** THE FLAWS ***
    This technique works, and I've tested it multiple times. However, the volume of the conversation is extremely low.
    If I remove the headset, and use for instance an earset (TRRS jack with both mic and earphones in 1 plug), I can hear the other party's conversation very well (good volume) but not my voice.
    My question: the headset I've used is very cheap & low-quality.
    Would a better headset solve this issue?
    Thank you for your support and remember, this is NOT intended to break the law!
    Tyrexionibus

    docmel wrote:
    Same thing happended here - just lost £10 to calls made to Indian numbers
    you can visit the link below for suggestions;
    Suggestions on how to handle “Hacked Skype Accounts”
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Retriving list on current calls made from daughters phone

    How can I access the detailed list of calls from my daughters phone since the last bill?

    Hello,
    Thank you Community Members for being eager to assist and providing very helpful information. It is very much appreciated.
    For more information on how to check your account's current usage information, please visit the link below:
    Can I view my usage details for the current month online?
    Thank you.
    KellyW@VZWSupport

  • Phone calls made from phone but NOT from me

    Today apparently one of my friends (he was sober) texted me, as well as a couple other friends since he asked them if I was ok, that I had called him, apologized for things, and then hung up. At the time, I was in the restroom, absolutely nowhere near my phone I promise you that. He swears it was my voice and my number since his phone is locked to people not in his contact list. My phone is not connected to Wifi or anything like that. I also have not left my phone somewhere out of my sight, and there isn't any new apps that i did not put on my phone. What could have happened and should i be worried? My phone also doesn't show that I called him. Any help would be great thank you! Feeling so paranoid right now!

    iOS: Troubleshooting Messages
    Read this article it should help.
    Good Luck

  • Sequence of Methods Calls

    Hi
    I still need more clarity on sequence of method calls. I have 2 views within an Application which uses a component controller. I have mapped the I/O plugs to navigate from View 1 to View 2. User clicks on a button on view 1 and navigates to View 2. User again clicks on a button in  view  2 to navigate to View 1.
    Now I need to know thge sequence of method calls starting from init() for component controller, init() of view 1 , user clicking a button, firing of plug methods, calling of init() methods of views, doModify() and so on.. I hope I made myself clear.
    Regards,
    Murali.

    Hi Murli
          When you first call the view 2 by clicking on a button  the init method will be called and then modifyView will be called and then you navigate to view 1 again and if again you click to navigate to view 2 at that time only modifyView will be called.
          In the particular session with a client init method is called only once in that particular session. for that view for that client.
          If you have any confusion tell me.
    Ninad

  • Invoking COM objects from Weblogic EJB

    Hi,
    I am searching the BEA site on how best to call COM objects from
    a EJB deployed in Weblogic. I find rmi over iiop, articles on ObjectBridge
    which are confusing. Is there a sample where a COM method is called
    from EJB server ( I only see example the other way round)
    Thanks,
    Harish.

    http://www.weblogic.com/docs51/examples/com/examples.com.ServerSideDLLClient.html
    This shows use the WebLogic COM compiler to generate and RMI wrapper
    around a COM DLL and invoking it remotely. Unfortunately, the example
    appears to be a little out-of-date (e.g., it is using the old RMI Naming
    style of doing the lookup)...
    Be forewarned, WebLogic COM is not supported in WebLogic 6.0 (due to the
    inavailability of a Microsoft 1.3 JVM implementation).
    Harish wrote:
    JIntegra is fine, but I want to know if anybody tried WebLogic-COM.
    (Is this the right forum?)
    Actually I tried out the 'beeper' sample but still have many doubts.
    Robert Patrick <[email protected]> wrote:
    JIntegra by Linar (http://www.linar.com).
    Harish wrote:
    Hi,
    I am searching the BEA site on how best to call COMobjects from
    a EJB deployed in Weblogic. I find rmi over iiop, articleson ObjectBridge
    which are confusing. Is there a sample where a COM methodis called
    from EJB server ( I only see example the other way round)
    Thanks,
    Harish.

  • List of calls made?

    How do i review a list of calls made from my phone to retrieve a phone number that was not saved but it is now vital i find the number.

    The simplest way is to hit the Send button (green phone icon) on your keypad - it will bring up a list of recent calls to and from your phone.
    If it was further back than that list goes, you can log on to your account online (if you are the account owner) and view your bill details for the past year for calls, 3 months for texts.

  • How to call the secured EJB from timer ejb timedout method.

    Hi All,
    I have a couple of questions on EJB 3.1 Timer Service.
    1. How to call the secured EJB (annotated @RolesAllowed) from Timer EJB @Timeout Method?
    2. What's the default role/principal with which the Timer @Timeout Method gets called?
    Please let me know any info regarding the same.
    Thanks,
    Suresh

    I'd start here:
    http://ant.apache.org/manual/index.html
    If that doesn't help, go to the table of contents and start poking around. You don't need to read the whole thing front to back, but if you're not willing to spend some time researching and reading, you're not going to get very far.

  • Can I call an object with synchronized methods from an EJB

    I have a need for multiple threads (e.g. Message Driven Beans) to access a shared object, lets say a singleton, I'm aware of the "you can't have a singleton in the EJB world" issues) for read/write operations, so the operations will need to be synchronised.
    I've seen various statements such as you can't use read/write static fields in EJBs and you can't use synchronisation primitives in EJBs but I've also seen statements that say its okay to access utility classes such as Vector (which has synchronised methods) from an EJB.
    Does anyone know if there is a definitive answer on this? What are the implications of accessing a shared object with synchronised methods from multiple EJBs? Is it just that the EJB's thread may block which limits the ability of the container to manage the EJBs? In the Vector example above (from Professional Java Server Programming) did they mean its okay to use these utility classes provided they aren't shared across threads?
    If I can't use a plain old Java Object does anyone know if there are other potential solutions for sharing objects across EJBs?
    In my problem, I have an operation that I want to run in a multi-threaded way. Each thread will add information to the shared object, and this info may be used by the other threads. There's no lengthy blocking as such other than the fact that only one thread can be adding/reading information from the shared object at a time.
    I've trawled through this forum looking for similar questions of which there seem to be many, but there doesn't seem to be any definitive answers (sorry if there was and I missed it).
    Thanks
    Martin

    You can share objects among EJB's or among objects used by one or more EJB's. You can use synchronization primitives - nothing will prevent you from doing that.
    After all, the container classes, JVM-provides classes, JDBC, JCA, JNDI and other such classes do all of this with impunity. You can too. You can use file and socket I/O as well, presuming you configure the security profile to allow it. Should you? Well it depends on what you need to accomplish and if there is another practical alternative.
    Yes the specification warns you not to, but you cannot be responsible for the interior hidden implementation of classes provided to you by the JVM or third parties so you can never truly know if your are breaking these written rules.
    But when you do these things, you are taking over some part of the role of the container. For short running methods that only block while another thread is using the method or code block and no I/O or use of other potentially blocking operations are contained in the method/block, you will be fine. If you don't watch out and create deadlocks, you will harm the container and its managed thread pool.
    You should not define EJB methods as synchronized.
    Also, if you share objects between EJB's, you need to realize that the container is free to isolate pools of your EJB in separate classloaders or JVM's. It's behavior can be influenced by your packaging choices (use of .ear, multiple separate .jar's, etc.) and the configuration of the server esp. use of clustering. This will cause duplicate sets of shared classes - so singletons will not necessarily be singleton across the entire server/cluster, but no single EJB instance will see more than one of them. You design needs to be tolerant of that fact in order to work correctly.
    This isn't the definitive answer you asked for - I'll leave that to the language/spec lawyers out there. But in my experience I have run across a number of occasions where I had to go outside of the written rules and ave yet to be burned for it.
    Chuck

  • Returning more than one value/object from an EJB method

    Hi,
    I have the follong method in the remote interface of my EJB:
    void createSomeObject( MyObject obj1, List returnList1, Map returnMap1);
    Since i want to return a List (returnList1) and a Map(returnMap1) from my EJB method "createSomeObjects", i am passing these as parameters thinking they will be passed by reference and the client(servlet) gets the changes the EJB made to these objects.
    But it doesn't seem to be working, the EJB is filling the List and Map objects and the servlet doesn't get it (pass by value problem).
    My understading is that, all parameters to an EJBs are passed by value(because they are remote calls, the RMI thing), let me know if this right.
    Is there any workaround apart from the following alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model and return this instead of passing them as parameters.
    Thanks
    Vasu

    My understading is that, all parameters to an EJBs
    are passed by value(because they are remote calls,
    the RMI thing), let me know if this right.Yes, that is correct - which you should know from your introduction to J2EE reading.
    Is there any workaround apart from the following
    alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model
    and return this instead of passing them as
    parameters.No.

Maybe you are looking for

  • New Dataset button disabled in Lumira

    Hello All, We have installed licensed version of Lumira desktop. We are using version 1.17.2. When we connect to HANA system, in the 'Prepare' tab, the option to add 'New dataset' is disabled. However if we use Lumira to connect to SQL via ODBC, the

  • Error in BPC Excel report

    Hello Experts, I am useing BPC 5.0, I am trying to create a EvDRE Grid report (Drag & Drop report in BPC Excel) I am Faceing an error as "EVDRE encountered an Error reteiveing data from the Web server". Thanks a lot for help. Cheers,

  • BSP Graphics Extension (MTA)

    Dear All, I am trying to generate an MTA using BSP graphics extension. I have managed to get the structure of the graphic: <Defaults> <ChartType>MTA</ChartType> <FontFamily>Arial</FontFamily> </Defaults> However, I am having trouble placing the value

  • Headpho

    I just installed Blaster x-fi Xtreme Audio card. It installed fine and I can hear through my speakers. My headphone jack on my Dell Demension 4550 does not work when I plug my headphones into it. How do I get sound to that headphone jack?

  • Connect By Without Prior

    Hi, In 2005, this link (AskTom) discussed connect by without prior and Tom Kyte said: "I shall file a documentation bug to have the documentation updated to accurately reflect reality."In 2007 11g was released and Oracle 11g doc states: * In a hierar