on 08-13-2012 7:54 PM
Hi all,
I tried to implement a Java Scheduler on SAP Netweaver 7.3.
But somehow I cannot use some properties in the ejb-j2ee-engine.xml.
As stated for example in the tutorial found here:
http://help.sap.com/saphelp_nw73/helpdata/de/4a/5f5ed3277d21dae10000000a421937/frameset.htm
I should be able to use <message-props> in the enterprise bean. But the developer studio is telling me that it is not allowed!
<?xml version="1.0" encoding="UTF-8"?>
<ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enterprise-beans>
<enterprise-bean>
<ejb-name>HelloJobBean</ejb-name>
<jndi-name> HelloJobBean </jndi-name>
<message-props>
<destination-name>JobQueue</destination-name>
<connection-factory-name>JobQueueFactory</connection-factory-name>
</message-props>
</enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
I added the dependency to "tc/je/scheduler/api" and the classes look also fine.
Does somebody know what I might need to do still?
Thanks and best regards,
Dennis
same error for me, but you can still deploy it. no impact to the functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys,
I am getting following error:
The connection factory name for jobs must be "JobQueueFactory"
EJB_J2EE-ENGINE.XML
<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>MDBClass</ejb-name>
<jndi-name> MDBClass </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>
Hi,
I was able to overcome the issue. More details can be found at : http://scn.sap.com/people/gangadharayya.virupakshayyahiremat/blog/2012/08/31/sap-portal-73-custom-ta...
Thanks,
Ganga
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.