JMSControl request/reply possible in WLW 9?
Hi All,
Is it possible to send a message and get the response back using JMSCorrelationID using only the JMSControl or do I have to code it by hand? I found some docs explaining how to do it in WLW 8.1 but there seems to be no doc which tells how to do it in 9.
Thanks,
Daniel
Hi Daniel
In Workshop version 9.x, a JMS control can't be used to receive messages. You can only use it to send messages.
In WLW8.1 we had support for both send and recieve. The link below talks about it under the section 'Replacing JMS Control Receive Functionality' http://edocs.bea.com/workshop/docs92/ws_platform/upgrading/conUpgradingJavaControls.html
Some more info at http://edocs.bea.com/workshop/docs92/ws_platform/controls/system/jms/navJMSControl.html
Vimala-
Similar Messages
-
Synchronous HL7 Inbound request-reply
Hello All,
This is my first please sorry for any mistakes
I'm currently using,
Oracle JDeveloper 11g Release 1 (11.1.1.7.0)
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
My task looks very simple
I need synchronous HL7 Inbound request-reply.
What I'm trying to do is:
Using Jdeveloper create SOA composite project
1) Set up synchronous HL7 Inbound request-reply using "HL7 Adapter" (Inbound type: QRY_T12, Outbound type: DOC_T12)
2) Set up synchronous BPEL (also tried specify later) and wire it to "Exposed service" created on step 1
3) Add simple transformation between BPEL Recieve and Reply (setting ACK.1 == "AA")
Compile: no warnings or errors
Deploy: no warnings or errors
Send HL7 message -> getting "IDeliveryService.post() invoked for two-way operation 'request-reply'. This method can only be used to invoke one-way operations which don't return any messages. Please check the WSDL which defines this operation and use the method IDeliveryService.request() to invoke a two-way operation"
What am i doing wrong?
Is such thing as HL7 request-reply is possible?
Will highly appreciate any help, being struggling with this more than a week
Thanks in advance!
PS Endpoint Acknowledgement Mode is set to SYNCBob,
I don't think PS4 (11.1.1.5) has this option available -
http://docs.oracle.com/cd/E21764_01/integration.1111/e10229/intro_ui.htm#CHDEGEEB
Please re-check your local setup version.
Regards,
Anuj -
Weblogic temporary or synchronous request/reply queue
Hi,
Is there a possibility of creating temporary or Synchronous request/reply Queue in weblogic. If so, please let me know the steps to create it.
ThanksThe following doc section contains information about using WebLogic JMS temporary destinations.
http://docs.oracle.com/cd/E17904_01/web.1111/e13727/manage_apps.htm#JMSPG283 -
Hi SAP,
My backgroud job is failing with log as shown below
Job started
Step 001 started (program ZMRS0065, variant SUS
Step 002 started (program ZDRS0090, variant SUS
Step 003 started (program ZFRS0305, variant SUS
Step 004 started (program ZFRS0300, variant SUS
Access error
Job cancelled after system exception ERROR_MESSAGE
An error occurred when processing the spool request. (Possibly due to memory problems)
Kindly help out in this issue
Regards
MohammedHello Mohammed,
Have you seen any error in your SM21 system log and developer trace of spool work process
during that time?
The maximum size when create spool is 2GB.Pls also check if you are creating a spool
larger than it.
Best Regards
Jie Bai -
Request/Reply in FTP Adapter
Hi,
I have to implement the Req/Reply paradigm with an FTP Adapter and DB Adapter. A file is created which is read by FTP adapter and a synchronous reply is required in the same file e.g the file will contain XML for customer number; in response in requires Customer Name is the same file.
I am using Procedure in iStudio but how can I direct the reply to the same file with the same name with which it is originally created in the upload directory.
In a nut shell, what is the best way to model req/reply in File and DB Adapter.
Thanks
M jahangirHi All
The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
<adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
wsdlLocation="RemoteOSBJMSService.wsdl"
xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/JMS/RequestReplyTopic"
UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
UIConnectionName="chdsez147855d"/>
<endpoint-activation portType="Reply_ptt" operation="Reply"
UITransmissionPrimitive="Request-response">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<property name="PayloadType" value="TextMessage"/>
<property name="UseMessageListener" value="false"/>
<property name="DestinationName" value="jms.soa.local.response.q"/>
</activation-spec>
</endpoint-activation>
<endpoint-interaction portType="Request_ptt" operation="Request"
UITransmissionPrimitive="Request-response">
<interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
<property name="TimeToLive" value="0"/>
<property name="PayloadType" value="TextMessage"/>
<property name="DeliveryMode" value="Persistent"/>
<property name="DestinationName" value="jms.soa.local.request.topic"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
Please help! -
Socket Adapter Request-Reply ~ Error occured in processing client request ~
Dear Friends,
Need your help in resolving a Issue regarding Socket Adapter Request/Reply.
We have a requirement to recieve Message from a External Vendor using Socket based communication,to achieve this Created a Process which has Socket Adapter Inbound Synchronous Request-Reply. I have also created a sample Outbound Service to test and it was able to send & Receive Message Sucessfuly .
When i try to Recieve a Message from the External Vendor on Port 8008 in this I am unable to receive the message(No Bpel Instance Created) message coming to the SOA Server, in the logs I can see Below Error-
Socket Adapter ClientProcessor:run() Error occured in processing client request
Socket Schema Translation Error.
Error while trying to translate from native.
Please ensure that the schemas are set up with native annotations and comply with the output XML. Contact Oracle support if error is not fixable.
Pls. find my Input XSD Below-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://TargetNamespace.com/InboundService"
targetNamespace="http://TargetNamespace.com/InboundService"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
>
<xsd:element name="R1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Sample Incoming Message-
<?xml version="1.0" encoding="UTF-8"?>
<ExitRequest>
<ExitRequestID>1234</ExitRequestID>
<Timestamp>28-11-2012 01:19:11</Timestamp>
<ActiveTagData>23456</ActiveTagData>
<DriverID>5555</DriverID>
<LicensePlate>6546</LicensePlate>
<DriverName> Sujit Nair</DriverName>
<DriverDOB>06-06-2012</DriverDOB>
<DriverEmployer>Testing</DriverEmployer>
<DriverSex>Male</DriverSex>
<DriverLang>ENGLISH</DriverLang>
<DriverNationality>TEST</DriverNationality>
<LaneID>Gate Testing</LaneID>
<CardReaderID>07700</CardReaderID>
</ExitRequest>
Can anyone pls. help me on this , still not able to understand what I am doing wrong. Pls. let me know if any other details required.
Thanks,
Sujit NairHi,
You don't need a NSXD (Native Format Builder) to receive a message that is XML already, and the NXSD you listed above has nothing to do with the sample incoming message. So, no surprises it is complaining "Error while trying to translate from native.".
You have to fix the incoming message element on the Socket Adapter.
Cheers,
Vlad -
Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue
Hi All
We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. ThanksHi All
The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
<adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
wsdlLocation="RemoteOSBJMSService.wsdl"
xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/JMS/RequestReplyTopic"
UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
UIConnectionName="chdsez147855d"/>
<endpoint-activation portType="Reply_ptt" operation="Reply"
UITransmissionPrimitive="Request-response">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<property name="PayloadType" value="TextMessage"/>
<property name="UseMessageListener" value="false"/>
<property name="DestinationName" value="jms.soa.local.response.q"/>
</activation-spec>
</endpoint-activation>
<endpoint-interaction portType="Request_ptt" operation="Request"
UITransmissionPrimitive="Request-response">
<interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
<property name="TimeToLive" value="0"/>
<property name="PayloadType" value="TextMessage"/>
<property name="DeliveryMode" value="Persistent"/>
<property name="DestinationName" value="jms.soa.local.request.topic"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
Please help! -
Asynchronous Web Service Request-Reply Invocation from Service Control
Hi all
I need to invoke a reliable web service call using a Service Control. when trying to make that invocation for an operation that returns data. It gives the following exception. For the methods that marked with @Oneway() annotation in the service implementation, it works.
javax.xml.rpc.JAXRPCException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
</bea_fault:stacktrace></detail>]; nested exception is:
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
Caused by: java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Reliable messaging will only work with one way messages or asynchronous request/response messages.
] FaultActor [null] Detail [<detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">javax.xml.rpc.JAXRPCException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
</bea_fault:stacktrace></detail>]; nested exception is:
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Reliable messaging will only work with one way messages or asynchronous request/response messages.
So I need to make Asynchronous Request-Reply Invocation from Service Control, which is apparently doesn't happen in this case.
ThanksHi HP,
I included the following snippet in job source:
//Set completion strategy to external
jcsJobContext.setCompletionStrategy(CompletionStrategyType.External);
I get the following error when compiled:
JCS-102183: Compile failed for Job Definition SOAP_GlobalWeatherSoap_GetCitiesByCountry (Latest Version): SOAP_GlobalWeatherSoap_GetCitiesByCountry.java:user code 24:40:cannot find symbol symbol : variable CompletionStrategyType location: class com.redwood.scheduler.custom.SOAP_GlobalWeatherSoap_GetCitiesByCountry jcsJobContext.setCompletionStrategy(CompletionStrategyType.External);
I am not able to find any information from the API documentation on the method setCompletionStrategy, so I'm not able to figure what type of variable am i passing, so that i can initialize it. Please shed some light on it.
Also there is no path called Scripting > Built-In Web Services
I have only Scripting>Published Web Services
Thanks
Nanda -
I'm having some trouble with my request/reply setup.
Here's the requesting code:
String request =
"<mileage-xml-request><origin><city>UNIONTOWN</city>" +
"<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city>DALAS</city>" +
"<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml-request>";
String initialContextFactory = "com.tibco.tibjms.naming.TibjmsInitialContextFactory";
String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
QueueConnectionFactory factory =
(QueueConnectionFactory) JndiHelper.lookup(
"QueueConnectionFactory",
providerURL,
initialContextFactory);
QueueConnection conn = factory.createQueueConnection();
QueueSession session = conn.createQueueSession(false, Session.DUPS_OK_ACKNOWLEDGE);
Queue queue =
(Queue) JndiHelper.lookup(
"COM.FEDEX.BLUE.MILEAGE.REQUEST",
providerURL,
initialContextFactory);
QueueRequestor requestor = new QueueRequestor(session, queue);
TextMessage requestMessage = session.createTextMessage(request);
TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
System.out.println(textMessage.getText());
requestor.close();
session.close();And the reply code:
Queue queue = (Queue) message.getJMSReplyTo();
QueueConnectionFactory factory =
(QueueConnectionFactory) JndiHelper.lookup(
"QueueConnectionFactory",
providerURL,
initialContextFactory);
QueueConnection conn = factory.createQueueConnection();
QueueSession session = conn.createQueueSession(false, Session.DUPS_OK_ACKNOWLEDGE);
QueueSender sender = session.createSender(queue);
TextMessage replyMessage = session.createTextMessage(reply);
replyMessage.setJMSCorrelationID(correlationID);
sender.send(replyMessage);
sender.close();
session.close();
conn.close();The requesting code runs fine up to
TextMessage textMessage = (TextMessage) requestor.request(requestMessage);Which then triggers the reply code, which runs to completion, but it never receives a reply.
Any ideas on what to try next? Is my requestor listening on the wrong queue for the answer? Is my replier sending to the wrong queue?
Thanks.
EricI just needed
conn.start();
after
QueueRequestor requestor = new QueueRequestor(session, queue); -
I'm having some trouble with my request/reply setup.
Here's the requesting code (just a regular test class):
String request = "<mileage-xml-request><origin><city>UNIONTOWN</city>" +
"<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city
>DALAS</city>" +
"<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml
-request>";
String initialContextFactory =
"com.tibco.tibjms.naming.TibjmsInitialContextFactory";
String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
QueueConnectionFactory factory = (QueueConnectionFactory)
JndiHelper.lookup("QueueConnectionFactory", providerURL,
initialContextFactory);
QueueConnection conn = factory.createQueueConnection();
QueueSession session = conn.createQueueSession(false,
Session.DUPS_OK_ACKNOWLEDGE);
Queue queue = (Queue) JndiHelper.lookup("COM.FEDEX.BLUE.MILEAGE.REQUEST",
providerURL, initialContextFactory);
QueueRequestor requestor = new QueueRequestor(session, queue);
TextMessage requestMessage = session.createTextMessage(request);
TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
System.out.println(textMessage.getText());
requestor.close();
session.close();
conn.close();
And the reply code (inside my MDB, called from onMessage):
Queue queue = (Queue) message.getJMSReplyTo();
QueueConnectionFactory factory = (QueueConnectionFactory)
JndiHelper.lookup("QueueConnectionFactory", providerURL,
initialContextFactory);
QueueConnection conn = factory.createQueueConnection();
QueueSession session = conn.createQueueSession(false,
Session.DUPS_OK_ACKNOWLEDGE);
QueueSender sender = session.createSender(queue);
TextMessage replyMessage = session.createTextMessage(reply);
replyMessage.setJMSCorrelationID(correlationID);
sender.send(replyMessage);
sender.close();
session.close();
conn.close();
The requesting code runs fine up to
TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
Which then triggers the reply code, which runs to completion, but the reques
tor never receives a reply.
Any ideas on what to try next? Is my requestor listening on the wrong queue
for the answer? Is my replier sending to the wrong queue?
Thanks.
Eric
I just needed
conn.start();
after
QueueRequestor requestor = new QueueRequestor(session, queue);
"Eric F" <[email protected]> wrote in message
news:[email protected]...
> I'm having some trouble with my request/reply setup.
>
> Here's the requesting code (just a regular test class):
>
> String request = "<mileage-xml-request><origin><city>UNIONTOWN</city>" +
>
"<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city
> >DALAS</city>" +
>
"<state>TX</state><zip>75201</zip><country>USA</country></dest></mileage-xml
> -request>";
> String initialContextFactory =
> "com.tibco.tibjms.naming.TibjmsInitialContextFactory";
> String providerURL = "tcp://app-dev-01.blue.fedex.com:7222";
> QueueConnectionFactory factory = (QueueConnectionFactory)
> JndiHelper.lookup("QueueConnectionFactory", providerURL,
> initialContextFactory);
> QueueConnection conn = factory.createQueueConnection();
> QueueSession session = conn.createQueueSession(false,
> Session.DUPS_OK_ACKNOWLEDGE);
> Queue queue = (Queue) JndiHelper.lookup("COM.FEDEX.BLUE.MILEAGE.REQUEST",
> providerURL, initialContextFactory);
> QueueRequestor requestor = new QueueRequestor(session, queue);
> TextMessage requestMessage = session.createTextMessage(request);
> TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
> System.out.println(textMessage.getText());
> requestor.close();
> session.close();
> conn.close();
>
> And the reply code (inside my MDB, called from onMessage):
>
> Queue queue = (Queue) message.getJMSReplyTo();
> QueueConnectionFactory factory = (QueueConnectionFactory)
> JndiHelper.lookup("QueueConnectionFactory", providerURL,
> initialContextFactory);
> QueueConnection conn = factory.createQueueConnection();
> QueueSession session = conn.createQueueSession(false,
> Session.DUPS_OK_ACKNOWLEDGE);
> QueueSender sender = session.createSender(queue);
> TextMessage replyMessage = session.createTextMessage(reply);
> replyMessage.setJMSCorrelationID(correlationID);
> sender.send(replyMessage);
> sender.close();
> session.close();
> conn.close();
>
> The requesting code runs fine up to
> TextMessage textMessage = (TextMessage) requestor.request(requestMessage);
>
> Which then triggers the reply code, which runs to completion, but the
reques
> tor never receives a reply.
>
> Any ideas on what to try next? Is my requestor listening on the wrong
queue
> for the answer? Is my replier sending to the wrong queue?
>
> Thanks.
>
> Eric
>
>
-
Hi,
I'm buffled because I try to implement
Request-Reply Messaging in my JavaClient Application,
but one time it works, the next one doesn't.
I use in my Application an MessageListener,
and the same queue to send my messages and to receive reply messages.
Middleware: WL 6.0 sp2
Any advise would be great!
kind regards
Hi John,
Does the work have to be queued? If not then I think the Functor Pattern (if you need order guarantees) or the Processing Pattern (no order guarantees) might be your easiest solutions (and they're fast).
Alternatively, we could look at adding request/response into the Messaging. Do you have a particular API you'd like to see? Something JMS-ish?
Regards
-- Brian -
No synchronous Request/Reply option in B2B config wizard step 5 of 7 ?
I have a customer running SOA Suite 11.1.1.5 who has created a BPEL process
and added a B2B partner link to the reference swim lane.
They want to send a 270 document to a partner and receive a 271 on the same HTTP Channel as a Sync Req/Reply
When the customer runs the B2B wizard, it successfully connects to their WLS Server and at
Step 5 of 7 in the wizard they see radio buttons for
o Send
o Receive
They do not have radio buttons further down for
o Synchronous Request/Response
o Outbound
o Inbound
Does anyone have any ideas why not?
I have a sample running on my local server which is also 11.1.1.5 and
the Synchronous Request/Response radio buttons do appear.
thanks
BobBob,
I don't think PS4 (11.1.1.5) has this option available -
http://docs.oracle.com/cd/E21764_01/integration.1111/e10229/intro_ui.htm#CHDEGEEB
Please re-check your local setup version.
Regards,
Anuj -
MQ Request - Reply : can not send reply message
Hi,
I have two MQs defined REQUEST_MQ_NAME.RQT and REPLY_MQ_NAME.RPY.
I am trying to use : Get Message from MQ and Send Reply/Reports - Synchronous
I am able to recieve the message from request MQ but while sending the reply I get this error on the EM console.
Error Message:
Fault ID service:451394
Fault Time Apr 14, 2010 3:43:02 PM
Non Recoverable System Fault :
*BINDING.JCA-13044 A webSphere MQ Error occurrred[while putting the message]. A webSphere MQ Error occurrred[while putting the message]. A webSphere MQ Error occurrred while putting the message in Queue: "REPLY_MQ_NAME.RPY ". Please make sure that the Queue is Put enabled, not full, message do not exceeds maximum message length and QueueManger is up and running.*
I checked .. Queue is empty , message is a few characters and the QueueManager is up and running
I am using the latest Jdeveloper (Studio Edition Version 11.1.1.2.0)
Please help
Thanks,
Praveen
Edited by: Praveen636546 on Apr 15, 2010 12:06 PMI checked the Queue and was successful in putting messages through a MQExplorer.
I see this in the log:
[NOTIFICATION] [] [oracle.soa.adapter] [QueueProcessor] Translating Message.
[NOTIFICATION] [] [oracle.soa.adapter][QueueProcessor] Message translated successfully. ok.
[NOTIFICATION] [] [oracle.soa.adapter][QueueProcessor] Message published. ok. with time [253 msec].
[NOTIFICATION] [] [oracle.soa.adapter][MessageProduce] Starting Outbound Produce.
*[NOTIFICATION] [] [oracle.soa.adapter][MQOutboundDOMHeader] Header Node is NULL*
[NOTIFICATION] [] [oracle.soa.adapter][MessageProduce] Enabling SyncPoints For XA Transaction.
[NOTIFICATION] [] [oracle.soa.adapter][MessageProducer] Throwing PCXARetriableResourceException
*[ERROR] [] [oracle.soa.adapter][MessageProducer] Error while putting message in REPLY_MQ_NAME.RPY Throwing retriable exception.*
I also saw this in .out file
<Error> <oracle.soa.adapter> <BEA-000000> <MQSeriesAdapter MyMQProcess
java.lang.NumberFormatException: For input string: "null"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.tip.adapter.mq.header.MQHeader.getMessageTypeAsInt(MQHeader.java:772)
at oracle.tip.adapter.mq.header.MQOutboundHeader.setHeaderValuesInMQMD(MQOutboundHeader.java:271)
at oracle.tip.adapter.mq.outbound.MessageProducer.setMessageProperties(MessageProducer.java:839)
at oracle.tip.adapter.mq.outbound.MessageProducer.produce(MessageProducer.java:321)
at oracle.tip.adapter.mq.inbound.QueueProcessor.sendReply(QueueProcessor.java:1157)
at oracle.tip.adapter.mq.inbound.QueueProcessor.publishMessage(QueueProcessor.java:842)
at oracle.tip.adapter.mq.inbound.QueueProcessor.publishContent(QueueProcessor.java:1016)
at oracle.tip.adapter.mq.inbound.QueueProcessor.run(QueueProcessor.java:259)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:3)
I am not able to figure out why the Header Node is NULL
Please help
Thanks,
Praveen -
Asynchronous request/reply with message driven beans?
HI,
Can I implement requet/reply with message driven beans in an asynchronous way? If so can somebody give me some hints?
I read that this can be done by creating a temporary queue on the producer and then calling setJMSReplyTo methond on the request message and passing in the temporary queue. By how do you specify a response message in the MessageDrivenBean, MessageListener class with only onMessage()?
ThanksThe MDB can only really be used for the server side of a request-response.
I'd recommend you look at Lingo which implements request-response remoting using JMS...
http://lingo.codehaus.org/Example
James
http://logicblaze.com/
Open Source SOA -
ASA 5505 Speed Issue - Help Requested if possible
Hi All,
I am wondering if anybody here can shed some light on any potential configuration issues with the configuration below (Sanitized). Current State:
1. SIte to Site VPN is up and running perfectly.
2. Client to Site VPNs work through L2PT/IPSEC and through mobile devices such as IPhone.
3. The outside interface is at line speed - approximately 5-6MBits per second.
4. When performing a download of a service pack from microsoft - Bit rate on the inside interface is approximately 1/3rd of the outside interface (A lot of loss). Interface shows no CRC errors and no input errors.
5. The outside interface shows CRC errors and INPUT errors but due to the line speed being optimal (as the client experienced via their WAN router direct (with the ASA out of the mix), have not looked in to this further. I suspect the device it is directly attached to does not auto negotiate correctly even though the interface is set to 100Mb Full Duplex.
6. Outside interface MTU is set to 1492, purposely set this way due to PPPOE over head (Please correct me if I am wrong). (Approx 8 bytes)
7. Inside Interface MTU is set to 1500, no drops or loss detected on that interface so have left it as is.
8. All inspection has been disabled on the ASA as I thought that scans on the traffic could have impaired performance.
Current Environment Traffic Flow:
1. All hosts on the network have there DNS pointed to external IP addresses currently as the DNS server is out of the mix. This usually points to DNS servers in the US. If the hosts use this, the DNS queries are performed over the site-to-site VPN but the internet traffic is routed around the VPN as the traffic is a seperate established session. Split tunneling is enabled on the ASA to only trust the internal hosts from accessing the US hosts. Everything else uses the default route.
2. The version of software on this ASA is 8.2(1). I have checked and there does not seem to be any underlying issues that would cause this type of behaviour.
3. Memory is stable at roughly 190Mb out of 512Mb
4. CPU is constant at approximately 12%.
5. WAN and INSIDE switch are Fast Ethernet and the ASA interfaces are all Ethernet - Potential compatibility issue between standards? I'm aware they should be compatible - any body that has experienced any issues regarding this would be greatly apprecaited.
Current Issues:
1. Speed on the inside interface is approximately 1/3rd of the WAN/Outside interface - download speeds are sitting at approximately 250 - 300kb (should be sitting at approximately 700-800kb).
2. Noticed that when the DC is pointed to the USA Root Domain Controller (Across the tunnel) latency is approximately 400ms average. (Performed using host name).
3. I ping the IP address of the exact same server and the latency is still 400ms.
4. Changing the DCs DNS address to 8.8.8.8, I perform the same ping to the same servers. Still 400ms.
5. I ping google.co.nz and I still get 400ms (You would expect it to route out the default gateway but session is still active for that IP on the ASA).
6. I ping 74.x.x.x (The IP from the resolution from step 5) and I get the same result.
7. I flush dns, same issue for 5/6.
8. I clear xlate on the ASA and the same issue persists.
9. I close command line, repen it, and perform the test again - latency is now back to 40 - 50ms as we would expect for non-vpn traffic.
I am currently out of ideas and would like some advice on what I have actually missed.
Things I suspect that I may need to do:
1. Upgrade IOS to latest version (Other than that - I'm out of ideas).
ASA Version 8.2(1)
hostname BLAH
enable password x.x.x.x encrypted
passwd x.x.x.x encrypted
names
name x.x.x.x BLAHPC
name 8.8.8.8 Google-DNS description Google-DNS
name 202.27.184.3 Telecom-Alien-Pri description Telecom-Alien-Pri
name 202.27.184.5 Telecom-Terminator-Sec description Telecom-Terminator-Sec
name 203.96.152.4 TelstraClearPri description TCL-PRI
name 203.96.152.12 TelstraClearSec description TCL-Sec
name x.x.x.x BLAH_Network description BLAH-Internal
name x.x.x.x DC description DC VPN Access
name x.x.x.x Management-Home description Allow RDP Access from home
name x.x.x.x SentDC description BLAHDC
name x.x.x.x Outside-Intf
dns-guard
interface Vlan1
nameif inside
security-level 100
ip address x.x.x.x 255.255.255.0
interface Vlan2
nameif outside
security-level 0
pppoe client vpdn group pppoex
ip address pppoe setroute
interface Ethernet0/0
switchport access vlan 2
speed 100
duplex full
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
interface Ethernet0/4
interface Ethernet0/5
interface Ethernet0/6
interface Ethernet0/7
banner exec [BLAH MANAGED DEVICE] - IF YOU ARE UNAUTHORIZED TO USE THIS DEVICE, LEAVE NOW!!!
banner login If you are Unauthorized to use this device, leave now. Prosecution will follow if you are found to access this device without being Authorized.
banner asdm [BLAH MANAGED DEVICE] - IF YOU ARE UNAUTHORIZED TO USE THIS DEVICE, LEAVE NOW!!!
ftp mode passive
clock timezone WFT 12
dns domain-lookup inside
dns domain-lookup outside
dns server-group DefaultDNS
name-server Google-DNS
name-server Telecom-Alien-Pri
name-server Telecom-Terminator-Sec
name-server TelstraClearPri
name-server TelstraClearSec
object-group service RDP tcp
description RDP
port-object eq 3389
object-group network BLAH-US
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
object-group network x.x.x.x
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
object-group service Management_Access_Secure
description Management Access - SECURE
service-object tcp eq https
service-object tcp eq ssh
service-object tcp eq 4434
object-group service FileTransfer tcp
description Allow File Transfer
port-object eq ftp
port-object eq ssh
object-group service WebAccess tcp
description Allow Web Access
port-object eq www
port-object eq https
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
object-group service AD_Access udp
description Allow Active Directory AD ports - UDP Only
port-object eq 389
port-object eq 445
port-object eq netbios-ns
port-object eq 636
port-object eq netbios-dgm
port-object eq domain
port-object eq kerberos
object-group network DM_INLINE_NETWORK_2
group-object x.x.x.x
group-object x.x.x.x
object-group network DM_INLINE_NETWORK_3
group-object x.x.x.x
group-object x.x.x.x
object-group network BLAH_DNS
description External DNS Servers
network-object host Telecom-Alien-Pri
network-object host Telecom-Terminator-Sec
network-object host TelstraClearSec
network-object host TelstraClearPri
network-object host Google-DNS
object-group service AD_Access_TCP tcp
description Active Directory TCP protocols
port-object eq 445
port-object eq ldap
port-object eq ldaps
port-object eq netbios-ssn
port-object eq domain
port-object eq kerberos
port-object eq 88
object-group network DM_INLINE_NETWORK_4
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
object-group network DM_INLINE_NETWORK_5
network-object x.x.x.x 255.255.255.0
network-object x.x.x.x 255.255.255.0
object-group network DM_INLINE_NETWORK_6
group-object x.x.x.x
group-object x.x.x.x
object-group network DM_INLINE_NETWORK_1
group-object x.x.x.x
group-object x.x.x.x
access-list inside_access_in remark Allow Internal ICMP from BLAH
access-list inside_access_in extended permit icmp Sentinel_Network 255.255.255.0 object-group DM_INLINE_NETWORK_2
access-list inside_access_in remark Allow Internal ICMP to BLAH
access-list inside_access_in extended permit icmp object-group DM_INLINE_NETWORK_3 BLAH 255.255.255.0
access-list inside_access_in remark External DNS
access-list inside_access_in extended permit object-group TCPUDP BLAH 255.255.255.0 object-group BLAH_DNS eq domain
access-list inside_access_in remark Allows Web Access
access-list inside_access_in extended permit tcp BLAH 255.255.255.0 any object-group WebAccess
access-list inside_access_in remark Allow Remote Desktop Connections to the Internet
access-list inside_access_in extended permit tcp BLAH 255.255.255.0 any object-group RDP
access-list inside_access_in remark Allow File Transfer Internet
access-list inside_access_in extended permit tcp BLAH 255.255.255.0 any object-group FileTransfer
access-list inside_access_in remark ldap, 445, 137, 636, dns, kerberos
access-list inside_access_in extended permit udp BLAH 255.255.255.0 object-group DM_INLINE_NETWORK_4 object-group AD_Access
access-list inside_access_in remark ldap, 445, 137, 636, dns, kerberos
access-list inside_access_in extended permit tcp BLAH 255.255.255.0 object-group DM_INLINE_NETWORK_5 object-group AD_Access_TCP
access-list inside_access_in extended permit ip any any
access-list outside_cryptomap_65535.1 extended permit ip BLAH 255.255.255.0 object-group DM_INLINE_NETWORK_6
access-list nonat extended permit ip BLAH 255.255.255.0 object-group BLAH-US
access-list nonat extended permit ip BLAH 255.255.255.0 object-group BLAH-USA
access-list nonat extended permit ip BLAH 255.255.255.0 x.x.x.x 255.255.255.0
access-list tekvpn extended permit ip BLAH 255.255.255.0 object-group BLAH-US
access-list tekvpn extended permit ip BLAH 255.255.255.0 object-group BLAH-USA
access-list tekvpn extended permit ip BLAH 255.255.255.0 x.x.x.x 255.255.255.0
access-list inbound extended permit icmp any any
access-list inside_nat0_outbound extended permit ip BLAH 255.255.255.0 10.1.118.192 255.255.255.224
access-list inside_nat0_outbound extended permit ip BLAH 255.255.255.0 object-group DM_INLINE_NETWORK_1
access-list outside_1_cryptomap extended permit ip BLAH 255.255.255.0 object-group DM_INLINE_NETWORK_1
access-list outside_access_in extended permit icmp any any
pager lines 24
logging enable
logging monitor informational
logging buffered notifications
logging trap informational
logging asdm informational
logging class auth monitor informational trap informational asdm informational
mtu inside 1500
mtu outside 1492
ip local pool ipsec_pool x.x.x.x-x.x.x.x mask 255.255.255.0
ip local pool Remote-Access-DHCP x.x.x.x-x.x.x.x mask 255.255.255.0
ip verify reverse-path interface outside
icmp unreachable rate-limit 1 burst-size 1
asdm history enable
arp timeout 14400
nat-control
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 BLAH 255.255.255.0
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
nac-policy DfltGrpPolicy-nac-framework-create nac-framework
reval-period 36000
sq-period 300
aaa authentication http console LOCAL
aaa authentication serial console LOCAL
aaa authentication ssh console LOCAL
aaa authentication enable console LOCAL
aaa authorization command LOCAL
aaa authorization exec authentication-server
http server enable RANDOM PORT
http 0.0.0.0 0.0.0.0 outside
http x.x.x.x x.x.x.x inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
sysopt connection tcpmss 1428
sysopt connection tcpmss minimum 48
auth-prompt prompt You are now authenticated. All actions are monitored! if you are Unauthorized, Leave now!!!
auth-prompt accept Accepted
auth-prompt reject Denied
service resetoutside
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 mode transport
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map outside_dyn_map 1 set transform-set TRANS_ESP_3DES_SHA TRANS_ESP_3DES_MD5
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set peer x.x.x.x
crypto map outside_map 1 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 1
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 2
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
client-update enable
telnet timeout 5
ssh x.x.x.x 255.255.255.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
ssh version 2
console timeout 0
management-access inside
vpdn group pppoex request dialout pppoe
vpdn group pppoex localname **************
vpdn group pppoex ppp authentication pap
vpdn username ************** password PPPOE PASSPHRASE HERE
dhcpd auto_config outside
dhcpd address x.x.x.x/x inside
dhcpd enable inside
threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
ntp server x.x.x.x source outside prefer
tftp-server outside x.x.x.x /HOSTNAME
webvpn
group-policy DfltGrpPolicy attributes
banner value Testing ONE TWO THREE
vpn-idle-timeout 300
vpn-tunnel-protocol IPSec l2tp-ipsec svc webvpn
ipsec-udp enable
split-tunnel-policy tunnelspecified
split-tunnel-network-list value outside_cryptomap_65535.1
user-authentication enable
nem enable
address-pools value Remote-Access-DHCP
webvpn
svc keepalive none
svc dpd-interval client none
USER CREDENTIALS HERE
vpn-tunnel-protocol l2tp-ipsec
tunnel-group DefaultL2LGroup ipsec-attributes
pre-shared-key SITETOSITE PSK
peer-id-validate nocheck
tunnel-group DefaultRAGroup general-attributes
authorization-server-group LOCAL
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key CLIENTTOSITE PSK
peer-id-validate nocheck
isakmp keepalive disable
tunnel-group DefaultRAGroup ppp-attributes
authentication pap
no authentication chap
no authentication ms-chap-v1
authentication ms-chap-v2
authentication eap-proxy
tunnel-group x.x.x.x type ipsec-l2l
tunnel-group x.x.x.x ipsec-attributes
pre-shared-key *
tunnel-group-map default-group DefaultL2LGroup
class-map inspect_default
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
privilege cmd level 3 mode exec command perfmon
privilege cmd level 3 mode exec command ping
privilege cmd level 3 mode exec command who
privilege cmd level 3 mode exec command logging
privilege cmd level 3 mode exec command failover
privilege show level 5 mode exec command import
privilege show level 5 mode exec command running-config
privilege show level 3 mode exec command reload
privilege show level 3 mode exec command mode
privilege show level 3 mode exec command firewall
privilege show level 3 mode exec command asp
privilege show level 3 mode exec command cpu
privilege show level 3 mode exec command interface
privilege show level 3 mode exec command clock
privilege show level 3 mode exec command dns-hosts
privilege show level 3 mode exec command access-list
privilege show level 3 mode exec command logging
privilege show level 3 mode exec command vlan
privilege show level 3 mode exec command ip
privilege show level 3 mode exec command ipv6
privilege show level 3 mode exec command failover
privilege show level 3 mode exec command asdm
privilege show level 3 mode exec command arp
privilege show level 3 mode exec command route
privilege show level 3 mode exec command ospf
privilege show level 3 mode exec command aaa-server
privilege show level 3 mode exec command aaa
privilege show level 3 mode exec command eigrp
privilege show level 3 mode exec command crypto
privilege show level 3 mode exec command vpn-sessiondb
privilege show level 3 mode exec command ssh
privilege show level 3 mode exec command dhcpd
privilege show level 3 mode exec command vpnclient
privilege show level 3 mode exec command vpn
privilege show level 3 mode exec command blocks
privilege show level 3 mode exec command wccp
privilege show level 3 mode exec command dynamic-filter
privilege show level 3 mode exec command webvpn
privilege show level 3 mode exec command module
privilege show level 3 mode exec command uauth
privilege show level 3 mode exec command compression
privilege show level 3 mode configure command interface
privilege show level 3 mode configure command clock
privilege show level 3 mode configure command access-list
privilege show level 3 mode configure command logging
privilege show level 3 mode configure command ip
privilege show level 3 mode configure command failover
privilege show level 5 mode configure command asdm
privilege show level 3 mode configure command arp
privilege show level 3 mode configure command route
privilege show level 3 mode configure command aaa-server
privilege show level 3 mode configure command aaa
privilege show level 3 mode configure command crypto
privilege show level 3 mode configure command ssh
privilege show level 3 mode configure command dhcpd
privilege show level 5 mode configure command privilege
privilege clear level 3 mode exec command dns-hosts
privilege clear level 3 mode exec command logging
privilege clear level 3 mode exec command arp
privilege clear level 3 mode exec command aaa-server
privilege clear level 3 mode exec command crypto
privilege clear level 3 mode exec command dynamic-filter
privilege cmd level 3 mode configure command failover
privilege clear level 3 mode configure command logging
privilege clear level 3 mode configure command arp
privilege clear level 3 mode configure command crypto
privilege clear level 3 mode configure command aaa-server
prompt hostname context
Cryptochecksum:894474af5fe446eeff5bd9e7f629fc4f
: endHi all, this post can be officially closed. The issue had nothing to do with the ASA but required a firmware upgrade on the WAN router which boosted the throughput on the external interface on the ASA to 10Mbps and the inside throughput naturally corrected itself to what was expected.
Thanks to everybody who looked at this issue.
Andrew
Maybe you are looking for
-
Can Muse sync between two separate computers?
I have a desk top that stays at home and a laptop that travels with me. I will need to update the web site during times that I am traveling. Is there a way to sync the two computers so I can make changes on the laptop when traveling?
-
In need of ALLSTAR after effects/motion graphics/VFX freelance artist
Im in need of an all star freelance artist for title cards, intro bumpers and other VFX needs for multiple action sports moving image productions. If we find the right fit, it will be consistent work with the leading brands in the industry. If you or
-
MobileMe Galleries Slow and address redirected
I use MobileMe galleries increasingly with Aperture. They have worked well and are fast and easy. In the last few days, I have noticed a serious slow down with viewing galleries in Safari. Specifically, I've noticed that the page loads almost complet
-
Can you get an iphone 5 at target that uses AT&T or Verizon network and use the Straight Talk plan from Walmart? I don't have AT&T or Verizon network and I don't want to get them but I was just wondering if you can get the iphone 5 that is at target
-
Mail is in Spanish !?!? how do i get it back to english?
hi there, my Mac Mail is appearing in Spanish and not English - how can I change it back?