[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread swatis
"smart_umesh_123" wrote : Hi,
  | 
  | i am also evaluating Intalio BPM also. I found that it has good support of 
Business Activity Monitoring (BAM) and LDAP.
  | 
  | How jBPM 3/4 has support of BAM ? I heard of BAM Cosole in jBPM is that 
good enough to do business process monitoring?
  | 
  | if jBPM has LDAP support the how easy it is to configure or code?
  | 
  | Thanks
  | Chintan


BAM feature is available in jBPM using web cosole; web console provides 
information like number of processinstances running, task instance information, 
start and end date of task, performer of task, variables used in process 
instance and so on..

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread smart_umesh_123
What about the support of BAM and LDAP, ActiveDirectory. I have heard that jBPM 
support LDAP also, how easy it's configuration is?

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread swatis
"smart_umesh_123" wrote : thanks for the response.
  | 
  | 
  | Also can i call external web service from the jBPM process?
  | 
  | thanks
  | Chintan
  | 
  | 

Yes you can write ws client java code in action handler class and attach this 
action handler class to "node" activity of process.

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

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


[jboss-user] [JBoss Portal] - How to use alfresco as the CMS for jboss portal

2009-06-30 Thread pooja.ambre
Hi friends,

I am using jboss portal version 2.7.0 on linux (Fedora) platfom.
I want to use alfresco as a CMS within jboss portal, can anyone plz guide me 
for this,as to hw should I proceed with the integration of alfresco with jboss 
portal.

Thanks & Regards,
Pooja Ambre

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessClassloader question

2009-06-30 Thread lpiccoli
hi all,

was this issue resolved? 

if so please identify the solution as i also am having some issue.


thanks

-lp

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread smart_umesh_123
Hi,

i am also evaluating Intalio BPM also. I found that it has good support of 
Business Activity Monitoring (BAM) and LDAP.

How jBPM 3/4 has support of BAM ? I heard of BAM Cosole in jBPM is that good 
enough to do business process monitoring?

if jBPM has LDAP support the how easy it is to configure or code?

Thanks
Chintan

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

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


[jboss-user] [JBoss jBPM] - jbpm4 arg

2009-06-30 Thread xdirewolfx
for java component, how do you define a class object as an argument? I tried to 
look in the documentation but didn't find it.

Thank you in advance

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

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


[jboss-user] [JCA/JBoss] - Problem for JNDI database connection pooling

2009-06-30 Thread Allen_Lei
Hi,all 

I hava an app which runs on JBoss 4.* with the JNDI connection datasource 
pooling named testDs,and sometimes it does not work.At that time I view the 
"jboss.system"-"type=ServerInfo" in jmx-console,invoke the "java.lang.String 
listThreadDump()" operation button and find there are several BLOCKING state 
threads which indicate they are blocking in getting datasource connection. 

In the meantime,i try to view 
"jboss.jca"-"name=testDs,service=ManagedConnectionPool" in jmx-console,but find 
there is no response when i click that link,which means i could't access the 
attribute page for the testDs connection pooling.When i restart the JBoss,it 
works.Anybody knows how this happened? What lead to the connnection pooling 
attribute page can't be accessible? 

Your reply will by most appreciated.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread gaohoward
Thanks Richard for the effort. I'll check the FAQ.

Howard


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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread kennardconsulting
Tim:

Brilliant. I tried setting PrefetchSize to 1 and the 3 nodes are now consuming 
messages evenly. This also explains why I thought there were still 3 local 
queues even though I had defined the queue in deploy-hasingleton: there were 
not 3 local queues, just 3 prefetch buffers.

Thanks so much!

Howard:

Most of this issue is now solved. It just remains for you to confirm the 
problem with the FAQ and I'll update it.

Richard.

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread kukeltje
Sorry, I meant 
1: WLS is not in the jBPM4 QA run of JBoss, but neither is jBPM 3.  But jBPM 3 
ran without much problems on WLS 8 and 9. I have no info on jBPM 4 on these 
systems.

I wrote:
anonymous wrote : Webservice: no since it was most of the time to specific and 
with webservices frameworks you can generate javacode easily.[\quote]
  | 
  | Maybe I should have said, No not *directly* or No not *natively*, but since 
you can execute any java from jbpm you can do webservices without much trouble. 
Or do the webservice from the esb and have jBPM call an esb service.
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Tools (users)] - hey all i need JBDS

2009-06-30 Thread bayanaa
hey all. i need free JBDS. please i can't buy JBDS. Because i am student. :D

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

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


[jboss-user] [JBoss Messaging] - Re: How to find total mumber of messages in a queue (i.e. in

2009-06-30 Thread clebert.suco...@jboss.com
BTW, we don't know how many messages are stored at the paging system. We could 
easily find how many files, or how many bytes are stored.. but not the number 
of messages.

We could have a counter at Address level, but as soon as we restart the system 
we would need to read all the page files to re-establish those counters.




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

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


[jboss-user] [Beginners Corner] - Can't enable "StatisticsEnabled" to use with "snmp-adaptor.s

2009-06-30 Thread stormonts
Not sure what happened to my topic, but it should have been.

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

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


[jboss-user] [Beginners Corner] - Can't enable

2009-06-30 Thread stormonts
I'm coming into this with only half the knowledge I should have (since I don't 
have anything to do with our JBoss install, I just do all the Cacti work).  
Basically, I'm trying to use "snmp-adaptor.sar" to pull values to graph in 
Cacti.  I am able to pull "Active Thread Count" and "Memory Utilization", but 
"Commit, Rollback, and Active Transactions" are just reporting 0s.

When I look at the JMX console here:


  | MBean Name: Domain Name:jboss
  | service:TransactionManager
  | MBean Java Class:   com.arjuna.ats.jbossatx.jta.TransactionManagerService
  | 

"TransactionCount", "CommitCount", and "RollbackCount" all show 0s.  
"StatisticsEnabled" is set to False.  I tried to change it to "True" and then 
clicked the Apply Changes button, but the setting doesn't stay after JBoss is 
restarted (and it was still returning 0s).

I then tried to edit the "/server/conf/jboss-service.xml" file and adjusted the 
"JBoss Transactions JTA" section as follows:


  |
  |   10800
  |   ${jboss.server.data.dir}/tx-object-store
  |

When the JBoss admin restarted the server, the instance would not start and 
this was in the log:

15:17:06,778 DEBUG [Server] Failed to create xmbean for: 
org.jboss.system.server.ServerInfo
  | 15:17:06,791 INFO  [ServerInfo] Java version: 1.6.0_12,Sun Microsystems Inc.
  | 15:17:06,791 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
11.2-b01,Sun Microsystems Inc.
  | 15:17:06,791 INFO  [ServerInfo] OS-System: Linux 2.6.5-7.308-smp,amd64
  | 15:17:06,791 DEBUG [ServerInfo] Full System Properties Dump
  | 15:17:06,792 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc.
  | 15:17:06,792 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD
  | 15:17:06,792 DEBUG [ServerInfo] sun.management.compiler: HotSpot 64-Bit 
Server Compiler
  | …
  | 15:17:06,795 DEBUG [ServerInfo] file.encoding: UTF-8
  | 15:17:06,795 DEBUG [ServerInfo] seerdms.config.directory: 
/home/jboss/.seerdms_dev
  | 15:17:06,795 DEBUG [ServerInfo] java.specification.version: 1.6
  | 15:17:06,795 DEBUG [ServerInfo] jboss.server.name: ct
  | 15:17:06,797 DEBUG [Server] Created system MBean: 
jboss.system:type=ServerInfo
  | 15:17:06,804 DEBUG [Server] Failed to create xmbean for: 
org.jboss.system.ServiceController
  | 15:17:06,821 DEBUG [ServiceController] Controller MBean online
  | 15:17:06,822 DEBUG [Server] Created system MBean: 
jboss.system:service=ServiceController
  | 15:17:06,900 DEBUG [Server] Created system XMBean: 
jboss.system:service=MainDeployer
  | 15:17:06,900 DEBUG [ServiceController] Creating service 
jboss.system:service=MainDeployer
  | 15:17:06,904 DEBUG [MainDeployer] Creating jboss.system:service=MainDeployer

What do I need to do (or have the JBoss admin do) so that I can start recording 
those stats?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241032

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


[jboss-user] [The Lizzard's corner] - Re: mig test

2009-06-30 Thread newtonm
blah de blah

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

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


[jboss-user] [The Lizzard's corner] - mig test

2009-06-30 Thread newtonm
another test

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

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


[jboss-user] [JBossWS] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime

2009-06-30 Thread rangalo
Any idea ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: High CPU on JSF auto-complete

2009-06-30 Thread max.ander...@jboss.com
the thread dumps doesn't reveal much.

Any chance you can isolate this to a minimal project which we can import and 
try import and thus reproduce the problem ?

if not, maybe try use jing or similar to do a screencast to show what is going 
on ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Cannot open .jsp files on Eclipse 3.2.4

2009-06-30 Thread max.ander...@jboss.com
yes, 3.2.4 is very old..but it also sounds like you have eclipse registred as 
your system editor for .jsp since why else would eclipse ask for your workspace 
again ?

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

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


[jboss-user] [Beginners Corner] - Re: Tutorial that WORKS? and jboss source code?

2009-06-30 Thread anteo
Hi Peter,

sorry if it sound cynycal and i did not want to offend anybody but i was a 
little in stress because all of that things and all that time spended in vain. 
Well i have tried a lot of tutorials even the one that you gave me and i was 
just expecting an answer from someone that had worked with a tutorial and found 
it useful. Don't get me wrong the tutorials were useful but just for some first 
little things but the most important they were not right.
and thanks for the zip file yes what i was looking for was in there and very 
good hidden:)

I have jboss tools 3.1M1 and the last bundled version of jboss portal.

Thanks for the help.

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

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


[jboss-user] [JBoss Portal] - Portlet serveResource issues

2009-06-30 Thread pathuri
Hi,

I have gone thru the posts on issues related to serveResource and most of them 
are quite old.

I am wondering if all the issues are fixed and it works fine now? We are about 
to start implementing this approach for serving files from portlet instead of 
the old way of serving them from a servlet.

Any update will be appreciated. Has anyone implemented a successfull and 
working example even with minor glitches? If it works even with some minor 
issues I would like to go down on this path rather than going down the old path.

We are using JBoss Portal 2.7.0.

Thanks

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

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


[jboss-user] [EJB 3.0] - Inject dependency on JMS ConnectionFactory

2009-06-30 Thread slimamar
Hello,

We 're using JBAS 5.0.0.GA, and we  inject a JMS administrative resource 
(ConnectionFactory) in an ejb session and an ejb service. This works fine.

When we're upgrading to JBAS 5.1.0.GA, only the injection to an ejb session 
woks and for the ejb service we have a reference to the null object.

Is it a bug ?  


  | @Service
  | @Management(IEJBManagement.class)
  | @Remote(IServeurConnexion.class)
  | public class ServeurConnexion extends ServeurEJB implements IEJBManagement, 
IServeurConnexion
  | {
  |   @Resource(mappedName="ConnectionFactory")
  |   protected TopicConnectionFactory connectionFactory_;
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread smart_umesh_123
thanks for the response.

you mean jBPM 4 is not yet published for actual usage? in that case jBPM 3 we 
have to choose right? if that is the case, it should also support Weblogic 10.x

Also can i call external web service from the jBPM process?

thanks
Chintan



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

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


[jboss-user] [JBoss Messaging] - Re: How to find total mumber of messages in a queue (i.e. in

2009-06-30 Thread jbmuser
Hi Tim,
Is it possible to provide an ETA for this feature?

Thanks
Bijith

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

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


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-06-30 Thread timfox
To clarify Jeff's answer a bit:

The MessagingServer you created is a "core" server. A core server knows nothing 
about JMS - it's completely JMS agnostic, therefore it knows nothing about 
topics.

This is discussed in the user manual:

http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/architecture.html

Now, the question I would ask is, if embedding do you really want JMS? Why not 
just use the core API? It's simpler and it can do everything that JMS does (and 
more)


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

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


[jboss-user] [Management, JMX/JBoss] - Re: HtmlAdaptorServer from JBoss 3.2.7 is not found in JBoss

2009-06-30 Thread dimit...@jboss.org
That html adaptor was a proprietary extension of Sun JMX implementation. 
Probably found in jmxtools.jar. 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: java.lang.NoClassDefFoundError: javax/transaction/Synchr

2009-06-30 Thread creaturita
It looks like jboss do not have it in the classpath.

Any ideas? Should I put that jar into the ear?

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread kennardconsulting
Tim,

What you say is very interesting. Could you please elaborate on what you mean 
when you say:

> The local queue will first attempt to send messages to the local queue
> until it determines it is busy

Do you mean the 'local queue will send messages to the prefetch buffer'?

> If the processing time for each of your messages is significant

What kind of time is considered significant?

Regards,

Richard.

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

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


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-06-30 Thread ataylor
When using the core API there i s no such thing as a topic, we only deal with 
queues. Basically a topic consists of an address with multiple queues bound to 
it where each queue will have a consumer(subscriber).

If you are using JMS then i would recommend taking a look at the 
JMSServerManager, you could do something like:

[codeJMSServerManager ]jmsServer = new JMSServerManagerImpl(server);
jmsServer.createTopic(.

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

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


[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

2009-06-30 Thread jmesnil
The queue you created is a core queue.

The preferred way to create JMS destinations is using the JMSServerManagerImpl 
on top of the MessagingServer you created:


  | Configuration configuration = new ConfigurationImpl(); 
  | configuration.setPersistenceEnabled(false); 
  | configuration.setSecurityEnabled(false); 
  | configuration.setAcceptorConfigurations(transports); 
  | server = Messaging.newMessagingServer(configuration);
  | JMSServerManager manager =new JMSServerManagerImpl(server);
  | 
  | manager.createQueue(...);
  | manager.createTopic(...);
  | 
  | manager.start(); // will also start the underlying MessagingServer
  | 

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

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


[jboss-user] [EJB 3.0] - @WebContext equivalence in configuration file

2009-06-30 Thread creaturita
Hello,

I am doing a project with uses ejb3 exposed as webservices. I deploy them in a 
EAR. I have seen that I should use @WebContent to set the url of the 
webservice. 

Could I achieve the @webcontent functionality with a deployment descriptor?

Thanks.

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

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


[jboss-user] [EJB 3.0] - Re: circular references

2009-06-30 Thread robert.geisler
"jaikiran" wrote : 
  | That's correct. 
  | 
i'm glad ; )

"jaikiran" wrote : 
  | Wouldn't this work:
  | 
  |   | public class StatlessTwoBean implements StatlessTwo {
  |   |   @EJB(beanName = "StatlessOne") // lookup "always"
  |   |   @IgnoreDependency
  |   |   private StatlessOne statlessOne;
  | 
yes, your are right, that should work. yesterday i thought about the problem 
only from the StatelessOneBeans point of view... but the other way around it 
should just work : ) my fault O: )
i will give it a try and let you know what happened.

thank you very much for your help, jaikiran.
regards
robert

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 4 ProcessFactory/ProcessBuilder not found

2009-06-30 Thread sterjev.marjan


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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread gaohoward
Hi Richard, I'll take a look at the wiki. Thanks.

Howard


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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread gaohoward
Hi Richard,

The JBM is under deploy/messaging in AS 5.1 as you found.
For how to setup a HA-Singleton cluster, I suggest you post a question to the 
AS forum, where you can get a better help on this. 

Howard


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

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


[jboss-user] [Clustering/JBoss] - Re: Can JNDI ds reconnect automatically after DB server rest

2009-06-30 Thread Allen_Lei
I see,thanks.

Next time i will post my new topic about JCA in the JCA forum.

And i hava a question that it still work when not use jdbc driver ping and 
 statement.Just as following:


  | 
  | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";>
  | 
  |
  |   testDs
  |   jdbc:mysql://localhost:3306/test
  |   com.mysql.jdbc.Driver
  |   root
  |   mysql
  |   20
  |   50
  |   
  |  mySQL
  |   
  |
  | 

Is that right? Or is it the default mechanism of JBoss JNDI ds connection 
pooling?

Your replay will by most appreciated.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-30 Thread galder.zamarr...@jboss.com
FYI: https://jira.jboss.org/jira/browse/JBCACHE-1518

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

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


[jboss-user] [Performance Tuning] - Re: Full GC not releasing Memory

2009-06-30 Thread vons1234
Hi Peter,

I think OS ran out of room while allocating memory for threads.
I am using thread stack size as -Xss128k

and when i do 

ulimit -s on linux it shows 10240.

Increasing ulimit for thread will help???

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread anilit99
very informative thread i've seen in a while ! thanks every one !

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

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


[jboss-user] [Performance Tuning] - Re: Full GC not releasing Memory

2009-06-30 Thread vons1234
Yes that's correct Peter,
I am running jmap with same account under which Jboss is running.

That's a good idea to run with hello world first.



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

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


[jboss-user] [Performance Tuning] - Re: Full GC not releasing Memory

2009-06-30 Thread smar...@redhat.com
Be sure that you aren't using the jmap tool from an JDK 1.6 installation 
(unlikely but thought it was worth mentioning).

http://www.j2ee.me/javase/6/webnotes/trouble/other/matrix5-Unix.htm talks about 
Java SE 5.0 update 14 supporting -XX:+HeapDumpOnCtrlBreak option.  I haven't 
tried this but maybe you could try this (with update 14 or newer).  Perhaps the 
jmap tool will even behave better.

I also like to use XX:+HeapDumpOnOutOfMemoryError (generates a heapdump file on 
first Java OOM) which was added in Java 5 update 7.



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

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


[jboss-user] [JBoss Messaging] - Embedded server - how to create JMS Topic?

2009-06-30 Thread Leos.Bitto
I am trying to embed JBoss Messaging 2.0 beta to my application which uses JMS 
API. I can easily create JMS Queue this way:

SimpleString q = new SimpleString("jms.queue."+name);
server.createQueue(q, q, null, true, false);

where "server" is MessagingServer which i create this way:

Configuration configuration = new ConfigurationImpl();
configuration.setPersistenceEnabled(false);
configuration.setSecurityEnabled(false);
configuration.setAcceptorConfigurations(transports);
server = Messaging.newMessagingServer(configuration);
server.start();

However, I do not know how to create JMS Topic. Any hint, please?

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

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


[jboss-user] [JBossWS] - Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request except

2009-06-30 Thread konstt2000
I'm work with jboss-5.1.0.GA-jdk6.

I can see the WSDL but if I try to do a call to the WS:

11:43:08,396 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.UnsupportedOperationException: setProperty must be overridden by all 
subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:87)

I've inside $JBOSS_HOME/lib/ensored:
jbossws-native-saaj.jar
jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar


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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread timfox
"kennardconsulting" wrote : Tim,
  | 
  | What you say is very interesting. Could you please elaborate on what you 
mean when you say:
  | 
  | > The local queue will first attempt to send messages to the local queue
  | > until it determines it is busy
  | 
  | Do you mean the 'local queue will send messages to the prefetch buffer'?
  | 

Yes


anonymous wrote : 
  | > If the processing time for each of your messages is significant
  | 
  | What kind of time is considered significant?
  | 
  | Regards,
  | 
  | Richard.

You can try experimenting with different prefetch size values but if you're 
processing time is more than a few milliseconds then prefetching is probably 
not much use to you.

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

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


[jboss-user] [JBoss jBPM] - Re: running jBMP on Weblogic Server 10.x

2009-06-30 Thread kukeltje
1) jBPM4 is not in the QA run of JBoss, but the jBPM core libraries have no 
specifc dependencies in that it should not run on WLS 10. You basic packaging 
issues with dependent jars might occur though, but that should not be to 
difficult to find out

2) jBPM 4 GPD uses the *symbols* of BPMN for designing processis in the jPDL 
language. Do not expect all BPMN notations to be available. But for most things 
it will be sufficient.

3) Features:
ProcessInspector: Yes, the web console has functionality for this.
Nested processes: Yes, that is supported
Debugging for runnning (production) processes is not something that is 
supported in a sense that you can visually set breakpoints. But by using Test 
Driven Development of your process with unittests, you can do a lot design time.
Connectors:
Java: yes,  JCA: no (but  SQL, ESB, Mail are there), Webservice: no since it 
was most of the time to specific and with webservices frameworks you can 
generate javacode easily.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread timfox
Actually JBM 1.x does both. (BTW there is a FAQ on this, but I didn't right it 
so can't vouch for it's accuracy).

When using a clustered connection factory, subsequent *connections* will 
normally be created to different nodes of the cluster, by default in a round 
robin fashion.

So connection 1 might be to node B, connection 2 might be to node A, and 
connection 3 might be to node C. So that determines where you're messages get 
initially sent.

Now, when the messages reach a node, if they're non persistent and you're using 
a topic, then they will be instantly sent off to all the nodes where you have 
consumers using JGroups.

If they're persistent and/or you're using queues then they'll initially go into 
the local queue.

Each message consumer by default has an internal buffer of messages that it 
"prefetches" from the queue (this is faster than it fetching a message each 
time).

The local queue will first attempt to send messages to the local queue until it 
determines it is "busy" - busy means its buffer is full. If all local consumers 
are determined to be busy, then messages are eligible to be redistributed to 
other nodes where consumers might be idle.

If the processing time for each of your messages is significant then it might 
make sense for you to reduce your prefetch size (see docs) since there is 
little or no advantage in consumers buffering messages. You should then see a 
smoother distribution of messages across different nodes in the cluster.



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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread kennardconsulting
Tim,

Thanks for helping out.

If I understand correctly, JBM 1.x load-balances at distribution time, not 
consumption time. In my case, I am sending 1000 messages to the queue in one 
initial batch.

I see an initial flurry while all 3 of my consumers consume messages, then the 
fastest one stops waiting for the slowest 2 to finish. It seems each of my 
consumers got given 333 messages to work on locally, and that consumers cannot 
consume each other's messages without introducing message suckers?

Thanks again.

Richard.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread timfox
"gaohoward" wrote : 
  | Using /ClusteredConnectionFactory, each time you gets a connection, you 
connects to a different node (round robin load balancing by default).
  | 
  | By enable Message Suckers in the cluster, messages will be pulled off from 
nodes that have no local consumers to the nodes that have local consumers but 
no messages in queue.
  | 
  | 

Actually that is not correct. In JBM 1.x messages will be redistributed from 
one node to another if JBM determines that consumers on one node are sitting 
idle, whilst there are messages and busy consumers on other nodes.

If you're seeing some consumers sitting idle while one node consumes all the 
messages your system is probably misconfigured.


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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples

2009-06-30 Thread Wolfgang Knauf
Hi Ganesh,

did you verify that your login module is used by JBoss? Did you activate 
logging of the security layer (follow the sticky post "FAQ - READ THIS BEFORE 
POSTING" in this forum, question 4 in the FAQ)?

Maybe you just did not post it, but I think you need a DynamicLoginConfig so 
that JBoss will find your own "security-config.xml": 
http://www.jboss.org/community/wiki/DynamicLoginConfig

Hope this helps

Wolfgang

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

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


[jboss-user] [EJB 3.0] - Re: circular references

2009-06-30 Thread jaikiran
Whenever a @EJB is used, we internally add a micro container dependency on the 
bean being injected. That way we ensure that the bean being injected is 
available before the bean which uses the @EJB. With @IgnoreDependency, you can 
override this behaviour so that the MC dependency is not created.
 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: java.lang.NoClassDefFoundError: javax/transaction/Synchr

2009-06-30 Thread jaikiran
It's in %JBOSS_HOME%/client/jboss-javaee.jar

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

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


[jboss-user] [Performance Tuning] - Improve Remote interfaces (marshaling unmarshaling...)

2009-06-30 Thread mnenchev
Hi,

I have some strange problem. I need to minimize the execution time of remote 
ejb method invokation. I have Tomcat that comunicates with jboss and use ejbs 
for business logic. In my struts action i lookup remote interface(takes 8-10 
ms??!?!) and the ejb method in tomcat is done for ~200ms, but in jboss it is 
~100ms. I dig about that and it seems that the remote interfaces are doing 
marshaling serializing and unmarshaling, So may be those 100ms go into that? 
There are no network problems. How to improve that? And one other thing is it 
save to look up all interfaces on app start up  and push them in some global 
hash and use them in the whole app in order to skip the 8-10 ms lookup every 
time?

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

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


[jboss-user] [EJB/JBoss] - Re: Interface inheritence / SessionContext.getInvokedBusines

2009-06-30 Thread jaikiran
ErstesBean/remote - EJB3.x Default Remote Business Interface
  | ErstesBean/remote-server.kap02.IErstesBeanRemote - EJB3.x Remote 
Business Interface
  | ErstesBean/remote-server.kap02.IErstesBeanIntRemote - EJB3.x Remote 
Business Interface
  | ErstesBean/local - EJB3.x Default Local Business Interface
  | ErstesBean/local-server.kap02.IErstesBeanIntLocal - EJB3.x Local 
Business Interface
  | ErstesBean/local-server.kap02.IErstesBeanLocal - EJB3.x Local Business 
Interface
  | 

Use the business interface specific JNDI name to lookup the business interface 
specific proxy:

IErstesBean ebrL= (IErstesBean) 
contextL.lookup("ErstesBean/remote-server.kap02.IErstesBeanRemote");
  | System.out.println( "Calling interface: " + ebrL.getCallingInterface());
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: java.lang.NoClassDefFoundError: javax/transaction/Synchr

2009-06-30 Thread creaturita
In version 4.2.3 I have the same problem.

Plz help.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread kennardconsulting
Howard,

Hmmm. From watching my logs, I think the reason the MDBs aren't 'waking up' 
upon bouncing a node is because JBoss Messaging is still creating 3 local 
queues, not one HA singleton one.

This, despite the fact that destinations-service.xml is under 
deploy-hasingleton. Do I need to do something extra to make a single, HA queue?

Thanks,

Richard.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - java.lang.NoClassDefFoundError: javax/transaction/Synchroniz

2009-06-30 Thread creaturita
Hello,

¡I have another problem! 

I am using jboss 5.0.1 (All server) with EJBs and JPA. When I try to call a 
service with persistence it returns:
"java.lang.NoClassDefFoundError: javax/transaction/Synchronization"

I have found where is that class in version 4, but not in version 5.

Do you know which jar should I use?

Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240938

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


[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-30 Thread galder.zamarr...@jboss.com
Hi again, I think I have replicated the issue that you're encountering with the 
code from the UserGuide. I'm currently investigating it.

With regards to your 2nd questions, Cache has no getChild() method, I suppose 
you're refering to getNode() instead? If so, this is indentical to calling 
cache.getRoot().getChild(fqn). There's no difference between them two.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 4 ProcessFactory/ProcessBuilder not found

2009-06-30 Thread sterjev.marjan

package impl;

import org.jbpm.api.activity.ActivityBehaviour;
import org.jbpm.api.activity.ActivityExecution;
import org.jbpm.jpdl.internal.activity.StartActivity;
import org.jbpm.pvm.internal.builder.ProcessDefinitionBuilder;
import org.jbpm.pvm.internal.model.ProcessDefinitionImpl;

/**
 * @author Marjan Sterjev
 *
 */
public class Display implements ActivityBehaviour {

private static final long serialVersionUID = 1L;

String message;

public Display(String message) {
this.message = message;
}

public void execute(ActivityExecution execution) {
System.out.println(message);
}

public static void main(String[] args) throws Throwable {
ProcessDefinitionBuilder builder = ProcessDefinitionBuilder
.startProcess("Hello World");
builder.startActivity(new StartActivity()).initial().transition(
"hello display").endActivity();
builder.startActivity("hello display", new Display("Hello"))
.transition("world display").endActivity();
builder.startActivity("world display", new Display("World"))
.endActivity();
ProcessDefinitionImpl processDefinition = builder.endProcess();
processDefinition.startProcessInstance();

}
}



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

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


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-30 Thread kennardconsulting
gaohoward,

Awesome. You are a legend. Look forward to hearing how you go. If it helps:

1. I made the changes described in the Wiki, then copied the 'all' folder to a 
new folder (I called it 'cluster2') and started a second instance of JBoss 
using 'run -c cluster2 -Djboss.service.binding.set=ports-01'. You will see the 
second instance fails to start because 'DefaultJMSProvider not bound'

2. DefaultJMSProvider is defined in jms-ds.xml. The Wiki instructs you to move 
this into deploy-hasingleton, which I believe is a mistake. In JBoss 4.2.3 the 
jms-ds.xml stays in the deploy folder (in the 'all' config)

3. You can try moving jms-ds.xml back to deploy, and things go better. However 
the MDBs no longer seem to 'wake up' upon bouncing a cluster node

Regards,

Richard.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

2009-06-30 Thread galder.zamarr...@jboss.com
"niuxuetao_fiserv" wrote : About the write-intensive stuff, yes, we will have a 
lot more calls to attach() than modifying the already cached Pojos. 

Attaching a pojo is an expensive operation where the pojo is dissected and 
mapped to the cache, hence such operation should be used as less as possible. 
Detailed information on the process can be found in 
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.0.GA/pojo/userguide_en/html_single/index.html#d0e763

If you're calling attach more often than modifying the Pojo directly, I'm not 
sure of the suitability of PojoCache in your case. It might even be more of a 
burden than using plain JBoss Cache. The point of a PojoCache is that you 
attach once and then you interact with the bean as normal, calling it's 
getters,setters...etc and when you're done with it, you detach it.

"niuxuetao_fiserv" wrote : 1. If I call attach() with a key and value that 
already exist in the cache, what will happen?

Hmmm, do you mean what happens when you attach a pojo under a fqn+key that 
already contains a pojo? In that case, the existing pojo is detached and the 
new one is reattached. Due to the reasons above, this is an expensive operation.

"niuxuetao_fiserv" wrote : 2. How do I use transaction in java code to 
explicitly begin and end a transaction? 
  | - DummyTransactionManager.getUserTransaction()?
  | - or like describe in this page? 
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/1.4.1.SP4/tutorial/en/html_single/index.html
 which looks a pretty old doc?
  | 

Well, depends the environment in which you're in. If you're within an 
application server, you get a UserTransaction from JNDI or from an EJB context. 

If you're outside of an application server, you should be using something like 
JBoss Transactions that allows setting up a transaction manager and getting a 
user transaction. You can find examples in their docu.

Finally, DummyTransactionManager does what it says on the tin. It's dummy, so 
it's not really a transaction manager, it's simply used as a mock for testing 
purpouses and hence you shouldn't be using it in conjunction with your 
production code.

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

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