Bidirectional messaging!

Hi All,
Im trying to do bidirectional messaging, so that each client could register themselves with the server so the server can call back to each client for updates.
But Im keeping having this problem when I run the client.Is it because Im not runing the rmic command, although I know that I wouldn�t need it if I use jdk1.5?
Can anyone help please? Thanks
java.rmi.StubNotFoundException: Stub class not found: txtArea_Stub; nested excep
tion is:
java.lang.ClassNotFoundException: txtArea_Stub
at sun.rmi.server.Util.createStub(Util.java:274)
at sun.rmi.server.Util.createProxy(Util.java:122)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:16
9)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
java:293)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.
java:220)
at txtArea.<init>(txtArea.java:100)
at EditorView.<init>(EditorView.java:44)
at Client.main(Client.java:38)
Caused by: java.lang.ClassNotFoundException: txtArea_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.Util.createStub(Util.java:268)
... 7 more
Edited by: Jioner_Dev on Jan 9, 2008 3:52 PM

Hi,
I did try to call the remote method from different thread on the server side but didn�t work either.
I did the following
These are the remote interfaces
public interface ClientMessages extends Remote
static int FAILURE = -1;
static int SUCCESS = 0;
int registerClient(String user,ServerMessages client)throws RemoteException;
void writeLock(String userName,String str)throws RemoteException;
public interface ServerMessages extends Remote{
public void callBack() throws RemoteException;
This is the ServerImpl
public class ServerImpl extends UnicastRemoteObject implements ClientMessages
some code
public int registerClient(String user,ServerMessages receiver)throws RemoteException
int message = ClientMessages.FAILURE;
if(user !=null)
if(clients.get(user) == null)
ClientThread clientThread = new ClientThread(receiver);
clientThread.run();
clients.put(user,clientThread);
message = ClientMessages.SUCCESS;
else
message = ClientMessages.FAILURE;
return message;
class ClientThread extends Thread
private ServerMessages client;
ClientThread( ServerMessages client )
this.client = client;
public void run()
while ( true )
try
sleep( 2000);
client.callBack();
catch ( Exception e )
stop();
public void writeLock(String userName,String str) throws RemoteException
Lock wlock = rwlock.writeLock();
wlock.lock();
try
for (User user: users)
if (user.getName().equals(userName))
domParser.UpdateDoc(new User(userName,str));
users = domParser.getList();
// callClients();
finally
wlock.unlock();
I tried to call this when the file gets updated didn�t work, then I commented but didn�t work either
public void callClients()throws RemoteException
for(Enumeration e = clients.elements();e.hasMoreElements();)
ClientThread clientThread = (ClientThread)e.nextElement();
clientThrea.run();
This is The Client remote object
public class txtArea extends JPanel implements java.io.Serializable, KeyListener , ServerMessages
UnicastRemoteObject.exportObjct(this,0);
some code
public void registerClient()
try
int message = serverStub.registerClient(userName,this);
if( message == ClientMessages.FAILURE)
e.printStackTrace();
System.exit(-1);
else
printData();
catch (Exception e)
e.printStackTrace();
System.exit(-1);
// update the server file
public void keyTyped(KeyEvent e) {
try{
serverStub.writeLock(userName,textPane.getText());
catch (Exception e1)
e1.printStackTrace();
Thanks

Similar Messages

  • [svn] 4634: First part of glue code for allowing Halo components to use the new Text Layout Framework , in order to get functionality such as bidirectional text.

    Revision: 4634
    Author:   [email protected]
    Date:     2009-01-22 17:38:56 -0800 (Thu, 22 Jan 2009)
    Log Message:
    First part of glue code for allowing Halo components to use the new Text Layout Framework, in order to get functionality such as bidirectional text.
    Background:
    TLF is making this possible by implementing a TLFTextField class. It is a Sprite that uses TLF to implement the same properties and methods as the legacy TextField class in the Player. Thanks to the createInFontContext() bottleneck method in UIComponent, it can be used by a properly-written Halo component (such as those in Flex 3) without any modifications to the component.
    Note: Text should render similarly -- but is unlikely to render identically -- when a component uses TLFTextField vs. TextField. The width and height may be different, affecting layout; text could wrap differently; etc. This is a fact-of-life based on the fact that TLF/FTE and TextField are completely different text engines.
    Whether a Halo component uses TLF or not to render text will be determined in Flex 4 by a new style, textFieldClass. (Gumbo components always use TLF.)
    TLFTextField is currently only partially implemented. It does not yet support scrolling, selection, editing, multiple formats, or htmlText. Therefore it can only be used for simple display text, such as a Button label.
    Details:
    The TextStyles.as bucket 'o text styles now includes a non-inheriting textFieldClass style. It can be set to either mx.core.UITextField or mx.core.UITLFTextField. These are the Flex framework's wrapper classes around the lower-level classes flash.text.TextField (in the Player) and its TLF-based workalike, flashx.textLayout.controls.TLFTextField.
    The global selector in defaults.css currently sets it to mx.core.UITextField using a ClassReference directive. For the time being, all Halo components will continue to use the "real" TextField.
    The new UITLFTextField is a copy of UITextField, except that it extends TLFTextField instead of TextField. This class has been added to FrameworkClasses.as because no classes in framework.swc have a dependency on it. It will get soft-linked into applcations via the textFieldClass style.
    The TLFTextField class currently lives in a fourth TLF SWC, textLayout_textField.swc. This SWC has been added to various build scripts. The external-library-path for building framework.swc now includes all four TLF SWCs, because UITLFTextField can't be compiled and linked without them. However, since they are external they aren't linked into framework.swc.
    Properly-written Halo UIComponents access their text fields only through the IUITextField interface, and they create text fields like this:
    textField = IUITextField(createInFontContext(UITextField));
    (The reason for using createInFontContext() is to support embedded fonts that are embedded in a different SWF.)
    The createInFontContext() method of UIComponent has been modified to use the textFieldClass style to determine whether to create a UITextField or a UITLFTextField.
    With these changes, you can now write code like
    to get two Buttons, the first of which uses UITextField (because this is the value of textFieldClass in the global selector) and the second of which uses UITLFTextField. They look very similar, which is good!
    Currently, both Buttons are being measured by using an offscreen TextField. A subsequent checkin will make components rendering using UITLFTextField measure themselves using an offscreen TLFTextField so that measurement and rendering are consistent.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Deepa
    Modified Paths:
        flex/sdk/trunk/asdoc/build.xml
        flex/sdk/trunk/build.xml
        flex/sdk/trunk/frameworks/projects/framework/build.xml
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITLFTextField.as

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Message on monitor when cartridge is changed?

    Everytime I install a new ink cartridge a message appears on the monitor "Genuine HP print cartridge installed".  Since I have installed three cartridges there are three of these messages, I have to click OK on each one to clear them.  Everytime I print anything, they reappear and OK has to be clicked three time to clear them.  How can I remove these messages and stop them from appearing everytime I print a document???...................David

    Try the following: go to Start, Control Panel, Printers and Faxes, right click on the Officejet 7310, Properties, Ports and uncheck the box for "Enable bidirectional printing".
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • LV: Sending "sync message" for getting synchronous CAN acquistion

    Hello @ all
    First of all: My knowledge about the CAN bus in general is not so good, so excuse a possible unprecise problem description.
    My task is to read out CAN messages of devices. This works fine for devices that send their messages "stand-alone" with a fixed repetition rate (here: 100Hz).
    But other devices do not send their messages with such a repetition rate. They send their message only until they come in an overflow (here: after 150ms). I´ve heard that I have to send a "sync message" to the devices to get their message. That means, that I have to send the sync message with 100 Hz to get the 100 Hz acquistion.
    My question: How should I have to program such a bidirectional CAN transfer? Of course, I can send one sync message and read the answer. But what to do when I want to read for example 10000 messages? I don´t want to trigger it by software due to the timer accuracy.
    Do I just have to start the "CAN read.vi" and the "CAN write.vi" parallel? Or is there any possibility to start the write.vi and the read.vi at a fixed time, to get both functions parallel?
    Tanks so far.
    Solved!
    Go to Solution.

    Hi LittleJoe198,
    I'm glad you got it running. 
    You are right about the Transmit  Receive same port example, timing is done in software using the wait function.
    But the other example (CAN Transmit - periodic) sends the data periodically using hardware timing - specified by the control "Period (ms)". In this case a CAN object is used. Your card supports CAN Objects, so it is very easy to use hardware timing. Take a closer look at your CAN Hardware and Software Manual page 10-19 ff.
    "Transmit Data by Call, Receive by Call Using Remote
    Period specifies a minimum interval between subsequent
    transmissions. Even if ncWriteObj.vi is called very frequently,
    frames are transmitted on the network at a rate no more than
    Period. "
     Let me know if you have further questions using CAN Objects.
    Regards,
    Andreas S
    Systems Engineer

  • Help: Sun Messaging Server 7u2-7.02 Channel Filter

    Hi,
    I already tried several different configurations but I can't have a channel filter working.
    The following configuration should work...
    I added "filter file:IMTA_TABLE:test.filter" to the end of the ims-ms line on imta.cnf
    ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D filter file:IMTA_TABLE:test.filterand the test.filter has:
    require ["editheader"];
    addheader "MyHeader" "TEST";The imsimta test output is:
    /opt/sun/comms/messaging64/sbin/imsimta test -rewrite -filter  [email protected]
      address channel        = l                              
      forward channel        = l                              
      channel description    =
      channel caption        =
      channel user filter    =
      dest channel filter    =
      source channel filter  =
      channel flags #0       = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
      channel flags #1       = NOSMTP DEFAULT
      channel flags #2       = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
      channel flags #3       = LOGGING NORESTRICTED RETAINSECURITYMULTIPARTS
      channel flags #4       = EIGHTBIT HEADERKEEPORDER NOHEADERREAD RULES
      channel flags #5       = TRUNCATESMTPLONGLINES
      channel flags #6       = LOCALUSER REPORTNOTARY
      channel flags #7       = NOSWITCHCHANNEL DATEFOUR DAYOFWEEK
      channel flags #8       = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
      channel flags #9       = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
      defaulthost            = example.com example.com
      linelength             = 1023
      channel env addr type  = SOURCEROUTE
      channel hdr addr type  = SOURCEROUTE
      channel official host  = vmmgssrv.idw
      channel after params    =
      channel user name      =
      urgentnotices          = 1 2 4 7
      normalnotices          = 1 2 4 7
      nonurgentnotices       = 1 2 4 7
      local behavior flags   = %x7
      expandchannel          =
      notificationchannel    =
      dispositionchannel     =
      saslswitchchannel      =
      tlsswitchchannel       =
      backward channel       = l                              
      unique identifier      = [email protected]
      header forward address = [email protected]  (route (vmmgssrv.idw,vmmgssrv.idw)) (host example.com)
      header reverse address = [email protected]
      envelope forw address  = [email protected]  (route (vmmgssrv.idw,vmmgssrv.idw)) (host example.com)
      envelope rev address   = [email protected]  (route (vmmgssrv.idw,vmmgssrv.idw)) (host example.com)
      name                   =
      mbox                   = admin
    Extracted address action list:
        [email protected]
    Extracted 733 address action list:
        [email protected]
    Address list expansion:
      admin@ims-ms-daemon
    1 expansion total.
    Expanded address:
      [email protected]
    Submitted address list:
      ims-ms                         
        admin@ims-ms-daemon (orig [email protected], inter [email protected], host ims-ms-daemon) *NOTIFY-FAILURES* *NOTIFY-DELAYS*
          Filter: <user> name file:IMTA_TABLE:test.filter [addr admin@ims-ms-daemon] [owner admin@ims-ms-daemon] (28) [0x00543940] )0x00543090( {0x00540060}
            addheader;0  2  1  "MyHeader"  1  "TEST"
    Submitted notifications list:But when I send a message to the user, the message never gets the the header.
    Thanks in advance,
    Ibraima

    Ibraima wrote:
    I added "filter file:IMTA_TABLE:test.filter" to the end of the ims-ms line on imta.cnf
    ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D filter file:IMTA_TABLE:test.filter
    Did you run "./imsimta cnbuild;./imsimta restart" after making the change above?
    But when I send a message to the user, the message never gets the the header.Please add "LOG_FILTER=1" to your option.dat file, run "./imsimta cnbuild;./imsimta restart", send a user another email and provide the matching mail.log_current entries.
    Regards,
    Shane.

  • How to create a one to one bidirectional mapping

    Hi,
    I'm trying to create a one to one bidirectional mapping. To simplify, I tried to modify the TwoTierEmployee sample in order to turn the one to one mapping between Employee and Address into a bidirectional one.
    First I have added a new attribute ("employee") to the Address descriptor and I mapped it in a one to one relationship with the "address" attribute of the Employee descriptor, by using the same EMPLOYEE_ADDRESS foreign key as a target one (checked "Target Foreign Key"). Afterwards, in the Employee descriptor I checked the address attribute "Maintain Bidirectional Relanship" check box and I selected "employee" in the "Relationship Partner" combo box. At that moment I got the following TopLink error message (sorry, that's in french):
    "Le mapping de partenaires indiqué ne désigne pas ce mapping comme étant son propre partnenaire"
    meaning something like:
    "The partner's mapping doesn't indicate this mapping as being its own partner"
    Since I didn't find any sample of bidirectional one to one relationship neither in the documentation nore in tutorials, any help would be highly apreciated.
    Many thanks in advance,
    Nicolas

    Hi Nicolas,
    The intent behind this particular error message is that for a bidirectional mapping, there need to be two equal partner mappings. It looks like in this case that you intend the Address.employee mapping to be paired with the Employee.address mapping. It could be simply that you haven't selected the Address.employee mapping's relationship partner (Employee.address). But if you have chosen the partner mapping on both mappings, and it still gives you the error message, then it looks to be incorrect behavior. If that is the case, if you could provide us with your version information, we can make sure that that issue is recorded.

  • Bidirectional relationship vs IndirectMap

    Our class model have a bidirectional relationship managed by an IndirectMap and a ValueHolder. With TopLink 9.0.3 anything seemed to work well, but with TopLink 9.0.4 we get this error message as soon as we load the project mapping:
    Exception [TOPLINK-179] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The attribute, [MyAttributeName] uses Bidirectional Relationship Maintenance, but has ContainerPolicy, [MapContainerPolicy(class oracle.toplink.indirection.IndirectMap)] which does not support it. The attribute should be mapped with a different collection type.
    Mapping: oracle.toplink.mappings.OneToManyMapping[MyAttributeName]
    Descriptor: Descriptor(MyClassName --> [DatabaseTable(MyTableName)])
    Is there a way to enable bidirectional relationship with an indirect map?
    Thanks, Yannick

    I'd open a TAR, if it worked in 903 and not 904... 9041 patch was just release on Metalink, Patch "3443153", but I don't see anything in there related to this. Might be worth a shot.
    - Don

  • Bidirectional object references creates StackOverflow

    If I have two classes, referencing each other, when the Web Service tries to Serialize the objects I get a StackOverflow. For example I have class A:
    public class ClassA
         int int1 = -1;
         int int2 = -1;
         ClassB b = null;
         public ClassA()
              int1 = 1;
              int2 = 2;
              b = new ClassB(this);
         public int getInt1()
              return int1;
         public int getInt2()
              return int2;
         public ClassB getB()
              return b;
          * @param b The b to set.
         public void setB(ClassB b) {
              this.b = b;
          * @param int1 The int1 to set.
         public void setInt1(int int1) {
              this.int1 = int1;
          * @param int2 The int2 to set.
         public void setInt2(int int2) {
              this.int2 = int2;
    }and
    ublic class ClassB
         int int3 = -1;
         ClassA a = null;
          * @return Returns the a.
         public ClassA getA() {
              return a;
          * @param a The a to set.
         public void setA(ClassA a) {
              this.a = a;
          * @return Returns the int3.
         public int getInt3() {
              return int3;
          * @param int3 The int3 to set.
         public void setInt3(int int3) {
              this.int3 = int3;
         public ClassB(){};
         public ClassB(ClassA a)
              this.a = a;
    }with the mapping
    ?xml version="1.0" encoding="UTF-8"?>
    <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
    <package-mapping>
    <package-type>inter</package-type>
    <namespaceURI>http://inter/types</namespaceURI>
    </package-mapping>
    <package-mapping>
    <package-type>inter</package-type>
    <namespaceURI>http://inter</namespaceURI>
    </package-mapping>
    <java-xml-type-mapping>
    <java-type>inter.ClassB</java-type>
    <root-type-qname xmlns:typeNS="http://inter/types">typeNS:ClassB</root-type-qname>
    <qname-scope>complexType</qname-scope>
    <variable-mapping>
    <java-variable-name>a</java-variable-name>
    <xml-element-name>a</xml-element-name>
    </variable-mapping>
    <variable-mapping>
    <java-variable-name>int3</java-variable-name>
    <xml-element-name>int3</xml-element-name>
    </variable-mapping>
    </java-xml-type-mapping>
    <java-xml-type-mapping>
    <java-type>inter.ClassA</java-type>
    <root-type-qname xmlns:typeNS="http://inter/types">typeNS:ClassA</root-type-qname>
    <qname-scope>complexType</qname-scope>
    <variable-mapping>
    <java-variable-name>b</java-variable-name>
    <xml-element-name>b</xml-element-name>
    </variable-mapping>
    <variable-mapping>
    <java-variable-name>int1</java-variable-name>
    <xml-element-name>int1</xml-element-name>
    </variable-mapping>
    <variable-mapping>
    <java-variable-name>int2</java-variable-name>
    <xml-element-name>int2</xml-element-name>
    </variable-mapping>
    </java-xml-type-mapping>
    <service-interface-mapping>
    <service-interface>inter.InterconService</service-interface>
    <wsdl-service-name xmlns:serviceNS="http://inter">serviceNS:InterconService</wsdl-service-name>
    <port-mapping>
    <port-name>InterconEndpointPort</port-name>
    <java-port-name>InterconEndpointPort</java-port-name>
    </port-mapping>
    </service-interface-mapping>
    <service-endpoint-interface-mapping>
    <service-endpoint-interface>inter.InterconEndpoint</service-endpoint-interface>
    <wsdl-port-type xmlns:portTypeNS="http://inter">portTypeNS:InterconEndpoint</wsdl-port-type>
    <wsdl-binding xmlns:bindingNS="http://inter">bindingNS:InterconEndpointBinding</wsdl-binding>
    <service-endpoint-method-mapping>
    <java-method-name>getClassA</java-method-name>
    <wsdl-operation>getClassA</wsdl-operation>
    <wsdl-return-value-mapping>
    <method-return-value>inter.ClassA</method-return-value>
    <wsdl-message xmlns:wsdlMsgNS="http://inter">wsdlMsgNS:InterconEndpoint_getClassAResponse</wsdl-message>
    <wsdl-message-part-name>result</wsdl-message-part-name>
    </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    </service-endpoint-interface-mapping>
    </java-wsdl-mapping>The problem is that the serializer keep going from A to B and back to A. Is there any way to tell it in the XML files to stop at a certain point or are bidirectional references impossible in Web Services?

    set321go wrote:
    well google said clone is a bad idea and i should avoid it. Copy Constructor was the proposed solution and it suits my needs.
    public PossibleRoute(PossibleRoute inCopy){
    this(inCopy.getRoute());
    I've never really understood what's so horrible about clone. One advantage to it is that it's polymorphous, so you don't have to worry about the specific class.
    In any case, just make sure you're conscious of what you do and don't need to deep copy, whatever your approach is. Immutable objects like String or the primitive wrappers don't need to be deep copied. Mutable objects may or may not need to be, to some depth or other, depending on your specific requirements.
    For instance, if one of your member variables is a List of Dates, there are three options:
    1. The default, just copy the reference. Both objects point to the same list. Modifying the list or any of the dates it contains will be seen by both the original and the copy.
    2. Copy the list, but not the dates. If you add, delete, or rearrange the dates in the list in one object, the other object won't see your changes. But if you modify one of the Date objects--e.g. call its setTime() method--then both the original object and the copy will see it (unless you've removed that Date from one of the lists), since both lists initially share the same Date objects.
    3. Copy the list and then copy the dates. No changes to the list or the dates it contains in one object will be seen by the other.

  • How to handle messages correlated to a terminated process

    In WLI 8.5, I have a process sending messages to a request queue (thanks to a WLI JMS control), and receiving message in a response queue (thanks to the same WLI JMS control).
    The external process performing the work, reads messages from the request queue and publishes correlated responses. Those correlated responses can trigger the right process. This part works fine.
    But if the response doesn’t arrive in due time, there is a timeout path, the process continues and terminates gracefully.
    If a correlated message arrives on a terminated process, I have ConversationNotFoundException in the console. I’d like to handle them in order to send a too late message to the sender.
    How should I proceed?
    I cannot catch the ConversationNotFoundException(s) in the terminated process.
    How can I catch them ?
    If I put an error queue to my response queue, I won’t be able to discriminate between ConversationNotFoundException and other delivery errors. What is the best practise to handle this case?

    We had a similar issue encountered and there were a few observations by BEA support on this exception that are generic I think, so this may help you:
    (Are you using a JMS Control as the explanation involves them and more importantly, a cluster!)
    There are some architectural implications of using a jms control in a cluster, where the message flow is bidirectional.
    The ConversationNotFoundException would in this case be a consequence of the fact that our automatic jms control machinery has lost track of the exact jpd instance that it is receiving a mesage from. This automatic machinery is that the jms correlation-id = the conversation-id= the jpd instanceid
    see http://e-docs.bea.com/workshop/docs81/doc/en/workshop/javadoc-tag/jc/jms.html, but in a cluster environment, it could be mix up and not work like that.
    So regarding your question if you can program a specific message to send when this error occurs, it looks difficult as it seems your JPD is now out of the picture and hence no logic would handle this scenario.
    Nevertheless, I will watch this space for other suggestions as a workaround.

  • Event ID : 372 Print Service message while printing on Windows 8

    I get meaningless error message on Windows 8 after every application print job with HP Laserjet P1606dn. The Win 8 popup error msg says "Error Printing on HP Laserjet Professional...The Printer Couldn't Print .....". The corresponding Event Manager error is:
    "Event 372, Print Service
    The document Print Document, owned by Mark, failed to print on printer HP LaserJet Professional P1606dn. Try to print the document again, or restart the print spooler.
    Data type: RAW. Size of the spool file in bytes: 312352. Number of bytes printed: 312352. Total number of pages in the document: 1. Number of pages printed: 0. Client computer: \\DELLW. Win32 error code returned by the print processor: 0. The operation completed successfully."
    The print job then prints perfectly.
    Historically, my Event Viewer shows these errors in clusters. This cluster began on 8/25/2013, the same day I replaced my network router with a Frontier Netgear Model B90-755044-15 Rev 3. I assigned a new static IP address to the printer after the router replacement, and uninstalled / reinstalled the printer on each machine so they would recognize the new IP address. I also updated the printer's firmware from version datecode 20120130 to 20130703 at that time (in retrospect, I should never have updated firmware on same day as the network changes). Errors have appeared ever since. Updating the software driver version from 20100406 to 20120926 today did not fix the problem.
    The previous Event 372 cluster was limited to a single day, 2/9/2013. I don't see any obvious print-related errors on 2/9 except about ten 372s scattered through the day and two 823s preceding the 372s (823 is informational and says I changed default printer).
    A shared (USB connected to one pc) HP Photosmart printer never generates these errors.
    The same Laserjet P1606dn printer is accessed by three different Win 8 machines over wired (1 pc) and wireless (2 pcs) network connections, and all three now get the same annoying and misleading error message even though their print jobs print perfectly.
     Also, installing Full Solution driver (instead of Basic driver) did not fix it.  Disabling Kaspersky firewall did not fix it.
    Exception:  when configuration page is printed from the Control Panel > Devices and Printers printer icon > Printing preferences... > Services tab > Print information pages, then the error message does NOT appear.  Error only appears when printing from common applications (Word, etc.).

    Can an HP expert please comment on this thread, including the link given in previous post to Windows 7 Forums?
    Is anything lost by disabling bidirectional communications for my HP Laserjet P1606dn in order to eliminate spurious error messages?
    Is there a bug in the HP driver causing this error?
    Is bi-directional communications a separate communications interface which should simply be ignored and unchecked when using wired ethernet or wireless communications?

  • Disabling continual Non-HP ink cartridge message

    Please help!I can see there have been many others with the same annoying problem, but I can not seem to stop the 'Non-HP Ink cartridge"message coming up on my computer constantly, even when I'm not printing anything! Whenever I am on my computer, the message comes up every 5 seconds. I can't get anything done!I tried unchecking the "Enable bidirectional support" box under "Ports", (as per one of the answers here) but it hasn't worked. I am wondering if I turned my computer off and on again, would that work? I have a HP Pavillion 23 computer.Surely I don't have to unplug my printer every time I'm on my computer and go through this rubbish whenever I need to scan or print something?This is beyond frustrating!Any help would be greatly appreciated.Thanks.

    Hi , Welcome to the HP Forums! I understand that you are getting a continual Non-HP ink message with your HP Photosmart Plus B210 on Windows 8. I am sorry for the frustration but happy to look into this for you. Are you using Genuine HP ink cartridges? Or refilled/Non-HP ink? Please see this guide, Can I Refill The Ink In My HP Ink Cartridge? As well as this guide, Ink Usage in Inkjet Printers. In the meantime, please try the solutions within this guide, HP Photosmart Plus e-All-in-One Printer - B210a support. Also, the HP Print and Scan Doctor, might help as well. Hope this information is helpful, and thank you for posting!

  • Any leads on bidirectional amps that work with FIOS?

    I recently added a TV in my house, and splitting the signal caused my primary TV to begin pixellating on a number of channels (e.g. ESPNHD), and completely drop out on others (e.g. Sprout). Adding a (so-called) bidirectional amplifier to the line fixed this issue, but at the expense of the program guide and VOD features - come to find out it's not really bidirectional with FIOS' technology. I don't use VOD that much (although my wife kind of likes it), but we *really* use the program guide.
    Does anyone know of a bidirectional amp that *does* work with FIOS signals? My understanding is that FIOS' reverse signal goes out at >1 GHz, and most bidirectional amps cut off in the low MHz range (5-42 IIRC). I'd also appreciate other thoughts on how to remedy this issue. I'm driving 2 STBs, 2 digital TV's and my internet connection off the FIOS connection.

    If your FiOS signal is too weak, that suggests to me that there is an issue with your installation (ex: defective splitter) or the cable connections.  Most picture problems on FiOS are due to the signal being too strong, not too weak.  FiOS ONTs output at anywhere from +16 to +24dB (or thereabouts), depending on the model.  Many TVs, STBs, and DVRs will exhibit dropped frames or intermittent pixelization with signals much higher than +6dB.  IIRC, the recommended operating range for Motorola STBs is roughly -6 to +6 dB.
    When you consider that the typical splitter attenuates a signal by -3dB to -5dB, it's not clear to me how your installation got from +16 to +24dB at the ONT, to sufficiently below -6dB so as to cause problems for the Motorola box.
    I have one of the original Motorola 610 ONTs.  My Motorola DVR exhibited occasional pixelization and frequent stutter (dropped frames) on some channels until my FiOS signal was attenuated (reduced) by 7dB, through an added splitter and -3dB attenuator.  I've since replaced the -3dB attenuator with a -10dB attenuator (for a total -16dB to -18dB after splitters), as necessary to eliminate pixelization on my TivoHD, which is more sensitive than the Motorola box.
    Message Edited by KenAF on 01-05-2009 01:51 AM
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • Vacation message

    We are running iMS 5.2hf2.04
    Vacation messages are not working. The LDAP entries look fine.
    The message is delivered to the inbox but the reply never happens
    address rewrite looks good, I think
    ./imsimta test -rewrite [email protected]
    krallc1@ims-ms-daemon (orig [email protected], inter [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    autoreply
    krallc1+scranton.edu@autoreply-daemon (orig [email protected], inter [email protected], host autoreply-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    also mail.log_current shows
    23-Sep-2005 09:37:08.68 tcp_local autoreply E 2 [email protected] rfc822;[email protected] krallc1+scranton.edu@autoreply-daemon
    23-Sep-2005 09:37:08.72 tcp_local ims-ms E 2 [email protected] rfc822;[email protected] krallc1@ims-ms-daemon
    23-Sep-2005 09:37:08.75 ims-ms D 2 [email protected] rfc822;[email protected] krallc1@ims-ms-daemon
    23-Sep-2005 09:37:09.59 autoreply D 2 [email protected] rfc822;[email protected] krallc1+scranton.edu@autoreply-daemon
    But the trace logs say
    autoreply.trc-0IN900D01SVLPQ
    WARNING: Add sender's address failed: One of the specified addresses does not comply to RFC 822

    Hi Jay!
    My system is iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
    libimta.dll 5.2 Patch 2 (built 17:39:53, Jul 14 2004)
    Microsoft Windows 2000 version 5.0 Service Pack 4 (Build 2195).
    Everything is working fine, but I have problem with vacation replies.
    I chekd the LDAP. There is the mailDeliveryOption: autoreply in user account. But it isn't work.
    When i debug with
    imsimta test -rewrite [email protected]
    Warning - compiled configuration does not match configuration files
    -- Modification time mismatch for configuration file C:/iPlanet/Server5/msg-mail/imta/config/option.dat
    forward channel = l
    channel description =
    channel user filter =
    dest channel filter =
    source channel filter =
    channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
    channel flags #1 = NOSMTP DEFAULT
    channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
    channel flags #3 = NOLOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
    channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
    channel flags #5 =
    channel flags #6 = LOCALUSER REPORTHEADER
    channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
    channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
    channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
    defaulthost = osiris.com osiris.com
    linelength = 1023
    channel env addr type = SOURCEROUTE
    channel hdr addr type = SOURCEROUTE
    channel official host = mail.osiris.com
    channel queue 0 name = LOCAL_POOL
    channel queue 1 name = LOCAL_POOL
    channel queue 2 name = LOCAL_POOL
    channel queue 3 name = LOCAL_POOL
    channel after params =
    channel user name =
    urgentnotices = 1 2 4 7
    normalnotices = 1 2 4 7
    nonurgentnotices = 1 2 4 7
    channel rightslist ids =
    local behavior flags = %x7
    backward channel = l
    header To: address = [email protected]
    header From: address = [email protected]
    envelope To: address = [email protected] (route (mail.osiris.com,mail.osiris.com)) (host osiris.com)
    envelope From: address = [email protected]
    name =
    mbox = user1th
    Extracted address action list:
    [email protected]
    Extracted 733 address action list:
    [email protected]
    Address list expansion:
    user1th@ims-ms-daemon
    user1th+osiris.com@autoreply-daemon
    2 expansion total.
    Expanded address:
    [email protected]
    Submitted address list:
    ims-ms
    user1th@ims-ms-daemon (orig [email protected], inter [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    autoreply
    user1th+osiris.com@autoreply-daemon (orig [email protected], inter [email protected], host autoreply-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    Submitted notifications list:
    Thanks!

  • Annoying messages while printing

    I bought an HP printer.  I choose to use off-brand ink cartridges.  Why do I have to be harassed by a popup message every time I print reminding me that I am not using HP cartridges?  I am aware of the risks of damage, etc. but I have made my free choice because HP's  cartridges are too expensive.   I can't support HP's profit center in this instance.  How do I turn off these harassing messages? If i can't, then this printer (PHOTOSMART 7520) is probaby the last HP product I will ever purchase.
    This question was solved.
    View Solution.

    What operating system?  It may help to turn off bidirectional communication.  In Windows 7 you would click Start, Devices and Printers, right click on the printer, Printer properties, Ports, uncheck the "Enable bidirectional support", Apply, OK.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • SAP message Log

    Does SAP maintain log of all the messages displayed on screen using MESSAGE statement?
    We are investigating a problem and want to see the messages displayed by SAP during the time when problem occured.

    We have custom development for picking and confirmation. Last week we found that in some deliveries there is difference in delivered quantity and packed quantity.
    Custom development is calling sap-standard FMs. Problem occurs randomly, roughly 10 deliveries in a week has this problem.
    We are still trying to investigate the reason that is causing the problem.
    Custom program does display the message to user if FM raise any message. We asked user of they are getting any message while picking, and if they are ignoring it.
    They just confirmed that they are getting message 'Packing Not Possible Since there is no Quantity to be Packed' and they did ignored this.

Maybe you are looking for

  • Why are my edited jpegs different after export?

    I have a really strange problem that I can't seem to find the answer to anywhere else on the web It's kind of difficult to understand but I will explain as best I can. So my friend and I have just started a photography business and things are going g

  • Only one headphone working?!

    Why is it that EXACTLY one year after the purchase of my iPod the head-phone jack seems to give in? I received my iPod last Christmas and upon looking at the receipt, am heartbroken to see that it was purchased on the 15th of December 2006. As the pr

  • After Installing Windows 7...

    Alright my Toshiba's Recovery partition doesn't work. It displays this error during the recover process: 10-FC12-045D In the past I made a support request for a solution but no one gave me a valid solution so far. So I've deleted the partition that h

  • Help me control Spry Tabs or Spry Accordion width

    I am using Spry Tabs and Spry Accordions in Liquid pages, inside a DIV with ID. I use an external CSS stytle sheet to control this ID and properly position the Spry Tabs or Spry Accordions inside the page. I would like to have these Tabs or Accordion

  • I've installed PS 2014, should I now uninstall PS?

    Long story as short as I can. I couldn't find Focus Area Select. Was told to install Photoshop 2014. Installed Photoshop 2014 Now I show two PS versions Should I uninstall old PS CC or do they work together? PS 2014 is running really slow and I'm thi