RE: [JBoss-user] [Persistence & CMP/JBoss] - Re: Exception: CMR field value is already loaded

2004-08-24 Thread Alexey Yudichev
In my case I saw this exception today for the first time. I have migrated from 3.2.2RC1 to 3.2.5 a few days ago. I am running JBoss for more than 2 years now and never saw this before. Exception occured when accessing a CMR field of 1-1 relation, inside transaction, TX attr. required, CMR access

[JBoss-user] Axis in JBoss.NET: "No SOAPAction header!"

2004-03-06 Thread Alexey Yudichev
I am using Axis 1.1 (MANIFEST.MF says Implementation-Version: 1.1 1021 June 13 2003) bundled with JBoss 3.2.2 and 3.2.3 as jboss-net service for exposing my steteless EJB's methods via SOAP. When jboss starts, the service(s) work perfectly. However after some time client starts getting "No SOAPA

[JBoss-user] javax.resource.ResourceException: No ManagedConnections Available!

2003-08-20 Thread Alexey Yudichev
What can cause javax.resource.ResourceException: No ManagedConnections Available! exception? Does it mean I forget to close jdbc connections somewhere? I could not find the root stack tracce of the exception, the closest to root trace is: ava.rmi.ServerException: EJBException:; nested exception

[JBoss-user] memory leaks during redeployment

2003-07-25 Thread Alexey Yudichev
In Jboss 3.2.1 I often encounter OutOfMemoryErrors on our jboss installations. I realized that if no redeployments happen the JBoss instance even being on heavy load works great forever. Once I begin to often redeploy applications I finally get OutOfMemoryError no matter if I specified -Xmx300

RE: [JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-15 Thread Alexey Yudichev
xt.getEJBLocalObject() > returns local interface of another object > > > Hi, > > I'm looking into this myself. Are you using read-only methods by any > chance? > > Steve Coy > > > On Monday, July 14, 2003, at 09:11 PM, Alexey Yudichev wrote: > >

RE: [JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-14 Thread Alexey Yudichev
Got 5 hits this weekend. Other fields always correspond to the context with the expected primary key. i.e. entityContext.getEJBLocalObject() returns a consistent entity but belonging to the context other than current. > -Original Message- > From: Alexey Yudichev > Sent: Friday

RE: [JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-11 Thread Alexey Yudichev
points to). After that I again use the customer.getPrimaryKey() of the customer in further business logic... I will install the check of other fields and let you know. > -Original Message- > From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 200

[JBoss-user] entityContext.getEJBLocalObject() returns local interface of another object

2003-07-10 Thread Alexey Yudichev
I am using Jboss 3.2.1 Sometimes entityContext.getEJBLocalObject() returns local interface of another instance of the same entity bean. I have a superclass for all my entities in application which implements EntityBean's setEntityContext() method and saves entityContext in a field. Inside one of

[JBoss-user] JSP compiler cannot see EAR classes after webapp is redeployed

2003-06-20 Thread Alexey Yudichev
JBoss 3.2.1 and 3.2.2RC1. I have an EAR with one EJB-JAR and one WAR inside. After I redeploy WAR separately by invoking MainDeployer.redeploy(new URL(".../server/blah/deploy/App.ear/webapp.war")) JSP compiler ceases to see classes in EJB-JAR with NoClassDefFoundErrors. Classes in WEB-INF/cl

[JBoss-user] 3.2.1: cannot redeploy war inside ear

2003-06-12 Thread Alexey Yudichev
Assume we have ear deployed as a directory with war inside (also as a directory). In jboss 3.0 I used to invoke via JMX MainDeployer.redeploy("/usr/local/java/jboss/server/thunder/blah/BLAH.ear/blah.war") to restart just the specific WAR inside the EAR and keep all other modules running. But in j

[JBoss-user] Deployments crashed because http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd is no longer accessible?

2003-03-30 Thread Alexey Yudichev
Today during redeployment of unchanged EAR application I got exception parsing jboss-app.xml. jboss-app.xml has the following declaration at the beginning: http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd";> It seems that it tries to fetch http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd while si

[JBoss-user] JBoss does not close Postgres JDBC transaction

2003-03-14 Thread Alexey Yudichev
My application does not use direct jdbc calls and all EJBs are CMT CMP20 beans. I use PostgreSQL. I see that all unused connections in jboss pool are marked by postgres as "idle in transaction". It means jboss does not end the JDBC transaction properly (although all changes are saved correctly

[JBoss-user] EJBQL MEMBER OF problems remain in 3.0.6?

2003-03-07 Thread Alexey Yudichev
Title: EJBQL MEMBER OF problems remain in 3.0.6? Returning to my prevoius postings, assume we have Partner and StoreCategory entities with TWO relations between each other: 1) Many Partners are assigned to Many StoreCategories 2) One Partner owns Many StoreCategories The following ejbql:

RE: [JBoss-user] Memory leak

2003-03-05 Thread Alexey Yudichev
Title: RE: [JBoss-user] Memory leak   Yes I think there are memory leaks somewhere in the whole redeployment-through-jmx-console chain. Because we have a development server with low usage but high redeployment rate and experience OutOfMemoryErrors there. On the other hand we have a highly load

[JBoss-user] Is it possible to resend messages from DLQ to original destination?

2003-02-13 Thread Alexey Yudichev
Title: Is it possible to resend messages from DLQ to original destination?   Is it possible to resend messages from DLQ to original destination (queue)? i.e. if a message is placed to DLQ due to some failure and I wish to manually resend it to avoid data loss.

RE: [JBoss-user] .wsr service inside ear cannot be redeployed?

2003-02-12 Thread Alexey Yudichev
12:39 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] .wsr service inside ear cannot be redeployed? I do not think so. CGJ -Ursprüngliche Nachricht- Von: Alexey Yudichev [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 12. Februar 2003 10:47 An: '[EMAIL PROTECTE

RE: [JBoss-user] .wsr service inside ear cannot be redeployed?

2003-02-12 Thread Alexey Yudichev
, 2002 16:50 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] .wsr service inside ear cannot be redeployed? Alex, IMHO this JBOss.net bug has been fixed in 3.2beta CGJ -Ursprüngliche Nachricht- Von: Alexey Yudichev [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 5

should a transaction rollback if CreateException is thrown by jboss? was: [JBoss-user] Rollback Transaction

2003-01-17 Thread Alexey Yudichev
Title: should a transaction rollback if CreateException is thrown by jboss? was: [JBoss-user] Rollback Transaction   Then there's a bug in jboss (I use 3.0.4) because when CreateException is being thrown by a CONTAINER (not bean) during ejbCreate(), transaction is not rolled back. Practical ex

RE: [JBoss-user] serious ejbql compiler problem

2003-01-17 Thread Alexey Yudichev
ing should work: SELECT OBJECT(c) FROM StoreCategory c, Partner p WHERE c.id=?1 AND (c.partnerOwner.id=?2 OR (p.id=?2 AND p MEMBER OF  c.partners) You many want to do a SELECT DISTINCT, as it is possible to get  multiple results back from this query. -dain On Thursday, January 16,

[JBoss-user] serious ejbql compiler problem

2003-01-16 Thread Alexey Yudichev
Title: serious ejbql compiler problem Jboss 3.0.4. 2 entities: StoreCategory and Partner. 2 relationships between them: 1)       Partner - StoreCategory       PartnerStoreCategoryRole     One       Partner           storeCategories  

[JBoss-user] jboss 3.0.5 ejbql compiler problems?

2003-01-15 Thread Alexey Yudichev
Title: jboss 3.0.5 ejbql compiler problems? My eqbql SELECT OBJECT(c) FROM StoreCategory c WHERE c.customer IS NULL AND c.partnerOwner IS NULL in jboss 3.0.5 compiles to SELECT t0_c.id FROM storecategory t0_c WHERE (t0_c.customer IS NULL AND t0_c.partnerOwner IS NULL) AND (t0_c.partner

[JBoss-user] "invalid invocation" exception thrown by EntityContainer$ContainerInterceptor

2003-01-13 Thread Alexey Yudichev
Title: "invalid invocation" exception thrown by EntityContainer$ContainerInterceptor   Can anybody clarify what could cause exception like the one below? I have an EAR with one ejb-jar and one war inside deployed into jboss 3.0.4 (and built-in jetty). A reference to remote interface of a CMP b

[JBoss-user] .wsr service inside ear cannot be redeployed?

2002-12-05 Thread Alexey Yudichev
Title: .wsr service inside ear cannot be redeployed? In Jboss 3.0.4 I have an ear application deployed. application.xml is http://java.sun.com/j2ee/dtds/application_1_2.dtd">   MMS       MMSEjb.jar           mms.war   mms             MMSEjb.wsr   It is deployed without

[JBoss-user] IllegalStateException: The iterator of a CMR collection may onlybe used within the transction in which it was created

2002-11-05 Thread Alexey Yudichev
Title: IllegalStateException: The iterator of a CMR collection may only be used within the transction in which it was created Jboss 3.0.4, CMP2.0 bean, simple business method is called by remote client. Method declaration is:     public String getSizeAsString(Locale locale) {   try {    

[JBoss-user] Strange errors in server.log

2002-11-04 Thread Alexey Yudichev
Title: Strange errors in server.log I use jboss 3.0.4RC1 week old from CVS (not updated to 3.0.4 release yet) My servlet calls CMP1.1 entity bean that has byte[] as one of CMP fields. From time to time I face the following exception: ===server.log=== ... 2002-11-04 18:28:0

[JBoss-user] Problem with latest version of org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil

2002-10-25 Thread Alexey Yudichev
Title: Problem with latest version of org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil cvs log for this source file says: === revision 1.14 date: 2002/10/23 11:39:53;  author: scoy;  state: Exp;  lines: +352 -146 Make better use of the jdbc type to select which methods

RE: [JBoss-user] Re: "removing bean lock and it has tx set" - que

2002-10-21 Thread Alexey Yudichev
n Brock [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 6:05 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Re: "removing bean lock and it has tx set" - que Thanks for the kind offer. But we already found it :-) Regards, Adrian >From: Alexey Yudichev <[EMAI

RE: [JBoss-user] error adding container to app.: java.lang.NullPointerException

2002-10-16 Thread Alexey Yudichev
: Alexey Yudichev Sent: Wednesday, October 16, 2002 9:16 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] error adding container to app.: java.lang.NullPointerException   Couple of times saw the error below after re-deployment of an application. Once the error occured no further depl

[JBoss-user] error adding container to app.: java.lang.NullPointerException

2002-10-15 Thread Alexey Yudichev
Title: error adding container to app.: java.lang.NullPointerException   Couple of times saw the error below after re-deployment of an application. Once the error occured no further deployments of the same application would succeed (with the same error) and only restart of jboss would help.  

RE: [JBoss-user] Re: "removing bean lock and it has tx set" - question

2002-10-15 Thread Alexey Yudichev
Title: RE: [JBoss-user] Re: "removing bean lock and it has tx set" - question I often (but not always) face these errors when CMP2.0 entities are being removed/added from/to a relationship with other entities. I encounter the error often enough to help developers find a cause... if it would h

RE: [JBoss-user] Does anybody work with XA driver for MS SQL Server?

2002-10-10 Thread Alexey Yudichev
ent trying to do suspend/resume calls. david jencks On 2002.10.10 11:04:53 -0400 Alexey Yudichev wrote: >   After I am tired of deadlock exeptions I tried to use XA jdbc drivers > fro > MS SQL server. I asked admin to install a dll on the sqlserver side as it > is > specified in MS

[JBoss-user] Does anybody work with XA driver for MS SQL Server?

2002-10-10 Thread Alexey Yudichev
Title: Does anybody work with XA driver for MS SQL Server?   After I am tired of deadlock exeptions I tried to use XA jdbc drivers fro MS SQL server. I asked admin to install a dll on the sqlserver side as it is specified in MS JDBC driver docs. But it never worked for me. There're different e

[JBoss-user] Entities are not cached

2002-10-10 Thread Alexey Yudichev
Title: Entities are not cached   According to debug-level log messages, each time I find entities with a finder and then invoke business methods they are loaded. Even if less than a second passed since previous load. Seems like caching is disabled at all. I have no custom container configurati

RE: [JBoss-user] XAException SQLServer 2000 JBoss 3.0.1

2002-10-10 Thread Alexey Yudichev
Title: RE: [JBoss-user] XAException SQLServer 2000 JBoss 3.0.1 Just got the same error with the same conditions. Is there any workaround? I need XA drivers because my logic requires involving several databases into single transaction. Best wishes,   Alexei Yudichev   mailto:[EMAIL PROTECTED]

[JBoss-user] Application deadlock detected: Two or more transactions contention.

2002-10-10 Thread Alexey Yudichev
Title: Application deadlock detected: Two or more transactions contention.   Sometimes rarely I get the following error. $Proxy1727 is a CMP2.0 bean over a PosgreSQL database. Inside its getSize() method there's a call to a business method of another CMP bean deployed in another application an

[JBoss-user] Application deadlock detected: Two or more transactions contention.

2002-10-10 Thread Alexey Yudichev
Title: Application deadlock detected: Two or more transactions contention.   Sometimes rarely I get the following exception (see EXCEPTION below). $Proxy1727 is a CMP2.0 bean over a PosgreSQL database. Inside its getSize() method there's a call to a business method of another CMP bean deployed

RE: [JBoss-user] jboss 3.0.2(3): still suffers from java.lang.IllegalStateExceptio n: removing bean lock and it has tx set!

2002-10-08 Thread Alexey Yudichev
Alexey, we today encountered this problem (for the first time as far as I know) after a fresh update on Branch_3_2. Only to let you know, we had no time to dig into it... Regards, Michael Bartmann Alexey Yudichev wrote: >   From that I cannot see much complains about the above exception (f

[JBoss-user] jboss 3.0.2(3): still suffers from java.lang.IllegalStateException: removing bean lock and it has tx set!

2002-10-08 Thread Alexey Yudichev
Title: jboss 3.0.2(3): still suffers from java.lang.IllegalStateException: removing bean lock and it has tx set!   From that I cannot see much complains about the above exception (full stack trace is below) i conclude that either not many people using cmp2.0 or I am doing something wrong. This

RE: [JBoss-user] Bug #582428

2002-09-18 Thread Alexey Yudichev
me know your findings.   Thanks   Nayyer Kamran         - Original Message - From: Alexey Yudichev To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 11:19 AM Subject: [JBoss-user] Bug #582428   Is there any

[JBoss-user] Bug #582428

2002-09-17 Thread Alexey Yudichev
Title: Bug #582428   Is there any approximate estimation when will bug #582428 be fixed (ejb remove causes IllegalStateException "removing bean lock and it has tx set!")? With this bug jboss 3 is far from production state. It does not allow to use entity relationships. I am now deciding whethe

[JBoss-user] 3.0.2: java.lang.IllegalStateException: removing bean lock and ithas tx set!

2002-09-09 Thread Alexey Yudichev
Title: 3.0.2: java.lang.IllegalStateException: removing bean lock and it has tx set!   Since some time I encounter arbitrary exceptions like this: 2002-09-09 18:19:05,889 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy: java.lang.IllegalStateExcepti

[JBoss-user] EJBObject.getHandle() returns handle with invalid jndi name

2002-08-27 Thread Alexey Yudichev
Title: EJBObject.getHandle() returns handle with invalid jndi name   I am trying to migrate our EJB1.1 applications froim jboss 2.4.6 to jboss 3.0.1   Everything went fine but at last I faced the following problem:   My session bean returns to the client (working in another jvm through jnp) a

[JBoss-user] Jboss 2.4.6: NullPointerException in XAPoolDataSource.getConnection()

2002-07-11 Thread Alexey Yudichev
Title: Jboss 2.4.6: NullPointerException in XAPoolDataSource.getConnection()   Can anybody just give me an advice on this? The whole project is stopeed just before the release :(. How can I see the current state of the connection pool? How this NullPointerException might ever happen if the obj

[JBoss-user] Jboss 2.4.6: NullPointerException in XAPoolDataSource.getConnection()

2002-07-10 Thread Alexey Yudichev
Title: Jboss 2.4.6: NullPointerException in XAPoolDataSource.getConnection()   My jboss 2.4.6 instance is running for a month or something. Since yesterday I began to face the following exceptions: java.lang.NullPointerException   at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoo