[jboss-user] [JBossWS] - Re: jbossws-cxf on jboss 4.2.0

2009-07-27 Thread richard.opa...@jboss.com
DGuralnik wrote : Is it possible to make jbossws-cxf work on jboss 4.2.0?
No, JBossWS-CXF can run on JBossAS 4.2.2 and above, see our matrix.

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

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


[jboss-user] [JBoss jBPM] - JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
portal 2.7.2
jbpm 3.2.2


hi all

when accessing the JBPM context inside a portlet of jboss portal the following 
JTA error occurs depending whether the the context is created or get Current is 
called. 

i read the details of jbpm transation here
http://docs.jboss.org/jbpm/v3/userguide/deployment.html

I thought i understood the JBPM JTA settings but i have totally lost now.


my JTA settings are below.

  | jbpm-context
  |service name=persistence 
factory=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory /
  |service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  |service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory /
  |service name=tx factory=org.jbpm.tx.TxServiceFactory/
  | /jbpm-context
  | 

When calling getCurrentJbpmContext() as in below, a 'Session closed' error 
occurs.


  | WorkflowService  workflowService = (WorkflowService) 
ctx.lookup(java:/portal/WorkflowService)
  | writer.println( workflowService: + workflowService );
  |   
  | JbpmContext context = 
workflowService.getJbpmConfiguration().getCurrentJbpmContext();
  | 
  | ListProcessDefinition taskList = 
context.getGraphSession().findAllProcessDefinitions();
  | 

So an existing context is found but the hibernate session is closed.


  | 2009-07-27 16:21:52,222 ERROR [STDERR] org.hibernate.SessionException: 
Session is closed!
  | at 
org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
  | at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1258)
  | at 
org.jbpm.db.GraphSession.findAllProcessDefinitions(GraphSession.java:209)
  | at 
org.jboss.portal.portlet.samples.SimplestHelloWorldPortlet.doView(SimplestHelloWorldPortlet.java:76)
  | 

So when i call createJbpmContext(), the JTA complains that an existing 
transaction is already on the current thread.


  | WorkflowService  workflowService = (WorkflowService) 
ctx.lookup(java:/portal/WorkflowService)
  | writer.println( workflowService: + workflowService );
  |   
  | JbpmContext context =  
workflowService.getJbpmConfiguration().createJbpmContext();
  |   
  | ListProcessDefinition taskList = 
context.getGraphSession().findAllProcessDefinitions();
  | 




  | Cause: org.jboss.portal.portlet.PortletInvokerException: 
java.lang.IllegalStateException: BaseTransaction.checkTransactionState - 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread 
is already associated with a transaction!
  | Message: java.lang.IllegalStateException: 
BaseTransaction.checkTransactionState - 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread 
is already associated with a transaction!
  | StackTrace:
  | 
  | org.jboss.portal.portlet.PortletInvokerException: 
java.lang.IllegalStateException: BaseTransaction.checkTransactionState - 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread 
is already associated with a transaction!
  | at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:101)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
  | 
  | 


how is jbpm configured to use the existing JTA inside portal?

any help is most appreciated.

-lp

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

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


[jboss-user] [JBoss Portal] - Re: How to share session data between portlets

2009-07-27 Thread Vineet_Tripathi
Insted of using portletSession, you can use HttpSession object to store such 
information, try this code snippet:


  | 
  | import javax.security.jacc.PolicyContext;
  | import javax.security.jacc.PolicyContextException;
  | import javax.servlet.http.HttpServletRequest;
  | import javax.servlet.http.HttpSession;
  | 
  | request = (HttpServletRequest) 
PolicyContext.getContext(javax.servlet.http.HttpServletRequest);
  | request = (HttpServletRequest) 
PolicyContext.getContext(javax.servlet.http.HttpServletRequest);
  | 
  | HttpSession httpSession = request.getSession();

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

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


[jboss-user] [EJB 3.0] - Re: @EJB injection in JSP and JSP change

2009-07-27 Thread xmedeko
To get an error, I just change JSP. When I redeploy the WAR, then it works fine.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migration application from jboss 4.0.4 to jboss 5.1 does

2009-07-27 Thread sunnykid
thank you jaikiran, the application runs now in Jboss 5.1 :)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

2009-07-27 Thread max.ander...@jboss.com
You are reporting alot of different issues in this thread - any chance you 
could seperate them out in different threads/jira's instead ?

Makes it much easier to help.

sorry for late reply, but that is what 2 weeks of vacation does ;)

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

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


[jboss-user] [JBoss Tools (users)] - Re: jboss seam 2.2 runtime support in jboss tools

2009-07-27 Thread max.ander...@jboss.com
kretes - and please note, you can always just choose the closest version number 
match - it will just warn you it it is not a perfect match, but still allow you 
to use newer versions.



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

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


[jboss-user] [JBoss Tools (users)] - Re: Clarifying Maven plus Jtools

2009-07-27 Thread max.ander...@jboss.com
Hi asaf,

1) I'll let snjezana answer that when she returns from holiday.

But in my opinion I prefer having a true parent instead of having the EAR being 
the parent with a tons of excludes inside eclipse which imo is just a big hack. 
Better to leave that in a separate parent project - but lets wait to hear if 
there are any reasons beyond that.

2) What kind of bugs ? If related to seam then you should raise this on the 
seam forums.

3) report in jira ?

4) report in jira ?



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

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


[jboss-user] [JBoss Tools (users)] - Re: Hot deployment woks incorrectly with JBossAS Tools / JBI

2009-07-27 Thread max.ander...@jboss.com
sanches, 

reported this bug in AS 5 anywhere ? You should be able to trigger redeploy 
without having deployment descriptors... 

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

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


[jboss-user] [JBoss Tools (users)] - Re: SEAM 2.1.2 on JBOSS5.1 nullpointer exception all th

2009-07-27 Thread max.ander...@jboss.com
Yes, and that Seam doesn't truly support AS 5 before Seam 2.2/2.3 - so keep 
that in mind too.

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

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


[jboss-user] [JBoss Tools (users)] - Re: ear project is invisible for JBoss 5.1. Runtime Server

2009-07-27 Thread max.ander...@jboss.com
Nothing of this seem related to JBT.

Projects available for deployment is simply listing WTP compatible projects and 
if mvn eclipse:eclipse is not doing it correctly then that explains it.

The maven guys have many time said that mvn eclipse:eclipse is broken and 
should not be used - use m2eclipse instead.

In any case, without having an example of projects that you say worked before 
but stopped working now I'm not sure what you want us to look at ?



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

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


[jboss-user] [JBoss Tools (users)] - Re: EAR file with Utility Module

2009-07-27 Thread max.ander...@jboss.com
Please report in jira with steps to how to reproduce (i.e. the above 
description is not enough since you don't say what kind of project it is, how 
you created it and how you are deploying it...)

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

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


[jboss-user] [JBoss Tools (users)] - Re: JPA validation failures with custom Hibernate NamingStra

2009-07-27 Thread max.ander...@jboss.com
Axel, Dali don't provide out-of-the-box support for changing the naming 
strategy - they simply just use the per-spec validation.

Please report in jira with example of what fails/works and we can see if we can 
add support for custom validaiton.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Examples not working

2009-07-27 Thread max.ander...@jboss.com
We got it on our todo list

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

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


[jboss-user] [JBoss jBPM] - Re: Generating JPDL Programmatically

2009-07-27 Thread madihaanees
What I found from your post that you are looking for creating workflow by using 
API rather than eclipse designer.

I had done this before creating workflow by using jboss jBPM API. But be 
reminded that the code I am posting is based on jBPM 3.x.

please follow my blog. I am posting the link for your continence

http://aneesjavaee-osgi.blogspot.com/2008/08/creating-jbpm-workflow-programmatically.html

Regards 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Hot deployment woks incorrectly with JBossAS Tools / JBI

2009-07-27 Thread sanches
Hello Max,

Yep, there is JIRA request: https://jira.jboss.org/jira/browse/JBAS-7103
Hot deployment woks incorrectly on the EE project without deployment 
descriptors

Alex.

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

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


[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml

2009-07-27 Thread max.ander...@jboss.com
kretes/maxim, it could also be as simple as the jsf nature not being enabled ?



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

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


[jboss-user] [Microcontainer] - Re: MC, JSR-299 and notion of

2009-07-27 Thread alesj
ben.cot...@rutgers.edu wrote : 
  | Regarding MC's enthusiasm for implementing JSR-330 ... have the strong 
concerns expressed by significant JCP executive members  
(http://jcp.org/en/jsr/results?id=4944)  been addressed satisfactorily?  
Especially re: RedHat's explicit abstain vote on JSR-330's formation?
This is politics, something I don't care and do in MC. ;-)

I do understand our stand, but otoh if 330 goes through,
I think there should be no doubt that we/MC should support it, same goes for 
WebBeans.


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

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


[jboss-user] [JBoss jBPM] - Re: jbpm config under jta?

2009-07-27 Thread madihaanees
You can pass the Session of Spring to the Session of jBPM which will replace 
the session of hibernate associated with jBPM.

In this way you can use the manage the transaction from your Spring session 
rather than jBPM Transaction.

Regards

Anees-ur-Rehman



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

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


[jboss-user] [Clustering/JBoss] - Re: jBoss Cluster jvmRoute Value and HTTP Server Request Pro

2009-07-27 Thread sjunejo

I found my above huge descriptive problem working now. 

1) First of all I changed the entire machine because there are some netwroking 
issues with that as I can not access my jboss using IP and Tomcat status on web 
console was showing that jBoss is only bind with 127.0.0.1.

2) Secondly when I copied over the same setup to other machine with no network 
issues i had same issue. I just copied over my working server directory to 
other server and changed the name to Server2 with unique ServerPeerID and its 
start working. 

3) One more thing which is worth mentioning here is that I was using Service 
Binding Manager with port-01 settings which I just changed back to default.

saisurya_bhasker

I think you miss posted your above POST...anyway I am not a huge jboss geek 
like other people here but just copy your(part of) 'web.xml' where you have 
defined the distributable tag. It should be;



That's it.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB3 and Hibernate second level cache with manytomany relati

2009-07-27 Thread angusm
I want to use the Hibernate Second level cache for EJB3 Entity beans. It works 
fine with simple Entitys, but in the case of many to many relations (for 
example the 'Relationships' tutorial) it does not work. I think that, at a 
Hibernate level, there is an explanation here: 
http://www.javalobby.org/java/forums/t48846.html
But I can not see how to implement his suggestion at EJB3 level.
I suppose that what I am looking for is an annotation equivalent of 
  many-to-one name=parent column=parent_id class=Person/
  |   set name=children
  |key column=parent_id/
  |cache usage=read-write/
  |one-to-many class=Person/
  |   /set
  | 
Specifically the cache usage=read-write/ bit.

Can anyone help? Thanks?

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

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


[jboss-user] [EJB 3.0] - Re: Hibernate second level cache with manytomany relationshi

2009-07-27 Thread angusm
I guess maybe I put this in the wrong forum. I have moved it to 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246124#4246124.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm config under jta?

2009-07-27 Thread Elhanan
how can i do that? both sessions have different hbm files? 

also the same session, assume the same connection, with if the workflow schema 
will be in another schema, and many applications willl access it.

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

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


[jboss-user] [JBoss jBPM] - JBPM and Lotus WorkFlow?

2009-07-27 Thread juanjo_1981
Hello. my name is Juanjo.

I am trying to find the better way to extract data from Lotus WorkFlow system 
and use it wtih JBPM an Jboss.

I have foud that there is a Lotus Workflow Java API that have a EJB 
interface, but I dont know if this is the better way to do this. All the 
examples I have found are implemented for WebSphere.

Has somebody done something like that?
Any Ideas?

Thank you.

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

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


[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml

2009-07-27 Thread kretes
Richt now I have the Dynamic Web module 2.5, java 1.5 and JSF 1.2 facet, and 
nothing changed in that matter.

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

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


[jboss-user] [Security JAAS/JBoss] - Architecture best practices for authentication server

2009-07-27 Thread LauMarot
Hello,

I'm managing web applications running on 2 different Jboss AS.

I'd like to put in front of them one portal with authentication facilities that 
would allow any portal user to authenticate and then access application without 
performing a new authentication in an sso way.

What kind of architectures should I deploy ?

Do I actually need an SSO feature or is there any built-in tools in Jboss ?

Thanks


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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread ataylor
anonymous wrote : I have just implemented jBoss messaging in a cluster bearing 
High availability in mind and its working. I am using MySQL as my shared 
database. Now I want to scale my setup say If my browser put any message to my 
Queue (Clustered Queue) it should be get processed by both of my app servers 
running on different machines and when they get response back they put message 
back to response queue and my browser knows where to look for response 
message I have an idea about HAJNDI but i am not if this is the correct 
approach. 

I'm not 100% sure I understand what you are trying to do here. It sounds like 
you are saying that you want a single message to be delivered to both servers? 
Could you describe in more detail what you are trying to achieve?

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

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


[jboss-user] [JBoss jBPM] - Re: JTA transaction error inside jboss portal

2009-07-27 Thread kukeltje
first please try 3.2.6SP1. API wise nothing changed but may issues fixed. It 
should be a  drop-in replacement.

In addition, check the 

  field name=isTransactionEnabledfalse //field
  |  parameter in the jBPM config.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM and Lotus WorkFlow?

2009-07-27 Thread kukeltje
How to extract data from Lotus Workflow is better asked in their forum ;-)

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

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


[jboss-user] [JBoss jBPM] - Re: notification to the user of specific role.

2009-07-27 Thread TejJBPM
Set the notify to yes in your task node and whoever you set on the 
Assignment tab will be notified. You can use a actor,pool of actors or 
swimlane based on what you want to achieve.

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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread sjunejo
I am sorry I made a mistake in writting. I mean messages should get processed 
by both app server.

When my browser put message onto queue jBoss should distribute that message 
according to load on each server or even round robin fashion or any recomneded 
policy. In short load balanacing on messaging level (JMS level).

Is it possible

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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread ataylor
JBM 1.4 will only distribute a message to another node in the cluster if it has 
no consumers. Messages will always be consumed locally if a consumer exists as 
this is quicker and makes sense. 

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

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


[jboss-user] [JBoss jBPM] - Re: JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
thanks for the rapid response.

i have tried replacing the 3.2.2 jpbm jar with 3.2.6 but i cant get portal to 
work. i have posted the issue on the portal forum but no response yet.

see http://www.jboss.org/index.html?module=bbop=viewtopict=158977

have u upgraded the portal jbpm installation?


-lp

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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread sjunejo
Thanks very much.

So it means the jBoss messaging is by-default scalable??? 

We don't need to apply different settings to reroute messages to other nodes if 
local queue is not present and jboss messaging will do it auto matically for us.

I have two servers in a cluster both have their own distributed queues. Let say 
If I delete my request and response queue  from one of the node message will be 
redirected automatically to other node?... I dont have to set any clustered 
PostOffice or anything???

By the way how to delete a queue once deployed??Lately I was jut playing 
around and try to change the 'Clustered' attribute of a deployed and started 
queue to true and it gives me exception that (something like that)

 'Queue property Cluster = true can not be applied as the same queue has 
already been deployed as Cluster = false. Delete the queue first and then 
create again.'

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

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


[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml

2009-07-27 Thread mareshkau
I have verified it's one more time on project with jsf capabilities enabled and 
it's not working.
Also I think it's usability issue that after import project user should call 
context menu and enable jsf nature manually, this should be automatic process. 
We should to do smth with it. 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-27 Thread sanches
Snjezana,

I've tested latest version on the sample project which contains EJB, JAR, EAR 
and container.
There are some issues discovered.
I've created JIRA 
https://jira.jboss.org/jira/secure/ManageAttachments.jspa?id=12390566 where all 
steps are described and zip with maven projects is attached.
Could you take a look please?

Alex.

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

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


[jboss-user] [JBoss jBPM] - Re: JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
i have tried he following with true then false and there is no difference. 


  | 
  |  service name=persistence
  |  factory
  | bean 
class=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory
  |   field name=isTransactionEnabledfalse //field
  | /bean
  |   /factory
  |  /service
  | 
  | 

Both are producing the same transaction error.


  | Cause: org.jboss.portal.portlet.PortletInvokerException: 
java.lang.IllegalStateException: BaseTransaction.checkTransactionState - 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread 
is already associated with a transaction!
  | Message: java.lang.IllegalStateException: 
BaseTransaction.checkTransactionState - 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread 
is already associated with a transaction!
  | StackTrace: 
  | 

any ideas with what i have stuffed up would be most appreciated.

-lp

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

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


[jboss-user] [Beginners Corner] - JBoss 5.1 j2ee client jars and classloader

2009-07-27 Thread ms-suxx
Hi, guys!

The thing is that with my app i cannot rely on EJB3 client container because of 
two issues:

1. AFAIK, the @EJB annotation fails to inject EJB proxies into dynamic context. 
It works only with static one(@EJB private static MyServiceBean ...).
2. The container is too-much-clever for my app, since the app should connect to 
server not before but after it is started, UI is shown and user made choice 
which server to connect to.

I have a j2ee standalone client, developed under JBoss 5.0.1. It was 
successfully used without any client containers (through 
SecurityClientFactory.getSecurityClient().login(), 
InitialContext().lookup(...), etc).

When migrated from Jboss 5.0.1 to 5.1.0 i've discovered, that now the client, 
even re-compiled against v5.1.0, fails to start with the same set of jars(taken 
from 5.1.0, of course) with meaningless error ClassCastException: 
javax.naming.Reference cannot be cast to cool.ib.service.UserService.
But the client starts successfully when i include the whole set of server jars 
into it's classpath. It seems, some more jars need to be added into classpath.

So, the question is: what are the jars i need to include into the JBoss 5.1 
j2ee client classpath to start it without using the EJB3 client container?

Or even better... as i understand, EJB3 client container loads client app and 
all the required classes directly from server. So, how to utilize the JBoss 
client classloader(which provides server classes to the client container) in my 
app?

Thanks!

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

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


[jboss-user] [JBoss Messaging] - MaxDeliveryAttempts not working

2009-07-27 Thread mariuszs
MaxDeliveryAttempts value defined is destinations-services for my Queue is not 
working. I have MaxDeliveryAttempts=100 but there is in logs

2009-07-27 11:46:52,735 252490342 WARN 
[org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler]
(WorkManager(2)-60:) Message redelivered=11 max=10 sending it to the dlq 
delegator-JBossMessage[20458449768469361]:PERSISTENT,  deliveryId=11

Im using JBM 1.4.1.GA (JBoss 5.0.1)

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.1 j2ee client jars and classloader

2009-07-27 Thread ms-suxx
Oh, the main thing. Search says:

Cannot invoke the operation : the module threw an exception

:D

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

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


[jboss-user] [JBoss jBPM] - Custom Task information

2009-07-27 Thread AshishjBPM
Hi, 

I have following customization to be done for tasks 
1) once the task is assigned, reassigned, completed, a message should be 
published. I was thinking of implementing MailSession and use notification. 
2) How can we add custom metadata to task such as custom id, system name etc 

Could you please let me know how this can be done

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unauthenticated caller null N sqlException

2009-07-27 Thread ravirachannavar
HI Peter

Thanks for all the suggestions you are providing...

I have 3 questions..! 
(I need your email ID pls..mine is ravi.rachanna...@tcs.com because some time 
jboss forum is not opening for me. Pls)
  
1.I deleted data,temp and work folder from the server/default and it  
successfully started...but next time those folders were recreated..and it is 
again hanging. is there any permanent solution for this.

2. Even after starting I gave the url you suggested.it displayed 404 error file 
not found. how can I do the successfull deployment..? 

3. how to do the clustering in JBoss 5.1.0 GA ? 
  

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

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


[jboss-user] [JBoss jBPM] - Metadata to workflow deployment

2009-07-27 Thread AshishjBPM


 
Hi, 

I currently want to add some meta data to the process which is deployed. For 
example, UUID of the process definition, user deploying the process, system 
name etc. How is it possible to do so ? 
I was thinking to add an extra table for this and once the process is deployed 
add all the information to table. 

thanks, 


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

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


[jboss-user] [JBoss jBPM] - Re: notification to the user of specific role.

2009-07-27 Thread kukeltje
From what I've seen in the code, only individual assignees receive a message. 
What he wants is to notify (candidate) groups. I think that requires a 
different template where to/cc is filled with something like 
${task.candidateGroups} (this is not the correct syntax, but just to give you 
an idea)






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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread kukeltje
If you only need it occasionally, you can always just add it to the xml of the 
definition and read that xml file when needed and get the specific 
attribute/element. No need to adapt the database for this.

http://planetjbpm.wordpress.com/2009/07/05/73/

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

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


[jboss-user] [JBoss jBPM] - Re: Custom Task information

2009-07-27 Thread kukeltje
1) Yes, you could do it that way
2) http://planetjbpm.wordpress.com/2009/07/05/73/

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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread ataylor
anonymous wrote : So it means the jBoss messaging is by-default scalable??? 

yes

anonymous wrote : We don't need to apply different settings to reroute messages 
to other nodes if local queue is not present and jboss messaging will do it 
auto matically for us. 

messages will be re routed if no local *consumers* not queues. a clustered 
queue should exist on each node.

anonymous wrote : I have two servers in a cluster both have their own 
distributed queues. Let say If I delete my request and response queue from one 
of the node message will be redirected automatically to other node?

Like i said before, a clustered queue should exist on each node, I'm not sure 
why you would want to delete them.

anonymous wrote :  I dont have to set any clustered PostOffice or anything???

Yes the post office needs to be cluetered as do the queues.



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

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


[jboss-user] [JBoss Messaging] - Re: MaxDeliveryAttempts not working

2009-07-27 Thread ataylor
From the log message it looks like its the JCA layer thats sending to the DLQ 
not JBM. You're MDB config is probably incorrect.

The JCA or App server forums should be able to help you or take a look at the 
MDB docs.

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

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


[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable

2009-07-27 Thread sjunejo
hmmmthats make some sense..could you plz refer some good example for 
'Clustered POST Office' implementation as I have already tried one but :-(

Anyway...Thanks again for the clarificationcheers :-)

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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread AshishjBPM
Thanks for the information. so putting in the xml file wont be helpful.
Is there any other way ?

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

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


[jboss-user] [JBoss jBPM] - Form template used in jBPM for Swing application

2009-07-27 Thread AshishjBPM
Hi,

I am using jBPM in java thick application environment. Its a java swing 
application. can we make use of the form template framework provided in jBPM 
4.0 in Swing ?

Thanks,

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.1 j2ee client jars and classloader

2009-07-27 Thread jaikiran
ms-suxx wrote : Oh, the main thing. Search says:
  | 
  | Cannot invoke the operation : the module threw an exception
  | 
  | :D

Yeah, that's annoying. From what i know, someone is trying to fix it.

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

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


[jboss-user] [Beginners Corner] - Re: Unresolved references exist in JBossWebMetaData

2009-07-27 Thread jaikiran
anonymous wrote :  I'm deploying the ejb separate from the war, and it deploys 
without error
  | ...
  | 
  | Then when I try to deploy my web app I get the following message: 

I should have read this earlier. If the EJB jar and the WAR are not part of the 
same application then the injection is not supported 
https://jira.jboss.org/jira/browse/JBAS-6332

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

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


[jboss-user] [JBoss jBPM] - Re: Form template used in jBPM for Swing application

2009-07-27 Thread kukeltje
Sorry, no. 

Alternative? http://www.camunda.com/toolkit_for_jbpm/tk4jbpm_gui_tutorial.html

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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread kukeltje
Why wont that be helpful? Maybe the usage of 'occasionally' confused you. It 
did me when I re-read it. I meant to say that if you don't need to query based 
on these attributes you can just put it in the xml. If you do need to query on 
them, you can always when starting a task or process, read it from the xml and 
store it in a process/task variable. 

Works perfectly for me

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm 4.0 creating and running processes without persiste

2009-07-27 Thread thirumalvishnu
Hi,
 Thanks mihailrc and kukeltje for the solutions. They almost solved my problem 
except following one issue .
 
  In the JBPM sample project  we pass the variable to the execution time like .
 

  | MapString, Object variables = new HashMapString, Object();
  | .
  | 
  | ProcessInstance processInstance = process.executionService
  | 
.startProcessInstanceByKey(flow_name, variables);


Similarly I have to pass variable while creating the process. 

 Any idea how to achieve this with the given code by mihailrc ?

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

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


[jboss-user] [JBoss/Spring Integration] - Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread mlynch147
Hi

Just got my first bean deployed in JBoss but Im having difficulty trying to 
talk to it from one of my java test classes  Here's what Im trying to do

Oh I should point out im new to all this stuff so apologies if its really 
simple...

try {
  | ctx = new 
ClassPathXmlApplicationContext(/applicationContext.xml);
  | 
  | service = (TokenManagementService) ctx
  | .getBean(tokenManagementService);
  | 
  | } catch (BeansException e) {
  | e.printStackTrace();
  | throw new BusinessLogicException(e.getMessage());
  | }


My applicationContext.xml looks like this
bean id=token 
class=org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean
  | 
  | property name=jndiName
  | valueejb/tokenManagementService/value
  | /property
  | 
  | property name=resourceRef
  | valuetrue/value
  | /property
  | 
  | property name=businessInterface
  | value
  | 
aero.sita.gsl.bio.services.backEnd.tokenManagement.ITokenManagement
  | /value
  | /property
  | 
  | /bean



And this is the error that's spewing out
27-Jul-2009 14:35:52 
org.springframework.context.support.AbstractApplicationContext prepareRefresh
  | INFO: Refreshing 
org.springframework.context.support.classpathxmlapplicationcont...@16f8cd0: 
display name 
[org.springframework.context.support.classpathxmlapplicationcont...@16f8cd0]; 
startup date [Mon Jul 27 14:35:52 BST 2009]; root of context hierarchy
  | 27-Jul-2009 14:35:52 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader 
loadBeanDefinitions
  | INFO: Loading XML bean definitions from class path resource 
[applicationContext.xml]
  | 27-Jul-2009 14:35:53 
org.springframework.context.support.AbstractApplicationContext 
obtainFreshBeanFactory
  | INFO: Bean factory for application context 
[org.springframework.context.support.classpathxmlapplicationcont...@16f8cd0]: 
org.springframework.beans.factory.support.defaultlistablebeanfact...@1125127
  | 27-Jul-2009 14:35:53 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
preInstantiateSingletons
  | INFO: Pre-instantiating singletons in 
org.springframework.beans.factory.support.defaultlistablebeanfact...@1125127: 
defining beans [token]; root of factory hierarchy
  | 27-Jul-2009 14:35:53 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry 
destroySingletons
  | INFO: Destroying singletons in 
org.springframework.beans.factory.support.defaultlistablebeanfact...@1125127: 
defining beans [token]; root of factory hierarchy
  | org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'token' defined in class path resource [applicationContext.xml]: 
Invocation of init method failed; nested exception is 
javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
  | at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
  | at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
  | at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
  | at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
  | at 
org.springframework.context.support.ClassPathXmlApplicationContext.init(ClassPathXmlApplicationContext.java:139)
  | at 

[jboss-user] [JBoss jBPM] - Re: Form template used in jBPM for Swing application

2009-07-27 Thread camunda
We will restructure out homepage in a month, this will be the new URL's:
http://www.bpm-guide.de/open-source-bpm/swing-gui-for-jbpm/

http://www.bpm-guide.de/open-source-bpm/jbpm-gui-tutorial/

But this was just done for jbpm 3, must be rewritten for jbpm 4...

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

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


[jboss-user] [JBoss Tools (users)] - Re: bean autocompletion not working on xhtml

2009-07-27 Thread max.ander...@jboss.com
that enablement should only be there if the project weren't created with jboss 
tools jsf plugins installed.

note: im not talking about exadel jsf capabilities, but just the nature/facet 
being enabled.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread moejoe
Hey marty,

I am as new to ejbs as you are but i do know spring a little. 
Just had a look at your code an noticed that you are calling a bean that does 
not exist. 

so 
 service = (TokenManagementService) ctx
  | .getBean(tokenManagementService);
  | 
should probably be 
 service = (TokenManagementService) ctx
  | .getBean(token);
  | 

Don't know if i am right. but i hope that helps :D if anything.


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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread AshishjBPM
Thanks again. I feel this wont be performant.
take for example if i wanted to know how many processes are delpoyed by a user 
 on system . here i need to reload all the xml defintions :-(

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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread kukeltje
'all' ? 40? 6000? to query it every now  and then... Still way easier than 
adding a table to jBPM, changing the deployer etc... or was that not what you 
meant?

If you meant creating your own table fully outside jBPM and when the deployer 
returns without an error you update your table, then I agree. One way or 
another I did not think you meant this. 

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread mlynch147
Hi  

Thanks for the suggestion... tried it but no luck 

here are my ejb-jar and jboss XML files in case they might help show 
something


  | ?xml version = '1.0' encoding = 'UTF-8'?
  | ejb-jar version=3.0 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_3_0.xsd;  
  |enterprise-beans
  |  session
  |descriptionTokenManagementService Bean/description
  |ejb-nameTokenManagementServiceEJB/ejb-name
  |mapped-nameejb/tokenManagementService/mapped-name
  |
local-homeaero.sita.gsl.bio.services.backEnd.tokenManagement.TokenManagementServiceHome/local-home
  |
localaero.sita.gsl.bio.services.backEnd.tokenManagement.TokenManagementServiceLocal/local
  |
ejb-classaero.sita.gsl.bio.services.backEnd.tokenManagement.TokenManagementServiceEJB/ejb-class
  |session-typeStateless/session-type
  |transaction-typeContainer/transaction-type
  |env-entry
  |   env-entry-nameejb/BeanFactoryPath/env-entry-name
  |   env-entry-typejava.lang.String/env-entry-type
  |   env-entry-valueapplicationContext.xml/env-entry-value
  |/env-entry
  | /session
  |/enterprise-beans
  | /ejb-jar
  | 


  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN 
http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd;
  | 
  | jboss
  | enterprise-beans
  | session
  | ejb-nameTokenManagementServiceEJB/ejb-name
  | jndi-nameejb/tokenManagementService/jndi-name
  | /session
  | /enterprise-beans
  | /jboss
  | 

marty

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

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


[jboss-user] [JBoss jBPM] - Problem with JobExecutor - hibernate.cfg.xml not found

2009-07-27 Thread saprasad
I have configured Jbpm 3.3.0.GA with Spring webflow.  It was working fine.  But 
when I used JobExecutor, it shows the following error:


org.hibernate.HibernateException: hibernate.cfg.xml not found
  | at org.hibernate.util.ConfigHelper.getResourceAsStrea 
m(ConfigHelper.java:147)
  | at org.hibernate.cfg.Configuration.getConfigurationIn 
putStream(Configuration.java:1329)
  | at org.hibernate.cfg.Configuration.configure(Configur ation.java:1351)
  | at org.jbpm.db.hibernate.HibernateHelper.createConfig 
uration(HibernateHelper.java:91)
  | at org.jbpm.persistence.db.DbPersistenceServiceFactor 
y.getConfiguration(DbPersistenceServiceFactory.jav a:69)
  | at org.jbpm.persistence.db.DbPersistenceServiceFactor 
y.getSessionFactory(DbPersistenceServiceFactory.ja va:91)
  | at org.jbpm.persistence.db.DbPersistenceService.getSe 
ssionFactory(DbPersistenceService.java:94)
  | at org.jbpm.persistence.db.DbPersistenceService.getSe 
ssion(DbPersistenceService.java:98)
  | at org.jbpm.persistence.db.DbPersistenceService.getJo 
bSession(DbPersistenceService.java:352)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.jav a:563)
  | at org.jbpm.job.executor.JobExecutorThread.acquireJob 
s(JobExecutorThread.java:109)
  | at org.jbpm.job.executor.JobExecutorThread.run(JobExe cutorThread.java:56)

Following is my web.xml entry:

servlet
  | servlet-nameJobExecutorServlet/servlet-name
  | servlet-classorg.jbpm.job.executor.JobExecutorServlet/servlet-class
  |  init-param
  | param-namejbpm.configuration.resource/param-name
  | param-valuedefault.jbpm.cfg.xml/param-value
  | /init-param
  | load-on-startup1/load-on-startup
  |/servlet
  |   servlet-mapping 
  |  servlet-nameJobExecutorServlet/servlet-name
  |  url-pattern/jobexecutor/url-pattern
  |/servlet-mapping

Following is my hibernate config entry in applicaionContext.xml

bean id=sessionFactory
  | 
class=org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
  | property name=dataSource ref=dataSource /
  | property name=mappingLocations 
value=classpath*:/org/jbpm/**/*.hbm.xml /
  | property name=configLocation
  | value/WEB-INF/hibernate.cfg.xml/value
  | /property
  | property name=hibernateProperties
  | props
  | prop 
key=hibernate.dialect${dataSource.dialect}/prop
  | prop 
key=hibernate.default_batch_fetch_size30/prop
  | prop key=hibernate.jdbc.fetch_size20/prop
  | prop key=org.hibernate.cacheinfo/prop
  | prop 
key=org.hibernate.transactiondebug/prop
  | prop key=hibernate.jdbc.batch_size100/prop
  | prop key=hibernate.show_sqlfalse/prop
  | prop 
key=hibernate.use_sql_commentstrue/prop
  | prop key=hibernate.max_fetch_depth3/prop
  | prop 
key=hibernate.jdbc.batch_versioned_datatrue/prop
  | !--
  | prop 
key=connection.pool_size1/prop
  | prop
  | 
key=hibernate.cache.provider_classorg.hibernate.cache.EhCacheProvider/prop
  | prop 
key=hibernate.cache.use_query_cachetrue/prop prop
  | 
key=hibernate.cache.use_second_level_cachetrue/prop prop
  | key=hbm2ddl.autoupdate/prop
  | --
  | /props
  | /property
  | property name=schemaUpdate value=false /
  | 
  | /bean

my jbpm config in applicationContext.xml
bean id=jbpmConfiguration 
class=org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean
  | property name=sessionFactory ref=sessionFactory/
  | property name=configuration 
value=classpath:org/jbpm/default.jbpm.cfg.xml/
  | property name=processDefinitionsResources
  | list
  | !--  --
  | 
valueclasspath:org/isro/dwf/account/workflow/bill_preparation/processdefinition.xml/value
  | 
valueclasspath:org/isro/dwf/account/workflow/cheque_preparation/processdefinition.xml/value
  | 
valueclasspath:org/isro/dwf/account/workflow/pre_cheque_preparation/processdefinition.xml/value
  | !--  --
  | /list
  | /property
  |   /bean


Iam desperately working on this for a week, but yet to find a solution.
I kindly request you to please help me on this.

much thanks in advance,
Prasad.


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

Reply to the post : 

[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread marius.bogoevici
The bean name being wrong was a separate issue, but you also have a JNDI 
configuration problem.

In your case, you need to set the jndiEnvironment property on your 
LocalStatelessSessionProxyFactoryBean, which is essentially a Properties object 
that you need to set up for being able to look up your JNDI InitialContext.



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

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


[jboss-user] [JBoss jBPM] - Re: Problem with JobExecutor - hibernate.cfg.xml not found

2009-07-27 Thread kukeltje
Are you using the spring jbpm 3.1 template? If so, there was no jobexecutor 
when this template was made (by the spring people), so that might be the reason 
it does not work.

In any other case, I have no clue at all.

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

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


[jboss-user] [JBoss Messaging] - jBoss Messaging With Non-Transactional DLQ

2009-07-27 Thread sjunejo
Hi,
We have a clustered JBoss deployment with an MDB which takes messages from a 
queue and forwards them to an external EIS. We have also configured a second 
MDB which pulls messages from the DLQ. This works fine as long as we configure 
the MDBs to use container-managed XA transactions but when we use Bean managed 
(local) transaction then JBoss messaging does not forward messages to the DLQ 
when the MDB throws an exception. Is it possible to configure a jBoss messaging 
(1.4) to forward messages to a DLQ when the MDB causing the exception has been 
configured to use local transactions?

Many thanks


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

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


[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

2009-07-27 Thread gleenders
Ok, I think a get the picture but i still have some problems.
First be aware that i'm using jBPM 4.

@TejJBPM:
anonymous wrote : The only system templates are task-assign and 
task-reminder which are by default present in jbpm.mail.templates. Whatever 
variables you want will work only under these two SYSTEM DEFINED TEMPLATES

the current manual descibes the following:
Table 6.15. task elements
Element MultiplicityDescription
notification0..1Sends a notification message when a task is assigned. 
If no template is referenced or supplied inline, mail support falls back on the 
template named task-notification.
reminder0..1Sends a reminder message at specific intervals. If no 
template is referenced or supplied inline, mail support falls back on the 
template named task-reminder

So when i use the following


  
  | 
  | task duedate=10 seconds g=36,108,97,52 name=Visa Conseiller
  | assignment-handler 
class=be.axi.bpm.handlers.TaskAssignmentHandler/
  | notification/
  | reminder duedate=15 seconds/
  | transition g=-76,-12 name=to Inspection to=Inspection/
  | /task
  | 
  | mail-template name=task-notification
  |   to addresses=x...@xxx.be /
  |   subjectAssignment notification/subject
  |   textTask #{taskInstance.name} is assigned/text
  | /mail-template
  | 

I assume that task-notification is a system template since i  don't point  to a 
specified template name (and regarding the manual). 
This example works fine except for the context variables.

But i also tried the implementation you describe above i think the code you 
supplied above is from version 3
This is how my code look:

task duedate=10 seconds g=36,108,97,52 name=Visa Conseiller
  | assignment-handler 
class=be.axi.bpm.handlers.TaskAssignmentHandler/
  | on event=task-assignmail 
template=mail-task-assign/mail/on
  | reminder duedate=15 seconds/
  | transition g=-76,-12 name=to Inspection to=Inspection/
  | /task
  | 
  | mail-template name=mail-task-assign
  |   to addresses=x...@xxx.be /
  |   subjectAssignment notification (E-C)/subject
  |   textTask assigned/text
  | /mail-template

But this code does noting at all (even not an Error msg). Is this event still 
supported in jBPM 4?

Regards,
Gert

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-27 Thread PeterJ
There are two possibilities here. First, your database supports optimistic 
locking in which case you can specify that in your *-ds.xml file. Second, you 
are using Hibernate for persistence in which case it uses optimistic locking by 
default unless you can set the optimistic-lock mapping attribute to false. You 
can read more about optimistic-lock in the Hibernate docs.


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

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


[jboss-user] [JBoss Messaging] - Re: jBoss Messaging With Non-Transactional DLQ

2009-07-27 Thread ataylor
No, this as per the JCA specification.

The reason is that the message being delivered is acknowledged outside the 
scope of the transaction. i.e. you are controlling the transaction within the 
MDB's on message. to do this you will need to use container managed 
transactions.

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

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


[jboss-user] [JBoss Portal] - Fetch LDAP entries

2009-07-27 Thread vijay2p
I have integrated JBoss portal with LDAP.
I want to fetch LDAP entries using java code.

Like I am getting 
ERROR [LDAPUserProfileModuleImpl] No such attribute ('title') in entry: 
uid=testusr,ou=People,o=portal,dc=somesite,dc=com.

So here I want to fetch the complete key value list using java.

Any help will be appreciated.

Thnx,
Vijay

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread mlynch147
Hi Marius

Im sorry but i dont understand what you mean... as I said, im a beginner at 
this stuff...

could you please provide an example?

thanks
marty

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Need to hot deploy static content from WAR file

2009-07-27 Thread PeterJ
anonymous wrote : I looked at that Exploded Deployment page and it seems so 
simple but doesn't really have clearly defined steps.

You'll find that 99% if the wiki pages assume you are doing things manually, 
only the JBoss Tools-related wiki pages or docs will have Eclipse-related 
directions. In general, I never let Eclipse compile, package or build anything 
- I delegate that to either Ant or Maven (depending on my mood). And even in 
Ant I follow the Maven steps - gather all files to place into the WAR into a 
single directory, and the jar that directory. Then I can easily deploy the WAR 
file, or the corresponding directory by using Ant's copy task.

anonymous wrote : I also tried to install JBoss tools about 10 times - each 
getting some dependency error

If you downloaded Eclipse for Java EE Developers, then for JBoss Tools you can 
select everything except the BIRT tools. Then there should be no missing 
dependencies. (I haven't had a need for BIRT and so haven't bothered to figure 
out how to get it installed.) Also, you probably don't need all of the tools. 
Usually selecting just JBossAS Tools, and then optionally tools for 
technologies yoiu are using (HIbernate Tools,  JBoss Tools RichFaces, SEam 
Tools, etc) is all you really need.

anonymous wrote : I tried copying the war directory out of the temp folders 
into the deploy folder

Don't do that. Instead take your WAR file and unpack it. What I usually do is 
rename xxx.war to xxx.war.zip and then use the Extract capability on the file 
manager to extract the contents to the xxx.war directory. Then I copy the 
xxx.war directory to server/xxx/deploy.

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

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


[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

2009-07-27 Thread swatis
use  just wild guess:)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Property minSpareThreads not found on the protocol handl

2009-07-27 Thread PeterJ
Because in Tomcat 6.0 (which is what JBoss Web in AS 4.2.3 is based) the 
minSpareThreads attribute was moved to the Executor element: 
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html

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

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


[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

2009-07-27 Thread swatis
sorry msg didnot come properly
use on event=task-notification just wild guess:)

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

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


[jboss-user] [JBoss jBPM] - Re: Generating JPDL Programmatically

2009-07-27 Thread swatis
which one is this old language? if its XML then as Ronald suggested you can use 
XSLT, java XML API like jdom to generate jpdl(jpdl is nothing but XML file). So 
you need to understand both formats. Basically you need converter which will do 
conversion.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.1 j2ee client jars and classloader

2009-07-27 Thread PeterJ
My simple client that accesses a simple EJB3 app includes 
client/jbossall-client.jar and client/log4j.jar. Of course, the manifest in 
jbossall-client.jar includes almost all of the JARs in the client directory.  
(If you were coming from 4.x I would point out that jbossall-client.jar doesn't 
include anything, and that you need the entire client directory for use with 
your client app, but you are coming from 5.0.1, so you should already know 
that. But it sure does sound as if you didn't provide the entire client 
directory to your app...)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unauthenticated caller null N sqlException

2009-07-27 Thread PeterJ
anonymous wrote : I need your email ID pls
I am sorry, but I cannot answer questions via email unless you have a support 
contract with my company, and even then you have to go through proper channels. 
Besides, if I solve your problem via email, how will others who run into 
similar problems benefit from that.

1) Of course those folders are recreated - they are working folders. My point 
in having you remove them was to see if some old data was causing your problems.

2) Don't even bother trying the URL until the app server starts.

3) See https://www.jboss.org/community/wiki/JBossAS5ClusteringGuide

Please post the contents of the c:/windows/system32/drivers/etc/hosts file (you 
can omit the comments at the start of the file). Also post the result of 
entering ipconfig /all at the command prompt. I think the hang might be 
related to an invalid IP address. 

Also, when the app server startup hangs, what is the CPU utilization? I am 
wondering if the app server gets in a loop at the CPU utilization is high, or 
is it is waiting for something, in which case the CPU utilization is low.

One more thing. Try this all on another PC.

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

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


[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread AshishjBPM
Yes I meant after deployer returns without an error, update custom created 
table.
Also if you have a look at the ProcessDefinitionQuery there is no way one can 
use to query such meta information.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm config under jta?

2009-07-27 Thread Elhanan
btw i should add that it begins a new transaction whenever it enters automatic 
node. not a task node

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

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


[jboss-user] [JBoss Tools (users)] - Re: EAR file with Utility Module

2009-07-27 Thread rob.stry...@jboss.com
Are you including already bundled jar files directly in your ear project or are 
you setting them up as separate utility projects? 

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

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


[jboss-user] [Beginners Corner] - Re: Cannot invoke the operation : the module threw an except

2009-07-27 Thread tejaswiyvs
I have the same problem. Comes up when I try to search for anything. Any help?

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

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


[jboss-user] [JBoss Tools (users)] - problem with jboss tools m2plugin and maven warnings about

2009-07-27 Thread wiggy
downloaded the jboss tools M2 build ontop of gallileo 

ran into problems with maven dependencies and so went off and got some of those 
to 

currently my jboss tools for maven says 1.0.0.M2-N200907092133-H355

and my maven for wtp download is build 0.9.9.20090608135


This kinda starts okay but I get warnings from the maven build checker that my 
eclipse is not running an JDK build.  

However - i actually do.

1.  I have edited eclipse /preferencves so that i only have jdk 1.6.0.14 
running (i deleted the default entry it loaded for me and built the new 
association)

2. in my eclipse .ini  i have included the following 


  | -startup
  | plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
  | --launcher.library
  | plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
  | -product
  | org.eclipse.epp.package.jee.product
  | --launcher.XXMaxPermSize
  | 256M
  | -showsplash
  | org.eclipse.platform
  | --launcher.XXMaxPermSize
  | 256m
  | -vmargs
  | -Dosgi.requiredJavaVersion=1.5
  | -Xms40m
  | -Xmx512m
  | -- vm detail
  | -vm
  | C:\Program Files\Java\jdk1.6.0_14\bin\javaw
  | 

3.  I have also edited my launucher icon to read as

  | C:\eclipse\eclipse\eclipse.exe -vmargs -Xms128m -Xmx512m -vm C:\Program 
Files\Java\jdk1.6.0_14\bin\javaw -clean
  | 


4.  and as my {user dir} .m2 dir didnt have a settings.xml i created one of 
these as follows 


 
  | settings xmlns=http://maven.apache.org/SETTINGS/1.0.0;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.0.0
  |   http://maven.apache.org/xsd/settings-1.0.0.xsd;
  |   localRepository${user.home}/.m2/repository/localRepository
  |   interactiveModetrue/interactiveMode
  |   usePluginRegistryfalse/usePluginRegistry
  |   offlinetrue/offline
  |   pluginGroups/
  |   servers/
  |   mirrors/
  |   proxies/
  |   profiles
  | profile
  |   idtest/id
  |   activation
  | activeByDefaulttrue/activeByDefault
  | jdk(1.5,1.6)/jdk
  | os
  |   nameWindows XP/name
  |   familyWindows/family
  |   archx86/arch
  |   version5.1.2600/version
  | /os
  | property
  |   namemavenVersion/name
  |   value2.0.3/value
  | /property
  | file
  |   exists${basedir}/file2.properties/exists
  |   missing${basedir}/file1.properties/missing
  | /file
  |   /activation
  | /profile
  |   /profiles
  |  activeProfiles/
  | /settings
  | 
  | 

not sure what the maven version should be - included 2.0.3. from an example i 
saw on google - not sure what version the embedded version is 


This latter got rid of a bunch of errors about a missing settings.xml file - 

however i still get 


  | 27/07/09 17:02:34 BST: Eclipse is running in a JRE, but a JDK is required
  |   Some Maven plugins may not work when importing projects or updating 
source folders.
  | 
  | 
  | in my output console - so my question is how do i tell maven that i really 
want to work with the JDK - cant see why its failing the maven validator test .
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: ignored dependency

2009-07-27 Thread jaikiran
import org.jboss.beans.metadata.api.annotations.Depends;
  | 

Wrong import. Should be:

import org.jboss.ejb3.annotation.Depends;

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

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


[jboss-user] [Beginners Corner] - Re: Cannot invoke the operation : the module threw an except

2009-07-27 Thread jaikiran
Search is broken right now. From what i know, there's someone who's working to 
fix it. Although i don't know how long that will take.


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

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


[jboss-user] [Beginners Corner] - Re: Cannot invoke the operation : the module threw an except

2009-07-27 Thread jaikiran
As a workaround to the broken Search in these forums, i do the following:

- Go to google.com
- Select Advanced Search link
- Enter the search terms
- In Search within a site or domain: textbox i add 
http://www.jboss.org/index.html?module=bb; as the domain.

This way i can search the forum posts through google.


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

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


[jboss-user] [EJB/JBoss] - Re: How to list interceptors in JBOSS 5 console

2009-07-27 Thread jaikiran
Those won't be available there. Infact they won't be visible any place because 
those are the internals of JBoss EJB3. What kind of diagnostics are you trying 
to do?


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Error on stage transfer during SessionCache start up

2009-07-27 Thread josey
The clustering seems to work okay in a local setting.

But the CacheMarshaller200 class is in the jbosscache-core.jar 
(jbosscache-core.jar MANIFEST shows version 3.1.0.GA).

Should it be in this jar?  I am using the jar that came with JBoss AS 5.1.0.


  | jar -tvf jbosscache-core.jar | grep CacheMarshaller
  |  30170 Mon May 04 15:48:16 PDT 2009 
org/jboss/cache/marshall/CacheMarshaller200.class
  |   1801 Mon May 04 15:48:16 PDT 2009 
org/jboss/cache/marshall/CacheMarshaller210.class
  |   4274 Mon May 04 15:48:16 PDT 2009 
org/jboss/cache/marshall/CacheMarshaller300.class
  | 

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

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


[jboss-user] [Beginners Corner] - Re: Cannot invoke the operation : the module threw an except

2009-07-27 Thread jaikiran
And this issue is being discussed here 
http://www.jboss.org/index.html?module=bbop=viewtopict=157873

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

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


[jboss-user] [JBoss Tools (users)] - Cannot compute classpath in Hibernate console

2009-07-27 Thread asookazian
Error
  | Mon Jul 27 11:06:09 PDT 2009
  | org.eclipse.core.runtime.CoreException: The archive: 
/ERS/exploded-archives/ERS.jar which is referenced by the classpath, does not 
exist.
  | 
  | org.eclipse.core.runtime.CoreException: The archive: 
/ERS/exploded-archives/ERS.jar which is referenced by the classpath, does not 
exist.
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1327)
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1313)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:901)
  | at 
org.eclipse.jdt.launching.StandardClasspathProvider.resolveClasspath(StandardClasspathProvider.java:75)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1187)
  | at 
org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:148)
  | at 
org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:88)
  | at 
org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:177)
  | at 
org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:111)
  | at 
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  | 
  | 

org.hibernate.console.HibernateConsoleRuntimeException: Could not compute 
classpath
  | at 
org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:97)
  | at 
org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:177)
  | at 
org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:111)
  | at 
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  | Caused by: org.eclipse.core.runtime.CoreException: The archive: 
/ERS/exploded-archives/ERS.jar which is referenced by the classpath, does not 
exist.
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1327)
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1313)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:901)
  | at 
org.eclipse.jdt.launching.StandardClasspathProvider.resolveClasspath(StandardClasspathProvider.java:75)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1187)
  | at 
org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:148)
  | at 
org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:88)
  | ... 7 more

I have run 'ant clean unexplode explode' and searched for 'ers.jar' and the 
only reference is commented in application.xml (which apparently is not even 
part of the exploded WAR).

My project is packaged as a WAR so I can use hot incremental deployment with 
POJOs in my Seam app.

hibernate-console.properties:

  | #File used by hibernate tools to override datasource and other container 
specific settings in persistence.xml
  | hibernate.connection.password=JavaTestAcct
  | hibernate.connection.username=_AppUser_JavaTestAcct
  | 
hibernate.connection.driver_class=com.microsoft.sqlserver.jdbc.SQLServerDriver
  | hibernate.dialect=org.hibernate.dialect.SQLServerDialect
  | 
hibernate.connection.url=jdbc:sqlserver://CORG0DB901:1433;databaseName=EquipmentRecovery
  | 
  | 
hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
  | hibernate.datasource=
  | hibernate.transaction.manager_lookup_class=

org.eclipse.core.runtime.CoreException: The archive: 
/ERS/exploded-archives/ERS.jar which is referenced by the classpath, does not 
exist.

I'm trying to understand how/where it's referenced... ???  I looked in the 
Eclipse Java build path and can't see it.

View the original post : 

[jboss-user] [JBoss Tools (users)] - Re: Cannot compute classpath in Hibernate console

2009-07-27 Thread asookazian
I found the reference in the classpath tab of Console configuration popup 
window

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-27 Thread smith.ge...@gmail.com
Many thanks for the reply.
I'm using mysql.
So all I have to do is edit the datasource to make the cache use optimistic 
locking ? I probably should have said I meant in the cache ?

Thanks,

Gerry Smith

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

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


[jboss-user] [JBoss Tools (users)] - Re: Cannot compute classpath in Hibernate console

2009-07-27 Thread asookazian
So here is what my project directory structure looks like:

C:\java\projects\ERS\exploded-archives\com\cox\ers\session

C:\java\projects\ERS\exploded-archives\ERS.war

When I added ERS.war to the Hibernate Console's classpath, I get the could not 
compute classpath error again.

Error
  | Mon Jul 27 11:19:33 PDT 2009
  | org.hibernate.console.HibernateConsoleRuntimeException: Could not compute 
classpath
  | 
  | org.hibernate.console.HibernateConsoleRuntimeException: Could not compute 
classpath
  | at 
org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:97)
  | at 
org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:177)
  | at 
org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:111)
  | at 
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  | Caused by: org.eclipse.core.runtime.CoreException: The archive: 
/ERS/exploded-archives/ERS.war which is referenced by the classpath, does not 
exist.
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1327)
  | at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1313)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:901)
  | at 
org.eclipse.jdt.launching.StandardClasspathProvider.resolveClasspath(StandardClasspathProvider.java:75)
  | at 
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1187)
  | at 
org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:148)
  | at 
org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:88)
  | ... 7 more
  | 
  | 

Must it be a packaged (not exploded) WAR?

Here is a screenshot of my edit config window (classpath tab):

http://i145.photobucket.com/albums/r234/rabiesjoy/java/Hibernateconsoleconfig.jpg

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Cannot find file when try to download jboss application

2009-07-27 Thread jaikiran
Yeah, the SF downloads have been a mess for more than a week now. The SF 
software upgrade triggered various issues including the file download issues. 
All JBoss downloads are available on one large single page making it difficult 
to get hold of the correct one. SF developers are tracking these issues through 
their bug tracker. 



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

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


[jboss-user] [JBoss Tools (users)] - Re: Cannot compute classpath in Hibernate console

2009-07-27 Thread asookazian
I removed the WAR from the classpath and replaced it with:

C:\java\projects\ERS\src\model\com\cox\ers\entity

and now I can see my tables under the database tree in Hibernate config 
view/tab.

But when I try to run a simple HQL editor query I get:

Error
  | Mon Jul 27 11:26:58 PDT 2009
  | org.hibernate.hql.ast.QuerySyntaxException: ApplicationSite is not mapped 
[from ApplicationSite]
  | 
  | org.hibernate.hql.ast.QuerySyntaxException: ApplicationSite is not mapped 
[from ApplicationSite]
  | at 
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
  | at 
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
  | at 
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
  | at 
org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
  | at org.hibernate.engine.query.HQLQueryPlan.init(HQLQueryPlan.java:77)
  | at org.hibernate.engine.query.HQLQueryPlan.init(HQLQueryPlan.java:56)
  | at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
  | at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
  | at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
  | at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
  | at org.hibernate.console.HQLQueryPage.setSession(HQLQueryPage.java:106)
  | at 
org.hibernate.console.ConsoleConfiguration$4.execute(ConsoleConfiguration.java:426)
  | at 
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
  | at 
org.hibernate.console.ConsoleConfiguration.executeHQLQuery(ConsoleConfiguration.java:421)
  | at 
org.hibernate.eclipse.hqleditor.HQLEditor.executeQuery(HQLEditor.java:416)
  | at 
org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:73)
  | at 
org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:53)
  | at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
  | at 
org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:57)
  | at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
  | at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
  | at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
  | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
  | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
  | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
  | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
  | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
  | at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
  | at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
  | at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
  | at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
  | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  | at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
  | at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  | at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
  | at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 

[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

2009-07-27 Thread TejJBPM
event type task-notification should work. In jbpm 4 task-assign is replaced 
with task-notification template.

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

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


[jboss-user] [JBoss/Spring Integration] - Struts+spring+hibernate+jpa integration problem

2009-07-27 Thread jboss_fan1056
I am in a weird situation. I am using JBoss 4.2.3 AS the following versions
Hibernate 3.2.6
Struts 2.1.6
Spring 2.5.6

If I use the hibernate-annotations.jar and hibernate-entitymanager.jar from 
hibernate website, I get the following error:

13:22:23,977 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'entityManagerFactory' defined in ServletContext resource 
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested 
exception is java.lang.ClassCastException: 
org.hibernate.search.event.FullTextIndexEventListener
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)

Sample of my applicationContext.xml is:

?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
http://www.springframework.org/schema/tx 

[jboss-user] [JBoss jBPM] - Re: Metadata to workflow deployment

2009-07-27 Thread TejJBPM
You can also create additional columns in the existing jbpm tables ..so 
whenever a process and task is updated it will fill these columns with the meta 
data you want. You might need to declare this columns in your hibernate config 
and write a custom handler class..I have done this and it works brilliantly.. 

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

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


[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

2009-07-27 Thread kukeltje
I'm not 100% sure a mail element can be nested in a 'on' element in 4. But why 
not use the notify element with a template attribute?

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

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


  1   2   >