Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001134 [Resin] minor always 05-22-06 09:29 08-21-06 16:00
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.0 Product Version
  Product Build
Summary 0001134: naming exception, user transactions
Description (rep by Jan Heise)


to get Seam CR2 running with Resin 3.0.19 I had to change the lookup of the UserTransaction in org.jboss.seam.util.Transaction.java. Resin seems to not throw a NameNotFoundException but instead returns null if the name is not found. I also had to extract the META-INF-dir from jsf-facelets.jar and had to put it into WEB-INF/classes (Bug 1052?)

Perhaps this info is helpful to others.

Jan



public static UserTransaction getUserTransaction() throws NamingException
{
try
{
UserTransaction t = (UserTransaction) Naming.getInitialContext().lookup(userTransactionName);
if( t == null ) t = (UserTransaction) Naming.getInitialContext().lookup(STANDARD_USER_TRANSACTION_NAME);
return t;
}
catch (NameNotFoundException nnfe)
{
return (UserTransaction) Naming.getInitialContext().lookup(STANDARD_USER_TRANSACTION_NAME);
}
}
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001475)
ferg
08-21-06 16:00

server/1509
 

- Issue History
Date Modified Username Field Change
05-22-06 09:29 ferg New Issue
08-21-06 16:00 ferg Note Added: 0001475
08-21-06 16:00 ferg Assigned To  => ferg
08-21-06 16:00 ferg Status new => closed
08-21-06 16:00 ferg Resolution open => fixed
08-21-06 16:00 ferg Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker