Can someone tell me why I can't get the demo interest bean to deploy. Here is the message I get. Any help would be greatly appreciated. Bean : Interest Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements t he enterprise bean's business methods. [Verifier] Bean : Interest Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home inter face in the home element. [Verifier] Bean : Interest Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote int erface in the remote element. [Container factory] Deploying Interest [Container factory] java.lang.ClassNotFoundException: C:\Program Files\Apache Group\jboss\com\web_to morrow\interest\InterestHome [Container factory] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [Container factory] at java.security.AccessController.doPrivileged(Native Method) >From: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: JBoss-user digest, Vol 1 #638 - 8 msgs >Date: Thu, 31 May 2001 14:40:02 -0700 > >Send JBoss-user mailing list submissions to > [EMAIL PROTECTED] > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.net/lists/listinfo/jboss-user >or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > >You can reach the person managing the list at > [EMAIL PROTECTED] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of JBoss-user digest..." > > >Today's Topics: > > 1. Using a new JDBC datasource (Justin Harrison) > 2. Re: How to flush entity bean cache? (Bryan Field-Elliot) > 3. JBoss's Scalability and Load Balacing (Ravindra Sharma) > 4. Can I use JTA without writing EJBean (Ravindra Sharma) > 5. Re: JBoss 2.2.2 Release available (Scott M Stark) > 6. sun's RMS application - ejb example - initial context lookup prob > lem (Minal Thakkar) > 7. Re: JBoss hangs at starting DefaultDS pool using Interbase (Kar >YEOW) > >--__--__-- > >Message: 1 >From: "Justin Harrison" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Date: Fri, 1 Jun 2001 08:35:08 +1200 >Subject: [JBoss-user] Using a new JDBC datasource >Reply-To: [EMAIL PROTECTED] > >Hi > >I have a super class which provides two connections getCobolConnection and >getDBConnection here is the Cobol one. > > > public Connection getCobolConnection() throws SQLException{ > try { > Context jndiCntx = ContextLoader.getInitialContext(); > DataSource ds = >(DataSource)jndiCntx.lookup("java:comp/env/jdbc/CobolDS"); > return ds.getConnection(); > } catch (NamingException ne){ > throw new EJBException(ne); > } > > } > >On 31 May 2001, at 15:15, Burkhard Vogel wrote: > > > Hi, > > can you tell how > > > con = this.getCobolConnection(); > > is implemented? > > Burkhard. > > ----- Original Message ----- > > From: "Justin Harrison" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, May 31, 2001 6:40 AM > > Subject: [JBoss-user] Using a new JDBC datasource > > > > > > > Hi > > > > > > I am trying to integrate a new datasource into JBoss as a proof of >concept > > for my boss. > > > > > > The jdbc driver is from a company called Transoft which provides >access to > > AcuCOBOL Vision files. It works > > > very well for client server connections but thats about all that I >know. I > > am not sure what features it > > > supports. > > > > > > I have gone through the documentation and set up all the configuration > > files appropriatly (I hope). > > > > > > ejb-jar.xml > > [looks ok] > > > > > > jboss.xml > > [looks ok] > > > > > > jboss.jcml > > [looks ok] > > > > > > bean class method > > > .....etc > > > > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > >Justin Harrison > >McCarthy & Associates Ltd >[EMAIL PROTECTED] >+64 6 834 3360 >Floor 5 >McLean Towers >Shakespeare Rd >Napier >New Zealand > > >--__--__-- > >Message: 2 >Date: Thu, 31 May 2001 14:57:36 -0600 >From: Bryan Field-Elliot <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [JBoss-user] How to flush entity bean cache? >Reply-To: [EMAIL PROTECTED] > > >--------------090707020508060404030400 >Content-Type: text/plain; charset=us-ascii; format=flowed >Content-Transfer-Encoding: 7bit > >Thank you Georg, that is helpful! > >I have one follow-up question: > > From the document you sent me, it looks like I have to set up an >entirely custom configuration, just to change the commit option. I'd >rather just use the default container configuration and only change the >commit option (to "C"). > >However, if I absolutely must set up a custom configuration, then, how >do I know what settings to give it for all the other entires? The >document doesn't list the default settings for "Standard CMP >EntityBean"; if I knew what those were, then I'd just make a duplicate >of it and change the commit options. But as it stands, I don't know how >to keep it identical in every other sense. > >Thank you, > >Bryan > > >Georg Rehfeld wrote: > > >Hi Bryan, > > > >>I am using JBoss 2.2.1 and lots of entity beans. Sometimes I like to go > >>directly to my database (PostgreSQL) and make some changes. But I seem > >>to be unable to do this if jBoss has some beans cached; my changes get > >>ignored, and eventually overwritten (in some cases). > >> > > > >You should use commit option B or C in your container configuration > >instead of the default A. Migth be commit option D (JBoss specific) > >would be the right choice for you, but it comes in a future release. > >Review http://www.jboss.org/documentation/HTML/ch06s08.html for > >container configurations and the tag <commit-option>. > > > >regards > >Georg > > ___ ___ > >| + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg > >|_|_\ |___ [EMAIL PROTECTED] +49 (40) 23 53 27 10 > > > > > > > >_______________________________________________ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > >--------------090707020508060404030400 >Content-Type: text/html; charset=us-ascii >Content-Transfer-Encoding: 7bit > ><html> ><head> ></head> ><body> >Thank you Georg, that is helpful!<br> ><br> >I have one follow-up question:<br> ><br> >From the document you sent me, it looks like I have to set up an entirely >custom configuration, just to change the commit option. I'd rather just use >the default container configuration and only change the commit option (to >"C").<br> ><br> >However, if I absolutely must set up a custom configuration, then, how do >I know what settings to give it for all the other entires? The document >doesn't >list the default settings for "Standard CMP EntityBean"; if I knew what >those >were, then I'd just make a duplicate of it and change the commit options. >But as it stands, I don't know how to keep it identical in every other >sense.<br> ><br> >Thank you,<br> ><br> >Bryan<br> ><br> ><br> >Georg Rehfeld wrote:<br> ><blockquote type="cite" >cite="013801c0ea0e$af7954e0$fe78a8c0@reathome"">mid:013801c0ea0e$af7954e0$fe78a8c0@reathome"><pre wrap="">Hi >Bryan,<br><br></pre> > <blockquote type="cite"><pre wrap="">I am using JBoss 2.2.1 and lots of >entity beans. Sometimes I like to go <br>directly to my database >(PostgreSQL) and make some changes. But I seem <br>to be unable to do this >if jBoss has some beans cached; my changes get <br>ignored, and eventually >overwritten (in some cases).<br></pre> > </blockquote> > <pre wrap=""><!----><br>You should use commit option B or C in your >container configuration<br>instead of the default A. Migth be commit option >D (JBoss specific)<br>would be the right choice for you, but it comes in a >future release.<br>Review <a class="moz-txt-link-freetext" >href="http://www.jboss.org/documentation/HTML/ch06s08.html">http://www.jboss.org/documentation/HTML/ch06s08.html</a> > >for<br>container configurations and the tag ><commit-option>.<br><br>regards<br>Georg<br> ___ ___<br>| + | |__ > Georg Rehfeld Woltmanstr. 12 20097 Hamburg<br>|_|_\ |___ <a >class="moz-txt-link-abbreviated" >href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> +49 >(40) 23 53 27 >10<br><br><br><br>_______________________________________________<br>JBoss-user >mailing list<br><a class="moz-txt-link-abbreviated" >href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a><br><a > >class="moz-txt-link-freetext" >href="http://lists.sourceforge.net/lists/listinfo/jboss-user">http://lists.sourceforge.net/lists/listinfo/jboss-user</a><br><br><br></pre> > </blockquote> > <br> > </body> > </html> > >--------------090707020508060404030400-- > > > >--__--__-- > >Message: 3 >From: Ravindra Sharma <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> >Date: Thu, 31 May 2001 14:03:34 -0700 >Subject: [JBoss-user] JBoss's Scalability and Load Balacing >Reply-To: [EMAIL PROTECTED] > >Hi Folks, > >Did anybody try the Scalability and Load Balacing aspect of JBoss? > >How do make JBoss scalable i.e. add multiple servers. How do I test for >load balancing aspect. Is that a documentation which talks about >scalability and load balancing. > >I will appreciate your help. This is key to our decision to use JBoss. > >-ravi > > >--__--__-- > >Message: 4 >From: Ravindra Sharma <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> >Date: Thu, 31 May 2001 14:05:56 -0700 >Subject: [JBoss-user] Can I use JTA without writing EJBean >Reply-To: [EMAIL PROTECTED] > >Hi folks, > >I am new to EJB. I am trying to use JTA. > >Can I use Java Transaction API (JTA) dirtectly in my application without >writing a Bean. This helps me bypass complication of EJB which I don't >really need since my application is not distributed. > >Let me know if I can use JBoss's JTS (without using EJBean) in my >application. If so, how will make it accessible through JNDI context in my >app. > >Thanks, > >Ravindra Sharma >650-691-6310 > > >--__--__-- > >Message: 5 >From: "Scott M Stark" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: [JBoss-user] JBoss 2.2.2 Release available >Date: Thu, 31 May 2001 14:18:45 -0700 >Reply-To: [EMAIL PROTECTED] > >public interface ConfigLoaderMBean >{ >} >import javax.management.MBeanRegistration; >import javax.management.MBeanServer; >import javax.management.ObjectName; >import javax.security.auth.login.LoginContext; > >public class ConfigLoader implements ConfigLoaderMBean, MBeanRegistration >{ > // MBeanRegistration implementation ------------------------------ > public ObjectName preRegister(MBeanServer server, ObjectName name) > throws Exception > { > LoginContext = new LoginContext("other"); > String OBJECT_NAME = ":service=ConfigLoader"; > return name == null ? new ObjectName(OBJECT_NAME) : name; > } > > public void postRegister(Boolean registrationDone) > { > } > > public void preDeregister() throws Exception > { > } > > public void postDeregister() > { > } >} > >----- Original Message ----- >From: "Alex Radka" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, May 31, 2001 1:13 PM >Subject: RE: [JBoss-user] JBoss 2.2.2 Release available > > > > > > >> 1) Initialization not thread safe (I know this is a problem with >JAAS, > > but > > >> did you include a workaround). > > >No, its simple to workaround this using an mbean. > > > > Any chance I could get an example..... > > > > Just to make sure we are talking about the same thing, the workaround >you > > speak of will fix the problem you refer to in: > > >http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg04879.html > > > > Thanks, > > Alex > > > > >--__--__-- > >Message: 6 >From: Minal Thakkar <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> >Date: Thu, 31 May 2001 16:22:12 -0500 >Subject: [JBoss-user] sun's RMS application - ejb example - initial context >lookup prob > lem >Reply-To: [EMAIL PROTECTED] > >Hello, > >I am new to ejb and was trying to deploy and run Sun's Resource Management >System application using jboss and tomcat on NT. The ear file is deployed >properly and i can see my bean listed on jndiview. But I am getting the >following error everytime I try to do the initial context lookup. Has >anyone tried this example on Jboss? Thanks, > > >[EmbeddedTomcat] ctx : javax.naming.InitialContext@77e3d4 >[EmbeddedTomcat] getRMSConn() fails >javax.naming.NameNotFoundException: RMSBean not bound >[EmbeddedTomcat] javax.naming.NameNotFoundException: RMSBean not bound >[EmbeddedTomcat] at >org.jnp.server.NamingServer.getBinding(NamingServer.j >ava:474) >[EmbeddedTomcat] at >org.jnp.server.NamingServer.getBinding(NamingServer.j >ava:482) >[EmbeddedTomcat] at >org.jnp.server.NamingServer.getObject(NamingServer.ja >va:488) >[EmbeddedTomcat] at >org.jnp.server.NamingServer.lookup(NamingServer.java: >283) >[EmbeddedTomcat] at >org.jnp.interfaces.NamingContext.lookup(NamingContext >.java:295) >[EmbeddedTomcat] at >org.jnp.interfaces.NamingContext.lookup(NamingContext >.java:403) >[EmbeddedTomcat] at >org.jnp.interfaces.NamingContext.lookup(NamingContext >.java:279) >[EmbeddedTomcat] at javax.naming.InitialContext.lookup(Unknown >Source) >[EmbeddedTomcat] at RMS.JSP.getRMSConn(jsp.java:53) >[EmbeddedTomcat] at RMS.JSP.getAllCategories(jsp.java:158) >[EmbeddedTomcat] at >_0002fprojSearchInfo_0002ejspprojSearchInfo_jsp_6._js >pService(_0002fprojSearchInfo_0002ejspprojSearchInfo_jsp_6.java:96) >[EmbeddedTomcat] at >org.apache.jasper.runtime.HttpJspBase.service(HttpJsp >Base.java:119) >[EmbeddedTomcat] at >javax.servlet.http.HttpServlet.service(HttpServlet.ja >va:853) >[EmbeddedTomcat] at >org.apache.jasper.servlet.JspServlet$JspServletWrappe >r.service(JspServlet.java:177) >[EmbeddedTomcat] at >org.apache.jasper.servlet.JspServlet.serviceJspFile(J >spServlet.java:318) >[EmbeddedTomcat] at >org.apache.jasper.servlet.JspServlet.service(JspServl >et.java:391) >[EmbeddedTomcat] at >javax.servlet.http.HttpServlet.service(HttpServlet.ja >va:853) >[EmbeddedTomcat] at >org.apache.tomcat.core.ServletWrapper.doService(Servl >etWrapper.java:404) >[EmbeddedTomcat] at >org.apache.tomcat.core.Handler.service(Handler.java:2 >86) >[EmbeddedTomcat] at >org.apache.tomcat.core.ServletWrapper.service(Servlet >Wrapper.java:372) >[EmbeddedTomcat] at >org.apache.tomcat.core.ContextManager.internalService >(ContextManager.java:797) >[EmbeddedTomcat] at >org.apache.tomcat.core.ContextManager.service(Context >Manager.java:743) >[EmbeddedTomcat] at >org.apache.tomcat.service.http.HttpConnectionHandler. >processConnection(HttpConnectionHandler.java:210) >[EmbeddedTomcat] at >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolT >cpEndpoint.java:416) >[EmbeddedTomcat] at >org.apache.tomcat.util.ThreadPool$ControlRunnable.run >(ThreadPool.java:498) >[EmbeddedTomcat] at java.lang.Thread.run(Unknown Source) > > >my initialcontext code is as follows: > >public RMS getRMSConn () > { > if (rms == null) > { > try > { > InitialContext ctx = new InitialContext(); > System.out.println("ctx : " + ctx); > Object home = ctx.lookup("java:comp/RMSBean"); > System.out.println("home is :" + home); > RMSHome rmsHome = (RMSHome) >PortableRemoteObject.narrow(home, RMSHome.class); > System.out.println("rmsHome is : " + rmsHome); > rms = rmsHome.create(); > } > catch (NamingException ne) > { > System.err.println("getRMSConn() fails \n" + ne); > ne.printStackTrace(); > return null; > } > catch (CreateException ce) > { > System.err.println("Failed to create the RMSBean \n" + ce); > return null; > } > catch (Exception e) > { > System.err.println("Failed to make connection to RMSBean \n" + >e); > return null; > } > } > > return rms; > } > >my ejb-jar.xml is as follows: > ><?xml version="1.0" encoding="UTF-8" ?> ><!DOCTYPE ejb-jar (View Source for full doctype...)> >- <ejb-jar> ><description>no description</description> ><display-name>rmsjar</display-name> >- <enterprise-beans> >- <entity> ><description>no description</description> ><display-name>projBean</display-name> ><ejb-name>projBean</ejb-name> ><home>examples.ejb.beans.projentity.ProjHome</home> ><remote>examples.ejb.beans.projentity.Proj</remote> ><ejb-class>examples.ejb.beans.projentity.ProjBean</ejb-class> ><persistence-type>Bean</persistence-type> ><prim-key-class>java.lang.String</prim-key-class> ><reentrant>False</reentrant> >- <env-entry> ><description>A description of EntryName</description> ><env-entry-name>dname</env-entry-name> ><env-entry-type>java.lang.String</env-entry-type> ><env-entry-value>OracleDS</env-entry-value> ></env-entry> >- <resource-ref> ><description>A description for ResourceRefName</description> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><res-type>javax.sql.DataSource</res-type> ><res-auth>Container</res-auth> ></resource-ref> ></entity> >- <entity> ><description>no description</description> ><display-name>propBean</display-name> ><ejb-name>propBean</ejb-name> ><home>examples.ejb.beans.propentity.PropHome</home> ><remote>examples.ejb.beans.propentity.Prop</remote> ><ejb-class>examples.ejb.beans.propentity.PropBean</ejb-class> ><persistence-type>Bean</persistence-type> ><prim-key-class>java.lang.String</prim-key-class> ><reentrant>False</reentrant> >- <env-entry> ><description>A description of EntryName</description> ><env-entry-name>dname</env-entry-name> ><env-entry-type>java.lang.String</env-entry-type> ><env-entry-value>OracleDS</env-entry-value> ></env-entry> >- <resource-ref> ><description>A description for ResourceRefName</description> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><res-type>javax.sql.DataSource</res-type> ><res-auth>Container</res-auth> ></resource-ref> ></entity> >- <session> ><description>no description</description> ><display-name>sessionBean</display-name> ><ejb-name>sessionBean</ejb-name> ><home>examples.ejb.beans.session.RMSHome</home> ><remote>examples.ejb.beans.session.RMS</remote> ><ejb-class>examples.ejb.beans.session.RMSBean</ejb-class> ><session-type>Stateless</session-type> ><transaction-type>Bean</transaction-type> >- <env-entry> ><description>A description of EntryName</description> ><env-entry-name>dname</env-entry-name> ><env-entry-type>java.lang.String</env-entry-type> ><env-entry-value>OracleDS</env-entry-value> ></env-entry> >- <ejb-ref> ><description>A description of EjbRefName</description> ><ejb-ref-name>ejb/propBean</ejb-ref-name> ><ejb-ref-type>Entity</ejb-ref-type> ><home>examples.ejb.beans.propentity.PropHome</home> ><remote>examples.ejb.beans.propentity.Prop</remote> ><ejb-link>propBean</ejb-link> ></ejb-ref> >- <ejb-ref> ><description>A description of EjbRefName</description> ><ejb-ref-name>ejb/projBean</ejb-ref-name> ><ejb-ref-type>Entity</ejb-ref-type> ><home>examples.ejb.beans.projentity.ProjHome</home> ><remote>examples.ejb.beans.projentity.Proj</remote> ><ejb-link>projBean</ejb-link> ></ejb-ref> >- <resource-ref> ><description>A description for ResourceRefName</description> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><res-type>javax.sql.DataSource</res-type> ><res-auth>Container</res-auth> ></resource-ref> ></session> ></enterprise-beans> >- <assembly-descriptor> >- <container-transaction> >- <method> ><ejb-name>projBean</ejb-name> ><method-intf>Remote</method-intf> ><method-name>getData</method-name> ><method-params /> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>projBean</ejb-name> ><method-intf>Remote</method-intf> ><method-name>update</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>projBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>findByPrimaryKey</method-name> >- <method-params> ><method-param>java.lang.String</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>projBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>findAllProjects</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>projBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>create</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>propBean</ejb-name> ><method-intf>Remote</method-intf> ><method-name>getData</method-name> ><method-params /> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>propBean</ejb-name> ><method-intf>Remote</method-intf> ><method-name>update</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>propBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>findByPrimaryKey</method-name> >- <method-params> ><method-param>java.lang.String</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>propBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>findAllProposals</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> >- <container-transaction> >- <method> ><ejb-name>propBean</ejb-name> ><method-intf>Home</method-intf> ><method-name>create</method-name> >- <method-params> ><method-param>examples.ejb.beans.share.StorageDataIF</method-param> ></method-params> ></method> ><trans-attribute>Required</trans-attribute> ></container-transaction> ></assembly-descriptor> ></ejb-jar> > > > >My jboss.xml is as follows: > > > ><?xml version="1.0" encoding="UTF-8" ?> >- <jboss> ><secure>false</secure> ><container-configurations /> ><resource-managers /> >- <enterprise-beans> >- <session> ><ejb-name>sessionBean</ejb-name> ><jndi-name>RMSBean</jndi-name> >- <resource-ref> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><resource-name>jdbc/Oracle</resource-name> ></resource-ref> >- <ejb-ref> ><ejb-ref-name>ejb/propBean</ejb-ref-name> ><jndi-name>PropBean</jndi-name> ></ejb-ref> >- <ejb-ref> ><ejb-ref-name>ejb/projBean</ejb-ref-name> ><jndi-name>ProjBean</jndi-name> ></ejb-ref> ></session> >- <entity> ><ejb-name>projBean</ejb-name> ><jndi-name>ProjBean</jndi-name> >- <resource-ref> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><jndi-name>jdbc/Oracle</jndi-name> ></resource-ref> >- <cmp> ><table-create-sql /> ><table-remove-sql /> ><create-table-deploy>true</create-table-deploy> ><delete-table-undeploy>true</delete-table-undeploy> ></cmp> ></entity> >- <entity> ><ejb-name>propBean</ejb-name> ><jndi-name>PropBean</jndi-name> >- <resource-ref> ><res-ref-name>jdbc/CloudscapeDB</res-ref-name> ><jndi-name>jdbc/Oracle</jndi-name> ></resource-ref> >- <cmp> ><table-create-sql /> ><table-remove-sql /> ><create-table-deploy>true</create-table-deploy> ><delete-table-undeploy>true</delete-table-undeploy> ></cmp> ></entity> ></enterprise-beans> ></jboss> > >jndiview is as follows: >Application: >file:/C:/jboss/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/RMSApp.ear/ > >java:comp namespace of the sessionBean bean: > +- UserTransaction (class: javax.transaction.UserTransaction) > +- env (class: org.jnp.interfaces.NamingContext) > | +- jdbc (class: org.jnp.interfaces.NamingContext) > | | +- CloudscapeDB (class: javax.naming.LinkRef) > | +- ejb (class: org.jnp.interfaces.NamingContext) > | | +- projBean (class: javax.naming.LinkRef) > | | +- propBean (class: javax.naming.LinkRef) > | +- dname (class: java.lang.String) >java:comp namespace of the projBean bean: > +- env (class: org.jnp.interfaces.NamingContext) > | +- jdbc (class: org.jnp.interfaces.NamingContext) > | | +- CloudscapeDB (class: javax.naming.LinkRef) > | +- dname (class: java.lang.String) >java:comp namespace of the propBean bean: > +- env (class: org.jnp.interfaces.NamingContext) > | +- jdbc (class: org.jnp.interfaces.NamingContext) > | | +- CloudscapeDB (class: javax.naming.LinkRef) > | +- dname (class: java.lang.String) > > >Global JNDI Namespace > +- TopicConnectionFactory (class: org.jbossmq.SpyTopicConnectionFactory) > +- XAQueueConnectionFactory (class: >org.jbossmq.SpyXAQueueConnectionFactory) > +- jmx (class: org.jboss.jmx.server.JMXAdaptorImpl) > +- UILXAQueueConnectionFactory (class: >org.jbossmq.SpyXAQueueConnectionFactory) > +- RMIXAQueueConnectionFactory (class: >org.jbossmq.SpyXAQueueConnectionFactory) > +- RMIQueueConnectionFactory (class: >org.jbossmq.SpyQueueConnectionFactory) > +- NonOptimized (class: $Proxy4) > +- XATopicConnectionFactory (class: >org.jbossmq.SpyXATopicConnectionFactory) > +- UILXATopicConnectionFactory (class: >org.jbossmq.SpyXATopicConnectionFactory) > +- RMIXATopicConnectionFactory (class: >org.jbossmq.SpyXATopicConnectionFactory) > +- RMITopicConnectionFactory (class: >org.jbossmq.SpyTopicConnectionFactory) > +- Optimized (class: $Proxy4) > +- invokers (class: org.jnp.interfaces.NamingContext) > | +- sessionBean (class: >org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker) > | +- projBean (class: >org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker) > | +- Optimized (class: >org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker) > | +- NonOptimized (class: >org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker) > | +- propBean (class: >org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker) > +- propBean (class: $Proxy39) > +- sessionBean (class: $Proxy36) > +- queue (class: org.jnp.interfaces.NamingContext) > | +- D (class: org.jbossmq.SpyQueue) > | +- C (class: org.jbossmq.SpyQueue) > | +- B (class: org.jbossmq.SpyQueue) > | +- A (class: org.jbossmq.SpyQueue) > | +- controlQueue (class: org.jbossmq.SpyQueue) > | +- testQueue (class: org.jbossmq.SpyQueue) > | +- ex (class: org.jbossmq.SpyQueue) > | +- testObjectMessage (class: org.jbossmq.SpyQueue) > | +- E (class: org.jbossmq.SpyQueue) > +- topic (class: org.jnp.interfaces.NamingContext) > | +- testDurableTopic (class: org.jbossmq.SpyTopic) > | +- example (class: org.jbossmq.SpyTopic) > | +- testTopic (class: org.jbossmq.SpyTopic) > | +- metrics (class: org.jbossmq.SpyTopic) > | +- bob (class: org.jbossmq.SpyTopic) > | +- beancache (class: org.jbossmq.SpyTopic) > +- UILQueueConnectionFactory (class: >org.jbossmq.SpyQueueConnectionFactory) > +- projBean (class: $Proxy38) > +- QueueConnectionFactory (class: org.jbossmq.SpyQueueConnectionFactory) > +- UILTopicConnectionFactory (class: >org.jbossmq.SpyTopicConnectionFactory) > +- jmx:minal:rmi (class: org.jboss.jmx.server.RMIConnectorImpl) > > > > > > > > >--__--__-- > >Message: 7 >From: "Kar YEOW" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: [JBoss-user] JBoss hangs at starting DefaultDS pool using >Interbase >Date: Fri, 1 Jun 2001 07:37:31 +1000 >Organization: APIR Systems Pty Ltd >Reply-To: [EMAIL PROTECTED] > >Check if you have the driver in your $JBOSS_HOME/lib/ext directory. >Kar >----- Original Message ----- >From: "Wiwih "Will" Gunadi" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, May 31, 2001 2:53 PM >Subject: [JBoss-user] JBoss hangs at starting DefaultDS pool using >Interbase > > > > Hi all, > > > > I'm using InterBase (Firebird v.0.9.4) and Interclient 1.6. > > I saw a lot of people pull this off but having problems with the > > interclient.jar. > > > > In my case however, JBoss simply hangs without any trace (both console >and > > file log) after reporting that it's starting the DefaultDS pool. > > > > Here's the Interbase section of my jboss.jcml: > > > > <!-- JDBC --> > > <mbean code="org.jboss.jdbc.JdbcProvider" > > name="DefaultDomain:service=JdbcProvider"> > > <attribute name="Drivers">interbase.interclient.Driver</attribute> > > </mbean> > > > > <mbean code="org.jboss.jdbc.XADataSourceLoader" > > name="DefaultDomain:service=XADataSource,name=DefaultDS"> > > <attribute name="PoolName">InterbaseDS</attribute> > > <attribute > > >name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp > > l</attribute> > > <attribute name="Properties"></attribute> > > <attribute > > >name="URL">jdbc:interclient://localhost/d:/jboss/jboss/db/interbase/jboss.gd > > b</attribute> > > <attribute name="JDBCUser">SYSDBA</attribute> > > <attribute name="Password">masterkey</attribute> > > <!-- > > <attribute name="GCMinIdleTime">1200000</attribute> > > <attribute name="MaxSize">10</attribute> > > <attribute name="GCEnabled">false</attribute> > > <attribute name="InvalidateOnError">false</attribute> > > <attribute name="TimestampUsed">false</attribute> > > <attribute name="Blocking">true</attribute> > > <attribute name="GCInterval">120000</attribute> > > <attribute name="IdleTimeout">1800000</attribute> > > <attribute name="IdleTimeoutEnabled">false</attribute> > > <attribute name="LoggingEnabled">false</attribute> > > <attribute name="MaxIdleTimeoutPercent">1.0</attribute> > > <attribute name="MinSize">0</attribute> > > --> > > </mbean> > > > > It doesn't matter whether I comment out the rest of the <mbean> or not. >The > > problem is not with the Interclient and Interbase because I can >successfully > > access the db using Interclient by itself. > > > > Sorry I can't include the log because trying this out actually messed up >my > > JBoss installation (i.e a perfectly deployed .jar file using HyperSonic > > stops working after I try to switch to Interbase, so I have to delete >the > > whole JBoss directory and re-do the install). > > > > We use Jonas in our team right now, if I can work JBoss with Interbase, > > it'll make a stronger case for us to switch to JBoss :) > > > > Could anybody help me, and to the JBoss team, good job! > > > > -Will Gunadi-- > > Developer > > Compuware > > > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > >--__--__-- > >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >http://lists.sourceforge.net/lists/listinfo/jboss-user > > >End of JBoss-user Digest _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
