[jboss-user] [JBoss jBPM] - Do I have to deploy jbpm-enterprise.jar for timer to work?

2009-02-16 Thread tomerbd2
Hi,

Do I have to deploy jbpm-enterprise.jar for timer to work?
I'm asking this because i work in ejb 2.0 environment with no TimerBeans...

Thanks

Tomer

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

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


[jboss-user] [JBoss jBPM] - Re: can't rollback although i'm doing ctx.setRollbackOnly()

2009-02-08 Thread tomerbd2
I ported it to jboss (i used before oc4j application server) and now its 
working... I guess its something with configuration of oc4j although I dont 
know what, from what I see i didnt see how to configure oc4j autocommit to true 
or false i will search that...

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

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


[jboss-user] [JBoss jBPM] - Timer and org.jbpm.web.JobExecutorLauncher in jbpm3.2GA

2009-02-08 Thread tomerbd2
Hi,

I'm trying to use a timer, so I have added the following code to my web xml

listener
  | description
  | Starts the job executor on servlet context initialization and 
stops it on 
  | servlet context destruction.
  | /description
  | listener-classorg.jbpm.web.JobExecutorLauncher/listener-class
  | /listener  

However when i run my workflow it says:

anonymous wrote : 
  | Error instantiating web-application
  | Error loading listener 'org.jbpm.web.JobExecutorLauncher', class not found 
  | 

I have noticed that this class file exists in 3.3.1GA and not in 3.2GA, however 
I do want to use 3.2GA because other releases don't support jdk1.4 (i tried for 
example 3.2.5GA and couldnt make it work with jdk1.4) so i'm using 3.2GA, can 
anyone tell me what should I put (if i should put anything) in my web.xml so 
that the timer will work in jbpm 3.2GA?

Thanks

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

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


[jboss-user] [JBoss jBPM] - can't rollback although i'm doing ctx.setRollbackOnly() in s

2009-02-05 Thread tomerbd2
Hi

I have a servlet that calls a session bean with required transaction attribute, 
the session bean in its test method calls jbpm process.

so its like this.

1. servlet
2. session bean.helloWorld()
3. in the method helloWorld() i call a jbpm process
4. at the end of the method helloWorld() i do ctx.setRollbackOnly();
5. I expect no new rows to enter database however although I did 
setRollBackOnly() I do see a new row in table: JBPM_TASK

Anyone can help on this?

Note that I have configured the hibernate.cfg.xml like this:


  | property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.CMTTransactionFactory/property
  | !-- property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/property
 --
  | !-- property 
name=jta.UserTransactionjava:comp/UserTransaction/property --
  | property 
name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.OC4JTransactionManagerLookup/property
  | 

and jbpm.cfg.xml


  | service name=persistence
  |   factory
  | bean 
class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  |   field 
name=isTransactionEnabledfalse//field
  |   field 
name=isCurrentSessionEnabledtrue//field
  |   field 
name=sessionFactoryJndiName
  | string 
value=java:/myHibSessFactJndiName /
  |   /field
  | /bean
  |   /factory
  | /service
  | service name=tx 
factory=org.jbpm.tx.TxServiceFactory /
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: can't rollback although i'm doing ctx.setRollbackOnly()

2009-02-05 Thread tomerbd2
Hi,

I'm using a regular datasource bound to oc4j server not an xa datasource...

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

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


[jboss-user] [Beginners Corner] - configuration of a war, .properties in /default/conf ?

2008-02-15 Thread tomerbd2
Hi,

I have a war and inside the war i read configuration from a properties file.
I would like to have the properties file outside of the war (so wont need to 
unzip and rezip it for configuration changes).  I do need these configuration 
changes at runtime.
What is the best way to do it? hold the .properties in a classpath? (I prefer 
not to do it).  I thought of doing it like having the .properties file in the 
default/conf/ directory just like there is over there log4j.xml.  How can I do 
that? How can I load configurations from the default/conf path? any environment 
variable that will point to that path? any standard way of doing it?

Thanks,

Tomer

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: MDBs don't work after jms recovery

2007-10-29 Thread tomerbd2
and my scenario is this:

1. setup a jboss with mdb + queue in hajndi 
2. send messages every 5 minutes 
3. destroy queue from jmx 
(http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBeanname=jboss.mq.destination%3Aservice%3DQueue%2Cname%3DmyQueue)
 
4. create + start queue from jmx (same link) 
5. send messages with client ? sent OK to queue 
6. MDB does not reconnect in order to get the queue also when we do: 7. 
listReceivers() in the queue, we don?t see the MDB as a receiver.  According to 
jboss configuration the MDB should have reconnected as far as I understand:  
  10

 

shouldnt the MDB reconnect automatically? anything i can do so that mdb will 
reconnect?

10x

Tomer


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - mysql connection reset

2007-10-18 Thread tomerbd2
I'm using cmp2.1 + jdbc and i get from time to time (daily) a connection reset 
exception.
im using mysql: 5.0.26 and i made sure that the wait_timeout parameter of mysql 
is longer than the connection idle timeout of jboss connection pool.

Can anyone advise please?

anonymous wrote : 
  | Exception: Communication link failure: java.net.SocketException, underlying 
cause: Connection reset
  | 
  | ** BEGIN NESTED EXCEPTION ** 
  | 
  | java.net.SocketException
  | MESSAGE: Connection reset
  | 
  | STACKTRACE:
  | 
  | java.net.SocketException: Connection reset
  | at java.net.SocketInputStream.read(SocketInputStream.java:168)
  | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
  | at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
  | at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1316)
  | at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1463)
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1854)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
  | at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1164)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:2087)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:2037)
  | at com.mysql.jdbc.Statement.execute(Statement.java:900)
  | at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(Unknown 
Source)
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: mysql connection reset

2007-10-18 Thread tomerbd2
also note that im using autoReconnect=true

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Expose a single war with 2 different locations

2007-09-19 Thread tomerbd2
Hi

I'm working with jboss/tomcat I have a war that i deploy lets say mywebapp.war 
(its a JSF application).

I want to expose it with 2 different urls

http://$MYSERVER/mywebapp_client1
and
http://$MYSERVER/mywebapp_client2

Is there anyway to do it? maybe with web.xml or something like that?
(I know i can expose servlets with 2 different locations so i want to know if 
its possible also with a web application).

Note that I have already asked this at: 
http://forum.java.sun.com/thread.jspa?threadID=5217977tstart=0
However they told me there to create 2 wars... which is not what im looking for 
because i dont want to create 2 wars just because i want 2 locations (currently 
i'm using this solution as a workaround).  I'm looking to know if there is just 
a way to expose my jsf application in 2 different locations...

10x

Tomer

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

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


[jboss-user] [JBossCache] - Re: Redeployment issues

2007-06-12 Thread tomerbd2
Hi,

I'm having the same problem described in this thread and using MarshaledValue 
solved my problem, however as described, this solution is  having a performance 
penalty, so I would prefer not to use it.

Its written in the thread that:

anonymous wrote : There is really no good (optimized) solution to it except to 
have another in-vm cache per ejb app. 

What is an in-vm cache per ejb app?
How can I implement such a solution?

Thanks

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

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


[jboss-user] [Beginners Corner] - Re: ports for EJB

2007-04-28 Thread tomerbd2
There is a wiki that tells which ports should be exposed

http://www.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Application Server Cluster

2007-04-26 Thread tomerbd2
What do you mean by: which service straight run?

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

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


[jboss-user] [Beginners Corner] - Re: connection problems after 1 hour using jboss

2007-04-26 Thread tomerbd2
Is your server loaded?

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

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


[jboss-user] [Beginners Corner] - Starting threads?

2007-04-26 Thread tomerbd2
Hi,

I need to listen to pop3 connections coming from clients,
Is it ok to open threads from within jboss in order to listen to the clients?

Thanks

Tomer

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Application Server Cluster

2007-04-26 Thread tomerbd2
You can look at the jmx console over there you have information about all 
services that are running on your server

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

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


[jboss-user] [Beginners Corner] - Re: Starting threads?

2007-04-26 Thread tomerbd2
Hi,

I'm reading about JCA but from what I see, JCA is for connecting to EIS, ERP, 
databases, mainframes, with emphasis on connecting *to* those datastores, but 
in my case I dont want to connect to a datastore, I would like other people to 
connect to me, is that also a purpose of JCA? I dont see mentioning of that...

Thanks,

Tomer

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Application Server Cluster

2007-04-26 Thread tomerbd2
http://$YOUR_HOST:8080/jmx-console

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

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


[jboss-user] [Management, JMX/JBoss] - Re: authorization

2007-03-27 Thread tomerbd2
Hi,

I looked at the documentation at: 
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch2.chapter.html and I see 
that its using: import org.jboss.mx.interceptor.Invocation;
However I cannot find that class in any of the jboss jars... (jboss 4.0.3) was 
this file deleted?

Thanks

Tomer

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

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


[jboss-user] [Management, JMX/JBoss] - Re: authorization

2007-03-27 Thread tomerbd2
i used (revision2) in the documents, i have noticed that in future revisions 
this SecurityInterceptor does not exist, how can I use it then? any updated 
docs about it?

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

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


[jboss-user] [Management, JMX/JBoss] - Re: authorization

2007-03-27 Thread tomerbd2
i found this: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessControlForJMXConsole

I think this answers my authorization question...

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

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


[jboss-user] [Management, JMX/JBoss] - authorization

2007-03-26 Thread tomerbd2
Hi,

I did some reading (also in the forum) and i couldnt understand how to answer 
the following questions:

* Am I able to present part of the jmx properties to some users and part of the 
properties (configurations) to others? Am I able let some users update some of 
the configuration and some other users to view only the configuration without 
allowing them to update it?

If the answer is yes, is there a guide of how I can do that with jboss?

Thanks

Tomer

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

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


[jboss-user] [Management, JMX/JBoss] - Re: authorization

2007-03-26 Thread tomerbd2
Seems like i need to use:

interceptor code=org.jboss.chap2.xmbean.ServerSecurityInterceptor 
 adminName=admin

But if I use it will I be able also to present only some of the configuration 
to some users and some other to other users?

Thanks

Tomer

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB 2 Entity bean caching

2006-11-16 Thread tomerbd2
you can add SQL logging to CMP and thus see if its taking value from cache or 
from database

http://tomerbd.blogspot.com/2006/02/view-cmp-generated-sqls.html

Tomer

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Reading a blob results in updating it to database

2006-11-15 Thread tomerbd2
Hi

I have an entity bean:

TestBLOB with fields: id, object, someString
object is stored to database as a blob.

When i findByPrimaryKey(id) the entity bean and do getObject() then at the end 
of the transaction the TestBLOB is being written to database (enabled my cmp 
logging).  If i do the same but do not read getObject() but read 
getSomeString() then at the end of the transaction the object is not written 
back to database.

My problem is that when the data is written back to database then the next time 
i read the entity bean its not being taken from cache but a SELECT statement is 
being issued.

Why is the TestBLOB being written to database at the end of the transaction if 
i do getObject()?
How can i make sure that my TestBLOB will be taken from cache although i do 
getObject()

PS,
I'm using commit option A and i have a read only on all my get* methods.

Thanks

Tomer

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

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


[jboss-user] [EJB/JBoss] - ejb local ref between multiple ears

2006-10-04 Thread tomerbd2
hi

can i do ejb local ref between jars that reside in different ear's?

if yes then how do i specify the link:

i saw this over the internet

anonymous wrote : ejb-linksomejar.jar#HelloClientEjb/ejb-link

should it be like 

some_ear.ear#somejar.jar#HelloClientEJB

?

Thanks in advance

Tomer

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

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


[jboss-user] [EJB/JBoss] - Re: ejb local ref between multiple ears

2006-10-04 Thread tomerbd2
OK i tried: ejb-linksomejar.jar#HelloClientEjb/ejb-link and it seems to be 
doing the job... :)

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

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