JMS SAF client cannot forward messages - Caused by: javax.crypto.BadPadding

Hi,
I seem to be struggling with a problem that I'm not sure if I can ever find a solution.
I have a configured a local JMS client to forward my messages to a remote WLSB 9.2.
The local client is running JDK 1_0_14 on a windows platform.
The remote server is on IBM JRE on linux. Now I'm getting problems when the messages are forwarded by the local SAF client. The client does not seem to be able to decrypt the password I have in my SAFClient.xml. I have pretty much followed every line in the documentation of SAF client and has already revisited it a few times.
It seems to be something to do with the ClientSAFEncrypt utility that I was advised to get the encrypted password which I have put in the XML File. Here is the exception. Any help will be greatly appreciated.
All I know is it is something to do with encoding of the password, but I cannot get a clue what else.
<Mar 25, 2008 12:28:40 PM PDT> <Info> <Store> <BEA-280050> <Persistent store "SAFSTORE0V" opened: directory="C:\depot\javaSrc\logging\stores\default" writePolicy="Direct-Write" blockSize=512 directIO=false driver="NIO">
javax.naming.NamingException: Invalid password key to unlock the passwords in the configuration file [Root exception is weblogic.jms.common.JMSException: Invalid password key to unlock the passwords in the configuration file]
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getNamingException(InitialContextFactoryImpl.java:31)
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:162)
     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
     at javax.naming.InitialContext.init(InitialContext.java:223)
     at javax.naming.InitialContext.<init>(InitialContext.java:197)
     at com.netflix.messaging.ESBFactory.<init>(ESBFactory.java:103)
     at com.netflix.messaging.ESBFactory.getFactory(ESBFactory.java:45)
     at com.netflix.messaging.NFMessagingManager.getProducerHandle(NFMessagingManager.java:218)
     at com.netflix.messaging.NFMessagingManager.initProducers(NFMessagingManager.java:730)
     at com.netflix.messaging.NFMessagingManager.init(NFMessagingManager.java:863)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1461)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1628)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.startMessagingManager(MessageDestinationDispatcher.java:164)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.<init>(MessageDestinationDispatcher.java:25)
     at com.netflix.logging.NFMessageAppender.append(NFMessageAppender.java:72)
     at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
     at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
     at org.apache.log4j.Category.callAppenders(Category.java:206)
     at org.apache.log4j.Category.forcedLog(Category.java:391)
     at org.apache.log4j.Category.log(Category.java:838)
     at com.netflix.logging.log4jAdapter.Log4jLoggingAdapter.log(Log4jLoggingAdapter.java:64)
     at com.netflix.logging.NFLogger.log(NFLogger.java:125)
     at com.netflix.logging.LogManager.info(LogManager.java:152)
     at com.netflix.logging.aggregator.Bucketer.init(Bucketer.java:92)
     at com.netflix.logging.aggregator.Bucketer.<init>(Bucketer.java:80)
     at com.netflix.logging.aggregator.TracerAggregator.<init>(TracerAggregator.java:29)
     at com.netflix.logging.aggregator.TracerAggregator.<clinit>(TracerAggregator.java:20)
     at com.netflix.logging.NFLogger.start(NFLogger.java:105)
     at com.netflix.logging.LogManager.registerLogger(LogManager.java:67)
     at com.netflix.logging.test.LoggingTest.sendDefault(LoggingTest.java:32)
     at com.netflix.logging.test.LoggingTest.main(LoggingTest.java:19)
Caused by: weblogic.jms.common.JMSException: Invalid password key to unlock the passwords in the configuration file
     at weblogic.jms.safclient.admin.ConfigurationUtils.doRemoteContexts(ConfigurationUtils.java:475)
     at weblogic.jms.safclient.agent.AgentManager.<init>(AgentManager.java:54)
     at weblogic.jms.safclient.ClientSAFDelegate.open(ClientSAFDelegate.java:65)
     at weblogic.jms.safclient.ClientSAFImpl.open(ClientSAFImpl.java:62)
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:160)
     ... 30 more
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
     at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
     at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
     at com.sun.crypto.provider.SunJCE_af.b(DashoA12275)
     at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA12275)
     at javax.crypto.Cipher.doFinal(DashoA12275)
     at weblogic.jms.common.SecHelper.decryptString(SecHelper.java:140)
     at weblogic.jms.safclient.admin.ConfigurationUtils.doRemoteContexts(ConfigurationUtils.java:473)
     ... 34 more
java.lang.IllegalStateException: Cannot create context: Invalid password key to unlock the passwords in the configuration file
     at com.netflix.messaging.ESBFactory.<init>(ESBFactory.java:106)
     at com.netflix.messaging.ESBFactory.getFactory(ESBFactory.java:45)
     at com.netflix.messaging.NFMessagingManager.getProducerHandle(NFMessagingManager.java:218)
     at com.netflix.messaging.NFMessagingManager.initProducers(NFMessagingManager.java:730)
     at com.netflix.messaging.NFMessagingManager.init(NFMessagingManager.java:863)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1461)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1628)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.startMessagingManager(MessageDestinationDispatcher.java:164)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.<init>(MessageDestinationDispatcher.java:25)
     at com.netflix.logging.NFMessageAppender.append(NFMessageAppender.java:72)
     at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
     at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
     at org.apache.log4j.Category.callAppenders(Category.java:206)
     at org.apache.log4j.Category.forcedLog(Category.java:391)
     at org.apache.log4j.Category.log(Category.java:838)
     at com.netflix.logging.log4jAdapter.Log4jLoggingAdapter.log(Log4jLoggingAdapter.java:64)
     at com.netflix.logging.NFLogger.log(NFLogger.java:125)
     at com.netflix.logging.LogManager.info(LogManager.java:152)
     at com.netflix.logging.aggregator.Bucketer.init(Bucketer.java:92)
     at com.netflix.logging.aggregator.Bucketer.<init>(Bucketer.java:80)
     at com.netflix.logging.aggregator.TracerAggregator.<init>(TracerAggregator.java:29)
     at com.netflix.logging.aggregator.TracerAggregator.<clinit>(TracerAggregator.java:20)
     at com.netflix.logging.NFLogger.start(NFLogger.java:105)
     at com.netflix.logging.LogManager.registerLogger(LogManager.java:67)
     at com.netflix.logging.test.LoggingTest.sendDefault(LoggingTest.java:32)

Hi,
I seem to be struggling with a problem that I'm not sure if I can ever find a solution.
I have a configured a local JMS client to forward my messages to a remote WLSB 9.2.
The local client is running JDK 1_0_14 on a windows platform.
The remote server is on IBM JRE on linux. Now I'm getting problems when the messages are forwarded by the local SAF client. The client does not seem to be able to decrypt the password I have in my SAFClient.xml. I have pretty much followed every line in the documentation of SAF client and has already revisited it a few times.
It seems to be something to do with the ClientSAFEncrypt utility that I was advised to get the encrypted password which I have put in the XML File. Here is the exception. Any help will be greatly appreciated.
All I know is it is something to do with encoding of the password, but I cannot get a clue what else.
<Mar 25, 2008 12:28:40 PM PDT> <Info> <Store> <BEA-280050> <Persistent store "SAFSTORE0V" opened: directory="C:\depot\javaSrc\logging\stores\default" writePolicy="Direct-Write" blockSize=512 directIO=false driver="NIO">
javax.naming.NamingException: Invalid password key to unlock the passwords in the configuration file [Root exception is weblogic.jms.common.JMSException: Invalid password key to unlock the passwords in the configuration file]
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getNamingException(InitialContextFactoryImpl.java:31)
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:162)
     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
     at javax.naming.InitialContext.init(InitialContext.java:223)
     at javax.naming.InitialContext.<init>(InitialContext.java:197)
     at com.netflix.messaging.ESBFactory.<init>(ESBFactory.java:103)
     at com.netflix.messaging.ESBFactory.getFactory(ESBFactory.java:45)
     at com.netflix.messaging.NFMessagingManager.getProducerHandle(NFMessagingManager.java:218)
     at com.netflix.messaging.NFMessagingManager.initProducers(NFMessagingManager.java:730)
     at com.netflix.messaging.NFMessagingManager.init(NFMessagingManager.java:863)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1461)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1628)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.startMessagingManager(MessageDestinationDispatcher.java:164)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.<init>(MessageDestinationDispatcher.java:25)
     at com.netflix.logging.NFMessageAppender.append(NFMessageAppender.java:72)
     at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
     at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
     at org.apache.log4j.Category.callAppenders(Category.java:206)
     at org.apache.log4j.Category.forcedLog(Category.java:391)
     at org.apache.log4j.Category.log(Category.java:838)
     at com.netflix.logging.log4jAdapter.Log4jLoggingAdapter.log(Log4jLoggingAdapter.java:64)
     at com.netflix.logging.NFLogger.log(NFLogger.java:125)
     at com.netflix.logging.LogManager.info(LogManager.java:152)
     at com.netflix.logging.aggregator.Bucketer.init(Bucketer.java:92)
     at com.netflix.logging.aggregator.Bucketer.<init>(Bucketer.java:80)
     at com.netflix.logging.aggregator.TracerAggregator.<init>(TracerAggregator.java:29)
     at com.netflix.logging.aggregator.TracerAggregator.<clinit>(TracerAggregator.java:20)
     at com.netflix.logging.NFLogger.start(NFLogger.java:105)
     at com.netflix.logging.LogManager.registerLogger(LogManager.java:67)
     at com.netflix.logging.test.LoggingTest.sendDefault(LoggingTest.java:32)
     at com.netflix.logging.test.LoggingTest.main(LoggingTest.java:19)
Caused by: weblogic.jms.common.JMSException: Invalid password key to unlock the passwords in the configuration file
     at weblogic.jms.safclient.admin.ConfigurationUtils.doRemoteContexts(ConfigurationUtils.java:475)
     at weblogic.jms.safclient.agent.AgentManager.<init>(AgentManager.java:54)
     at weblogic.jms.safclient.ClientSAFDelegate.open(ClientSAFDelegate.java:65)
     at weblogic.jms.safclient.ClientSAFImpl.open(ClientSAFImpl.java:62)
     at weblogic.jms.safclient.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:160)
     ... 30 more
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
     at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
     at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
     at com.sun.crypto.provider.SunJCE_af.b(DashoA12275)
     at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA12275)
     at javax.crypto.Cipher.doFinal(DashoA12275)
     at weblogic.jms.common.SecHelper.decryptString(SecHelper.java:140)
     at weblogic.jms.safclient.admin.ConfigurationUtils.doRemoteContexts(ConfigurationUtils.java:473)
     ... 34 more
java.lang.IllegalStateException: Cannot create context: Invalid password key to unlock the passwords in the configuration file
     at com.netflix.messaging.ESBFactory.<init>(ESBFactory.java:106)
     at com.netflix.messaging.ESBFactory.getFactory(ESBFactory.java:45)
     at com.netflix.messaging.NFMessagingManager.getProducerHandle(NFMessagingManager.java:218)
     at com.netflix.messaging.NFMessagingManager.initProducers(NFMessagingManager.java:730)
     at com.netflix.messaging.NFMessagingManager.init(NFMessagingManager.java:863)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1461)
     at com.netflix.messaging.NFMessagingManager.start(NFMessagingManager.java:1628)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.startMessagingManager(MessageDestinationDispatcher.java:164)
     at com.netflix.logging.messaging.MessageDestinationDispatcher.<init>(MessageDestinationDispatcher.java:25)
     at com.netflix.logging.NFMessageAppender.append(NFMessageAppender.java:72)
     at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
     at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
     at org.apache.log4j.Category.callAppenders(Category.java:206)
     at org.apache.log4j.Category.forcedLog(Category.java:391)
     at org.apache.log4j.Category.log(Category.java:838)
     at com.netflix.logging.log4jAdapter.Log4jLoggingAdapter.log(Log4jLoggingAdapter.java:64)
     at com.netflix.logging.NFLogger.log(NFLogger.java:125)
     at com.netflix.logging.LogManager.info(LogManager.java:152)
     at com.netflix.logging.aggregator.Bucketer.init(Bucketer.java:92)
     at com.netflix.logging.aggregator.Bucketer.<init>(Bucketer.java:80)
     at com.netflix.logging.aggregator.TracerAggregator.<init>(TracerAggregator.java:29)
     at com.netflix.logging.aggregator.TracerAggregator.<clinit>(TracerAggregator.java:20)
     at com.netflix.logging.NFLogger.start(NFLogger.java:105)
     at com.netflix.logging.LogManager.registerLogger(LogManager.java:67)
     at com.netflix.logging.test.LoggingTest.sendDefault(LoggingTest.java:32)

Similar Messages

  • Stand-Alone JMS SAF Client

    Im interested in using a WL Stand-Alone JMS SAF Client to send messages to a server-side JMS destination,
              regardless of the servers availability.
              This is for a J2SE Swing Application. There currently is no app server interaction.
              I found the doc http://e-docs.bea.com/wls/docs92/client/saf_client.html
              It describes almost everything except for what the actual client will look like.
              Im stuck after "Modify Your JMS Client Applications.." section.
              Questions:
              A) Suggestions for other docs?
              B) Is anyone using a Stand-Alone JMS SAF Client?
              C) Does anyone know of any code examples?
              The odd thing is that a search on the net for "JMS SAF Client" or variants of yields nothing other than the WL docs...
              Thanks!

    I could not make stand-alone jms saf client work. Followed the doc, created ClientSAF.xml, made the change for intial-context factory. Tried using with provider_url and without it.
              I am not using default queue and connection factory. The client code is working fine when I don't use saf, i.e. "weblogic.jndi.WLInitialContextFactory" and provider_url.
              Getting following error:
              javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassCastException: weblogic.security.service.SubjectManagerImpl]
                   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
                   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
                   at javax.naming.InitialContext.init(Unknown Source)
                   at javax.naming.InitialContext.<init>(Unknown Source)
                   at weblogic.jms.safclient.agent.internal.ClientEnvironmentImpl.getContext(ClientEnvironmentImpl.java:76)
                   at weblogic.jms.forwarder.Forwarder.getInitialContext(Forwarder.java:334)
                   at weblogic.jms.forwarder.Forwarder.reconnect(Forwarder.java:210)
                   at weblogic.jms.forwarder.Forwarder.timerExpired(Forwarder.java:265)
                   at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:259)
                   at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
              Caused by: java.lang.ClassCastException: weblogic.security.service.SubjectManagerImpl
                   at weblogic.corba.client.ClientORBInitializer.initialize(ClientORBInitializer.java:106)
                   at weblogic.jndi.WLInitialContextFactory.<init>(WLInitialContextFactory.java:29)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                   at java.lang.reflect.Constructor.newInstance(Unknown Source)
                   at java.lang.Class.newInstance0(Unknown Source)
                   at java.lang.Class.newInstance(Unknown Source)
                   ... 12 more
              java.lang.ClassCastException: weblogic.security.service.SubjectManagerImpl
                   at weblogic.corba.client.ClientORBInitializer.initialize(ClientORBInitializer.java:106)
                   at weblogic.jndi.WLInitialContextFactory.<init>(WLInitialContextFactory.java:29)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)Stack level 1
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                   at java.lang.reflect.Constructor.newInstance(Unknown Source)
                   at java.lang.Class.newInstance0(Unknown Source)
                   at java.lang.Class.newInstance(Unknown Source)
                   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
                   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
                   at javax.naming.InitialContext.init(Unknown Source)
                   at javax.naming.InitialContext.<init>(Unknown Source)
                   at weblogic.jms.safclient.agent.internal.ClientEnvironmentImpl.getContext(ClientEnvironmentImpl.java:76)
                   at weblogic.jms.forwarder.Forwarder.getInitialContext(Forwarder.java:334)
                   at weblogic.jms.forwarder.Forwarder.reconnect(Forwarder.java:210)
                   at weblogic.jms.forwarder.Forwarder.timerExpired(Forwarder.java:265)
                   at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:259)
                   at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
              disconnect stack trace finished
              QUEUE NAME: jmssysmodule-ois!oisQueue

  • JMS SAF client paging directory definition ignored

    The paging directory definition in our ClientSAF.xml file is ignored:
              <weblogic-client-jms xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
              <persistent-store>
                   <directory-path>C:\Work\newaupload\jms</directory-path>
                   <synchronous-write-policy>Disabled</synchronous-write-policy>
              </persistent-store>
              <saf-agent>
              <paging-directory>C:\Work\newaupload\jms-paging</paging-directory>
              </saf-agent>
              </weblogic-client-jms>
              Instead of the directory given in the configuration, the JMS SAF client creates a directory called "paging" in the current directory. In our case, the current directory is where all the binaries are and which is not writable, i.e. the JMS client fails.
              Is something wrong with the configuration? Or is this a bug?
              Peter
              Edited by peter05 at 05/30/2008 3:30 AM

    Hi Peter,
              For a server-side SAF with a file store, a paging directory would normally only be used internally for non-persistent messages - and I think client-side SAF would have the same behavior if it actually supports non-persistent messages in the first place.
              I don't know if the SAF client supports non-persistent - as I hadn't really thought about it -- there doesn't seem to be much purpose in it given that the purpose of SAF is store-and-forward and the "store" part implies persist messages.
              As a work-around, perhaps you can create the directory manually as read-only, then check to see if your app places any files in this directory. If it is, then your app could be creating non-persistent messages for store-and-forward, which likely isn't your intent -- non-persistent messages are not recovered on a restart, even if they are in a paging directory.
              If there must be an active paging directory for some reason, I advise (A) contacting customer support to find a way to configure it uniquely and (B), as a work-around, using an operating level linked directory or some-such to redirect the "paging" directory name out of your read-only binary directory to a better place.
              Hope this helps,
              Tom
              PS. In addition, it's a little strange to me that this directory name is hard-coded - what would happen if two SAF clients running in the same JVM attempted to use the same paging directory? Would they conflict with or even corrupt each-other?

  • Trying to install iCloud on Win7 get error message either no default mail client or current mail client cannot fulfill messaging request.   How fix?

    Trying to install iCloud on Win7 get error message either no default mail client or current mail client cannot fulfill messaging request.   How fix?

    Outlook 2013.  Under Start Up Options, I have checked "Make Outlook the default program for E-mail, Contacts, and Calendar".

  • JMS SAF client

    Hello ,
    Have a simple question about what jar files are required when using a safClient to connect to Weblogic.
    Some of the jar's are ,
    - weblogic.jar
    - wlclient.jar
    - wlfullclient.jar
    - wlsafclient.jar
    - wljmsclient.jar
    Are all of these jars required in the classpath on client side ?
    When we generate a wlfullclient.jar file using "java -jar wljarbuilder.jar" , Does this contain all the other jars ?
    In other words does wlfullclient.jar contain/include rest of the jar's ?
    Thanks,
    Stacy.

    Hi,
    In order to use JMS SAF client, you have the following options:
    1. using wlsafclient.jar and wljmsclient.jar/wlclient.jar together;
    2. using wlfullclient.jar, which contains wljmsclient.jar, wlclient.jar and wljmsclient.jar;
    3. using weblogic.jar, which contains everything.
    You'll get better performance if you use weblogic.jar.
    If you are using a recent release of WebLogic Server, say after 11gR1PS3, you have another option -- use wlthint3cleint and wlsaft3client.jar together. This will also give you better performance compared to option 1 and 2 above.
    -Dongbo

  • Cannot forward messages to SAP

    Hello,
    Not all message processors are able to forward message to SAP. Actually, only one user can do it which the user configured in table AISUSER whose S-user is the same as the one in DSWP --> Global Settings and SAP-OSS RFC destination.
    I tried to add another user in the AISUSER table and assigned the same S-user but got the error Error when Error when opening an RFC connection. Then, I assigned a different s-user but got the same error.
    I also tried to assign the working S-user for parameter SAPNETUSID in the user master record but always got the following error: The system could not find your SAP customer notification system user
    Message no. DNO150
    Can somebody help me how to address this issue? My solution manager is 4.0.
    Thanks,
    Regina

    This is already working. The user should both be in V_AISUSER table and have the SAPNETUSID parameter set.

  • Cannot forward messages

    I have four email accounts in Thunderbird. When I try to forward message with imbedded attachment I get a message that "Sending of message failed" "The message could not be sent....... SMTP server plus was lost in the middle of the transaction."
    If I switch to another account to send, it works fine. I checked the setting and they are all the same.
    Win7 x64
    Thanks, Stewart

    McAfee, but I've disabled it no change. And the problem is intermittent. Good thought though, Thanks

  • Rmi client cannot send message

    Hi
    I'm running the rmiregistry server at port 8000.
    My application uses an API which reads a file for its configuration. I've set the RMI PORT to 8000 in the config file.
    Its possible to telnet "IP:8000" from the remote machine but when the remote application tries to send a message (using the api) it gets an error "cannot send message". The remote application also uses a config file to determine the IP and PORT it'll connect to. IP is set to the address where server program is running and port is set to 8000.
    The server api generates a log (showing each message processed) : Log generated indicates that API starts successfully but there are no entries for any messages received. Seems the messages are not arriving at all.
    Is any more configuration required?
    Regards,

    Here goes:
    The application communicates with an MMSC. Has two threads one for sending and another for receiving messages.
    The sending Thread is working just fine. Both Threads use an API for communicating with the MMSC.
    I start the RMIregistry Server with the following:
    java -cp path/ApiName.jar sun.rmi.registry.RegistryImpl 8000
    One needs to implement an Listener interface to receive messages.
    Here's my class for the same
    public class ReceiveMMS extends Thread implements MsgListener {
    public void run(){
              while(true){
                   try{
                        Thread.sleep(1000);
                   catch (Exception e) {
                        e.printStackTrace();
    public ReceiveMMS() {
              try {
              System.out.println("Registering application to receive messages...");
              APIClassInstance.registerToReceiveMessages(this);
              System.out.println("Application Now Listening for messages.");
              catch (ApiNotYetStartedException anyse) {
                   System.out.println("Exception caught while Registering Application: " + anyse);
    public Result processThisMessage(MessageArrivedEvent mae) {
    Result _result = new Result(ResultCodes.SUCCESS,"Receive Message Successful");
    try {
    System.out.println("New Multimedia Message Arrived. Fetching it...");
    // call fetchMessage() to fetch message from queue
    MimeBodyPart _receivedMessage = APIClassInstance.fetchMessage();
         //MESSAGE PROCESSING LOGIC
    catch (ApiNotYetStartedException anyse) {
    System.out.println("");
    _result.setResultCode(ResultCodes.FAILURE);
    _result.setResultText(": "+anyse);
    catch (NoMessagePresentException nmpe) {
    System.out.println(" : "+nmpe);
    _result.setResultCode(ResultCodes.FAILURE);
    _result.setResultText("No Message Present : "+nmpe);
    catch (CannotFetchMessageException cfme) {
    System.out.println("Cannot Fetch Message - Check RECEIVE property :"+cfme);
    _result.setResultCode(ResultCodes.FAILURE);
    _result.setResultText("Cannot Fetch Message. Check RECEIVE property :"+cfme);
    catch (Exception e) {
    System.out.println("Error Handling Message : "+e);
    _result.setResultCode(ResultCodes.FAILURE);
    _result.setResultText("Error Handling Message : "+e);
    return _result;
    processThisMessage() METHOD is called when a message arrives. This notification is not taking place.
    Is there a special way for making this notification happen
    what i can figure is, some configuration is missing, and the remote app is not able to notify the MessageHandler.
    The API starts successfully and is able to connect to remote system (sure, as it can send messages). The api uses RMi internally--when dont start the registry server i get the 'Class not found for the STUB Class'
    Regards

  • I cannot forward messages from my Juno e-mail account.

    Firefox prevent messages in Juno e-mail from being forwarded. The background screen simply becomes darker with each failed attempt.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    Start Firefox in -> [[Safe Mode]] to check if your add-ons/extension are causing the problem.
    * Also see this article -> [[Troubleshooting extensions and themes]]
    Check and tell if its working.

  • MFC Client cannot send message to a Java Server

    Hi All,
    I have a Java Server which listens on a TCP Socket. The client is a MFC based application and needs to communicate with the Server using simple raw text messages.
    We were able to connect to the Java Server using CSocket and CAsyncSocket objects but were not able to send messages.
    This is the code that we are trying:
    mySock = new CAsyncSocket(); // mySock is a CAsyncSocket object.,
    mySock->Create();
    mySock->Connect(strIP,lngPort);
    mySock->Send(strMessage, nSize);
    The server log shows that the connection is established, but the message doesnt reach.
    Please help !
    Thanks !!
    Sudhakar.

    I have the same problem.
    The Java (server) end is straightforward...
    Ian
    import java.io.*;
    import java.net.*;
    public class Serv extends Thread
         public static final int PORT = 3011;
         public static final String REQUEST = "REQUEST";
         /** Test */
         public static void main(String[] args)
              Serv s = new Serv();
              s.start();
         Serv()
              try
                   // Real code will set this class to be a daemon thread as we want it to stop is the main thread stops
                   //ss.setDaemon(true);
                   m_serverSocket = new ServerSocket(PORT);
              catch (IOException ex)
                   ex.printStackTrace();
         public void run()
              try
                   while (true)
                        // Launch a handler when a client connects:
                        final Socket clientSocket = m_serverSocket.accept();
                        ClientHandler clientHandler = new ClientHandler(clientSocket);
                        System.out.println("(Client " + clientHandler.getClientHostname() + " accepted on port " + PORT + ")");
                        clientHandler.start();
              catch (IOException ex)
                   ex.printStackTrace();
         private class ClientHandler extends Thread
              ClientHandler(Socket clientSocket)
                   try
                        setDaemon(true);
                        m_clientSocket = clientSocket;
                        m_socketWriter = new PrintWriter(new BufferedOutputStream(m_clientSocket.getOutputStream()));
                        m_socketReader = new BufferedReader(new InputStreamReader(m_clientSocket.getInputStream()));
                   catch (IOException ex)
                        ex.printStackTrace();
              public void run()
                   try
                        //m_socketWriter.println(getAlarmSummaryString());
                        //m_socketWriter.flush();
                        while (true)
                             final String request = m_socketReader.readLine();
                             System.out.println("Client request: " + request);
                             if (request.equals(REQUEST))
                                  m_socketWriter.println("RESPONSE");
                                  m_socketWriter.flush();
                             else
                                  m_clientSocket.close();
                                  break;
                   catch (SocketException ex)
                        System.out.println("(Client " + getClientHostname() + " disconnected)");
                   catch (IOException ex)
                        ex.printStackTrace();
              private String getClientHostname()
                   return ((InetSocketAddress)m_clientSocket.getRemoteSocketAddress()).getHostName();
              private Socket m_clientSocket;
              private PrintWriter m_socketWriter;
              private BufferedReader m_socketReader;
         private ServerSocket m_serverSocket;
    }

  • Cannot forward emails with pictures- it says missing plug ins

    I cannot forward messages with pictures. It says "missing plug-ins" I tried saving the pictures but when I put them as attachments it says the same.

    Are you sure your download of the images are complete?  Are these IMAP e-mails (iCloud uses iMac), POP e-mails, or Exchange?    Are you using Mac OS X Mail, or some other application for mail?

  • Either there is no default mail client of the current mail client cannot fulfill the messaging request-----error Outlook 2010

    I've tried EVERYTHING suggested in this link (http://blog.timolthof.com/outlook-no-default-mail-client-error/) and everything google and bing and still this message keeps popping up.  Now when I do a windows search for email, I'm not able to view
    the email due to this message.
    For the record, I am running W7 Ultimate x64 and connected via Excange Server.  I do have another system that is running Office 2010 with none of these problems so I don't know if it's related to Exchange though the searches I've done don't allude
    to that.
    What's up?

    Hi,
    I understand that when you tried to open Outlook 2010 beta on the Windows 7 64-bit computer, you encountered the following error:
    "Either there is not default mail client of the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and
    set it as the default mail client."
    You have checked the settings under the registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\Microsoft Outlook
    I understand the inconvenience you have encountered and appreciate the time and effort you spent on this issue. Please be assured that I
    will try my best to help you.
    Now let’s troubleshoot the issue by the suggestions below. Please check the results after each suggestion until the problem is resolved.
    Suggestion 1: manually set Outlook 2010 as the default e-mail client on Windows 7:
    ===================
    1.      
    Click Start.
    2.      
    Type "default programs" in the
    Search box.
    3.      
    Click Default Programs under
    Programs in the search results.
    4.      
    Now click Set your default programs.
    5.      
    Highlight Microsoft Outlook on the left.
    6.      
    Click Set this program as default.
    7.      
    Click OK.
    Suggestion 2: Start the Outlook program in safe mode
    ==============
    1.      
    Click Start, point to All Programs, and then point to
    Microsoft Office.
    2.      
     Press and hold the CTRL key, and then click the Outlook program you want to start.
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Outlook program, we can try
    to disable them. Normally, you could do the following to disable the conflict add-ins in your Outlook program:
    Disable add-ins
    Click
    File menu, click Options > 
    Add-in, click Go button in the Manage:
    Com-in Add.
    Check if there are any add-ins,
    clear the checkbox to disable them.
    Close the Office program and
    restart it.
    Add one check back each time to the list of Add-In,
    restart the Office program, and repeat the above procedure. Once the issue reappears again, we can determine which add-in causes this problem and then disable it.
    Suggestion 3: Test the issue with a new Windows user account
    ==============
    We can follow the steps in the articles to create a new user account to test the issue. If the problem does not occur in the new user account, some settings
    in the old account are corrupted. We can copy the main user files from the old account to the new account, delete the old account, and then continue using the new account.
    For the detailed steps on how to create a new user account and copy data from the old account to the new account, you can refer to the following articles:
    For Windows Vista/Windows 7:
    http://windows.microsoft.com/en-us/windows-vista/Create-a-user-account
    http://windows.microsoft.com/en-us/windows-vista/Fix-a-corrupted-user-profile
    Please take your time to try the suggestions and let me know the results at your earliest convenience. . If anything is unclear or if there
    is anything I can do for you, please feel free to let me know.
    Sally Tang

  • Cannot forward email message. Contact list does not appear to select. Can reply to sender only

    When trying to forward an email message, the contact list does not appear. It can
    only be forwarded by entering addresses manually. I can return an email by replying
    but I cannot forward under the Mozilla Fox server.
    When I am in Internet Explorer I can utilize the email forward without a problem.
    Contacted AT & T to see if it was their problem, since I use att.net.
    The technician stated it was a problem with Mozilla because it was not compatible
    with the AT & T net work. It could possibly be in recent updates, since I just
    discovered the problem within the last week.
    Would prefer to enter my email through Mozilla Fox. So can you solve this problem
    for me.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Win 8.1 2010 Outlook Error message: "Either there is no default mail client or the current mail client cannot fulfill..."

    When trying to open Outlook in Win 8.1 I get the error message: 
    "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Office Outlook and set it as the default mail client."
    It eventually opens but none of my Mail accounts load. When I click on one of the accounts I get 
    "Cannot expand the folder. Internet mail is not registered properly. Re-install and try again."
    Outlook is set with all its defaults. I've tried going through the Repair routine for Microsoft Office but it doesn't help.

    Hi,
    To delete a profile, you may try the steps below:
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps
    carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.
    1. Press Windows key + R to open the Run command.
    2. Type regedit in the Open field and click OK.
    3. Locate the key then right click on it and choose Rename:
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem
    4. Type OLD at the end of the name.
    5. Try opening Outlook and it may prompt that you need to create a new profile.
    I hope this can help.
    Regards,
    Melon Chen
    TechNet Community Support

  • Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run ...

    Lync 2013 generates repeated messages stating “Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client.”. Events that
    seem to generate messages is disconnecting and re-connecting to a network but it also happens randomly and the messages will stack up during a working day. Everything seem to work OK but it is an annoyance.  The computer is upgraded (uninstalled first)
    from Office 2013 ProPlus to Office 365 ProPlus. Outlook (Desktop) is default mail client. 64-bit Windows 8.1 Enterprise, 64-bit Office (both before upgrade and after).  
    (Links removed to remediations I've tried)
    Made no difference what so ever and the messages continue. What's next? 
    I posted the above to the Office 2013 forum (unfortunately I'm not allowed yet to post a link to that posting) but due to the fact that the computer affected by this is a networked domain computer I've been redirected to this group instead.  I
    was asked some additional questions ing the other forum regarding the problem: 
    Are you able to send mails from other applications like Word or Excel?
    NO
    Is the PC connected to any Domain/Server? YES
    Is this an issue with one PC only. NO - affects all computers that once had Office 2013 Pro Plus installed and now has Office 365 Pro Plus (Originally I posted this question in the Office 365 community but was directed to first the Office
    2013 forum and now this forum)
    Right click on any file and Click on Send to-> Mail Recipient and check if you are able to send mails using Outlook.
    NO
    Also check if the Lync add-in is enabled in Outlook.
    Start Outlook
    Click the File tab.
    Go to Options.
    Click Add-ins.
    Check if the Lync add-in is enabled. YES
    My last posting in the other forum contained the following additional information regarding our problem: 
    As far as we can see installing 32-bit Office 365 Pro Plus using click to run makes no difference. 
    We do not send any mails from Lync, Lync is however the process that generates the message most frequently (as Lync seem to react upon network events).
    Other processes that have Outlook plugins may also be the parent of the message popup (third party applications). 
    Yes the Lync add-in is enabled. Lync functionality in/from Outlook seem unaffected. 
    It is not possible to send emails from other applications (explorer, word, excel etc.) ie. right clicking and send to generates the messages and
    a follow up error message concerning lack of MAPI enabled e-mail. 

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for

  • File size of imovie hd - HUGE;  why?

    I loaded in about 40 minutes of HD video captured on the cannon hv20 and then cut most of it out, so I now have a movie of about 4 minutes. I have emptied the recycle bin (both in imovie and the general computer), but the imovie file is still about 3

  • Bug 2.1: Report folders are read only

    Hello, - unzip sqldeveloper-2.1.0.63.73.zip and start without migrating settings. - add a new folder to user defined reports - restart SQL Developer -> The context menu of the new folder has only two options: Copy and Export Maybe the problem is with

  • Cannot see OS X partition in Recovery mode

    Randomly my Boot Camped MacBook Pro wouldn't boot into OS X. I see the Apple logo and it stays there indeffinatly. I tried repairing in the Disk Utility in the Recovey partition and that didn't help. I took my MacBook in to the Apple store and the te

  • Exchange server mail makes iphone freeze and crash

    Hi, i bought my iphone last July and everything has been fine with it until a couple of months ago it started freezing and crashing. i tried restoring it to factory settings, sent it to Apple and they replaced it but it still happens!! it happens eve

  • Database checkpoint process

    Hi, Understand that the checkpoint process will write dirty pages to the files after the write ahead logging (WAL) process which write the transaction to the transaction logs. My questions are 1) How long after the WAL will the checkpoint be triggere