Questions tagged [resource-ref]
5 questions
                    
                    123
                    
            votes
                
                1 answer
            
        What is resource-ref in web.xml used for?
I'm just wondering when/why you would define a  element in your web.xml file?
I would have thought that it would be defined in your web/app server using JNDI and then look up the JNDI reference in your Java code?
The resource-ref… 
        
        JMM
        
- 3,922
 - 6
 - 39
 - 46
 
                    1
                    
            vote
                
                0 answers
            
        Why does TomEE Plus throw a ' Can't create resource null java.lang.NullPointerException ' during start-up of a JSF 2.0 webapp?
After failing to migrate an old MyFaces 2.0 webapp (app1) from WebLogic Server 12.1.3 to Tomcat Tomcat 9 using OpenWebBeans 2.0.27 due to a potential CDI issue, I was asked to switch my attention back to TomEE Plus since this webapp also makes use…
        
        UserB
        
- 25
 - 5
 
                    1
                    
            vote
                
                1 answer
            
        resource-ref at application scope in EJB 2.1 Project
Is it possible to define resource references that are applicable to all EJBs in an application?
Currently I have an ejb-jar.xml that looks something like this:
  
    
      
     …   
        
        Mike Deck
        
- 18,045
 - 16
 - 68
 - 92
 
                    0
                    
            votes
                
                1 answer
            
        Defining resource-ref tags on both session bean and entity bean
My application has a CMT session bean invoking a BMP entity bean that uses JDBC queries to perform Database operations.the ejb-jar.xml have resource ref defined at both the session bean definition and the entity bean definition at ejb-jar.xml. is it…
        
        vignesh787
        
- 199
 - 1
 - 7
 
                    0
                    
            votes
                
                0 answers
            
        resource-ref tag on 2.1 enterprise bean
Our Application uses a BMP ejb 2.1 entity bean . All database interactions are through plain JDBC and transactions. commit / roll back are handled at the session bean that invokes the 2.1 entity bean. We plan to remove the entity bean layer as it is…
        
        vignesh787
        
- 199
 - 1
 - 7