[jboss-user] [JBoss AOP] - Mark all Stateless EJBs as part of cluster using ejb3-interceptors-aop.xml

2011-07-06 Thread Nitin Jain
Nitin Jain [http://community.jboss.org/people/nitin_jain] created the discussion

"Mark all Stateless EJBs as part of cluster using ejb3-interceptors-aop.xml"

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

--
Hello Forum,

I am running my application in a clustered environment. I would like to avoid 
annotating every stateless EJB with @Clustered annotation and rather make use 
of "ejb3-interceptors-aop.xml".

When I use @Clustered annotation, the annotated EJB is logged by JBoss in the 
following manner.

2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) 
Added 
bean(jboss.j2ee:ear=myapp.ear,jar=platform-services-ejbs.jar,name=NotificationProcessorBean,service=EJB3)
 to KernelDeployment of: platform-services-ejbs.jar
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) 
installing bean: 
jboss.j2ee:ear=myapp.ear,jar=platform-services-ejbs.jar,name=RequestDispatcherBean,service=EJB3
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   
with dependencies:
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   
and demands:
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  
jboss.ejb:service=EJBTimerService
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  
partition:partitionName=MyCluster
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   
and supplies:
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  
Class:com.myapp.platform.bs.SampleEJB
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  
jndi:myapp/SampleEJBBean/remote-com.myapp.platform.bs.SampleEJB
2011-07-07 10:06:18,251 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  
jndi:myapp/SampleEJBBean/remote
>From the log it can be understood that "SampleEJBBean" is part of "MyCluster".

Is it possible to add annotation element for @Clustered annotation in 
"ejb3-interceptors-aop.xml" and achieve similar functionality?

To give it a try I added the following elements in the 
"ejb3-interceptors-aop.xml" file present at "\server\all\deploy" with no 
success. 

   
  
 
  
  
  
  
  
  
  
  
 
 
 
 
 
 
 
  
  
 @org.jboss.ejb3.annotation.Pool (value=ThreadlocalPool, maxSize=30, 
timeout=1)
  
  
  

 @org.jboss.annotation.ejb.Clustered(partition=MyCluster, 
loadBalancePolicy=org.jboss.ha.framework.interfaces.RandomRobin")

  
   


I have tried other possiblities like 
   
   @org.jboss.annotation.ejb.Clustered(partition=MyCluster, 
loadBalancePolicy=org.jboss.ha.framework.interfaces.RandomRobin)
   


and 
     
@org.jboss.annotation.ejb.Clustered(partition=MyCluster, 
loadBalancePolicy=org.jboss.ha.framework.interfaces.RandomRobin)
   

 but with no success. I do not see any of my other stateless EJB with a similar 
log as depicted for "SampleEJBBean".

Please advise on how to fix this issue.

Regards,
Nitin
--

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

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

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


[jboss-user] [jBPM] - JBPM 5.1 Final Release with jboss-5.1.0.GA - Human Task Service - DB

2011-07-06 Thread priyakpandey
priyakpandey [http://community.jboss.org/people/priyakpandey] created the 
discussion

"JBPM 5.1 Final Release with jboss-5.1.0.GA - Human Task Service - DB"

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

--
Hi,
I followed following steps then my human task could not start. It throws 
following exception
1. ant install.demo installed the jbpm in H2 DB.
 1.1 i started the server and did basic testing through jbpm-console/ I 
created an instance of Evaluation process and task got create correctly
2. I changed the DB to oracle from H2. The option i used is 
hibernate.hbm2ddl.auto as 'create' in hibernate.cfg.xml.
 2.1 did the tsting as in 1.1. Things works
  2.2 stopped the servers using ant stop.demo and started again so that 
test data is erased and i have clean environment/
3. Now since my production environment cannot have this settings, i changed  
hibernate.hbm2ddl.auto as 'none' in hibernate.cfg.xml.
 3.1 my human task does not start. it gives following error.
Can someone suggest why this would happen and how to fix this

tart.human.task:
    [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
    [java] SLF4J: See  http://www.slf4j.org/codes.html#StaticLoggerBinder 
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [java] Exception in thread "main" javax.persistence.RollbackException: 
Error while commiting th
 transaction
    [java] at 
org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
    [java] at 
org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSess
on.java:820)
    [java] at 
org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.
ava:786)
    [java] at 
org.jbpm.task.service.TaskServiceSession.addUser(TaskServiceSession.java:69)
    [java] at org.jbpm.DemoTaskService.main(Unknown Source)
    [java] Caused by: org.hibernate.exception.ConstraintViolationException: 
Could not execute JDBC
atch update
    [java] at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
    [java] at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    [java] at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
    [java] at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
    [java] at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
    [java] at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractF
ushingEventListener.java:321)
    [java] at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListen
r.java:50)
    [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
    [java] at 
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
    [java] at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
    [java] at 
org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
    [java] ... 4 more
    [java] Caused by: java.sql.BatchUpdateException: ORA-1: unique 
constraint (DRMS_PROCESS.SYS
C0037834) violated
    [java]
    [java] at 
oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343


    [java] at 
oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.j
va:10768)
    [java] at 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
    [java] at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
    [java] ... 12 more
    [java] Java Result: 1
--

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

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] - MC Bean deployment without a deployment descriptor?

2011-07-06 Thread Ovidiu Feodorov
Ovidiu Feodorov [http://community.jboss.org/people/ovidiu.feodorov] created the 
discussion

"MC Bean deployment without a deployment descriptor?"

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

--
I am trying to figure out how to deploy a simple annotatated MC bean without 
any *-beans.xml. I am using JBoss 5. Annotating a POJO with 
@org.jboss.beans.metadata.api.annotations.Bean(name="something") should give 
the deployer sufficient information to create and start the service, but in a 
default configuration the deployment does not happen.

Is this even possible? I am reading various discussions on annotation scanners 
and such, but it is not very obvious how to turn this functionality on. 

Thanks,
Ovidiu
--

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

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] - jbpm5 transaction commit

2011-07-06 Thread RuiHua Tang
RuiHua Tang [http://community.jboss.org/people/trh3037] created the discussion

"jbpm5 transaction commit"

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

--
    I start the process ,but it can not start the second 'user Task'.
   So i debug it ,and find the following problem:
 
http://community.jboss.org/servlet/JiveServlet/showImage/2-613812-16680/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
  
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-613812-16680/450-283/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
 
 
http://community.jboss.org/servlet/JiveServlet/showImage/2-613812-16681/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
  
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-613812-16681/450-269/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
 

 
http://community.jboss.org/servlet/JiveServlet/showImage/2-613812-16682/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
  
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-613812-16682/450-105/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg
 

Does anyone can solve the problem?

I would be very grateful if you have any suggestions.

Thanks.
--

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

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.1 Final Release with jboss-5.1.0.GA - jbpm-console - startprocess

2011-07-06 Thread priyakpandey
priyakpandey [http://community.jboss.org/people/priyakpandey] created the 
discussion

"Re: JBPM 5.1 Final Release with jboss-5.1.0.GA - jbpm-console - startprocess"

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

--
Hi,
Does anyone have any information on this?
How can i enable human task serrvice to produce more debug information so that 
thes exceptions can be better understood?
Thank You.
--

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

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] - JBoss Connection Pool

2011-07-06 Thread Felipe Armoni
Felipe Armoni [http://community.jboss.org/people/komyg] created the discussion

"JBoss Connection Pool"

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

--
Hi, I am deveoloping a Web Service solution that is hosted inside a JBoss 4.2.3 
sever and connects to a JMS queue that is hosted on another server.

So far I am creating a new connection to the JMS queue each time the web 
service is called, this means that, whenever a new session is opened on  a new 
connection to the JMS queue is created.

I am aware that this implementation is very inneficient and I am thinking about 
creating a connection pool so that I don't have to create a new connection 
everytime the web service receives a new request.

Does JBoss have any modules that could help me? If not, is there a third party 
API that implements this?

Thanks,
Felipe
--

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

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] [Beginner's Corner] - number of socket connections

2011-07-06 Thread Daniel Silva
Daniel Silva [http://community.jboss.org/people/idnael] created the discussion

"number of socket connections"

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

--
hi

I have a ejb container using RMI and want to know how many socket connections 
it is using. How can I manage this?

I'm trying to follow the JBoss Remoting Guide -  
http://docs.jboss.org/jbossremoting/docs/guide/2.5/html/ 
http://docs.jboss.org/jbossremoting/docs/guide/2.5/html/ -  The entry point for 
all the api looks to be the Connector class. I noticed in the documention  
there are two ways to declare it:

In environment-services.xml, as a mbean... 

     ...

But there is also an ejb3-connectors-jboss-beans.xml  file...
...

What is the correct way, and how can I in runtime get a reference to the 
Connector instance?
And after, can I access the information I need programatically or need to 
implement my own Connector class, or something else?
--

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

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.1.0 Demo can't work fine

2011-07-06 Thread paul twa
paul twa [http://community.jboss.org/people/paultwa] created the discussion

"jbpm-5.1.0 Demo can't work fine"

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

--
  hi,

  I have learned the file[ch03.html] in jbpm-5.1.0.Final-docs,
  On the basis of the file, 
1> I have installed all components successfully by the command [ant 
install.demo].
2> and then ant start demo  successfully.
    3> after starting Eclipse, I have Imported the sample project 'evaluation' 
successfully.
 To show the state of the process instance you just started graphically, 
 click on the Process Instances View and then select the ksession variable in 
the Variables View. 
 the Process Instances View popup the message:

 The selected working memory has no process instances.
    In the end, I have learned the tutorial video several time.
    I found some differences:
   1>  when debug the demo, in my pc, it can't popup a Save and 
   Launch Dialog, but the 0:46 frame in the video, it can popup the 
dialog.

why, Could you share a idea for solving this problem?

Thanks in advance...
--

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

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 and Postgresql

2011-07-06 Thread José Luis Granda
José Luis Granda [http://community.jboss.org/people/jlgranda81] created the 
discussion

"Re: JBPM 5 and Postgresql"

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

--
You can see

 http://community.jboss.org/message/589323#589323#589323 
http://community.jboss.org/message/589323#589323

Best, José
--

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

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


Re: [jboss-user] [JBoss Tools] - Chasing a White Rabbit with JBoss Tools 3.3 M2

2011-07-06 Thread Sanne Grinovero
Sanne Grinovero [http://community.jboss.org/people/sannegrinovero] commented on

"Chasing a White Rabbit with JBoss Tools 3.3 M2"

To view all comments on this blog post, visit: 
http://community.jboss.org/community/tools/blog/2011/06/28/fast-faster-jboss-tools-33-m2#comment-6969

--
Is it not an option to host all plugins in the same update site and still have 
different release cycles for them?
--

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


[jboss-user] [jBPM] - Re: How to reload knowledgeSession from database?

2011-07-06 Thread wei wei
wei wei [http://community.jboss.org/people/wwweeii] created the discussion

"Re: How to reload knowledgeSession from database?"

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

--
Thanks Cristiano 
 I want to know how to use a jms based human task service?
--

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

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: JBoss tools does not take AS 6's jsf.deployer into account

2011-07-06 Thread arjan tijms
arjan tijms [http://community.jboss.org/people/atijms] created the discussion

"Re: JBoss tools does not take AS 6's jsf.deployer into account"

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

--
ok  ;)
--

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

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 Tools] - Re: JBoss tools does not take AS 6's jsf.deployer into account

2011-07-06 Thread Max Rydahl Andersen
Max Rydahl Andersen [http://community.jboss.org/people/maxandersen] created the 
discussion

"Re: JBoss tools does not take AS 6's jsf.deployer into account"

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

--
open jira please!
--

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

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 Tools] - Re: Adding JBoss AS source to a project

2011-07-06 Thread Max Rydahl Andersen
Max Rydahl Andersen [http://community.jboss.org/people/maxandersen] created the 
discussion

"Re: Adding JBoss AS source to a project"

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

--
AS 7 is built with maven thus all jars are ear tagged with info to get sources 
if avaiable in maven repo.

So yes, care to open a jira for this thread ?
--

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

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 Tools] - JBoss tools does not take AS 6's jsf.deployer into account

2011-07-06 Thread arjan tijms
arjan tijms [http://community.jboss.org/people/atijms] created the discussion

"JBoss tools does not take AS 6's jsf.deployer into account"

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

--
In JBoss AS 6, one can change which JSF implementation JBoss AS uses by editing 
/deployers/jsf.deployer/META-INF/jsf-integration-deployer-jboss-beans.xml. 
JBoss bundles Mojarra 1.2, 2.0 and MyFaces 2.0 by default.

However, if one changes this, JBoss tools keeps putting the two hardcoded libs 
in /deployers/jsf.deployer/Mojarra-2.0/jsf-libs on the IDE's lookup path. 
This means that stepping through JSF source code is totally broken then.

A workaround is to copy the libs from the other configuration to 
/deployers/jsf.deployer/Mojarra-2.0/jsf-libs and rename them to 
jsf-api-2.0.3-b05.jar and jsf-impl-2.0.3-b05.jar. This works, but there is 
something unsettling of having e.g. the 2.1.2 libs called 2.0.3 just for the 
sake of the ability to debug.
--

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

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] - Re: H2 database problems, running jBPM 5.1 demo

2011-07-06 Thread Michael Wagner
Michael Wagner [http://community.jboss.org/people/michael.wagner] created the 
discussion

"Re: H2 database problems, running jBPM 5.1 demo"

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

--
The database file can be found here: C:\Documents and 
Settings\\test.db if you are on windows. It is *not* in the 
jbpm-installer directory. You possibly could repair a broken db with the from 
h2 provided tools: 
 http://www.h2database.com/html/download.html 
http://www.h2database.com/html/download.html

I have been able to backup the db and restore it with the tool found under:  
http://localhost:8082 http://localhost:8082 (after installing the above).
--

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

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: Adding JBoss AS source to a project

2011-07-06 Thread arjan tijms
arjan tijms [http://community.jboss.org/people/atijms] created the discussion

"Re: Adding JBoss AS source to a project"

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

--
The single source attachment never worked out for JBoss AS 5, and appearently 
it never happened for JBoss AS 6 either.

But now there's another round starting with Jboss tools 3.3 and JBoss AS 7. 
Perhaps this issue could be taken into consideration again?
--

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

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] [Beginner's Corner] - Re: JBoss 5.1 Question

2011-07-06 Thread developer.gubler
developer.gubler [http://community.jboss.org/people/developer.gubler] created 
the discussion

"Re: JBoss 5.1 Question"

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

--
I think I found the answer.  I had to modify my @Resource annotation to include 
the mappedName.  Thus, it looks like the following:

|  | @Resource( mappedName="java:/WebServiceContext" ) |
|  | WebServiceContext wsc;   |

Now that I have that, I am receiving a different error in the server.log.  This 
time it is making reference to "mapped-name is required for 
org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerTransportFactory/bus". 
 I don't know where to put an annotation for that.  Anyone know what I am 
missing here?

Thanks,
dg
--

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

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: domain specific nodes in web-editor jbpm5.1

2011-07-06 Thread tomathome
tomathome [http://community.jboss.org/people/tomathome] created the discussion

"Re: domain specific nodes in web-editor jbpm5.1"

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

--
Hi Marie,

i have already seen this screencast in the past and already created succesfully 
domain specific nodes. What i'm interesting is how my domain specific nodes can 
be shown in Oryx model editor.
--

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

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: Reporting Tools for jBPM 4.4

2011-07-06 Thread sreeni Karnati
sreeni Karnati [http://community.jboss.org/people/sreeni.karnati] created the 
discussion

"Re: Reporting Tools for jBPM 4.4"

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

--
Thanks for the reply...I am getting some issues with the BIRTH .do u know how 
to develop report for web application using the birth
--

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

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: JBoss 6.0: ignore persistence.xml in jar file

2011-07-06 Thread Gonne Martens
Gonne Martens [http://community.jboss.org/people/gonne] created the discussion

"Re: JBoss 6.0: ignore persistence.xml in jar file"

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

--
Hi Ales,

thank you for your response.
According to your advice I tried to add the META-INF/jboss-ignore.txt to the 
actual lib. It was properly parsed by the AbstractIgnoreFilesDeployer and the 
NameIgnoreMechanism was registered in the DeploymentUnit.

> AbstractParsingDeployerWithOutput: createMetaData()
> ...
> unit.getTransientManagedObjects().addAttachment(key, result, getOutput());
> ...
But in the ignoreFile() method of AbstractVFSParsingDeployer the 
DummyNameIgnoreMechanism is always used.
It seems that the nameIgnoreMechanism attribute is not set properly even though 
the correct one is registered in the DeploymentUnit as transientManagedObject 
"org.jboss.deployers.spi.deployer.matchers.NameIgnoreMechanism".

I overrided the nameIgnoreMechanism attribute in the debugger with the correct 
value and it worked as exprected.

> setNameIgnoreMechanism((org.jboss.deployers.spi.deployer.matchers.NameIgnoreMechanism)unit.getTransientManagedObjects().getAttachment("org.jboss.deployers.spi.deployer.matchers.NameIgnoreMechanism"))
But I do not know where it should be fixed.

Kind regards,
Gonne
--

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

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: Persistence and Transaction Management

2011-07-06 Thread Marco Piraccini
Marco Piraccini [http://community.jboss.org/people/mpiraccini] created the 
discussion

"Re: Persistence and Transaction Management"

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

--
Ok, I solved by myself  :) 
Simply, the RESOURCE_LOCAL as transaction-type seems not to be supported 
(indeed, the Documentation talks about JTA). I changed 
transaction-type="RESOURCE_LOCAL" to transaction-type="JTA" and now it works.
--

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

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 and Postgresql

2011-07-06 Thread soewandi w
soewandi w [http://community.jboss.org/people/swn] created the discussion

"JBPM 5 and Postgresql"

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

--
Hi,

Would some help me with the installation of JBPM 5 with postgresql 8.4 or later?

I already read the user guide, it said that I need to download JBPM starter kit 
to get the db schema but I could't find the starter kit ...

Any help would be appreciated ...

Thanks
--

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

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.1 in a real world web application

2011-07-06 Thread Marie MM
Marie MM [http://community.jboss.org/people/mariemm] created the discussion

"Re: jBPM 5.1 in a real world web application"

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

--
See:  http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2745 
http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2745
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, 
null, env );
To recreate session, you need to know sessionId. But what I don't know how to 
get it in a smart way. 
Is there an good practice how to get sessionId?
--

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

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: Failed to replay transaction

2011-07-06 Thread Armin Haaf
Armin Haaf [http://community.jboss.org/people/arminhaaf] created the discussion

"Re: Failed to replay transaction"

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

--
Have you found an answer to your question? We have the same problem here after 
a crash.
--

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

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