[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
| | Allows the override of the suffix order declared by subdeployers, using the syntax [order:]suffix | | EnhancedSuffixOrder | [Ljava.lang.String; | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952176#3952176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952176 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
This is what am using in the MainDeployer XML so that oracle-ds.xml gets deployed before the web app. Also if am not looking the JNDI in my app during the startup(ie in listener), everything is fine and the server gets started and app gets deployed, and if lookup the JNDI at this stage, am able to do it. So i think definitely the problem is with the order of deployment. web app getting deployed even before oracle-ds.xml is deployed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952175#3952175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952175 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
actually i tried changing the order of deployment after i got the NameNotFoundException. I guess in default, the oracle-ds.xml will be deployed before the web app gets deployed, correct me if am wrong? If so why in my listener class it says NameNotException when i try to lookup the JNDI name(java:/CcpiDS). Pls help me out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952173#3952173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952173 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
are you sure that the problem is the order of deployment and not some other jndi configuration problem? you can try to hot deploy your application after the sever is already running... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952171#3952171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952171 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
applicationContext.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952170#3952170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952170 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem in deployment order
This is what i use in applicationContext.xml And my oracle-ds.xml is CcpiDS {T}db.ccpi.url{/T} {T}db.driver{/T} {T}db.ccpi.user{/T} {T}db.ccpi.password{/T} org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 2 5 Also am accessing the JNDI in my ServletContextListener class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952169#3952169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952169 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user