Weblogic 10.3 not suporting for MDB to connect remote Weblogic JMS server
Hi,
I have a problem with MDB deployed on Weblogic 10.3.It's simple MDB which is communicating with remote weblogic JMS server. I am getting below exception. could some one help how to resolve this issue.
<Apr 14, 2009 11:28:52 AM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ReceiverFromDocumentum is unable to con
nect to the JMS destination: FMAContractOutboundQueue. The Error was:
[EJB:011013]The Message-Driven EJB attempted to connect to the JMS connection factory with the JNDI name: FMAConnectionFacto
ry. However, the object with the JNDI name: FMAConnectionFactory is not a JMS connection factory. NestedException Message is
:weblogic.jms.client.JMSConnectionFactory cannot be cast to javax.jms.XAConnectionFactory>
-Sreekanth
I recall that this particular warning message is sometimes misleading about the root cause of the problem, an issue that I think has been fixed in a patch. The actual problem can be various:
* The MDB is configured to be transactional, the connection factory exists, but the connection factory isn't configured to be "XA enabled". (I think this is the most likely problem).
* The connection factory doesn't exist.
* The object in JNDI with the specified connection factory name isn't actually a connection factory.
* The dest object in JNDI with the specified name isn't actually a javax.jms.Destination
Note that its unusual to configure the connection factory name for an MDB that consumes from WebLogic JMS. The default name iis usually sufficient unless custom tuning is required on the connection factory. See the MDB section of the EJB developer guide for more information.
Tom
Similar Messages
-
Update process is not work
See:
* [[Software Update Failed]]
* http://kb.mozillazine.org/Software_Update (Software Update not working properly)
Remove the files in the updates and updates\0 folder.<br />
You may need to delete active-update.xml and updates.xml as well if present.
C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
(%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox) -
Will weblogic support 2 Phase support for MDB (Container Managed)
The Transaction is not rolling back when i am throwing an EJB exception during the update of the database
Followed the below steps
0) Created a XAConnectionPool (Oracle XA thin Driver)
1) Created a DataSource for the above pool
2) Created a QueueConnection factory with XA checked
3) Deployed a MDB with Transaction Support as Required
4) When the Database is throwing an exception the message is not rolled back /
Any idea why this is happening?Will Weblogic 81 supports Container Management for MDB for 2PC transactions?
i have Oracle driver in the weblogic start classpath and using getting the connection to the DB from the weblogic pool- Of course WebLogic supports 2PC - and has for years.
- There's no need to configure a JMS connection factory - the MDB's default choice is transaction capable.
- See MDB doc for details on how to configure transactional MDBs.
(hint: two descriptor settings are required)
http://edocs.bea.com/wls/docs81/ejb/message_beans.html
- FYI: You may want to consider upgrading to 9.1:
* Can pause MDBs
* Can pause destinations
* Can view individual messages on the console
* much higher file store performance
* JDBC LLR option (faster than pure XA 2PC)
* MDB transaction batching (speeds up XA - documentation is missing but will be in place soon) -
HT1695 Why my iphone is not asking for password while connecting wifi connection?
while connecting wifi connection iphone did not ask for password.therefore did not connect.
maybe, your iphone already have the password of your wifi
-
MDB connecting to Foreign JMS server in WL8.1
Hello,
I have this problem that I am hoping someone can help me with. There is a
MDB deployed in a local WL8.1 that is trying to connect to a Foreign JMS
Server which is also a WL8.1 running in a remote server. This MDB is
attempting to subscribe to a topic hosted by that foreign server. In the
local WL8.1 I created a Foreign JMS Server via the adminconsole and mapped
the connection factory as well as destinations to the Foreign JMS Server.
The MDB (via its deployment descriptor) only refers to the local JNDI names
of the ConnectionFactory and Topic. Here are the scenarios concerning
security:
1) When security is turned off (user is in group everyone) everything works
fine. Messages published to the foreign Topic are received by the MDB in
the local WL8.1 server and processed.
2) When a security policy is applied to the Topic (via the remote
adminconsole), the MDB in the local server gets a 'permission denied'. I
now have to get around this by defining a principle for the MDB to run as
and to map the credentials of this principle to that of the user in the
remote environment with access permissions to the Topic.
3) When I specify the security identity of my MDB, its JNDI lookup of the
Topic fails with 'not found'.
4) Even when the security policy in the remote server is reverted back to
'everyone' (effectively turning security off) but leaving the MDB running as
the security principle, it still cannot find the Topic.
I hope this is something that people have seen and dealt with before.
Thanks for any and all help anyone can provide. I have also included the
deployment descriptors for this MDB:
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>MDB</ejb-name>
<ejb-class>sample.class.MDB</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
<security-identity>
<run-as>
<role-name>OutsideJMSUser</role-name>
</run-as>
</security-identity>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<security-role>
<role-name>OutsideJMSUser</role-name>
</security-role>
</assembly-descriptor>
</ejb-jar>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>MDB</ejb-name>
<message-driven-descriptor>
<pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>ForeignTopic</destination-jndi-name>
<connection-factory-jndi-name>ForeignConnectionFactory</connection-factory-j
ndi-name>
</message-driven-descriptor>
<jndi-name>MDB</jndi-name>
</weblogic-enterprise-bean>
<security-role-assignment>
<role-name>OutsideJMSUser</role-name>
<principal-name>OutsideJMSUser</principal-name>
</security-role-assignment>
</weblogic-ejb-jar>
Thanks for the suggestion Greg. I have enabled trust between the two
domains and that has certainly cut down the variations of SecurityExceptions
that I get. Now I am consistently only getting a JMSSecurityException with
a access denied to the topic. I believe I have the credential mapped
correctly between the run-as local user and the remote authorized user.
Unfortunately the exception does not specify what username was rejected, it
would have been useful in determining the next debugging step to take.
I think you're right, I should engage the security forum for this. Thanks
again for the help.
"Greg Brail" <[email protected]> wrote in message
news:[email protected]...
> Hmm. The security people (on weblogic.developer.interest.security) might
> have to help you here, too. When you set the "runAs" identity for the MDB,
> it's doing everything, including the JNDI lookup, under that identity. So
if
> that identity is one that's recognized by the remote domain, then you
should
> be OK. One way to make your local identity recognized by the remote domain
> is to make your domains trusted, but you may wish not to do that.
>
> greg
>
> "Steve Chan" <[email protected]> wrote in message
> news:[email protected]...
> > Hello,
> >
> > I have this problem that I am hoping someone can help me with. There is
a
> > MDB deployed in a local WL8.1 that is trying to connect to a Foreign JMS
> > Server which is also a WL8.1 running in a remote server. This MDB is
> > attempting to subscribe to a topic hosted by that foreign server. In
the
> > local WL8.1 I created a Foreign JMS Server via the adminconsole and
mapped
> > the connection factory as well as destinations to the Foreign JMS
Server.
> > The MDB (via its deployment descriptor) only refers to the local JNDI
> names
> > of the ConnectionFactory and Topic. Here are the scenarios concerning
> > security:
> >
> > 1) When security is turned off (user is in group everyone) everything
> works
> > fine. Messages published to the foreign Topic are received by the MDB
in
> > the local WL8.1 server and processed.
> >
> > 2) When a security policy is applied to the Topic (via the remote
> > adminconsole), the MDB in the local server gets a 'permission denied'.
I
> > now have to get around this by defining a principle for the MDB to run
as
> > and to map the credentials of this principle to that of the user in the
> > remote environment with access permissions to the Topic.
> >
> > 3) When I specify the security identity of my MDB, its JNDI lookup of
the
> > Topic fails with 'not found'.
> >
> > 4) Even when the security policy in the remote server is reverted back
to
> > 'everyone' (effectively turning security off) but leaving the MDB
running
> as
> > the security principle, it still cannot find the Topic.
> >
> > I hope this is something that people have seen and dealt with before.
> > Thanks for any and all help anyone can provide. I have also included
the
> > deployment descriptors for this MDB:
> >
> > <ejb-jar>
> > <enterprise-beans>
> > <message-driven>
> > <ejb-name>MDB</ejb-name>
> > <ejb-class>sample.class.MDB</ejb-class>
> > <transaction-type>Container</transaction-type>
> > <message-driven-destination>
> > <destination-type>javax.jms.Topic</destination-type>
> > </message-driven-destination>
> > <security-identity>
> > <run-as>
> > <role-name>OutsideJMSUser</role-name>
> > </run-as>
> > </security-identity>
> > </message-driven>
> > </enterprise-beans>
> >
> > <assembly-descriptor>
> > <security-role>
> > <role-name>OutsideJMSUser</role-name>
> > </security-role>
> > </assembly-descriptor>
> >
> > </ejb-jar>
> >
> > <weblogic-ejb-jar>
> > <weblogic-enterprise-bean>
> > <ejb-name>MDB</ejb-name>
> > <message-driven-descriptor>
> > <pool>
> > <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
> > </pool>
> > <destination-jndi-name>ForeignTopic</destination-jndi-name>
> >
> >
>
<connection-factory-jndi-name>ForeignConnectionFactory</connection-factory-j
> > ndi-name>
> > </message-driven-descriptor>
> > <jndi-name>MDB</jndi-name>
> > </weblogic-enterprise-bean>
> >
> > <security-role-assignment>
> > <role-name>OutsideJMSUser</role-name>
> > <principal-name>OutsideJMSUser</principal-name>
> > </security-role-assignment>
> >
> > </weblogic-ejb-jar>
> >
> >
>
>
-
We have installed Adobe Acrobat X Pro- English,Francais,Deutsch version 10.1.9 in our test environment and tried testing it for converting SAP pages into PDF with a few pilot users. In doing so we faced a challenge, where only one user at a time can use Adobe Acrobat PRO to convert SAP pages in to PDF.As long as the first user who is connected to Adobe Acrobat Pro via SAP isn’t logged off, other users connected to the same server are not being able to get the “Save As” dialog box to save the PDF in their preferred location.
This is a business requirement and we need an urgent solution for the same. Can anyone help us in telling us if this is possible and if yes the how to go about?It's not something we deal with here, the LiveCycle products are a different world. Key points: Adobe LiveCycle is a range of products, some desktop, some server. LiveCycle PDF Generator is the one you should look at, it comes in 3 editions. License terms are by negotiation. Key management is via its Java API.
-
Possible for AIR app connecting to SQL 2005 server
Is it possible using Flex AIR to connection to SQL 2005
server and fetch data ?
If YES, whats step / process we need to follow please.
We have the DB in sql 2005 and we want to develop desktop
client and fetch the records from DB to AIR app."kamaljeetsinghsaini" <[email protected]>
wrote in message
news:gmsmnc$non$[email protected]..
> As we know that AIR supports SQlite only but in our case
we want to fetch
> data
> from server that is using SQL 2005 as DB. So are you
saying we can
> directly
> send the HTTP service to that server and fetch data from
it ?
You can send the HTTPService request to whatever back end
technology you are
currently using to access it. For example, if you are using
ASP.net, you
would still use ASP.net, but you would send back something
that Flex
understands, such as XML, instead of the HTML that the
browser client
understands. -
SCCM updates not deploying to member clients connected to the distribution server
Hi Support
Please if somebody can help me with the current issue iam having interms of SCCM definition updates from distribution server not being deployed to all devices(machines)that are connected to that distribution server. As a result of this all machines
are now out of date.
It was working perfectly all through this time until last month, i noticed that most of the machines were not recieving their daily definition updates which would show on the machine side under the Software center console. By seeing this i had to troubleshoot
from the machine side as well as the server side to locatet the issue but my attempts were not successful the issue.
However, after going through the event logs i noticed the below status of WSUS had errors so thought might be one of the factors affecting the distribution point(server) to all the 200 plus machines which are connected via the site code(002) of the distribution
server. Please confirm on this.
Please i really need your technical assistance so i can reslove the issue from my end.
Should you need more information, please let me know.
Thankscan you provide the scanagent.log and
WUAHandler.log on the client machines as well as wsyncmgr.log on the SCCM site server?
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway -
Custom weblogic instrumentation does not work for me :(
Hello.
First of all excuse me about my english.
I have developed a simple class, I have compile it, and I have packaged it into a war file.
The application Works ok when I do a request: http://192.168.1.5:7100/simple/hello
But when I want to instrumentalize it, it cannot works. I have enabled instrumentation, but it I don't see anything in: Request Performance.
Can you help me?.
These are the files:
simple_temp3
|
+- hello.html
|
+- WEB-INF
+- web.xml
|
+- META-INF
+- weblogic-diagnostics.xml
|
+- classes
+- edu
+- ucla
+- hello.class
[weblogic@localhost simple_temp3]$ cat hello.html
<html>
<head><title>Hello World</title></head>
<body><h1>Hello World</h1></body>
</html>
[weblogic@localhost simple_temp3]$ cat META-INF/weblogic-diagnostics.xml
<wldf-resource xmlns="http://www.bea.com/ns/weblogic/90/diagnostics"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/diagnostics.xsd">
<name>Sample WLDF resource</name>
<instrumentation>
<enabled>true</enabled>
<wldf-instrumentation-monitor>
<name>sample</name>
<enabled>true</enabled>
<action>TraceElapsedTimeAction</action>
<location-type>around</location-type>
</wldf-instrumentation-monitor>
</instrumentation>
</wldf-resource>
[weblogic@localhost simple_temp3]$ cat WEB-INF/web.xml
<web-app id="simple" version="2.4">
<welcome-file-list>
<welcome-file>hello.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class>Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
[weblogic@localhost simple_temp3]$ cat WEB-INF/classes/edu/ucla/Hello.java (this is the source Class)
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
public class Hello extends HttpServlet implements Servlet {
public Hello() {}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
out.println("<BODY>");
out.println("<H1>Hello World</H1>");
out.println("Today is: " + (new java.util.Date().toString()) );
out.println("</BODY></HTML>");
out.close();Can anyone help me?
-
Bridge does not work for wireless clients - connecting to existing network.
Hi - I really hope somebody can help out here, after hours of trial & error, I have finally given up
I need to connect my Airport Extreme Base Station to my existing network. I have a linksys router (192.168.15.1) connected to my modem and this linksys router acts as DHCP server too.
I suppose I have to use "bridge mode" for that to work. But should the linksys be connected to the AEBS using the AEBS's WAN or LAN port?
If I use "bridge mode", then wired computers to the AEBS works fine - getting an IP from the linksys etc. BUT, the wireless clients will have a self-assigned IP and not get through to the internet. It's like the AEBS will not allow wireless clients to "get through" unless AEBS itself is handing out IP addresses.
Page 36 of this manual ( http://manuals.info.apple.com/en/DesigningAirPort_Networks10.5-Windows.pdf ) shows the setup I want. But in the picture, it says "Ethernet WAN port" but the text says: "The Apple wireless device (in this example, a Time Capsule) uses your Ethernet network to communicate with the Internet through the Ethernet LAN port ( <--> )." I don't know which one to use, WAN or LAN - they show WAN but say LAN?
When I set it up as "share an IP address", the AEBS status tells me "double nat" and to change from "shared IP" to "bridge mode". I do that, and everything seems fine - for the wired clients. Now the wireless clients cannot connect, Airport on the MacBook Pro just say "Connection failed" and the MacBook says "Invalid password" (translated from danish), even though I set the Airport Utlity to save the password in keyring, so it should be correct... If I disable wireless encryption, the wireless clients will connect but get a self-assigned IP, and therefor not work (cannot get online)...
It seems the only way I can get wireless to work, is if I set AEBS up as DHCP, but then it won't be on the "same network" as the linksys (192.168.15.1), but rather on 10.0.x.x as I select. If I select 192.168.x.x within AEBS, I'm also getting some error messages, conflict/subnet thing.
Anyway - I really hope somebody knows how to get wireless clients to get an IP address from existing ethernet when connected to the AEBS.
Thanks!!I've given up and had to go back to running "Double NAT" which also reports as a "problem" within the AEBS, but I just "ignore" it so the light will always be green.
It still ***** though, as "Double NAT" is also a reason for "Back to my Mac" not working properly, but how the ** am I supposed to avoid Double NAT when the wireless will not work in bridged mode?! -
Help for MDB, with Sun Java System Application Server Platform Edition 8.2
Hi all,
Iam having problem in working MDB. Have written & deployed the Bean sucessfully and when am trying to run the Client, to post a new message am getting exceptions
The Exception i got is
D:\krb\ejb\Message\MDB>appclient -client MDBClient.jar
MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login failed: user=admin, br
oker=itech-4:7676(1339)
com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed: user=admin,
broker=itech-4:7676(1339)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(Protocol
Handler.java:824)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:749)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:679)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.j
ava:416)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
ionImpl.java:1979)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
va:745)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
java:315)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionI
mpl.java:32)
at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnection
Factory.java:65)
at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.j
ava:131)
at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnec
tion(ManagedConnectionFactory.java:148)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:90)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Jun 8, 2006 12:40:26 PM com.sun.enterprise.connectors.ConnectionManagerImpl inte
rnalGetConnection
WARNING: RAR5117 : Failed to obtain/create connection. Reason : MQRA:MC:Constr:E
xception on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:767
6(1339)
com.sun.messaging.jms.JMSException: MQRA:CFA:allocation failure:createConnection
:Error in allocating a connection. Cause: MQRA:MC:Constr:Exception on cnxn creat
ion-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:122)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a
connection. Cause: MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login fai
led: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:301)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
... 9 more
Caused by: com.sun.enterprise.resource.PoolingException: MQRA:MC:Constr:Exceptio
n on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:100)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
... 12 more
My MessageDrivenBean is:
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.MessageDrivenBean;
import javax.ejb.MessageDrivenContext;
import javax.ejb.CreateException;
import javax.naming.*;
import javax.jms.*;
public class MyMessageDrivenBean implements MessageDrivenBean, MessageListener {
private MessageDrivenContext mdc = null;
private Context context;
public MyMessageDrivenBean() { }
public void setMessageDrivenContext(MessageDrivenContext mdc){
this.mdc = mdc;
public void ejbCreate() { }
public void onMessage(Message msg){
try{
if(msg instanceof TextMessage) {
TextMessage txtMsg = (TextMessage) msg;
System.out.println("The Received Message is: "+txtMsg.getText());
} else {
System.out.println("Incorrect Message Type");
} catch(JMSException e){
e.printStackTrace();
public void ejbRemove() { }
My Client is:
import javax.jms.*;
import javax.naming.*;
import java.util.*;
public class MessageClient {
public static void main(String arg []) {
InitialContext ctx = null;
ConnectionFactory conFact = null;
Connection con = null;
Session ses = null;
Destination dest = null;
MessageProducer msgPrd = null;
TextMessage msg = null;
try {
ctx = new InitialContext();
} catch(NamingException e) {
e.printStackTrace();
try {
conFact = (ConnectionFactory) ctx.lookup("java:comp/env/jms/BankConnectionFactory");
dest = (javax.jms.Queue) ctx.lookup("java:comp/env/jms/BankPhysicalDest");
} catch(NamingException e) {
e.printStackTrace();
try {
con = conFact.createConnection();
ses = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
msgPrd = ses.createProducer(dest);
msg = ses.createTextMessage();
msg.setText("This is first Message");
msgPrd.send(msg);
msg.setText("This is second Message");
msgPrd.send(msg);
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
} finally{
if(con != null){
try{
con.close();
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
My JMS CONNECTION FACTORY RESOURCES are:
1. CONNECTION FACTORIES
a. JNDI NAME: jms/QueueConnFactory
b. TYPE: javax.jms.QueueConnectionFactory
2. PHYSICAL DESTINATION
a. NAME: PhysicalQueue
3. DESTINATION RESOURCES
a. JNDI: jms/MessageQueue
b. TYPE: javax.jms.Queue
c. ADDITIONAL PROPERTIES � NAME: PhysicalQueue
My Message-Driven Bean Settings:
i. Destination Type: javax.jms.Queue
ii. Target Destination: PhysicalQueue
iii. Connection Factory JNDI Name: jms/QueueConnFactory
My MDBClient Settings are
a. Resource Refs
i. Coded Name: jms/BankConnectionFactory
ii. Type: javax.jms.ConnectionFactory
iii. Authentication: Container
iv. JNDI Name: jms/QueueConnFactory
v. User Name: admin
vi. Password: password
b. Msg Dest Refs
i. Coded Name: jms/BankPhysicalDest
ii. Destination Type: javax.jms.Queue
iii. Usage: ConsumesProduces
iv. Target Destination: PhysicalQueue
c. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MDBAppl settings
a. JNDI Name: jms/MessageQueue
b. References: jms/QueueConnFactory
My MDBJAR Settings
a. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MyMessageDrivenBean File Settings
a. Transactions: Container-Managed
b. Transaction Attribute: Required
and am RUNNING THE APPLICATION using
appclient -client MDBClient.jar
Pls help me to solve this problem
rgds
Ravi BharathiDefault username/password is admin/admin.
Since the auth-type is container do not provide any username/password in the client descriptor and try. -
Select statment is not working for field TOAOM-connection
Hi,
I am not able to execute the below code in my System ERP2004.
tables: toaom,TOACO.
data lv_connection like toaom-connection.
data OBJECTTYPE like toaom-SAP_OBJECT.
data DOCUMENTTYPE like toaom-AR_OBJECT.
data it_toaom like toaom occurs 0 with header line.
select single connection from TOACO into lv_connection
WHERE SAP_OBJECT = OBJECTTYPE
AND AR_OBJECT = DOCUMENTTYPE
and ar_status = 'X'.
It gives a message that "ToAOM is is not expected"Hi lijo,
1. use like this.
2.
REPORT abc.
*TABLES: toaom,toaco.
DATA : toaom LIKE TABLE OF toaom WITH HEADER LINE.
DATA : toaco LIKE TABLE OF toaco WITH HEADER LINE.
DATA lv_connection LIKE toaom-connection.
DATA objecttype LIKE toaom-sap_object.
DATA documenttype LIKE toaom-ar_object.
DATA it_toaom LIKE toaom OCCURS 0 WITH HEADER LINE.
SELECT * FROM toaom
*iNTO lv_connection
INTO TABLE toaom
WHERE sap_object = objecttype
AND ar_object = documenttype
AND ar_status = 'X'.
regards,
amit m. -
Enterprise Manager Console not starting for 10.1.2.3.0 App Server
Hello,
Whenever i log into the App Server EM Console, i get the following error:
IOException in sending Request :: Connection refused: connect
Log results:(emias.log)
2010-08-03 11:28:55,571 [EMUI_11_28_51_/console/targets] ERROR target.TargetsData getTargets.331 - Unable Get target list. Error: IOException in sending Request :: Connection refused: connect
oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused: connect
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1278)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1192)
at oracle.sysman.emSDK.emd.comm.EMDClient.getTargetInstances(EMDClient.java:393)
at oracle.sysman.ias.target.TargetListObject.getSingleNodeModeTargets(TargetListObject.java:129)
at oracle.sysman.ias.target.TargetListObject.<init>(TargetListObject.java:112)
at oracle.sysman.ias.target.TargetsData.getTargets(TargetsData.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.cabo.ui.data.provider.MethodDataProvider.getDataObject(Unknown Source)
at oracle.cabo.ui.data.provider.TableDataProvider.getDataObject(Unknown Source)
at oracle.cabo.ui.data.provider.CachingDataProvider.getDataObject(Unknown Source)
at oracle.cabo.ui.data.provider.DataProviderStack.getDataObject(Unknown Source)
at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.UINodeProxy.render(Unknown Source)
at oracle.cabo.servlet.ui.data.PageIncludeBoundValue$Node.render(Unknown Source)
at oracle.cabo.ui.UINodeProxy.render(Unknown Source)
at oracle.cabo.ui.UINodeProxy.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:347)
at oracle.sysman.eml.app.Console.doGet(Console.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:848)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Request your support in this regard.
Thanks.The strange part is even Metalink has nothin of such for 10.1.2.3.0 server problems.
-
I have an Ipod Classic, 80 gig. It's over 3 years old. I have a Samsung SensR410 laptop, also over 3 years old, running Vista Home Premium 32bit but '64bit Compatible'
I had iTunes 8.
One day my Ipod stopped working.
I formatted it.
I uninstalled iTiunes.
I re-installed iTunes.
But the latest version would not be loaded on my PC. I chose English as the language, but because I bought my laptop in Korea, some parts of the installation were in Korea. I uninstalled it, following the steps here: http://support.apple.com/kb/ht1923
I re-installed iTunes 8. It loaded, but when I plugged in my Ipod, it said that the Ipod needed to be updated/restored, 'click to contact updater' but then it could not contact the server. I tried: http://support.apple.com/kb/TS1814but it didn't help.
I tried downloading iTunes 9, it loaded, but the Ipod would not connect.
Help, please!Hi Edward,
You should still be able to manually manage the music on your iPhone within iTunes. Make sure that when your iPhone is plugged in, look in the Summary tab to see if “Manually manage music and videos” is enabled and you can even you turn off Automatically Sync when this iPhone is connected. Take a look at the first article below to give more information on that. As far as your other questions about calling someone, I have provided two options for you. If it is for feedback on iTunes, you can use the second link to give detailed feedback on what is going on. If you want to actually talk to someone, the last link has a list of numbers for you to call for any support or service that you may need.
Manage content manually on your iPhone, iPad, and iPod
http://support.apple.com/en-us/HT201593
Product Feedback
http://www.apple.com/feedback/
Contact Apple for support and service
http://support.apple.com/en-us/HT201232
Take it easy,
-Norm G. -
Can receive mail, can not send mail and can connect to outgoing mail server
I am able to receive email, but I am not able to send email. I have run the Connection doctor - My email connects and logs in to the verizon mail server. My outgoing mail goes into a send folder but doesn't go out. I connect to the Outgoing Mail Server. Any suggestions?
change your outgoing mail server (SMTP) port in mail preferences to port 587.....
Maybe you are looking for
-
Streaming wifi and bluetooth at the same time is it possible in air play from iPod
Streaming bluetooth and wifi at the same. Is it possible?
-
Can't exit pdf file in internet explorer.
When I open a pdf file in internet explorer, I an unable to exit the pdf file. The only way I can get out of it is by shutting down internet explorer. I am using internet explorer 11 with windows 7. Is there a way to resolve this issue??
-
OEM for physical standby database
Hello All, I am using Oracle 11.2.0.3. My enterprise manager is db console 11.2 I have Oracle Enterprise manager dbcnsole for my RAC primary database and I have created through sqlplus command line a physical standby database. My questions Can I use
-
I have a iPhone 4 and I was trying to play my music out loud and when I tried it wouldent play. It said i still have headphones in it, but I don't. When I do put headphones in, the music does play! I need help!
-
Logon balancing error 88: Cannot connect to message server(rc=9)
HI. I AM USING R3 ECC 6.0 PLZ HAVE A LOOK ON BELOW IMAGES. IN VM WEAR I HAVE INSTALLED THE ECC THROUGH THE WINDOWS 7 I AM LOGIN ECC 6.0 EVERY TIME WORKING BUT RECENTLY I BOO MY PC WINDOWS 7 BUT IF I TRY TO RUN THE SAP LOGON ABOVE ERROR MESSAGE IS C