[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread sebastian.s
Good morning, Ronald and hello everyone else.

Thank you for your answer. Till now I have been using jBPM on top of JBoss AS. 
But I switched to Tomcat since the Tomcat support is one of the most 
interesting features for me in the new 4.1 release.

For user authentication the demo setup is set to a JDBCRealm (the users table 
of jBPM). I tried adding a new user with the role manager in tomcat-users.xml 
but the file seemed to be ignored. If I understood the Tomcat doc the right way 
I should add an user with the manager role in the database but this does not 
seem to be possible (database schema).

Can anyone give me a hint how to deal with this? Building up on the demo setup 
I would like to deploy some applications on the Tomcat among other things by 
using the manager application to deploy applications and to check.

Thank you for any hints about the Tomcat demo setup.

Sebastian

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

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


[jboss-user] [jBPM Users] - Re: drools in jbpm-console

2009-09-10 Thread prachi.mukhija
Hi Ronald,

Thanks for the reply. What do you mean by processrepository? And how do I make 
my bean classes visible to Drools?.Where should I deploy them? Please let me 
know how to integrate it with jbpm-console.

Many thanks in advance.


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

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


[jboss-user] [jBPM Users] - Re: drools in jbpm-console

2009-09-10 Thread kukeltje
it has nothing to do with the jBPM console. The jBPM console is just a 
front-end to jBPM. 

Your bean classes should be somewhere on the classpath where Drools can 'see' 
them. If you read a little about jBPM, you could know that jBPM 3 deploys 
processdefinitions to the database (process repository) and that jBPM can read 
'versioned actionhandlers' from that repository as well. Other libraries otoh 
can't. So depending on other configurations of your war/ear/... you can e.g. 
deploy them in the war, in a jar that is in an ear or whatever... Of-course 
also depending on how you packaged drools

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

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


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

2009-09-10 Thread sebastian.s
Hello,

I've been trying to figure out if I can use JNDI to get a reference to the 
ProcessEngine on Tomcat. But it seems there is no name configured. Is there 
support to use JNDI and jBPM on Tomcat, or not?

Or is there is no support but it is possible in general?

Thanks for your replies. Tried the forums search but also I was searching for 
Tomcat and JNDI I just found a bunch of posts about the JBoss AS.

Cheers
Sebastian

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

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


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread kukeltje
I think you (and eventually maybe 'we' to) should try to separate the realms 
like in JBoss. So a realm per context

http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html
http://neosmart.net/forums/showthread.php?t=515

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

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


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread sebastian.s
Ok, the person responsible for the Tomcat integration seems to have struggled 
with this when he tried to seperate them.

The supplied configuration in conf/server.xml is commented in this way.


  | !-- 
  |   Current workaround for using the JBPM identity tables on Tomcat.
  |   Setting the Realm on the context with path /jbpm-console did not 
seem
  |   to work. Note that this workaround means that the cmplete 
localhost 
  |   domain will use this realm !
  |  --
  | 

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

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


[jboss-user] [jBPM Users] - Jbpm 4.0 error prone code...

2009-09-10 Thread jay9981
We are using Client API for building process definition from XML file and 
starting execution by using the process def:

Attach is code where we are getting some hibernate error.


protected void processJob(){
  WorkflowProcessInstance wpi = (WorkflowProcessInstance) 
this.getJobDataObject();
  ExecutionImpl pi = wpi.getJbpmProcessInstace();
  if((pi.getState().equals(ProcessInstance.STATE_CREATED))) {
 pi.start();
  }
  while (!pi.isEnded()) {
 if (!terminateJob) {
   ServerUtils.log(ServerUtils.DEBUG, Moving to next 
stage.);
   String execName = null;
   Iterator itr = 
pi.findActiveActivityNames().iterator();
   while(itr.hasNext()) {
  execName = (String)itr.next();
  ExecutionImpl execution = 
pi.findActiveExecutionIn(execName);
  
if(execution.getState().equals(Execution.STATE_INACTIVE_CONCURRENT_ROOT) ||

execution.getState().equals(Execution.STATE_INACTIVE_JOIN) ||

execution.getState().equals(Execution.STATE_INACTIVE_SCOPE)) {
 execution = 
execution.getExecutions().iterator().next();
  }
  if (execution.isActive()  
!execution.isEnded()) {
 execution.signal();
 pi = execution.getProcessInstance();
  }
   }
 } else {
   pi.end();
 }
  }
   }


The highlighted line gives error when it signals on end state (Means when the 
workflow ends). It state hibernate error as listed below.



org.hibernate.ObjectNotFoundException: No row with the given identifier exists: 
[org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl#0]
at 
org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
at 
org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108)
at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97)
at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at 
org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl_$$_javassist_2.setEndTime(HistoryProcessInstanceImpl_$$_javassist_2.java)
at 
org.jbpm.pvm.internal.history.events.ProcessInstanceEnd.process(ProcessInstanceEnd.java:41)
at 
org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
at 
org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:61)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.end(ExecutionImpl.java:353)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.end(ExecutionImpl.java:311)
at 
org.jbpm.jpdl.internal.activity.EndActivity.execute(EndActivity.java:80)
at 
org.jbpm.jpdl.internal.activity.EndActivity.execute(EndActivity.java:45)
at 
org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:637)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:597)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:398)
at 
org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:380)
at 
com.santafe.soa.server.engine.workflow.WorkflowJob.processJob(WorkflowJob.java:95)
at 
com.santafe.soa.server.engine.workflow.WorkflowJob.run(WorkflowJob.java:123)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


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

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


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread kukeltje
the European guy wrote : Ok, the person responsible for the Tomcat 
integration seems to have struggled with this when he tried to seperate them.
  | 

From the jBPM team you mean?

Then file a jira issue (and if you can get it to work by providing a 'patch' 
then that would be even better.

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

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


[jboss-user] [JBoss Cache Users] - org.jboss.cache.lock.UpgradeException: upgrade lock for /lpr

2009-09-10 Thread ravendra.gupta
Hi All, I am using Jboss  cache 'Implementation-Version: 1.4.1.SP9'
I needed  simple functionality to store and retrive objects into cache because 
of memory constraints.

my design is, two  threads putting objects on a node concurrently after putting 
few thousands objects it throws org.jboss.cache.lock.UpgradeException  exception

  | 08:48:27,987 ERROR [LocalCache] cache put error. Key: 
[187885DataLoaderThread-27]. Cache: [/lpr/DataLoaderThread-27]
  | org.jboss.cache.lock.UpgradeException: failure upgrading lock: fqn=/lpr, 
caller=Thread[DataLoaderThread-27,5,jboss], lock=read owners=[Thread[DataLoad
  | erThread-28,5,jboss]] (activeReaders=1, activeWriter=null, 
waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  | at org.jboss.cache.Node.acquire(Node.java:517)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:410)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:322)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:189)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:379)
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:174)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5919)
  | at org.jboss.cache.TreeCache.put(TreeCache.java:3858)
  | at org.jboss.cache.TreeCache.put(TreeCache.java:3799)
  | at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
  | 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:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy185.put(Unknown Source)
  | at com.logica.heca.lpr.cache.LocalCache.put(LocalCache.java:99)
  | at 
com.logica.heca.lpr.cache.ContactVOCache.put(ContactVOCache.java:45)
  | at 
com.logica.heca.lpr.dataLoader.DataLoaderThread.run(DataLoaderThread.java:169)
  | Caused by: org.jboss.cache.lock.UpgradeException: upgrade lock for /lpr 
could not be acquired after 5 ms. Lock map ownership Read lock owners: [Th
  | read[DataLoaderThread-28,5,jboss]]
  | Write lock owner: null
  |  (caller=Thread[DataLoaderThread-27,5,jboss], lock info: read owners=[] 
(activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waiti
  | ngUpgrader=0))
  | at 
org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:187)
  | at org.jboss.cache.Node.acquireWriteLock(Node.java:562)
  | at org.jboss.cache.Node.acquire(Node.java:509)
  | ... 26 more
  | 08:48:27,987 ERROR [DataLoaderThread] What happend?  ... we got an 
unexpected Exception in the worker thread [DataLoaderThread-27]. The thread 
termina
  | tes
  | com.logica.heca.lpr.common.exception.FatalException: Could not store object
  | at com.logica.heca.lpr.cache.LocalCache.put(LocalCache.java:102)
  | at 
com.logica.heca.lpr.cache.ContactVOCache.put(ContactVOCache.java:45)
  | at 
com.logica.heca.lpr.dataLoader.DataLoaderThread.run(DataLoaderThread.java:169)
  | Caused by: org.jboss.cache.lock.UpgradeException: failure upgrading lock: 
fqn=/lpr, caller=Thread[DataLoaderThread-27,5,jboss], lock=read owners=[Thre
  | ad[DataLoaderThread-28,5,jboss]] (activeReaders=1, activeWriter=null, 
waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  | at org.jboss.cache.Node.acquire(Node.java:517)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:410)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:322)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:189)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 

[jboss-user] [JBoss Portal Users] - Re: Forcing login page when http://localhost:8080/portal/ is

2009-09-10 Thread ebephil
Hi Chetan,

have you tried customizing the default login page? It's placed in 
/jboss-portal.sar/portal-server.war/login.jsp.

Regards
Phil

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

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


[jboss-user] [Beginner's Corner] - Calling Webservices working with JBoss 3 and not with JBoss

2009-09-10 Thread ryellayi
Dear JBossers,

I am trying to call webservices running on JBoss 4.2.3 from oracle 11g using 
dbws package. I am getting the following error in logs of JBoss

INFO  [STDOUT] Applying HTTP Status Filter...
ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
org.jboss.ws.WSException: Cannot find child element: username

I already had success in calling webservices on JBoss 3.x, but the same 
procedure is not working on 4.2.3. Please help.

Regards,
Ravikanth.

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

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


[jboss-user] [JBoss Portal Users] - Re: Forcing login page when http://localhost:8080/portal/ is

2009-09-10 Thread ebephil
Or do you want to enforce the login itself? Deactivate the (recursive) viewing 
rights for 'Unchecked' users for the portal using the Admin portlet.

Also check the corresponding chapter in the reference guide 
http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/security.html#securing_objects

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

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


[jboss-user] [JBoss Portal Users] - Re: Global logoff

2009-09-10 Thread ebephil
Without ever having done anything like it, two ideas come to my mind.

First would be SingleSignOn, but that requires modifications on all containers, 
which is probably not what you want.

The second, and maybe more practical approach would be 
InterPortletCommunication via PortletEvents as described in the docs 
(http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/portalapi.html#d0e7108).
 Once you receive a certain event, your portlets could invalidate their 
corresponding session.

Maybe it helps :)

Regards
Phil

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

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


[jboss-user] [Installation, Configuration Deployment] - JBoss 5.0.0.GA failing to deploy

2009-09-10 Thread azharaltaf
Hi,

I am trying to deploy an EAR file which was working perfectly fine on JBoss 
4.0.0.5. I am using Eclipse Galileo to deploy the EAR file and I am getting the 
following exception.


15:40:44,174 ERROR [AbstractKernelController] Error installing to 
PostClassLoader: name=vfszip:/C:/jboss-5.0.0.GA/server/all/deploy/icba10.ear 
state=ClassLoader mode=Manual requiredState=PostClassLoader
  | org.jboss.deployers.spi.DeploymentException: Cannot process metadata
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
  | at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:547)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: java.lang.IllegalArgumentException: ApplicationException is only 
valid on an Exception
  | at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.create(ApplicationExceptionProcessor.java:60)
  | at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:71)
  | at 
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:46)
  | at 
org.jboss.metadata.annotation.creator.AbstractCreator.process(AbstractCreator.java:154)
  | at 
org.jboss.metadata.annotation.creator.AbstractCreator.processMetaData(AbstractCreator.java:87)
  | at 
org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator.create(JBoss50Creator.java:109)
  | at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossMetaData(OptAnnotationMetaDataDeployer.java:134)
  | at 
org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:84)
  | at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
  | ... 21 more

I have not copied any Jar files into any location besides the ones that come 
with the JBoss.5.0.0.GA zip file.

Hope anyone could help me out as this is holding me back.

Thanks

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

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


[jboss-user] [JBoss Web Services Users] - Re: multiple wsdl request from client

2009-09-10 Thread _guido
Not a real solution for this:

*i used the jboss webservice libraries at the client because i needed them to 
get the WS-Security to work (the jdk6 ws implementation doesnt work for me)

*this configruation i dont need no more, because i dont use the WS-Security to 
secure my webservices

*i removed the configuration and if i use the jdk ws implementation - only 1 
wsdl request will be done by the client

bye,
guido

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

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


[jboss-user] [JBoss Portal Users] - Re: JSF Portlet not rendering view - Jsf portletbridge bridg

2009-09-10 Thread joodie
Did you resolve your problem? I still have the same problem. I want to use 
spring web flow with richfaces in liferay and the same error!

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

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


[jboss-user] [Javassist Users] - VerifyError with addLocalVariable() and insertAfter()

2009-09-10 Thread Herkules000
Hi all!

This is my first post here and I am a javassist newbie. So hopefully my problem 
can easily be solved.

From a real usecase, I condensed the following fragment demonstrating my 
problem:

ClassPool cp = ClassPool.getDefault();
  | CtClass cl = cp.getCtClass(jatest.Test);
  | CtMethod m = cl.getDeclaredMethod(foo);
  | 
  | m.addLocalVariable(bar, CtClass.longType);
  | m.insertAfter(bar;, true);
  | 
  | Object o = cl.toClass().newInstance();

The class 'Test' is as simple as it can get:

public class Test {
  | public void foo() {}
  | }
  | 

Running the code delivers a VerifyError which I think it shouldn't:

Exception in thread main java.lang.VerifyError: (class: jatest/Test, method: 
foo signature: ()V) Register pair 1/2 contains wrong type
  | at java.lang.Class.getDeclaredConstructors0(Native Method)
  | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
  | at java.lang.Class.getConstructor0(Class.java:2699)
  | at java.lang.Class.newInstance0(Class.java:326)
  | at java.lang.Class.newInstance(Class.java:308)
  | at jatest.Main.main(Main.java:27)


Tested with 3.11 and 3.5. Where is my fault?

Thank you,

- Joerg

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

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


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread jbarrez
The 'struggling' guy would be me ;-)

The Realm configuration was a last minute addition just before the 4.1 release. 
I followed the Tomcat doc to get a separate Realm for the jbpm-console (by 
adding a config in /conf/catalina/localhost/jbpm-console), but that didn't 
work. I also tried to narrow the realm to the /jbpm-console path obnly in the 
config, but that didn't work either.

So I picked the easy path... The realm configuration certainly needs a revision 
and I would appreciate any pointers in the right direction, since like I said 
I'm hitting a wall with the official tomcat doc. But I do want us to have a 
separate realm.


To answer your initial question: what about adding a manager role + user with 
that role to JBPM4_ID_GROUP, USER, etc?

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

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


[jboss-user] [jBPM Users] - Re: [jBPM4] ESB Service

2009-09-10 Thread c4s4l
Hello,

I'm using the ServiceInvoker from the JBoss ESB to invoke an ESB service within 
the context of a custom activity in jBPM4. I'm getting the exception 
IncompatibleTransactionScopeException which I understand from the ESB 
Programmers guide, nevertheless I just want to make a syncronous call to an ESB 
Service from jBPM4, how can I do this? Is there a workaround to overcome the 
bloking problems?

Thanks,
Sergio

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Starting javax.ejb.timer causes java.lang.IllegalStateEx

2009-09-10 Thread lvonk2000
Self reply: I found this https://jira.jboss.org/jira/browse/EJBTHREE-1701 after 
more forum searching. as work-around we are now moving the initiation of 
starting the timers to servlets as suggested in this very on post 
http://onjava.com/pub/a/onjava/2004/10/13/j2ee-timers.html?page=last

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

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


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread sebastian.s
Hi Joram,

yes, that would be a workaround I think. I noticed this after I had posted. I 
am going to try this but I would prefer a separate realm since this manager 
user has nothing to do with jBPM but with the server administration.

If I get it working I will of course provide the information here.

Thanks for your help.

Bye
Sebastian

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

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


[jboss-user] [JBoss Portal Users] - synchronization of the dashboard

2009-09-10 Thread sviluppatorefico
hi can I keep the synchronization of my dashboard with the template a 
session level? I would that the administrator delete a portlet inside template 
and automatically that portlet go away bu the user dashboard

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

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


[jboss-user] [EJB] - Re: Accessing EJB 2.1 in a isolated EARs

2009-09-10 Thread ghepardo
I have the same problem.

I am using CallByValue=false and Isolated=true.

I have added correctly the ejb-ref into the jboss.xml and ejb-jar.xml, and in 
my company we are using Jboss As 4.2 cp07.

I can succesfully lookup the EJB, but I get this exception:

  | Invalid invocation, check your deployment packaging, method=public abstract
  |  

when I do the create.

Can you help me?

Thanks.

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

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


[jboss-user] [JBoss Portal Users] - Re: ava.lang.ClassCastException: org.jboss.portal.portlet.im

2009-09-10 Thread guenther.her...@softcon.de
If I use our default SEAM Solution:
/**
 * 
 */
package de.softcon.ivory.invserver.action.report;



import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.Map;

import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.portlet.PortletMode;
import javax.portlet.PortletModeException;
import javax.portlet.WindowState;
import javax.portlet.WindowStateException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponseWrapper;

import org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Import;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.core.Manager;
import org.jboss.seam.document.ByteArrayDocumentData;
import org.jboss.seam.document.DocumentData;
import org.jboss.seam.document.DocumentStore;
import org.jboss.seam.log.Log;





/**
 * @author mbaumgar
 *
 */
@Name(downloadComponent)
@Import(org.jboss.seam.pdf)
public class DownloadComponent
{


@In(value = #{facesContext.externalContext})
private ExternalContext externalContext;
@Logger
private Log log;

public void download(String filename, File reportFile)
{
int read = 0;
byte[] bytes = new byte[1000];

ActionResponseImpl res = 
(ActionResponseImpl)FacesContext.getCurrentInstance().getExternalContext().getResponse();
   
 
HttpServletResponseWrapper response = res.getRealResponse();
response.setContentType(application/xls);
response.setContentLength((int) reportFile.length());
response.setHeader(Content-Disposition, attachment; filename=\ + 
filename + \;);
log.info(Content-Disposition attachment; filename=\ + filename + 
\;);
log.error(Content-Disposition attachment; filename=\ + filename + 
\;);
try
{
ServletOutputStream os = response.getOutputStream();

FileInputStream fis = new FileInputStream(reportFile);

while ((read = fis.read(bytes)) != -1)
{
os.write(bytes, 0, read);
}
fis.close();

os.flush();
os.close();

FacesContext.getCurrentInstance().responseComplete();
}
catch (Exception e)
{
if (log.isErrorEnabled())
{
log.error(DownloadComponent.class, e);
}
}
}
}

I get the follwing exception with wrong file-names and lost extension (.pdf or 
.xls):

2009-09-10 11:51:08,161 DEBUG [org.jboss.seam.Component] trying to inject with 
EL expression: #{facesContext.externalContext}
2009-09-10 11:51:08,161 INFO  
[de.softcon.ivory.invserver.action.report.DownloadComponent] 
Content-Disposition attachment; filename=listOfAsset.pdf;
2009-09-10 11:51:08,161 ERROR 
[de.softcon.ivory.invserver.action.report.DownloadComponent] 
Content-Disposition attachment; filename=listOfAsset.pdf;
2009-09-10 11:51:08,161 DEBUG 
[javax.enterprise.resource.webcontainer.jsf.lifecycle] Exiting 
InvokeApplicationsPhase
2009-09-10 11:51:08,161 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process 
after phase INVOKE_APPLICATION 5
2009-09-10 11:51:08,161 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing 
transaction after phase: INVOKE_APPLICATION 5
2009-09-10 11:51:08,161 DEBUG [org.jboss.seam.transaction.UTTransaction] 
committing JTA transaction
2009-09-10 11:51:08,161 DEBUG [org.hibernate.transaction.CacheSynchronization] 
transaction before completion callback
2009-09-10 11:51:08,161 DEBUG [org.hibernate.jdbc.JDBCContext] before 
transaction completion
2009-09-10 11:51:08,161 DEBUG [org.hibernate.impl.SessionImpl] before 
transaction completion
2009-09-10 11:51:08,161 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
automatically flushing session
2009-09-10 11:51:08,161 DEBUG [org.hibernate.impl.SessionImpl] automatically 
flushing session
2009-09-10 11:51:08,161 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] flushing session
2009-09-10 11:51:08,161 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time 
cascades
2009-09-10 11:51:08,161 DEBUG [org.hibernate.engine.Cascade] processing cascade 
ACTION_PERSIST_ON_FLUSH for: de.softcon.ivory.invserver.model.tenant.Tenant
2009-09-10 11:51:08,161 DEBUG [org.hibernate.engine.Cascade] done processing 
cascade ACTION_PERSIST_ON_FLUSH for: 
de.softcon.ivory.invserver.model.tenant.Tenant
..
Lines Deleted
..
2009-09-10 11:51:08,161 DEBUG [org.jboss.seam.contexts.FacesLifecycle]  End 
JSF request for /invserverproject/faces
2009-09-10 11:51:08,161 DEBUG 
[javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [516ms] : 
Execution time for phase (including any PhaseListeners) - 

[jboss-user] [JBoss Portal Users] - Re: ava.lang.ClassCastException: org.jboss.portal.portlet.im

2009-09-10 Thread guenther.her...@softcon.de
the download use the window-name from *-object.xml instead:
?xml version=1.0 encoding=UTF-8?

  
 parent-refdefault/parent-ref
 if-existsoverwrite/if-exists
 
 page-nameinvserverproject/page-name

window-nameinvserverprojectPortletWindow/window-name
instance-refinvserverprojectPortletInstance/instance-ref
center
0
initial-window-statemaximized/initial-window-state


  

  



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

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



[jboss-user] [jBPM Users] - Re: cannot start jbpm-console

2009-09-10 Thread hoodi
Hi,
everything is working now. i did not change anything, just ran the run.bat and 
waited until it was booted, then i could access the jbpm-console.

...i guess something went from during the server startup executed by the demo 
ant skript. perhaps it never started up at all.

well, thank you for your kind and quick help!!

best regards, T.K.

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

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


[jboss-user] [JCA] - Threading issues with WrapperDataSourceService in 4.0.5GA?

2009-09-10 Thread jbaxter
Hi there,

I have exposed my DataSource over JNDI (to an external JVM) from JBoss by 
setting use-java-context to false. The external process is multi-threaded and 
doing a lot of database queries. I am getting the following exception 
periodically...


  | 2009-09-10 11:12:40 ERROR PDMThread_3  [com.aps_uk.pdm.agent.PDMThread] 
Unknown error halting execution
  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy8.close(Unknown Source)
  | at 
com.aps_uk.pdm.common.util.DatabaseUtils.closeSilently(DatabaseUtils.java:28)
  | at 
com.aps_uk.pdm.agent.v4.V4Document.doProcessRecord(V4Document.java:110)
  | at 
com.aps_uk.pdm.agent.v4.BaseConverter.processRecord(BaseConverter.java:50)
  | at com.aps_uk.pdm.agent.PDMThread.run(PDMThread.java:128)
  | Caused by: java.lang.IllegalAccessException: Failed to find ResultSet: 
17347336
  | at 
org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.invoke(WrapperDataSourceService.java:231)
  | at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
  | at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
  | at java.lang.Thread.run(Thread.java:595)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  | at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119)
  | at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | ... 5 more
  | 

As you can see if appears ResultSet '17347336' has disappeared midprocess.

Looking the JBoss server logs I can see...


  | 2009-09-10 11:12:40 DEBUG 
[org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Created 
ResultSet proxy for invoker=jboss:service=invoker,type=jrmp, 
targetName=jboss.jca:service=DataSourceBinding,name=V4DATASOURCE, 
cacheID=17347336
  | 
  | 2009-09-10 11:12:40 DEBUG 
[org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Created 
ResultSet proxy for invoker=jboss:service=invoker,type=jrmp, 
targetName=jboss.jca:service=DataSourceBinding,name=V4DATASOURCE, 
cacheID=17347336
  | 
  | 2009-09-10 11:12:40 DEBUG 
[org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Closed 
ResultSet=17347336
  | 

It seems the WrapperDataSourceService is giving the same cacheID to two 
ResultSets, and when one of my threads closes the ResultSet, the other throws 
an exception when it attempts to use it...

I have just spotted the following post from Weston Price which points out 
remote usage is experimental... 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3982218

Unfortunatly upgrading JBoss is not possible, does anyone know if it is 
possible to recompile JBoss with an updated (fixed) WrapperDataSourceService? 
Does it still exist even...

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

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

[jboss-user] [JBoss Microcontainer Users] - Declare a dependency on an MC bean

2009-09-10 Thread rnicholson10
I'm trying to declare a dependency on the HornetQServer MC bean.

I took the name of the bean from the JMX Console to create the depends clause 
but it does not work:


  | @Depends(value={jboss.deployment:id=HornetQServer,type=Component})
  | 

This is the only reference I can find to HornetQServer in the JMX Console.

The HornetQ forum led me here, this was my original post 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254388#4254388

Could someone shed some light on this for me please?

Cheers,

Ross

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: How to inject the result of a JNDI lookup?

2009-09-10 Thread alesj
Interestingly, it's exactly the same.
See any -jboss-beans.xml, and just copy your snippet properly.

Or you wanna know how to pull something out of JNDI?
There is JNDIKernelRegistryPlugin that does that for you.
You must simply add it as a bean.
Note: it adds some performance penalty as once it's installed, it's included in 
every bean lookup

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread alesj
I need more info.

Where do you put this @Depends?
I have an ServiceBean tells me nothing.

What type of service is this?
How is it deployed?
...

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread jaikiran
1) What does the import statement for @Depends look like (there is a @Depends 
annotaiton in MC as well as EJB3, so want to make sure you are using the 
correct one).

2) In that other post, you mentioned you are adding a @Depends on the 
HornetQServer like this:

@Depends(value={jboss.deployment:id=HornetQServer,type=Component})

That's a MBean created for the deployment of the HornetQServer MC bean. I don't 
think, adding that dependency will work (although i am not sure).

From what you have been explaining, i guess you want this:

@org.jboss.beans.metadata.api.annotations.Depends(value={HornetQServer})

By the way, on what component are you placing this dependency? EJB? And please 
post the complete exception stacktrace that you see.


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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread jaikiran
Ah, too slow to click on submit! Did not see Ales' reply :)

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread rnicholson10
Apologies,

I was using a EJB3 Service Bean.

The solution by Jakiran works correctly and is as follows:


  | @Service
  | @Local(InputServiceBeanLocal.class)
  | @Remote(InputServiceBeanRemote.class)
  | @Management(InputServiceBeanManagement.class)
  | @Depends(value={HornetQServer})
  | public class InputServiceBean implements InputServiceBeanLocal, 
InputServiceBeanRemote, InputServiceBeanManagement
  | {
  | ...
  | }
  | 

How would you normally figure out what the correct name is for the MC Bean? Is 
it simply the id values of the component from the JMX console?

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

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


[jboss-user] [jBPM Users] - Timer is not working

2009-09-10 Thread prajatna
Hi,
  I have designed a timer with a task node. simply it should print a message 
after the given duedate i.e 20 seconds. the code is as follows..

  | process-definition xmlns=urn:jbpm.org:jpdl-3.2 name=newTravelProcess
  | 
  | start-state name=start
  | transition to=PM: Approval name=for PM 
approval/transition
  | /start-state
  | 
  | task-node name=PM: Approval 
  | task name=waitForPMApproval
  | description
  | Waiting for the PM to approve the request
  | /description
  | assignment 
class=com.sample.action.NodeAssignAction/assignment
  | /task
  | timer duedate=20 seconds
  | action class=com.sample.action.TimerAction 
name=ReminderAction/action
  | /timer
  | transition to=approveRequest 
name=approvedByPM/transition
  | transition to=Booking Rejected 
name=PM_rejected/transition
  | /task-node

So, here as per the document it should create the Timer on entry of this task 
node, and should execute the timer action after 20 seconds..

My problem is that the timer is creating , but after 20 sec , nothing is 
happening...

Below is the code for TimerAction

  | public class TimerAction implements ActionHandler {
  | 
  | private static Log log = LogFactory.getLog(TimerAction.class);
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | 
  | log.debug(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-);
  | log.debug(Please approve the request ASAP);
  | log.debug(executionContext.getNode().getName());
  | }
  | 
  | }

and here how i am calling my process from inside a java class

  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | 
  | //-- Extract a process definition from the 
processdefinition.xml file.--
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlResource(simple/processdefinition.xml);
  | jbpmContext.deployProcessDefinition(processDefinition);
  | 
  | 
  | //--- Extracting process from DB with process name 
-
  | 
  | String processName = newTravelProcess;
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | processDefinition = 
graphSession.findLatestProcessDefinition(processName);
  | ProcessInstance processInstance = new 
ProcessInstance(processDefinition);
  | 
  | //--- Create and start the Process execution with Token 
-
  | Token token = processInstance.getRootToken();
  | 
  | log.debug(...Node is. + token.getNode().getName());
  | token.signal();
  | 


Can you please suggest , why the timer is not executing after 20 sec...
I am using JBPM 3.2.2

also find below the logs

  | 17:16:42,412 [main] DEBUG TravelTester : ...Node is.start
  | 17:16:42,412 [main] DEBUG GraphElement : event 'before-signal' on 
'StartState(start)' for 'Token(/)'
  | 17:16:42,412 [main] DEBUG GraphElement : event 'node-leave' on 
'StartState(start)' for 'Token(/)'
  | 17:16:42,412 [main] DEBUG GraphElement : event 'transition' on 
'Transition(for PM approval)' for 'Token(/)'
  | 17:16:42,412 [main] DEBUG GraphElement : event 'node-enter' on 
'TaskNode(PM: Approval)' for 'Token(/)'
  | 17:16:42,412 [main] DEBUG GraphElement : executing action 
'CreateTimerAction(15c97e4)'
  | 17:16:42,412 [main] DEBUG Token : token[3110] is locked by token[3110]
  | 17:16:42,422 [main] DEBUG GraphElement : event 'timer-create' on 
'TaskNode(PM: Approval)' for 'Token(/)'
  | 17:16:42,432 [main] DEBUG Token : token[3110] is unlocked by token[3110]
  | 17:16:42,442 [main] DEBUG GraphElement : event 'task-create' on 
'Task(waitForPMApproval)' for 'Token(/)'
  | 17:16:42,442 [main] DEBUG NodeAssignAction : This Node is---PM: Approval
  | 17:16:42,442 [main] DEBUG NodeAssignAction : Current TaskId-3453
  | 17:16:42,442 [main] DEBUG GraphElement : event 'after-signal' on 
'StartState(start)' for 'Token(/)'
  | 17:16:42,442 [main] DEBUG TravelTester : ...Node after signal is .PM: 
Approval
  | 

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

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


[jboss-user] [jBPM Users] - Re: Deploy jbpm-console in Weblogic Server

2009-09-10 Thread pradeep.gulla
Hi,

I've deployed gwt-console, gwt-console-server.war and created a database realm 
too through weblogic console

But when I'm unable login.

Any suggestions??

- Pradeep

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

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


[jboss-user] [jBPM Users] - Re: Why unique activity names?

2009-09-10 Thread sravyts
We succeeded in using the description as the task name (so in the tasklists, we 
use the description instead of the name), but in another view we need to show 
the active activities in a proces, we callexecution.findActiveActivityNames() 
and get (of course) the names which are again the id's so not reallly 
meaningfull for the end user. If we could call getActiveActivities() (instead 
of the names), maybe it would solve our issue, but I'm sure there are other 
places where we'll have other problems with this workaround...

Extending with an extra field seems to have such a big impact for just creating 
a unique id...  Shame they didn't add it to the design.

Wkr,
Sofie

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

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


[jboss-user] [jBPM Users] - Re: Deploy jbpm-console in Weblogic Server

2009-09-10 Thread kukeltje
errors?

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

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


[jboss-user] [Security] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

2009-09-10 Thread mactex
I get exactly the same error message when trying to use the Databaseserver 
loginmodule. I use JBoss 4.2.3.  In the log there is the following:

javax.security.auth.login.LoginException: java.lang.NullPointerException
  | at 
org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:141)
  | at 
org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206)
  | 

It seems from the source file, that the Datasource returned is null. It's the 
following source in the login module:

 InitialContext ctx = new InitialContext();
  |  DataSource ds = (DataSource) ctx.lookup(dsJndiName);
  |  conn = ds.getConnection();
  | 

I configured everything from the documentation.
login-config.xml:
application-policy name = nedbDbLogin
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  |  flag=required
  | module-option 
name=dsJndiNamejava:jdbc/bavnedb/module-option
  | !--module-option name=hashAlgorithmMD5/module-option
  | module-option name=hashEncodingbase64/module-option 
--
  | module-option name=principalsQuery
  | select password from USER where 
LOGIN_ID=?/module-option
  | module-option name=rolesQuery
  | select 'Nedb_User', 'Roles' from USER where 
LOGIN_ID=?/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

jboss-web.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | jboss-web
  | security-domainjava:/jaas/nedbDbLogin/security-domain
  | /jboss-web

The code for the programmatic login:

  | UsernamePasswordHandler handler = new UsernamePasswordHandler(userId, 
password);
  | 
  | LoginContext loginContext = new 
LoginContext(LOGIN_CONTEXT,
  | (CallbackHandler) handler);
  | loginContext.login();
  | 

Do you have any idea what can be wrong?

Thanks in advance

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: How to inject the result of a JNDI lookup?

2009-09-10 Thread swruch
Thanks, I was able to get it working with the JNDIKernelRegistryPlugin.  I'm 
not using Spring here, so I prefer the native mechanism.  

For those who come looking for a solution, here's what it looks like.  In this 
case, I'm injecting a DataSource that is bound as java:/MySqlDS:


  | bean name=JndiKernelRegistryPlugin
  | class=org.jboss.kernel.plugins.dependency.JNDIKernelRegistryPlugin/
  | 
  | bean name=... class=...
  | 
  | property name=dataSource
  | inject bean=java:MySqlDS/
  | /property
  | 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 5.0.0.GA failing to deploy

2009-09-10 Thread jaikiran
anonymous wrote : I have not copied any Jar files into any location besides the 
ones that come with the JBoss.5.0.0.GA zip file. 

You mean you have not even copied your EAR to the deploy folder? This error 
happens on a clean AS installation?

By the way, i would recommend that you upgrade to the latest stable 5.1.0 AS 
version.

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

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


[jboss-user] [EJB 3.0 Users] - Re: Session EJB and MDB Configuration

2009-09-10 Thread jaikiran
anonymous wrote : Both of these are included in my ejbname-ejb.jar file in the 
META-INF folder

Are you sure the mydomain-aop.xml is included in the META-INF of the ejb jar?

Please post the output of 

jar -tf service-kat-ejb-0.0.1-SNAPSHOT.jar

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

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


[jboss-user] [JNDI and Naming] - ejb-ref lookup does not work in JBoss 4.2.0.GA_CP07

2009-09-10 Thread ghepardo
Hi,
I am using JBoss 4.2.0.GA_CP07 with ear-isolation = true and call-by-value=false

I have the following situation:

ejb A needs to call ejb B, and both are in different isolated EARs.

To do this, as stated on the JBoss community wiki's:

http://www.jboss.org/community/wiki/classloadingconfiguration

I have to configure ejb-jar.xml and jboss.xml of ejb A with  references to ejb 
b.

So, these are my configuration files:
ejb A = TISService
ejb B = GTSService

ejb-jar.xml of ejb A

  | ...
  | enterprise-beans
  | session
  | display-nameTISService/display-name
  | ejb-nameTISService/ejb-name
  | homeit.ltm.ca.tis.session.TISServiceHome/home
  | remoteit.ltm.ca.tis.session.TISServiceRemote/remote
  | 
local-homeit.ltm.ca.tis.session.TISServiceLocalHome/local-home
  | localit.ltm.ca.tis.session.TISServiceLocal/local
  | 
ejb-classit.ltm.ca.tis.session.TISServiceBean/ejb-class
  | session-typeStateless/session-type
  | transaction-typeContainer/transaction-type
  | 
  | !-- RIFERIMENTO AL GTS --
  | ejb-local-ref
  | 
ejb-ref-nameejb/KCP_GTSServiceLocalReference/ejb-ref-name
  | ejb-ref-typeSession/ejb-ref-type
  | 
local-homeit.ltm.kcp.gts.session.GTSServiceLocalHome/local-home
  | 
localit.ltm.kcp.gts.session.GTSServiceLocal/local
  | /ejb-local-ref
  | 
  | /session
  | ...
  | [/CODE]
  | 
  | jboss.xml of ejb A
  | [CODE]
  | ...
  | jboss
  | enterprise-beans
  | session
  | ejb-nameTISService/ejb-name
  | jndi-nameejb/TISService/jndi-name
  | local-jndi-namejava:/ejb/TISService/local-jndi-name
  | 
  | !-- RIFERIMENTO AL GTS --
  | ejb-local-ref
  | 
ejb-ref-nameejb/KCP_GTSServiceLocalReference/ejb-ref-name
  | 
local-jndi-namejava:/ejb/KCP_GTSService/local-jndi-name
  | /ejb-local-ref
  | /session
  | ...
  | 


This is the code I am using to lookup ejb B from a class in ejb A (taken from 
an example in the JBoss UserGuide):


  | Context ctx = (Context) new InitialContext().lookup(java:comp/env
  | GTSServiceLocalHome local = (GTSServiceLocalHome) 
ctx.lookup(ejb/KCP_GTSServiceLocalReference); //I am using the ejb-ref-name 
as the lookup String.
  | GTSService instance = local.create();
  | 

The problem is that the lookup of the ejb-ref fails.

If I try to lookup the JNDI name of the EJB, the lookup succeed, but the create 
fails with Invalid invocation, check your deployment... because it is trying 
to create an instance of ejb B that is in an isolated ear.

Can someone help me?

Why the lookup of the ejb-ref-name fails? 
The main problem is that the ejb-ref-name (ie: ejb/KCP_GTSServiceLocalReference)
is present in the JNDI Tree:

  | Ejb Module: CA_TerminalInteractionSystemEJB.jar
  | 
  | java:comp namespace of the TISService bean:
  | 
  |   +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
  |   +- ORB (class: org.jacorb.orb.ORB)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  |   |   +- ejb (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- KCP_GTSServiceReference[link - ejb/KCP_GTSService] (class: 
javax.naming.LinkRef)
  |   |   |   +- KCP_GTSServiceLocalReference[link - java:/ejb/KCP_GTSService] 
(class: javax.naming.LinkRef)
  | 

I hope to get an answer, I am really blocked here. Thanks

Thanks.

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

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


[jboss-user] [jBPM Users] - Re: Deploy jbpm-console in Weblogic Server

2009-09-10 Thread pradeep.gulla
I didn't see any errors in logs/console

Application repeatedly asking for user/password

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

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


[jboss-user] [EJB] - Re: Accessing EJB 2.1 in a isolated EARs

2009-09-10 Thread gjeudy
@ghepardo,

I came to the conclusion that it's not possible to use CallByReference between 
2 ears with classloader isolation. You have to enable CallByValue, this makes 
class translation between classloaders possible through the use of Java 
serialization.

See this: http://www.jboss.org/community/wiki/classloadingconfiguration.

I tried both options suggested in this article. I was able to make it work only 
with CallByValue=true in EARDeployer though... The other option failed with the 
familiar: anonymous wrote : Invalid invocation, check your deployment packaging 
message. 

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

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


[jboss-user] [EJB 3.0 Users] - Re: Session EJB and MDB Configuration

2009-09-10 Thread kyle.bober
Yup, the mydomain-aop.xml file is definetly present in the META-INF directory. 
Here is the contents of the jar as you requested.

META-INF/
META-INF/MANIFEST.MF
com/
com/thesearchagency/
com/thesearchagency/service/
com/thesearchagency/service/kat/
com/thesearchagency/service/kat/adapter/
com/thesearchagency/service/kat/impl/
com/thesearchagency/service/kat/jmx/
com/thesearchagency/service/kat/mdb/
com/thesearchagency/service/kat/model/
com/thesearchagency/service/kat/report/
com/thesearchagency/service/kat/util/
com/thesearchagency/service/kat/util/manager/
com/thesearchagency/service/kat/util/parser/
com/thesearchagency/service/kat/validator/
com/thesearchagency/service/kat/adapter/IKATDataServiceAdapter.class
com/thesearchagency/service/kat/adapter/KATDataWSAdapter.class
com/thesearchagency/service/kat/adapter/KATDataWSAdapterException.class
com/thesearchagency/service/kat/IKATReportDeleteTimerService.class
com/thesearchagency/service/kat/IKATReportLocal.class
com/thesearchagency/service/kat/IKATReportProcessTimerService.class
com/thesearchagency/service/kat/IKATReportRemote.class
com/thesearchagency/service/kat/IKATReportWS.class
com/thesearchagency/service/kat/impl/KATReportDeleteTimerService.class
com/thesearchagency/service/kat/impl/KATReportEJB.class
com/thesearchagency/service/kat/impl/KATReportProcessTimerService.class
com/thesearchagency/service/kat/impl/KATReportWS.class
com/thesearchagency/service/kat/jmx/IKATReportServiceJMX.class
com/thesearchagency/service/kat/jmx/KATReportServiceJMX.class
com/thesearchagency/service/kat/jmx/KATReportServiceJMXException.class
com/thesearchagency/service/kat/KATReportServiceException.class
com/thesearchagency/service/kat/mdb/KATReportTopicCourier.class
com/thesearchagency/service/kat/mdb/KATReportTopicException.class
com/thesearchagency/service/kat/mdb/KATReportTopicListener.class
com/thesearchagency/service/kat/model/KATReportDeleteTimer.class
com/thesearchagency/service/kat/model/KATReportProcessTimer.class
com/thesearchagency/service/kat/model/KeywordAnalysisDeleteCriteria.class
com/thesearchagency/service/kat/report/KATExactMatchReport.class
com/thesearchagency/service/kat/TransactionException.class
com/thesearchagency/service/kat/TSABaseEJB.class
com/thesearchagency/service/kat/TSABaseWS.class
com/thesearchagency/service/kat/util/manager/ExcelPOIManager.class
com/thesearchagency/service/kat/util/manager/JTAManager.class
com/thesearchagency/service/kat/util/manager/KATReportManager.class
com/thesearchagency/service/kat/util/manager/KATReportManagerException.class
com/thesearchagency/service/kat/util/manager/KATReportMappingManager.class
com/thesearchagency/service/kat/util/manager/KATReportPersistenceManager.class
com/thesearchagency/service/kat/util/manager/KATReportPersistentManagerException.class
com/thesearchagency/service/kat/util/parser/KATReportExcelDOMParser.class
com/thesearchagency/service/kat/util/parser/KATReportExcelDOMParserException.class
com/thesearchagency/service/kat/util/PropertyLoader.class
com/thesearchagency/service/kat/util/ServiceLocator.class
com/thesearchagency/service/kat/ValidationException.class
com/thesearchagency/service/kat/validator/AnnotationValidator.class
dozerBeanMapping.xml
META-INF/jboss.xml
META-INF/mydomain-aop.xml
web-services.properties
META-INF/maven/
META-INF/maven/com.thesearchagency.service/
META-INF/maven/com.thesearchagency.service/service-kat-ejb/
META-INF/maven/com.thesearchagency.service/service-kat-ejb/pom.xml
META-INF/maven/com.thesearchagency.service/service-kat-ejb/pom.properties

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

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


[jboss-user] [EJB 3.0 Users] - Re: Session EJB and MDB Configuration

2009-09-10 Thread kyle.bober
Not sure if this is anything but I also noticed an extra ' single quote in the 
logging output of the container name. Is it possible there is a bug adding an 
extra ' single quote to the container name? Just a thought.

DEPLOYMENTS IN ERROR:
Deployment 
vfszip:/C:/ApplicationServers/jboss-5.1.0.GA/server/default/deploy/svc-kat0.0.1--SNAPSHOT.ear/
 is in error due to the following reason(s): java.lang.RuntimeException: No 
container configured with name 'Strictly Pooled Message Driven Bean''

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

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


[jboss-user] [jBPM Users] - Re: Deploy jbpm-console in Weblogic Server

2009-09-10 Thread kukeltje
Then turn up the debug logging of the jbpm console/wls to see if the 
authentication works at all... little initiative please ;-), we cannot 'guess' 
from nothing and are certainly (well at least I am not) clairvoyant..

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

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


[jboss-user] [JBoss Cache Users] - Re: JBoss Cache (PojoCache) with Hibernate Collections (Pers

2009-09-10 Thread galder.zamarr...@jboss.com
angusm, re: http://www.jboss.org/index.html?module=bbop=viewtopict=159042, 
JBC is only supported as either read only or transactional cache, never 
read-write.

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

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


[jboss-user] [EJB 3.0 Users] - Re: Session EJB and MDB Configuration

2009-09-10 Thread jaikiran
kyle.bober wrote : Not sure if this is anything but I also noticed an extra ' 
single quote in the logging output of the container name. Is it possible there 
is a bug adding an extra ' single quote to the container name? Just a thought.

You can ignore the extra single quote in the log output. That's actually a typo 
in the log message.

As for the issue you are running into, i have tried this using the mdb 
tutorial that we have on that page and it's working fine locally. Can you post 
the entire logs that you see on the console (not server.log)? Maybe that will 
give a hint.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.


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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread alesj
jaikiran wrote : 
  | @Depends(value={jboss.deployment:id=HornetQServer,type=Component})
  | 
  | That's a MBean created for the deployment of the HornetQServer MC bean. I 
don't think, adding that dependency will work (although i am not sure).
  | 
No it wouldn't.
As this is only part of MBeanServer, and not of MC.

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

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


[jboss-user] [JBoss Portal Users] - Re: Global logoff

2009-09-10 Thread dawebster
Thanks, that helps.  I was thinking there might be some sort of JSR186/268 type 
mechanism to assist with that.

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread alesj
rnicholson10 wrote : 
  | How would you normally figure out what the correct name is for the MC Bean?
  | 
There are several ways:
* look into the -jboss-beans.xml file where this bean is defined -- its name 
attribute
* new admin-console
* Grapher tool

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

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


[jboss-user] [Clustering] - Clustering nodes on different machine.

2009-09-10 Thread mausam
Hello

What are the parameters that define the communication between two nodes to be 
clustered on two different machines?

I have to create two nodes in a cluster. The two nodes has to reside on 
different machine.

In node1 (machine1) if have specified PartitionName and udpGroup as 228.1.2.3 
(as stated in JClustering tutorial)

In node2 (machine2), I have done same changes.

But the org.jboss.ha.framework.server.ClusterPartition MBean does not show 
node2 as part of node1 cluster. 

Do i need to ask my unix admin to open some ports on both the machine so that 
both machines can communicate? Or do i need to provide some values somewhere?

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

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


[jboss-user] [Clustering] - Re: Clustering nodes on different machine.

2009-09-10 Thread mausam
Please also note that if I cluster nodes on same machine (different package) it 
works fine, but if I move to different machine, clustering does not work.

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread rnicholson10
Ok, so I looked in the -jboss-beans.xml file but every bean defined has a name. 
It's not easy to figure out which is the one I'm looking for.

The new admin-console (which I'd never seen before), has absolutely no mention 
of HornetQServer, nor can I see any mention of micro-containers in the tree 
listing. Should it be there?

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

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


[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: How to import EJB 3.0 Workbook Exercises into Netbeans

2009-09-10 Thread BonnyBO
I was not able to make the import. I tried by creating an enterprise 
application project with existin source by selecting the relevant inside the 
IDE and 

To achieve theese goals I googled and I read:

1) chapter 6 of Pro NetBeans IDE 5.5 Enterprise Edition - creating an 
enterprise application project with existin source 

2) chapter 6 of Pro Netbeans IDE 6 Rich Client Platform Edition about Ant

in Google books without succeeding.

If anybody can do it please  post me.

Regards,
Franz

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

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


[jboss-user] [Installation, Configuration Deployment] - Unable to load class sun.reflect.GeneratedMethodAccessor

2009-09-10 Thread lawc
Hi,

We have our application ear deployed on jboss 4.2.2. We have integrated 
GridGain into our application to grid-enable some of the methods. GridGain 
allows you to annotate a method and then it uses AOP crosscutting to interject 
grid logic for the method.

Calling these methods works fine the first few times, but after a few 
invocations, jboss throws the exception below. 

I have posted to both JBoss AOP and GridGain forums, but so far nobody has been 
able to help.

Any help will be appreciated.

java.lang.RuntimeException: Unable to load class 
sun.reflect.GeneratedMethodAccessor664
  | at 
org.jboss.aop.pointcut.SecurityActions$LoadClassAction$2.loadClass(SecurityActions.java:86)
  | at org.jboss.aop.pointcut.SecurityActions.loadClass(SecurityActions.java:43)
  | at org.jboss.aop.pointcut.CFlow.matchesClass(CFlow.java:124)
  | at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:88)
  | at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:72)
  | at org.jboss.aop.pointcut.CFlowStack.matches(CFlowStack.java:59)
  | at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:133)
  | at org.jboss.aop.pointcut.ast.ASTCFlow.jjtAccept(ASTCFlow.java:37)
  | at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:73)
  | at 
org.jboss.aop.pointcut.ast.ASTCFlowExpression.jjtAccept(ASTCFlowExpression.java:37)
  | at org.jboss.aop.pointcut.CFlowMatcher.matches(CFlowMatcher.java:55)
  | at 
mx.service.JoinPoint_execute_N_4908115578183543373_1.getCFlow0(JoinPoint_execute_N_49081155781835
  | 43373_1.java)
  | at 
mx.service.JoinPoint_execute_N_4908115578183543373_1.init(JoinPoint_execute_N_4908115578183543373_1.java)
  | at 
mx.service.JoinPoint_execute_N_4908115578183543373_1.invokeJoinpoint(JoinPoint_execute_N_49081155
  | 78183543373_1.java)
  | at 
mx.service.MeasureService$MeasureServiceAdvisor.execute_N_4908115578183543373(MeasureService$Meas
  | ureServiceAdvisor.java)
  | at mx.service.MeasureService.execute(MeasureService.java)
  | at mx.service.MeasureService.execute(MeasureService.java:324)
  | at mx.service.Measurement$MeasureCommand.execute(Measurement.java:455)
  | at mx.service.Measurement$MeasureCommand.execute(Measurement.java:434)
  | at 
mx.runtime.command.CommandServiceImpl.executeCommand(CommandServiceImpl.java:63)
  | at 
mx.runtime.command.CommandServiceBean.doExecute(CommandServiceBean.java:141)
  | at 
mx.runtime.command.CommandServiceBean.executeCommandNonTransactional(CommandServiceBean.java:87)
  | at sun.reflect.GeneratedMethodAccessor664.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63
  | )
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityMan
  | agerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$Supports.invoke(TxInterceptor.java:144)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62
  | )
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterce
  | ptor.java:166)
  | at 
org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationIntercepto
  | r.java:115)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:1
  | 10)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

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

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

[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread alesj
rnicholson10 wrote : Ok, so I looked in the -jboss-beans.xml file but every 
bean defined has a name. It's not easy to figure out which is the one I'm 
looking for.
  | 
In the worst case you can ask the HornetQ guys about the name. ;-)
If they happen use custom schema, I agree, it can be non-trivial.

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

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


[jboss-user] [JBoss Microcontainer Users] - Re: Declare a dependency on an MC bean

2009-09-10 Thread rnicholson10
I love it!

I'll let them know the solution and they can add it to their WIKI, it'll save 
others the hassle of the search.

Thanks a million,

R.

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

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


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

2009-09-10 Thread mmusaji
JBPM 4.0 - My workflow contains a fork with multiple custom nodes that all 
change different objects. My problem is in real life, I won't know how long 
this process takes.

I'm experimenting (without much luck) having a wait state before the join which 
would use an event-listener to ensure all the objects have been updated. My 
Unit test just keep going through and process completing and im struggling 
testing this. Is this the right way of going about this problem?



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

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


[jboss-user] [JBoss Messaging Users] - Re: Failed to send changeRate message

2009-09-10 Thread mayankmit2002
I am experiencing the same problem,
I my case I've following scenario:
I have 2 nodes(JBOSS AS 4.2.3GA, on two machines) and client is on third 
machine, when I unplug the network cable of any of the server node, I an 
receiving following exception on the other server but there is no exception on 
the client.
   These exceptions are coming repeatedly untill JBOSS failover gets completed.




  | log4j:event logger=org.jboss.messaging.util.ExceptionUtil 
timestamp=1252592516133 level=ERROR thread=WorkManager(2)-134
  | 
log4j:message![CDATA[SessionEndpoint[ks1-wx38lfzf-1-twjzjfzf-hus5ub-s222e464]
 createConsumerDelegate 
[7z1-93r8lfzf-1-twjzjfzf-hus5ub-s222e464]]]/log4j:message
  | log4j:throwable![CDATA[java.lang.IllegalStateException: 
org.jboss.messaging.core.impl.postoffice.groupmem...@118d28b response not 
received from 150.158.74.137:2644 - there may be others
  | at 
org.jboss.messaging.core.impl.postoffice.GroupMember.multicastControl(GroupMember.java:262)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalAddBinding(MessagingPostOffice.java:1895)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:454)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1909)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:262)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:123)
  | 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.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
  | at 
org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:100)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
  | at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
  | at org.jboss.remoting.Client.invoke(Client.java:1683)
  | at org.jboss.remoting.Client.invoke(Client.java:607)
  | at org.jboss.remoting.Client.invoke(Client.java:593)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:267)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCreationAspect.java:142)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect30.invoke(StateCreationAspect30.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect.java:76)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect29.invoke(ConsumerAspect29.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 

[jboss-user] [JBoss Tools Users] - Will 3.1.0.M3 be available before October?

2009-09-10 Thread Juergen.Zimmermann
Just a question for project planning.

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

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


[jboss-user] [Clustering] - Failover falied with network failure

2009-09-10 Thread mayankmit2002
I have 2 JBoss 4.2.3GA in a cluster with Jboss Messaging 1.4.2 SP1, on network 
failover following exceptions are comming:



  | log4j:event logger=org.jboss.messaging.util.ExceptionUtil 
timestamp=1252592516133 level=ERROR thread=WorkManager(2)-134
  | 
log4j:message![CDATA[SessionEndpoint[ks1-wx38lfzf-1-twjzjfzf-hus5ub-s222e464]
 createConsumerDelegate 
[7z1-93r8lfzf-1-twjzjfzf-hus5ub-s222e464]]]/log4j:message
  | log4j:throwable![CDATA[java.lang.IllegalStateException: 
org.jboss.messaging.core.impl.postoffice.groupmem...@118d28b response not 
received from 150.158.74.137:2644 - there may be others
  | at 
org.jboss.messaging.core.impl.postoffice.GroupMember.multicastControl(GroupMember.java:262)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalAddBinding(MessagingPostOffice.java:1895)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:454)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1909)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:262)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:123)
  | 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.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
  | at 
org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:100)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
  | at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
  | at org.jboss.remoting.Client.invoke(Client.java:1683)
  | at org.jboss.remoting.Client.invoke(Client.java:607)
  | at org.jboss.remoting.Client.invoke(Client.java:593)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:267)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCreationAspect.java:142)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect30.invoke(StateCreationAspect30.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect.java:76)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect29.invoke(ConsumerAspect29.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 

[jboss-user] [JBoss Tools Users] - JSP Pages are not compiling in JBoss5.1.0GA

2009-09-10 Thread m.sudharsana
Hi Folks,

We have developed an webapplication and we deployed in JBoss4.0.1sp1 
application is running fine.

One week back we downloaded JBoss5.1.0GA and we deployed the same application 
in JBoss5.1.0GA, but we are getting this eaception 
org.apache.jasper.JasperException: Unable to compile class for JSP: 

please find the exception details below


HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 56 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type 
JspFactory

An error occurred at line: 17 in the jsp file: 
/pages/configset/createconfigset.jsp
The method setJspId(String) is undefined for the type ViewTag
14: %...@page 
import=com.cisco.wo.configui.beans.backing.configset.CreateBackingBean%
15: %...@page import=com.cisco.wo.configui.utils.ConfigUIConst%
16:
17: f:view
18:
19:
20: %


An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
The method setJspId(String) is undefined for the type SubviewTag
42:
43: !-- Start header --
44:
45: f:subview id=configsetHeader
46: c:import url=configsetheader.jsp /
47: /f:subview
48:


An error occurred at line: 45 in the jsp file: /pages/configset/createt.jsp
The method setBodyContent(BodyContent) is undefined for the type SubviewTag
42:
43: !-- Start header --
44:
45: f:subview id=configsetHeader
46: c:import url=setheader.jsp /
47: /f:subview
48:


An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
The method doInitBody() is undefined for the type SubviewTag
42:
43: !-- Start header --
44:
45: f:subview id=configsetHeader
46: c:import url=configsetheader.jsp /
47: /f:subview
48:

Thanks in Advance...!

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: One deploy dir per user

2009-09-10 Thread pplupo
On Tomcat there is a config file where one can declare:

Host name=localhost ...

  Listener className=org.apache.catalina.startup.UserConfig
directoryName=public_html
homeBase=c:\Homes
userClass=org.apache.catalina.startup.HomesUserDatabase/


where c:\homes is where users' home folders are and public_html is the 
folder to be scanned for WAR files.

Then if there is a user called pplupo, his contents will be found at 
C:\homes\pplupo\public_html and his applications will be available at 
http://host:port/~pplupo automatically.

I just want to do something similar with JBoss. Even if it is not that easy, if 
I have to change multiple files, multiple tags, properties or anything else, 
but I need to set up an environment like that.

Can anyone help me?

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-09-10 Thread salaboy21
@Jan

The Drools team always appreciates feedback, so I would like to ask you to 
clarify a few of your statements if that is ok?

What gives you the impression that Drools Flow does not perform well in the 
Java world?  An action node can contain any Java code you want.  You have 
direct access to your process variables (as if they were local variables) and 
you have clear access to your context through a kcontext object.  You can 
easily define processes in Java (if you don't like XML) using a fluent API. The 
engine itself is a simple Java POJO component that can run embedded (without 
any db even).  What features are we missing to make it even more Java-friendly?

Let's suggest you have an application where you're not that interested in 
rules.  Why do you think Drools Flow has a more complex architecture in that 
case (basically both engines are implemented as a simple state machine, if you 
don't use rules the underlying technology is very similar)?  Does the fact that 
it is also possible to use rules make the overall solution more complex?  We 
tried to keep the APIs separate as much as possible though (check out 
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/process/ProcessRuntime.java,
 I don't think it can get much easier than that?).

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

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


[jboss-user] [JBoss Tools Users] - Re: Will 3.1.0.M3 be available before October?

2009-09-10 Thread max.ander...@jboss.com
Yes it will be.

What project is that ? Late night testing of JBoss Tools development releases ? 
:)

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

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


[jboss-user] [JBoss Tools Users] - Re: JSP Pages are not compiling in JBoss5.1.0GA

2009-09-10 Thread max.ander...@jboss.com
you should ask in JBoss AS forum - the tools doesn't have anything to do with 
what is going on at runtime.

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

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


[jboss-user] [jBPM Users] - Re: does JBPM support below features?

2009-09-10 Thread koen.a...@jboss.com
Mauricio, 

These forums are not the place to discuss the features or the architecture of 
Drools Flow. Please continue these discussions in the appropriate forum.

Moreover, as Tom already indicated in an earlier post in this thread, jBPM is 
the only BPM solution that is and will be supported and productized in the 
JBoss portfolio.

Regards,
Koen

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

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


[jboss-user] [jBPM Users] - NullPointerException using identityService

2009-09-10 Thread cjmanju123
I am getting NullPointerException when trying to do anything using the 
identityservcie. following is the test code. i can create process, assign tasks 
but when i try any method on the identityservice it throws 
NullPointerException. Please help.

   Configuration configuration = JBPMSingleton.getConfig();
ProcessEngine processEngine = configuration.buildProcessEngine();
IdentityService identityService = processEngine.getIdentityService();

String group = identityService.createGroup(test);
identityService.createUser(jason, jason, king);
identityService.createMembership(alex, group, developer);
int i = identityService.findUsers().size();
System.out.println(no of users  + i);

Thanks
Manju

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

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


[jboss-user] [JBoss Tools Users] - Re: JSP Pages are not compiling in JBoss5.1.0GA

2009-09-10 Thread nickboldt
AFAIK, JBoss AS 5.1 requires JDK 6. Are you using JDK 5?

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

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


[jboss-user] [JBoss Portal Users] - Re: Pb starting jboss in windows service

2009-09-10 Thread PeterJ
sanouk, this question has nothing to do with JBoss Portal. I suggest you ask 
this question in the Installation, Config and Deployment forum: 
http://www.jboss.org/index.html?module=bbop=viewforumf=61

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

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


[jboss-user] [jBPM Users] - Re: JBPM Nested Fork/Joins Doesn't seem to work

2009-09-10 Thread romain_l-m
up please... I can't find my way

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

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


[jboss-user] [JBoss Messaging Users] - Re: How to create persistent queues on the fly

2009-09-10 Thread c2lindevall
Hi,

Is it on the roadmap for HornetQ to extend the JMS dynamic management interface 
(namely JMSServerControl) with the other createQueue and createTopic versions? 

Not sure how important this would be for people out there, but I automatically 
assumed all the versions would be available (or at least one that also includes 
the selector and temporary parameters).

The following fails in the latest version of HornetQ (HornetQ-2.0.0.BETA5):

  | Queue queue = new HornetQQueue(hornetq.management, 
hornetq.management);
  | QueueRequestor requestor = new QueueRequestor((QueueSession) 
session, queue);
  | Message msg = session.createMessage();
  | JMSManagementHelper.putOperationInvocation(msg, jms.server,
  | createQueue, name, jndi, selector, temporary);
  | Message reply = requestor.request(msg);
  | boolean success = 
JMSManagementHelper.hasOperationSucceeded(reply);
  | 

I could use core.server instead of jms.server, but then some of the JMS 
logic is bypassed (eg. binding to JNDI). I'll resort to using core.server + 
calling the JMS logic somehow by hand for now.

Decided to post this here, even though it partly does not concern only creation 
of durable queues and topics.

~CLi

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

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


[jboss-user] [JBoss Portal Users] - Re: synchronization of the dashboard

2009-09-10 Thread vivek_saini07
Not immediately but after next page refresh portlets can be made added/removed 
( themeChange/LayoutChange) from the dashboard. It could be achieved by 
modifying CustomizationManagerService.
It is explained multiple times in this forum that how to modify this Mbean.

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

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


[jboss-user] [Clustering] - Datasource settings help for clustered jboss with RAC Oracle

2009-09-10 Thread mikeike
Hi, 

I need some help in setting-up and testing a datasource as I am pretty new to 
JBoss. We have a clustered jboss environment that connects to a RAC Oracle 
Database. Wanted to find out how do I configure my Datasource and what is the 
best approach and where exactly do I need to make changes. Using JBoss 4.2.3 

How do I make sure my datasource setting is such that anytime a cluster server 
or RAC node goes done any transactions in between should go to completion. How 
can I test different scenarios are there any java programs that I can use for 
testing. Any help is really appreciated. 

Thanks

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

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


[jboss-user] [Beginner's Corner] - Re: No logs wrote to server.log

2009-09-10 Thread PeterJ
The logging to server.log is configured via 
server/default/config/jboss-log4j.xml. Perhaps that was changed (or 
removed???). Either that, or someone set the jboss.server.log.dir system 
property to relocate the log directory.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to bind to all interfaces on JBoss 5.1

2009-09-10 Thread PeterJ
Is this a typo: -b0.0.0.0
It should be: -b 0.0.0.0

How did you change the run.bat? According to the error message you appear to 
have set the bind address to /0.0.0.0 and not 0.0.0.0.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to bind to all interfaces on JBoss 5.1

2009-09-10 Thread PeterJ
Also, I recommend that instead of changing run.bat you create a new batch file 
that contains:

call run.bat -b 0.0.0.0

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

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


[jboss-user] [Security] - Re: Problems with clientAuth=

2009-09-10 Thread walterpa
I get the same error using FireFox. What should the trust file look like. 
I removed the certificate then accessed the https url and accepted the 
exception (created the new certifictate). BUT I still get the same error 
message using FireFox.

thanks

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

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


[jboss-user] [EJB] - Re: Not able to Deploy Local ejbs across multiple ears

2009-09-10 Thread wluque
Hi , I have the same example , work fine for me in Jboss 4.2.2.GA , but I have 
the same InstanceAlreadyExistsException  error in Jboss 5.1.0.GA .

I need only one EJB instance reference running in the server used by the all 
EARS. Taht work in jboss4.2.2. but not work in Jboss 5.1 .

Any idea?

Best regards
Walter


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

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


[jboss-user] [JBoss Web Services Users] - Re: having trouble specifying namespace

2009-09-10 Thread rsobchak
Update:

I removed the SEI so now the web service looks like this

  | @WebService(serviceName = MyEndpointService,
  | portName = MyEndpointPort,
  | targetNamespace=http://com.myCompany;)
  | @WebContext(contextRoot = /myCompany, urlPattern = /myWebService)
  | @Stateless
  | 
  | public class MyEJB 
  | {
  | public void myMethod(String param1)
  | {
  | }
  | }
  | 

When this is deployed with JBoss creating the WSDL, the namespace in the WSDL 
is http://com.myCompany; with no import of another WSDL.

What am I doing wrong when specifying the SEI and its targetNamespace that 
causes the WSDL to import another WSDL with the default package as the 
namespace (and not the targetNamespace)?


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

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


[jboss-user] [jBPM Users] - HistoryTaskQuery.startedBefore() and startedAfter() dont wor

2009-09-10 Thread jnlugo
I'm using jBPM 4.0. When I use HistoryTaskQuery.startedBefore() or 
HistoryTaskQuery.startedAfter(), I get the following exception ...

2009-09-09 14:30:17,483 INFO  [org.jbpm.pvm.internal.svc.DefaultCommandService] 
(http-127.0.0.1-8080-6) exception while executing command 
org.jbpm.pvm.internal.query.historytaskqueryi...@171cb33
org.hibernate.QueryException: could not resolve property: startTime of: 
org.jbpm.pvm.internal.history.model.HistoryTaskImpl [select ht from 
org.jbpm.pvm.internal.history.model.HistoryTaskImpl as ht where  ht.startTime  
:startedBefore   and  ht.startTime  :startedAfter ]
at 
org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:67)
at 
org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:61)
at 
org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1385)
at 
org.hibernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:302)
at 
org.hibernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:407)
at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:589)
at org.hibernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:264)
at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:211)
at 
org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:117)
at 
org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:113)
at org.hibernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:750)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1216)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4041)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3573)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1762)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1687)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:776)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:577)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:251)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)
at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
at 
org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:85)
at 
org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:80)
at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at 
org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79)
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:54)
at 
org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:61)
at 
org.jbpm.pvm.internal.query.HistoryTaskQueryImpl.list(HistoryTaskQueryImpl.java:113)
...

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to bind to all interfaces on JBoss 5.1

2009-09-10 Thread ngtdave
Thank you for your quick reply PeterJ!

You are right, I meant -b 0.0.0.0 but the log definitely says /0.0.0.0, I'm 
not sure why.

Anyway, just tried again and it seems a good old fashion Windows reboot fixed 
the problem. I should have known, I've seen this with other ports Windows 
randomly takes. I would add this port to the list of reserved ports in Windows 
(so it won't take it) but I'm not sure what port 4,712 means... I assume 4712.

Anyway, thank you again for your help, I hope this helps others as well.


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

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


[jboss-user] [JBoss Tools Users] - jboss 5.1 runtime server is not doploying ear

2009-09-10 Thread marcilio.grisotto
A new EAR Application created within eclipse targeting jboss 5.1 runtime does 
not get deployed on server deploy folder. The servers view show application 
status as synchronized. 
I am using Eclipse 3.5 and JBossTools-Update-3.1.0.M3-N200909080001-H260. I 
installed only Jboss Tools, not Jboss Tools Integration or Jboss Tools SDK.
I am downloading JBossTools-Update-3.1.0.v200909100601N-H270-M3 to check if the 
problem is still there.

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

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


[jboss-user] [JBoss Tools Users] - want to port project from myeclipse to jboss tools...

2009-09-10 Thread deanhiller
We have a project and we don't really want to change the directory structure as 
it matches all of our other projects(jar projects included here).  It is like 
so...

project
input
   javasrc - src code
   libinclude - jar files that go in WEB-INF/lib when bundling war
   libexclude - jar files needed for compile but don't go in war
   webroot - contains all the xhtml files
  WEB-INF - contains seam descriptors
output - a bunch of generated directories

We would like to setup jboss tools just like myeclipse where 
1. jboss tools does not generate any files in input/ otherwise we have to 
deal with cvsignores and that is no fun.
2. jboss tools can be setup so that all jars in libinclude go into WEB-INF/lib 
on deployment and all classes go to WEB-INF/classes

Is there way to set this up or jboss tools still behind here with respect to 
myeclipse?  I would love to make the move, but we have 20 projects(jars and 
wars) all with the above directory structure that people are familiar with.  

libinclude contains our seam and jsf implementation and hibernate and other 
stuff.
libexclude contains the runtime jars that we don't need to deploy like things 
we may have added to a commonlib directory or servlet-api.jar.

thanks for ANY bit of advice on this
Dean



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

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


[jboss-user] [JBoss Tools Users] - Re: want to port project from myeclipse to jboss tools...

2009-09-10 Thread deanhiller
shoot, my tabs got ripped out..here is the dir structure again


  | project
  | ---input
  | --javasrc - src code
  | --libinclude - jar files that go in WEB-INF/lib when bundling war
  | --libexclude - jar files needed for compile but don't go in war
  | --webroot - contains all the xhtml files
  | -WEB-INF - contains seam descriptors
  | ---output - a bunch of generated directories 
  | 

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

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


[jboss-user] [JBoss Portal Users] - Re: org.apache.commons.discovery.DiscoveryException: Class o

2009-09-10 Thread ptouny
I am having the same problem

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

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


[jboss-user] [EJB] - NameAlreadyBoundException when migrate from JBoss 4.2.2.GA t

2009-09-10 Thread wluque
Hi , in first time sorry for mi english !

I have multiple ear's sharing one EJB . This EJB is deployed in one each ear .

EAR-A
   war
   ejb-a
   ejb-shared

EAR-B
   war
   ejb-b
   ejb-shared

I need only one instance/reference of ejb-shared , and I use 
@LocalBinding(jndiBinding=X) for that in the ejb's in ejb-shared.jar .

So , that's work fine for mi in JBoss 4.2.2.GA , no errors , and only one 
instance of my ejb-shared is reference for all ear's .

But , when migrate to JBoss 5.1.0.0.GA that's not work and I have the 
NameAlreadyBoundException  for all ejb in the ejb-shared.jar in the second 
deployed EAR .

I can't find help about that .

can anyone help me?

thank you very much in advance!!


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to bind to all interfaces on JBoss 5.1

2009-09-10 Thread PeterJ
You can use netstat, or better yet, TCPView from sysinternal, to see what apps 
are using a port (4712 in this case). Some Windows apps, notably the MS Sync 
Center and virus scanners, seem to take random ports that JBoss AS later wants.

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

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


[jboss-user] [JBoss Tools Users] - Re: want to port project from myeclipse to jboss tools...

2009-09-10 Thread rob.stry...@jboss.com
I'd have to see an example project to know for sure (i'm not too familiar with 
myeclipse), but I believe it probably depends mostly on the content of your 
project/.settings/ folder. Specifically there should be a file in there called 
org.eclipse.wst.component.xml (or similar). 

I'm also not sure I'd use the term behind myeclipse. Just because your 
structure was tailored to myeclipse doesn't mean we're behind, it just means 
you have to figure out the easiest path to smush your stuff into ours ;) 

Again, let me know about that xml file. 

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

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


[jboss-user] [jBPM Users] - Re: JBPM Nested Fork/Joins Doesn't seem to work

2009-09-10 Thread kukeltje
please do not do that... it often has the opposite effect. Besides that I do 
not understand your remark:

anonymous wrote : Sorry for not using assert() correctly, I currently can't 
remove the println() from my code. 
  | 

I see no reason why this could not be made into a really full testcase with 
embedded processdefinition that I can run out of the box (see the first topic 
in this forum)

anonymous wrote : The questions I ask are in the test case comments

As mentioned earlier, a full unitest is the most explicit thing that we can 
easily use to confirm the bug AND if we change something that it works. So 
before imo before I take the time do do something for you, you have to do 
something for us... or you have to be more patient (or buy a commercial support 
contract or hire some JBoss expert)


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

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


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-10 Thread kukeltje
Most likely your config is not correct and the identityService is null because 
processEngine.getIdentityService() returns null;

have you tested that?)



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

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


[jboss-user] [jBPM Users] - Re: HistoryTaskQuery.startedBefore() and startedAfter() dont

2009-09-10 Thread kukeltje
Can you try 4.1 first?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254591
___
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-10 Thread kukeltje
anonymous wrote :  Is this the right way of going about this problem? 

No, the best way is to show us code, preferably a full unit test (see the first 
post in this forum). including simulation on how the event-listener is 
triggered etc... (why an event-listener and not just signal the specific 
state)? 



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

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


[jboss-user] [JBoss Portal Users] - Re: synchronization of the dashboard

2009-09-10 Thread sviluppatorefico
thanks Vivek

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

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


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-10 Thread cjmanju123
No identiyServcie is not null. With the same configuration I am able to do 
everything else (like starting a process, assigning task, etc.,) By the way the 
version of jBPM is 4.0. and here is the exception 
Exception in thread main java.lang.NullPointerException
  | at 
org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:48)
  | at 
org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:32)
  | at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  | at 
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
  | at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | at 
org.jbpm.pvm.internal.svc.IdentityServiceImpl.createGroup(IdentityServiceImpl.java:78)

Thanks
Manju

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

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


[jboss-user] [JBoss Tools Users] - Re: jboss 5.1 runtime server is not doploying ear

2009-09-10 Thread marcilio.grisotto
I am not able to install JBossTools-Update-3.1.0.v200909100601N-H270-M3. It 
seems to be something wrong with site.xml. The only available option under 
Jboss Tools - 3.1.0.v20090901 is XLURunner 1.8.1.3-20070904. I think that the 
jar name is wrong inside site.xml, see:


  | ...
  |feature 
url=features/org.jboss.tools.richfaces.feature_v200909100601N-3.1.0.M3.jar 
id=org.jboss.tools.richfaces.feature version=v200909100601N-3.1.0.M3
  |   category name=JBossTools/
  |/feature
  | ...
  | 

meanwhile inside JBossTools-Update-3.1.0.v200909100601N-H270-M3.zip\features\ 
the name of the jar is 
org.jboss.tools.richfaces.feature_3.1.0.M3-v200909100601N.jar, without sufix 
-3.1.0.M3.

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

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


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-10 Thread kukeltje
cool... next time, please post this directly... do you have turned the log  
level to debug and checked if that shows more? Have you tried debugging in your 
IDE? Have you checked what the line effectively does? (the source is open). 

Sorry to not give you a direct answer, but that is mainly because I can't with 
what you posted. 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Incomplete Deployment listing (for the nth time)

2009-09-10 Thread mailming
for jboss server 4.2.0 timer services default ds engine is hsql

if you want the error eliminated the following files are needed.

./server/default/deploy/hsqldb-ds.xml
./server/default/lib/hsqldb-plugin.jar
./server/default/lib/hsqldb.jar

mailming
mailm...@gmail.com

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

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


  1   2   >