jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [jBPM] - Re: los problemas que utilizan jbpm5 integrado

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [jBPM] - Re: los problemas que utilizan jbpm5 integrado con oracle y tomcat
From: kishore t <do-not-reply@xxxxxxxxx>
Date: Tue, 13 Sep 2011 00:47:54 -0400
Auto-submitted: yes
Delivery-date: Tue, 13 Sep 2011 00:48:53 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <2-624917-3-90392-1315293570516-2-626016-3-2836-1315828805183.jivesbs.jivemailuser@http://community.jboss.org>
List-archive: <http://lists.jboss.org/pipermail/jboss-user>
List-help: <mailto:jboss-user-request@lists.jboss.org?subject=help>
List-id: The JBoss User main mailing list <jboss-user.lists.jboss.org>
List-post: <mailto:jboss-user@lists.jboss.org>
List-subscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=subscribe>
List-unsubscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=unsubscribe>
References: <2-624917-3-90392-1315293570516.jivesbs.jivemailuser@http://community.jboss.org> <2-624917-3-90392-1315293570516-2-625961-3-90392-1315804496583.jivesbs.jivemailuser@http://community.jboss.org> <2-624917-3-90392-1315293570516-2-626016-3-2836-1315828805183.jivesbs.jivemailuser@http://community.jboss.org>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
*kishore *t [*http://Comunidad.*jboss.*org/Personas/*kishoret] creó la discusión

"*Re: los problemas que utilizan *jbpm5 integrado con *oracle y *tomcat"

para ver la discusión, visita: *http://comunidad.*jboss.*org/Mensaje/626158#626158

--------------------------------------------------------------
Mauricio,

*Thanks para la respuesta. 

Cuándo añado '<*Listener *className="*bitronix.*tm.Integración.*tomcat55.*BTMLifecycleListener" />' En *server.*xml, adivino hay alguna excepción está generando pero de consola podría no capaz de imaginar fuera de cuando está cerrando automáticamente. Cuándo compruebo el *logs sólo podría ver abajo mensaje:

**log mensaje*
*Sep 13, 2011 10:05:45 AM *org.*apache.*catalina.Núcleo.*AprLifecycleListener *init
*INFO: El APR cargado basó *Apache *Tomcat biblioteca Nativa 1.1.20.
*Sep 13, 2011 10:05:45 AM *org.*apache.*catalina.Núcleo.*AprLifecycleListener *init
*INFO: capacidades de APR: *IPv6 [cierto], *sendfile [cierto], acepta filtros [falso], aleatorio [cierto].
*Sep 13, 2011 10:05:45 AM *org.*apache.*coyote.*AbstractProtocol *init
*INFO: *Initializing *ProtocolHandler ["*http-*apr-8080"]
*Sep 13, 2011 10:05:46 AM *org.*apache.*coyote.*AbstractProtocol *init
*INFO: *Initializing *ProtocolHandler ["*ajp-*apr-8009"]
*Sep 13, 2011 10:05:46 AM *org.*apache.*catalina.*startup.carga de Catalina
*INFO: *Initialization procesado en 1012 *ms
*Sep 13, 2011 10:05:46 AM *bitronix.*tm.Integración.*tomcat55.*BTMLifecycleListener *lifecycleEvent
*INFO: Empezando *Bitronix Director de Transacción
*Sep 13, 2011 10:05:46 AM *bitronix.*tm.*BitronixTransactionManager *logVersion
*INFO: *Bitronix Versión de Director de la transacción 2.1.1
*Sep 13, 2011 10:05:46 AM *bitronix.*tm.Configuración *buildServerIdArray
*INFO: *JVM ID único: <*tomcat7-*btm-nodo0>
*Sep 13, 2011 10:05:46 AM *bitronix.*tm.Recurso.*ResourceLoader *init
*INFO: Leyendo configuración de recursos de *C:/*apache-*tomcat-7.0.19/*conf/*btm-recursos.Las Propiedades


Abajo son mi *BTM detalles de configuración,

**setenv.Conjunto*
 de murciélago CATALINA_OPTA=-*Dbtm.CASA=%de CATALINA_de la raíz% -*Dbitronix.*tm.CASA=%de CATALINA_de la configuración%\*conf\*btm-*config.Propiedades -*Djbpm.Consola.Directorio=%*JBPM_evaluación%\de muestra\del INSTALADOR\*src\recursos\principales\

**btm-*config.Propiedades:*
*bitronix.*tm.*serverId = *tomcat7-*btm-nodo0
*bitronix.*tm.Revista.Disco.*logPart1*Filename#unknown{^*btm.Nom_de_nom
kishore t [http://community.jboss.org/people/kishoret] created the discussion

"Re: problems using jbpm5 integrated with oracle and tomcat"

To view the discussion, visit: http://community.jboss.org/message/626158#626158

--------------------------------------------------------------
Mauricio,

Thanks for the reply. 

When I add '<Listener className="bitronix.tm.integration.tomcat55.BTMLifecycleListener" />' in server.xml, I guess there is some exception it is generating but from console I couldn't able to figure out as it is closing automatically. When I check the logs I could only see below message:

*log message*
Sep 13, 2011 10:05:45 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Sep 13, 2011 10:05:45 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Sep 13, 2011 10:05:45 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Sep 13, 2011 10:05:46 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Sep 13, 2011 10:05:46 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1012 ms
Sep 13, 2011 10:05:46 AM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent
INFO: Starting Bitronix Transaction Manager
Sep 13, 2011 10:05:46 AM bitronix.tm.BitronixTransactionManager logVersion
INFO: Bitronix Transaction Manager version 2.1.1
Sep 13, 2011 10:05:46 AM bitronix.tm.Configuration buildServerIdArray
INFO: JVM unique ID: <tomcat7-btm-node0>
Sep 13, 2011 10:05:46 AM bitronix.tm.resource.ResourceLoader init
INFO: reading resources configuration from C:/apache-tomcat-7.0.19/conf/btm-resources.properties


Below are my BTM configuration details,

*setenv.bat*
 set CATALINA_OPTS=-Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%\conf\btm-config.properties -Djbpm.console.directory=%JBPM_INSTALLER%\sample\evaluation\src\main\resources\

*btm-config.properties:*
bitronix.tm.serverId = tomcat7-btm-node0
bitronix.tm.journal.disk.logPart1Filename = ${btm.root}/work/btm1.tlog
bitronix.tm.journal.disk.logPart2Filename = ${btm.root}/work/btm2.tlog
bitronix.tm.resource.configuration = ${btm.root}/conf/btm-resources.properties

*btm-resources.properties:  [VALID DB URL, USER & PWD details are provided in my machine, not mentioning here.... ]
*
resource.defaultDS.className = oracle.jdbc.xa.client.OracleXADataSource
resource.defaultDS.uniqueName = jdbc/testDummyDS
resource.defaultDS.minPoolSize = 0
resource.defaultDS.maxPoolSize = 5
resource.defaultDS.allowLocalTransactions = true
resource.defaultDS.driverProperties.user = 
resource.defaultDS.driverProperties.password = 
resource.defaultDS.driverProperties.URL = 
resource.ds1.driverProperties.driverClassName=oracle.jdbc.OracleDriver
resource.ds1.driverProperties.createDatabase=create

*context.xml*
<Transaction factory="bitronix.tm.BitronixUserTransactionObjectFactory" />

<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction" />

<Resource name="TransactionManager" auth="Container" type="javax.transaction.TransactionManager"        factory="bitronix.tm.BitronixTransactionManagerObjectFactory" />

<Resource name="TransactionSynchronizationRegistry" auth="Container" type="javax.transaction.TransactionSynchronizationRegistry"        factory="bitronix.tm.BitronixTransactionSynchronizationRegistryObjectFactory" />


*jar files:*
btm-2.1.1.jar
btm-tomcat55-lifecycle.jar
geronimo-jta_1.1_spec-1.1.1.jar
geronimo-jms_1.1_spec-1.1.1.jar
slf4j-jdk14-1.6.1.jar
slf4j-api-1.6.1.jar
jta.jar

*
*
Please let me know if your looking for any other information.

*Note:* My persistence related issue is still not being resolved, also let me know if I need to do any modifications related to that configuration also.


Thanks,
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/626158#626158]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
*jboss-Usuario *mailing lista
*jboss-user@xxxxxxxxxxxxxxx
*https://listas.*jboss.*org/*mailman/*listinfo/*jboss-Usuario
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user
<Anterior por Tema] Tema Actual [Siguiente por Tema>