[JBoss-user] petstore 1.1.2
After following these instructions step by step I was able to deploy petstore successfully, but when I access the application in web browser, I get the following error: All Rights Reserved. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [DefaultDS] Started [Service Control] Started 27 services [Default] JBoss 2.2.2 Started in 0m:16s 2001-07-15 01:05:54 - Ctx( /estore ): Exception in: R( /estore + /control + /lan guage) - com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcep tion: CatalogDAOFactory.getDAO: NamingException while getting DAO type : catalog not bound at com.sun.j2ee.blueprints.petstore.control.web.CatalogWebImpl.init(Ca talogWebImpl.java:36) at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogM odel(ModelManager.java:84) at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelM anager.java:61) at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainSe rvlet.java:83) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 05) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager. java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743 ) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :501) at java.lang.Thread.run(Unknown Source) Any ideas ?? JM === Cuong Tran wrote: Ok, I finally got around to do it. The attached zip file contains all files that I changed/added to make petstore work. Since I wanted to use Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly modified version (CatalogDAOHypersonic and OrderDAOHypersonic). The instructions are similar to the 1.1.1 version so you can refer to jboss documention for more info. --- Jonah Peskin [EMAIL PROTECTED] wrote: Hell yeah! I've been trying to do this (with Cloudscape) all week. Please fill us in on the details! (any and all config files would be great too!) Thanks! Jonah I have managed to successfully deploy petstore 1.1.2 on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. If anyone is interested, I'm willing to share what I've done. = Cuong Q. Tran [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ Name: jps1.1.2-change.zip jps1.1.2-change.zip Type: Zip Compressed Data (application/x-zip-compressed) Encoding: base64 Description: jps1.1.2-change.zip ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] queue deployment
Heh, pretty much what is said. The problem is I have no idea of how to write up the descriptors for jboss. The docs discuss the config w/ MDB's and I'm not using them. Thnxs - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 2:37 AM Subject: Re: [JBoss-user] queue deployment Lets start with the problem. So what _is_ the problem? --jason On Sun, 15 Jul 2001, G.L. Grobe wrote: Date Posted: Jul 14, 2001 11:11 PM » Reply I'm sending a message to a queue w/ the following lookup in my session bean. I havn't configured anything for the descriptors nor know what needs to be done. Any help much appreciated. --- MySessionBean.java --- try { queueConnectionFactory = (QueueConnectionFactory) ctx.lookup(java:comp/env/jms/managerQueueConnectionFactory); queue = (Queue) ctx.lookup(java:comp/env/jms/managerQueue); } ___ 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
[JBoss-user] JavaPetstore1.1.2 How-To
Hello all, I'm starting to compile one How-To document to run jps1.1.2 on jBoss2.2.2/tomcat3.2.2, please let me know if you have been able to run it successfully using any one of the database. I believe the petstore1.1.1 how-to on jboss.org website is slightly off the track and need some revamping to use it for jps1.1.2 Comments welcome. Thanks, sc ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JavaPetstore1.1.2 How-To
Enclosed is the priliminary How-To file, if I use these steps I get the following error: [Default] JBoss 2.2.2 Started in 0m:18s 2001-07-15 03:12:21 - Ctx( /estore ): Exception in: R( /estore + /control + /lan guage) - com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcep tion: CatalogDAOFactory.getDAO: NamingException while getting DAO type : catalog not bound Please let me know what is missing?? Thanks, sc PetStore1.1.2 How-To Objective: To be able to run Petstore1.1.2 on Jboss2.2.2/Tomcat3.2.2 from the scratch Platform Used for this exercise: Win2000 JDK1.3.0 JBoss2.2.2 Tomcat3.2.2 Oracle8 Rdbms Steps: 1. Integrate jBoss + tomcat to run on the same stack 2. Get the jps1.1.1 3. Configure jps1.1.2 to run on jboss and build it 4. Add EstoreDB datasource into jboss.jcml 5. Deploy petstore.ear 6. Run the jBoss. 7. Access the Petstore 1. Integrate jBoss + tomcat to run on the same stack Please follow the instructions under Tomcat and Jboss - A full J2EE Stack How-To. 2. Get the jps1.1.2 Get the source for the jps1.1.2 from http://java.sun.com/j2ee/download.html#blueprints 3. Configure jps1.1.2 for jBoss and build it Add the file jboss-web.xml as listed below into ..\jps1.1.2\src\petstore\src\docroot\WEB-INF ===jboss-web.xml=== jboss-web resource-ref res-ref-namejdbc/EstoreDataSource/res-ref-name res-typejavax.sql.DataSource/res-type jndi-namejava:/EstoreDB/jndi-name /resource-ref ejb-ref ejb-ref-nameejb/catalog/Catalog/ejb-ref-name jndi-nameTheCatalog/jndi-name /ejb-ref ejb-ref ejb-ref-nameejb/cart/Cart/ejb-ref-name jndi-nameTheCart/jndi-name /ejb-ref ejb-ref ejb-ref-nameejb/customer/Customer/ejb-ref-name jndi-nameTheCustomer/jndi-name /ejb-ref ejb-ref ejb-ref-nameejb/profilemgr/ProfileMgr/ejb-ref-name jndi-nameTheProfileMgr/jndi-name /ejb-ref ejb-ref ejb-ref-nameejb/scc/Scc/ejb-ref-name jndi-nameTheShoppingClientController/jndi-name /ejb-ref ejb-ref ejb-ref-nameejb/inventory/Inventory/ejb-ref-name jndi-nameTheInventory/jndi-name /ejb-ref /jboss-web Now run the build command under ..\jps1.1.2\src\petstore\src, this should create petstore.ear in ..\jps1.1.2\src\build directory. 4. Add EstoreDB datasource into jboss.jcml Add following entry into jBoss.jcml, make sure to modify IP address/server name, instance name, oracle userid/password as per your configuration. mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=EstoreDB attribute name=PoolNameEstoreDB/attribute attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute attribute name=Properties/attribute attribute name=URLjdbc:oracle:thin:@192.168.0.2:1521:ORCL/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUserpetstore/attribute attribute name=MaxSize10/attribute attribute name=Passwordpetstore/attribute attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean Also add the oracle driver name entry as below in jboss.jcml file !-- JDBC -- mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,oracle.jdbc.driver.OracleDriver/attribute /mbean Make sure to add the zip file containing oracle driver classes (usually classes111.zip) into $JBOSS_HOME/lib/ext folder 5. Deploy petstore.ear Copy petstore.ear as created in step-3 above into $JBOSS_HOME/deploy folder 6. Run the jBoss Run the jboss using run command under $JBOSS_HOME/bin 7. Access the Petstore application Point your browser to http://localhost:8080/estore
Re: [JBoss-user] queue deployment
That all depends on what version of JBoss you are using. f you are using a version that has a JMS resource adapter then you will want to setup your beans to use it (unless you don't care about transactions, then you can just use the JMS api as normal (just map a reference name to a jndi url). If you want to use the resource adapter (2.4+) then define the resource in the ejb-jar.xml: resource-ref res-ref-namejms/QueueConnectionFactory/res-ref-name res-typejavax.jms.QueueConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejms/MyQueue/res-ref-name res-typejavax.jms.Queue/res-type res-authContainer/res-auth /resource-ref the hookup the mappings in your jboss.xml: resource-managers resource-manager res-nameQueueConnectionFactory/res-name res-jndi-namejava:/JmsXA/res-jndi-name /resource-manager resource-manager res-nameMyQueue/res-name res-jndi-namequeue/MyQueue/res-jndi-name /resource-manager /resource-managers enterprise-beans session !-- ... -- resource-ref res-ref-namejms/QueueConnectionFactory/res-ref-name resource-nameQueueConnectionFactory/resource-name /resource-ref resource-ref res-ref-namejms/MyQueue/res-ref-name resource-nameMyQueue/resource-name /resource-ref /session /enterprise-beans * * * --jason On Sun, 15 Jul 2001, G.L. Grobe wrote: Heh, pretty much what is said. The problem is I have no idea of how to write up the descriptors for jboss. The docs discuss the config w/ MDB's and I'm not using them. Thnxs - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 2:37 AM Subject: Re: [JBoss-user] queue deployment Lets start with the problem. So what _is_ the problem? --jason On Sun, 15 Jul 2001, G.L. Grobe wrote: Date Posted: Jul 14, 2001 11:11 PM » Reply I'm sending a message to a queue w/ the following lookup in my session bean. I havn't configured anything for the descriptors nor know what needs to be done. Any help much appreciated. --- MySessionBean.java --- try { queueConnectionFactory = (QueueConnectionFactory) ctx.lookup(java:comp/env/jms/managerQueueConnectionFactory); queue = (Queue) ctx.lookup(java:comp/env/jms/managerQueue); } ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Data problem after restarting JBoss
Hi all, I'm having a heck of a time with what seems to me to be a quirk but I don't know what is the source. Okay, here's my problem... I insert data into a table via its entity bean. I can query that data perfectly via the Entity bean or a facade session bean. I shut down JBoss and via 'pgaccess' I inspect the table and everything is just the way it was before shutting down JBoss. I restart JBoss and again, it looks perfect. Now, this is when I get into trouble. I query the table via either the Entity bean directly or the facade session bean and the colum which is of datatype Boolean (mapped to small int in the DB) is written to false. It doesn't matter even if the initial insertion had a value of true. Initially I thought it was a transaction problem and the data was somehow being rolled back but now I know (figure) that's not true. No where in my code can I find where I'm changing the value of the column or even the field in a record. The other fields all work perfectly. I'm able to insert and update and delete with no problems what so ever. TIA __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Trying to setup inexpensive EJB setup
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello all, Have a look at interbase, that works well. http://www.ibphoenix.org. Regards, Stephen. On Monday 09 July 2001 9:28 pm, you wrote: Hi all, I'm new to this list. I'm trying to setup an inexpensive EJB setup and want to have a database backend. Does anyone know if there are Open Source Databases out there that have JDBC drivers that work with JBoss? -Fazle Khan [EMAIL PROTECTED] _ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iQIWAwUBO1GE4rqZwrUTrKD5FANi5Qf/Qtk53DAeE4WScyxBD9RUfkNUoQvY1K88 3ehXU8Pcni1AM66rzfQmVUctYdL4qLFQRE8a4xNCK1bFbdwFf7+yau9w8PcgCyxF q0Bq37MDgZBXX7/xrfbb/igewh2VfjkSqBD9UgYpKKExPNXGvfFCmaV9ZycA78qG pFxatrQyGoihAmvKRbsHRaNVIapkwvjiAgmaDZ60VrsARNRbPYc+/9ha9vAtX7r9 u8Dp/NYdrFAAEZTVJ/0zTrxNCdLYNPg68Uuw2T9PBJCxrEy0MAjw+plpRp4Xue1B qwmzAqH7Hq4NvCVvLvpORZV6JmP/wdcNVfgf+IrDSlxlg9pYfg9ckQf4kIJOpiNQ cNjAAabl0wOEm/kWz8gVoDzi/CJfFJoszZ5onUdrAQy9dlZ8PZT1Kqyz1b0zQ+lp HsorijkAJbswx5z3RbIlEL0UlJ1hsn44bwjStlllTz1SYC+6XBtyGaxrbaPXafvY se5GcoCN91RYlzpq/DvP4N4EG0fw8KqaiXkode10bzXhM6mCIHZZSS0/r5+E1LTL ys9ffwSI7dRQnyc0cR7DejenTUDniVvp6CrlS2pYDsQFiw3Ua8Bf4nzix+d78JRw l7huRqIlA9mp0wCi+3kUttMT5K0FrCg4RRfWa6gxo9f4cylK6/hUqzeTGFAOKIxy UKF1C/D/C5W4 =d3Wu -END PGP SIGNATURE- ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] dbase is acting way too slow
Hi, this is general DB-config stuff. the most likely scenario is that you work with Hypersonic (DefaultDS) without noticing. The startup output indicates that your Progress-Driver isn't loaded at all, which usually happens if you alter the files in conf/default dir but do a run_with_tomcat which picks up the files in conf/tomcat dir. Moreover, if config changes do not appear to be picked up, trash the jboss-auto.jcml which is really a nuciance. I will help more if you post full DB-relevant jboss.jcml parts and relevant parts of startup output. Burkhard - Original Message - From: G.L. Grobe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 9:18 PM Subject: Re: [JBoss-user] dbase is acting way too slow btw - I'm using BMP, does this change anything since the docs only talk about CMP for this part of the config? - Original Message - From: G.L. Grobe To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 1:18 AM Subject: [JBoss-user] dbase is acting way too slow My DBase queries are extremely slow, but they work. I'm doing a query through *7* records in a table and it literally takes 10-20 seconds for each query. I copied the postgresql driver into ~/lib/ext dir. I also added the following to my jboss.jcml file. --- jboss.jcml (JDBC section) - mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.postgresql.Driver/attribute /mbean I *DO NOT* see the messages that should look similiar to this in the jboss output. --- [JDBC] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver [JDBC] Could not load driver:com.sybase.jdbc2.jdbc.SybDriver Any help much appreciated. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] LOCKING-WAITING (CTX)
Hi, this is standard ejb behavior, the Bean gets locked if it is accessed, since on BMP the app-server never knows what you are going to do, right (there is no reson why you shouldn't do some update-statement when reading a value, right?!? So go ahead and read the long and most entertaining discussion on the LOCKING-WAITING-issue in the archive, should be more than 100 postings by now?! Have fun (in short: dev is working on a smart version to come by this issue) Burkhard - Original Message - From: Ernest Chen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 9:36 PM Subject: [JBoss-user] LOCKING-WAITING (CTX) Hi, When I perform jUnit testing with 200 threads on my BMP, there is numerous LOCKING-WAITING, what do I need to change in order to avoid all these locking issues? All I'm doing is to retrieve the EJB by primary key and retrieve it's fields, there is no write. Thanks! Ernest [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 [SecurityUserBean] LOCKING-WAITING (CTX) for id com.starmedia.helix.security.UserPK@88 ctx.hash 6083741 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] NOT NULL constraint
Hi, AFAIK there is a setup parameter which indicates to treat '' as null or as something different, but with oracle and its zillions of knobs to fiddle on, who could remember where this button is?!? Burkhard - Original Message - From: Ludovic Orban [EMAIL PROTECTED] To: Tristan Donaldson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 6:18 PM Subject: Re: [JBoss-user] NOT NULL constraint Hi Tristan, Thanks for your help, but I already developed my bean this way. We managed with Burkhard Vogel to find out what was the error and we discovered that the version of Oracle I'm using (at least) interprets empty strings as NULL values. I don't know if this is a normal behaviour in Oracle or if this is a bug but from my point of view I would say that this isn't a correct behaviour. Ludovic --On vendredi 13 juillet 2001 15:34 +0200 Tristan Donaldson [EMAIL PROTECTED] wrote: You need to provide the ejb with all of the information required for the SQL insert statement in one operation. Hence it needs to be included in the ejbCreate method. Just create a new ejbCreate method which takes in both the primary key and all of the not null fields. eg: public Object ejbCreate(Integer id, String name) { this.id = id; this.name = name; } Another option is to default the name field (but this is doing what the not null field is trying to stop) public Object ejbCreate(Integer id) { this.id = id; this.name = No Provided; } In both of these cases name doesn't need to be part of the primary key. Tristan. ___ 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
Re: [JBoss-user] RE: Clarification about the User Defined Prmary key class
- Original Message - From: Sanjeev.Srinivas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 5:47 PM Subject: [JBoss-user] RE: Clarification about the User Defined Prmary key class My question is : can we use the user defined primary class for ex. UserPK instead of java.lang.Integer, if yes can someone tell weather the ejb-jar.xml file should have entries for both the primark-key-class and primary-key-field ? thanks in advance. [SNIP] HEY, almost 900 lines posted to ask 3 LINES OF QUESTION THIS _MUST_ BE RECORD To your question: Yes you can use your own PK-calls. You usually have to give the class for BMP and CMP. If you use _SIMPLE_ (java.lang.*) type PK-classes you can use primkey-field tags for CMP. So, in short: usually class, eventually field, but than without class. Burkhard ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help
Hi, another one for the record books 885 lines for two lines of question Looks like you use primitives for your CMP-bean and try to set one to null??? Burkhard - Original Message - From: Sanjeev.Srinivas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 12:24 AM Subject: [JBoss-user] TRANSACTION ROLLBACK EXCEPTION - need help i am getting the following exception using MS SQL as dabase and jdbc-odbc driver while runing a client on a CMP running a finder method. below is the trace of the exception [User] java.rmi.ServerException: Load failed; nested exception is: [User] java.lang.NullPointerException [User] java.lang.NullPointerException [User] at java.lang.reflect.Field.set(Native Method) [User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setCMPFieldValue(JDBCComm and.java:654) [User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JD BCLoadEntityCommand.java:117) [User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndH andleResult(JDBCQueryCommand.java:59) [User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.j ava:160) [User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoa dEntityCommand.java:82) [User] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPers istenceManager.java:150) [User] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistence Manager.java:341) [User] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS ynchronizationInterceptor.java:192) [User] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstance Interceptor.java:186) [User] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.ja va:133) [User] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep torCMT.java:263) [User] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:9 9) [User] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. java:190) [User] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) [User] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323) [User] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon tainerInvoker.java:392) [User] at java.lang.reflect.Method.invoke(Native Method) [User] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) [User] at sun.rmi.transport.Transport$1.run(Transport.java:152) [User] at java.security.AccessController.doPrivileged(Native Method) [User] at sun.rmi.transport.Transport.serviceCall(Transport.java:148) [User] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 65) [User] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:706) [User] at java.lang.Thread.run(Thread.java:484) please somebody help. thanks. [SNIP] ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss and PostgreSQL 6.5.3
Hello, I am having trouble using PostgreSQL 6.5.3 with JBoss. I've copied 'jdbc6.5-1.2.jar' file to ${JBOSS_HOME}/lib/ext and changed jboss.jcml in order to load the jdbc driver. Loading the driver succeeds, I see that in my console window during startup. Nothing strange there, although I had to add 'postgresql.Driver' to jboss.jcml instead of 'org.postgresql.Driver'. I created a new database and I made sure that I could make a connection with it using TCP/IP. I verified that using the pgaccess application specifying localhost, 5432 and postgres as user. There is no password required. Still going strong, nothing strange here either. Adding a new datasource using the database mentioned I get this error: [PostgresDS] Starting [PostgresDS] XA Connection pool PostgresDS bound to java:/PostgresDS [PostgresDS] Stopped [PostgresDS] java.lang.NullPointerException [PostgresDS] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165) etc, etc The part of jboss.jcml causing this: mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource, name=PostgresDB attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute attribute name=PoolNamePostgresDS/attribute attribute name=URLjdbc:postgresql://localhost:5432/webuser/attribute attribute name=JDBCUserpostgres/attribute attribute name=Password/attribute /mbean I can not see what I am doing wrong. Am I overlooking the obvious or is PostgreSQL 6.5.3 in combination with jdbc6.5-1.2.jar not suited for the job? If the latter is the case, do I need to upgrade the JDBC driver or do I need to upgrade PostgreSQL to 7.1 along with a newer JDBC driver? For the record I am using Linux, Java version: 1.3.1,Blackdown Java-Linux Team and JBoss 2.2.2 with Tomcat 3.2.2 integrated. Thank you very much, Marcel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss on start up
Just wait 'till the 6.1 kernel comes out; it's gonna be sweet! =P --jason Un Huh. Now, does any have the same problem of the JBoss daemon script running, but the program not actually starting. I am running Red Hat Linux 6.1. I have chosen not to upgrade the kernel beyond 2.2.12-20 because the system is stable and I've had no problems. However, for the smart alecks you can find an excellent tutorial on kernel upgrade for Red Hat here: Upgrading the Linux Kernel on Red Hat Linux systems http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html I've used it before on other Linux boxen I manage. So when you're though laughing, would someone mind addressing the question. Please. r.b. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: Re: [JBoss-user] Setting Accessing Resource Files in JBoss
Hi, just guessing but wouln't you lookup the file from the root-dir if you use /config/ConfigFile.xml??? you are getting the string correctly, right? so the two alternatives would be using something like config/ConfigFile.xml, but I think that will be JBOSS_HOME/bin/config/ConfigFile.xml of suit your /config to match someplace in your file structure, i.e. ../conf/tomcat/ConfigFile.xml. Burkhard - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 1:35 AM Subject: Re: Re: [JBoss-user] Setting Accessing Resource Files in JBoss Wow, Thanks a lot Lorenzo... Now I have better hopes! I still have some Issues with this: I made it to code and deploy a Session bean that access to a resource file from the source code you send me. I got the correct name and location of the file with theResourceName = (String)theInitialContext.lookup(java:comp/env/ + anEvironmentName); here I can see the exact valu I gave in the deployment descriptor (env-entry-value/config/ConfigFile.xml/env-entry-value), I also deployed the file same name and in the same directory in the .jar file. But with java.io.InputStream theInputStream = getClass().getResourceAsStream(theResourceName); I allways get null!! :( (of course I can´t read the Stream afterwards, then I get the NullPointerException) I´ve been working around with this, but nothing helped. Do you guys have any clue? Jorge Suarez Commexnet Co. Medellin, Colombia De: Lorenzo Resta [EMAIL PROTECTED] Fecha: 13-Jul-2001 07:09 Para: [EMAIL PROTECTED] Asunto: Re: [JBoss-user] Setting Accessing Resource Files in JBoss Hi, You can do something like this: First create an environment entry in your ejb-jar.xml file like: env-entry env-entry-nameConfigFile/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-value/config/ConfigFile.xml/env-entry-value /env-entry private String getResourceNameFromEnvironment(String anEnvResourceName) throws NamingException{ String theResourceName; InitialContext theInitialContext = new InitialContext(); theResourceName = (String)theInitialContext.lookup(java:comp/env/ + anEvironmentName); return theResourceName; } private void loadResource(String aEnvResourceName){ String theResourceName = getResourceNameFromEnvironment(aEnvResourceName); java.io.InputStream theInputStream = getClass().getResourceAsStream(theResourceName); } Cheers Lorenzo SurfKitchen Inc. [EMAIL PROTECTED] wrote: Hi to all! I´m almost a newbye to JBoss (and even to J2EE development). I have some issues to be covered in the project we are developing, many of them aim to be solved with having access to a repository and read data from there. Since we don´t want to use the database for that and we cannot access regular files from a EJB according to the J2EE specs, I need to know if it´s possible to deploy a kind of resource file wich can hold my data and access it trought the context or something like that. If this is possible What´s the how to? Where can I find documentation about it? Any alternative? Thanks a lot!! Jorge Suarez Commexnet Co. Medellin, Colombia -- Obtén gratis tu cuenta de correo en StarMedia Email. ¡Regístrate hoy mismo!. http://www.starmedia.com/email -- ___ 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 -- Obtén gratis tu cuenta de correo en StarMedia Email. ¡Regístrate hoy mismo!. http://www.starmedia.com/email -- ___ 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
Re: [JBoss-user] JBoss and PostgreSQL 6.5.3
Hi, Postgres needs a pwd. I won't run otherwise with jdbc. Burkhard - Original Message - From: Marcel Schepers [EMAIL PROTECTED] To: jboss-user [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 5:24 PM Subject: [JBoss-user] JBoss and PostgreSQL 6.5.3 Hello, I am having trouble using PostgreSQL 6.5.3 with JBoss. I've copied 'jdbc6.5-1.2.jar' file to ${JBOSS_HOME}/lib/ext and changed jboss.jcml in order to load the jdbc driver. Loading the driver succeeds, I see that in my console window during startup. Nothing strange there, although I had to add 'postgresql.Driver' to jboss.jcml instead of 'org.postgresql.Driver'. I created a new database and I made sure that I could make a connection with it using TCP/IP. I verified that using the pgaccess application specifying localhost, 5432 and postgres as user. There is no password required. Still going strong, nothing strange here either. Adding a new datasource using the database mentioned I get this error: [PostgresDS] Starting [PostgresDS] XA Connection pool PostgresDS bound to java:/PostgresDS [PostgresDS] Stopped [PostgresDS] java.lang.NullPointerException [PostgresDS] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc e.java:165) etc, etc The part of jboss.jcml causing this: mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource, name=PostgresDB attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l/attribute attribute name=PoolNamePostgresDS/attribute attribute name=URLjdbc:postgresql://localhost:5432/webuser/attribute attribute name=JDBCUserpostgres/attribute attribute name=Password/attribute /mbean I can not see what I am doing wrong. Am I overlooking the obvious or is PostgreSQL 6.5.3 in combination with jdbc6.5-1.2.jar not suited for the job? If the latter is the case, do I need to upgrade the JDBC driver or do I need to upgrade PostgreSQL to 7.1 along with a newer JDBC driver? For the record I am using Linux, Java version: 1.3.1,Blackdown Java-Linux Team and JBoss 2.2.2 with Tomcat 3.2.2 integrated. Thank you very much, Marcel ___ 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
Re: [JBoss-user] SB timeout - passivation - activation failure
Hi, if this id SLSB you have to tweak your container settings, as Mike said, but with SFSB, you should be able to reactive your session?!? SL=stateless, SF=statefull, BUT I'm not 100% sure, since I would call this a design issue having sessions of several hours, there SHOULD be other ways... Burkhard - Original Message - From: Michael Jara [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 10:52 PM Subject: Re: [JBoss-user] SB timeout - passivation - activation failure I haven't done much experimenting with performance settings, but you might be able fix this with some adjustments the container cache policy. See http://www.jboss.org/documentation/HTML/ch06s08.html, the section on Advanced cache configuration. You might try adjusting the max-bean-age setting. (I assume this can apply to stateful session bean timeouts.) Mike - Original Message - From: Mike Finn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 11:40 AM Subject: [JBoss-user] SB timeout - passivation - activation failure If I let a 'connected' client sit around for more than apporx 20 minutes it blows on its next attempt to use a remote method of the SessionBean (only the one session appears to be blown, since I can start a new client session without restarting the server). What I want is to be able to have the client's session stay alive for a very long time (12-15 hours total) and be able to survive 2-3 hours of inactivity. It seems (from the messages below) that my sessions cannot be restored once passivated. Is this a timeout/activation problem that can be fixed by changing my configuration? Is there any more info I can provide to help diagnose the problem? or more simply Help! How can I fix this? Thanks in advance for any help. Mike Server = JBoss-2.2.1_Tomcat-3.2.1 * Messages that seem relevant which appear in server log *** [Bean Cache] Scheduling for passivation overaged bean gb/Session with id = 995041851805 - Cache size = 2 [Bean Cache] Aging out from cache bean gb/Sessionwith id = 995041851805; cache size = 2 [Container factory] Scheduled passivation of bean gb/Session with id = 995041851805 [Container factory] Passivated bean gb/Session with id = 995041851805 ... (other non-relevant stuff) [gb/Session] TRANSACTION ROLLBACK EXCEPTION:$Proxy6; nested exception is: java.rmi.NoSuchObjectException: $Proxy6 [gb/Session] java.rmi.NoSuchObjectException: $Proxy6 [gb/Session]at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:1 7 3) [gb/Session]at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSess i onInstanceInterceptor.java:157) [gb/Session]at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133) [gb/Session]at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. j ava:263) [gb/Session]at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99) [gb/Session]at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) [gb/Session]at org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java: 3 26) [gb/Session]at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI n voker.java:392) [gb/Session]at java.lang.reflect.Method.invoke(Native Method) [gb/Session]at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241) [gb/Session]at sun.rmi.transport.Transport$1.run(Transport.java:142) [gb/Session]at java.security.AccessController.doPrivileged(Native Method) [gb/Session]at sun.rmi.transport.Transport.serviceCall(Transport.java:139) [gb/Session] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443) [gb/Session]at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6 4 3) [gb/Session]at java.lang.Thread.run(Thread.java:484) === Mike Finn Tactical Executive Systems [EMAIL PROTECTED] ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss and PostgreSQL 6.5.3
You're right! Thank you. The postgres user doesn't have a password on my development database, but specifying a bogus password does the trick. Strange, isn't it? Marcel Burkhard Vogel writes: Hi, Postgres needs a pwd. I won't run otherwise with jdbc. Burkhard - Original Message - From: Marcel Schepers [EMAIL PROTECTED] To: jboss-user [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 5:24 PM Subject: [JBoss-user] JBoss and PostgreSQL 6.5.3 Hello, I am having trouble using PostgreSQL 6.5.3 with JBoss. I've copied 'jdbc6.5-1.2.jar' file to ${JBOSS_HOME}/lib/ext and changed jboss.jcml in order to load the jdbc driver. Loading the driver succeeds, I see that in my console window during startup. Nothing strange there, although I had to add 'postgresql.Driver' to jboss.jcml instead of 'org.postgresql.Driver'. I created a new database and I made sure that I could make a connection with it using TCP/IP. I verified that using the pgaccess application specifying localhost, 5432 and postgres as user. There is no password required. Still going strong, nothing strange here either. Adding a new datasource using the database mentioned I get this error: [PostgresDS] Starting [PostgresDS] XA Connection pool PostgresDS bound to java:/PostgresDS [PostgresDS] Stopped [PostgresDS] java.lang.NullPointerException [PostgresDS] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc e.java:165) etc, etc The part of jboss.jcml causing this: mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource, name=PostgresDB attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l/attribute attribute name=PoolNamePostgresDS/attribute attribute name=URLjdbc:postgresql://localhost:5432/webuser/attribute attribute name=JDBCUserpostgres/attribute attribute name=Password/attribute /mbean I can not see what I am doing wrong. Am I overlooking the obvious or is PostgreSQL 6.5.3 in combination with jdbc6.5-1.2.jar not suited for the job? If the latter is the case, do I need to upgrade the JDBC driver or do I need to upgrade PostgreSQL to 7.1 along with a newer JDBC driver? For the record I am using Linux, Java version: 1.3.1,Blackdown Java-Linux Team and JBoss 2.2.2 with Tomcat 3.2.2 integrated. Thank you very much, Marcel ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss and PostgreSQL 6.5.3
I created a new database and I made sure that I could make a connection with it using TCP/IP. I verified that using the pgaccess application specifying localhost, 5432 and postgres as user. Firewall? I had a similar problem with MySQL until a port change was made on my firewall. r.b. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] speaking of firewalls
I have an interesting problem. On one machine the Apache+Tomcat combo is working great with the fire located on the same machine. I have the almost identical setup on another machine, but on this one I'm using another firewall that is not on the same box. On machine #1 the tomcat site comes up with just the regular http://www.site.com URL. On machine #2, that site only comes up if http://www.site.com:8080 is specified. I'm thinking it's a firewall issue, but I'm not sure. Server.xml and workers.properties files are identical, except for the specific JSP directory. Any input appreciated. r.b. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: JBoss-user digest, Vol 1 #1121 - 9 msgs
On Sun, 15 Jul 2001 [EMAIL PROTECTED] wrote: From: Burkhard Vogel [EMAIL PROTECTED] Subject: Re: [JBoss-user] NOT NULL constraint Date: Sun, 15 Jul 2001 16:27:21 +0200 AFAIK there is a setup parameter which indicates to treat '' as null or as something different, but with oracle and its zillions of knobs to fiddle on, who could remember where this button is?!? The SQL-99 standard treats empty strings differently than NULL's. I'm not sure about the latest Oracle (9i?), but in 8i '' [no space] IS a null. ' ' [space] is an empty string. empty string != null. Create a table with not null constraints and insert '' [no space] to see what I mean. kb -- Kenneth Bowen [EMAIL PROTECTED] /\ moc.xobop@newobk newoB htenneK Powered by Debian 2.2 | Mcq! / \ !qcM | 2.2 naibeD yb derewoP ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB RDBMS Issue
Perhaps I did dig a bit too deep into this one. --jason On Sun, 15 Jul 2001, Burkhard Vogel wrote: Hi, just hold your horses, there are loads of legacy apps out there, which have to share the DB with the app-server. Thats why there is the commit option C which danch already mentioned. Burkhard - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 12:00 PM Subject: Re: [JBoss-user] EJB RDBMS Issue The ideal way is to do all such database modifications thru the ejb interface only, but, unfortunately, that is not the case for me. Any inputs on problems i might face? How about, why on earth would you do something like that? What external thingy is going to delete records and leave your application in a state of confusion. Are you trying to write a Microsoft application? I don't think there is part of the EJB spec that says what will happen when some other application deletes a record, drops a table or reboots the database. If it does, let me know... I am in for a good chuckle. On a positive note, you might want to reconsider the usage of entity beans if the case truly is that you can not avoid the situation you described above. Perhaps you want a session facade to a table or perhaps you don't really want an EJB at all. --jason ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Install and Configure interclient driver
- How canI install interclient Driver for Interbase? - How can I configure JBoss to use this driver? - How can I configure DataType Mapping for CMP? (How configure JBoss so that it uses Interbase connection pool as the default data source).
Re: [JBoss-user] BLOB
Just using a CMP byte[] field and map your byte[] to BLOB. Kar - Original Message - From: Jord Sonneveld [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 7:02 AM Subject: RE: [JBoss-user] BLOB you'll need to create a class that implements blob, and knows how to serialize your image according to the blob interface. j\s -Original Message- From: david [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 3:20 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] BLOB Hi, Well, I wonder if it can work, I could find no way in the jdbc spec to create a new blob! So maybe you could read the picture but I don't know how JAWS could insert a new row. I hope I'm wrong, please tell me how. Thanks David Jencks On 2001.07.12 04:31:21 -0400 Burkhard Vogel wrote: Hi, If your DB driver supports blobs, why not (oracle has problems, AFAIK) Burkhard - Original Message - From: Ivan Novick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 9:16 AM Subject: [JBoss-user] BLOB Can an entity bean contain a BLOB type attribute that represents a picture in a database? Ivan ___ 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 ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Install and Configure interclient driver
The documentation says about everything you need, For the JDBC drivers, read http://www.jboss.org/documentation/HTML/ch03.html#Nf02 The MS Windows archive comes with an automatic installer which makes installation pretty easy. Don't forget that for using Interclient, the Interserver must be run in advance. For the configuration of the connection pool read http://www.jboss.org/documentation/HTML/ch03s05.html You can modify the standardjaws.xml file where you set a datasource provide it with the type mapping InterBase You should also provide a jaws.xml with your beans where you disable the auto-creation of tables (Tag create-table). InterBase crashes if you have it switched on. Wei-ju - Original Message - From: Paolo To: JBoss Sent: Sunday, July 15, 2001 11:15 PM Subject: [JBoss-user] Install and Configure interclient driver - How can I install interclient Driver for Interbase? - How can I configure JBoss to use this driver? - How can I configure DataType Mapping for CMP? (How configure JBoss so that it uses Interbase connection pool as the default data source). ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] dbase is acting way too slow
this is general DB-config stuff. the most likely scenario is that you work with Hypersonic (DefaultDS) without noticing. How's that, all my data arrives in the postgresql database successfully. BTW - I'm using jboss-2.2.2_tomcat-3.2.2. I havn't made any changes whatsoever to jboss-auto.jcml. Ok, here's some of the things you asked for. I hope this is the relevant stuff: Much Thanxs. --- jboss.jcml JDBC section -- !-- JDBC -- mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver/att ribute /mbean mbean code=org.jboss.jdbc.HypersonicDatabase name=DefaultDomain:service=Hypersonic attribute name=Port1476/attribute attribute name=Silenttrue/attribute attribute name=Databasedefault/attribute attribute name=Tracefalse/attribute /mbean mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=InstantDB attribute name=PoolNameInstantDB/attribute attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l/attribute attribute name=Properties/attribute attribute name=URLjdbc:idb:../conf/default/instantdb.properties/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUser / attribute name=MaxSize10/attribute attribute name=Password / attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=DefaultDS attribute name=PoolNameDefaultDS/attribute attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l/attribute attribute name=Properties/attribute attribute name=URLjdbc:HypersonicSQL:hsql://localhost:1476/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUsersa/attribute attribute name=MaxSize10/attribute attribute name=Password / attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.postgresql.Driver/attribute /mbean --- startup output --- cassia(build):/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/bin$ ./run_with_tomcat.sh JBOSS_CLASSPATH=:/u/public/jdk1.3/lib/tools.jar:run.jar:../lib/crimson.jar jboss.home = /u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss Using JAAS LoginConfig: file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/conf/tomcat/auth.conf Using configuration tomcat [Info] Java version: 1.3.0,Sun Microsystems Inc. [Info] Java VM: Java HotSpot(TM) Server VM 1.3.0,Sun Microsystems Inc. [Info] System: Linux 2.4.4,i386 [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 25 MBeans [Webserver] Initializing [Webserver] Initialized [Naming] Initializing [Naming] Initialized [JNDIView] Initializing [JNDIView] Initialized [Transaction manager] Initializing [Transaction manager] Initialized [JAAS Security Manager] Initializing [JAAS Security Manager] Initialized [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [Hypersonic] Initializing [Hypersonic] Initialized [InstantDB] Initializing [InstantDB] Initialized [DefaultDS] Initializing [DefaultDS] Initialized [Container factory] Initializing [Container factory] Initialized [EmbeddedTomcatSX] Initializing [EmbeddedTomcatSX] Initialized [JBossMQ] Initializing [JBossMQ] Initialized [DefaultJMSProvider] Initializing [DefaultJMSProvider] Initialized [StdJMSPool] Initializing [StdJMSPool] Initialized [J2EE Deployer Default] Initializing [J2EE Deployer Default] Initialized [Auto deploy] Initializing [Auto deploy] Initialized [RARDeployer] Initializing [RARDeployer] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaNoTransCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaSharedLocalCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaXACMFactory]
[JBoss-user] JMS example needed
Can somebody point me to JMS materials specific for JBoss and also guide through some HelloJms sample? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] SB timeout - passivation - activation failure
Thanks Michael Burkhard I haven't done much experimenting with performance settings, but you might be able fix this with some adjustments the container cache policy. See http://www.jboss.org/documentation/HTML/ch06s08.html, the section on Advanced cache configuration. You might try adjusting the max-bean-age setting. (I assume this can apply to stateful session bean timeouts.)... Michael This might solve an immediate problem but won't do in the long run see below... if this id SLSB you have to tweak your container settings, as Mike said, but with SFSB, you should be able to reactive your session?!? SL=stateless, SF=statefull, BUT I'm not 100% sure, since I would call this a design issue having sessions of several hours, there SHOULD be other ways... Burkhard Maybe a bit more info will help. I am building the server side with EJB's because I very much like the promise of putting business login in a middle tier (in this case an enterprise java app server ie JBoss). Phase one of my project is to build a somewhat traditional client app (Swing in this case) that uses the services of the app server instead of the 2-tier model which invariably would result in some business logic in the client app (yuck - been doing that for far too long). So an office worker using the app needs to authenticate once in the morning and have access all day long... ie. a long stateful session. Passivation is okay (in fact fantastic) but only if (re)activation works. Phase two of the project is to open up access up to business partners and customers via web or tiny-apps. These will also use session beans (hopefully the same one as the former) but will be much shorter lived. So, I am happy to change the bean aging, and even clone the bean so that I can have one that is short-lived and one that is long-lived but the long lived one must be able to be able to survive multiple passivation-activation cyctes until it is cleanly terminated by the client or a suitably long (in the order of hours) timeout occurs. Right now it seems once passivation occurs on the stateful bean the session dissapears into a black hole, and when the server tries to activate it it blows. Surely this is not correct behaviour on part of the server? And this is what I am trying to fix. Sorry for the long winded answer but figured more was better than not enough. Thanks Mike. === Mike Finn Tactical Executive Systems [EMAIL PROTECTED] ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Can not config the connection pool of mssql DB with jdriver of weblogic,show java.lang.NullPointerException
Can not config the connection pool of mssql DB with jdriver of weblogic,show java.lang.NullPointerException Hi,my friends ! I am a beginner of jboss and I want to use mssql server as my database ,but when I follow the steps of the jboss docus to config the jboss, it show me a exception : java.lang.NullPointerException, I cannot find the reasons , any advices make me appreciate ,thanks !!My configurations are below: 1. Envionment Info: Container: JBoss-2.2.1_Tomcat-3.2.1 Java version: 1.3.0,Sun Microsystems Inc. Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems Inc. System: Windows 2000 5.0,x86 DataBase: MSSQL SERVER 2000 2. jdbc driver: I put the weblogic.jar into the director of D:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\ext and config the jboss.jcml ,look below: mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversweblogic.jdbc.mssqlserver4.Driver,oracle.jdbc.driver.OracleDriver,org.gjt.mm.mysql.Driver,org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver/attribute /mbean Note : First I downloaded the jdriver of weblogic : mssqlserver4v70rel510sp8.zip and put it into the director and config the jboss.jcml like up , then start my jboss server ,but the server give me the info of ¡°could not load the driver¡±,then I put the weblogic.jar and it is ok. 3. connection pool And then I continue to config the jboss.jcml and please look below: mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=SQLServerPool attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute attribute name=PoolNameSQLServerPool/attribute attribute name=URLjdbc:weblogic:mssqlserver4:mouse@localhost:1433/attribute attribute name=JDBCUsermouse/attribute attribute name=Password/attribute /mbean 4. Then I delete the jboss-auto.jcml file.(when I config MySQL server,must delete it then it is ok ) 5. the results are below when I finish the config and start the jboss. ¡£¡£¡£¡£¡£¡£ [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:weblogic.jdbc.mssqlserver4.Driver [JDBC provider] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver [JDBC provider] Loaded JDBC-driver:org.gjt.mm.mysql.Driver [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [SQLServerPool] Initializing [SQLServerPool] Initialized ¡£¡£¡£¡£¡£¡£ [JDBC provider] Starting [JDBC provider] Started [SQLServerPool] Starting [SQLServerPool] XA Connection pool SQLServerPool bound to java:/SQLServerPool [SQLServerPool] Stopped [SQLServerPool] java.lang.NullPointerException [SQLServerPool] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon nection(XAPoolDataSource.java:165) [SQLServerPool] at org.jboss.jdbc.XADataSourceLoader.startService(XAData SourceLoader.java:330) [SQLServerPool] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean Support.java:93) [SQLServerPool] at java.lang.reflect.Method.invoke(Native Method) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [SQLServerPool] at org.jboss.util.ServiceControl.start(ServiceControl.ja va:97) [SQLServerPool] at java.lang.reflect.Method.invoke(Native Method) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [SQLServerPool] at org.jboss.Main.init(Main.java:203) [SQLServerPool] at org.jboss.Main$1.run(Main.java:107) [SQLServerPool] at java.security.AccessController.doPrivileged(Native Me thod) [SQLServerPool] at org.jboss.Main.main(Main.java:103) [Service Control] Could not start DefaultDomain:service=XADataSource,name=SQLSer verPool [Service Control] java.lang.NullPointerException [Service Control] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon nection(XAPoolDataSource.java:165) [Service Control] at org.jboss.jdbc.XADataSourceLoader.startService(XAData SourceLoader.java:330) [Service Control] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean Support.java:93) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Service Control] at org.jboss.util.ServiceControl.start(ServiceControl.ja va:97) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628)
Re: [JBoss-user] JMS example needed
Here is a quick link from jBoss.org : http://jboss.org/documentation/HTML/ch07s03.html SC - Original Message - From: Boris Garbuzov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 4:53 PM Subject: [JBoss-user] JMS example needed Can somebody point me to JMS materials specific for JBoss and also guide through some HelloJms sample? ___ 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
Re: [JBoss-user] isModified Method
Thanks guys for your replies. I actually browsed through the source code and found the isModified function name hard-coded. So I just wanted to know whether is there any plan to make it settable just like in weblogic server. I will try to stick to the name isModified. I'm very happy to see the mailing list so active and I am very surprised to know that I'm getting replies very fast. Keep it up. One day Jboss will become the best app server in the market just like apache web server. ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸ Thanks Best Regards, Mustaffa Syed Meerkasim. ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø, ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMX Bug
Using v2.4.0 Beta out of the box ( unzip and call run.bat ) I find the following error message in the server.log: [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=JmsXA,service=ConnectionFactoryLoader' [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=MinervaDS,service=ConnectionFactoryLoader' The version 2.2.2 server.log also gave one similar message: [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=BlackBoxDS,service=ConnectionFactoryLoader' What is the problem? Ralph ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] cloudscape only
Are you sure, you removed *every* reference to Hypersonic ? Note that, if you run jboss once there is a jboss-auto.jcml which also contains references to the hypersql database. Be sure that jboss-auto.jcml only contains ?xml version=1.0 encoding=UTF-8? server /server If you have a version with an embedded JSP Engine then check if you modified the configuration files in the correct configuration directory, there are two in this case (one is default the other one is tomcat or jetty) Hope that helps, Wei-ju - Original Message - From: ralph [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 4:47 AM Subject: [JBoss-user] cloudscape only I want to remove all databases from jboss and use only Cloudscape, but I didn't manage yet. I removed all references to Hypersonic and InstantDB from jboss.jcml but still the server.log and messages to standard output say that Hypersonic and InstantDB servers are being started. Also the startup process hangs after the messages [Hypersonic] Server 1.4 is running [Hypersonic] Press [Ctrl]+[C] to abort. What is the problem? What causes jboss to start Hypersonic and InstantDB even after removing the entries from jboss.jcml ? Thanks Ralph ___ 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
[JBoss-user] setting up cocoon
hi i have a problem with setting up cocoon with jboss-tomcat. probably, there was already an answer in this mailing list but the search engine isn't working. so, can anybody help me? i've successfully set up cocoon with tomcat standalone. but can't do it with jboss. i've put all needed jar files in %tomcat_home%\lib, made %tomcat_home%\webapps\coocon directory and put there web.xml and cocoon.properties and i've put xerces_1_2.jar into %jboss_home%\lib. when i try to load localhost:8080\cocoon\Cocoon.xml i get exception concerning utils.xsl (resource not found). i've heard that there is a way to correct it by changing some method call in the source. could you help me, please? ALex ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMS queue deployment
Tzuri3l Status here... Posts: 9 From: Since: Jul, 2001 Re: JMS queue deployment Posted: Jul 15, 2001 11:32 PM » Reply I think I'm getting closer, but still not there. When starting jboss, I get the following error. [Container factory] No resource manager found for jms/managerQueue [Container factory] No resource manager found for jms/QueueConnectionFactory I'd appreciate any help on checking my configuration. Thnxs. --- MySessionBean.java - queueConnectionFactory = (QueueConnectionFactory) ctx.lookup(java:comp/env/jms/managerQueueConnectionFactory); queue = (Queue) ctx.lookup(java:comp/env/jms/managerQueue); --- ejb-jar.xml ... session ejb-nameInitializeBuild/ejb-name homecom.neuroquest.cais.ejb.session.initBuild.InitBuildHome/home remotecom.neuroquest.cais.ejb.session.initBuild.InitBuild/remote ejb-classcom.neuroquest.cais.ejb.session.initBuild.InitBuildBean/ejb-clas s session-typeStateful/session-type transaction-typeContainer/transaction-type ejb-ref ejb-ref-nameejb/BuildKit/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homecom.neuroquest.cais.ejb.entity.build.BuildHome/home remotecom.neuroquest.cais.ejb.entity.build.Build/remote ejb-linkBuildKit/ejb-link /ejb-ref resource-ref res-ref-namejms/QueueConnectionFactory/res-ref-name res-typejavax.jms.QueueConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejms/managerQueue/res-ref-name res-typejavax.jms.Queue/res-type res-authContainer/res-auth /resource-ref /session --- jboss.xml ... resource-managers resource-manager res-nameQueueConnectionFactory/res-name res-jndi-namejava:/JmsXA/res-jndi-name /resource-manager resource-manager res-namemanagerQueue/res-name res-jndi-namejms/managerQueue/res-jndi-name /resource-manager /resource-managers enterprise-beans session ejb-nameInitializeBuild/ejb-name jndi-nameejb/InitializeBuild/jndi-name resource-ref res-ref-namejms/managerQueue/res-ref-name resource-namemanagerQueue/resource-name /resource-ref /session ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JMX Bug
Hi, This is really no problem. It is a known bug in JMX-RI. JBoss detects it, logs it, and works around it. Best Regards, Ole Husgaard. ralph wrote: Using v2.4.0 Beta out of the box ( unzip and call run.bat ) I find the following error message in the server.log: [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=JmsXA,service=ConnectionFactoryLoader' [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=MinervaDS,service=ConnectionFactoryLoader' The version 2.2.2 server.log also gave one similar message: [Configuration] Detected JMX Bug: Server reports attribute 'ConnectionManagerFactoryName' is not writeable for MBean 'JCA:name=BlackBoxDS,service=ConnectionFactoryLoader' What is the problem? Ralph ___ 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
Re: [JBoss-user] dbase is acting way too slow
Ok, I've found a few mis-configurations problems in my jboss.jcml, but after fixing them and now that I understand it a bit more, they still don't seem to be taking. My postgresql database still works, but is very, very, very slow. --- jboss.jcml --- !-- -- !-- -- !-- -- mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.postgresql.Driver/attribute /mbean !-- mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute name=Driversorg.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver/att ribute /mbean -- !-- mbean code=org.jboss.jdbc.HypersonicDatabase name=DefaultDomain:service=Hypersonic attribute name=Port1476/attribute attribute name=Silenttrue/attribute attribute name=Databasedefault/attribute attribute name=Tracefalse/attribute /mbean -- mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=InstantDB attribute name=PoolNameInstantDB/attribute attribute name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attr ibute attribute name=Properties/attribute attribute name=URLjdbc:idb:../conf/default/instantdb.properties/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUser / attribute name=MaxSize10/attribute attribute name=Password / attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=DefaultDS attribute name=PoolNameDefaultDS/attribute attribute name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attr ibute attribute name=Properties/attribute attribute name=URLjdbc:HypersonicSQL:hsql://localhost:1476/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUsersa/attribute attribute name=MaxSize10/attribute attribute name=Password / attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean --- jboss output cassia(build):/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/bin$ ./run_with_tomcat.sh JBOSS_CLASSPATH=:/u/public/jdk1.3/lib/tools.jar:run.jar:../lib/crimson.jar jboss.home = /u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss Using JAAS LoginConfig: file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/auth.conf Using configuration tomcat [root] Started Log4jService, config=file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/log4j.prope rties [Info] Java version: 1.3.0,Sun Microsystems Inc. [Info] Java VM: Java HotSpot(TM) Server VM 1.3.0,Sun Microsystems Inc. [Info] System: Linux 2.4.4,i386 [Shutdown] Shutdown hook added [Service Control] Initializing 28 MBeans [WebService] Initializing [WebService] Initialized [NamingService] Initializing [NamingService] Initialized [JNDIView] Initializing [JNDIView] Initialized [TransactionManagerService] Initializing [TransactionManagerService] Initialized [ClientUserTransactionService] Initializing [ClientUserTransactionService] Initialized [JaasSecurityManagerService] Initializing [JaasSecurityManagerService] Initialized [JdbcProvider] Initializing [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver [JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JdbcProvider] Initialized [HypersonicDatabase] Initializing [HypersonicDatabase] Initialized [XADataSourceLoader] Initializing [XADataSourceLoader] Initialized [XADataSourceLoader] Initializing [XADataSourceLoader] Initialized [ServerDataCollector] Initializing [ServerDataCollector] Initialized [ContainerFactory] Initializing [ContainerFactory] Initialized [EmbeddedTomcatServiceSX] Initializing [EmbeddedTomcatServiceSX] Initialized [JBossMQService] Initializing ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user