• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Weblogic 8.1 and ejb 1.0

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ....
 
I knew that guy would be trouble! Thanks tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic