[jboss-user] [jBPM Users] - how to get all tokens from processinstance

2009-11-07 Thread peterbasut...@gmail.com
i am using following code for  getting all tokens from processInstance,but it 
is giving only currently running token(means tasknode information) information 
ProcessInstance processInstance = getProcessInstance();
List allTokens = processInstance.findAllTokens();
for (Token token : allTokens) {
System.out.println("names of tokess 
nodes"+token.getNode().getName());
}
Is there any API for getting all tokens(means task) for a perticular 
provessInstance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264431#4264431

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264431
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: Modelling tool for JPA - Suggestions?

2009-11-07 Thread sverker
Now I've been able to make the mapping diagram work, and although it's useful 
in visualising how the entities are mapped to the database it's not that much 
use on visualising the structure of the entities.

In this specific project I have 27 entities, which are related to eachothers. 
That's still a relatively small project but too much to get an overview of the 
structure.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264424#4264424

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264424
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: BIRT Integration dependencies conflict

2009-11-07 Thread snjeza
I have tested updating JBoss Tools in the following way:

1) installed Eclipse IDE for Java EE Developers SR1 from 
http://eclipse.org/downloads/
2) added JBoss Tools nigthly update site : 
http://download.jboss.org/jbosstools/updates/nightly/trunk/
3) updated all the JBoss Tools features

JBoss Tools 3.1.0.v200911060027N-H62-RC1 (the current nightly build) has been 
installed correctly. I have also tested updating JBoss Tools Development site 
(http://download.jboss.org/jbosstools/updates/development/) from Eclipse 
Classic 3.5.1 and haven't succeeded to reproduce the issue.

JBoss Tools BIRT integration requires BIRT WTP Integration SDK that isn't 
included in the Galileo update site. It is included in the BIRT Update Site 
(http://download.eclipse.org/birt/update-site/2.5/) that JBoss Tools update 
sites add correctly. If you want to install BIRT separately then you would use 
http://download.eclipse.org/birt/update-site/2.5/ and install all the 
categories (BIRT Charting SDK, BIRT Engine OSGi Runtime SDK, BIRT Reporting SDK 
and BIRT WTP Integration SDK)

The following are the issues you may have faced:

- a problem with the connection to the BIRT update site or some mirror. This is 
a temporary problem and would be good if you would try the update again.
- a problem with proxy in case you are using it. There are known issues with 
proxies that use NTLM authentication. 
- a problem with the JBoss Tools update site you tried (the 3.1.0.M3 
development site)

Could you specify the steps you have used to update JBoss Tools? 
Are you using proxy?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264422#4264422

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264422
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea

2009-11-07 Thread daniele.ulrich
"daniele.ulrich" wrote : OK, I spent some time to reproduce the error with a 
sample application.
  | 
  | Steps to reproduce the error:
  | 
  | jboss-5.1.0.GA on Windows or Solaris
  | patch default configuration with jbossws-metro-3.2.1.GA 
http://jboss.org/file-access/default/members/jbossws/downloads//jbossws-metro-3.2.1.GA.zip
  | deploy the sample app http://www.niceneasy.ch/sampleAppEar-1.0.ear
  | 
  | And you will see
  | 
  | Caused by: java.lang.RuntimeException: 
javax.naming.NameAlreadyBoundException: TransactionSynchronizationRegistry
  |   | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:483)
  |   | at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  |   | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)
  |   | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
  | 
  | Apply the patch I proposed and the error disappears.
  | 
  | The sources for the sample app can be found here 
http://www.niceneasy.ch/sampleApp.zip
  | 
  | As I said before I assume there is a problem with the JNDI binding...

see also https://jira.jboss.org/jira/browse/JBWS-2823

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264416#4264416

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: how do i install JMS2 on solaris 10

2009-11-07 Thread timfox
You're in the wrong forum, this forum is for JBoss Messaging, not HornetQ.

Go to hornetq.org and follow the links to forums, documentation etc

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264414#4264414

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264414
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [EJB 3.0 Users] - Re: how to handle hibernate exceptions in ejb3

2009-11-07 Thread Jari Fredriksson


7.11.2009 13:09, grdzeli_kaci kirjoitti:
> can anybody help on this ?
> 
> i have big problem with this :(
> 

If you code for Ejb3/JPA, you should catch what Ejb3 javadoc tells there
will be thrown. I'm pretty sure the Hibernate's own exception types will
subclass those standard types, and will be caught fine.

-- 
http://www.iki.fi/jarif/

You may be gone tomorrow, but that doesn't mean that you weren't here today.



signature.asc
Description: OpenPGP digital signature
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: how to handle hibernate exceptions in ejb3

2009-11-07 Thread grdzeli_kaci
can anybody help on this ?

i have big problem with this :(


_
Regards,
Paata Lominadze.
Magticom LTD.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264412#4264412

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264412
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Remoting Users] - Re: Messaging blocked by long time-out

2009-11-07 Thread radimchatkalahari
I probably found the source of issue.
Problem was in  org.jboss.remoting.transport.socket.BisocketClientInvoker.java
(in jbrem2.2.3SP1) in method createSocket


  | protected Socket createSocket(String address, int port, int timeout) throws 
IOException {
  | ...
  | while (isConnected() && (!pingFailed.flag || pingFailedTimeRemaining > 
0) && (timeout == 0 || timeRemaining > 0)) {
  | 
  | }
  | ... 
  | }  
  | 
In my scenario the above while cycle was never-ending! :
timeout set through jboss-messaging was set to 0 (& isConnected() & 
!pingFailed.flag was true also)!
And because the thread that was cycling in while loop was also holding an 
importat jboss-messaging lock, all the other netwoking threads were waiting for 
that lock, and that's why complete network communication has been stopped 
forever.

When I set the timeout to 5000 ms.
in JBOSS_HOME/server/default/conf/mesbridlicna-port-bindings.xml

  | 
  |...
  |   5000
  |...
  | 
And the problem disappeared!



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264411#4264411

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user