KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > jms > InvalidClientIDException

javax.jms
Class InvalidClientIDException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byjavax.jms.InvalidClientIDException
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code

public InvalidClientIDException(String reason)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[31]Error in creating JMS topic on oc4j server
By gattax79 { at } yahoo { dot } com on 2003/01/17 09:30:57  Rate
i am using the oc4j server and encountering the following problem: 
  
  
 InitialContext jndi = new InitialContext ( env ) ; 
           String look_factory ="jms/brokerFactory"; 
           TopicConnectionFactory factory =  ( TopicConnectionFactory )  jndi.lookup ( look_factory ) ; 
           connection = factory.createTopicConnection ( username, password ) ; 
            
           connection.setClientID ( "DurableRetailer" ) ; 
            
           session = connection.createTopicSession ( false,Session.AUTO_ACKNOWLEDGE ) ; 
         
  
  
  
 the exception that is thrown is : 
 javax.jms.InvalidClientIDException: Must be a 64bit hexadecimal number 
  
  
   void com.evermind.server.jms.EvermindConnection.setClientID ( java.lang.String )  
  
  
   void jmspack.Buyer. < init >  ( java.lang.String, java.lang.String, java.lang.String )  
  
  
   void jmspack.Buyer.main ( java.lang.String [  ]  )  
  
  
 Process exited with exit code 1. 
 


public InvalidClientIDException(String reason,
                                String errorCode)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags