Using Weblogic jms message id for unique id
Hi All,
We have a requirement to generate random unique id for each message processed by the application. We are planning to leverage weblogic jms message id for this purpose rather than building our own application logic for this purpose . Will there be any issue adopting this ? We think weblogic jms message id will be unique across the cluster as id is a hash of current timestamp + jms server name + wl server name + ?? .. is this correct ?
TIA
Atheek
Hi Atheek,
It depends on what are you planning to do with that id, as there are some gotchas on Weblogic's JMSMessageID generation.
I guess the msg id could be considered statiscaly unique as Tom says, but the msg id will change during the livecycle of your message, surprise! (yea, the JMS spec allows the JMS server to modify the msg ids).
So if you want to use that id to correlate messages id, or to group info related to one message, using JMSMessageID could be a problem.
You can consider to generate a UUID, using Java 1.5 support (java.util.UUID) or a external library (JUG http://jug.safehaus.org for instance), and attach that id as a JMSCorrelationId or a user defined property.
Hope this helps
Similar Messages
-
Using WebLogic JMS Wrappers with Spring
Hi,
I was just wondering if anyone used WebLogic JMS wrappers with Spring?
I am using WebLogic configured to have Sonic as my Foreign JNDI Provider. Weblogic provide me with specific entries on the admin console to set information such as the JNDI name of the Sonic Connection Factory. If I specify this JNDI name in the Spring config, and call getConnection() then I will get back a new connection each time.
I don't want this, I want to cache the connection (as connections are expensive in Sonic). This is where the WebLogic JMS wrappers come in, they can handle the pooling for me but the only way I can see to use them is via a resource-ref. It is possible for Spring to get a handle onto these wrappers or should I use Spring's own pooling mechanism instead?
P.S. I've also asked this question on the Spring forum
Thanks for any help
MandyMaybe you have already tried the following:
<beans xmlns:jee="http://www.springframework.org/schema/jee" ... >
<jee:jndi-lookup id="connectionFactory" jndi-name="jms.ConnectionFactory">
<jee:environment>
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://localhost:7001
</jee:environment>
</jee:jndi-lookup>
</beans>
an alternative is to use the JNDI template
<beans ... >
<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop>
<prop key="java.naming.provider.url">t3://localhost:7001</prop>
</props>
</property>
</bean>
<bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiTemplate" ref="jndiTemplate" />
<property name="jndiName"><value>jms.ConnectionFactory</value></property>
</bean>
</beans> -
Using Weblogic JMS for internal delivery channel
hi,
I want my B2B to talk to back-end application through Weblogic JMS queues. I have configured internal delivery channel for this. I am getting error message 'Max retry exceeded' in b2b_idc_transport.log
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) JMSReceiver.init() started ....
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:10:03:704: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:15:03:428: B2BStarter thread: (ERROR) Max retry exceeded, closing everything
java.lang.Exception: Max retry exceeded
at oracle.tip.transport.basic.jms.JMSMonitor.reconnect(JMSMonitor.java:833)
at oracle.tip.transport.basic.JMSReceiver.init(JMSReceiver.java:333)
at oracle.tip.transport.b2b.B2BTransport.init(B2BTransport.java:379)
at oracle.tip.adapter.b2b.transport.AppTransportInterface.initialize(AppTransportInterface.java:282)
at oracle.tip.adapter.b2b.engine.Engine.initialize(Engine.java:512)
at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:280)
at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:297)
at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:143)
at java.lang.Thread.run(Thread.java:534)
I have applied latest patch 7322333.
kindly let me know what is workaround for this? also, how can do debugging of this issue in B2B.
Thanks in advance.
Regards,
Vaibhav
Edited by: vaibs on Sep 26, 2008 12:15 AMhi Sinkar,
Thanks for reply. I have checked connectivity from b2b server to weblogic server, using java stub. Stub can connect to the Q successfully.
here is my b2b.log
2008.09.24 at 12:09:49:233: main: B2B - (DEBUG) B2B initialize
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) This is Main thread executing..
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start - context started
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG) B2BStarter - This is B2BStarter thread executing..
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG)
Maximum Heap Size = 530907136
Memory Allocated = 8323072
Free Memory = 842560
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) ExecutionContextManager initialization is done
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) User's maxCachedSessions is set to 0
2008.09.24 at 12:09:50:560: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration oained
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
2008.09.24 at 12:09:51:793: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (NIFORMATION) Repository:print: [10] Custom Document over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
2008.09.24 at 12:09:51:981: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Enter
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Envelope
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Message Header
2008.09.24 at 12:09:52:386: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Exit
2008.09.24 at 12:09:52:402: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
2008.09.24 at 12:09:52:433: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
2008.09.24 at 12:09:52:543: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = STATUS
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting http://localhost
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: http://localhost port = 7777
PROTOCOL_ENDPOINT = null
2008.09.24 at 12:09:52:636: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Wholesale_Transport_Server < http > < Wholesale >]
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = WARNING
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (INFORMATION) Repository:getInternalDeliveryEndPointList: Putting jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize main Endpoint loop jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize looping through transport Endpoint: jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize add jms transport Endpoint: jms://[email protected] {Destination Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.destination_password=weblogic, Connection Factory Location=weblogic.jws.jms.QueueConnectionFactory, jms.receiver.jndi_connection_factory_location=weblogic.jws.jms.QueueConnectionFactory, isTopic=false, Message Type=bytes, jms.receiver.is_topic=false, jms.receiver.factory_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, transport_callout_waittime=30, jms.receiver.jndi_destination_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.polling_interval=10, polling_interval=10, Factory Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.jndi_destination_location=[email protected], jms.receiver.destination_username=weblogic}
2008.09.24 at 12:09:53:713: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2008.09.24 at 12:35:52:276: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
2008.09.24 at 12:35:52:884: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
Thanks,
Vaibhav
Edited by: vaibs on Sep 28, 2008 3:20 AM -
Experiences using the JMS Message Selector
I am using a JMS Adapter Sender Communication Channel and try to select the messages I want to consume with the Message Selector. My first attempts all failed - I am not sure if the syntax I am using is correct or if anything else has to be set up to use the Message Selector.
My sample was to enter the following into the field for Message Selector:
JMSCorrelationID = '123456789012345678901234'
I also tried the following variations:
JMSCorrelationID = "123456789012345678901234"
JMSCorrelationID = 'ID:123456789012345678901234'
JMSCorrelationID = "ID:123456789012345678901234"
but none of them were successful.
Anybody got that feature to work yet and can help me...
regards,
peterNow I found it out finally...
JMSCorrelationID = 'ID:41727469636c655570646174656400000000000000000000'
where ID: is obviously added by JMS? XI? don't know... and the actually id is in Hex...
can anybody enlighten me on the details?
regards
Peter -
Which type of message is most suitable for XML file transfer? and why?
what parameters decide the selection of message type for xml payload?
"dyn" <[email protected]> wrote in message
news:[email protected]..
>
> Which type of message is most suitable for XML file transfer? and why?
> what parameters decide the selection of message type for xml payload?
You can use WebLogic's XML message type if you like. If you want to use
selector expressions then it is particularly useful, especially since your
selector expressions can run on the body of the message. However, the
implications of this are that the selectors are more expensive (both in
terms of the processing needed to evaluate the XPath expression, and in
terms of the fact that the message bodies have to be in memory to do the
evaluation).
If you just want to transfer XML, then why not use a simple text message
type.
Use whatever suits your needs.
Regards,
Jon
-
Using weblogic as web server for Enterprise Manager can someone pls help?
hello,
can i have your help on this?
i want to use Weblogic as web server instead of apache in the structure of Enterprise Manager 10g R3?
have any of you try this? can someone please provide me some link related to how to configure Weblogic as web server for Enterprise Manager.
Many thanks in advance
Cheers,
CosminYou'll probably have better luck posting in the Enterprise Manager forum:
Enterprise Manager -
Using Weblogic as web server for Enterprise Manager 10g R3?
hello,
can i have your help on this?
i want to use Weblogic as web server instead of apache in the structure of Enterprise Manager 10g R3?
have any of you try this? can someone please provide me some link related to how to configure Weblogic as web server for Enterprise Manager.
Many thanks in advance
Cheers,
CosminIm dont think its possible to do this with enterpise manager (Dbcosole), It might be possible with GRID .. have a look here
http://www.oracle.com/technology/products/wag/index.html -
Message EJB using Weblogic JMS Server
Hi,
I trying get some working logic about using JMS with weblogic. I have created a JMS Server instance with all the necessary Connection Factories and Destinations. I am able to connect to from a normal Java class, but i want to deploy a message driven ejb in weblogic and connect to the same JMS Server instance. When i deploy my EJB i get an error about unable to connect to the JMS Server in the weblogic.log . Could any please refer me to any resourcce that may help me.
Thanks, i got it sorted out.
Tom Barnes <[email protected]> wrote:
>Unless you're descriptors make use of the weblogic extensions to specify
>the jndi URL, make sure that the MDB and the JMS Server instance are
>either
>both located on the same WL server or are both in the same cluster.
>
>If this doesn't help, please post the stack trace for you're error
>and attach your config.xml and MDB descriptor xml.
>
>Tom
>
>Riaan Minne wrote:
>
>> Hi,
>>
>> I trying get some working logic about using JMS with weblogic. I have
>created a JMS Server instance with all the necessary Connection Factories
>and Destinations. I am able to connect to from a normal Java class,
>but i want to deploy a message driven ejb in weblogic and connect to
>the same JMS Server instance. When i deploy my EJB i get an error about
>unable to connect to the JMS Server in the weblogic.log . Could any
>please refer me to any resourcce that may help me.
>
-
Context.xml for Tomcat using Weblogic JMS
Hello,
has anyone succeeded in getting Tomcat to use a queue hosted by Weblogic? If so, could you please post a snippet of your context.xml with the <Resource>... sections appropriate? My last attempt drowned in a sea of bizarre security exceptions and hasn't been seen since.
Thanks,
RichardTom,
I'll see what happens when I move things about, but really, there's a difference here. One of the issues here is that Tomcat needs a class that implements the ReferenceFactory interface for its configuration. I can't find such a class in the Weblogic docs, but I might have it all wrong or be looking in the wrong place. Hence, my question.
The weblogic jar is not in the Tomcat classpath, it's in the WEB-INF/lib directory of the war file I'm working with. -
JMS Message resent for for long processes
Hi,
Currently we using Webspher App Server 6 and WSAD 6 as our development platform. We are also using Websphere MQ as our JMS server.
We have one MDB resposible for processing data extraction/migration jobs from legacy databases that can take anywhere from 20minutes to several hours to complete. Once the MDB receives the message, it starts the extraction process based on the information received in the message.
The problem is, once the job completes, it restarts again because the same message is resent to the MDB. Checking the value of getJMSRedelivered() from the message shows it is true the second time the message is received. I suspect the problem is the long time taken to execute the job, as when i test with a shorter job (1-2mins), the message is not resent. If the job takes approx more than 6mins, then the message is resent, but im not exactly sure of the actual time before the message is resent.
Im unsure where the problem lies. Currently i just check if the message is redelivered, and just ignore it, but this should not be the case, as redelivery is needed if there were any problems.
How do i avoid the redelivery? Where could the problem be ??
need help as im no expert on JMS :-)
Thanks.Hi,
Currently we using Webspher App Server 6 and WSAD 6
as our development platform. We are also using
Websphere MQ as our JMS server.
We have one MDB resposible for processing data
extraction/migration jobs from legacy databases that
can take anywhere from 20minutes to several hours to
complete. Once the MDB receives the message, it
starts the extraction process based on the
information received in the message.
The problem is, once the job completes, it restarts
again because the same message is resent to the MDB.
Checking the value of getJMSRedelivered() from the
message shows it is true the second time the message
is received. I suspect the problem is the long time
taken to execute the job, as when i test with a
shorter job (1-2mins), the message is not resent. If
the job takes approx more than 6mins, then the
message is resent, but im not exactly sure of the
actual time before the message is resent.
Im unsure where the problem lies. Currently i just
check if the message is redelivered, and just ignore
it, but this should not be the case, as redelivery is
needed if there were any problems.
How do i avoid the redelivery? Where could the
problem be ??
need help as im no expert on JMS :-)
Thanks.hi buddy, hope while depyloying the you are setting the acknowledte mode to Auto-acknowledge in ejb-jar.xml file as shown below.
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>SimpleMessageBean</ejb-name>
<ejb-class>in.co.persistent.SimpleMessageBean</ejb-class>
<message-selector>MessageType = 'Fatal'OR MessageType ='Error''</message-selector>
<transaction-type>Bean</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode> <message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
</ejb-jar>
Auto-acknowledge avoids duplicate messages because the acknowledgment is sent immediately. Therefore, the JMS provider won't send a duplicate. Most MDBs use Auto-acknowledge, to avoid processing the same message twice.
Dups-ok-acknowledge exists because it may allow a JMS provider to optimize its use of the network. In practice, though, the overhead of an acknowledgment is so small, and the frequency of communication between the MDB container and JMS provider is so high, that Dups-ok-acknowledge doesn't have a big impact on performance. Obviously, with Dups-ok-acknowledge, your MDBs must be able to handle duplicate messages correctly. -
Can I use my Nationwide Messaging plan for the iPhone 4?
I currently have a plan called Nationwide Messaging (you get unlimited texting and data for $35 a month, and minutes are 40 cents each) which works well for me since I rarely use my phone to talk.
All the iPhone FAQ says is that you need a Nationwide plan, which I have, and a data package, which is already included in my plan. So will this work for the iPhone?You'd have to upgrade to the smartphone version of that plan for $55/month since the $35 plan is for regular phones and it looks like they're are added requirements to be eligible for that one.
http://www.verizonwireless.com/b2c/splash/messagingplans.jsp
"Who is eligible to sign up for the Nationwide Messaging Plan?
In order to establish your eligibility for the Blackberry or PDA Smartphone plan, please bring either a letter indicating that you are hearing impaired on appropriate letter head from your audiologist, hearing health professional, speech or language therapist/specialist, physician, surgeon, vocational rehabilitation agency counselor, teacher or credentialed therapist; or (ii) your membership card for the National Association of the Deaf, Hearing Loss of America, AG Bell, Association of Late Deafened Adults, Telecommunications for the Deaf, Inc or other similar group.
No eligibility is required for the $34.99 Consumer plan." -
Using WebLogic as Servlet engine for IIS
WebLogic 5.1 SP3
The documentation for the WebLogic/IIS bridge states that requests are
forwarded from IIS to WebLogic based on file extensions.
Is this the only way? Is it not possible to mount a servlet on a URL-prefix?
For example, any request to /wc/whatever would be forwarded to WebLogic?
Thanks,
j
===========================================================
Jason Collins Phone 306.955.1855
Information Systems Manager Fax 306.955.0471
Point2 Internet Systems www.point2.com
===========================================================
Yeah, that's where I saw the initial info.
My problem is that I "mask" my query strings are extra path info (for better
search engine indexing). For example:
http://localhost/foo.html?bar=blah
becomes
http://localhost/foo.html/bar=blah
It seems as though there isn't a file extension in this case? Is there no
way to work around this? Or do I have to rewrite my URLs with something
like:
http://localhost/foo.html/bar=blah/workaround.abc
so that I can forward on .abc?
Also, what about directory indexing:
http://localhost/some-servlet-directory/
? There is no extension in this case at all.
Thanks,
j
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]...
> Refer this URL :
http://www.weblogic.com/docs51/admindocs/isapi.html#servlets
>
> In the future, we are planning to add proxy by PathTrim, the way we do in
NSAPI
> plugin.
>
> --kumar allamraju
>
> Jason Collins wrote:
>
> > WebLogic 5.1 SP3
> >
> > The documentation for the WebLogic/IIS bridge states that requests are
> > forwarded from IIS to WebLogic based on file extensions.
> >
> > Is this the only way? Is it not possible to mount a servlet on a
URL-prefix?
> >
> > For example, any request to /wc/whatever would be forwarded to WebLogic?
> >
> > Thanks,
> > j
> > --
> > ===========================================================
> > Jason Collins Phone 306.955.1855
> > Information Systems Manager Fax 306.955.0471
> > Point2 Internet Systems www.point2.com
> > ===========================================================
>
-
Using Weblogic LDAP JAAS credentials for 3rd party authentication
Hello to all!
I'm posting this question because I'm developing a software layer that will connect a weblogic based web application, with LDAP authentication, to a 3rd party application, also with LDAP authentication, and I'm having difficulties in getting a <b><i>javax.security.auth.Subject</i></b> object from the weblogic server.
I already have a way of doing it, but it requires that a username and a password exist in some sort of storage, in order to work (either hardcoded (which is to be avoided as much as possible) or stored in a file (which is to be avoided if possible, but if nothing better exists...)).
I'm using a Weblogic 11g server, with LDAP authentication (LDAP provider placed in last at the provider list, with flag SUFFICIENT) and I'm developing the software layer using Oracle's jDeveloper 11g Release 1.
Now, this 3rd party application requires a <b><i>javax.security.auth.Subject</i></b> object in order to perform authentication.
How do I get this from the weblogic server ?
Of the following approaches, can you tell me which are the most correct ones ?
<ul>
a)<b>
LoginContext lc = null;
try {
lc = new LoginContext("<JAAS instance name>");
lc.login();
} catch (LoginException e) {
e.printStackTrace();
javax.security.auth.Subject subject = lc.getSubject();
</b>
</ul>
<ul>
b)<b>
LoginContext lc = new LoginContext("<JAAS instance name>"
new MyClass.CallbackHandler(userid, password));
lc.login();
javax.security.auth.Subject subject = lc.getSubject();
javax.security.auth.Subject.doAs(subject, myClassObject);
</b>
</ul>
<ul>
c)<b>
javax.security.auth.Subject subjectA = weblogic.security.Security.getCurrentSubject();
subjectA.doAs(subjectA, myClassObject);
</b>
</ul>
Thanks in advance,
Nuno B.Here is a document on Monitoring and Reporting Tool Integration into Network Admission Control.
http://www.cisco.com/en/US/netsol/ns466/networking_solutions_white_paper0900aecd801dee49.shtml -
CMT and using non-Weblogic JMS in a session bean
I am writing a session bean which sends a JMS message using a non-weblogic JMS
provider. This bean is marked for CMT and I want the JMS send to participate in
this CMT as well. My understanding is that I should be able to do this by defining
a <resource-ref> element in the ejb-jar.xml and a corresponding <resource-descriptor>
element in the weblogic-ejb-jar.xml file. The bean would then use the <res-ref-name>
defined under the <resource-ref> element to lookup the connection factory. What
do I have to put in weblogic-ejb-jar.xml file to make sure that the connection
factory specified in <res-ref-name> maps to a connection factory that is in a
foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI) and not in
Weblogic's JNDI?
Thanks in advance for your help.
It sounds like you're using Tibco JMS to receive messages from the MDB, and
then to send out a message. WLS 7.0 will handle the transaction enlistment
properly when it receives messages for the MDB, but you'll have to enlist
the JMS provider yourself when you send the message, using the white paper
that Tom pointed you to as a guide.
In WLS 8.1, coming soon, we'll automatically enlist the provider in the
transaction if you look it up using a "resource-ref" element in the EJB like
you described. Today, you can use that element but no transaction
enlistement is being done.
greg
"Venkat" <[email protected]> wrote in message
news:[email protected]...
>
> We also need this feature.
> We are using Weblogic 7.0 and Tibco JMS 3.0,
> which supports XA.
>
> We are mainly interested in subscribing using MDB
> and publishing using a session bean in one transaction.
> Do you think by using resource-refs in conjunction
> with registering with Weblogic JNDI during startup
> can do the job?
>
> Or how about using XAConnectionFactory and XASession
> classes for JMS publishing ?
>
> Thanks.
>
> Tom Barnes <[email protected]> wrote:
> >Hi Mihir,
> >
> >Support for automatic enlistment of foreign JMS vendors
> >via the resource-ref approach is not available in WLS.
> >This support will be available in the next release:
> >limited access beta is available now, public beta is available
> >in 2-3 months. You are the first customer I've heard of that
> >asked for this feature. Very cool. Good timing.
> >
> >As you are not using WebLogic JMS, you will need to do the
> >transaction enlistment yourself. This isn't that hard
> >to do. I suggest that you refer to the integrating foreign
> >JMS vendor white-paper available on dev2dev.bea.com.
> >Also, refer to the integrating transactions with
> >MQSeries integration paper, which will likely serve your
> >purposes better. Note that some JMS vendors
> >have problems with concurrent transactions in a single
> >JMS connection, or with transactions that attempt
> >to switch threads (eg. suspend() in one thread
> >and resume() in another).
> >
>
>http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whit
epapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_j
msproviders.htm
>
>http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whit
epapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_j
tatransactions.htm
> >
> >Tom
> >
> >mihir sharma wrote:
> >> I am writing a session bean which sends a JMS message using a
non-weblogic
> >JMS
> >> provider. This bean is marked for CMT and I want the JMS send to
participate
> >in
> >> this CMT as well. My understanding is that I should be able to do this
> >by defining
> >> a <resource-ref> element in the ejb-jar.xml and a corresponding
<resource-descriptor>
> >> element in the weblogic-ejb-jar.xml file. The bean would then use the
> ><res-ref-name>
> >> defined under the <resource-ref> element to lookup the connection
factory.
> >What
> >> do I have to put in weblogic-ejb-jar.xml file to make sure that the
> >connection
> >> factory specified in <res-ref-name> maps to a connection factory that
> >is in a
> >> foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI)
> >and not in
> >> Weblogic's JNDI?
> >>
> >> Thanks in advance for your help.
> >>
> >
>
-
Problem JMS-c api for message Acknowledgement
Hi,
I am working in a project that uses bea-JMS C api for
Communictions.In my project i am using topic messaging for message reciving and sending..Here i am using durablesubscriber for receiving and client Acknowledgement to Acknowledge the message.
In receiving function I store the message in another JmsMessage for Client-Acknowledgement.
Here comes one problem that, while i Acknowledge on the receive function each and every message Acknowledge correctly.But while i Acknowledge that message from some other function it return -1 as , that it cannot Acknowledge.The other function is working in another thread.
Wheather the seprate thread will make the problem for confirmation.Similar to JDBC connections, JMS sessions and their related child producers and consumers are not thread-safe (with the one exception of the session.close() method).
For example, without added application level locking, its not safe to acknowledge a message from one thread while another thread receives or produces a message. This has special implications for asynchronous consumers, as once the asynchronous consumer is created, access to the session and objects is limited to code within the "onMessage()" and "onException()" callbacks.
This behavior is detailed in the JMS specification.
Tom
Maybe you are looking for
-
How to make images searchable (OCR) when printing from Word 2007 to PDF with Acrobat 10
Good Day, I have checked several forums and the help file, but I can't seem to get a straight answer on this issue. Our office creates many documents in Microsoft Word 2007 that contain both typed text AND images. For example, I have a document wit
-
Ticker-Application (like stockmarket-ones) anything in use here?
I have a running QTSS and everyhting is fine, except one little thing. My client likes to have a ticker running, where he can edit messages which run below the content live in a ticker bar (like the ones of the stockmarkets on bloomberg or cnn... Of
-
Hi I have set in T-Code SAAB the Checkpoint Group WF_SYSTEM_OTHERS and created a new Variant ZTEST and have activated both. In the variant I have set up FUnctiongrup BBP_PDH_WFL and BBP_WFLH. But if start SRM Web (Internet Explorer) the break point d
-
Problems going to sleep, waking up, restarting, etc
I just bought a refurbished Macbook...and we are already developing an intense love/hate relationship because of it's eratic sleep behaviors. So this morning I tested it by trying various methods of sleeping/waking/restarting. Here are my morning Mac
-
Mac Pro 2008 8 Core always restarting and will never boot up 1st time.
Hi guys, Now I've been thru a lot before posting this here. At least 4 calls to apple care and a lot of hours searching the web for answers there has been lots of thing tried and tested an still the same issues. They are : #1 I get random restarts, t