Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Weblogic 8.1 and ejb 1.0  RSS feed

 
Serghei Jelauc
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi javers.
We have used the Weblogic 6.1 server with the ejb 1.0. We changed Weblogic 6.1 to 8.1 and the ejb jars remained the same. Now, when the server is startin it gives us some warnings. Here is one of them:

<Aug 17, 2004 11:13:30 AM CDT> <Warning> <EJB> <BEA-010212> <The EJB 'spec_rule(Application: _appsdi
r_spec_rule_jar, EJBComponent: spec_rule)' contains at least one method without an explicit transact
ion attribute setting. The default transaction attribute of Supports will be used for the following
methods: remote[save(java.lang.String,[Ljava.lang.String;,[I,int,int), getSpecRule(int,int)] >

What does it mean and how to improve it?

Thanks in advance.
 
George Koshy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I think if you set the transaction attribute in your ejb-jar.xml

for eg.
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>your_ejb_name</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>

It should sort out your problem. The warning is just indicating that you have not set the transaction attributes for the specific method. The above xml piece will set the transaction attribute to required for all your methods except for the ones yu have already defined.

Let me know how it goes ....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!