[jboss-user] [JBoss Portal] - Re: Dynamically adding / removing portlets programmatically

2011-01-03 Thread Shailesh Pai
Shailesh Pai [http://community.jboss.org/people/shaipai] created the discussion

"Re: Dynamically adding / removing portlets programmatically"

To view the discussion, visit: http://community.jboss.org/message/578527#578527

--
Thanks for responding. But I am new to portlets. The code snippet you provided 
, is bit hard to digest. Is there any reference which can explain what are 
different objects such as PortalObjectPath,RenderPageCommand that you have used 
?.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578527#578527]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

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


[jboss-user] [jBPM] - Eclipse -jBPM5/CR1 - Human Task View

2011-01-03 Thread bpmn2 user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Eclipse -jBPM5/CR1 - Human Task View"

To view the discussion, visit: http://community.jboss.org/message/578519#578519

--
Following error gets generated while trying to use the refresh button.
It perhaps looking for the older drools class instead of using 
'org.jbpm.task.service.Command'.
Any comments?



Caused by: java.lang.ClassNotFoundException: org.drools.task.service.Command
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
---
Here is the test code snippet:
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

import org.drools.SystemEventListenerFactory;
import org.jbpm.task.service.TaskService;
import org.jbpm.task.service.TaskServiceSession;
import org.jbpm.task.service.mina.MinaTaskServer;
import org.jbpm.task.User;

public class TestJBPMHumanTask {
    
    @SuppressWarnings("unchecked")
    public static void main(String[] args) throws InterruptedException {
    EntityManagerFactory emf = 
Persistence.createEntityManagerFactory("org.jbpm.task");
    TaskService taskService = new TaskService(emf, 
SystemEventListenerFactory.getSystemEventListener());
    TaskServiceSession taskSession = taskService.createSession();
   
    taskSession.addUser(new User("Administrator"));
    
    // start server
    MinaTaskServer server = new MinaTaskServer(taskService);
    Thread thread = new Thread(server);
    thread.start();
    System.out.println("Server started ..."); 
    Thread.sleep(5000); 
 //taskSession.dispose();
    }
    
    
}
--

Reply to this message by going to Community
[http://community.jboss.org/message/578519#578519]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: Jbpm 5 user form variables

2011-01-03 Thread Matthew Wojtowicz
Matthew Wojtowicz [http://community.jboss.org/people/mattu16] created the 
discussion

"Re: Jbpm 5 user form variables"

To view the discussion, visit: http://community.jboss.org/message/578517#578517

--
Thanks got this to work.

Code for Script before Human Task(Don't forget to add import java.util.HashMap):
map = new HashMap();
map.put("id",id);
map.put("priority",priority);
map.put("quantity",quantity);
kcontext.setVariable("map", map);
 map = new HashMap();
 map.put("id",id);
 map.put("priority",priority);
 map.put("quantity",quantity);
 kcontext.setVariable("map", map);

Then Human task Node


  
    
    
    
    
    
  _2_ContentInput
  _2_CommentInput
  _2_SkippableInput
  _2_TaskNameInput
    
    
    
  
  
    map
    _2_ContentInput
  
  
    _2_CommentInput
    
  Please create an order.
  _2_CommentInput
    
  
  
    _2_SkippableInput
    
  false
  _2_SkippableInput
    
  
  
    _2_TaskNameInput
    
  Order Evaluation
  _2_TaskNameInput
    
  
  
    
  krisv
    
  
    

I accessed the variables in my ftl as ${id} ${priority}. DO NOT use 
${content.id} or ${map.id}
--

Reply to this message by going to Community
[http://community.jboss.org/message/578517#578517]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: JBPM5 -CR1- demo example form exception

2011-01-03 Thread Matthew Wojtowicz
Matthew Wojtowicz [http://community.jboss.org/people/mattu16] created the 
discussion

"Re: JBPM5 -CR1- demo example form exception"

To view the discussion, visit: http://community.jboss.org/message/578516#578516

--
Login as krisv and enter krisv into the first form
--

Reply to this message by going to Community
[http://community.jboss.org/message/578516#578516]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: Cron expression in jBPM5 gives exception

2011-01-03 Thread onkar ruikar
onkar ruikar [http://community.jboss.org/people/onkarruikar] created the 
discussion

"Re: Cron expression in jBPM5 gives exception"

To view the discussion, visit: http://community.jboss.org/message/578515#578515

--
Yes. Register the rule and the process in knowledgebase and then fire the rule.
Please let me know if there is any other way to do this. Thanks!
--

Reply to this message by going to Community
[http://community.jboss.org/message/578515#578515]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - JBPM5 -CR1- demo example form exception

2011-01-03 Thread bpmn2 user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"JBPM5 -CR1- demo example form exception"

To view the discussion, visit: http://community.jboss.org/message/578514#578514

--
Following error gets generated in mina server while completing the form 'Start 
Performance Evaluation'  for the sample com.sample.evaluation.
None  of the news tasks are shown in Tasks->Personal tasks
Any comments?


[java] [2011:01:03 22:01:29:debug] Arguments : [org.jbpm.task.event.TaskEve
nt...@ac37540, false, org.drools.process.workitem.wsht.WSHumanTaskHandler]
 [java] [2011:01:03 22:01:76:debug] Message receieved on server : AddTaskReq
uest
 [java] [2011:01:03 22:01:76:debug] Arguments : [org.jbpm.task.t...@23f66542
, null]
 [java] [2011:01:03 22:01:139:exception] Error while commiting the transacti
on
 [java] javax.persistence.RollbackException: Error while commiting the trans
action
 [java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java
:71)
 [java] at org.jbpm.task.service.TaskServiceSession.doOperationInTransac
tion(TaskServiceSession.java:716)
 [java] at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceS
ession.java:134)
 [java] at org.jbpm.task.service.TaskServerHandler.

.

[java] Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integri
ty constraint violation: "FK27A9A59E619A0: PUBLIC.TASK FOREIGN KEY(CREATEDBY_ID)
 REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFil
ter.messageReceived(DefaultIoFilterChain.java:713)
 [java] update Task set allowedToDelegate=?, taskInitiator_id=?, priority=?,
 activationTime=?, actualOwner_id=?, createdBy_id=?, createdOn=?, documentAccess
Type=?, documentContentId=?, documentType=?, expirationTime=?, faultAccessType=?
, faultContentId=?, faultName=?, faultType=?, outputAccessType=?, outputContentI
d=?, outputType=?, parentId=?, previousStatus=?, skipable=?, status=?, workItemI
d=? where id=? [23002-124]
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
 [java] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedSt
atement.java:1082)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
 [java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBat
cher.java:70)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
 [java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatch
er.java:268)
 [java] at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDeco
derOutputImpl.flush(ProtocolCodecFilter.java:375)
 [java] ... 37 more
 [java] at org.apache.mina.filter.codec.ProtocolCodecFilter.messageRecei
ved(ProtocolCodecFilter.java:229)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
 [java] at org.apache.mina.filter.logging.LoggingFilter.messageReceived(
LoggingFilter.java:176)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$
1200(DefaultIoFilterChain.java:46)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryIm
pl$1.messageReceived(DefaultIoFilterChain.java:793)
 [java] at org.apache.mina.core.filterchain.IoFilterAdapter.messageRecei
ved(IoFilterAdapter.java:119)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNex
tMessageReceived(DefaultIoFilterChain.java:434)
 [java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMes
sageReceived(DefaultIoFilterChain.java:426)
 [java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(
AbstractPollingIoProcessor.java:638)
 [java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce
ss(AbstractPollingIoProcessor.java:598)
 [java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.proce
ss(AbstractPollingIoProcessor.java:587)
 [java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.acces
s$400(AbstractPollingIoProcessor.java:61)
 [java] at org.apache.mina.core.polling.AbstractPollingIoProcessor$Proce
ssor.run(AbstractPollingIoProcessor.java:969)
 [java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservin
gRunnable.java

[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

2011-01-03 Thread Tarun Sapra
Tarun Sapra [http://community.jboss.org/people/tarunsapra] created the 
discussion

"Re: jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578511#578511

--
Hi Mauricio,
The only reason actually I asked for a complete application is because Jbpm is 
a little more complex to get started with as compared to traditional frameworks 
like spring, hibernate etc. Most new versions for projects have demo web 
applications so that the user is helped to get started with and also it's very 
important to have a simplistic beginner's guide to build a healthy community of 
developers around the product but my experience with JBPM hasn't been good at 
all as the documentation and examples are highly inadequate and thus 
discouraging developers to explore JBPM and integrate it into their software 
solutions.
Regards
Tarun Sapra
--

Reply to this message by going to Community
[http://community.jboss.org/message/578511#578511]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

2011-01-03 Thread bpmn2 user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/578510#578510

--
'I tried putting testDS in gwt-console-server.war web-inf folder ,then I  added 
persistence related jars in Tomcat_Home/lib folder as well,but  still same 
error I get related to finding persistence classes.'

Keeping the testDS in web-inf folder would not work with Tomcat. The 
context.xml file needs to be modified.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578510#578510]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

2011-01-03 Thread bpmn2 user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/578508#578508

--
It is mainly required to setup JNDI in Tomcat (jdbc/testDS1) and it depends on 
the transaction manager selected and Tomcat version.

For example, here is the documentation using Bitronix on Tomcat 6.
 http://docs.codehaus.org/display/BTM/Tomcat13 
http://docs.codehaus.org/display/BTM/Tomcat13

If this configured as global resource in Tomcat (i.e, modifying 
$CATALINA_BASE/conf/server.xml), no changes are required in the 
jbpm-console.war and gwt-console-server.war. The JNDI will be available 
globally for all the web applications
--

Reply to this message by going to Community
[http://community.jboss.org/message/578508#578508]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

2011-01-03 Thread bpmn2 user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/578506#578506

--
If you are using Tomcat 5.5, you might want to follow these instructions
 http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html 
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html.

Also, what is the 'root cause' error shown at the end of stack trace?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578506#578506]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - Re: 'No ConnectorMetaData found for mdf' when embedding rar in ear

2011-01-03 Thread Dwayne Schultz
Dwayne Schultz [http://community.jboss.org/people/dwayne%40schultz.net] created 
the discussion

"Re: 'No ConnectorMetaData found for mdf' when embedding rar in ear"

To view the discussion, visit: http://community.jboss.org/message/578491#578491

--
I found a reference to a test case that should exercise this functionality 
(IsolatedEARDeployermentUnitTestCase or IsolatedEARDeploymentUnitTestCase 
referenced here  http://community.jboss.org/message/227558#227561 
http://community.jboss.org/message/227558#227561) but I don't see that test in 
any current distribution.  If anyone could redirect me, I would appreciated it 
much.  I also didn't realize that I was out of date with jboss but I have since 
tried this same code with 6.0.0.Final and EAP 5.1 and the stacks look 
practically identical.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578491#578491]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Petr H
Petr H [http://community.jboss.org/people/hostalp] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578490#578490

--
> Perhaps filter out the "org.hibernate.validator"?
I'll try something, but I'm not sure what to try exactly. Looks like adding 
NegatingClassFilter for org.hibernate as after-filter isn't the way so I'm not 
sure which way to go to block some packages/classes completely regardless their 
presence anywhere or not.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578490#578490]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578487#578487

--
> But since they are not found in own domain,it goes into *after* phase and 
> looks into parent domain.
> 
> You can also setup the after lookup to be filtered the way you want it.
Perhaps filter out the "org.hibernate.validator"?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578487#578487]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578486#578486

--
> Based on my recent findings this seems to be only partially true.If I use the 
> actual name of ear file as ear-level domain name then it seems to be true.
> If I use something else (in ear/META-INF/jboss-classloading.xml) then it 
> looks like war classloaders don't reflect this change and still work with ear 
> file name so I have to setup their own jboss-classloading.xml
> I think the war classloaders should pick up the change done on ear level by 
> default but they seem like they don't.
Ah, I think you're right.
It's the WebClassLoaderDeployer that messes up things;
it's missing some more logic to address the new jboss-cl-domain.xml notion.

I'll fix this.
Too bad we didn't find this one before.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578486#578486]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578485#578485

--
> The bad thing is that it was behaving the same way no matter if Validator was 
> bundled or not.
This is a Hibernate issue, or who ever tries to get a hold of Validator 
resources.
> > If the Hibernate was/is part of war' lib/ dir then this makes sense.
> > If not, then it's strange. :-)
>  It was in ear/lib, referenced from war via MANIFEST.MF Class-Path entry.
That's the same thing as if were part of WEB-INF/lib, since it becomes war' 
classpath entry.
> That gives me an idea - does the JBoss Class Filter still give an access to a 
> particular class (in JBoss libs) when there's a filter match but the class 
> isn't in the app?
> Maybe the problem here is because there's no such class in the app so even 
> though the filter is setup properly it doesn't have any effect here - beceuse 
> it's just a "preference" filter and not really a "blocking" one. 
Sure, exactly -- it's a "preference" filter.
It tells the domain not to look for any "org.hibernate" resources in the parent 
before it looks into own domain.
(as we know, usual Java lookup mechanism is parent first)

But since they are not found in own domain,
it goes into *after* phase and looks into parent domain.

You can also setup the after lookup to be filtered the way you want it.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578485#578485]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Petr H
Petr H [http://community.jboss.org/people/hostalp] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578484#578484

--
> Validator should be bundled as well.
The bad thing is that it was behaving the same way no matter if Validator was 
bundled or not.
And still, I don't need it in the app. On other app. servers I can run the same 
app without the Validator anywhere on classpath.
> If the Hibernate was/is part of war' lib/ dir then this makes sense.
> If not, then it's strange. :-)
 It was in ear/lib, referenced from war via MANIFEST.MF Class-Path entry.
> The war' parent classloader is (unless explicity set differently) ear' root 
> classloader.And of course this classloader -- via 
> jboss-classloading-domain.xml -- is in its own filtered domain.
Based on my recent findings this seems to be only partially true.
If I use the actual name of ear file as ear-level domain name then it seems to 
be true.
If I use something else (in ear/META-INF/jboss-classloading.xml) then it looks 
like war classloaders don't reflect this change and still work with ear file 
name so I have to setup their own jboss-classloading.xml
I think the war classloaders should pick up the change done on ear level by 
default but they seem like they don't.
 
Anyway I still can't get the filtering to work even though I use the ear file 
name as domain name in ear-level jboss-classloading-domain.xml - the Hibernate 
Validator stuff from the JBoss is still loaded.
Also I noticed that the particular class org.hibernate.validator.ClassValidator 
(java.lang.NoSuchMethodException: 
org.hibernate.validator.ClassValidator.(java.lang.Class, 
java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, 
java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)) 
comes from the common/lib/hibernate-validator-legacy.jar and isn't bundled in 
our app.
The particular code in org.hibernate.cfg.AnnotationConfiguration class 
(3.5.6.Final) is:
   try {
   Class classValidator = ReflectHelper.classForName(
 "org.hibernate.validator.ClassValidator", this.getClass()
   );
   Class messageInterpolator = ReflectHelper.classForName(
 "org.hibernate.validator.MessageInterpolator", this.getClass()
   );
   validatorCtr = classValidator.getDeclaredConstructor(
 Class.class, ResourceBundle.class, messageInterpolator, Map.class, 
ReflectionManager.class
   );
where the last expression throws that NoSuchMethodException (looks like there's 
an incompatibility between later hibernate annotations and 
hibernate-validator-legacy because there's really no such constructor in 
ClassValidator). That gives me an idea - does the JBoss Class Filter still give 
an access to a particular class (in JBoss libs) when there's a filter match but 
the class isn't in the app?
Maybe the problem here is because there's no such class in the app so even 
though the filter is setup properly it doesn't have any effect here - beceuse 
it's just a "preference" filter and not really a "blocking" one. 
 
I'll try some more configurations but I really doubt that I'll be able to get 
it to work - maybe I'll try to remove hibernate-validator-legacy.jar from JBoss 
libs.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578484#578484]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

2011-01-03 Thread Anand Prakash
Anand Prakash [http://community.jboss.org/people/anandintouch] created the 
discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/578483#578483

--
I also did all setup for Tomcat but only issue is with setting up datasource  
JNDI and transaction manager.
I tried putting testDS in gwt-console-server.war web-inf folder ,then I added 
persistence related jars in Tomcat_Home/lib folder as well,but still same error 
I get related to finding persistence classes.
Error- 
Could not initialize stateful knowledge session: No Persistence provider for 
EntityManager 
named org.drools.persistence.jpa

Here is the snippet from server.xml config from Tomcat(below config is the 
second option I tried)
---


    

  

I don't see any error on server log ,only while loading process in web console 
I get the exception.
So basically some configuration related to transactionManager and Datasource 
could be the problem.Let me know if any info on this.

Thanks,
Anand
--

Reply to this message by going to Community
[http://community.jboss.org/message/578483#578483]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578479#578479

--
Ah, now I actually see/understand your problem -- at least I think so. :-)

My previous suggestion is wrong.
What you need is the following, in theory at the moment.
* deployment myapp.ear must depend on SystemPropertiesService, but in PARSE 
stage
** this way ear' -ds.xml will be parsed with required system properties

We already have proper mechanism in place for this,
see jboss-dependency.xml ( http://community.jboss.org/docs/DOC-13178 
http://community.jboss.org/wiki/JBoss5custommetadatafiles),
but it will need minor adjustments.

See dependency-deployers-jboss-beans.xml in deployers/,
all three jboss-dependency.xml related deployers need a change of stage.

DeploymentStages.PRE_PARSE <--- pseudo code

Then adding proper jboss-dependency.xml into ear' META-INF should do the trick.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578479#578479]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [Beginner's Corner] - Re: More JBoss-AS 5 clusters and more Apache Virtual Hosts

2011-01-03 Thread August Simonelli
August Simonelli [http://community.jboss.org/people/augustsimonelli] created 
the discussion

"Re: More JBoss-AS 5 clusters and more Apache Virtual Hosts"

To view the discussion, visit: http://community.jboss.org/message/578476#578476

--
Nope - i never did it with the ports configs buti agree it should work ...
What version of apache are you using? And what version of mod_cluster? Is it 
the RHN one?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578476#578476]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578474#578474

--
No
when myproperties-jboss-beans.xml are placed in deployers dir they are 
available before the ear gets deployed
ok it finally works somehow :-)

I supposed to use the supply/demand scenario with both 
myproperties-jboss-beans.xml and myapp.ear in deploy dir but it doesn't work 
since JAXB unmarshals myapp.ear/my-ds.xml descriptor before 
SystemPropertiesService reaches its configured state and thus
> * would like to use ${myapp.db.maxPoolSize} in 
> myapp.ear/my-ds.xml
> * ends up with maxPoolSize == 0
> 

2011-01-03 14:45:56,810 DEBUG (main)[org.jboss.system.ServiceConfigurator] 
MaxSize set to 0 in jboss.jca:service=ManagedConnectionPool,name=Ora11DS
--

Reply to this message by going to Community
[http://community.jboss.org/message/578474#578474]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578473#578473

--
> I tried both with bundled Validator and without it, but no difference. In 
> verbose:class output I could see only loading of certain Validator classes 
> from common/lib/hibernate-validator.jar and hibernate-validator-legacy.jar.
Validator should be bundled as well.

> Also note that even without specifying that filter the Hibernate 3.5.6 was 
> being used so even here there's no difference.One interesting thing is that 
> we don't actually use the Validator in our app, but it looks like since it's 
> on the classpath and gets loaded it interfers with the app.
If the Hibernate was/is part of war' lib/ dir then this makes sense.
If not, then it's strange. :-)

> Isn't some sort of jboss-classloading.xml setup required for this case? I 
> wonder if I don't have to setup an ear level one specifying the MyDomain as 
> domain and then another in each of the wars specifying the MyDomain as parent 
> domain (I'm not sure how the domain inheritance works here - if wars inherit 
> the ear domain as their parent or not).
The war' parent classloader is (unless explicity set differently) ear' root 
classloader.
And of course this classloader -- via jboss-classloading-domain.xml -- is in 
its own filtered domain
--

Reply to this message by going to Community
[http://community.jboss.org/message/578473#578473]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Petr H
Petr H [http://community.jboss.org/people/hostalp] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578470#578470

--
I tried both with bundled Validator and without it, but no difference. In 
verbose:class output I could see only loading of certain Validator classes from 
common/lib/hibernate-validator.jar and hibernate-validator-legacy.jar.

Also note that even without speficying that filter the Hibernate 3.5.6 was 
being used so even here there's no difference.
One interesting thing is that we don't actually use a the Validator in our app, 
but looks like since it's on classpath and gets loaded it interfers.

Isn't some sort of jboss-classloading.xml setup required for this case? I 
wonder if I don't have to setup an ear level one specifying the MyDomain as 
domain and then another in each of the wars specifying the MyDomain as parent 
domain (I'm not sure how the domain inheritance works here - if wars inherit 
the ear domain as their parent or not).
--

Reply to this message by going to Community
[http://community.jboss.org/message/578470#578470]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [jBPM] - Map between task to form

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"Map between task to form"

To view the discussion, visit: http://community.jboss.org/message/578466#578466

--
Hi!

I am stuck with the question - how do I map from a task to a JSF form to be 
displayed when the user reaches the task?

Or actually, how do I map between task to a java class that should handle it?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578466#578466]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578455#578455

--
> however I'm still getting an exceptions related to hibernate validator which 
> appears to be related to the differences between hibernate bundled in the ear 
> - 3.5.6 - and hibernate in JBoss 6.0.0.Final - 3.6.0 + hibernate Validator 
> 4.1.0 - see below.
> org.hibernate.AnnotationException: java.lang.NoSuchMethodException: 
> org.hibernate.validator.ClassValidator.(java.lang.Class, 
> java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, 
> java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
> at 
> org.hibernate.cfg.AnnotationConfiguration.applyHibernateValidatorLegacyConstraintsOnDDL(AnnotationConfiguration.java:455)
>  [:3.5.6-Final]
It looks like your Hibernate is kicking in, but the problem is now Validator.
You're saying you're also bundling Hibernate Validator that matches Hibernate 
3.5.6-Final' usage?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578455#578455]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Web Services] - Re: Resteasy + Seam = 403 Forbidden, any idea why?

2011-01-03 Thread Grzegorz Gwoźdź
Grzegorz Gwoźdź [http://community.jboss.org/people/gwozdziu] created the 
discussion

"Re: Resteasy + Seam = 403 Forbidden, any idea why?"

To view the discussion, visit: http://community.jboss.org/message/578454#578454

--
Please try putting all your code in the method into try -catch clause:

@Path("/myPath")
@Produces("application/xml")
public MyClass myFunction(){
 try{
  //your code
 }catch(Exception e){
  e.printstackTrace();
 }
}

RESTEasy swollows lot of exceptions and creates response with various HTTP 
error headers. Using method described above you will now what might have gone 
wrong.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578454#578454]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

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


[jboss-user] [jBPM] - Re: jBPM 5: task delegation

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: jBPM 5: task delegation"

To view the discussion, visit: http://community.jboss.org/message/578446#578446

--
I will be working on a couple of posts the following weeks what exactly do you 
want to see in the examples?
I have an application running and I can add some use cases that helps you to 
choose jBPM5. Regarding your question I think that jBPM5 provides exactly the 
same functionality as Drools Flow.
Greetings.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578446#578446]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

2011-01-03 Thread Petr H
Petr H [http://community.jboss.org/people/hostalp] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578445#578445

--
Hello,

so based on what's discussed here I tried some things but don't seem to have 
succeeded.
I'll shortly describe what I'm up to and what I've done:

I've got an ear:
ear/lib - shared jars
ear/web1.war
ear/web2.war
ear/web3.war
 (wars reference some of tha shared stuff in lib via META-INF/MANIFEST.MF 
Class-Path)

Now I'm trying to filter out JBoss Hibernate stuff for the whole ear globally:
ear/META-INF/jboss-classloading-domain.xml



 
  
   
    
 
  
   
    org.hibernate
   
  
 
    
   
  
 


however I'm still getting an exceptions related to hibernate validator which 
appears to be related to the differences between hibernate bundled in the ear - 
3.5.6 - and hibernate in JBoss 6.0.0.Final - 3.6.0 + hibernate Validator 4.1.0 
- see below.

So that doesn't seem to be working for me. Now - what's wrong? Should I define 
a jboss-classloading.xml as well (I don't have any at the moment)? What it 
should look like then?
And can all this be done on the ear level, or should I go through each war?
Or anything else?

org.hibernate.AnnotationException: java.lang.NoSuchMethodException: 
org.hibernate.validator.ClassValidator.(java.lang.Class, 
java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, 
java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
 at 
org.hibernate.cfg.AnnotationConfiguration.applyHibernateValidatorLegacyConstraintsOnDDL(AnnotationConfiguration.java:455)
 [:3.5.6-Final]
 at 
org.hibernate.cfg.AnnotationConfiguration.applyConstraintsToDDL(AnnotationConfiguration.java:428)
 [:3.5.6-Final]
 at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:403)
 [:3.5.6-Final]
 at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1206) 
[:3.5.6-Final]
 at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1459) 
[:3.5.6-Final]
 at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:193)
 [:3.5.6-Final]
 at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1086) 
[:3.5.6-Final]
 at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:685) 
[:3.5.6-Final]
--

Reply to this message by going to Community
[http://community.jboss.org/message/578445#578445]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [JBoss Web Services] - Re: WS-Security: keystores and truststores

2011-01-03 Thread Federico Jorge
Federico Jorge [http://community.jboss.org/people/fedejofa] created the 
discussion

"Re: WS-Security: keystores and truststores"

To view the discussion, visit: http://community.jboss.org/message/578443#578443

--
Jason answer does not clarify the first question.
Am I the only one who thinks this should be retouched?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578443#578443]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

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


[jboss-user] [jBPM] - Re: Restore process in JBPM 5 when server/application was restarted

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: Restore process in JBPM 5 when server/application was restarted"

To view the discussion, visit: http://community.jboss.org/message/578442#578442

--
when you restore the session from the database you need to re-register the 
workitemhandlers again, because they are not maintained in the database.
Greetings.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578442#578442]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: Cron expression in jBPM5 gives exception

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: Cron expression in jBPM5 gives exception"

To view the discussion, visit: http://community.jboss.org/message/578441#578441

--
ok and it works?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578441#578441]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578434#578434

--
Hi there.. you will invoke the process in the same way.. if there is a web 
application, a stand alone application or another type of client application.
If you know how to code web applications with struts you can take a look at the 
application that I mention and then just call the process in the same way.
Greetings
--

Reply to this message by going to Community
[http://community.jboss.org/message/578434#578434]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [EJB3] - Re: How to manage TimerService/scheduled task on mutiple application servers

2011-01-03 Thread Guillermo Fernández
Guillermo Fernández [http://community.jboss.org/people/perfilgeminis] created 
the discussion

"Re: How to manage TimerService/scheduled task on mutiple application servers"

To view the discussion, visit: http://community.jboss.org/message/578427#578427

--
People, I was taking this problem around. Like I said, I probe succesfully to 
connect the TimerService to the same database (table on database) for the 
multiple servers.

When I create a timer, it is persisted into the database. After that, when any 
jboss server start up take and instanciate the timer persisted (because is the 
same database for every server's TimerService.

Now, if I go on this way to the solution, the proble is that when I create a 
timer through a sever, the rest of the server that was already running don't 
instantied it.

So now I have the next questions:
- Jboss "refresh/consult" to the database of timer periodicaly or every 
particulary time?
- There is a way to configure to do/modify this "periodicaly refresh" of the 
timers?

Regards
Guillermo
--

Reply to this message by going to Community
[http://community.jboss.org/message/578427#578427]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


[jboss-user] [JBoss Web Services] - jboss6 final and jbossws 3.4.0

2011-01-03 Thread Antoine Brun
Antoine Brun [http://community.jboss.org/people/abr] created the discussion

"jboss6 final and jbossws 3.4.0"

To view the discussion, visit: http://community.jboss.org/message/578425#578425

--
Hello,

I'm currently trying to migrate our application from jboss5 to jboss6 and I'm 
running into some issues.

My first try was with jboss6 CR1:
We have some web services (EJB3 endpoints) and they all have @HandlerChain 
declaration (we use this to do the XML validation since the built-in SOAP 
validation didn't work on Jboss5) and it all worked fine with jboss5 and 
jbossws native 3.3.1 GA.

Now with jboss6 CR1, since it is shipped with jbossws-CXF 3.4.1 my 
@HandlerChain declaration does not seem to be valid any more (btw, I was not 
able to find any clear document on own to declare a handler chain with CXF).
So I've decided to use *jbossws-native-3.4.0* (the latest version available) 
and I worked fine: I was able to have my web services running just like with 
jboss5

Today, I've downloded *jboss6 Final with CXF 3.4.1*
18:32:43,489 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 
3.4.1.GA

and just like for jboss6 CR1, I tried to deploy jbossws native.
But this time I get:
18:34:46,515 INFO  [AbstractServerConfig] JBoss Web Services - Native Server 
3.4.0.GA
18:34:46,523 ERROR [AbstractKernelController] Error installing to PreInstall: 
name=WSDescriptorDeployer state=Real: java.lang.NoClassDefFoundError: 
org/jboss/wsf/spi/metadata/DescriptorParser
    at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_23]
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) 
[:1.6.0_23]
    at java.lang.Class.getDeclaredConstructors(Class.java:1836) [:1.6.0_23]
.
Caused by: *java.lang.ClassNotFoundException: 
org.jboss.wsf.spi.metadata.DescriptorParser*
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_23]

So, jboss6 CR1 comes with  Stack CXF Server 3.4.0.CR3 and I can install Native 
Server 3.4.0.GA

But, jboss6 Final comes with CXF 3.4.1 and I cannot install Native Server 
3.4.0.GA...

Can someone please explain me:
- *how to install jbossws native in jboss6?*
- *where do I get jbossws native 3.4.1 (is it available? 3.4.0 native or CXF 
are the latest available at  http://www.jboss.org/jbossws/downloads 
http://www.jboss.org/jbossws/downloads )?*
- *how do I declare HandlerChain with CXF?*

my EJB have @HandlerChain(file = "/META-INF/soapHandler/handler-chain.xml")

and the handler-chain.xml is as follow:
  
  
    
    SoapHandler
    
    SoapMessageValidationHandler
    
com.ubiqube.api.ws.soapHandler.MessageValidationSoapHandler
    
    
  

thanks,

Antoine
--

Reply to this message by going to Community
[http://community.jboss.org/message/578425#578425]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

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


[jboss-user] [jBPM] - How to invoke the process from jsf-console?

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"How to invoke the process from jsf-console?"

To view the discussion, visit: http://community.jboss.org/message/578424#578424

--
Hi!

I am trying the example of evaluation.

My question is - how do I invoke it from a JSF application which on a form 
action - it will receive the user id and display to him the right page with the 
process?

For exmaple, if it's a manager - it will display to him the evaluation for 
manager!
--

Reply to this message by going to Community
[http://community.jboss.org/message/578424#578424]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Tools] - Re: 64 bit xulrunner - has anyone got one, or detailed steps to build one?

2011-01-03 Thread henk de boer
henk de boer [http://community.jboss.org/people/henk53] created the discussion

"Re: 64 bit xulrunner - has anyone got one, or detailed steps to build one?"

To view the discussion, visit: http://community.jboss.org/message/578422#578422

--
I see. Hmmm, but I don't exactly understand the reasoning:

> Pretty sure there's nothing we can do about this one since there's no 64-bit 
> OSX XulRunner 1.9.1.2.

But that can't be the reason of course  ;)  The issue even mentions this in the 
description. The entire point is that the editor works despite there not being 
a 64-bit XulRunner, so that it doesn't work because there is no 64-bit 
XulRunner is a bit of a recursive problem.

If I read the issue correctly, those x86 platform filters might help?

Also, how is the situation with the 64-bit XulRunner anyway? Do you know 
anything about this?

If I read the various bugzilla entries at eclipse and mozilla it seems that 
there is a 64 bit version (entries from March 2010 say the work for that is 
'done'), while simultaneously it seems there still isn't one and there might 
never be one(?).

When more and more computers become 64 bits, wouldn't this be a reason to move 
away from XulRunner entirely? Or does this "there never will be one" only 
applies to the 1.9.x series?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578422#578422]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

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


[jboss-user] [JBoss Portal] - Re: Dynamically adding / removing portlets programmatically

2011-01-03 Thread steux jean-sebastien
steux jean-sebastien [http://community.jboss.org/people/jssteux] created the 
discussion

"Re: Dynamically adding / removing portlets programmatically"

To view the discussion, visit: http://community.jboss.org/message/578416#578416

--
I have a simpler solution ; In an older projet (jbp 2.6), we also had 
developped a Specific Interceptor (extends ControllerInterceptor) to add a 
window like this :


    RenderPageCommand rCmd = (RenderPageCommand) cmd;
    PortalObjectPath pagePath = rCmd.getTargetId().getPath();

    // Set path for dynamic window
    String[] names = new String[pagePath.getLength() + 1];
    for (int i = 0; i < pagePath.getLength(); i++) {
    names[i] = pagePath.getName(i);
    }

    names[pagePath.getLength()] = "dynamic_" + windowName;
    PortalObjectId id = new 
PortalObjectId(rCmd.getTargetId().getNamespace(), new PortalObjectPath(names));
    PortalObject po = getPortalObjectContainer().getObject(id);
    rCmd.getWindows().add(po);



I hope it can help you.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578416#578416]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578412#578412

--
> >> Anything else?why the usage of supply/demand above doesn't work ?
Didn't you use this at the end?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578412#578412]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Portal] - Re: Dynamically adding / removing portlets programmatically

2011-01-03 Thread steux jean-sebastien
steux jean-sebastien [http://community.jboss.org/people/jssteux] created the 
discussion

"Re: Dynamically adding / removing portlets programmatically"

To view the discussion, visit: http://community.jboss.org/message/578411#578411

--
The ony solution I have found is to redefine the PortalObjectContainer and to 
overload getChidren. It works but it needs to know how jboss portal manages 
Page and Windows
--

Reply to this message by going to Community
[http://community.jboss.org/message/578411#578411]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

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


[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"Re: jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578406#578406

--
I will also appreciate a working example from jsf/struts - how to invoke the 
process/use an existing action etc
--

Reply to this message by going to Community
[http://community.jboss.org/message/578406#578406]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM5 Console Integration with Tomcat6

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"Re: jBPM5 Console Integration with Tomcat6"

To view the discussion, visit: http://community.jboss.org/message/578404#578404

--
> Can you please explain how to "This assumes that a  datasource  JNDI 
> (jdbc/testDS1) is configured in Tomcat and a transaction manager (such as 
> Bitronix or JOTM or Atomikos etc) is configured on Tomcat."
--

Reply to this message by going to Community
[http://community.jboss.org/message/578404#578404]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578403#578403

--
yeah great thanx again

>> Anything else?
why the usage of supply/demand above doesn't wotk ?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578403#578403]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

2011-01-03 Thread Tarun Sapra
Tarun Sapra [http://community.jboss.org/people/tarunsapra] created the 
discussion

"Re: jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578398#578398

--
Hi Mauricio,
Thanks for the reply, but actually the reason I asked this question is , I have 
traditional web application using struts, spring and hibernate, I need to 
invoke a JBPM process from one of the struts action bean, thus I am not able to 
find a proper example on the internet wherein I can invoke a Jpmb process in a 
web-application and the steps in the process are able to invoke certain JSP 
pages based on the flow of the process.

Thanks
Tarun Sapra
--

Reply to this message by going to Community
[http://community.jboss.org/message/578398#578398]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: source code of jbpm-console and gwt-console-server

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"Re: source code of jbpm-console and gwt-console-server"

To view the discussion, visit: http://community.jboss.org/message/578397#578397

--
I would like to configure it for Tomcat. I read the tutorial here:  
http://community.jboss.org/thread/160572 
http://community.jboss.org/thread/160572?tstart=0 but the last part says that I 
have to configure the datasource  JNDI so I need to see how is it called from 
the code to know what lines to add to tomcat server.xml
--

Reply to this message by going to Community
[http://community.jboss.org/message/578397#578397]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: source code of jbpm-console and gwt-console-server

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: source code of jbpm-console and gwt-console-server"

To view the discussion, visit: http://community.jboss.org/message/578396#578396

--
I think that now is all inside the gwt console.. what functionality are you 
looking for?
Greetings
--

Reply to this message by going to Community
[http://community.jboss.org/message/578396#578396]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: source code of jbpm-console and gwt-console-server

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"Re: source code of jbpm-console and gwt-console-server"

To view the discussion, visit: http://community.jboss.org/message/578393#578393

--
And what about jbpm-console?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578393#578393]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: source code of jbpm-console and gwt-console-server

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: source code of jbpm-console and gwt-console-server"

To view the discussion, visit: http://community.jboss.org/message/578392#578392

--
The source code of the  gwt console can be downloaded from here:  
https://github.com/krisv/jbpm/tree/master/jbpm-gwt 
https://github.com/krisv/jbpm/tree/master/jbpm-gwt
--

Reply to this message by going to Community
[http://community.jboss.org/message/578392#578392]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [EJB3] Announcement: EJB 3.1 1.0.7 package released with JBoss AS 6.0.0.M3

2011-01-03 Thread Carlo de Wolf
Carlo de Wolf [http://community.jboss.org/people/wolfc] updated the announcement

Announcement: "EJB 3.1 1.0.7 package released with JBoss AS 6.0.0.M3"

To view the announcement, visit: http://community.jboss.org/community/ejb3

--
Without further adue I would like to direct everybody to  
http://community.jboss.org/docs/DOC-15246 AS 6.0.0.M3 Release Notes.

The JBoss Application Server 6.0.0 Milestone 3 release brings two new features 
from the EJB 3.1 specification:
*  http://community.jboss.org/docs/DOC-15105 EJB3.1 Singleton Beans in AS 6.0.0 
M3 - A more advanced "stateless" bean that allows greater control over 
concurrency semantics. 
* *Container managed concurrency* - A set of annotations that allow you to 
control the locking semantics of your bean. As an example you can implement a 
common read/write locking model by annotating methods as read or write.

I also would like to point out  http://community.jboss.org/docs/DOC-15245 JBoss 
Embedded AS | Quickstart and Runnable Example. Which has been reinstated as 
part of the distribution.

Plus other major additions like  http://jboss.org/hornetq/ HornetQ,  
http://www.jboss.org/jbossremoting/remoting-3.html Remoting 3,  
http://community.jboss.org/docs/DOC-14922 VFS3 User Guide and  
http://community.jboss.org/docs/DOC-13273 JBossOSGi.

Please follow the  http://www.jboss.org/jbossas/downloads/ download link to 
download the distribution zip.
--

Announcement expires on  January 3, 2011

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


[jboss-user] [EJB3] Announcement: EJB 3.1 1.0.0-alpha-43 package released with JBoss AS 6.0 Final

2011-01-03 Thread Carlo de Wolf
Carlo de Wolf [http://community.jboss.org/people/wolfc] posted the announcement

Announcement: "EJB 3.1 1.0.0-alpha-43 package released with JBoss AS 6.0 
Final"

To view the announcement, visit: http://community.jboss.org/community/ejb3

--
To start the new year JBoss AS 6.0 Final has been released. Please view the 
http://community.jboss.org/docs/DOC-16254 AS600FinalReleaseNotes to get an 
overview of what's new in there.

Please follow the  http://www.jboss.org/jbossas/downloads/ download link to get 
your copy of JBoss AS 6.0.0.Final.

With the final release we've put in version 1.0.0-alpha-43 of EJB 3. You can 
view the release notes below:

    Release Notes - EJB 3 - Version depchain-1.0.0-alpha-43    
h2.     Bug
* [ https://issues.jboss.org/browse/EJBTHREE-909 EJBTHREE-909] - 
Injection of Simple Environment Entries Using Resource Annotation without name 
* [ https://issues.jboss.org/browse/EJBTHREE-2070 EJBTHREE-2070] - 
PostConstruct (and PreDestroy) of a singleton bean don't run in a transaction 
context 
* [ https://issues.jboss.org/browse/EJBTHREE-2126 EJBTHREE-2126] - 
SessionContext.getBusinessObject() on no-interface bean fails 
* [ https://issues.jboss.org/browse/EJBTHREE-2161 EJBTHREE-2161] - 
Implement @WebService support for @Singleton EJB3 beans 
* [ https://issues.jboss.org/browse/EJBTHREE-2179 EJBTHREE-2179] - SFSB 
concurrent access timeouts not working 
* [ https://issues.jboss.org/browse/EJBTHREE-2202 EJBTHREE-2202] - 
InvocationContext.getTimer results in AbstractMethodError 
* [ https://issues.jboss.org/browse/EJBTHREE-2204 EJBTHREE-2204] - 
InvocationContext.setParameters must throw IllegalArgumentException on illegal 
arguments 
* [ https://issues.jboss.org/browse/EJBTHREE-2205 EJBTHREE-2205] - 
setSessionContext(SessionContext ctx) doesn't get called for EJB2.x beans 
* [ https://issues.jboss.org/browse/EJBTHREE-2206 EJBTHREE-2206] - 
No-interface tries to connect to container while handling calls directly 
* [ https://issues.jboss.org/browse/EJBTHREE-2207 EJBTHREE-2207] - 
Invalid business interface is identified as a no-interface on SFSB 
* [ https://issues.jboss.org/browse/EJBTHREE-2208 EJBTHREE-2208] - 
Singleton throws IllegalArgumentException instead of IllegalStateException on 
getBusinessObject with an illegal interface 
* [ https://issues.jboss.org/browse/EJBTHREE-2209 EJBTHREE-2209] - 
Timers not undeployed when deployment fails, exception on redeploy 
* [ https://issues.jboss.org/browse/EJBTHREE-2210 EJBTHREE-2210] - 
Singleton container uses broken Double-Checked-Locking for lazy initialization 
* [ https://issues.jboss.org/browse/EJBTHREE-2211 EJBTHREE-2211] - 
Interceptors on singleton must be executing within the concurrency control 
* [ https://issues.jboss.org/browse/EJBTHREE-2212 EJBTHREE-2212] - 
Regression: @ApplicationException is not properly processed for jars in lib 
directories 
* [ https://issues.jboss.org/browse/EJBTHREE-2215 EJBTHREE-2215] - 
Unchecked exceptions specified in the throw clause of a method are not 
application exceptions by default 
* [ https://issues.jboss.org/browse/EJBTHREE-2217 EJBTHREE-2217] - 
Cannot invoke method hashCode() on nointerface view 
* [ https://issues.jboss.org/browse/EJBTHREE-2218 EJBTHREE-2218] - Typo 
in LogMessage 
* [ https://issues.jboss.org/browse/EJBTHREE-2220 EJBTHREE-2220] - 
createIntervalTimer doesn't take into account the initialDuration value 
* [ https://issues.jboss.org/browse/EJBTHREE-2223 EJBTHREE-2223] - 
Singleton postConstruct must run with RequiresNew transaction semantics 
* [ https://issues.jboss.org/browse/EJBTHREE-2225 EJBTHREE-2225] - Bad 
reflection usage leads to race condition 

h2.     Task
* [ https://issues.jboss.org/browse/EJBTHREE-2203 EJBTHREE-2203] - 
Implement InvocationContext.getContextData 
* [ https://issues.jboss.org/browse/EJBTHREE-2213 EJBTHREE-2213] - 
Implement @StatefulTimeout
--

Announcement expires on  September 28, 2013

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


[jboss-user] [JBoss Tools] - Re: 64 bit xulrunner - has anyone got one, or detailed steps to build one?

2011-01-03 Thread Max Andersen
Max Andersen [http://community.jboss.org/people/max.andersen%40jboss.com] 
created the discussion

"Re: 64 bit xulrunner - has anyone got one, or detailed steps to build one?"

To view the discussion, visit: http://community.jboss.org/message/578376#578376

--
Henk, just to let you know that our QE found  
https://issues.jboss.org/browse/JBIDE-8029 
https://issues.jboss.org/browse/JBIDE-8029 when verifying what you saw.

So it works for Windows but not for Mac.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578376#578376]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

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


[jboss-user] [jBPM] - source code of jbpm-console and gwt-console-server

2011-01-03 Thread Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the 
discussion

"source code of jbpm-console and gwt-console-server"

To view the discussion, visit: http://community.jboss.org/message/578367#578367

--
Hi!

Where can I extract the source code of gwt-console-server and jbpm-console?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578367#578367]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578359#578359

--
> >> Placing your property service into deployers/ should work.and it really 
> >> works !!!
Cool. :-)
Anything else?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578359#578359]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

2011-01-03 Thread Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578358#578358

--
Hi there.. I will be working on some tutorials during the following weeks. 
Probably you will be interested on those..
Right now I have this application that is using jBPM5, Drools Expert and Drools 
Fusion.. If you know how to code jsp and servlets it will be easy to adapt the 
application to run in a servlet container. Now the application is based on 
swing beacause we use Slick 2d that is a graphic library.
 https://github.com/Salaboy/drools-demo-application 
https://github.com/Salaboy/drools-demo-application
and some posts explaining how it works:
 http://salaboy.wordpress.com/2011/01/01/emergency-service-drools-application/ 
http://salaboy.wordpress.com/2011/01/01/emergency-service-drools-application/
 
http://salaboy.wordpress.com/2010/12/23/javaone-2010-brazil-speaker-notes-slides/
 
http://salaboy.wordpress.com/2010/12/23/javaone-2010-brazil-speaker-notes-slides/
 http://salaboy.wordpress.com/2010/12/23/drools-at-javaone-brazil-2010/ 
http://salaboy.wordpress.com/2010/12/23/drools-at-javaone-brazil-2010/

PS: just as a suggestion, try to ask for specific things. A complete example 
about a complete application it's hard to get..
Greetings!
--

Reply to this message by going to Community
[http://community.jboss.org/message/578358#578358]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Remoting] - Jboss5.1 - JMS and Linux Heartbeat - server return the real IP and not the VIP

2011-01-03 Thread Kobi Ianko
Kobi Ianko [http://community.jboss.org/people/kobiianko] created the discussion

"Jboss5.1 - JMS and Linux Heartbeat - server return the real IP and not the VIP"

To view the discussion, visit: http://community.jboss.org/message/578352#578352

--
Hi,
I've got an HA system, using linux HA (heartbeat).

2 machines:
 node1 = 10.90.90.33
 node2 = 10.90.90.34

and the Virtual IP (VIP) is 10.90.90.35

because JBOSS5 uses hostname and not IP (like Jboss 4.0.5) I've add 
"-Djava.rmi.server.hostname=10.90.90.35 -Dremoting.bind_by_host=false" to the 
VM Params, for it to work with IPs

when I access the server from the client I use my VIP, but the server returns 
to the client the real ip for remoting.

using a sniffer I can see a packet from the server to the client:
+org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy...xpw...socket://10.90.90.33:4446/+

let me just point out the EJB call works fine, the problem is with JMS only+.+

+any of you know how to let Jboss 5.1 bind the+ +UnifiedInvokerProxy to my VIP?+
+is there any VM Params that I can add to my "run.sh ..." command ?+

+10x, Kobi
+
+
+
--

Reply to this message by going to Community
[http://community.jboss.org/message/578352#578352]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578350#578350

--
Hi Ales

Thanks for answer!

>> How exactly are you seeing the "but no success"?
I've rewritten properties-service.xml to properties-jboss-bean.xml to be able 
to define supply:

  
@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:type=Properties,name=MyAppSystemProperties",exposedInterface=org.jboss.varia.property.SystemPropertiesServiceMBean.class 
  
   istep.db.maxPoolSize=150
  istep.db.idleTimeout=60
 
 SystemProperties


and I placed demand into ear CL deployer:


 
 false
 SystemProperties


but JAXB started to unmarshal ds descriptor before "configured" of system 
properties
may be I'm completely wrong but as I had some time during christmas to dive 
into source codes I'm really curious about solution :-)

>> Placing your property service into deployers/ should work.
and it really works !!!
--

Reply to this message by going to Community
[http://community.jboss.org/message/578350#578350]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [EJB3] - Re: Get ear name

2011-01-03 Thread Sverker Abrahamsson
Sverker Abrahamsson [http://community.jboss.org/people/sverker] created the 
discussion

"Re: Get ear name"

To view the discussion, visit: http://community.jboss.org/message/578342#578342

--
The ServiceLocator has methods like this for all Service beans:

public final SystemStatusService getSystemStatusService(Properties env) throws 
NamingException {
    return (SystemStatusService) getContext(env).lookup(getEarName() + 
"SystemStatusService/remote");
}
--

Reply to this message by going to Community
[http://community.jboss.org/message/578342#578342]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


[jboss-user] [EJB3] - Re: Get ear name

2011-01-03 Thread Sverker Abrahamsson
Sverker Abrahamsson [http://community.jboss.org/people/sverker] created the 
discussion

"Re: Get ear name"

To view the discussion, visit: http://community.jboss.org/message/578341#578341

--
I did a workaround. In pom.xml the application.finalName property is defined to 
the name the ear will have and is used in build section finalName tag. I have a 
mbean which is configured via a *-service.xml file deployed in the ear. In 
there I have an attribute definition like this:

${application.finalName}

Maven will replace the macro with the property value. Then I have a 
ServiceLocator singleton class which is used by all clients to lookup the 
services, it has a method like this:


private static String getEarName() {
    if(earName == null) {
    // This will lookup the name of the ear from our mbean
    MBeanServer mBeanServer = MBeanServerLocator.locateJBoss();
    try {
    earName = (String) mBeanServer.invoke( new 
ObjectName("com.limetransit.sms:service=LimeManagement"),
    "getEarName",
    new Object[] {},
    new String[] {}
    );
    } catch(Exception e) {
    e.printStackTrace();
    }
    }
    return earName + "/";
}

May not be the most beautiful solution but it works at least...
--

Reply to this message by going to Community
[http://community.jboss.org/message/578341#578341]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578338#578338

--
How exactly are you seeing the "but no success"?

As the deployers are again just plain bean in MC/AS,
so same "service" sort of functionality applies.

It just might be an issue of missing dependency,
as we check for completness after each phase: boot, deployers/ and deploy/.
Placing your property service into deployers/ should work.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578338#578338]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Remoting] - LeasePinger, sessionId, jboss messaging

2011-01-03 Thread Mark Torres
Mark Torres [http://community.jboss.org/people/mark_v_torres] created the 
discussion

"LeasePinger, sessionId, jboss messaging"

To view the discussion, visit: http://community.jboss.org/message/577764#577764

--
Hi,

We're experiencing intermittent connection issues with jboss messaging.
Client
jboss app server 4.2.3.GA
jboss messaging 1.4.5.GA
jboss remoting 2.2.3.SP3

Server
jboss app server 4.2.3.GA
jboss messaging 1.4.5.GA
jboss remoting 2.2.3.SP3

We've set up an exception listener on the client side that "reconnects" upon 
failure. However, we do get into situations where the connection becomes dead 
on the server side, but the exception listener does not fire on the client side.

We're able to recreate the issue locally when we pause the client...

kill -s STOP 

wait till the server detects and disconnects the client, and resume the client

kill -s CONT 


I tried tracing the issue and come across a possible cause...

During the resume, 2 ping threads awake, one for LeasePinger and one for 
ConnectionValidator

LeasePinger does not set ServerInvoker.INVOKER_SESSION_ID on the requestPayload 
map, but ConnectionValidator.doCheckConnectionWithLease does.

On the server side, ServerInvoker.invoke, if ServerInvoker.INVOKER_SESSION_ID 
is not in the requestPayloadMap, the server creates/updates the lease.

I think the issue happens when the LeasePinger thread fires before the 
ConnectionValidator thread.

Can you please give us insights on how we can overcome this problem.

I attached the remoting-bisocket config on the server side.
--

Reply to this message by going to Community
[http://community.jboss.org/message/577764#577764]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

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


[jboss-user] [jBPM] - Re: Cron expression in jBPM5 gives exception

2011-01-03 Thread onkar ruikar
onkar ruikar [http://community.jboss.org/people/onkarruikar] created the 
discussion

"Re: Cron expression in jBPM5 gives exception"

To view the discussion, visit: http://community.jboss.org/message/578025#578025

--
Used following rule to run the process:


*import org.drools.runtime.process.ProcessContext*

*rule "everyDay" ruleflow-group "Hello"*
*    timer (cron:***0 0 23 ? * FRI*)    
  when
    
  then
    System.out.println(new java.util.Date());
    kcontext.getKnowledgeRuntime().startProcess("sample");
end*
--

Reply to this message by going to Community
[http://community.jboss.org/message/578025#578025]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [Beginner's Corner] - Re: Create stateless bean from stateful bean

2011-01-03 Thread jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Create stateless bean from stateful bean"

To view the discussion, visit: http://community.jboss.org/message/578034#578034

--
WorkerRemote r = // how to obtain reference? Should I use JNDI as ClientPOJO or 
@EJB annotation?
You can use @EJB injection since you are using it within another server side 
component (i.e. the @Stateful bean). However, that doesn't mean that you cannot 
use JNDI lookup. You can use JNDI lookup too, but @EJB injection is a 
convenient way of getting hold of the bean.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578034#578034]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578298#578298

--
I also played a bit with supply/demand mc feature but still no sucess
I walked through trace logs and I think this is connected with general 
deployer's architecure: metadata object are instanced by jaxb when main 
deployer parses deployments and obviously it's not good idea to depends on mail 
deployer
--

Reply to this message by going to Community
[http://community.jboss.org/message/578298#578298]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [Beginner's Corner] - Re: Drools 5.x OSGI in Equinox

2011-01-03 Thread jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Drools 5.x OSGI in Equinox"

To view the discussion, visit: http://community.jboss.org/message/578015#578015

--
Drools has a separate mailing list  http://www.jboss.org/drools/lists 
http://www.jboss.org/drools/lists. Asking this question there, might get you 
some answer.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578015#578015]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [JBoss Portal] - Customized Skinning in Jboss Enterprise Platform Portal

2011-01-03 Thread Ranjith Reddy
Ranjith Reddy [http://community.jboss.org/people/ranman17] created the 
discussion

"Customized Skinning in Jboss Enterprise Platform Portal"

To view the discussion, visit: http://community.jboss.org/message/577843#577843

--
I have read documentation for customized skinning in Jboss Portal and could not 
find the exact steps that needs to be followed in getting this resolved.

 
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.1/html/Reference_Guide/sect-Reference_Guide-Skinning_the_Portal-Creating_New_Skins.html
 
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.1/html/Reference_Guide/sect-Reference_Guide-Skinning_the_Portal-Creating_New_Skins.html

Steps:

1. Create a new skin ( called MySkin)  in gatein.ear\01eXoResources.war\skin. 
For now, I just copied the DefaultSkin directory and renamed it to Myskin and 
also copied the StyleSheet.css into MySkinStyleSheet.css

2. Added the following to the the gatein-resources.xml 
(gatein.ear\01eXoResources.war\WEB-INF\gatein-resources.xml)

 # - 
  Default
  /skin/Stylesheet.css
  
 *# - *
*  MySkin*
*  /skin/MySkinStylesheet.css*
*  false*
*  *
 
 
3. Added the following in portal.xml 
(\gatein.ear\02portal.war\WEB-INF\conf\portal\portal\classic) to attach the 
Myskin profile.
 
Everyone
  *:/platform/administrators
*  MySkin*
 
 
After doing that, I was able to see the MySkin in the list of the skins 
available in the UI but I was not able to accompolish the following.
 
a) I tried configuring the Portal skin preview and was showing blank screen in 
the preview ( from UI)
b) Are there any other changes that is needed in 02Portal.war/web.war? I am 
asking this because I saw there is another gatein-resources.xml which I am not 
sure the purpose of it? and there is a skin directory in the web.war file.
c)If we want to apply the changes to any of the Groovy compoenents. what is the 
best practice ( development process ) to be followed here?
 
*Thanks*
*Ranjith
*
--

Reply to this message by going to Community
[http://community.jboss.org/message/577843#577843]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578232#578232

--
wow so the implementation is here as I suggested :-) I really didn't take 
notice of subversion commits in the issue

it took me a while to build JBPAPP_5_1 on windoze without patch utility because 
simply setting build.unsecure= in build.properties is not enought
but that's a different story

ok your fix is working but only for integer and long fields of 
ManagedConnectionFactoryDeploymentMetaData and its succesors
why not booleans ?

while trying to apply your fix I encounter following problem:
* in a separate deploy dir I have myapp.ear and myprops-service.xml where the 
property myapp.db.maxPoolSize is defined
* descriptor myapp.ear/my-ds.xml is parsed by JAXB before myprops-service.xml 
is fully deployed so that myapp.db.maxPoolSize is not a system property when 
trying to replace it
I don't see a way how to define the dependency to the property service in 
myapp.ear/my-ds.xml, datasources/local-tx-datasource/depends simply cannot help 
in that case
--

Reply to this message by going to Community
[http://community.jboss.org/message/578232#578232]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JNDI and Naming] - Re: datasource not bound?

2011-01-03 Thread frh10 ff
frh10 ff [http://community.jboss.org/people/frh10] created the discussion

"Re: datasource not bound?"

To view the discussion, visit: http://community.jboss.org/message/577972#577972

--
I have worked out this problem,thanks.
--

Reply to this message by going to Community
[http://community.jboss.org/message/577972#577972]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

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


Re: [jboss-user] [JBoss Tools] - Simple CDI Hello World with Eclipse and JBoss Tools

2011-01-03 Thread Ed Goforth
Ed Goforth [http://community.jboss.org/people/egoforth] commented on

"Simple CDI Hello World with Eclipse and JBoss Tools"

To view all comments on this blog post, visit: 
http://community.jboss.org/community/tools/blog/2010/12/10/simple-cdi-hello-world-in-eclipse#comment-5106

--
Thank you for this.
This is probably obvious to most, but it was a bit puzzling to me when I went 
through the text before watching the video. The beans.xml file needs to have 
some content, and not just be an empty file. If you add a single  
element like in the video, everything is happy. If you have no elements (either 
completely empty or just the  banner, the deployer will throw a 
org.jboss.weld.exceptions.IllegalStateException.  Using a dummy element 
() will show a validation error in the log, but the servlet will still 
deploy and run properly.

I am using Sun JDK 1.6.0_22, Eclipse Helios SR1, JBoss Tools 3.2.0 and JBoss AS 
6.0.0.20101110 CR1 with JBoss ESB 4.9.
--

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


[jboss-user] [jBPM] - ant start.human.task giving error.

2011-01-03 Thread Tarun Sapra
Tarun Sapra [http://community.jboss.org/people/tarunsapra] created the 
discussion

"ant start.human.task giving error."

To view the discussion, visit: http://community.jboss.org/message/577851#577851

--
Hello,

*ant start.human.task* is showing this error

start.human.task:
    [javac] /home/tarunsapra/Desktop/jbpm-installer/build.xml:566: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 1 source file to 
/home/tarunsapra/Desktop/jbpm-installer/task-service/target
BUILD FAILED
/home/tarunsapra/Desktop/jbpm-installer/build.xml:566: 
/home/tarunsapra/Desktop/jbpm-installer/runtime does not exist.

on the internet also there is no proper solution given to this error. please 
provide some solution. If there is some change in the code related to port 
number then please attach the new code file.

Thanks,
Tarun
--

Reply to this message by going to Community
[http://community.jboss.org/message/577851#577851]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Remoting] - Re: Unable to find Remoting services in Jboss 5.1.0

2011-01-03 Thread dhaval joshi
dhaval joshi [http://community.jboss.org/people/dhaval0129] created the 
discussion

"Re: Unable to find Remoting services in Jboss 5.1.0"

To view the discussion, visit: http://community.jboss.org/message/578160#578160

--
Yes I resolved the issue, All you need to do read Jboss Remoting documentation. 
 :)
--

Reply to this message by going to Community
[http://community.jboss.org/message/578160#578160]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

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


[jboss-user] [jBPM] - Re: JBPM5 compatibility with Tomcat and Maven

2011-01-03 Thread Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: JBPM5 compatibility with Tomcat and Maven"

To view the discussion, visit: http://community.jboss.org/message/577968#577968

--
Anand,

You still need to make sure all the jars that are needed are on the application 
classpath.  In this case, it's not able to find javax.persistence.Persistence, 
so that means the jar containing the jpa classes is not in the tomcat lib dir 
(or the lib dir of the jbpm console server war).  Simply adding the jar in one 
of those two locations should probably solve this (and you probably need quite 
a few others as well).

Kris
--

Reply to this message by going to Community
[http://community.jboss.org/message/577968#577968]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Jeff Zhang
Jeff Zhang [http://community.jboss.org/people/jeff.zhang] created the discussion

"Re: The replacement of system properties in *-ds.xml is done only for elements 
of string value type"

To view the discussion, visit: http://community.jboss.org/message/578152#578152

--
https://issues.jboss.org/browse/JBAS-8344?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel#issue-tabs
 
https://issues.jboss.org/browse/JBAS-8344?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel#issue-tabs
Please fetch latest branch_5_1 and try it.

And it also apply some code patch into AS 6 Final, It could handle String type.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578152#578152]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [jBPM] - Start a second process (Fire and forget)..

2011-01-03 Thread Gary Pinkham
Gary Pinkham [http://community.jboss.org/people/garyp] created the discussion

"Start a second process (Fire and forget).."

To view the discussion, visit: http://community.jboss.org/message/578101#578101

--
Maybe I'm thinking of this the wrong way.. But I have the following 
requirement..   trigger a business process via web service..  handle a few 
steps then fire a second process and return immediately...  IE: I don't want 
the client of the first process to wait for the second process to finish..   To 
accomplish this I had first created a custom action to send a JMS message to 
trigger the second process instance..   But since there was a sub process task 
in the jBPM I figured I'd use that instead..  save me the hassle of creating an 
esb entry to front the second process in the ESB..   But this doesn't seem to 
do a fire and forget (I had thought sync="true" would do this but the process 
still waits.)

So do you think I should use a JMS message or is there a way to accomplish with 
built in jBPM actions?  

thanks!
Gary
..  
--

Reply to this message by going to Community
[http://community.jboss.org/message/578101#578101]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM 5 - Support

2011-01-03 Thread Giovanni Marigi
Giovanni Marigi [http://community.jboss.org/people/hifly81] created the 
discussion

"Re: jBPM 5 - Support"

To view the discussion, visit: http://community.jboss.org/message/577781#577781

--
jbpm5 will be the version of jbpm that will be included in the next soa 
platform (I think and hope first quarter of 2011); because of its inclusion in 
the soa platform there will be commercial support.
jbpm4 will remain a community project
take a look at jbpm5 webinar for additional info
 http://www.vimeo.com/16935133 http://www.vimeo.com/16935133
--

Reply to this message by going to Community
[http://community.jboss.org/message/577781#577781]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [Beginner's Corner] - Re: Create stateless bean from stateful bean

2011-01-03 Thread Piotr De
piotrekde [http://community.jboss.org/people/piotrekde] created the discussion

"Re: Create stateless bean from stateful bean"

To view the discussion, visit: http://community.jboss.org/message/578039#578039

--
Thanks Jaikiran! I didn't know that @EJB gives reference backed by stateless 
beans pool - I thought that's just single stateless bean injection.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578039#578039]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [jBPM] - Re: Start a second process (Fire and forget)..

2011-01-03 Thread Maurice de Chateau
Maurice de Chateau [http://community.jboss.org/people/MohReece] created the 
discussion

"Re: Start a second process (Fire and forget).."

To view the discussion, visit: http://community.jboss.org/message/578297#578297

--
Hi Gary,

I think your problem may be coming from the fact that 'normally' processes run 
synchronous, and that the JobExecutor (which is used to run asynchronous 
portions) is configured to use only one thread.

Therefore, even though you're using the 'async=true' attribute there will be 
one thread continuing the execution until it returns. Before the async part 
starts, the calling thread was used to execute the (first) process; the 
JobExecutor then takes over to execute the asyn Action (in your first process) 
and calls the second process, which starts to execute in that same thread - so 
the first process can do nothing but wait until that thread becomes available 
again before it can complete.

The solution lies in making (part of) the second process async; that gives the 
first process the opportunity to gain control again (the async executions are 
simply actions on a timer stack) before the second process is picked up again 
to continue.

Hope this helps a bit...

Regards,
Maurice
--

Reply to this message by going to Community
[http://community.jboss.org/message/578297#578297]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Custom handling for complete task event(Global for all tasks for all processes)

2011-01-03 Thread prasad basutkar
prasad basutkar [http://community.jboss.org/people/peterbasutkar%40gmail.com] 
created the discussion

"Custom handling  for complete task event(Global for all tasks for all 
processes)"

To view the discussion, visit: http://community.jboss.org/message/578050#578050

--
Hi All

Requirement : Custom Handling for Task Complete Event.

Description : I am using jbpm 3.2.6 and I have a requirement where I  want to 
do some custom handling while completing the task , but at the same time I 
don’t want to add a custom TaskHandler or TaskController for 
taskCompletionEvent in the ProcessDefinition since I would have the overhead of 
specifying the following in every ProcessDefinition for every task


 
 -- here goes your task controller handler configuration --
 


In other words I want to change the behavior of the jbpm server for handling 
all tasks completion. So is there any way that the jbpm server can call my java 
code for every task completion event?.

I found that I could achieve the same by adding my code in submitVariables() 
method of TaskInstance Class, but then I have to change the core jbpm code 
which I don’t want to do. As far as possible I want to use jbpm plugable 
configuration. I guess I could also do the same by creating my own task 
management  module and specify it in the jbpm configuration file, but that 
would be a lot of change for just one line of custom code that I want to insert.
Dose any one have any suggestion to do this?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578050#578050]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: ant start.human.task giving error.

2011-01-03 Thread Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: ant start.human.task giving error."

To view the discussion, visit: http://community.jboss.org/message/577977#577977

--
The script assumes you have already installed everything (in this case the 
runtime) before trying to start the human task service.  Try running the ant 
task to create the runtime first, starting the human task should work after 
that:
ant install.jBPM.runtime

Kris
--

Reply to this message by going to Community
[http://community.jboss.org/message/577977#577977]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - jbpm4.4 task attributes

2011-01-03 Thread parvathy j a
parvathy j a [http://community.jboss.org/people/parvathy] created the discussion

"jbpm4.4 task attributes"

To view the discussion, visit: http://community.jboss.org/message/578059#578059

--
Hi,

 I saw two attributes in task node...completion and on-transition...could 
anyone explain these two attributes..because when i tried these attributes i 
didnt find any changes...could anyone please explain thse attributes..i found 
these new attributes in the link given below

  
http://docs.jboss.com/jbpm/v4/schemadocs/schemas/jpdl-4_4_xsd/elements/task.html
 
http://docs.jboss.com/jbpm/v4/schemadocs/schemas/jpdl-4_4_xsd/elements/task.html

Could anyone guide me


Thanking you
Parvathy
--

Reply to this message by going to Community
[http://community.jboss.org/message/578059#578059]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [Beginner's Corner] - Drools 5.x OSGI in Equinox

2011-01-03 Thread gregorymace
gregorymace [http://community.jboss.org/people/gregorymace] created the 
discussion

"Drools 5.x OSGI in Equinox"

To view the discussion, visit: http://community.jboss.org/message/577956#577956

--
I'm interested in a working example running drools 5.x as OSGI bundle in 
Equinox ( Eclipse ).  I've read a lot of threads but nothing that clarifies it 
for me.  Does anyone have an example?
--

Reply to this message by going to Community
[http://community.jboss.org/message/577956#577956]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [jBPM] - Re: ant start.human.task giving error.

2011-01-03 Thread Tarun Sapra
Tarun Sapra [http://community.jboss.org/people/tarunsapra] created the 
discussion

"Re: ant start.human.task giving error."

To view the discussion, visit: http://community.jboss.org/message/577985#577985

--
Thanks Kris it's working now...
--

Reply to this message by going to Community
[http://community.jboss.org/message/577985#577985]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jBPM 5 - Support

2011-01-03 Thread Justin Lee
Justin Lee [http://community.jboss.org/people/justin.l] created the discussion

"Re: jBPM 5 - Support"

To view the discussion, visit: http://community.jboss.org/message/577761#577761

--
Hi Experts,

If you have any information on commercial support, can you please share with me.

Thanks!
--

Reply to this message by going to Community
[http://community.jboss.org/message/577761#577761]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: Jbpm 5 user form variables

2011-01-03 Thread Matthew Wojtowicz
Matthew Wojtowicz [http://community.jboss.org/people/mattu16] created the 
discussion

"Re: Jbpm 5 user form variables"

To view the discussion, visit: http://community.jboss.org/message/577798#577798

--
> Kris Verlaenen wrote:
> 
>  you could create a new process variable contentVariable and set that to a 
> Map that contains the value of one or more parameters you want to pass (like 
> userT).
> 
> 
How would this be done? Would I have to do this in java? Can I set the 
variables in a map using xml?
--

Reply to this message by going to Community
[http://community.jboss.org/message/577798#577798]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [Beginner's Corner] - Re: Create stateless bean from stateful bean

2011-01-03 Thread jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Create stateless bean from stateful bean"

To view the discussion, visit: http://community.jboss.org/message/578041#578041

--
> piotrekde wrote:
> 
> I didn't know that @EJB gives reference backed by stateless beans pool - I 
> thought that's just single stateless bean injection. 
Yeah, an @EJB internally injects a proxy similar to what you would have got 
when you do a JNDI lookup. And it's only when you invoke on that SLSB, that the 
instance association happens. It's the same irrespective of whether you use 
JNDI lookup or @EJB injection.
--

Reply to this message by going to Community
[http://community.jboss.org/message/578041#578041]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [jBPM] - jbpm 5.0 web application sample.?

2011-01-03 Thread Tarun Sapra
Tarun Sapra [http://community.jboss.org/people/tarunsapra] created the 
discussion

"jbpm 5.0 web application sample.?"

To view the discussion, visit: http://community.jboss.org/message/578149#578149

--
Hello,

I needed a sample jsp/servlet jbpm sample web application I am not able to find 
it on the internet.

Can somebody provide the solution.

Thanks
Tarun Sapra
--

Reply to this message by going to Community
[http://community.jboss.org/message/578149#578149]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [JBoss Messaging] - Re: Problem with connection to HA-JNDI.

2011-01-03 Thread Steven Landers
Steven Landers [http://community.jboss.org/people/steven.landers] created the 
discussion

"Re: Problem with connection to HA-JNDI."

To view the discussion, visit: http://community.jboss.org/message/578082#578082

--
For the aid of those googling for this exception and finding this board:

I resolved this exception by including jbossha.jar on the classpath.  
(../server/default/lib or otherwise) 
--

Reply to this message by going to Community
[http://community.jboss.org/message/578082#578082]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

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


[jboss-user] [JNDI and Naming] - Re: datasource not bound?

2011-01-03 Thread Wolf-Dieter Fink
Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the 
discussion

"Re: datasource not bound?"

To view the discussion, visit: http://community.jboss.org/message/577879#577879

--
Do you check the JNDI naming with the jmx-console, that the DS ist correct 
started?

What you mean by 'standalone' application? Could you post the relevant parts of 
your code?
And what EJB version you use 2.x or 3.x?
--

Reply to this message by going to Community
[http://community.jboss.org/message/577879#577879]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

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


[jboss-user] [jBPM] - Re: JBPM5 compatibility with Tomcat and Maven

2011-01-03 Thread Anand Prakash
Anand Prakash [http://community.jboss.org/people/anandintouch] created the 
discussion

"Re: JBPM5 compatibility with Tomcat and Maven"

To view the discussion, visit: http://community.jboss.org/message/578282#578282

--
Hi Kris,
 All required jars including persistence jars as mentioned below are there in 
tomcat_home/lib folder and in gwt-console-server.war as well.
But still I get " Could not initialize stateful knowledge session: 
javax/persistence/Persistence"
Infact I don't see any exception in server log and in humantask console window.

So it's related to testDS configuration and tranaction manager config for 
tomcat which is causing that exception.
So where do we need to put testDS and configuration about datasource  JNDI 
(jdbc/testDS1)and transaction manager in server.xml file of tomcat?
--

Reply to this message by going to Community
[http://community.jboss.org/message/578282#578282]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: Jbpm 5 user form variables

2011-01-03 Thread onkar ruikar
onkar ruikar [http://community.jboss.org/people/onkarruikar] created the 
discussion

"Re: Jbpm 5 user form variables"

To view the discussion, visit: http://community.jboss.org/message/577983#577983

--
You can try this solution:

In content variable pass the map as mvel. Following is the sample map:
h6.  [ 'reminderInterval' : new String("#{reminderInterval}"),
   'report' : new String( "#{report}")
 ];
 And in human task handler(WSHumanTaskHandler or 
CommandBasedWSHumanTaskHandler) modify 
executeWorkItem(WorkItem,WorkItemManager) method. Add following lines at bottom 
part of the method before serialisation:
h6.     ContentData content = null;
    String contentString = workItem.getParameter("Content").toString();
    //evaluate mvel
    ExpressionCompiler compiler = new 
ExpressionCompiler(contentString.trim());
    ParserContext context = new ParserContext();
    context.addPackageImport("java.lang");
    Map contentObject =(Map) 
MVEL.executeExpression(compiler.compile(context));
--

Reply to this message by going to Community
[http://community.jboss.org/message/577983#577983]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: how can i see my process definitions inside jbpm-console???

2011-01-03 Thread Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: how can i see my process definitions inside jbpm-console???"

To view the discussion, visit: http://community.jboss.org/message/577978#577978

--
The demo is using the jbpm.console.directory parameter to detect the directory 
to load the processes from (and you could change that if you want, or simply 
start the application server by passing in your own parameter value).  Note 
that this is just a temporary solution, as guvnor integration was still being 
worked on.  With the latest snapshot, you can now use guvnor as the process 
repository, so deploying your processes (and task forms, process images, etc.) 
to guvnor will allow the jbpm-console to retrieve them all from there.

Kris
--

Reply to this message by going to Community
[http://community.jboss.org/message/577978#577978]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - Re: jbpm4.4 task attributes

2011-01-03 Thread Michael Wohlfart
Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the 
discussion

"Re: jbpm4.4 task attributes"

To view the discussion, visit: http://community.jboss.org/message/578079#578079

--
Hi Parvathy,
the jpdl task elements are parsed in 
org.jbpm.jpdl.internal.xml.JpdlParser.parseTaskDefinition()
the "completion" and "on-transition" attributes are not used there, so my guess 
is these attributes are deprecated or have been planned and were never 
implemented...
--

Reply to this message by going to Community
[http://community.jboss.org/message/578079#578079]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [IronJacamar] - The replacement of system properties in *-ds.xml is done only for elements of string value type

2011-01-03 Thread Radim Hanus
Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"The replacement of system properties in *-ds.xml is done only for elements of 
string value type"

To view the discussion, visit: http://community.jboss.org/message/578115#578115

--
h3. synopsis
* enterprise application deployed in jboss-5.1
* would like to use ${myapp.db.maxPoolSize} in 
myapp.ear/my-ds.xml
* ends up with maxPoolSize == 0
h3. story behind
I encountered this problem while staging my ear from devel to loadtests and 
then production usage
I had an idea I would use a parameter for max-pool-size attribute and set it in 
accompanying property-service.xml so that I would have one deployment and 
several property-service.xml files based on target environment but it ends up 
with zero value of maxPoolSize

I have searched the forum as well as issue tracker and found this problem as 
unresolved:
*  http://community.jboss.org/message/296436#296436 
http://community.jboss.org/message/296436#296436
*  https://issues.jboss.org/browse/JBPAPP-4539 
https://issues.jboss.org/browse/JBPAPP-4539
*  https://issues.jboss.org/browse/JBAS-8344 
https://issues.jboss.org/browse/JBAS-8344
*  https://issues.jboss.org/browse/JBJCA-263 
https://issues.jboss.org/browse/JBJCA-263
h3. suggested solution
having some spare time during christmas I dived into connector source codes and 
hopefully found a non-invasive way how to solve it

all magic is done in ManagedConnectionFactoryParserDeployer.parse() and it's 
matter of JAXB definitelly
I suggest to define specific @XmlJavaTypeAdapter adapters for non-string 
"primitive" fileds (int, long, boolean, Boolean) of 
ManagedConnectionFactoryDeploymentMetaData
These adapters in their unmarsal methods would call 
StringPropertyReplacer.replaceProperties() in accordance with 
PropertyEditorManager.findEditor()
I tried to implement such a fix and it works for me but didn't run against 
testsuite yet

BTW quick look at source codes for 6.0 final and prety sure there is the same 
problem
--

Reply to this message by going to Community
[http://community.jboss.org/message/578115#578115]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Tools] - how can i create a REGULAR java application launcher for jboss?

2011-01-03 Thread Elhanan Maayan
Elhanan Maayan [http://community.jboss.org/people/Elhanan] created the 
discussion

"how can i create a REGULAR java application launcher for jboss?"

To view the discussion, visit: http://community.jboss.org/message/577997#577997

--
the reason i wanna do this is becuse i wanna reverse engineer our appp with  
http://diver.sourceforge.net/ http://diver.sourceforge.net/ which can do so 
with java applications
--

Reply to this message by going to Community
[http://community.jboss.org/message/577997#577997]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

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


[jboss-user] [IronJacamar] - Jboss 6.0 + PostgreSQL Datasource + security-domain + CallerIdentityLoginModule : Can i set max number of pools?

2011-01-03 Thread achill mantzios
achill mantzios [http://community.jboss.org/people/panixgr] created the 
discussion

"Jboss 6.0 + PostgreSQL Datasource + security-domain + 
CallerIdentityLoginModule : Can i set max number of pools?"

To view the discussion, visit: http://community.jboss.org/message/578289#578289

--
Hello and merry Xmas to all.
Being a jboss user (starting from 3.0.3, still deployed in some remote 
locations) for the the last 10 years,
I have succesfully set up a new test system Jboss 6.0, postgresql 9.0.2, 
openjdk 1.6, in a process to completely
upgrade all of our application engine software.

I had an idea, instead of going the old way of creating the postgresql pool 
with one user (typically : postgres),
to try having personalized connections, which makes debugging, diagnosing a 
very very easy task.
So i set up postgresqluser, then in 
login-config.xml i defined 

    
  
    jboss.jca:service=XATxCM,name=pgsql
  
    
  

I set up both jboss and postgresql authenticate against the same LDAP server, 
and all the magic seemed to work!!

As i understand it, one separate pool will be created for each user.
However this is the only unpleasant thing in the whole story.

I'd like to have a way to restrict the max total pools created, in order to 
pose a limit in the max total connections to the db.
In other words emulate  as if we were talking about the normal 
"OnePool" case.
Is there anything to pose a limit to the number of actual pools created?

This is not for use in high traffic web situation (where usually the apps are 
simple and the number of users large).
This is for a business, with 200 total users, but a big complexity of apps, 
queries, etc...
I am planning to set up min-pool-size=0, max-pool-size=4 and 
idle-timeout-minutes=5 minutes.
(maybe more fine tuning on this last one)

During the last 10 months, we had on average 100 distinct logged in users par 
day, and 130 max.
Haven't done yet any research on the definition/estimation of "concurrent" 
users in the system.
(in order to assess the max number of "simultaneous" connections).

Anyway, I'd like to ask :
a) if you see any potential risks with this
b)  if there is a way to limit the max numbers of pools (as a means to  limit 
the max total potential number of connections to the db)
c) My eye fell on  
http://docs.jboss.org/jbossas/6/JCA_Guide/en-US/html_single/#An_Overview_of_the_JBoss_JCA_Architecture-JBossManagedConnectionPool_MBean
 
http://docs.jboss.org/jbossas/6/JCA_Guide/en-US/html_single/#An_Overview_of_the_JBoss_JCA_Architecture-JBossManagedConnectionPool_MBean
where it suggest that by specifying Criteria=ByNothing means 
"all connections are equivalent, usually if adapter supports reauthentication "

Ideally what would be great is if we could have a total max number of 
connections, across all users, 
and reauthenticating in the already existing connections.
I dont know whether postgresql supports this but it would be cool in general to 
have.

Thank you for any help!
--

Reply to this message by going to Community
[http://community.jboss.org/message/578289#578289]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Microcontainer] - Re: JBoss AS 6 Final scanning does not support parameterized return types?

2011-01-03 Thread Richard Kennard
Richard Kennard [http://community.jboss.org/people/kennardconsulting] created 
the discussion

"Re: JBoss AS 6 Final scanning does not support parameterized return types?"

To view the discussion, visit: http://community.jboss.org/message/578230#578230

--
Created JIRA:  https://issues.jboss.org/browse/JBMDR-74 
https://issues.jboss.org/browse/JBMDR-74
--

Reply to this message by going to Community
[http://community.jboss.org/message/578230#578230]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


[jboss-user] [Beginner's Corner] - Create stateless bean from stateful bean

2011-01-03 Thread Piotr De
piotrekde [http://community.jboss.org/people/piotrekde] created the discussion

"Create stateless bean from stateful bean"

To view the discussion, visit: http://community.jboss.org/message/577951#577951

--
Hi,

It is a simple question (however I'm not sure about the answer). In my 
application there is a stateful bean which works as a "work dispatcher" service 
- it receives events (on some scheduled time) and invokes stateless beans 
method passing appropriate arguments - those stateless beans do the whole job. 
My question is: how to obtain references to stateless beans (workers) in work 
dispatcher (executive) in a way that guarantee that stateless beans will be 
pooled (their state and number are managed by server, it is not just a single 
instance)? 

I know, that if I obtain a reference by JNDI to the bean, then I've got proxy 
object, but behind it, actually might be 10 stateless beans doing its work.
But what if I am on the same virtual machine? Should I use @EJB annotation or 
maybe ordinary constructor?

Thanks in advance,
Piotr
--

Reply to this message by going to Community
[http://community.jboss.org/message/577951#577951]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [jBPM] - Problems running the simple demo process

2011-01-03 Thread Shawn Fitzpatrick
sfitzpat [http://community.jboss.org/people/sfitzpat] created the discussion

"Problems running the simple demo process"

To view the discussion, visit: http://community.jboss.org/message/577935#577935

--
When I try to run the simple demo process in Eclipse, I get the follow message 
in the console:

java.lang.IllegalArgumentException: Could not connect task client
    at 
org.jbpm.process.workitem.wsht.WSHumanTaskHandler.connect(WSHumanTaskHandler.java:64)
    at 
org.jbpm.process.workitem.wsht.WSHumanTaskHandler.executeWorkItem(WSHumanTaskHandler.java:90)
    at 
org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:73)
    at 
org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:101)
    at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
    at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
    at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
    at 
org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
    at 
org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
    at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
    at 
org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
    at 
org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
    at 
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:302)
    at 
org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:124)
    at 
org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1099)
    at 
org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:302)
    at com.sample.ProcessTest.main(ProcessTest.java:43)

I have gone through setup a few times to make sure I did not miss anything.  
Ideas?
--

Reply to this message by going to Community
[http://community.jboss.org/message/577935#577935]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [jBPM] - jBPM 5: task delegation

2011-01-03 Thread vish D
vish D [http://community.jboss.org/people/vndube] created the discussion

"jBPM 5: task delegation"

To view the discussion, visit: http://community.jboss.org/message/578097#578097

--
Hi,

We are in process of evaluating various work flow engines and one of feature we 
are looking for Task delegation when a user goes on holiday?
We are not sure how this can be handled in jBPM 5.

Also if it possible to provide some plus points of jBPM 5 over YAWL, it would 
be great.

Regards,
Vish
--

Reply to this message by going to Community
[http://community.jboss.org/message/578097#578097]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


[jboss-user] [EJB3] - EJB operations on server shutdown by called from MBean

2011-01-03 Thread Murat Yanik
ameo [http://community.jboss.org/people/ameo] created the discussion

"EJB operations on server shutdown by called from MBean"

To view the discussion, visit: http://community.jboss.org/message/577903#577903

--
Hello,

in my application i have to clean some configuration parameters on server 
shutdown.

Therefore I have a MBean that injects a Stateless Session Bean named CleanUp 
that deliveres a method for configure operations.

This CleanUp ejb is called by the stop() - method of the MBean.

If I do it like this, I get an Exception:

 Unable to inject jndi dependency: CleanUpEjb not bound.

Question: How can I force the EJB not to unbound by the application server 
before the stop()-Method of the MBean invoked ?

I know that there is @Depends annotation, but there I have to give the full 
ServiceName/Path. That name is a fixed String
that can change too much. So I don't want to use it.

Greetings,
ameo
--

Reply to this message by going to Community
[http://community.jboss.org/message/577903#577903]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


[jboss-user] [Beginner's Corner] - Re: Automatic re-deployment: stopped but not starting

2011-01-03 Thread Wolf-Dieter Fink
Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the 
discussion

"Re: Automatic re-deployment: stopped but not starting"

To view the discussion, visit: http://community.jboss.org/message/577933#577933

--
Could you attach a server.log with startup and direct redeploy attempt?
--

Reply to this message by going to Community
[http://community.jboss.org/message/577933#577933]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


[jboss-user] [IronJacamar] - Re: using Cloudscape/Derby as Datasource

2011-01-03 Thread Sakari Isoniemi
Sakari Isoniemi [http://community.jboss.org/people/isonisak] created the 
discussion

"Re: using Cloudscape/Derby as Datasource"

To view the discussion, visit: http://community.jboss.org/message/578154#578154

--
Looking for same information.

I have troubles with Derby JDBC Urls.

In some tools the Derby database path in system must be spesified in jdbc url 
for ex.

   jdbc:derby://localhost:1527/C:\Programs\Java\db-derby-10.5.3.0-bin\CustomerDB

Currently I have a problem with JBoss AS 6 Final Derby datasource definitions.

The exception below "java.lang.ClassNotFoundException: 
org.jboss.jdbc.DerbyDatabase"
claims that driver class is not found although I have put the derby jars to 
server lib directory
( derby.jar, derbyclient.jar, derby-plugin.jar )

2010-12-30 23:42:32,419 ERROR 
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) 
Error installing to Instantiated: 
   name=jboss:service=Derby state=Described mode=Manual 
requiredState=Configured: java.lang.ClassNotFoundException: 
org.jboss.jdbc.DerbyDatabase from  
mailto:baseclassloa...@7c3e4b{vfs:///C:/Programs/Java/JBoss/jboss-6.0.0.Final/server/default/deploy/ElectrWireGen2-ds.xml
 
baseclassloa...@7c3e4b{vfs:///C:/Programs/Java/JBoss/jboss-6.0.0.Final/server/default/deploy/ElectrWireGen2-ds.xml}
 at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480)
 [jboss-classloader.jar:2.2.0.GA]
 at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_17]
 at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1216) 
[:6.0.0.GA]
 at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:288) 
[:6.0.0.GA]
 at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:217) 
[:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
 at org.jboss.system.ServiceCreator.install(ServiceCreator.java:133) 
[:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
 at 
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:73)
 [:2.2.0.GA]
 at 
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:46)
 [:2.2.0.GA]
 at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
 [jboss-dependency.jar:2.2.0.GA]
 at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
 [jboss-dependency.jar:2.2.0.GA]
 at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
 [jboss-dependency.jar:2.2.0.GA]


The datasource definition in ../server/default/deploy directory is


http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd 
http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";>

   
   
  ElectrWireGen2Datasource
  false
  
jdbc:derby://localhost:1527/C\:/Programs/Java/db-derby-10.5.3.0-bin/ElectricWiringsDB
  org.apache.derby.jdbc.EmbeddedDriver
  me
  mine
   
   
   
    C\:/Programs/Java/db-derby-10.5.3.0-bin/ElectricWiringsDB
      
    

--

Reply to this message by going to Community
[http://community.jboss.org/message/578154#578154]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

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


[jboss-user] [JBoss Microcontainer] - Re: JBoss AS 6 Final scanning does not support parameterized return types?

2011-01-03 Thread jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: JBoss AS 6 Final scanning does not support parameterized return types?"

To view the discussion, visit: http://community.jboss.org/message/577815#577815

--
> Richard Kennard wrote:
> 
> Or if I move the definition of *Pair* inside my EJB JAR (as opposed to 
> packaged in a JAR in my EAR/lib). I believe this further points to a problem 
> in the JBoss scanning process? 
There were some changes in JBoss Scanning in this area. So that might be 
affecting you. See if the discussion here helps you with a workaround  
http://community.jboss.org/message/553897#553897 
http://community.jboss.org/message/553897#553897
--

Reply to this message by going to Community
[http://community.jboss.org/message/577815#577815]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

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


  1   2   >