[jboss-user] [JBoss Messaging Users] - Jboss messaging with transactions and persistance optimizati

2009-09-15 Thread damian.sinczak
I would like to know if there is a possibility to force JBoss to persist 
messages sent to queue immediately. Currently in single transaction i send some 
about 600 000 messages (i can't change it because its my project nature) and I 
have great problem with RAM memory because queue during sending messages does 
not persist them but keep them in memory waiting for transaction commit. with 
the amount of messages I send JBoss takes all RAM available and i slows down a 
lot.

Is there a way to force JBoss messaging to save messages in database 
immediately and not keep them in memory waiting or commit. Of course I would 
like to have rollback functionality.


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

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


[jboss-user] [Security] - jboss j_security_check: russian letters password problem

2009-09-15 Thread pashkinmv
I'm using JBoss 4.2.2 and standard FORM authorization.
Login page charset is UTF-8.
When I press submit button and it redirects me  to j_securitry_check, in 
DatabaseServerLoginModule I have the password in wrong encoding.

Example: entered password but using russial letters: FUBA, in 
DatabaseServerLoginModule I have: фыва.

Any ideas how to solve this problem?   

login-config.xml content:
application-policy name=myPolicy
  
login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule 
flag=required
  module-option name=dsJndiNamejava:/jdbc/myUser/module-option
  module-option name=principalsQueryselect password from login where 
login = ?/module-option
  module-option name=rolesQueryselect role_name, NULL from v_user_role 
where login = ?/module-option
  module-option name=hashAlgorithmMD5/module-option
  module-option name=hashEncodingHEX/module-option
  module-option name=hashCharsetUTF-8/module-option
/login-module
  
/application-policy

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255221

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-15 Thread sebastian.s
Seems to work somehow now the way you proposed doing it. It's an Axis2 
webservice and I had to delete some XML libs from the axis2.jar. Might be 
interesting for others trying to use Axis2 on the Tomcat set up by the jBPM ant 
task.

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

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


[jboss-user] [jBPM Users] - Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
Good morning!

If I got it right there is an ant task which can be used to deploy processes. 
However I have never used this task since when I was still using JBoss I was 
always dropping the business archives in the deployment directory.

The ant task uses a direct database connection to deploy processes, right? So 
you have to supply connection details for the ant task. Can processes also be 
deployed by dropping them in the appropiate directory? 

Bye
Sebastian

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

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


[jboss-user] [jBPM Users] - jPDL PVM

2009-09-15 Thread rmswalsh1
Hi -

Is it possible to develop with jBPM in a modular fashon. What I want is the PVM 
to enable me to create activities - but I would like to use jPDL as the 
modelling and execution language. Basically I dont want to have to download the 
full jBPM install as I dont think I need the other modules. 

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

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


[jboss-user] [JBoss Web Services Users] - Can not generate java bean from a wsdl

2009-09-15 Thread dennyxu
Hi 
I get this error when I try to create a top down web service from a valid wsdl 
using jbossws jax-ws tools:
Error: Could not import. (use --verbose to see full traces) Error: WsImport 
invocation failed. Try the verbose switch for more information 

anybody know what's the problem ?

Thanks
Denny

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

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


[jboss-user] [JBoss Messaging Users] - Re: Jboss messaging with transactions and persistance optimi

2009-09-15 Thread gaohoward
JBM 1.4 supports paging messages to DB to save memory. But it doesn't support 
large transactions so far. 
 

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
The actual problem is that I don't succeed in deploying processes with the help 
of the ANT task. The tasks runs but it always deploys the processs to an 
in-memory database although I have specified the connection details in the 
build.xml file.

I have to say I am a bit confused because there are jdbc-properties and 
hibernate-properties. To be sure I set them both


  | property name=jdbc.driver value=org.hsqldb.jdbcDriver/
  | property name=jdbc.url 
value=jdbc:hsqldb:hsql://myserver.mydomain.de:1701/
  | property name=jdbc.username value=sa/
  | property name=jdbc.password value=/
  | 
  | property name=hibernate.dialect 
value=org.hibernate.dialect.HSQLDialec/
  | property name=hibernate.connection.driver_class 
value=org.hsqldb.jdbcDriver/
  | property name=hibernate.connection.url 
value=jdbc:hsqldb:hsql://myserver.mydomain.de:1701/
  | property name=hibernate.connection.username value=sa/
  | property name=hibernate.connection.password value=/
  | property name=hibernate.format_sql value=true/
  | 

But obviously connection details are ignored:


  | [jbpm-deploy] INFO: using driver: org.hsqldb.jdbcDriver at URL: 
jdbc:hsqldb:mem:.
  | 

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

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


[jboss-user] [JBoss Remoting Users] - Re: Infinite lock in MicroSocketClientInvoker

2009-09-15 Thread mayankmit2002
Hello Ron,
   Thanks for correcting me, in my configuration socket.check_connection was 
set to true, after setting it to false. one of my problem is fixed.
   But till now, I'am just unable to set the socket time out at the client end 
when looking for the remote SLSB, even after setting the timeout value to 1 
ms 

I'm creating my connection in the following way.

  | private static Properties getContextProperties ()
  | {
  | final Properties props = new Properties();
  | props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | props.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  | props.put(jnp.sotimeout, 1);
  | //props.put(jnp.timeout, 1);
  | props.put(timeout, 1);
  | 
  | if (mActiveNetworkAddress != null)
  | {
  | props.put(NamingContext.JNP_LOCAL_ADDRESS, 
mActiveNetworkAddress);
  | }
  | 
  | // for HA-JNDI lookup
  |
  |String partitionName = 
java.lang.System.getProperty(cms.partition.name, 
java.lang.System.getenv(COMPUTERNAME) + _PARTITION);
  | partitionName = partitionName.toUpperCase();
  | 
  | // for auto discovery through partition name
  | props.put(NamingContext.JNP_PARTITION_NAME, partitionName);
  | 
  | props.put(NamingContext.JNP_DISABLE_DISCOVERY, false);
  | 
  | return props;
  | }
  | 

I am passing above properties in the inital context.
is am missing some thing?

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread kukeltje
'Appropriate?' Not in Tomcat, since the deployer is for JBoss, with the ant 
task? Ofcourse not ;-) but you couldbuild your own directory poller in e.g. a 
servlet and use that as a 'deploy' dir

Regarding your 'problem' I think the wrong config is picked up. It works for 
me. Try corrupting the config you expect is used and see if the ant task throws 
an error

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

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


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-15 Thread kukeltje
I do not fully get the reason you ask this, so let me ask a question in return: 
What other modules?

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
You're my hero for today, Ronald. ;) I was messing around with bugs of 
third-party software and started to overlook some things already.

Thanks a lot!

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
Okay, it's me again:

Where and how can I make the HSQLDB server used in the demo setup bind to the 
actual IP address and not to localhost? The reason: I am trying to deploy 
remote.

I have done the following for a workaround: I stopped Tomcat and I changed the 
supplied start-up script to start the HSQLDB from

java -cp hsqldb.jar org.hsqldb.Server -address localhost -port 1701 -dbname.0 
jbpmDatabase

to

java -cp hsqldb.jar org.hsqldb.Server -address 0.0.0.0 -port 1701 -dbname.0 
jbpmDatabase

Then I started the HSQLDB server using the start script and I could deploy my 
process from the remote system. Afterwards I stopped the HSQLDB server and 
restarted Tomcat.

Where can I set the address to bind to when the server is started in/by Tomcat?

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

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


[jboss-user] [Beginner's Corner] - using c3p0 as DefaultDS, can`t force ejb-deployer [EJBTimerS

2009-09-15 Thread pnemec
jboss 4.2.3 GA, java version 1.6.0_15,  c3p0-0.9.1.2.jar, linux

I am trying to use c3p0 as only datasource and I want to get rid of hsqldb-ds 
and mysql-ds.

c3p0-service.xml is default

  | server
  |mbean code=com.mchange.v2.c3p0.jboss.C3P0PooledDataSource
  |   name=jboss:service=PooledDS
  |   attribute name=JndiNamePooledDS/attribute--
  |   attribute name=JdbcUrlURL/attribute
  |   attribute name=DriverClasscom.mysql.jdbc.Driver/attribute
  |   attribute name=UserUSER/attribute
  |   attribute name=PasswordPWD/attribute
  |   /mbean
  | /server
  | 

I set ejb-deployer.xml  - EJBTimerService to depend on this DS by change

  | depends optional-attribute name=DataSorce 
jboss.jca:service=DataSourceBinding,name=DefaultDS /depends
  | 
to

  | dependsjboss.jca:service=DataSourceBinding,name=PooledDS/depends
  | 
However I realize that c3p0 is not bound to jca, so I changed JNDI name of c3p0 
bean to

  | mbean code=com.mchange.v2.c3p0.jboss.C3P0PooledDataSource
  |   name=jboss.jca:service=DataSourceBinding,name=PooledDS
  | 

This worked, but EJBTimerSerivce try look up DataSource with null:

  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
 
  |   State: FAILED 
 
  |   Reason: java.sql.SQLException: Failed to lookup data source: null 
 
  |   I Depend On:  
 
  | jboss.jca:service=DataSourceBinding,name=PooledDS
  | 
This look like that EJBTimerService do not receive any DS. Putting back 
optional-argument=DataSource, helpd.  Error message changed to:

  | ObjectName: jboss.jca:service=DataSourceBinding,name=PooledDS   
  
  |   State: NOTYETINSTALLED
 
  |   Depends On Me:
 
  | jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | 

I find out that I am not alone with this problem. For example in jboss forum
[url]
http://www.jboss.org/index.html?module=bbop=viewtopicp=3983368#3983368 [/url]
Which lead to inetersting solution  
http://www.nabble.com/c3p0-vs-JPA-injections-on-JBoss-td23722441.html . This 
helped me to fix EJBTimerService dependency on Pooled JNDI name.

I am just thinging is it possible to live completly without any -ds.xml data 
source?

[/url]

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

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


[jboss-user] [JBoss Messaging Users] - Re: Jboss messaging with transactions and persistance optimi

2009-09-15 Thread damian.sinczak
Ok I understand that. But my another question is when I'm putting massages in 
smaller transactions (e.g. 50 000 at once) the problem is the same. JBoss 
messaging allocates memory and doesn't free it until last message is delivered 
to recipient. In other words when I put 600 000 messages in separate 
transactions (50 000 messages each) the problem is the same. Only solution 
would be committing next next transaction only when those committed in previous 
one were all delivered (which means that whole allocated memory was released).

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

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


[jboss-user] [jBPM Users] - jBPM in cluster

2009-09-15 Thread ravliv
Hi,
in our project we uses jBPM in the cluster environment with two servers. When 
the process is executed on the server1 and the node fails, the process stay in 
the last commited node and must be signalled to continue manually.

Is there exists some solution to prevent this situation? Is there any 
possibility to automatically recognize these dead processes to notify the 
operator that can signal the process?

Thanks



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

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


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-15 Thread HelloW
alas DTM is enabled on the DB (well according to the DBA) so i'm still unsure 
as to what is causing this error...

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

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


[jboss-user] [JBoss Messaging Users] - Re: Jboss messaging with transactions and persistance optimi

2009-09-15 Thread gaohoward
You can configure the queue using proper fullSize parameter value to limit the 
memory usage in a queue. Please see the document for details.



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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
It's absolutely not my day. Starting Tomcat does not bring up a database server 
anymore. I checked by the help of the HSQLDB Manager. Connecting to localhost 
worked before. I cannot login to the jBPM Console since it gives me the message 
Authentication failed..

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

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


[jboss-user] [jBPM Users] - Re: jBPM in cluster

2009-09-15 Thread kukeltje
recognizing 'dead' processes by the engine is very difficult. How can it 
differentiate from a process that 'normally' is in a specific state... 

Normally, if it fails, the 'signalling' application/service/user/... gets an 
exception and will have to retry. That is the only place where it is really 
known how to respond. 

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

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


[jboss-user] [JBoss Tools Users] - Re: how to delete jars from Web App Libraries

2009-09-15 Thread max.ander...@jboss.com
JBoss Tools depend on Eclipse WTP so I would be surprised if you see any 
difference here.

What did you exactly do that you say worked in WTP but not in JBoss ?

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread kukeltje
Yesterday I would have sent you http://www.youtube.com/watch?v=8yteMugRAc0, but 
today I'm not sure.

What do you mean by :Starting Tomcat does not bring up a database server 
anymore.

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread max.ander...@jboss.com
deanhiller, 

That issue is something JBoss is actually helping fixing in upcoming WTP 3.2 by 
introducing a basic Module assembly page which allows for more flexible 
packaging than what WTP provides now.

I fail to understand how you can say just use WTP since JBoss tools *is* 
using WTP. 

I really would like to know what exactly is not working here ?!

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread mmusaji
As expected...


  |  if(executionService.findProcessInstanceById(processInstanceId) != null) {
  | assertFalse(processInstance.isEnded());
  | }else {
  | assertNull(executionService.findProcessInstanceById(processInstanceId));
  | }
  | 


  | 11:48:43,264 FIN | [BaseJbpmTestCase] === starting testProcess 
=
  | 11:48:43,389 FIN | [BaseJbpmTestCase] using ProcessEngine 78236
  | log4j:WARN No appenders could be found for logger 
(org.hibernate.cfg.Environment).
  | log4j:WARN Please initialize the log4j system properly.
  | 11:48:44,530 FIN | [ProcessDefinitionImpl] creating new execution for 
process 'process'
  | 11:48:44,545 FIN | [DefaultIdGenerator] generated execution id process.363
  | 11:48:44,545 FIN | [ExecuteActivity] executing activity(20045467)
  | 11:48:44,545 FIN | [ExecuteActivity] executing activity(custom one)
  | Executing
  | custom one
  | 11:48:44,561 FIN | [Signal] signalling activity(custom one), signalName=null
  | 11:48:44,561 FIN | [ExecuteActivity] executing activity(fork)
  | 11:48:44,561 FIN | [DefaultIdGenerator] generated execution id 
process.363.custom two
  | 11:48:44,561 FIN | [ExecutionImpl] created execution[process.363.custom two]
  | 11:48:44,561 FIN | [JobExecutorMessageSession] sending message 
ExecuteActivityMessage
  | 11:48:44,576 INF   | [JobExecutorThread] starting...
  | 11:48:44,576 INF | [JobExecutorThread] starting...
  | 11:48:44,576 INF   | [JobExecutorThread] starting...
  | 11:48:44,576 INF | [DispatcherThread] starting...
  | 11:48:44,576 FIN | [DefaultIdGenerator] generated execution id 
process.363.custom three
  | 11:48:44,576 FIN | [ExecutionImpl] created execution[process.363.custom 
three]
  | 11:48:44,576 FIN | [JobExecutorMessageSession] sending message 
ExecuteActivityMessage
  | 11:48:44,576 FIN | [AcquireJobsCmd] start querying first acquirable 
job...
  | 11:48:44,576 FIN | [AcquireJobsCmd] locking jobs []
  | 11:48:44,576 FIN | [GetNextDueDateCmd] getting next due date...
  | 11:48:44,576 FIN | [GetNextDueDateCmd] next due date is null
  | 11:48:44,576 FIN | [DispatcherThread] DispatcherThread will wait 
for max 600ms on org.jbpm.pvm.internal.jobexecutor.jobexecu...@1417690
  | 11:48:44,576 FIN | [DispatcherThread] DispatcherThread woke up
  | 11:48:44,576 FIN | [AcquireJobsCmd] start querying first acquirable 
job...
  | 11:48:44,592 FIN | [AcquireJobsCmd] locking jobs [519]
  | 11:48:44,592 FIN | [DispatcherThread] pushing jobs on the queue 
[519]
  | 11:48:44,592 FIN | [DispatcherThread] added jobs [519] to the queue
  | 11:48:44,592 FIN | [AcquireJobsCmd] start querying first acquirable 
job...
  | 11:48:44,592 FIN   | [JobExecutorThread] took job(s) [519] from queue
  | 11:48:44,592 FIN | [AcquireJobsCmd] locking jobs [520]
  | 11:48:44,592 FIN | [DispatcherThread] pushing jobs on the queue 
[520]
  | 11:48:44,592 FIN | [DispatcherThread] added jobs [520] to the queue
  | 11:48:44,592 FIN | [AcquireJobsCmd] start querying first acquirable 
job...
  | 11:48:44,592 FIN | [JobExecutorThread] took job(s) [520] from queue
  | 11:48:44,608 FIN | [AcquireJobsCmd] locking jobs []
  | 11:48:44,608 FIN | [ExecuteJobCmd] executing job 
ExecuteActivityMessage[519]...
  | 11:48:44,608 FIN   | [ExecuteJobCmd] executing job 
ExecuteActivityMessage[519]...
  | 11:48:44,608 FIN | [GetNextDueDateCmd] getting next due date...
  | 11:48:44,608 FIN | [GetNextDueDateCmd] next due date is null
  | 11:48:44,655 FIN | [ExecuteActivity] execution[process.363.custom two] 
executes activity(custom two)
  | 11:48:44,655 FIN | [JobExecutorMessageSession] sending message 
ExecuteActivityMessage
  | 11:48:44,655 FIN | [ExecuteJobCmd] executing job 
ExecuteActivityMessage[520]...
  | Executing
  | custom two
  | 11:48:44,670 FIN | [DispatcherThread] DispatcherThread will wait 
for max 600ms on org.jbpm.pvm.internal.jobexecutor.jobexecu...@1417690
  | Executing
  | custom three
  | Executing
  | custom two
  | 11:48:44,670 FIN | [ExecuteJobCmd] executed job ExecuteActivityMessage[519]
  | 11:48:44,670 FIN | [ExecuteActivity] execution[process.363.custom 
three] executes activity(custom three)
  | 11:48:44,670 FIN | [JobExecutorMessageSession] sending message 
ExecuteActivityMessage
  | 11:48:44,670 FIN | [ExecuteJobCmd] executed job 
ExecuteActivityMessage[520]
  | 11:48:44,670 FIN   | [ExecuteActivity] execution[process.363.custom two] 
executes activity(custom two)
  | 11:48:44,670 FIN   | [JobExecutorMessageSession] sending message 
ExecuteActivityMessage
  | 11:48:44,670 FIN | [ExecuteJobCmd] executing job 
ExecuteActivityMessage[520]...
  | 11:48:44,670 FIN   | [ExecuteJobCmd] executed job 
ExecuteActivityMessage[519]
  | 11:48:44,670 FIN | [DispatcherThread] DispatcherThread woke up
  | 11:48:44,670 FIN 

[jboss-user] [JBoss Cache Users] - Intergration of Jboss cache with Jboss application serever

2009-09-15 Thread sawan1424
Hi All,
I have been working with Jboss application server from last one 
year.Now I try to install Jboss Cache in JBoss AS.I successfully deployed demo 
of core and pojo caches through ANT without using application server.Now I want 
to use this feature in JBoss AS for my new project.Can any one tell the proces 
of integration of Jboss cache into Jboss AS.How can I implement the shared 
memory concept of JBOSS with new web based project ( JSF, Spring,Hibernate 
etc.).

Please help me out.Provide me any tutorial  which provides me any procedure to 
integrate Jboss cache concept.


Thanks in advance
Sandy

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
My test installation is based upon the demo setup you get when you use ant 
demo.setup.tomcat. Normally after running this ant-task you just have to use 
startup.bat to bring up Tomcat and there you go. When running on the same 
machine you can also connect to the HSQLDB running on localhost with the 
Database Manager. However this does not work anymore and I cannot login to the 
jBPM Console anymore. It just says: Authentication failed.

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread kukeltje
I do not get your remark regarding as expected

Small other question (which might not be related) why do you reassign 
processInstance a new value each time?

And you might try to change the interface of tow and three to ActivityBehaviour 
(since there is no 'waitForSignal' anymore. You can remove the signal method 
then and the 'takeDefaultTransition()'  can be removed as well if there is just 
one outgoing transition. 

Oh and make the error messages in the asserts more explicit (you can add a 
string as message, that way you can easily see in the logging which assert it 
was)

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread kukeltje
Sorry for not being more clear. This part I new (well, sort of, just 
indirectly). 

What I meant was, do you get any errors (I assume not, otherwise you would have 
mentioned that I think) and I also assume you 'reverted' every manual change 
you made.

Can you see what ip adres hsqldb is actually listening on when you start it 
with 0.0.0.0? 

And can http://osdir.com/ml/java.hsqldb.user/2007-05/msg00024.html be related 
e.g. in combination with short connect timeouts?

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: ERROR: invalid console appender config detected, console

2009-09-15 Thread Wolfgang Knauf
Hi,

how did you activate your own log4j.xml? Post the content of log4j.xml 
(remember to wrap it in [ code ] tags here in the forum).

Then someone else (not me, I am no Log4J guru ;-) ) may help.

Best regards

Wolfgang

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

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


[jboss-user] [JBoss Tools Users] - JBoss Tools 3.1 M3 available

2009-09-15 Thread max.ander...@jboss.com
http://in.relation.to/Bloggers/JBossTools31M3 have the details!

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: does classloading isolation in JBoss 4.2.2 GA work?

2009-09-15 Thread hugbert
Well, of course it does, but it's not easy to configure.
This posting helped me a lot
http://www.jboss.org/index.html?module=bbop=viewtopicp=4125416#4125416

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread mmusaji
kukeltje wrote : I do not get your remark regarding as expected

Referring to me suggesting that I was unsure that the process was actually 
completing

kukeltje wrote : 
  | Small other question (which might not be related) why do you reassign 
processInstance a new value each time?
  | 

No reason other it was probably cut and paste from other unit tests.

kukeltje wrote : 
  | And you might try to change the interface of tow and three to 
ActivityBehaviour (since there is no 'waitForSignal' anymore. You can remove 
the signal method then and the 'takeDefaultTransition()'  can be removed as 
well if there is just one outgoing transition. 
  | 

I've done this just not repeat posted the unit test.

kukeltje wrote : 
  | Oh and make the error messages in the asserts more explicit (you can add a 
string as message, that way you can easily see in the logging which assert it 
was)

Good point. Will do this.

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread kukeltje
If you changed the last thing, can you repost your unittest (assuming the 
processdefinition did not change) then I'll give it a try here.

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

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


[jboss-user] [Performance Tuning] - Scaling of a Seam app

2009-09-15 Thread jb0ssn00b
Hello all,

I have experience in developing web applications with php and javascript for 10 
years and have also 7 years of java experience. 

Now I made my way to the JEE world and my interest is creation of scalable 
applications based on this technology.

I have developed a rather simple blog-like web application based on Seam 2.1 
and RichFaces. General functions are viewing of a page, post a comment and do 
search. The output structure is highly dynamic i.e. 90% of HTML content is 
generated based on user input (not much to cache?). We have also an extensive 
usage of the reRender RichFaces property where it makes sense. We run JBoss 
5.0.1 with mod_jk and Apache.

Now I want to proceed with a scaling step and I have thousands of questions, 
also regarding the system setup. 

What we got now is a test system with 1 SATA drive, dual core CPU (2 Ghz) and 
3GB of RAM; the DB system is MySQL. I have done some load tests using the linux 
tool 'siege' which pulls only a certain url and the cookie but not all the 
static content. I have for example concurrency problems with a limit to 
something between 2 and 8 concurrent users.

My general questions are:

- what would be the typical maximum request rate for this hardware 
configuration if using the described components? When should I think of a 
server with e.g. 4 or 8 GB RAM or additional machines for the database or for a 
clustering solution? First of all, which concurrency rates should be normal 
for what configuration? 

- by tuning transaction isolation it seems rather hard to tune the server in a 
way so that there are no concurrency conflicts even on incrementing an item 
counter. What do you do, guys, to avoid that?? (or is that a question to 
Hibernate community?)

- after a level of concurrent requests exceeding 10 or 15 the server gives up, 
saying cannot open jdbc connection and does not recover from this state. 
Tuning db pool size does not help.

- does it make sense to upgrade to JBoss 5.1.0, Seam 2.2 and also JVM 6? (I 
mean, many folks are still happily running JBoss 4 and JVM 1.4 or not?)

- what books or tutorials are known to give an extensive assistance to these 
topics?

thank you very much in advance

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

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


[jboss-user] [JBoss Cache Users] - Blog post on JBoss Cache

2009-09-15 Thread chrismwilk
Hello everyone,

I have just blogged on open source distributed caching solutions, namely 
Infinispan and JBoss Cache

http://bigdatamatters.com/bigdatamatters/2009/09/infinispan-vs-gigaspaces.html

Feel free to post a comment if you want to add or correct something.

Chris

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread sebastian.s
Hello Ronald,

finally I managed to get everything working. As I mentioned already, it was not 
my day. :)

1) When you use the ant task demo.setup.tomcat to create the demo setup the ant 
task also brings up the hsqldb-server using the supplied batch file after the 
installation is done. So I was under the impression that starting Tomcat also 
starts the database but it is just the first time after installation like this. 
Think this is a difference to the JBoss AS setup.

2) Regarding binding the hsqldb-server to the actual ip address I changed the 
installation templates of the config files so the changes are promoted all over 
the setup, especially important for 
C:\jbpm-4.1\apache-tomcat-6.0.20\conf\server.xml where the JbpmConsoleRealm is 
declared together with a connection url to the database server. :)

3) Regarding the deployment I also deleted the line
property name=hibernate.hbm2ddl.autocreate-drop/property from my 
configuration file in the process project. Whenever I deployed the process the 
schema was dropped and re-created so I lost the example users I was using for 
my tests.

Have a nice day and thanks for your hints.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: jsp pages won't compile, servlets run fine

2009-09-15 Thread tjansto
that took care of it.  thank you jaikiran

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

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


[jboss-user] [jBPM Users] - problem with forks, nodes (abnormally) keep active.

2009-09-15 Thread paul.mcd
Hi all, I've got a rather complex workflow which involves several forks in 
hierarchy. You can take the code for reference.

The problem is when signaling the state B.1.1, it's supposed to end this 
state and enter the next state B.1.1.1; but what really happens is B.1.1.1 
is activated and at the same time B.1.1 still remains active. 

This odd thing happen to B.1.2 as well; and they keep active so the whole 
workflow can't finish.

I've tested on both jbpm4.0 and 4.1 and found no luck.

Any suggestions?

?xml version=1.0 encoding=UTF-8?
  | 
  | process name=test_fork xmlns=http://jbpm.org/4.0/jpdl;
  | 
  |start g=222,17,92,52
  |   transition g=-31,-22 name=to A to=A/
  |/start
  |
  |end g=172,848,48,48 name=end/
  |state g=211,100,92,52 name=A
  |   transition g=-31,-22 name=to B to=B/
  |/state
  |state g=211,184,92,52 name=B
  |   transition g=-56,-22 name=to fork1 to=fork1/
  |/state
  |fork g=233,268,48,48 name=fork1
  |   transition g=-43,-22 name=to B.1 to=B.1/
  |   transition name=to B.2 to=B.2 g=-43,-22/
  |/fork
  |state g=149,348,92,52 name=B.1
  |   transition g=-56,-22 name=to fork2 to=fork2/
  |/state
  |state g=273,348,92,52 name=B.2
  |   transition name=to B.2.1 to=B.2.1 g=-55,-22/
  |/state
  |fork g=140,432,92,52 name=fork2
  |   transition g=-55,-22 name=to B.1.1 to=B.1.1/
  |   transition g=-55,-22 name=to B.1.2 to=B.1.2/
  |/fork
  |state g=16,516,92,52 name=B.1.1
  |   transition name=to B.1.1.1 to=B.1.1.1 g=-67,-22/
  |/state
  |state g=140,516,92,52 name=B.1.2
  |   transition g=-56,-22 name=to fork3 to=fork3/
  |/state
  |fork g=140,600,92,52 name=fork3
  |   transition g=-67,-22 name=to B.1.2.1 to=B.1.2.1/
  |   transition g=-67,-22 name=to B.1.2.2 to=B.1.2.2/
  |/fork
  |state g=89,684,92,52 name=B.1.2.1
  |   transition g=-54,-22 name=to join1 to=join1/
  |/state
  |state g=213,684,92,52 name=B.1.2.2
  |   transition g=-54,-22 name=to join1 to=join1/
  |/state
  |join g=172,768,48,48 name=join1
  |   transition g=-46,-22 name=to end to=end/
  |/join
  |state g=16,600,92,52 name=B.1.1.1
  |   transition g=90,771:-54,-22 name=to join1 to=join1/
  |/state
  |state g=279,432,92,52 name=B.2.1
  |   transition name=to B.2.1.1 to=B.2.1.1 g=-67,-22/
  |/state
  |state g=285,516,92,52 name=B.2.1.1
  |   transition g=354,801:-54,-22 name=to join1 to=join1/
  |/state
  | 
  | /process[img][/img]

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

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


[jboss-user] [jBPM Users] - Re: Deploying processes on Tomcat

2009-09-15 Thread kukeltje
1) Was just looking if something like this could be the case. Might be good to 
add that to the docs / setup text somewhere.

2) hahaha... connecting to 0.0.0.0 is indeed a bit difficult

3) Happens to me now and then to :-)

Thanks for reporting back.


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

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


[jboss-user] [jBPM Users] - Fork branch runs through Join node

2009-09-15 Thread michaelholtzman
Greetings. We are trying to diagnose an intermittent problem: while one branch 
of a Fork is in a wait state,  the other branch's child token continues through 
the join and continues executing subsequent process steps.


  | Fork
  | /   \
  | TaskProcess Step
  | \/
  | Join
  |   |
  |more steps
  | 
The first branch is waiting at the task node.
The second branch executes the process step, hits the join, and continues 
executing steps as a child of the root token. The root token remains at the 
Fork node as expected.

Any theory on what might be causing this behavior? It only happens once in a 
long while, and we have no way to reproduce it in a test environment.

Using jBPM 3.1.2 with some bug fixes from newer versions.

Thanx in advance for any thoughts.

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

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


[jboss-user] [JBoss Messaging Users] - Messaging bridge through firewall (remoting problem)

2009-09-15 Thread uiterlix
I'm trying to get a messaging bridge working through a firewall. 

On server A in /server/default/jboss-messaging.sar I specified both a 
secondaryBindPort and secondaryConnectPort:

   4460
   4461

In the firewall I have the ports 1098, 1099, 4457, 4460, 4461 opened up.

When I try to start server B that is actually creating the bridge to server A I 
get a SocketException: Connection Refused when it attempts to connect to the 
secondaryConnectPort of server A (4461).

When I take a look at the ports that are actually bound on server A, all 
mentioned ports except 4461 are listed.

Both servers are running JBoss-4.2.3.GA with messaging 1.4.4.GA and remoting 
2.2.3.

Am I overlooking something ?

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread deanhiller
well, I finally got it to work in jboss tools kind of, but I sure could not 
mount my project from jboss tools.  Here is the exact play by play

First, my dir structure
project
---input
--javasrc
--libexclude - jars not to be put in WEB-INF/lib
--libinclude -- jars to be put in WEB-INF/lib
--webroot - xhtml files and jpgs, etc
-WEB-INF - descriptors (NO jars, no class files)

In WTP, I finally managed to mount this project doing the following
1. checkout project from CVS (then find out there is no way to convert to JSF 
like JBoss has, but alas, I tried that way in JBoss and it didn't work)
2. then delete project but leave on filesystem
3. delete .project and .classpath files to make sure it is a clean java project 
with no eclipse relationship

NOW, I figure I can mount using dynamic web project so I do that
4. choose new-dynamic web project
5. Use default must stay checked and you HAVE to make sure the path maps to 
where your project is.  If you uncheck it and pick your project, it gives you a 
weird error saying project already exists but if you leave it checked, it is 
fine with your project being there which is odd.
(I tried these same exact steps with jboss as well by the way)
6. Next step was then to choose the properties-J2EE Module Dependencies and 
add all the jars there
7. NExt add a tomcat runtime to the servers tab and deploy
deploying worked great in WTP.  Following all these same steps in JBoss, 
deployment failed with ClassNotFoundExceptions like Web App Libraries were not 
being deployed or something


Workaroundto work around this, you HAVE to mount the java project while 
eclipse is WTP and then install JBoss tools AFTER you have mounted the project 
and deployment to tomcat works.  then, for some reason, JBoss tools is ok.

Another really really annoying thing is when I add the seam facet, it adds jars 
to input/webroot/WEB-INF/lib folder which is very annoying..our jars are in 
libinclude and all generated content we put in output folder so just deleting 
the output folder is enough to clean a project.  At some point, jboss tools had 
put classes in input/webroot/WEB-INF/classes as well even though our output 
folder is eclipsegen folder.

I hope this helps.  I spent 3 days on this.

Oh, and my personal opinion is that the wizards should really really ask for 4 
or 5 things
1. javasrc
2. where jars are for WEB-INF/lib
3. where jars are for libexclude(and this is where runtime jars should be put 
so project can build without external dependencies if user wants)
4. where root of web files are
5. maybe an output folder if jboss tools really needs to write out classes, 
jars into WEB-INF(and then just copy over webroot) sort of like the eclipse 
output folder for classes..it is configurable.

Lastly, in JSF WTP, you can choose self manage jars(this is a GREAT feature 
allowing lots of flexibility)...when adding Seam, it does not let you do that, 
there is no option.  

I hope this helps some, thanks for the work!!!

Dean




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

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


[jboss-user] [JBoss Messaging Users] - How do you use JBoss Messaging Clustering

2009-09-15 Thread mzrun3891
I am looking at using a distrbuted queue in a service I am developing.  

JBoss Messaging 1.3 User's Guide has a very short chapter which skims around 
the subject.   

Can you give me a pointers to further information on the subject of Messaging 
Clustering?  How one would go about setting it up within JBoss and consume 
messages from distributed queues?

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread mmusaji
For completion purposes I'll post my unittest and processdefinition again:

My unit test with changes suggested.


  | package org.workflow.test.forum;
  | 
  | import java.util.List;
  | import java.util.Map;
  | 
  | import org.jbpm.api.Execution;
  | import org.jbpm.api.ProcessInstance;
  | import org.jbpm.api.activity.ActivityBehaviour;
  | import org.jbpm.api.activity.ActivityExecution;
  | import org.jbpm.api.activity.ExternalActivityBehaviour;
  | import org.jbpm.api.job.Job;
  | import org.jbpm.test.JbpmTestCase;
  | 
  | public class ProcessTest extends JbpmTestCase {
  | String deploymentDbid;
  | 
  | protected void setUp() throws Exception {
  | super.setUp();
  | deploymentDbid = repositoryService.createDeployment()
  | 
.addResourceFromClasspath(org/workflow/test/forum/process.jpdl.xml)
  | .deploy();
  | }
  | 
  | protected void tearDown() throws Exception {
  | repositoryService.deleteDeploymentCascade(deploymentDbid);
  | super.tearDown();
  | }
  | 
  | public void testProcess() {
  | ProcessInstance processInstance = 
executionService.startProcessInstanceByKey(process);
  | Execution executionInOne = 
processInstance.findActiveExecutionIn(custom one);
  | assertNotNull(executionInOne);
  | processInstance = 
executionService.signalExecutionById(executionInOne.getId());
  | 
  | String processInstanceId = processInstance.getId();
  | 
  | ListJob jobs = managementService.createJobQuery()
  |   .processInstanceId(processInstanceId)
  |   .list();
  | 
  | assertEquals(Job size doesn't equal 2,2, jobs.size());
  | 
  | Job job = jobs.get(0);
  | 
  | managementService.executeJob(job.getId());
  | 
  | job = jobs.get(1);
  | 
  | managementService.executeJob(job.getId());
  | 
  | processInstance = 
executionService.findProcessInstanceById(processInstanceId);
  | 
  | Execution executionInFour = 
processInstance.findActiveExecutionIn(custom four);
  | assertNotNull(ExecutionInFour Is Null,executionInFour);
  | processInstance = 
executionService.signalExecutionById(executionInFour.getId());
  | 
  | 
  | if(executionService.findProcessInstanceById(processInstanceId) != 
null) {
  | assertFalse(ProcessInstance.isEnded() is not 
false,processInstance.isEnded());
  | }else {
  | assertNull(processInstanceID not 
null,executionService.findProcessInstanceById(processInstanceId));
  | }
  | 
  | }
  | 
  | public static class CustomOne implements ExternalActivityBehaviour {
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ActivityExecution execution) throws Exception {
  | System.out.println(Executing);
  | 
  | System.out.println(execution.getActivityName());
  | 
  |   execution.waitForSignal();
  | }
  | 
  | public void signal(ActivityExecution execution, 
  | String signalName, 
  | MapString, ? parameters) {
  | execution.take(signalName);
  | }
  | }
  | 
  | public static class CustomTwo implements ActivityBehaviour {
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ActivityExecution execution) throws Exception {
  | System.out.println(Executing);
  | 
  | System.out.println(execution.getActivityName());
  | 
  | execution.takeDefaultTransition();
  | }
  | 
  | public void signal(ActivityExecution execution, 
  | String signalName, 
  | MapString, ? parameters) {
  | execution.take(signalName);
  | }
  | }
  | 
  | public static class CustomThree implements ActivityBehaviour {
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ActivityExecution execution) throws Exception {
  | System.out.println(Executing);
  | 
  | System.out.println(execution.getActivityName());
  | 
  | execution.takeDefaultTransition();
  | }
  | 
  | public void signal(ActivityExecution execution, 
  | String signalName, 
  | MapString, ? parameters) {
  | execution.take(signalName);
  | }
  | }
  | 
  | public static class CustomFour implements ExternalActivityBehaviour {
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ActivityExecution execution) throws Exception {
  | System.out.println(Executing);
  | 
  | System.out.println(execution.getActivityName());
  | 
  |   execution.waitForSignal();
  | }
  | 
  | public 

[jboss-user] [JBoss Messaging Users] - Re: Messaging bridge through firewall (remoting problem)

2009-09-15 Thread gaohoward
Did your bridge work if the firewall is disabled?
Do you bridge message from A to B or B to A?


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

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


[jboss-user] [JBoss Messaging Users] - Re: Messaging bridge through firewall (remoting problem)

2009-09-15 Thread uiterlix
I just figured it out. Since there is a firewall, but there's no NAT router, 
commenting the secondaryConnectPort did the trick.

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

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


[jboss-user] [JBoss Messaging Users] - Re: How do you use JBoss Messaging Clustering

2009-09-15 Thread gaohoward
Current version of JBoss Messaging is 1.4.4.GA.

You can download it from jboss.org and have a look at the user manual. It gives 
you steps to set up a cluster. Also take a look at distributed-queue example 
included in the download. 

Hope that help you with a good start.

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread jbarrez
The issue here is that you have multiple threads, the JUnit thread and the 
JobExecutor thread(s).

The process is started in the JUnit thread until the custom activities in the 
fork are encountered. Jobs are created and put in the database.

These jobs will be picked up by the JobExecutor threads somewhere in the 
future. However, the JUnit thread is still running and reaches the end of the 
method call. The JUnit framework will now kill its ThreadRunner, which also 
kills all spawned processes (Jobexecutor threads). 

The join activity can never ensure here that all threads have finished, for the 
simple reason that the join is potentially never even reached (if the JUnit 
thread finished quickly).

If you want to control your unit test, you must disable the job executor in 
your config and fire the jobs yourself.

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

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


[jboss-user] [JBoss Messaging Users] - MDB suddenly stops reading from a queue

2009-09-15 Thread luuzz
Hello,
We have an application in production that uses a singletion mdb that reads  in 
a queue. It worked perfectly for months but today we suddenly noticed that the 
mdb wasn't reading the queue anymore.
We restarted our jboss 4.2.0 server but it solved nothing.
Finally we had to delete the data/tx-object-store and data/xmbean-attrs to make 
it finally work.
We had no time to check for logs since we are already in production.
What can be the causes ?


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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread mmusaji
Thanks for that. That explains things perfectly :)

So I can assume, when I deploy this in Jboss (i.e. not running from a junit 
test) then I won't have this problem as the Join will then ensure all 
activities are present before carrying on? As long as I have the waitForSignal 
in my classes as expected?

I think with this approach things are very much clearer. Apologies for letting 
this run for 4 pages :) But thanks for your help and explanations to understand 
this. Not just have to find some time for that blog ;)

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

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


[jboss-user] [EJB 3.0 Users] - JBoss EJB3 Plugin 1.1.16

2009-09-15 Thread thammoud
Hello,

Any idea when 1.1.16 will be released? Thanks.

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread akazakov
deanhiller, please read my comment on 
https://jira.jboss.org/jira/browse/JBIDE-4884:

anonymous wrote : You don't have to install Seam facet to enable seam support 
for a project. Just enable it in Project Properties-Seam settings page.
  | 
  |  adding the facets JSF and seam also incorrectly added a bunch of 
junk...index.html, index.jsp
  | See https://jira.jboss.org/jira/browse/JBIDE-2927

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread deanhiller
actually, I tried that already and it did work!!! thanks...though I can't 
remember if that copied the jars over or not in that case.  

is there a difference between that setting and the seam facet at all?  ie. will 
I be lacking features?

Dean

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

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


[jboss-user] [JBoss Tools Users] - Re: how to delete jars from Web App Libraries

2009-09-15 Thread deanhiller
this post finished off here in another thread...

http://www.jboss.org/index.html?module=bbop=viewtopicp=4255266#4255266

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

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


[jboss-user] [JBoss Tools Users] - CSS Views have been extended to edit styles inside html, xhtm

2009-09-15 Thread sdzmitrovich
CSS Property and Preview views allow to edit styles inside html,xhtml,jsp files 
now. The new capabilities contain:
 - editing of styles  inside style tag
 - editing of style attribute 
Example: 
http://content.screencast.com/users/transfer/folders/Default/media/52814eb6-f3d3-4ac2-b2bd-e61c7cc3b8b9/css_views.swf
The Jira issue related to this 
post:https://jira.jboss.org/jira/browse/JBIDE-4850

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

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


[jboss-user] [Tomcat Integration] - JSP pre compilation vs. JBoss 5

2009-09-15 Thread pkx
Currently I try to run/deploy a war file in  JBoss AS 5.0.0.GA that contains 
pre-compiled JSPs. Unfortunately I get some strange errors, I don't get rid 
off. Below you can find some details about my activities. If anyone has an idea 
of the problem cause - I am very interested in the solution.

Best regards
pkx

1.) JSP pre compilation with jspc-maven-plugin:2.0.-alpha3 using tomcat6 
compiler as described on 
http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html.
-- resulting war file looks fine, JSP's and web.xml are all available
2.) JBoss AS deploys this war file successfully
3.) When the web application is accessed, a ClassNotFoundException is thrown:
 java.lang.ClassNotFoundException: org.apache.jasper.runtime.AnnotationHelper 
from 
baseclassloa...@35b4548f{vfsclassloaderpolicy@521b93d4{name=vfszip:/Applications/jboss/jboss-5.0.0.GA/server/default/deploy/mywar-1.5-SNAPSHOT.war
4.) If I add the missing classes to war file, the deployment of the web 
application fails.


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

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


[jboss-user] [Performance Tuning] - Re: Scaling of a Seam app

2009-09-15 Thread PeterJ
1) That all depends on your app, how it is written, what it does, and the types 
of user and database interactions expected. Using similar hardware and running 
some standard benchmarking apps we have gotten a few hundred concurrent 
requests, and thus several thousand simulated active users.

2) What transaction isolation level are you using? From my understanding (I am 
by no means a Hibernate expert) Hibernate prefers more lenient levels and works 
best with optimistic locking. (And yes, this is probably a question better 
asked to the Hibernate community.)

3) What min and max pool sizes did you specify in the *-ds.xml file? The 
default is 20.

4) There are those that would advocate moving from 5.0.1 to 5.1.0 just to get 
the bug fixes, but if you have a running system, why switch? (I doubt that the 
issues you are facing would go away.)

5) Most of you questions are database connection related, so I suspect that a 
Hibernate book or the Hibernate forum might be a good resource. What database 
are you using? A presentation on scaling Hibernate application using PostgreSQL 
was given at the recent JBossWorld.

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread akazakov
deanhiller wrote : I can't remember if that copied the jars over or not in 
that case.
It doesn't.
deanhiller wrote : is there a difference between that setting and the seam 
facet at all?
Seam settings page can be used to enable/disable Seam on any Java project. And 
it doesn't copy any resources to a project. Facet can be installed only on a 
WTP project and copies resources (libs, java, pages) from Seam templates folder.
deanhiller wrote : ie. will I be lacking features?
No. All features must work.

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

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


[jboss-user] [EJB 3.0 Users] - Race condition - is this according to EJB3 specification?

2009-09-15 Thread NielsM
We are using Seam / Hibernate with container managed transactions. This 
sequence of events occur:
1) A web service is activated, persists stuff and sends the ID of a newly 
persisted item with a JMS message.
2) The receiver of the JMS message tries to look up the item and fails. It 
seems that the first action is not yet committed.
I'm fairly certain that this is, what is happening (the scenario is much more 
complex) since JMS resending later may succeed, and because a sleep in phase 2 
removes the problem.
I had hoped that JBoss would commit the first phase together with the JMS 
message before actually sending the message (and start the new thread).

Regards
Niels Morville

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

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


[jboss-user] [JBoss Messaging Users] - Re: MDB suddenly stops reading from a queue

2009-09-15 Thread gaohoward
Are you using jbm (version) or jboss mq? Is you mdb colocated with your 
messaging service (jbm/mq)? and is your messaging server clustered?

If your mdb sits ourside the messaging server and the network latency is not 
ignorable, you may want to set a reasonable large value of 
validatorPingTimeout. 


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

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


[jboss-user] [jBPM Users] - startProcessInstanceByKey causing a

2009-09-15 Thread jnlugo
Yesterday, I started with a fresh jBPM installation. I started a number of 
process instances no problem with the startProcessInstanceByKey() method. The 
one odd thing is that my process instance ids from yesterday end in even 
numbers ... 2, 4, 8, etc.

Today, after restarting the jboss app server, I was able to create one process 
instance with a process instance id ending in 1.

Now I can no longer start process instances with startProcessInstanceByKey(). I 
get the following exception.

Can someone please help out?

2009-09-15 11:38:42,248 ERROR 
[org.hibernate.event.def.AbstractFlushingEventListener] (http-127.0.0.1-8080-5) 
Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by another 
transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.pvm.internal.history.model.HistoryTaskImpl#2]
at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)
at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2435)
at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2335)
at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2635)
at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:115)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
at 
org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)
at 
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)
at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)
at 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
at 
org.jbpm.pvm.internal.tx.jta.JtaTransaction.commit(JtaTransaction.java:91)
at 
org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:81)
at 
org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61)
at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at 
org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52)
at 
org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45)
at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
at 
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:70)


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

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


[jboss-user] [EJB 3.0 Users] - ejbTimeout java.lang.NullPointerException

2009-09-15 Thread kyle.bober
I have an EJBTimer stateless session bean. I kick of the timer via a JMX bean 
and all works fine. It is when I restart the JBoss server that I am running 
into an issue. 

I noticed that when I startup JBoss I receive the following error:


  | 
  | 07:38:22,445 ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot 
deserialize
  | java.lang.ClassNotFoundException: 
com.thesearchagency.service.kat.model.KATReportDeleteTimer
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:247)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:292)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:247)
  | at 
java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
  | at 
org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
  | at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.deserialize(GeneralPurposeDatabasePersistencePlugin.java:434)
  | at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.selectTimers(GeneralPurposeDatabasePersistencePlugin.java:275)
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy316.listTimerHandles(Unknown Source)
  | at 
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:458)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy329.restoreTimers(Unknown Source)
  | at 
org.jboss.as.ejb3.timerservice.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:118)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:196)
  | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
  | at 

[jboss-user] [JBoss Messaging Users] - Re: MDB suddenly stops reading from a queue

2009-09-15 Thread luuzz
I am using Jboss MQ and everything is on the same server and i am not in a 
cluster.
It has something to do with the data directory .

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

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


[jboss-user] [JBoss Cache Users] - Re: Eviction problems: Thread executing before specified tim

2009-09-15 Thread galder.zamarr...@jboss.com
Hi, apologies for the delay.

Re 1: The problem resides in your test. Whenever you call the following code, 
you're traversing /user FQN and so it's the same as you were doing 
cache.get(/user/1), cache.get(/user/2), cache.get(/user/3), 
cache.get(/user/4)...etc. So, 4 and 5 are always used and since this is the 
last call of the loop before the sleep, they're the most LRU and so data added 
in 3 will be evicted. So, the behaivour you're seeing is correct.
System.out.println(cache.getChildrenNames(/user/));

Re 2: The size is exceeded for only a brief period of time. When eviction kicks 
in, it's reduced back to 5. Obviously, to see this number exactly, you'd need 
to print the contents as soon as the eviction round finished and before you add 
any new data!

Re 3: Just run your test and verified that eviction gets, first time run in 5 
seconds and afterwards every 10 seconds:

grep -nH -e EvictionTimerTask jbosscache.log 
  | jbosscache.log:242:2009-09-15 18:20:56,127 520   TRACE 
[org.jboss.cache.eviction.EvictionTimerTask] (main:) Creating a new eviction 
listener with wakeupInterval millis set at 1
  | jbosscache.log:1509:2009-09-15 18:21:01,155 5548  TRACE 
[org.jboss.cache.eviction.EvictionTimerTask] (EvictionTimer-0:) Processing 
eviction regions [/, /user]
  | jbosscache.log:3168:2009-09-15 18:21:11,243 15636 TRACE 
[org.jboss.cache.eviction.EvictionTimerTask] (EvictionTimer-0:) Processing 
eviction regions [/, /user]
  | jbosscache.log:4908:2009-09-15 18:21:21,295 25688 TRACE 
[org.jboss.cache.eviction.EvictionTimerTask] (EvictionTimer-0:) Processing 
eviction regions [/, /user]

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

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


[jboss-user] [Security] - Re: password protect URL/servlet

2009-09-15 Thread trekie86
This looks like it will help, just need to read up on security-constraints and 
security-roles. Thanks. I'll post if I'm still running into issues.

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

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


[jboss-user] [jBPM Users] - Re: problem with forks, nodes (abnormally) keep active.

2009-09-15 Thread paul.mcd
I've made an all-in-one unit test to demo this problem.

The basic idea behind is during the execution of one process instance, each 
node shall be active before being signaled and inactive after.  The code will 
print out all remaining active activities.

But after signaling  B.1.1, the resulting output is 

anonymous wrote : After signaling B.1.1, actives are [B.1.1, B.1.2, B.1.1.1, 
B.2]

which is clearly not desirable, and the program broke afterwards.

package org.jbpm.examples.concurrency.graphbased;
  | import java.util.ArrayList;
  | import java.util.List;
  | import org.jbpm.api.Execution;
  | import org.jbpm.api.ProcessInstance;
  | import org.jbpm.test.JbpmTestCase;
  | 
  | public class ForkTest extends JbpmTestCase {
  | String deployID = null;
  | private String processDefinitionKey = TestFork;
  |   
  |   private String getJPDL(){
  |   String jpdl = String.format(
  |   process name='%s' xmlns='http://jbpm.org/4.0/jpdl'
  |   +
  |   +start g='211,16,92,52'
  |   +transition name='to A' to='A' g='-31,-22'/
  |   +/start
  |   +
  |   +end g='172,848,48,48' name='end'/
  |   +state name='A' g='211,100,92,52'
  |   +transition name='to B' to='B' g='-31,-22'/
  |   +/state
  |   +state name='B' g='211,184,92,52'
  |   +transition name='to fork1' to='fork1' 
g='-56,-22'/
  |   +/state
  |   +fork name='fork1' g='233,268,48,48'
  |   +transition name='to B.1' to='B.1' g='-43,-22'/
  |   +transition name='to B.2' to='B.2' g='-43,-22'/
  |   +/fork
  |   +state name='B.1' g='149,348,92,52'
  |   +transition name='to fork2' to='fork2' 
g='-56,-22'/
  |   +/state
  |   +state name='B.2' g='273,348,92,52'
  |   +transition name='to B.2.1' to='B.2.1' 
g='-63,-22'/
  |   +/state
  |   +fork name='fork2' g='140,432,92,52'
  |   +transition name='to B.1.1' to='B.1.1' 
g='-55,-22'/
  |   +transition name='to B.1.2' to='B.1.2' 
g='-55,-22'/
  |   +/fork
  |   +state name='B.1.1' g='16,516,92,52'
  |   +transition name='to B.1.1.1' to='B.1.1.1' 
g='-63,-22'/
  |   +/state
  |   +state name='B.1.2' g='140,516,92,52'
  |   +transition name='to fork3' to='fork3' 
g='-56,-22'/
  |   +/state
  |   +fork name='fork3' g='140,600,92,52'
  |   +transition name='to B.1.2.1' to='B.1.2.1' 
g='-67,-22'/
  |   +transition name='to B.1.2.2' to='B.1.2.2' 
g='-67,-22'/
  |   +/fork
  |   +state name='B.1.2.1' g='89,684,92,52'
  |   +transition name='to join1' to='join1' 
g='-54,-22'/
  |   +/state
  |   +state name='B.1.2.2' g='213,684,92,52'
  |   +transition name='to join1' to='join1' 
g='-54,-22'/
  |   +/state
  |   +join name='join1' g='172,768,48,48'
  |   +transition name='to end' to='end' g='-46,-22'/
  |   +/join
  |   +state name='B.1.1.1' g='16,600,92,52'
  |   +transition name='to join1' to='join1' 
g='90,771:-54,-22'/
  |   +/state
  |   +state name='B.2.1' g='279,432,92,52'
  |   +transition name='to B.2.1.1' to='B.2.1.1' 
g='-63,-22'/
  |   +/state
  |   +state name='B.2.1.1' g='285,516,92,52'
  |   +transition name='to join1' to='join1' 
g='354,801:-54,-22'/
  |   +/state
  |   +
  |   +/process, processDefinitionKey);
  |   
  |   return jpdl;
  |   }
  |   
  |   protected void setUp() throws Exception {
  | super.setUp();
  | String jpdl = getJPDL();
  | deployID = 
repositoryService.createDeployment().addResourceFromString(test_fork.jpdl.xml,
 jpdl).deploy();
  |   }
  | 
  |   protected void tearDown() throws Exception {
  | repositoryService.deleteDeployment(deployID);
  | 
  | super.tearDown();
  |   }
  | 
  |   public void testConcurrencyGraphBased() {
  | ProcessInstance processInstance = 
executionService.startProcessInstanceByKey(processDefinitionKey);
  | ListString path = new ArrayListString();
  | path.add(A);
  | path.add(B);
  | path.add(B.1);
  | path.add(B.1.1);
  | path.add(B.1.1.1);
  | 

[jboss-user] [JBoss Portal Users] - Jboss Portal Maven Repository url

2009-09-15 Thread schamarthi
Hi ,

can any one tell me where can I find portal artifacts on public maven 
repository ? 

thx
Srinivas Chamarthi

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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread brandonv
http://repository.jboss.org/maven2/

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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread PeterJ
Which portal artifacts? If you are writing a portlet, you need only the portlet 
API, which you can find at:

http://repository.jboss.org/maven2/javax/portlet/portlet-api/

or

http://repo1.maven.org/maven2/javax/portlet/portlet-api/

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

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


[jboss-user] [EJB 3.0 Users] - ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot deser

2009-09-15 Thread kyle.bober
By the way I forgot to mention I am using JBoss 5.1.0.GA

Any help here or pointers to setting up persistent EJBTimers in JBoss5.1.0.GA 
would be much appreciated.

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

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


[jboss-user] [JMX] - Re: EJB/JCA/Servlets stats in Jboss5

2009-09-15 Thread 6oP
Jaikiran, thanks  for advise. 
Hovewer, we are  using EJB2.0 ( 
Still don't find solution ... 

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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread schamarthi
Thqu so much for the links. 

I am looking for Jboss Portal Jars that are bundled inside the 
jboss-portal.sar\lib (2.7.2 v) not Portlet API.

these are published anywhere ? the portal artifacts published in provided sites 
are of different versions.

whats the best practise to refer them in my pom ? 

thx
Srinivas








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

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


[jboss-user] [Javassist Users] - how to do bytecode manipulation of j2me without having to pr

2009-09-15 Thread shivkumar.ms
Hi All, 
 I am using Javassist to modify a MIDlet class. I was successfully able to 
change the midlet class file and view the changes in Bytecode Viewer. 


But when i try to run the application with WTK emulator it gives me an error as 
follows: 

Error verifying method com/test/TestApp 
commandAction(Ljavax/microedition/lcdui/Command;Ljavax/microedition/lcdui/Displayable;)V
 
Approximate bytecode offset 9: Inconsistent or missing stackmap at target 
Method: 10233084 'com/sun/midp/midlet/MIDletState.createMIDlet 
(static)' 

I tried calling the following methods at the end to see if it fixes the problem 
but it didnt 
1)  methods.getMethodInfo().rebuildStackMap(classPool) on all the methods of 
the midlet class 
2) CtClass.rebuildClassFile() but didnt help.
 

If I run preverification on jar with the modified class files in it and then 
run the application in the simulator, i am able to run it. I am guessing that 
the preverification tool rebuilt the stackmap and hence i could run the midlet 
in the simulator. 


My question is there any way to modify j2me class files without having to run 
preverification ?






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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread PeterJ
It always amazes me that the Maven repository designers ignored the package 
naming convention when putting up their repository - it makes finding stuff 
almost impossible. But fortunately if appears that the JBoss team followed that 
convention, which makes the portal JARs easy to find:

http://repository.jboss.org/maven2/org/jboss/portal/

But now I have to ask, did you already look there but noticed that the 2.7.2 
JARs are not there and so you are really asking why those are missing?

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

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


[jboss-user] [jBPM Users] - Re: JobExecutorThread exception

2009-09-15 Thread jbpm_user369
Apparently it does not fit. 

Just to say that any help on this will be greatly appreciated. Thank you

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

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


[jboss-user] [JBoss Messaging Users] - Re: MDB suddenly stops reading from a queue

2009-09-15 Thread ataylor
This is the JBoss Messaging forum, if you post on the JBoss MQ forum they will 
be able to help you

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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread schamarthi
right, I already looked in there but didnt find something with 2.7.2 there. Any 
clue why 2.7.2 are missing ? or is there anyway I can correlate ? 

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

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


[jboss-user] [EJB 3.0 Users] - ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot deser

2009-09-15 Thread kyle.bober
JBoss 5.1.0.GA

I have an EJBTimer stateless session bean. I kick of the timer via a JMX bean 
and all works fine. It is when I restart the JBoss server that I am running 
into an issue.

I noticed that when I startup JBoss I receive the following error:


  | 07:38:22,445 ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot 
deserialize
  | java.lang.ClassNotFoundException: 
com.thesearchagency.service.kat.model.KATReportDeleteTimer
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:247)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java
  | :292)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java
  | :1119)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:7
  | 98)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:247)
  | at 
java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
  | at 
org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.j
  | ava:109)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
  | at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.deserialize(GeneralPurposeD
  | atabasePersistencePlugin.java:434)
  | at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.selectTimers(GeneralPurpose
  | DatabasePersistencePlugin.java:275)
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolic
  | y.java:165)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy316.listTimerHandles(Unknown Source)
  | at 
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:458)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy329.restoreTimers(Unknown Source)
  | at 
org.jboss.as.ejb3.timerservice.JBossTimerServiceFactory.restoreTimerService(JBossTimerSer
  | viceFactory.java:118)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:196)
  | at 

[jboss-user] [MQ] - MDB suddenly stops reading from a queue

2009-09-15 Thread luuzz
Hello,
We have an application in production that uses a singletion mdb that reads in a 
queue. It worked perfectly for months but today we suddenly noticed that the 
mdb wasn't reading the queue anymore.
We restarted our jboss 4.2.0 server but it solved nothing.
Finally we had to delete the data/tx-object-store and data/xmbean-attrs to make 
it finally work.
We had no time to check for logs since we are already in production.
What can be the causes ? 

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

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


[jboss-user] [JBoss Portal Users] - How to make one war file depend on other war file.

2009-09-15 Thread sunilk713
I have two *.war files deployed in jboss and want to make make sure that 
second.war files come up only after the first.war file is up.

As per my understanding till now, I can add the name of first.war file in   
section of second  /WEB-INF/ jboss-web.xml.

What don’t know what name to mention in .

The actual name of first.war file is 
newDash-0.1.war

And following is Content from jmx-console for first war file.

newDash
loader=newDash-0.1.war


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255385

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Having problem Deploying web service in jboss-4.2.2.GA AS

2009-09-15 Thread rishikvr
I am trying to deployed wsdl( code generated by jbossws-native-3.0.5GA) on 
jboss AS 4.2.2.GA. I am getting the following error when it tries to load the 
DDMS 2.0 specific files. Have no problem deploying using axis. If any body have 
similar issues loading the DDMS 2.0 using the jbossws please point me in the 
right direction. Thanks

14:44:03,616 ERROR [JBossXSErrorHandler] 
JBossWS_metadata.dod.mil_mdr_ns_DDMS_2.0_4300038152969289372.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message=src-resolve.4.2:
 Error resolving component 'ns3:type'. It was detected that 'ns3:type' is in 
namespace 'http://www.w3.org/1999/xlink', but components from this namespace 
are not referenceable from schema document 'file:/
C:/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_metadata.dod.mil_mdr_ns_DDM
S_2.0_4300038152969289372.xsd'. If this is the incorrect namespace, perhaps the 
prefix of 'ns3:type' needs to be changed. If this is the correct namespace, 
then  an appropriate 'import' tag should be added to 
'file:/C:/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_metadata.dod.mil_mdr_ns_DDMS_2.0_4300038152969289372
.xsd'.

14:44:03,616 ERROR [JBossXSErrorHandler] JBossWS_metadata.dod.mil_mdr_ns_DDMS_2.
0_4300038152969289372.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-invalid-content.1]::Message=s4s-elt-invalid-content.1:
 The content of '#AnonType_linkRelatedResourceRelatedResourcesType' is invalid. 
 Element 'attribute' is invalid, misplace, or occurs too often

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

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


[jboss-user] [EJB 3.0 Users] - Re: ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot d

2009-09-15 Thread kyle.bober
This post seems to be the same issue I am running into 

http://www.jboss.org/index.html?module=bbop=viewtopicp=4212804#4212804 

Was anything ever resolved regarding this issue? I am going to provide the 
classloader trace log file for you and hopefully it will shed some light on 
this issue.

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

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


[jboss-user] [EJB 3.0 Users] - Re: ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot d

2009-09-15 Thread kyle.bober
Hosted the file on GigaSize so please forgive me for having to wait for the 
download. If anyone has a better way for me to share these files I am all ears.

http://www.gigasize.com/get.php?d=ys0m5d1g9jd - classloader.log file

http://www.gigasize.com/get.php?d=yxqgyx4d72c - server.log file

Hope this helps and sheds some light on this issue. I would be so grateful for 
any advice or information on how to rectify this issue.

Regards,
Kyle

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

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


[jboss-user] [EJB 3.0 Users] - Re: TimerService Restart Issue

2009-09-15 Thread kyle.bober
I am running into the same issue. Were you able to resolve or figure out how to 
work around this issue?

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

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


[jboss-user] [JBoss Portal Users] - Re: Jboss Portal Maven Repository url

2009-09-15 Thread PeterJ
If you would have said that at the start you could have saved yourself and use 
some time and trouble. As it stands, we have answered your original question. 
Too bad the original question did not reflect the real issue you were facing. 
I'll leave it to someone on the Portal team to answer your latest question.

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

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


[jboss-user] [Installation, Configuration Deployment] - JavaMail recipient override?

2009-09-15 Thread sweetlandj
What I'm trying to do is implement a recipient override in the server mail 
configuration to protect against sending E-mails to customers when testing 
E-mail behavior in non-production environments.  I can do this easily with a 
custom session bean, but unfortunately Seam insists on using either java:/Mail 
or its own internal MailSession wrapper.  I would like to guarantee (as much as 
possible) that any E-mail sent from the system, however it is sent, is subject 
to this override.

One solution is to handle it at the OS level, i.e. configure mail-service.xml 
to point to localhost and configure the local mail server to forward everything 
to a specific set of addresses.  However, that does not prevent a developer 
from checking out code and executing it locally, and if they happen to have a 
local mail relay running then we are in trouble.  So out of the box I'd like 
the app server to be configured to redirect E-mails by default, and to 
explicitly disable this feature in production environments.

I've looked at the MailService MBean source code and it looks like I can 
override this class to accept a class name for some Session implementation, 
load that class from the configuration, and then pass the custom class to the 
Reference constructor.  If I created a Session decorator class that delegated 
all of the calls to the normal Session implementation except for getTransport; 
and then created a Transport decorator that delegates all of its calls to the 
normal Transport except for send() and sendMessages(), then I could intercept 
the message as it is sent and change the addresses before calling the same 
method on the delegate.

Does this sound like a viable approach?  Are there any easier/better ways to go 
about this?  Has anyone implement a similar override system another way?


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

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


[jboss-user] [Clustering] - Tibco Ems Cluster - JBoss MQ

2009-09-15 Thread tzman
JBoss - 4.2.3.GA

We are trying to deploy an application that was previously not clustered into a 
clustered environment. The application has heavy usage of tibco ems with both 
consumers and producers. When initially configuring the system, we used the 
wiki document on integrating JBoss with TibcoEms.

The problem now seems to be in enabling the singleton jms for the consumers. I 
am not entirely sure which portion of the configuration would need to go into 
deploy-hasingleton/jms versus deploy/jms. The setup for clustered jms suggests 
that all of the configuration go into deploy-hasingleton/jms which causes only 
the first node started to be able to find the queues. Adding the configuration 
to deploy/jms allows everything to start appropriately, however we then have 
multiple consumers trying to connect to tibco ems, which is not expected. 

The clustering documentation states that we should configure a shared 
persistence provider for the queues. Is this used to enable JBoss to determine 
which of the consumers ( node ) is active?  We did not configure the 
persistence for jms as tibco is handling this functionality. 

I am not quite sure what additional information to provide. Is this supported? 
Should the configuration be split between the deploy-hasingleton/jms and 
deploy/jms? A pointer to which configurations I need to modify/provide would be 
greatly appreciated and my apologies if this does not make perfect sense.

Thanks in advance.



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

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


[jboss-user] [JBoss Web Services Users] - JBoss 5.1.0 GA Webservice Stack question

2009-09-15 Thread neillott
Hi,

I noticed there are three different webservice stacks, native jboss, apache 
cxf, and metro.  

Can you use all stacks simultaneously in one jboss instance?

Thanks,

Neil

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

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


[jboss-user] [EJB 3.0 Users] - Re: ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot d

2009-09-15 Thread kyle.bober
Seems if I remove the classloader isolation from the jboss-app.xml file in the 
ear files META-INF directory things seem to work properly. This doesn't seem 
right though I should be able to isolate the classloader... Any ideas???

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

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


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread kukeltje
Stupid me, I already mentioned firing the jobs manually (see the test), just 
forgot to disable the jobexecutorAAHH

In your real process it is not needed to have the waitForSignal, if you do not 
want them to explicitly wait for a signal. The reason is that the JobExecutor 
is started then in a different way and not ended like it is when the unittest 
ends. 

So basically your test is correct, just disable the jobexecutor in the config.

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

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


[jboss-user] [jBPM Users] - Re: problem with forks, nodes (abnormally) keep active.

2009-09-15 Thread kukeltje
Thanks for the complete all in one unittest (hear, hear). 

This might be related to https://jira.jboss.org/jira/browse/JBPM-2528 and maybe 
https://jira.jboss.org/jira/browse/JBPM-2516

I'll point to this post in the last issue

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

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


[jboss-user] [jBPM Users] - Re: JobExecutorThread exception

2009-09-15 Thread kukeltje
Thanks for the post. Before I react on the issue, may I point to:

http://catb.org/~esr/faqs/smart-questions.html#volume
http://catb.org/~esr/faqs/smart-questions.html#formats
http://catb.org/~esr/faqs/smart-questions.html#beprecise

jBPM is never tested with JPA (even though in your example Hibernate is the jpa 
provider), it uses Hibernate directly, so any issue you find is basically your 
problem (not meant negatively). 

And if you would have analysed the the logging a little (really, just a little) 
you would have seen 

250  [JbpmJobExecutor:141.29.39.58:1] ERROR org.jbpm.db.JobSession  - 
org.hibernate.MappingException
: Named query not known: JobSe
ssion.getFirstAcquirableJob

So clearly the cause of the error you post is caused by another error. Why this 
named query cannot be found is up to you, since in jBPM with just hibernate it 
works. 

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

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


[jboss-user] [jBPM Users] - Re: startProcessInstanceByKey causing a

2009-09-15 Thread kukeltje
http://www.jboss.org/index.html?module=bbop=viewtopict=158610

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

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


[jboss-user] [jBPM Users] - Re: Fork branch runs through Join node

2009-09-15 Thread kukeltje
Michael,

Has been a known issue up to jBPM 3.2.x (not sure if x=3 or something 
different) with nodes that directly go to the join (e.g. are no wait states) 
Please search the Jira and maybe find related patches that way that went into 
3.2 that you can maybe backport to 3.1. if it is the same issue. 

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

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


[jboss-user] [Performance Tuning] - Re: Scaling of a Seam app

2009-09-15 Thread jb0ssn00b
Hello PeterJ,

 thank you very much for the quick reply and your advice!

PeterJ wrote : 
  | 1) ... some standard benchmarking apps
  | 

are there specific benchmarking tools for Seam/RichFaces? which would you 
recommend?

PeterJ wrote : 
  | 2) What transaction isolation level are you using? ... best with optimistic 
locking. 

I have tried the setting 2 and versioning. Optimistic locking causes lost 
clicks of the item counter through overwriting.. Well, I should go with it to 
the Hibernate folks. But I have a feeling that my transactions (which equals in 
a default setup to a page load?) take too much time, therefore the conflicts.

PeterJ wrote : 
  | 3) What min and max pool sizes did you specify in the *-ds.xml file? The 
default is 20.
I have tried different settings, from more than 20 to hundreds which I do not 
think to be optimal?.. Btw I used c3p0 settings in the persistence.xml

PeterJ wrote : 
  | 5) What database are you using?

MySQL 5.1.; do I need InnoDB tables if using versioning?

kind regards

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

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


[jboss-user] [JBoss Portal Users] - Re: How to make one war file depend on other war file.

2009-09-15 Thread sunilk713
I would like to add that this we are trying on Jboss 4.2.2.   It seems that the 
solutions are there in later versions of jboss. Like create the jmx name in 
first.war file and pick up the jmx name from jmx-console and then use it in 
jboss-web.xml of second.war file. 

IS there any solution for jboss 4.2.2

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

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


[jboss-user] [JBoss Web Services Users] - Re: Can not generate java bean from a wsdl

2009-09-15 Thread meetoblivion
did you try using the verbose option? do you have the WSDL available for us to 
look at?

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread deanhiller
well, this sucks, my content assist seems to be completely broken.  I 
definitely can't work like this.  Where are the logs where the exception will 
be for this stuff?
thanks,
Dean

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread deanhiller
ah crap, why does it redeploy my app every time I make a simple code change.  
In MyEclipse, it just hotswapped the one class and was done.  What is going on? 
 This stinks as if I am in the middle click save and then do another class, it 
pretty much kills my session and what I was doing when it does this 
redeployment it is doing.  any way to change that.

thanks,
Dean

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

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


[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?

2009-09-15 Thread rob.stry...@jboss.com
If your re-deploy which is happening after every save is launching an ant task 
or some sort of long-running process, you're not using the correct server 
adapter. You're using a WTP adapter which is not enhanced for speed. 

If you were using the jbosstools server adapter you wouldn't even really notice 
the change. 

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

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


  1   2   >