[JBoss-user] ÊÖ»ú¼Û×îµÍ£¬·þÎñÕæÂúÒâ¡£

2002-05-21 Thread friend
ÄúºÃ£º ÎÒ·¢ÏÖÁËÒ»¸öÂôÊÖ»úµÄÍøÕ¾£¬¼Û¸ñ¾ªÈ˵ıãÒË£¬ºóÀ´Á˽⵽´ËÍøÕ¾ÊǹúÄÚÒ»¼Ò±È½Ï´óµÄÊÖ»úÅú·¢É̽¨ÉèµÄÍøÕ¾£¬ºÜ¶àÍøÓÑͨ¹ý´ËÍøÕ¾Âòµ½Á˳ÆÐÄÈçÒâµÄÊÖ»ú£¬È«²¿ÊÖ»ú¶¼ÊÇÕýÆ·Ðлõ£¬ÊÛºó·þÎñºÜºÃ¡£ÍøÕ¾ÄÚÈÝÒ²ºÜ·á¸»£¬¼¸ºõ°üÀ¨ÁËÊÖ»úµÄ·½·½ÃæÃ棬¶ÔÄú¿Ï¶¨ÓаïÖú£¬ÌرðÍƼö¸øÄã¡£ÍøַΪ£º

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Michael Delamere
I´m using a mysql-database and inserted the new entry using a php-based tool called phpMyAdmin. Thanks, Michael - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:10 AM Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Dmitri Colebatch
and I'm guessing that if you do this: 1. start jboss 2. request jsp (get list of objects) 3. insert new row 4. request jsp (dont see new objects) 5. stop and start jboss 6. request jsp I assume that at step 6 you do see the new object? - Original Message - From: Michael Delamere [EMAIL

Re[2]: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Alex Loubyansky
Hello Michael, Tuesday, May 21, 2002, 4:33:40 AM, you wrote: MD . which works fine except that after hitting refresh, I don´t get the MD new entry that I manually entered into the DB. I haven´t managed to get MD into any depth in terms of commiting or autocommit. I´ll have to do MD that

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Michael Delamere
yes, at step 6 I see the new object. What´s more peculiar is that when I change an exsiting entry using phpMyAdmin that _does_ show up! It´s only when adding a _new_ record manually that the change doesn´t appear. Thanks Michael - Original Message - From: Dmitri Colebatch [EMAIL

Re: [JBoss-user] Rollback failed

2002-05-21 Thread Alex Loubyansky
Hello Boris, I guess, it's MySQL problem. I haven't got MySQL handling rollbacks and even don't know whether it's able to do it. Tuesday, May 21, 2002, 5:29:54 AM, you wrote: BT Jboss 3.0.0RC3 BT Database Mysql with jdbc driver mm.mysql-2.0.13-bin.jar (that included in BT lib directory of

Re: Re[2]: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Dmitri Colebatch
It looks like like you have to set a correct commit option and transaction type as was stated by Stephen. It should help: http://www.jboss.org/online-manual/HTML/ch07s16.html If my understanding is wrong here, I'd appreciate it if someone could correct me but, from the spec (EJB 1.1 -

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Dmitri Colebatch
yes, at step 6 I see the new object. What´s more peculiar is that when I change an exsiting entry using phpMyAdmin that _does_ show up! It´s only when adding a _new_ record manually that the change doesn´t appear. from that I'd suggest that you're using commit option B or C (or a very small

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Michael Delamere
Hi, again, thanks for your time. Somebody else mentioned the pool size when I mentioned an error I was getting which said The Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded. You should change pool parameters. I don´t know what the optimal pool settings are. In my

Re[2]: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Alex Loubyansky
Hello Michael, not that pool :) There is a pool for beans. Look at standardjboss.xml. You'll find container-configuration there for different beans. There are settings for pool management. Also read online docs. alex Tuesday, May 21, 2002, 11:27:32 AM, you wrote: MD Hi, MD again, thanks for

Re: Re[2]: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Michael Delamere
Thanks, I think I?ll have to do _lots_ of reading :) because that file is huge! Regards, Michael - Original Message - From: Alex Loubyansky [EMAIL PROTECTED] To: Michael Delamere [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 10:29 AM Subject: Re[2]: [JBoss-user]

Re[2]: [JBoss-user] Rollback failed

2002-05-21 Thread Alex Loubyansky
Hello Alex, This http://www.innodb.com/howtouse.html says it's possible :) Good luck, alex Tuesday, May 21, 2002, 10:15:02 AM, you wrote: AL Hello Boris, AL I guess, it's MySQL problem. I haven't got MySQL handling rollbacks AL and even don't know whether it's able to do it. AL Tuesday,

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Simon Stewart
On Thu, May 16, 2002 at 07:42:38PM -0400, David Jencks wrote: Basically we decided that we would initially support visibility between deployment packages with hot-redeploy, since this is a feature previously unavailable anywhere as far as I know. How do you go about using this? One of my

[JBoss-user] Basic question on db connection (JBoss 3)

2002-05-21 Thread Andre Selton
Hi, How I can access a database from a connection ? Looking at the j2ee connector spec I can find the first steps to do this connection are : Context initctx = new InitialContext(); ConnectionFactory cfx = (ConnectionFactory) initctx.lookup(java:/DefaultDS);

Re: [JBoss-user] Basic question on db connection (JBoss 3)

2002-05-21 Thread Alex Loubyansky
Hello Andre, Tuesday, May 21, 2002, 3:47:57 PM, you wrote: AS Hi, AS How I can access a database from a connection ? AS Looking at the j2ee connector spec I can find the AS first steps to do this connection are : AS Context initctx = new InitialContext(); javax.sql.DataSource

[JBoss-user] 'help'

2002-05-21 Thread Jazci . Nijjar
___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] Basic question on db connection (JBoss 3)

2002-05-21 Thread David Jencks
There are 2 halves to the jca spec. We use the spi half for everything. For a database we do not use cci but rather jdbc javax.resource.cci.ConnectionFactory replaced by javax.sql.DataSource javax.resource.cci.Connection replaced by java.sql.Connection There are a couple of jca wrappers

Re: [JBoss-user] JBoss 3.0 ClassLoader Architecture

2002-05-21 Thread David Ward
Scott, Thank you very much for this! A few questions/requests, though: 1) In your document, you state (concerning the WAR Loader): The WAR Loader is a servlet container specific ClassLoader that delegates to the Web ENCLoader as its parent class loader. The default behavior is to

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Stefan Arentz
On Tuesday, May 21, 2002, at 10:27 AM, Michael Delamere wrote: Hi, again, thanks for your time. Somebody else mentioned the pool size when I mentioned an error I was getting which said The Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded. You should change pool

Re: [JBoss-user] XML Object persistence

2002-05-21 Thread Burkhard Vogel
Hi, I guess you are using CMP, and moreover I guess you are on JBoss3... (Your OS and JDK I can't really guess). So what you can do is modify the JDBC-mapping to store your java.lang.Object/String/whatever to a specific database type (Is there a xml-type in Oracle??) On the other hand, if you are

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-21 Thread Justin Casp
I am getting the very same error message in a very similar use case. The only difference I can see is that all the methods of the offending bean are set to 'Required' rather than 'RequiresNew'. The error occurs when I try to call the get methods of the bean through a local interface in a

[JBoss-user] couple quick oracle-service.xml questions

2002-05-21 Thread David Ward
1) In the old 2.4 jboss.jcml, we would set this attribute for the org.jboss.tm.TransactionManagerService mbean: attribute name=XidClassNameoracle.jdbc.xa.OracleXid/attribute I don't see a place for this any more in oracle-service.xml in jboss-3.0.0RC3. Is this not needed anymore? If it

Re: [JBoss-user] jboss 3 unpacked webapps

2002-05-21 Thread Burkhard Vogel
Hi, I guess this has been on this list 1000 times... create a directory named $JBOSS_HOME/server/default/deploy/your-application.ear and lay out your application as it would in the ear... Regards, Burkhard - Original Message - From: jelmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-21 Thread Michael Delamere
MyISAM Thanks, Michael - Original Message - From: Stefan Arentz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:41 PM Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2 On Tuesday, May 21, 2002, at 10:27 AM, Michael Delamere wrote: Hi, again, thanks

Re: [JBoss-user] error when redeploying ear file

2002-05-21 Thread Michael Delamere
Yes, I did. Strangely enough it worked after updating to struts 1.1! Thanks, Michael - Original Message - From: James Ward [EMAIL PROTECTED] To: Michael Delamere [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:51 PM Subject: RE: [JBoss-user] error when redeploying ear file Cool!

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Simon Stewart
I use ant so only the changed class files are being copied over, and no, the new changes are not being noticed. I'm developing using a file structure rather than an EAR file for easy updating of bits and bobs, if that sheds any light. BTW, does the hot-redeploy completely remove the app and

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Scott M Stark
A complete redploy. Touch the META-INF/application.xml descriptor to redeploy. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Simon Stewart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21,

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread danch
Simon Stewart wrote: I use ant so only the changed class files are being copied over, and no, the new changes are not being noticed. I'm developing using a file structure rather than an EAR file for easy updating of bits and bobs, if that sheds any light. Try 'touch'ing the descriptor(s)

RE: [JBoss-user] Rollback failed

2002-05-21 Thread JD Brennan
Title: RE: [JBoss-user] Rollback failed I think MySQL uses ISAM tables by default which don't support transactions (and therefore don't support rollback). If you use INNODB tables with MySQL you should be able to do transactions and rollback. JD -Original Message- From: Alex

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-21 Thread Jon Swinth
Thanks Justin for sharing the pain. I thought I was alone. I am very interested to see the source where you have duplicated this issue. I would like you to also include your ejb-jar.xml sections. If I can find the exact situation, I may be able to come up with a test case, a work around,

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Simon Stewart
Ahhh Light dawns. Curiously, I get a ClassCastException when I redeploy a previously working app by touching the application.xml. I'm using CMP 2.x and attempting to get hold of a LocalHome object. Not a line of code has changed, and nothing else has been touched. This using the JBoss 3RC3

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-21 Thread Justin Casp
Jon, Here is the original forum post that I found that talks about the same error in a similar case: http://main.jboss.org/forums/thread.jsp?forum=47thread=11678 they talked about messing with the AutoCommit property of the oracle driver. I'm not sure if our problems are related to this or

RE: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Paul Cody
Just curious where you are getting the ClassCastException. In particular, where are you getting a reference to the object that triggers the exception? [Probably JNDI, but I'm just asking...] Note that a class 'Foo' loaded from classloader A and the same class 'Foo' loaded from classloader B are

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-21 Thread Jon Swinth
Thanks, Justin, for the quick response. I had hoped that there would be simularities between the two issues, but I don't see any other than the error message. I am using PostGre on the same machine as JBoss. I have other code that does something very simular to yours without issue. I guess

RE: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Jeff Schnitzer
I find that I get a ClassCastException after a redeploy when trying to obtain a local session ejb whose interface I had stored in the http session. I don't know if this is correct behavior or not, but it hasn't really been a problem for me, so I haven't worried about it. On 3.0RC2, if it

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb-jars in Different EARs

2002-05-21 Thread Scott M Stark
Its expected if this is a session in web app outside of the redeployed ear. It should not happen if the web app is part of the ear as no sessions should survive. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message -

Re: [JBoss-user] Need Hints on Finding Tx Bug

2002-05-21 Thread Jon Swinth
Well Justin, I have solved the issue, although I think this may qualify for a bug. Basically, it boils down to returning null in a custom finder. I couldn't find documentation on implementing a custom finder in which a single record was returned instead of a Collection. The method signiture

RE: [JBoss-user] flush=true

2002-05-21 Thread Jonathan Ackerman
Simply add the flush attribute to your include tag... This however gives rise to another problem in that you cannot flush if you are inside a custom tag (i.e. a tag that wraps around the jsp:include tag). Jonathan -Original Message- From: Mahesh Agarwal [mailto:[EMAIL PROTECTED]] Sent:

Re: [JBoss-user] flush=true

2002-05-21 Thread Ingo Bruell
Hi Mahesh, MA I am facing this error, can anyone please help me out solving this. It looks like you have forgotten to set the flush attribute. Use something like this: jsp:include /bla flush=true/ so long Ingo Bruell --- [EMAIL PROTECTED] [EMAIL PROTECTED] ICQ# 40377720 Oldenburg

[JBoss-user] flush=true

2002-05-21 Thread Mahesh Agarwal
Hi All I am facing this error, can anyone please help me out solving this. Thanks a lot Mahesh org.apache.jasper.compiler.CompileException: C:\JBoss-2.4.4_Tomcat-3.2.3\tomcat\webapps\zeborg\jsp\zeborg\buyer\MarketSum mary.jsp(76,36) jsp:include needs to have flush=true at

[JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone

2002-05-21 Thread Jon Swinth
I have been using JBoss and Tomcat 4.0.3 standalone for a number of months now. In order to connect from the servlet to JBoss I use the following: Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);

Re: [JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone

2002-05-21 Thread Scott M Stark
You need the client/jnet.jar Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Jon Swinth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:09 PM Subject: [JBoss-user] RC3 breaks Tomcat

[JBoss-user] RE: [JBoss-dev] flush=true

2002-05-21 Thread Bill Burke
Do not email jboss-dev on these issues. Anyways. jsp:include requires a flush=true attribute. Read the spec. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mahesh Agarwal Sent: Tuesday, May 21, 2002 6:09 PM To: [EMAIL PROTECTED] Cc: [EMAIL

[JBoss-user] Binding RMI object into JNDI

2002-05-21 Thread Jeff Schnitzer
I've got a little design question: My EJBs need to call out to a singleton object running as an RMI server. Because the RMI singleton needs to initialize itself with EJB data, it's already an application client. I'm wondering: Can I bind my RMI object into JNDI, and dispense with the

[JBoss-user] Using firebird on Windows

2002-05-21 Thread Andre Selton
Hi, I was able to use Firebird to store data from a Entity bean using Container Manager Persistence on a Linux plataform. But when I copy this same EJB project to a plataform with Windows 2000 and Firebird I am not able to get the connection. There are something I need to know ? I am

[JBoss-user] Jboss 3.0 How-To guide and Sample Code?

2002-05-21 Thread Holten Norris
Hello - I'm wondering where I might find a basic Jboss 3.0 how-to type README file which explains basic stuff like how to set up my environment variables for the jboss-3.0.0RC1_tomcat-4.0.3 release. I'm also trying to find some very simple sample applications which illustrate how to

Re: [JBoss-user] [ERROR,ContainerFactory] ... valid types for RMI/IIOP

2002-05-21 Thread Guy Rouillier
Visible as in the JBoss classloader can find it. The class is in the JBoss classpath somehow, either in the jar with the EJB, in lib/ext, or in JBOSS_CLASSPATH or a classpath extension. Definition is complete means that you don't get any warnings about undefined exceptions, etc. -

Re: [JBoss-user] Using firebird on Windows

2002-05-21 Thread David Jencks
I have never tried the FBManager on windows. Is the .gdb file created properly? Can you access the windows db with isql? It's hard for me to help much with windows since I don't use it. Some people have succeeded in at least running the firebird driver in windows, I'm not so sure about with