[JBoss-user] webTierEntryPoint threw exception
Hi, I am running Jboss-2.4.4_tomcat-4.0.1 and the servlet always throws an exception. Does any know the solution to this problem. ERROR 30 Apr 2002 14:01:54, 189 [HttpProcessor[8080][3]] jboss.web.catalina.Embe ddedCatalinaServiceSX - StandardWrapperValve[webTierEntryPoint]: Servlet.service () for servlet webTierEntryPoint threw exception javax.servlet.ServletException: com/sun/xml/tree/XmlDocument at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon textImpl.java:457) Thanks Lac La mailto:[EMAIL PROTECTED] Business Manager Software Tel: (03) 9813 3022 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] clustering question
I don't see a response yet from the experts...so I will jump in. Don't use commit option A with clustering, and do use whatever your database supplies for select for update. The clustering implemention relies on database locking to synchronize the different copies of entities. I actually don't know of any other way to get consistency, but would be interested in finding out if there are other ways. david jencks On 2002.04.29 17:14:51 -0400 Dennis Muhlestein wrote: > Let's say I cluster two jboss servers and I have an Entity Bean with > commit option A. > > Are the attributes of the Entity Bean clustered? ie: user on server 1 > calls a set Method, then user on server 2 calls the get method for that > attribute. Can I expect the attribute to be current on server 2? > > If the data wasn't clustered I would say no because server 2 would think > it has exclusive access to the data (commit option A) so it wouldn't > load it. I want to know if the clustering broadcasts the attribute > changes?? > > Thanks > Dennis > > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJX XML editor
Title: EJX XML editor Its gone as it has not been supported since at least 2.0. Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 29, 2002 2:41 PM Subject: [JBoss-user] EJX XML editor where is it on the windows installation of v2.4.5-RC2 ??? (file /bin/ejx.jar does not exist.) Thanks, Kevin
Re: [JBoss-user] EJX XML editor
[EMAIL PROTECTED] wrote: > where is it on the windows installation of v2.4.5-RC2 ??? > > (file /bin/ejx.jar does not exist.) > > Thanks, > > Kevin > It is officially dead I think. Use xdoclet.sourceforge.net instead. Much better. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] EJX XML editor
Title: EJX XML editor where is it on the windows installation of v2.4.5-RC2 ??? (file /bin/ejx.jar does not exist.) Thanks, Kevin
[JBoss-user] clustering question
Let's say I cluster two jboss servers and I have an Entity Bean with commit option A. Are the attributes of the Entity Bean clustered? ie: user on server 1 calls a set Method, then user on server 2 calls the get method for that attribute. Can I expect the attribute to be current on server 2? If the data wasn't clustered I would say no because server 2 would think it has exclusive access to the data (commit option A) so it wouldn't load it. I want to know if the clustering broadcasts the attribute changes?? Thanks Dennis signature.asc Description: This is a digitally signed message part
[JBoss-user] MONTREAL training June 10-12
It just pisses me off, You ask for it, we go through the pain of scheduling it and reserving rooms etc etc and not very many people sign up. If we don't get a 10 person minimum, we will have to cancel this training. That would be a shame considering training is a prerequisite for JBoss services partners and the fact that Montreal is not that far from NYC and Boston and the US Northeast in general. This is the brand new training on JBoss 2.4 (production usage) and 3.0 (development). If you are serious about JBoss you should be there. Plus I will soon be handing over the training legacy to others in JBoss Group. This may be your last chances in North America to see me live. Discount deadline is May 15. Putain de Quebecois, vous n'etes pas mieux que les francais. Dieu merci pour les allemands, les britons et les scandinaves. Eux, au moins, il font de l'open source professionelle. marcf x Marc Fleury, Ph.D President JBoss Group, LLC x ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Commit options
I see that jboss 2.4 has a commit option D. Is this supported on jboss 3.x also? I thought that was the behavior on 2.4.x, as I saw that the data manually modified in the DB was discovered by jboss after about 20 minutes, but is that another timeout, or is it just that the data was used by jboss, and therefore discovered while accessing it? Why is B default now? Marius K Boostcom ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] cmr as part of pk
Indeed, as I guess, the question is not correctly asked. Because, it is possible if the table is wholly dedicated to handle the relationship. But if the table has other fields and considered like a bean the answer in no. Right? Thanks, alex > -Original Message- > From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 8:56 PM > To: [EMAIL PROTECTED] > Cc: Jboss-User (E-mail) > Subject: Re: [JBoss-user] cmr as part of pk > > > Alex Loubyansky wrote: > > > Is it possible for cmr field to be a part of the primary key? > > > No. This is planned for JBoss 3.1. > > > -dain > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] cmr as part of pk
Alex Loubyansky wrote: > Is it possible for cmr field to be a part of the primary key? No. This is planned for JBoss 3.1. -dain ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Custom Container Configuration in jboss.xml
Thanks Much, In trying to deploy with a new configuration, I started getting a lot of errors like missing container-invoker, invalid instance-cache, etc etc. According to the DTD, those elements are all optional. I thought I could provide a simple configuration with only the change I wanted and the rest would be defaulted. Like this... Commit A A Do I have to provide each element or is there something else I'm missing? Thanks Dennis On Mon, 2002-04-29 at 10:26, Alex Loubyansky wrote: > Yes, you can. Look at this > http://www.jboss.org/online-manual/HTML/ch07s16.html > > alex > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis > > Muhlestein > > Sent: Monday, April 29, 2002 5:26 PM > > To: [EMAIL PROTECTED] > > Subject: Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection > > PerformanceKiller > > > > > > It makes sense to change the commit option for transactions for > > performance tuning. I have one Entity Bean that I think would fit > > option A better, and others that fit option B better. > > > > Can I customize each entity bean? I tried putting read-only > > to true on > > the one bean, but the container still loaded it before each > > transaction. > > (Option B). I don't want to change everything to option A. > > > > Thanks > > -Dennis > > > > > > On Fri, 2002-04-26 at 10:29, Dan Christopherson wrote: > > > First, the re-fetch you see between your two tests is > > because of the > > > commit option. Option B (default in 3.0) doesn't cache data between > > > transactions, although the bean instances will be cached. > > If you aren't > > > clustering and your data can't be modified from anywhere > > else, you can > > > change standardjboss.xml to use Option A instead. > > > > > > As to why you need the user transaction, what kind of > > object are you > > > calling from? If it's a client, well then you need a > > UserTransaction. If > > > it's a session bean, then make sure your session bean's > > method is in a > > > transaction with type of Required or RequiresNew. > > > > > > hth, > > > danch > > > > > > Frank Morton wrote: > > > > > > > > If I wrap it with a UserTransaction, things look good, but I don't > > > > see why I would have to do so. And, if I do, I have many places > > > > where I will have to do the same thing, which I would > > like to avoid. > > > > > > > > Without wrapping in my own transaction, when trying to > > get a single > > > > property from a single element in the Collection, it > > loads the whole > > > > Collection. I don't understand why it would do it twice, let alone > > > > for each element in the Collection. I also don't understand if it > > > > is a function of the commit options, config or it is not working > > > > as expected. > > > > > > > > > > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > signature.asc Description: This is a digitally signed message part
RE: [JBoss-user] Some problems using JBOSS
Title: RE: [JBoss-user] Some problems using JBOSS I think the fix for this is to add ;SelectMethod=cursor to the JDBC URL: jdbc:microsoft:sqlserver://sqlhost:1433;SelectMethod=cursor JD -Original Message- From: Cheik Tidiane Dieng [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:01 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Some problems using JBOSS 1_question: I'm using Jboss on MS SQLSERVER2000, and I have some problems when running my CMP Bean.I receive on the output a SQL SERVER 2000 DRIVER FOR JDBC ERROR [15:51:25,503,ContainerFactory] Deployed application: [15:51:25,503,J2eeDeployer] J2EE application: file:/C:/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap5-ex2.jar is deployed. [15:51:28,898,ProductBean] setEntityContext:, kry=null [15:51:28,908,ProductBean] ejbCreate: kry=Product0 [15:51:28,908,JAWSPersistenceManager] Create, id is Product0 [15:51:28,919,JAWSPersistenceManager] Exists command executing: SELECT COUNT(*) FROM ProductBean WHERE kry=? [15:51:28,999,JAWSPersistenceManager] Set parameter: idx=1, jdbcType=VARCHAR, value=Product0 [15:51:29,019,JAWSPersistenceManager] Create command executing: INSERT INTO ProductBean (major,description,minor,kry) VALUES (?,?,?,?) _ [15:51:29,019,PreparedStatementFactory] Error creating prepared statement. java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Can't start a cloned connection while in manual transaction mode. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) __ 2- question I want to use a socket to get connection on a server.The connect method is one of the methods on my session bean. Is it possible to use socket with ejb? how can I read on my socket ? (we can't use java.io package) If yes is it possible to have a short example. Thanks for yor help ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Some problems using JBOSS
1_question: I'm using Jboss on MS SQLSERVER2000, and I have some problems when running my CMP Bean.I receive on the output a SQL SERVER 2000 DRIVER FOR JDBC ERROR [15:51:25,503,ContainerFactory] Deployed application: [15:51:25,503,J2eeDeployer] J2EE application: file:/C:/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap5-ex2.jar is deployed. [15:51:28,898,ProductBean] setEntityContext:, kry=null [15:51:28,908,ProductBean] ejbCreate: kry=Product0 [15:51:28,908,JAWSPersistenceManager] Create, id is Product0 [15:51:28,919,JAWSPersistenceManager] Exists command executing: SELECT COUNT(*) FROM ProductBean WHERE kry=? [15:51:28,999,JAWSPersistenceManager] Set parameter: idx=1, jdbcType=VARCHAR, value=Product0 [15:51:29,019,JAWSPersistenceManager] Create command executing: INSERT INTO ProductBean (major,description,minor,kry) VALUES (?,?,?,?) _ [15:51:29,019,PreparedStatementFactory] Error creating prepared statement. java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Can't start a cloned connection while in manual transaction mode. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) __ 2- question I want to use a socket to get connection on a server.The connect method is one of the methods on my session bean. Is it possible to use socket with ejb? how can I read on my socket ? (we can't use java.io package) If yes is it possible to have a short example. Thanks for yor help ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: STILL TRYING: [JBoss-user] CMP: Iterate Collection PerformanceKiller
Yes, you can. Look at this http://www.jboss.org/online-manual/HTML/ch07s16.html alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis > Muhlestein > Sent: Monday, April 29, 2002 5:26 PM > To: [EMAIL PROTECTED] > Subject: Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection > PerformanceKiller > > > It makes sense to change the commit option for transactions for > performance tuning. I have one Entity Bean that I think would fit > option A better, and others that fit option B better. > > Can I customize each entity bean? I tried putting read-only > to true on > the one bean, but the container still loaded it before each > transaction. > (Option B). I don't want to change everything to option A. > > Thanks > -Dennis > > > On Fri, 2002-04-26 at 10:29, Dan Christopherson wrote: > > First, the re-fetch you see between your two tests is > because of the > > commit option. Option B (default in 3.0) doesn't cache data between > > transactions, although the bean instances will be cached. > If you aren't > > clustering and your data can't be modified from anywhere > else, you can > > change standardjboss.xml to use Option A instead. > > > > As to why you need the user transaction, what kind of > object are you > > calling from? If it's a client, well then you need a > UserTransaction. If > > it's a session bean, then make sure your session bean's > method is in a > > transaction with type of Required or RequiresNew. > > > > hth, > > danch > > > > Frank Morton wrote: > > > > > > If I wrap it with a UserTransaction, things look good, but I don't > > > see why I would have to do so. And, if I do, I have many places > > > where I will have to do the same thing, which I would > like to avoid. > > > > > > Without wrapping in my own transaction, when trying to > get a single > > > property from a single element in the Collection, it > loads the whole > > > Collection. I don't understand why it would do it twice, let alone > > > for each element in the Collection. I also don't understand if it > > > is a function of the commit options, config or it is not working > > > as expected. > > > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection PerformanceKiller
It makes sense to change the commit option for transactions for performance tuning. I have one Entity Bean that I think would fit option A better, and others that fit option B better. Can I customize each entity bean? I tried putting read-only to true on the one bean, but the container still loaded it before each transaction. (Option B). I don't want to change everything to option A. Thanks -Dennis On Fri, 2002-04-26 at 10:29, Dan Christopherson wrote: > First, the re-fetch you see between your two tests is because of the > commit option. Option B (default in 3.0) doesn't cache data between > transactions, although the bean instances will be cached. If you aren't > clustering and your data can't be modified from anywhere else, you can > change standardjboss.xml to use Option A instead. > > As to why you need the user transaction, what kind of object are you > calling from? If it's a client, well then you need a UserTransaction. If > it's a session bean, then make sure your session bean's method is in a > transaction with type of Required or RequiresNew. > > hth, > danch > > Frank Morton wrote: > > > > If I wrap it with a UserTransaction, things look good, but I don't > > see why I would have to do so. And, if I do, I have many places > > where I will have to do the same thing, which I would like to avoid. > > > > Without wrapping in my own transaction, when trying to get a single > > property from a single element in the Collection, it loads the whole > > Collection. I don't understand why it would do it twice, let alone > > for each element in the Collection. I also don't understand if it > > is a function of the commit options, config or it is not working > > as expected. > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > signature.asc Description: This is a digitally signed message part
[JBoss-user] cmr as part of pk
Is it possible for cmr field to be a part of the primary key? Consider two beans: bean A with primary key field 'uniqueId' and bean B with primary key fields 'uniqueId' and 'otherField' with unidirectional relationship one-to-many. (A has many Bs) I'd like to test but for now I can't deploy my beans because of column duplication. In this case, it's 'uniqueId' in bean B. As I understand it for now it's not possible, right? alex ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Using Jaws with a Composite Primary Key
> HI there Hi, > My Primary Key (aPositionKey) is a composite object which contains two > fields : contactId, and orgId. Both these fields are contained on one table > (Position), with column names of CONTACT_ID, AND ORG_ID [snip] > and the relevant part of my ejb-jar looks like: > ... > au.com.eclipsegroup.worknet.PositionKey > False >aPositionKey >title >isPrimary >isActive >aPositionKey >From the ejb1.1 spec - p254 (and part of the dtd) essentially, remove the primkey-field element from your ejb-jar.xml and see how you go... also, using development tools like XDoclet - http://sf.net/projects/xdoclet - can avoid this sort of pain (o: cheers dim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Using Jaws with a Composite Primary Key
HI there Could anyone help with the following error i'm getting. I'm trying to do a create on a pre-existing table using CMP in JBoss2.4.4 My Primary Key (aPositionKey) is a composite object which contains two fields : contactId, and orgId. Both these fields are contained on one table (Position), with column names of CONTACT_ID, AND ORG_ID My jaws file looks like: PositionEJB POSITION aPositionKey.contactId CONTACT_ID INTEGER NUMBER(10) aPositionKey.orgId ORG_ID INTEGER NUMBER(10) .. and the relevant part of my ejb-jar looks like: ... au.com.eclipsegroup.worknet.PositionKey False aPositionKey title isPrimary isActive aPositionKey When trying to test this chap, i get the following error: [JAWSPersistenceManager] Create, id is au.com.eclipsegroup.worknet.PositionKey@37 [JAWSPersistenceManager] Exists command executing: SELECT COUNT(*) FROM POSITION WHERE aPositionKey=? [PositionKey] Getting org id [PositionKey] Getting contact id [JAWSPersistenceManager] Set parameter: idx=1, jdbcType=JAVA_OBJECT, value=au.com.eclipsegroup.worknet.PositionKey@37 [JAWSPersistenceManager] java.sql.SQLException: ORA-00904: invalid column name [JAWSPersistenceManager] java.sql.SQLException: ORA-00904: invalid column name [JAWSPersistenceManager] Cound not determine existence: javax.ejb.FinderException: ORA-00904: invalid column name at org.jboss.ejb.plugins.jaws.jdbc.JDBCBeanExistsCommand.execute(JDBCBeanExists Command.java:53) at org.jboss.ejb.plugins.jaws.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEn tityCommand.java:129) at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.createEntity(JAWSPersisten ceManager.java:128) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManag er.java:231) at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:632) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine r.java:859) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync hronizationInterceptor.java:234) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt erceptor.java:147) ... >From what i can see, JBoss is not using the correct parts of the key to do the create (aPositionKey.contactID and aPositionKey.orgId)... it's trying to use the object aPosition ! Does anyone know the solution o this --- Giles Parnell |ECLIPSEGROUP | 02 8272 4004 | INTERACTIVE STRATEGY + DESIGN + INTEGRATION The Eclipse email-Campaign Management System - The complete solution to your outbound email campaign needs. For more information, please contact Eclipse on 03 9674 8900 or 02 8272 4000. Or visit http://www.eclipsegroup.com.au/s02_home/eclipse_ecms.pdf Level 9, 190 George Street, Sydney, NSW 2000, Fax: 02 8272 4001 www.eclipsegroup.com.au This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this email, you must not disseminate, copy or otherwise use this information. If you have received this email in error, please notify Eclipse Group immediately. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user