[EJB:010112] - error with WLI8.1 Event Generator for foreign JMS/MQ provider
I'm getting following error in weblogic server log when starting a JMS Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to reconnect
every 10 seconds. This log message will repeat every 600 seconds until the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted, but the pro
vider defined in the EJB is not transacted. Provider should be transacted if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly. QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
Scott
Hi Scott,
I need a transaction from the MDB since I am not using an EJb to pursue the action.
Hence I need to retain the <trans-attribute>Required</trans-attribute> at the
MDB.
Have any answers?
Pradip
"Scott Yen" <[email protected]> wrote:
>
It's resolved.
The MDB automatically created by JMS Event Generator defaults to be deployed
with
“transacted”. That requires the foreign JMS provider to be “XA”.
The deployment descriptor is created as <domain-directory>/WLIJmsEG_<event_gen_name>.jar
e.g. C:\bea812\user_projects\domains\jmsInterop\WLIJmsEG_mqQueueEventGen.jar
Since MQ in the localhost and remote SLUDV18 are not XA-enabled, we had
to manually
change the <container-transaction> section in ejb-jar.xml:
From :
<trans-attribute>Required</trans-attribute>
To:
<trans-attribute>NotSupported</trans-attribute>
"Scott Yen" <[email protected]> wrote:
I'm getting following error in weblogic server log when starting a JMS
Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to
reconnect
every 10 seconds. This log message will repeat every 600 seconds until
the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted,
but the pro
vider defined in the EJB is not transacted. Provider should be transacted
if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator
for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly.
QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign
JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
Scott
Similar Messages
-
WLI 10g3 JMS Event Generator for Foreign Queues
Hi,
Our requirement is to listen to messages on a remote destination on another weblogic instance (8.1).
One option we are trying is create a foreign JMS Module on local server (10g3) to connect to the remote destination
and use JMS Event Generator to poll for messages on the local Foreign JMS Module and fetch the message and publish this
message into a message channel.
This works fine when I have a local JMS Queue and JMS Event Generator tries to listen to it.
But while trying to use JMS Event Generator against foreign JMS module we are getting stuck with error failed to establish JMS Session :
<Jul 8, 2009 12:26:29 PM IST> <Warning> <EJB> <BEA-010096> <The Message-Driven EJB: foreignGenEventName is unable to connect to the JMS destination or bind to JCA resource adapter: test.mydestination. Connection failed after 64 attempts. The MDB will attempt to reconnect/rebind every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>
<Jul 8, 2009 12:26:29 PM IST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: foreignGenEventName is unable to connect to the JMS destination: test.mydestination. The Error was:
weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.messaging.dispatcher.DispatcherException: could not find Server AdminServer
Nested exception: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.messaging.dispatcher.S:AdminServer'. Resolved 'weblogic.messaging.dispatcher'; remaining name 'S:AdminServer'>
Any pointers to a possible issue will eb really helpful.
Thanks,
CAVarun,
Thanks for your inputs. Regarding the possibility of misconfiguring the ForeignJMSServer , we are able to view the remote destinationname (also the jndi binding name) in the jndi tree of the local server console, which in my opinion translates to a valid configuration.
Can anyone let me know if this issue is fixed in 10.3 as there is a CR raised in the 10.0 version as well for this?
CR332983
CR326377 It was not possible to deploy an MDB while connecting to a foreign JMS provider through WLS foreign server resources configured in a JMS module.
Thanks,
CA
Edited by: user1549937 on Jul 9, 2009 4:26 AM -
Dead message queue - DLQ for foreign JMS providers
Is there a way to configure Error-queue or 'Dead message/letter queue' in MDB listening to foreign JMS provider like JBoss? (Automatic routing of failed messages to error-queue after specified retries to preserve JMS messages)
I did all the docs from BEA and it doesn't cover this DLQ for foreign JMS providers :). For Weblogic JMS service, DLQ can be configured in the config.xml. But for <ForeignJMSServer> there is no way to configure dead-queue.
Could some please validate this before I start coding this piece in the application instead of appserver configuration.
JMS provider is Tibco and JMS destinations are pre-defined and can't/doesn't need to be created
Thanks in advance.Interesting idea! But no, there's no facility for redirecting failed foreign provider messages to a DLQ. This is a feature normally supplied by the foreign provider itself.
Some foreign providers, in addition to WebLogic 9.0 JMS, provide a "redelivery count" property in the message. If the foreign provider provides no automatic DLQ capability, you might be able to leverage this property to have your MDB application code automatically forward messages with high redelivery counts to the DLQ.
Tom -
Error while using Noetix Generator for OBIEE 11.1.1.6.8
Hi Gurus,
We are trying to implement Noetix views for OBIEE 11.1.1.6.8 using Noetix generator for oracle business intelligence,, but we are facing below error..
Please help, thanks in advance.
" *Validation encountered following warnings..*
*Could not verify server version. Double check that your server version matches the target specified.*
*Cause: access denied for user to path /system/version*. "Hi,
I'm the Director of Engineering at Noetix that is responsible for Noetix Generator for OBIEE.
Noetix Generator utilizes OBI's web services in order to validate that your OBI admin client and server have matching versions. The validation error you're seeing appears to be caused by a permission issue while accessing the "/system/version" folder of your web catalog through that web service.
One thing you could check is the OBI account you're using in Noetix Generator to access the BI Server. That account should have administrative privileges in OBI.
I also noticed that you're attempting to use OBI 11.1.1.6.8, which we don't currently support. Your existing version of Noetix Generator may work with it, but we won't claim official support until we certify our generator against it. That will come in a future release.
Please contact Noetix Support at http://support.noetix.com if you need additional information. Our support staff can assist you in resolving this issue.
Thanks,
Jay Shipley -
Issue with LDT file generated for the XML Template
Hi,
I have defined a Template in 11i instance. Attached an .rtf file to the same. Now, I have to migrate the Template definition along with the .rtf assignment to the template to R12 Instance.
I was able to download the Template definition using FNDLOAD command. LDT file got generated in the same directory where I executed the FNDLOAD DOWNLOAD command.
But, I was trying to download the .rtf assignment using the command - java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD.
I have specified a .ldt file along with the command, but the .ldt file doesnt gets generated. It says the default file is xdotmpl.ldt.
Where does the .ldt file gets generated for this command?
Thanks in advance.
KiranI gave the command as follows -
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD \
-DB_USERNAME apps \
-DB_PASSWORD apps \
-JDBC_CONNECTION server1:1525:instance02 \
-LOB_TYPE TEMPLATE \
-APPS_SHORT_NAME IBY \
-LCT_FILE $XDO_TOP/patch/115/import/xdotmpl.lct \
-LDT_FILE AP_FORMAT.ldt
I was expecting a ldt file - AP_FORMAT.ldt. But infact I get a AP_FORMAT.drvx file.
Also, when the above command is executed, I am getting an error message -
Calling FNDLOAD: FNDLOAD apps/apps@server1:1525:instance02 0 Y DOWNLOAD /backup1/anliv02/apps/apps_st/appl/xdo/12.0.0/patch/115/import/xdotmpl.lct AP_FORMAT.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=IBY
APP-FND-01564: ORACLE error 12514 in AFPCOA
Cause: AFPCOA failed due to ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
The SQL statement being executed at the time of the error was: and was executed from the file .
Generating DRVX file: xdotmpl.drvx
Any help on this appreciated.
Thanks in advance.
Kiran -
Why do I get parsing errors with my WSDL URL for Web Services usage
Hi,
I am puzzled with the errors I get when I want to create a Web Service datastore.
Scenario: I have created a SAP Web Service from CRM using SOAMANAGER. The WSDL URL produced by SOAMANAGER is accessibile when pasting the URL directly in Internet Explorer. WSDL URL [http://UXCIQ0M.WDF.SAP.CORP:50076/sap/bc/srt/wsdl/srvc_CBDCB34C89C29304E10000000A4282C0/wsdl11/allinone/ws_policy/document?sap-client=504]
When using the WSDL URL in the Web Service datastore URL field, I get the error An error occurred while importing metadata: WSDLException; faultcode=PARSER_ERROR: Problem parsing: The element type "br" must be terminated by matching tag "/br". (BODI-1111469) (BODI-1112446)
When I save the WSDL defintion in a local file and use a local file path, I get the errors An error occurred while importing metadata: WSDLException (at /wsdl:definitions/wsdl:portype/wsp:Policy): faultcode=INVALID_WSDL: Encountered unexpected element 'Policy. (BODI-1111469) (BODI-1112446)
My questions:
- Why do I get different parsing errors despite the fact that the XML is the same?
- The WSDL is generated by SOAMANAGER. Shouldn't it work directly when integrating with Web Services generated from an SAP environment?
- Is this related to confiurgation issue? I have set the Job Manager to Support adapter, message broker and SNMP communication
- What is the difference between the datastore of type Adapter and the datastore Web Service? In the white paper [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true] it is mentioned to use the Adapter type to consume a Web Service. It is not clear to me why we have those 2 types.
Thanks & Best Regards
IsabelleSome updates on this issue, which might help others in the community.
- Data Service doesn't support ws_policy.
- SAP NetWeaver 7.0 SOAMANAGER generate WDSL with ws_policy. In future releases, it is possible to specify not to use ws_policy
- In most cases, replacing ws_policy with standard in the URL directly, works. It doesn't work with Data Services :(.
- Replacing ALL ws_policy in the XML directly is currently the only way to have the WSDL definition being parsed properly by Data Services. -
Error with FIMSynchronizationService: Event 6309
Hello,
I have scheduled a full synchronization at 1:00 AM for the user profiles and every time the job runs, 4 of these same errors happen. User profiles
seem to be imported successful, and all of the services and components are running OK. I wonder if new or updated profiles are being imported based upon this error.
Not sure what this error means. Any suggestions on how to resolve this issue would be appreciated?
Log Name: Application
Source: FIMSynchronizationService
Date: 5/14/2014 1:01:27 AM
Event ID: 6309
Task Category: Server
Level:
Error
Keywords: Classic
User: N/A
Computer: server.com
Description:
The server encountered an unexpected error while performing an operation for a management agent.
"BAIL: MMS(32): ldapmacore.cpp(845): 0x80070057 (The parameter is incorrect.): Object class inclusion list for partition #1 differs from
previous partitions
BAIL: MMS(32): ldapmacore.cpp(1785): 0x80070057 (The parameter is incorrect.)
BAIL: MMS(32): cntrler.cpp(501): 0x80230808 (The management agent run was terminated as there were unspecified management agent errors.)
BAIL: MMS(32): ma.cpp(3631): 0x80230808 (The management agent run was terminated as there were unspecified management agent errors.)
Forefront Identity Manager 4.0.2450.49"
PaulHi Paul,
Please read the article below, it describes event ID from 6300 – 6309:
http://technet.microsoft.com/en-us/library/ff519523(v=office.14).aspx
If you would like to confirm whether certain user profile has been imported successfully, you could navigate to Manage User Profiles page and check it.
Central Administration > Application Management > Manage service applications > UPSA > Manage User Profiles
Regards,
Rebecca Tu
TechNet Community Support -
JMS event generator extract custom jms property
[cross posted from integration.interest - this seems the correct place to post]
Hi, I was looking for a way to enable a workflow/process to extact a custom jms property that is send with a jms message to the jms event generator.
So the client inserts name/value pair inside the jms message, the event generator picks up the message and starts a workflow. How can I extract that custom name/value pair once inside the workflow/process ?
TIAHey can u tell me the solution for this problem.....I am also facing similar problems......Help is appericiated....
-
I am trying to access MQ que with Message Driven bean in weblogic 8.1.
I have defined Foreign JMS server in weblogic pointing to MQ JNDI name.
I am not sure what to define in "weblogic-ejb-jar.xml" and "ejb-jar.xml" to refer to que connection factory and que.
Error message that I am getting while deploying is as follows:
<The Message-Driven EJB: MesssageHandlerBean is unable to connect to the JMS destination: jms.MediaQueue. The Error was:
[EJB:011010]The JMS destination with the JNDI name: jms.MediaQueue could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml is correct, and the JMS destination has been deployed.>
Looks like it weblogic is not able to identify JNDI name that I have defined in foreign server for remote que.
Please let me know how i can reference foreign JMS server JNDI names.
Thanks a bunch for help.
Please find attached configuration files.
weblogic-ejb-jar.xml
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>MesssageHandlerBean</ejb-name>
<message-driven-descriptor>
<destination-jndi-name>
jms.MediaQueue
</destination-jndi-name>
<initial-context-factory>
com.sun.jndi.fscontext.RefFSContextFactory
</initial-context-factory>
<provider-url>file://localhost/d:/mqm</provider-url>
<connection-factory-jndi-name>
jms.MediaQcf
</connection-factory-jndi-name>
</message-driven-descriptor>
<jndi-name>MesssageHandlerBean</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
ejb-jar.xml
<enterprise-beans>
<message-driven>
<ejb-name>MesssageHandlerBean</ejb-name>
<ejb-class>com.ejb.MesssageHandlerBean</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
weblogic "config.xml" for foeign JMS server.
<ForeignJMSServer ConnectionURL="file://localhost/d:/mqm" InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
JNDIProperties="" Name="MQJMS Server" Targets="cgServer">
<ForeignJMSConnectionFactory LocalJNDIName="jms.MediaQcf"
Name="MQ JMS Connection Factory" PasswordEncrypted=""
RemoteJNDIName="jms/lMediaQcf" Username=""/>
<ForeignJMSDestination LocalJNDIName="jms.MediaQueue"
Name="MQJMS Destination" RemoteJNDIName="jms/IMediaQueue"/>
</ForeignJMSServer>
Message was edited by:
[email protected]
Message was edited by:
[email protected]Thanks for going over the problem it is resolved now by changing weblogic-ejb-jar.xml. To point to weblogic initial context factory. Since weblogic has a foreign server defined so MDB is able to read from MQ que.
Thanks
Akash
<weblogic-enterprise-bean> <ejb-name>MesssageHandlerBean</ejb-name> <message-driven-descriptor> <destination-jndi-name>jms.MediaQueue</destination-jndi-name> <initial-context-factory> weblogic.jndi.WLInitialContextFactory</initial-context-factory> <provider-url>t3://localhost:7001</provider-url> <connection-factory-jndi-name>jms.MediaQcf</connection-factory-jndi-name> </message-driven-descriptor> <jndi-name>MesssageHandlerBean</jndi-name> </weblogic-enterprise-bean> -
Javax.naming.NameNotFoundException for foreign JMS Connection factory
I have a foreign jms server configured and when I try and test it I get a Name not found exception.
javax.naming.NameNotFoundException: Unable to resolve 'jms.SSLQueueConnectionFactory' Resolved jms [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jms.SSLQueueConnectionFactory' Resolved jms]; remaining name 'SSLQueueConnectionFactory'
The config.xml looks ok
<ForeignJMSServer
ConnectionURL="ssl://eaid1-jms.ges.symantec.com:7243"
JNDIProperties="" Name="JMS Proxy Dev" Targets="TeamWorksServer">
<ForeignJMSConnectionFactory
LocalJNDIName="jms.SSLQueueConnectionFactory"
Name="MyForeign JMS Connection Factory"
PasswordEncrypted="{3DES}Es94ikW1TZzBFyDp+3/gktRtDaHWI6j/"
RemoteJNDIName="SSLQueueConnectionFactory" Username="weblogicUser"/>
<ForeignJMSDestination LocalJNDIName="jms.WEBLOGIC.TEST.QUEUE"
Name="MyForeign JMS Destination" RemoteJNDIName="WEBLOGIC.TEST.QUEUE"/>
</ForeignJMSServer>
The code i took from the QueueSend example
package com.symantec.utils.jms;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Hashtable;
import javax.jms.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
/** This example shows how to establish a connection
* and send messages to the JMS queue. The classes in this
* package operate on the same JMS queue. Run the classes together to
* witness messages being sent and received, and to browse the queue
* for messages. The class is used to send messages to the queue.
* @author Copyright (c) 1999-2006 by BEA Systems, Inc. All Rights Reserved.
public class QueueSend
// Defines the JNDI context factory.
public final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
// Defines the JMS context factory.
public final static String JMS_FACTORY="jms.SSLQueueConnectionFactory";
// Defines the queue.
public final static String QUEUE="WEBLOGIC.TEST.QUEUE";
private QueueConnectionFactory qconFactory;
private QueueConnection qcon;
private QueueSession qsession;
private QueueSender qsender;
private Queue queue;
private TextMessage msg;
* Creates all the necessary objects for sending
* messages to a JMS queue.
* @param ctx JNDI initial context
* @param queueName name of queue
* @exception NamingException if operation cannot be performed
* @exception JMSException if JMS fails to initialize due to internal error
public void init(Context ctx, String queueName)
throws NamingException, JMSException
qconFactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
qcon = qconFactory.createQueueConnection();
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queue = (Queue) ctx.lookup(queueName);
qsender = qsession.createSender(queue);
msg = qsession.createTextMessage();
qcon.start();
* Sends a message to a JMS queue.
* @param message message to be sent
* @exception JMSException if JMS fails to send message due to internal error
public void send(String message) throws JMSException {
msg.setText(message);
qsender.send(msg);
* Closes JMS objects.
* @exception JMSException if JMS fails to close objects due to internal error
public void close() throws JMSException {
qsender.close();
qsession.close();
qcon.close();
private static void readAndSend(QueueSend qs)throws IOException, JMSException
BufferedReader msgStream = new BufferedReader(new InputStreamReader(System.in));
String line=null;
boolean quitNow = false;
do {
System.out.print("Enter message (\"quit\" to quit): \n");
line = msgStream.readLine();
if (line != null && line.trim().length() != 0) {
qs.send(line);
System.out.println("JMS Message Sent: "+line+"\n");
quitNow = line.equalsIgnoreCase("quit");
} while (! quitNow);
private static InitialContext getInitialContext(String url)
throws NamingException
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
env.put(Context.PROVIDER_URL, url);
return new InitialContext(env);
/** main() method.
* @param args WebLogic Server URL
* @exception Exception if operation fails
public static void main(String[] args) throws Exception
InitialContext ic = getInitialContext("t3://tus1bpmappdin01.ges.symantec.com:7501");
QueueSend qs = new QueueSend();
qs.init(ic, QUEUE);
readAndSend(qs);
qs.close();
Any suggestions would be appreciated
RegardsI have a foreign jms server configured and when I try and test it I get a Name not found exception.
javax.naming.NameNotFoundException: Unable to resolve 'jms.SSLQueueConnectionFactory' Resolved jms [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jms.SSLQueueConnectionFactory' Resolved jms]; remaining name 'SSLQueueConnectionFactory'
The config.xml looks ok
<ForeignJMSServer
ConnectionURL="ssl://eaid1-jms.ges.symantec.com:7243"
JNDIProperties="" Name="JMS Proxy Dev" Targets="TeamWorksServer">
<ForeignJMSConnectionFactory
LocalJNDIName="jms.SSLQueueConnectionFactory"
Name="MyForeign JMS Connection Factory"
PasswordEncrypted="{3DES}Es94ikW1TZzBFyDp+3/gktRtDaHWI6j/"
RemoteJNDIName="SSLQueueConnectionFactory" Username="weblogicUser"/>
<ForeignJMSDestination LocalJNDIName="jms.WEBLOGIC.TEST.QUEUE"
Name="MyForeign JMS Destination" RemoteJNDIName="WEBLOGIC.TEST.QUEUE"/>
</ForeignJMSServer>
The code i took from the QueueSend example
package com.symantec.utils.jms;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Hashtable;
import javax.jms.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
/** This example shows how to establish a connection
* and send messages to the JMS queue. The classes in this
* package operate on the same JMS queue. Run the classes together to
* witness messages being sent and received, and to browse the queue
* for messages. The class is used to send messages to the queue.
* @author Copyright (c) 1999-2006 by BEA Systems, Inc. All Rights Reserved.
public class QueueSend
// Defines the JNDI context factory.
public final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
// Defines the JMS context factory.
public final static String JMS_FACTORY="jms.SSLQueueConnectionFactory";
// Defines the queue.
public final static String QUEUE="WEBLOGIC.TEST.QUEUE";
private QueueConnectionFactory qconFactory;
private QueueConnection qcon;
private QueueSession qsession;
private QueueSender qsender;
private Queue queue;
private TextMessage msg;
* Creates all the necessary objects for sending
* messages to a JMS queue.
* @param ctx JNDI initial context
* @param queueName name of queue
* @exception NamingException if operation cannot be performed
* @exception JMSException if JMS fails to initialize due to internal error
public void init(Context ctx, String queueName)
throws NamingException, JMSException
qconFactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
qcon = qconFactory.createQueueConnection();
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queue = (Queue) ctx.lookup(queueName);
qsender = qsession.createSender(queue);
msg = qsession.createTextMessage();
qcon.start();
* Sends a message to a JMS queue.
* @param message message to be sent
* @exception JMSException if JMS fails to send message due to internal error
public void send(String message) throws JMSException {
msg.setText(message);
qsender.send(msg);
* Closes JMS objects.
* @exception JMSException if JMS fails to close objects due to internal error
public void close() throws JMSException {
qsender.close();
qsession.close();
qcon.close();
private static void readAndSend(QueueSend qs)throws IOException, JMSException
BufferedReader msgStream = new BufferedReader(new InputStreamReader(System.in));
String line=null;
boolean quitNow = false;
do {
System.out.print("Enter message (\"quit\" to quit): \n");
line = msgStream.readLine();
if (line != null && line.trim().length() != 0) {
qs.send(line);
System.out.println("JMS Message Sent: "+line+"\n");
quitNow = line.equalsIgnoreCase("quit");
} while (! quitNow);
private static InitialContext getInitialContext(String url)
throws NamingException
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
env.put(Context.PROVIDER_URL, url);
return new InitialContext(env);
/** main() method.
* @param args WebLogic Server URL
* @exception Exception if operation fails
public static void main(String[] args) throws Exception
InitialContext ic = getInitialContext("t3://tus1bpmappdin01.ges.symantec.com:7501");
QueueSend qs = new QueueSend();
qs.init(ic, QUEUE);
readAndSend(qs);
qs.close();
Any suggestions would be appreciated
Regards -
Service entry sheet error.with new material group for services
Dear Experts
We need to create material group for roll shop spare parts service,we created a new material group.
when we are creating PR/PO with item category as D and a/c assignment K( entered cost center here).its giving error message
as RC= 3M8 47 Account determination for entry JSL KBS J001 not possible(while making service entry sheet)
after that i changed PR/PO and gave cost center and G/l account.now the service entry sheet is accepted.
is it necessary give G/L account manually,if user chose wrong G/L account how to avoid this problem.
please clarify me,
do we need to assign valuation class for material group for services?(where to assign)
or
should assign G/L account manually to cost center while creating PR/PO
Please clarify me
Regards,
Varun
Edited by: madhu varun tirupati on Sep 8, 2010 2:48 PMHi,
Option-1:-- >
Without creating material group and you can use your other service material group(existing service material group) and create a service master in AC03 as spareservice. Create a Service PO with text as roll shop spare parts service with other details as required like quantity of service, cost center & G/L account etc. After service being completed you can do SES in t.code: ML81N
Option-2:-- >
If you want report at the end based on different material/service group level, you can create a material/service group in OMSF for roll shop spare parts service and then you can assign to valuation class to material group in OMQW t.code. Then carry out regular process service order, SES etc.
Based on requirement, you can enter G/L account manually or can set default G/L account in purchasing document with help of t.codes: OMSK, OMQW, OME9, OMGO & OBYC
For error u201CAccount determination for entry JSL KBS J001 not possibleu201D, you cannot assign KBS transaction/event key to an account in OBYC t.code. Only you can assign G/L account to cost center with your CompanyCode in OKB9 t.code. Check the SAP note: 364570 & 106981
Regards,
Biju K -
HT201210 Hi i get an -1 restore error with the latest Os for iPhone restore
I am tring to restor an 3gs Iphone with the latest OS and all i keep getting is:
the Iphone "Iphone" could not be restored. A unknown error occured (-1).
The Iphine has NOT had Jailbreak so its not that. Any help would be great.
CheersError -1 indicates a hardware failure. You'll need to bring your phone into Apple for evaluation.
-
Error with the Scope parameter for component
Hi, I am using JSF2.0 in my web. In the home page (index.xhtml) i have an album gallery with session scope. However the gallery is available to all the users, what should be the scope for this component? After setting session scope, a session key is generated which is appended with the URL and because of this (perhaps) other links are not opening. i mean whenever i clicks on any link (about.xhtml), it displays nothing. Removing the bean from session scope makes everything fine except gallery (gallery doesn't rendered).
That version of the package has been built with apache 2.2.x. Be sure to use that version of apache too, as 2.0 won't work with that specific package.
-
Error with adprep /domainprep /gpprep for 2008 R2
While prepping our 2003 forest for 2008 R2, I am getting an error running 'adprep32 /domainprep /gpprep' in one of my child domains. The forestprep ran fine and domainprep ran fine on all of the other (8) domains -- it's just this one that is giving
me fits.
The error is the apparently common "Adprep was unable to complete because the call back function failed." The key lines from the log files appear to be:
[2010/06/11:11:15:53.088]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=a3dac986-80e7-4e59-a059-54cb1ab43cb9,cn=Operations,cn=DomainUpdates,cn=System,DC=sa,DC=convergys,DC=com.
[2010/06/11:11:15:53.088]
LDAP API ldap_search_s() finished, return code is 0x20
[2010/06/11:11:15:53.088]
Adprep verified the state of operation cn=a3dac986-80e7-4e59-a059-54cb1ab43cb9,cn=Operations,cn=DomainUpdates,cn=System,DC=sa,DC=convergys,DC=com.
[Status/Consequence]
The operation has not run or is not currently running. It will be run next.
[2010/06/11:11:15:53.088]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=446f24ea-cfd5-4c52-8346-96e170bcb912,cn=Operations,cn=DomainUpdates,cn=System,DC=sa,DC=convergys,DC=com.
[2010/06/11:11:15:53.088]
LDAP API ldap_search_s() finished, return code is 0x20
[2010/06/11:11:15:53.088]
Adprep verified the state of operation cn=446f24ea-cfd5-4c52-8346-96e170bcb912,cn=Operations,cn=DomainUpdates,cn=System,DC=sa,DC=convergys,DC=com.
[Status/Consequence]
The operation has not run or is not currently running. It will be run next.
[2010/06/11:11:15:53.213]
Adprep was unable to complete because the call back function failed.
[Status/Consequence]
Error message: (null)
I have checked all of the known causes of this problem (http://technet.microsoft.com/en-us/library/dd464018(WS.10).aspx) and verified that none of these are the
cause.
When I look at one of the other child domains where this ran, both of those regkeys exist. Based upon the whenChanged and whenCreated attributes, cn=a3dac986-80e7-4e59-a059-54cb1ab43cb9 appers to be a product of this schema change, but cn=446f24ea-cfd5-4c52-8346-96e170bcb912
has a whenCreated date of 12/11/2003 and a whenChanged date of 12/29/2005, which makes me wonder if this key is maybe the product of an earlier schema update that perhaps failed in this domain?
This is driving me nuts. Can someone help? If not, I'm going to have to open a Premier incident and I'd really like to avoid that.
Thanks.
Ed Bell - Specialist, Network Services, ConvergysHi,
FYI.
On July 1st we will be making Windows Server 2008 R2 General forum read only. After receiving a lot of feedback from the community, it was decided that this forum
is a duplication and therefore redundant of the
General Forum. So, until July 1st, we will start asking customers to redirect their questions to the
General Forum. On June 11th, CSS engineers will move any new threads to the
General Forum.
Please post a reply to
the announcement thread
if you have any feedback on this decision or the process. You can also email
[email protected]
Regards,
Wilson Jia
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can
be beneficial to other community members reading the thread. ” -
Multiple validate events generated for a new matrix
I have added a new tab to the item master form which has a matrix grid on it.
This works fine until I attempt to move to the previous or next record whilst the new tab is visible.
What happens then is that every column on every line of the matrix causes a validate event to be triggered, it even triggers the event for hidden columns.
This is really affecting my form and I cannot understand why so many events are generated, does anyone have any odeas?
I am not sure if it is relevant but I have noticed that when moving through the data a click event is generated on item 41 within the item master form but i am not certain what this item is - could it be the "Move data" button from the toolbar?
Gordon WoodHi ...
I would try putting a BubbleEvent = False at a certain point in the event to cancel further execution.
You could also use the iteration of If pval.InnerEvent = True to catch and further execution, like this
CASE et_Validate
If pval.InnerEvent = True Then BubbleEvent = False
hope it helps
Maybe you are looking for
-
This is an ongoing problem with other users. When putting a PDF in address window of Firefox and clicking go to address FIREFOX WILL NOT LOAD AND DISPLAY THE PDF. This problem has come up in questions from other users on your site. NONE OF THE SUGGES
-
This album is American Idol Top 4 Season 12 - the song that brings up the dialog box is Emotion by Candice Glover. Is there a way to redown load the album with out repaying? Is that the best fix?? Thanks, Scott
-
Set maximum session bean pool size?
Using the embedded OC4J, how can I set the maximum pool size for my session beans? I am using Jdeveloper 10g. Do I have to manually edit some XML file?
-
IFRS Solution for JV Accounting - Oil and Gas
Hi My client is upstream sector Oil and Gas industry. I am into IS Oil. They are moving for IFRS. I know what all changes are required in SAP FI (like parllel ledger is required, new depreciation area is required, etc) But i am not aware of SAP JVA.
-
Adjust group automation relative to individual track
i'm working with a single guitar that's been recorded on 3 different tracks with different mics. The first two tracks are close miked and the 3rd is distant. The fader levels are set differently for eq purposes and atmosphere and i'd like to retain t