The connection factory name for jobs must be "JobQueueFactory

Hi Experts
Can you plase help me to reslove this issue
Caused by: com.sap.engine.services.deploy.container.DeploymentException: Deployment of jobs in application [backgrounjobear] failed, reason is : [Job "BackGroundJob" of bean "BackGroundJob" does not have a connection factory name. The connection factory name for jobs must be "JobQueueFactory".]     
while depling MessageDrivenBean 3.0 getting this.
Any help would Greatly appricated.
Thanks
AB

Hi All,
I am also getting similar error i.e.
  Job "TestScheduler" of bean "TestScheduler" does not have a connection factory name. The connection factory name for jobs must be "JobQueueFactory".
Steps that I have followed are bit different from what is mentioned in document "SAP NW Scheduler for Java" as I am working in 7.3
a) Created EJB Project
b) Created Message Driven Bean(JobSchedulerMDB.jav)
c) Created SchedulerJob(TestScheduler.java)
I dont see application-j2ee-engine.xml ; but have
ejb-j2ee-engine.xml
ejb-jar.xml
job-defination.xml
with following xml in them
ejb-j2ee-engine.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">
  <enterprise-beans>
    <enterprise-bean>
      <ejb-name>JobSchedulerMDB</ejb-name>
      <jndi-name>JobSchedulerMDB</jndi-name>
      <bean-props>
        <property>
          <property-name>destination-name</property-name>
          <property-value>JobQueue</property-value>
        </property>
        <property>
          <property-name>connection-factory-name</property-name>
          <property-value>JobQueueFactory</property-value>
        </property>
       </bean-props>
    </enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">
  <display-name>
JobSchedulerEJBProject </display-name>
  <ejb-client-jar>JobSchedulerEJBProjectClient.jar</ejb-client-jar>
</ejb-jar>
job-defination.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<job-definitions>
<job-definition name="TestScheduler"/>
<enterprise-beans>
<enterprise-bean>
<ejb-name>JobSchedulerMDB</ejb-name>
<jndi-name>JobSchedulerMDB</jndi-name>
<resource-ref>
<res-ref-name>JobQueueFactory</res-ref-name>
</resource-ref>
<message-destination-ref>
<message-destination-ref-name>JobQueue</message-destination-ref-name>
<jndi-name>JobQueue</jndi-name>
</message-destination-ref>
</enterprise-bean>
</enterprise-beans>
</job-definitions>
Please help me in this

Similar Messages

  • How to annotate connection factory name in MDB?

    How do I annotate connection factory name in Message Driven Bean?
    @MessageDriven(ejbName = "MyMessageDrivenBean",
        destinationJndiName = "MyMessageDrivenBeanJndiName",
        destinationType = "javax.jms.Queue")
    //I want to annotate the below in MDB
    <connection-factory-jndi-name>local-jndi-name-of-queue-connection-factory</connection-factory-jndi-name>

    I think the problem is in the activation config properties
    @MessageDriven(name = "MyMessageDrivenBean", activationConfig = {
              @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
              @ActivationConfigProperty(propertyName = "destination", propertyValue = "jms/MyQueue") })
    public class MyMDB implements MessageListener
    take a look at http://download.oracle.com/javaee/5/api/javax/ejb/ActivationConfigProperty.html

  • Whenever i open certain apps i get the connect to itunes for push notifications over and over again and im unable to play the game, how do i fix this?

    hey guys i have a question,
    so i have the same problem for two of my apps, one is biike race, and the other game is snap chat. so each time i open one of these games i repeatedly get the "connect to itunes for push notifications" box coming up, and im unable to play the game, and i have to click my home button multiple times to get back to the main screen. i dont understand why this is happening and maybe you could help me out.

    There are a few other threads in this forum regarding this issue. It appears to me that this was once an issue with the iPhone, but has now started up again after the upgrade to iOS 4. My iPod Touch is ~ 2 years old and has had absolutely no problems. It is not jailbroken or altered in any way.
    This pop-up started for me after upgrading to iOS 4. I did the restore to factory, reinstalled my apps and the problem returned. It appears my push notifications are working, which is good, but I have to click through the pop-up every time I enter an app that uses notifications.
    This will go away when Apple fixes it.

  • HT2480 whenever i connect my iphone to pc while syncing mail in itunes a pop up" the connection is not available.outlook must be online or connected  to complete this action" please suggest me to solve this or bisable.

    whenever i connect my iphone to pc while syncing mail in itunes a pop up" the connection is not available.outlook must be online or connected  to complete this action" please suggest me to solve this or bisable.

    Cached exchange mode was already marked so that was not the issue.
    I have done all the usual of creating a new profile, reinstalling Outlook etc but nothing seemed to work. I also tried going back to Outlook 2007 and reinstalling Windows but same problem.
    However, I am not sure if it is connected but I was useing the option in MS Live Sync to synchronise Office settings which I turned off recently and now no longer have the issue. Unfortunately I cannot remember when in the process I did this so cannot be
    sure it was responsible - anyone else found this?

  • My PowerBook G4 says that it's connected to wifi, but it still no internet connection. The connection will work for a while, and then I'll have to run diagnostics and it will work again for a few minutes and then stop working again. What's going on??

    My PowerBook G4 says that it's connected to wifi, but it still no internet connection. The connection will work for a while, and then I'll have to run diagnostics and it will work again for a few minutes and then stop working again. What's going on??

    Basic troubleshooting techniques for any problem
    Restart the computer = joy?
    Reset the router = joy?
    Restart the computer in Safe Mode = joy?
    ask yourself "What changed immediately preceding the onset of the problem?" = Anything... hardware, software, cabling, environment (interference source)
    ÇÇÇ

  • How do I change the .php file name for a page of my site?

    how do I change the .php file name for a page of my site? The only link to the page is the nav. button link for it in the global nav. The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.

    The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.
    I don't understand this reason. How would changing the file extension solve your breadcrumb issue? Why don't you explain the issue in more detail.

  • How do I change the artist/owner name for my podcast?

    How do I change the artist/owner name for my podcast?
    For eg, a podcast has 'The Ricky Gervais Podcast' and underneath 'Ricky Gervais'. I can't see where to change the latter. I can't change that through our podcast host Libsyn.
    Is it done through iTunes?
    Jack

    You can't change anything in iTunes: all infomation is carried in the feed, in this case in the 'itunes:author' tag. there will certainly be somewhere to enter it but if you can't find it you will need to contacts Libsyn; or quite possible Rob Walch, who works for them and posts here, will see this question.

  • What is the exact file name for Adobe Photoshop Elements application?

    what is the exact file name for Adobe Photoshop Elements application?
    I jsut downn laoded it and the alias does not work. in the  support folder I have an application titled Adobe photoshop Elements Editor and it lauches ok but when I got to import a photo it only asks for a frame from  a video.

    You do not import anything to the editor. You just open things there using File>Open. Import is only for frame from video and for scanning if your scanner is compatible and you install the PSE twain plug-in.
    If you wish to use PSE to keep track of your photos, launch Adobe Elements 11 Organizer instead of the editor.

  • Pls can any one suggest me the Existing Report Name for Active and InActive

    Hi all ,
               pls can any one suggest me the Existing report name for displaying Active and inactive vendors .
    Rgds
    Rafi .

    hi,
    my transaction is VL02N change outbound delivery.

  • Could take the same JNDI-names for both tags: jndi-name and local-jndi-name

    Hello!
    I try to design the weblogic-ejb-jar.xml descriptor and I ask myself, if I could
    take the same JNDI-names for both tags:
    <jndi-name> and <local-jndi-name> ?
    Could you give me and advice if this is ok?
    Thanks

    if you have two separate interfaces, you cant bind them to the same jndi
    name. you will have a local home that extends EJBLocalHome and a remote
    home called EJBHome. also you need to know which one you are looking up
    so you can cast it properly, and use it property (remote interfaces need
    PortableRemoteObject, remote parameters are passed by value, ...)
    joern kirch wrote:
    Hello!
    I try to design the weblogic-ejb-jar.xml descriptor and I ask myself, if I could
    take the same JNDI-names for both tags:
    <jndi-name> and <local-jndi-name> ?
    Could you give me and advice if this is ok?
    Thanks

  • JRockit_160_05_R27.6.2-20 can not get the correct os name for windows 2008

    JRockit_160_05_R27.6.2-20 can not get the correct os name for Windows Server 2008 SP1 using System.getProperty("os.name").
    System.getProperty("os.name") will return Windows Vista instead of Windows Server 2008 when running on Windows Server 2008 SP1. Is it a bug of this jdk?
    I tested it on Sun JDK 1.6. It returns the correct name Windows Server 2008.
    Any suggestion will be welcomed. Thanks in advanced!
    Edited by: user4516182 on May 13, 2010 12:59 AM

    Staffan, thanks for your update.
    Do we have a workaround for it or fix it in new release?

  • What is the default/factory brightness for the iPhone 4?

    I would like to know the default/factory brightness for the iPhone 4. Just because I rather preferred the default/factory brightness but then someone changed it to their preferences. A screenshot would be rather preferred and helpful.

    https://discussions.apple.com/message/22747998#22747998

  • What are the correct parameter names for a JDBC pool connection?

    Looking in the admin console I notice the differences in the properties name (type casting) of PointBasePool and __TimerPool pool connections properties and the create wizard properties.
    PointBasePool and __TimerPool uses this name parameters: User,Password, and DatabaseName.
    Create wizard uses these: databaseName, user, password.
    So, then, what is the standard names for a connection in SOA8? What is the standard for JDBC?
    For example, Tomcat 4 uses username, password, url, driverClassName as parameters names.
    Please help,
    This is getting more and more confising,
    Thanks,
    Lorenzo Jimenez

    The properties that you specify when creating the connection pool are unique to the vendor.
    Any or the properties that you specify user,password, url...etc we expect to have setters (setUser, setPassword, setUrl)
    let me know if need more info

  • Connection Factory class for Distributed Transaction?

    Definition of Managed Datasources goes like this at URL: http://download.oracle.com/docs/cd/B31017_01/web.1013/b28958/datasrc.htm#CHDDADCE
    Managed data sources are managed by OC4J. This means that OC4J provides critical system infrastructure such as global transaction management, connection pooling, and error handling.
    In the same document, I could also see a section for configuring Connection Pool, that uses 'factory-class' as 'oracle.jdbc.pool.OracleDataSource' as shown below:
    <connection-pool name="myConnectionPool">
    <connection-factory
    factory-class="oracle.jdbc.pool.OracleDataSource"
    user="scott"
    password="tiger"
    This configuration has worked well for my web application where I was using a single instance of Oracle database. In a new application I've to use two separate instance of Oracle databases and there is a need of distributed transaction.
    I know, I've to create two separate datasources for the two separate Oracle instances.
    My question is: Since now my transaction will be distributed in nature, do I need to use any other factory-class for configuring XA aware Datasources on OC4J? Or whether the same factory-class (oracle.jdbc.pool.OracleDataSource) will work even for distributed transactions?

    Here is the link for using Oracle RAC with WLS
    http://e-docs.bea.com/wls/docs81/jdbc/oracle_rac.html

  • How to get the connected Adapter Object for a particular BDoc Type?

    Hi All,
    I have a scenario in which CRM system is connected to ERP system.
    In SMW01 transaction, I can see one BDoc with BUS_TRANS_MSG as the BDoc Type in CRM.
    Now, how do I get to know if this one BDoc is a SALESDOCUMENT or SALESCONTRACT.
    Is there any way thorough which I can get to know the Adapter Object for this particular BDoc.
    Regards,
    Madhuri

    Hi Madhuri,
               Happy new year.
    In Transaction : R3AC1.
    You can observe the Linked BDOC for the adaptor objects. For example Sales docuemnt and Sales contrcat will have the same linked BDOC as "BUS_TRANS_MSG".
    If you see an error in SMW01, you want to find whether it is salesdocument or contract.
    1. Please take the Queue name from SMW01.
    from the queue name you can find whether it is sales contract or sales document.
    Queue name is customized in tables: SMOFQFIND.
    I hope this helps you.
    regards,
    Sri...

Maybe you are looking for

  • Disgust and Exasperation with BT "Customer Service...

    I am posting this here as really a final attempt to see if anything helpful will actually be done by BT, but I think also as more of a warning to others, as I truly have ben a “victim” of their so called customer service. To make clear, I don’t reall

  • Entourage won't open after 10.4.8 upgrade, office won't upgrade

    I have searched all over and can't seem to find anyone with the same problem I am having... Last night I upgrade my Intel Mac to 10.4.8 and then Entourage won't open- I click on it and the Mail screen briefly comes up before "The application Entourag

  • Hp officejet pro 8500 software will not install properly on windows 7

    i have attempted several times to install the hp solution center specifically for scanning to save to .pdf files.  hp solution center will not install error message: cannot hp solution center because your device installation is not complete. please p

  • Account login unavailable on resume from sleep

    Greetings,   I am experiencing an inconvenient issue, where on resuming the computer from sleep, my user account is unavailble. By that I mean i have nowhere to type my password. It is resolved by changing to the guest account and login out of that.

  • Table header cell dividers

    Is there a way to have to make the cells divider lines in a table header be a custom thickness. with different thicknesses on different pages. I am thinking there is no way to do this inside of FM 8. And would that be changed in the read and write or