[jboss-user] [Messaging, JMS JBossMQ] - Re: why my topic message processed only once?

2007-01-10 Thread richard_djs
jar???war??web-inf\libjms 
??jar?jboss??? ??war?jms???OK?  
???jbosswar??jms???jms? 
?weblogic?? ???bug?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000285#4000285

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000285
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: struts tag does not reinit in jboss. How to resolve?

2006-12-13 Thread richard_djs
I hava found the resolution on tomcat FAQ Bug 16001 - Tag_release() not invoked.

The web.xml of jbossweb-tomcat55.sar\conf need the configuration of 
init-param
 param-nameenablePooling/param-name
 param-valuefalse/param-value
  /init-param

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3993688#3993688

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: struts tag does not reinit in jboss. How to resolve?

2006-12-11 Thread richard_djs
My project is at  jboss-4.0.4 + windowXP.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992965#3992965

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: why my topic message processed only once?

2006-12-11 Thread richard_djs
My project is at  jboss-4.0.4 + windowXP.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992964#3992964

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: struts tag does not reinit in jboss. How to resolve?

2006-12-09 Thread richard_djs
I made some test, and found that  the destroy() method of tag was not be called 
by the container every time when I open the jsp page.  
But the destroy() was called every time when I reopen the same page in my 
WEBLOGIC envirment.

I think the jboss container should be config to fix the problem.  
please give me a suggestion?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992495#3992495

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992495
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - struts tag does not reinit in jboss. How to resolve?

2006-12-07 Thread richard_djs
I deploy a web module in jboss. The module is based on struts and works well in 
weblogic.
I found that the struts tag propertie's value can not be reinited. It keeps the 
value of lasted set even I reopen my jsp page.
Is there any configuation can solve the problem?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991973#3991973

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - struts tag does not reinit in jboss. How to resolve?

2006-12-07 Thread richard_djs
I deploied a web module in jboss. The module is based on struts and works well 
in weblogic.
I found that the value of struts tag propertie can not be reinited. It keeps 
the value of lasted set even I reopen my jsp page.
Is there any configuation can solve the problem?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991976#3991976

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - why my topic message processed only once?

2006-12-07 Thread richard_djs
The topic jms message is used in my project, after publishing a message, both 
of my 2 listener can catch the message, and in the method of onMessage they try 
to get the object of message , but only the first one can get the object and 
process it , the second one will get fail. The 2 listeners are seperated, one 
is in web module and the other is in EJB.

Am I missing any configuation?   How to resolve this problem?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991981#3991981

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991981
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: strange! halt of jboss + DB2(XA)

2006-12-06 Thread richard_djs
I made some simple test, and find if the old connection not close it will be 
halt when a new connection create.

It will be hold at STEP3

STEP1: create connection1
STEP2: insert table1
STEP3: create connection2
STEP4: inset table2
STEP5: close connection1
STEP6: close connection2


It will be OK when looks like

create connection1
insert table1
close connection1
create connection2
insert table2
close connection2


Has anybody meet the kind of error?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991559#3991559

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: strange! halt of jboss + DB2(XA)

2006-12-06 Thread richard_djs
Thank you very much!I've solved this problem as what you suggest.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991839#3991839

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: strange! halt of jboss + DB2(XA)

2006-12-05 Thread richard_djs
Thank you for your reply.

Yesterday, I tried the deployment with db2(non xa) , it works well.   I think 
the class is ok, there must be somthing wrong in my jboss configuation.

This are my ejb-jar.xml and db2-xa-ds.xml. 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;
ejb-jar
  display-nameSysmgrEJBModule/display-name
  enterprise-beans


  ejb-namePostMgmtSession/ejb-name
  com.oss.sysmgr.ejbs.PostMgmtSessionHome
  com.oss.sysmgr.ejbs.PostMgmtSession
  ejb-classcom.oss.sysmgr.ejbs.PostMgmtSessionBean/ejb-class
  session-typeStateless/session-type
  transaction-typeBean/transaction-type


  /enterprise-beans
  assembly-descriptor
container-transaction
  
ejb-namePostMgmtSession/ejb-name
method-name*/method-name
  

  trans-attributeRequired/trans-attribute
/container-transaction
  /assembly-descriptor
/ejb-jar




?xml version=1.0 encoding=UTF-8?

!-- = --
!----
!--  JBoss Server Configuration--
!-- Thanks to Horia Muntean [EMAIL PROTECTED]   --
!-- = --

!-- $Id: db2-xa-ds.xml,v 1.4 2004/09/15 14:37:40 loubyansky Exp $ --



   !--
   XADatasource for DB2 V8.1 (app driver)
   copy $db2_install_dir/java/db2java.zip into 
$jboss_install_dir/server/default/lib
   --

   xa-datasource
 jndi-nameDSTopEng/jndi-name

 xa-datasource-classCOM.ibm.db2.jdbc.DB2XADataSource/xa-datasource-class
 xa-datasource-property 
name=DatabaseNameBOSSDB2/xa-datasource-property
 xa-datasource-property name=Usertopeng/xa-datasource-property
 xa-datasource-property name=PasswordbossDB2/xa-datasource-property

  !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml 
(optional) --
  
 type-mappingDB2/type-mapping
  
   /xa-datasource
   
   xa-datasource
 jndi-nameDSAudit/jndi-name

 xa-datasource-classCOM.ibm.db2.jdbc.DB2XADataSource/xa-datasource-class
 xa-datasource-property 
name=DatabaseNameBOSSDB2/xa-datasource-property
 xa-datasource-property name=UserUSER_AUDIT/xa-datasource-property
 xa-datasource-property name=PasswordbossDB2/xa-datasource-property

  !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml 
(optional) --
  
 type-mappingDB2/type-mapping
  
   /xa-datasource




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991512#3991512

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991512
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: strange! halt of jboss + DB2(XA)

2006-12-05 Thread richard_djs
This is the warn infomation in server.log.
2006-12-05 15:40:10,242 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/89, BranchQual=, 
localId=89] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:23,351 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/91, BranchQual=, 
localId=91] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:35,664 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
2006-12-05 15:41:35,664 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, 
PassivatedCount=0
2006-12-05 15:41:35,664 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] 
removePassivated, now=1165304495664, maxLifeAfterPassivation=120
2006-12-05 15:41:35,664 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done
2006-12-05 15:41:54,633 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/97, BranchQual=, 
localId=97] timed out. status=STATUS_ACTIVE
2006-12-05 15:41:54,664 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=d31287/98, BranchQual=, 
localId=98] timed out. status=STATUS_ACTIVE
2006-12-05 15:42:03,086 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying 
pools, interval: 45
2006-12-05 15:49:33,086 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying 
pools, interval: 45
2006-12-05 15:51:31,992 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
2006-12-05 15:51:31,992 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, 
PassivatedCount=0
2006-12-05 15:51:31,992 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] 
removePassivated, now=1165305091992, maxLifeAfterPassivation=120
2006-12-05 15:51:31,992 DEBUG 
[org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991201#3991201

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - strange! halt of jboss + DB2(XA)

2006-12-04 Thread richard_djs
I have got an big problem on my J2EE project which was deployed on JBOSS, and 
my configuation is jboss-4.0.4 + DB2(Version: 8.1.7.445).
 
It works correctly when the code is looking like this
 
start a transation...
insert into table  OR  update table
submit the transation
 
And it will halt at STEP3 when the code is looking like this
 
STEP1:start a transation...
STEP2:insert into table1 ...  OR  update table1
STEP3:insert into table2 ...  OR  update table2
STEP4:submit the transation
 
then an exception will be caught like this   11:39:02,216 WARN  
[TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, 
GlobalId=d31287/91, BranchQual=, localId=91] timed ut. status=STATUS_ACTIVE
 
 
How to make it work correctly?   I deployed my project as the 
jboss-4.0.4\docs\examples\jca\db2-xa-ds.xml said.  
 
By the way, when I deploy my project on WEBLOGIC+DB2, it works OK.   
 
What should I do? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991178#3991178

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: strange! halt of jboss + DB2(XA)

2006-12-04 Thread richard_djs
table1 and table2 are exist in same db. For example, table1 is for business and 
table2 is for log.

I start the transation from EJB(Stateless,Bean).
try
{
ut = sessionContext.getUserTransaction();
ut.begin();
...
ut.commit;
}
catch(Exception e){ut.rollback}



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991197#3991197

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user