[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3

2009-10-01 Thread tom.baey...@jboss.com
files of jboss 4 are still in the sources, but it is not supported.

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

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


[jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page

2009-10-01 Thread belcar
The reference guide has a topic about this: 13.9.3. Link to other pages.

// Get the ParentNode. Since we are inside a Window, the Parent is the Page
  | PortalNode thisNode = req.getPortalNode().getParent();
  | // Get the Node in the Portal hierarchy tree known as ../default
  | PortalNode linkToNode = thisNode.resolve(../default);
  | // Create a RenderURL to the ../default Page Node
  | PortalNodeURL pageURL = resp.createRenderURL(linkToNode);
  | // Output the Node's name and URL for users
  | Samples
  | 149
  | html.append(Page:  + linkToNode.getName() +  - );
  | html.append(a href=\ + pageURL.toString() + \ + 
linkToNode.getName() + /a);

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

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


[jboss-user] [jBPM Users] - how to get the pooled actors information

2009-10-01 Thread saytomahendra
i am novice to the jbpm
i have problem in retrieving the audit Trail data,i am using jbpm3.2.3
can anybody tell me how to retrieve the data from either Jbpm database(MSSQL 
2005) or history apis.
1. i want the information about the pooled actors
2. who has performed a perticular action.

thanks in advance.

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

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


[jboss-user] [JBoss Messaging Users] - jbossall-client.jar and the jar hell at remote JBM client

2009-10-01 Thread bodrin
[JBM.1.4.0.SP3 \ jboss-4.2.2.GA]

Hi,

From a remote JBM client point of view we need some JBoss jars including 
jbossall-client.jar 
(http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/installation.html#inst.remoteclient).
 I see two main problems with this:

1) The order of this jars does matter - this I think is not even mentioned into 
the docs, but if you list them into your classpath into a different order it 
will not work some times. The bigger problem is that in some places/containers 
there is no way to specify any such order like in tomcat for example.

2) If your project uses some library which is duplicated in jbossall-client.jar 
also and the versions are different - again we have a problem. One such example 
is hibernate.

I have found in this thread 
http://www.jboss.org/index.html?module=bbop=viewtopict=153853postdays=0postorder=ascstart=10
 that 

anonymous wrote : jbossall-client.jar is an evil aggregation of jars. You will 
need to use the individual client jars from /jboss/client. I have changes the 
examples to make use of the correct jars, and we have documented the minimal 
set for JBM, but depending on the other EE features you use you may need to add 
more client jars...

So, the question is what is the minimal set of client jars needed for a remote 
JBM client?
And does this will solve problem 1) ?

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

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


[jboss-user] [JBoss Web Services Users] - Re: WSException: Cannot obtain endpoint

2009-10-01 Thread agrajm
Hello,

I'm facing the same problem when deploying my web service with JBoss4.2.3 and 
JDK1.5.

There is no exception when I start the server. But when I try to access the 
WSDL, it gives me the same exception ?

Have you found out any solution to this problem ?
I'm a newbie to this world of web services so please let me know what I'm 
missing here.

Best Regards,
Agraj

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

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


[jboss-user] [jBPM Users] - Problem with the VacationRequest example

2009-10-01 Thread killian
Hello,

I'm novice to jbpm.
I have installed JBPM 4.1 on my computer on Tomcat 6.0.14 and i deployed the 
VacationRequest example (the taskform example).

My problem is when i change Tomcat's port to 8081 for example, 
http://localhost:8081/gwt-console-server/rs/process/definitions give me 
http://localhost:8080/gwt-console-server/rs/form/process/VacationRequest-1/render;
 in the formUrl attribute of VacationRequest-1 process.

If i do the same thing from another computer in the network, it's return the 
same value of formUrl attribute.

From jbpm-console, i can't start an instance of the VacationRequest-1 process 
because jbpm-console tries to reach localhost:8080 to get the form instead of 
the ip and the port of the tomcat server.

I think i forgot something to configure but i can't find what.

Thanks in advance.

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

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


[jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien

2009-10-01 Thread timfox
There exact jars you need on the client side is explained in detail in section 
4.4 of the user manual, and yes, it does also say in a yellow note box that 
they must appear in a different order:

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.5.GA/html/installation.html#inst.remoteclient

It's always worth looking in the documentation before asking a question like 
this.



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

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


[jboss-user] [jBPM Users] - jbpm4.1 process project

2009-10-01 Thread noicangi
hi this is my configuration: jboss 5.1.0ga + mysql5 + jbpm4 + galileo + tools 
m3 

my question is, how i create a jbpm4 process project on eclipse? how can i do 
that? 
or i need to create a jbpm3 project and a jbpm4 process definition in that 
project? also i noticed that on jboss with signavio the swinlines are missing, 
this is normal? or i commited an error during instalation?


thanks



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

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


[jboss-user] [Installation, Configuration Deployment] - Re: using error-page in web.xml for custom error page

2009-10-01 Thread asafz
Still no answers so I will add more information:
1. I'm using jboss 5.0.1 and 5.1 and see the same problem
2. I'm throwing RuntimeException from the application 
3. even when using exception-type instead of error-type and setting it to 
Exception I still can not reach to my custom error page.

Again, any ideas???

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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread sebastian.s
Starting with jbpm 4.0 there is no project type named process project 
anymore. Just create a java project and afterwards create a new jbpm process 
definition. The swimlanes are missing in the Signavio editor and this is 
normal. About 2 weeks ago I was talking to one of the Signavio guys about this 
on a exhibition and he told me that this was just the first step for the 
integration and maybe further elements will be added in the next releases.

HTH

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

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


[jboss-user] [jBPM Users] - Re: hibernate.cfg.xml not found

2009-10-01 Thread elhostis
I think the problem is on the java command.

In dev, I use Eclipse to test my application.
In production, I use the java command. Something is missing, but why ?

I use jBPM 3.1.1, so what ?

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

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


[jboss-user] [JBoss Cache Users] - Adding JBossCache 4.2 to JBoss 5.1 default configuration

2009-10-01 Thread mglowacki
I can't find any instructions of adding cache to default configuration of jboss 
5. I recently switched from 4.2.3, where it was very easy - just 
local-cache-service.xml into deploy dir and aprioprate jars into lib dir. Now I 
see it doesn't work, and all what I can find is configuration of cache for 
clustering. Also 'all' server configuration is for cluster use... And I just 
need cache for my applications, so I can store common data in it and take some 
stress out of database.

I put local.xml from etc dir of jbosscache4.20-all.jar, but then I check in 
jmx-console to see if it's installed. no :(

Anyone got any link, steps to do it? 

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

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


[jboss-user] [Clustering] - shutting down cluster node causes massive memory usage in ot

2009-10-01 Thread nikolay.elenkov
We have a two-node JBoss cluster (eap-4.2_cp06) with session and SFSB 
replication enabled. Apache with mod_jk does load balancing and failover, 
with sticky sessions. This set up is working with no problems most of the  time.

Due to some problems with an application (memory leaks), at some point one of 
the nodes (n1) needs to be restarted. In theory, since the other node (n2) is 
operational (memory usage is normal), we should be able to restart n1 while n2 
is serving requests. However once n1 is stopped, n2's memory usage goes through 
the roof and doesn't stabilize. Eventually, n2 needs to be restarted as well. 

I've yet to get logs and more detailed data, but any pointers as what could be 
causing this or how to debug it?

Thanks.


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

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


[jboss-user] [Installation, Configuration Deployment] - configuration - config-login.xml

2009-10-01 Thread karin1123
Hello,

since a few days i am trying to setup a jboss server that was running for a 
long time, but wasn't used for the past months. the deploy path is available 
with all the contents and is working like expected where no login is needed 
(apache and tomcat is also configured like before). database connections are 
loging in successfully.

the project itself is very huge - but the company that did the first setup is 
not available anymore. so we need to get it up and running ourselfs.
from my investigations the problem is the missing conf path. (login-conf.xml 
maybe)

when the application sends the auth - the tomcat is sending back that an auth 
is needed but not given and so the RequestProcessor is not available. There 
is no sql statements executed (i am monitoring the mysql.log on a development 
machine)

corresponding web.xml
security-constraint
  web-resource-collection
 web-resource-nameProtectedServlets/web-resource-name
 
 url-pattern/RequestProcessor/url-pattern
  /web-resource-collection
  auth-constraint
 role-nameMyUser/role-name
  /auth-constraint
   /security-constraint
   login-config
  auth-methodBASIC/auth-method
  realm-nameMy Web Service/realm-name
   /login-config
   security-role
  role-nameMyUser/role-name
   /security-role

corresponding jboss-web.xml
jboss-web
security-domainjava:/jaas/myDataBase/security-domain
ejb-local-ref
ejb-ref-name
ejb/JBossRequestProcessorSession
/ejb-ref-name
local-jndi-name
myDataBase/JBossRequestProcessorSession
/local-jndi-name
/ejb-local-ref
...
...
...
/jboss-web

used for the test is an internal server with an internal name test.intern so 
that no traffic goes out - that is all workin well in the network so no need to 
think about that

what happens in auth is this
the client sends
.4..HTTP/1.1.../server/RequestProcessor...192.168.0.110.www.test.intern..P...Basic.bWFya3VzOmFzZGZhc2Rm.Jakarta.Commons-HttpClient/2.0.2.www.test.intern.36!application/x-www-form-urlencoded...

the jk.log says
Unauthorized.WWW-Authenticate..(Basic.realm=My.Web.Service...Content-Type...text/html;charset=utf-8...

--
the cryptic string is a base64 encoded username password pair

that is the bottom of the problem - nowhere i am able to find informations if i 
can send this through login-config.xml into the database - i know how to say 
that the password is encrypted - and what the algorithm is - but not how to 
handle user and password within ONE base64string

my mysql statement would be like that
SELECT userID FROM logins WHERE username=? AND password=?
(password is md5 encrypted)

the second for the role would be
SELECT privilege FROM set_privileges WHERE userId=?
(privilege would be MyUser)

they are all fetched from MyDataBase

is there any help where i can find out how to handle that? (base64decode - 
split - md5 encode)

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

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


[jboss-user] [jBPM Users] - Re: hibernate.cfg.xml not found

2009-10-01 Thread kukeltje
You cannot put individual files on the classpath, only archives (zip, jar) and 
directories. Change /home/config/hibernate.cfg.xml to /home/config

And regarding 3.1.1, there also is a 3.1.4 and even that is 'old'. When 
starting a new project (as you seem to do since it has not run in production) 
I'd certainly switch to at least 3.2.6SP1

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: configuration - config-login.xml

2009-10-01 Thread karin1123
jboss 3.2.7 is used - as it was the version where it was running in the past

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: using error-page in web.xml for custom error page

2009-10-01 Thread erasmomarciano
try

error-page 
error-code404/error-code 
/error404.jsp 
/error-page


error-page 
error-code500/error-code 
/error500.jsp 
/error-page

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: using error-page in web.xml for custom error page

2009-10-01 Thread erasmomarciano


ops error-page 
  | error-code404/error-code 
  | location/error404.jsp/location 
  | /error-page

Are you sure of to make an error 404? 

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

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


[jboss-user] [jBPM Users] - Re: hibernate.cfg.xml not found

2009-10-01 Thread elhostis
kukeltje wrote : You cannot put individual files on the classpath, only 
archives (zip, jar) and directories. Change /home/config/hibernate.cfg.xml to 
/home/config

It was that ! Thanks a lot ! 

kukeltje wrote : And regarding 3.1.1, there also is a 3.1.4 and even that is 
'old'. When starting a new project (as you seem to do since it has not run in 
production) I'd certainly switch to at least 3.2.6SP1

It's not a new project. The old project was running with jBPM 3.1.1 but I never 
understood how the config file was found because the file was not in the 
classpath. Now, I understand. 

But, you've probably right. I should upgrade my jBPM... I will see with my boss.

Thks again.

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

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


[jboss-user] [Security] - Caller unauthorized on using a ejb3 statetlesssessionbean fr

2009-10-01 Thread praenti
Hi everybody,

I have a big problem using JAAS in JBoss 5.1.0GA, which I try to solve about 2 
days (my employer is not very amused of that...). I use a own JASSLoginModule 
to authenticate a user on a LDAP directory. The roleSet is fetched from a 
database. This part works as I can see and give me the result  - AdminUser.

But now when I call a EJB stateless session bean, I always get the Caller 
unauthorized error (Stacktrace is at bottom of the message).

Can anybody give me a hint whats wrong.

The Constants in the @RolesAllowed has AdminUser in the list. The class is 
also attached at the end of the message


  | javax.ejb.EJBAccessException: Caller unauthorized
  | at 
org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(Ro
  | leBasedAuthorizationInterceptorv2.java:199)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:102)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3Au
  | thenticationInterceptorv2.java:186)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:102)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce
  | ptor.java:41)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:102)
  | at 
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContaine
  | rShutdownInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:102)
  | at 
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invo
  | ke(CurrentInvocationInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
  | java:102)
  | at 
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContain
  | er.java:176)
  | at 
org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContain
  | er.java:216)
  | at 
org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl
  | erBase.invoke(SessionProxyInvocationHandlerBase.java:207)
  | at 
org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl
  | erBase.invoke(SessionProxyInvocationHandlerBase.java:164)
  | at $Proxy1287.getAllUsers(Unknown Source)
  | at 
vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman
  | agement.java:41)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultA
  | ctionInvocation.java:404)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(Defa
  | ultActionInvocation.java:267)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
  | nvocation.java:229)
  | at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInte
  | rcept(DefaultWorkflowInterceptor.java:221)
  | at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
  | (MethodFilterInterceptor.java:86)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:224)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:223)
  | at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
  | erStack.java:455)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
  | nvocation.java:221)
  | at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(V
  | alidationInterceptor.java:150)
  | at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterce
  | ptor.doIntercept(AnnotationValidationInterceptor.java:48)
  | at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
  | (MethodFilterInterceptor.java:86)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:224)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:223)
  | at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
  | erStack.java:455)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
  | nvocation.java:221)
  | at 
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.interc
  | ept(ConversionErrorInterceptor.java:123)
  | at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
  | ActionInvocation.java:224)
  | at 

[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

2009-10-01 Thread prachi.mukhija
Hi,

I am pretty new to jbpm-bpel. I have downloaded the jbpm-bpel-1.1.1 version.
My envrironment is: 
jboss-4.2.2.GA server

However, I am facing the same error when deploying Hello example.

Here's the stack trace.

  | 15:31:26,746 INFO  [DeploymentServlet] deployed process definition: 
HelloWorld
  | 15:31:26,846 ERROR [[deploymentServlet]] Servlet.service() for servlet 
deploymentServlet threw exception
  | java.lang.NullPointerException
  | at org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240)
  | at 
org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:227)
  | at 
org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:197)
  | at 
org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156)
  | at 
org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143)
  | at 
org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264)
  | at 
org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102)
  | at 
org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84)
  | at 
org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205)
  | at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Unknown Source)
  | 

Please help out. Any hint would be grateful.
Thanks in advance.

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

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


[jboss-user] [JBoss Cache Users] - Re: What is an invocation, and the related option override?

2009-10-01 Thread mircea.markus
it only makes sense to use setForceWriteLock(true) on read. Normally when you 
do an cache.get(fqn) an read lock is aquired, but setting the forceWriteLock to 
true would force a write lock acquisition. when you do a put(fqn)(generally a 
write), a WL (write lock) is acquired so having the flag is redundant. As a 
general rule, the forceWriteLock only apply for one call, i.e. for one 
invocation. 
tm.begin();
  | // force write lock even on read operations
  | 
cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
  | 
  | // read node
  | Object value = cache.get(myFqn, key);
  | 
  | Object value = cache.get(myFqn2, key);
  | 
  | tm.commit();

In this example a WL is acquired for myFqn and a RL is acquired for myFqn2

anonymous wrote : In other words, once I set the setForceWriteLock(true), all 
future cache related operations in this thread will see this option set to 
true. No. Only the next call, after that the flag is cleaned. As mentioned in 
the previous post, an invocation is an call to the cache.

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

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


[jboss-user] [JBoss Remoting Users] - Re: No ping on secondaryBindPort

2009-10-01 Thread enriqueam
Hello Ron,

Thank you for your quick response!

I have downloaded Remoting release 2.2.3.SP1 and replace the existing one in my 
standalone client and in JBoss As 4.2.3.GA server's libs (in the server 
configuration for JBoss Messaging 1.4.4.GA)

I have configured remoting-bisocket-service.xml with the attribute values you 
suggest and have also added the attribute

attribute name=DisableRemotingCheckstrue/attribute

to connection-factories-service.xml to make sure Messaging accepts the changes 
in those immutable attributes.

Still no luck. The firewall does not timeout primary port 4457 because there is 
a ping between client and server. However, the ServerThread running on the 
client blocks on the secondary bind port, fixed to value 4458, to read the 
version, as shown in trace line

56411 [WorkerThread#0[192.168.6.1:4458]] TRACE 
org.jboss.remoting.transport.socket.ServerThread  - blocking to read version 
from input stream

The problem is that if no message is sent, the firewall times out that port and 
not 4457. Upon a new message is posted on the topic after the port 4458 has 
timed out at the firewall, the messages is received by the client and then the 
client and server detects a problem on port 4458. However, the client does not 
scale the exception to the Messaging ExceptionListener. Instead, it logs out 
the exception, and just keeps pinging the server on port 4457, which completes 
successfully every time. As I said, the ServerThread working on port 4458 gets 
stuck on a call to wait().

From that point on, when a new message is posted on the queue, the client does 
not receive it. 

Should Remoting be informing JBM of the problem if I'm using 
generalizeSockeException? 


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: using error-page in web.xml for custom error page

2009-10-01 Thread asafz
Well 404 is working for me, I just enter none exist URL and I do see my custom 
error page, 

But when I try to create 500 error to see my custom error page I still see 
Jboss default error page and not my custom page.

I'm doing it by throwing runtimexception from my EJB tier.

Just wanted to add that I'm using EJB3, JSF, richfaces. 
I'm sure that this is not related to my problem but just wanted to add this 
extra information.

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

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


[jboss-user] [Clustering] - Cluster falls apart: FD_SOCK errors

2009-10-01 Thread kennardconsulting
Guys,

We are seeing these warnings on our cluster nodes sometimes after a redeploy. 
The primary cluster node stays up,
but the other 2 (we have 3) die and keep saying this.
 
2009-10-01 20:04:34,302 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:37,315 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:40,318 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:43,321 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:46,323 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:49,326 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:52,329 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
  | 2009-10-01 20:04:55,332 main WARN  [org.jgroups.protocols.pbcast.GMS] 
join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), 
retrying
 
They keep saying this even after a restart. Only restarting the primary node 
fixes things. We can see 192.168.1.1:52187 is listening on the primary with 
netstat -panu
 
On that server, the logs say

192.168.1.2:37802 ERROR [org.jgroups.protocols.FD_SOCK] socket address for 
192.168.1.2:37802 could not be fetched, retrying.
 
However, on the 192.168.1.2 box, we can see 192.168.1.2:37802 is also listening.
 
We can ping and telnet to tcp ports on both boxes and between each box, and 
ipconfig shows no packet losses, collisions or other
networking errors.  Also a restart of JBoss on the primary fixes the problem.
 
Therefore the problem seems to be something within JBoss.
 
On the primary server there are a number of threads referring to port 52187 and 
none of these seem locked up (as far as I can see).
 
Here are some of the threads from the Primary:
 
This looks like the server socket:
 
FD_SOCK server socket acceptor,192.168.1.1:52187 daemon prio=10 
tid=0x0ac19800 nid=0x6281 runnable [0x66293000]
  |java.lang.Thread.State: RUNNABLE
  | at java.net.PlainSocketImpl.socketAccept(Native Method)
  | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
  | - locked 0xab976ea0 (a java.net.SocksSocketImpl)
  | at java.net.ServerSocket.implAccept(ServerSocket.java:453)
  | at java.net.ServerSocket.accept(ServerSocket.java:421)
  | at 
org.jgroups.protocols.FD_SOCK$ServerSocketHandler.run(FD_SOCK.java:1022)
  | at java.lang.Thread.run(Thread.java:619)
 

This looks like the connection handler:
 
FD_SOCK client connection handler,AvantProduction,192.168.1.1:52187 daemon 
prio=10 tid=0x097e8000 nid=0x1a6c runnable [0x62c
  | 71000]
  |java.lang.Thread.State: RUNNABLE
  | at java.net.SocketInputStream.socketRead0(Native Method)
  | at java.net.SocketInputStream.read(SocketInputStream.java:129)
  | at java.net.SocketInputStream.read(SocketInputStream.java:182)
  | at 
org.jgroups.protocols.FD_SOCK$ClientConnectionHandler.run(FD_SOCK.java:1089)
  | at java.lang.Thread.run(Thread.java:619)
 

And these are threads waiting in a pool by the look of it:
 
Incoming-14,192.168.1.1:52187 prio=10 tid=0x091c9400 nid=0x5f7f waiting on 
condition [0x68e1f000]
  |java.lang.Thread.State: WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  0x8b246af0 (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
  | at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
  | at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  |  
  | Incoming-13,192.168.1.1:52187 prio=10 tid=0x091c7c00 nid=0x5f7e waiting 
on condition [0x68e7]
  |java.lang.Thread.State: WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  0x8b246af0 (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
  | at 

[jboss-user] [jBPM Users] - [jBPM4] TaskForm Variables

2009-10-01 Thread c4s4l
In the jBPM Dev Guide is stated that the 'Form field names become process 
variables names and vice versa', but what about the activity context or the 
execution context, can I access to them in the form (ftl)? Are there implicit 
process variables injected in the form task? which ones?

Thanks,
Sergio

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

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


[jboss-user] [JBoss Messaging Users] - After migrating from JBossMQ to JBM:

2009-10-01 Thread the_olo
Hi!

After migrating from JBoss MQ to JBoss Messaging (which also required deploying 
the relevant queues manually), our installation of jBPM-BPEL has started 
throwing the following exception in the logs:


2009-10-01 12:51:46,648 ERROR 
[org.jboss.jms.client.container.ClosedInterceptor] 
ClosedInterceptor.ClientSessionDelegate[46-n2vsd90g-1-2wuqd90g-x8tmkt-100j3]:
  |  method postDeliver() did not go through, the interceptor is CLOSED
  | 2009-10-01 12:51:46,648 ERROR 
[org.jboss.jms.client.container.ClientConsumer] Failed to deliver message
  | javax.jms.IllegalStateException: The object is closed
  | at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:157)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_1255239194451907669.invokeNext(ClientSessionDelegate$postDeliver_125523919445190766
  | 9.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
  | at 
org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:253)
  | at 
org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
  | at 
org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
  | at java.lang.Thread.run(Thread.java:595)


This is thrown after the SOAP response is sent back to the client, at the end 
of BPEL process execution, so it doesn't seem to influence its correct outcome. 
However, I'm afraid of any side effects (e.g. performance issues, rolled back 
XA transactions?).

One more symptom that I've observed is that message counters on the queues 
aren't incremented in queue MBeans (name=JbpmCommandQueue,service=Queue and 
name=JbpmJobQueue,service=Queue) - I think it could be related to this 
exception.


Here's how the queue MBeans are configured for jBPM-BPEL:



  | ?xml version=1.0 encoding=UTF-8?
  | server
  | mbean code=org.jboss.jms.server.destination.QueueService
  | 
name=jboss.messaging.destination:service=Queue,name=JbpmCommandQueue
  | xmbean-dd=xmdesc/Queue-xmbean.xml
  | depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  | 
dependsjboss.messaging:service=PostOffice/depends
  | /mbean
  | mbean code=org.jboss.jms.server.destination.QueueService
  | 
name=jboss.messaging.destination:service=Queue,name=JbpmJobQueue
  | xmbean-dd=xmdesc/Queue-xmbean.xml
  | depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  | 
dependsjboss.messaging:service=PostOffice/depends
  | /mbean
  | /server
  | 

Any ideas what might cause the problem?


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

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


[jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4

2009-10-01 Thread newcomer1
kukeltje wrote : Yes, use a plain fork-join for this. 

I still have to admit that I think the task-node approach is much easier to 
work with. 

The jbpm documentation should have more information about differences from the 
jbpm 3.x way to model stuff. E.g. to associate tasks with a state.

How would you model a simple scenario as this:

start - Registered (state) with 2 tasks that are created when the state is 
entered, one that MUST be performed, and one that is optional - Handle, state 
with several tasks.

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

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


[jboss-user] [Clustering] - Non clustered Queue

2009-10-01 Thread Shenaz
Hi,

We are using Jboss 4 AS in clustered mode. From the docs that I've read, its 
understood that JMS queues and topics are implemented as singleton service in a 
clustered environment. Is it possible to have non clustered queues? i.e., each 
local queues on node in the cluster?

Regards
Shenaz

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

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


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-10-01 Thread sebastian.s
It seems strange to me that are just a few people interested in this topic 
although the situation described seems to me very common. Are there still so 
few people working with 4.x or has nobody run across the problem? If you have 
it would be great to count on your vote in JIRA.

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

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


[jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables

2009-10-01 Thread kukeltje
afaik, there are none, butr I'm not 100% sure. If you want to be sure, look at 
the console code and see what jBPM api calls are used.

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

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


[jboss-user] [jBPM Users] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler

2009-10-01 Thread bulhar
How did you solved the cannot be cast to org.jbpm.graph.def.ActionHandler 
exception? thanks 

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

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


[jboss-user] [JBoss Remoting Users] - Re: No ping on secondaryBindPort

2009-10-01 Thread enriqueam
Hello Ron,

Please ignore my last post. Ping is sent on that port and firewall does not 
time it out.

Thank you for help!

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

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


[jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4

2009-10-01 Thread kukeltje
tasks are never associated with a state. Tasks are now just 'simple' tasks, not 
'complex' tasks anymore (the task has been 'promoted' to the level of the 
former task-node. That might be explicitly missing in the docs, I won't deny 
that. But 

What you describe is not a 'simple' scenario, it is already a more complex one. 
You probably combined the 'blocking' attribute on the task within the 
task-node, the signal attribute on the task-node and maybe also the signalling. 
I agree that jBPM made this seem simple :-)

From what we've experienced these were not used alot. In jBPM 4, for now, you 
need to do something like using an eventhandler to cancel the 'parallel task'. 
In the future this will be made more explicit by using things like the bpmn 
cancel signal.

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

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


[jboss-user] [jBPM Users] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler

2009-10-01 Thread kukeltje
Read carefully... he had another implementation of a class with the same 
package and classname but that did not implement the correct interface.

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

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


[jboss-user] [EJB 3.0 Users] - Re: Design: When the line between domain objects and service

2009-10-01 Thread Wolfgang Knauf
Hi,

I think you need a layer beetween MailBox and your EJB, which encapsulates the 
logic specific to the mailbox implementation. findMailbox should not return 
the entity, but the the implementation of the layer.

Assume an interface (or an abstract base class):
public interface IMailBoxHandler
  | {
  |public void handleMail (Message message);
  | }
  | 
It has only one method which handles an incoming mail.

Now you create subclasses/implementations:
public class MailBoxHandlerHelpDesk implements IMailBoxHandler
  | {
  |   @Override
  |   public void handleMail (Message message)
  |   {
  |  ...
  |   }
  | }
  | 
and so on...

findMailBox should probably return an appropriate IMailBoxHandler 
implementation. 

incomingMail would be:
public void incomingMail(String destination, Message message) {
  | IMailboxHandler mb = findMailBox(destination); 
  | mb.handleMail (message);
  | }
  | 

This way, your domain model is free of controller logic.

Hope this is a reasonable approach ;-)

Wolfgang

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

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


[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

2009-10-01 Thread Wolfgang Knauf
Hi Michael,

you probably checked the JBoss log of the security layer (see question 4 in 
FAQ)? Do you see output that JBoss could map a user to the required roles?

Please post the relevant snippets of your login module.

Best regards

Wolfgang 

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

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


[jboss-user] [JBoss Cache Users] - JBossCache 3.2.1.GA released

2009-10-01 Thread mircea.markus
Hi,

More on this on the blog: 
http://jbosscache.blogspot.com/2009/10/jbosscache-321ga-released.html

Enjoy!

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

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


[jboss-user] [EJB] - MDB Deployment Fails with Ear Isolation Enabled

2009-10-01 Thread mmichalek
I'm trying to deploy an EJB 2 MDB to JBoss 4.2.3.
Here are the points of interest:
JBoss Messaging 1.4.4
JBoss Remoting 2.2.3
ear deployment Isolated=true

Here's some of my initial findings:
1) If I turn off ear deployment isolation, this problem goes away (and 
apparently remoting is not used for the lookup in that scenerio.)
2) From this log and looking at the source, it looks like a JNDI lookup for 
java:/StdJMSPool is failing (returning null) - but I don't understanding why 
that's happening.

Let me know if you have any ideas. It's important to me to get make the ear 
deployment isolation work.


  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugin
  | s.jms.JMSContainerInvoker] Using client id: null
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugin
  | s.jms.JMSContainerInvoker] looking up session pool factory: java:/StdJMSPool
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.jms.server
  | .connectionmanager.SimpleConnectionManager] unregistered connection 
ConnectionEndpoint[l3-c3gw510g-1
  | -cy6v510g-ys6ooo-7375o4c5] with remoting session ID ...-g015wfyk-3f
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.I
  | nvokerRegistry] removed 
org.jboss.remoting.transport.local.localclientinvo...@4b2199 from registry
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[12933527:5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3k] is 
disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.jms.server
  | .remoting.JMSServerInvocationHandler] removing callback handler 
ServerInvokerCallbackHandler[5c4o573
  | 7-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i]
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f].connect(null)
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] connected to 
InvokerLocator [bisocket:
  | 
//192.168.187.115:2088433572/callback?callbackServerHost=192.168.187.115callbackServerPort=2088433572callbackServerProtocol=bisocketclientMaxPoolSize=1clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapperdatatype=jmsguid=5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3hisCallbackServer=trueonewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPoolserverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper]
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.S
  | erverInvoker] ServerInvoker (SocketServerInvoker[UNINITIALIZED]) removing 
client callback handler wi
  | th session id of 
5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i.
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.t
  | ransport.bisocket.BisocketServerInvoker] unrecognized listener ID: 
5c4o5737-ooo6sy-g015v6yc-1-g015wg
  | 3c-3i
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.I
  | nvokerRegistry] removed 
org.jboss.remoting.transport.local.localclientinvo...@146c67a from registry
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is 
disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.S
  | erverInvoker] SocketServerInvoker[UNINITIALIZED] stopped
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.I
  | nvokerRegistry] decremented 
org.jboss.remoting.transport.local.localclientinvo...@da85fe's count, cu
  | rrent count 5
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[8486630:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is 
disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.I
  | nvokerRegistry] decremented 
org.jboss.remoting.transport.local.localclientinvo...@93133e's count, cu
  | rrent count 5
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.C
  | lient] Client[28468394:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3g] is 
disconnected
  | 12:43:23,640 ERROR [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugin
  | s.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected 
for OfflineEventLogConsum
  | erMDB
  | org.jboss.deployment.DeploymentException: Error during topic setup; - 

[jboss-user] [JBoss Remoting Users] - Re: JNDI Lookup Fails, Causes Failed EJB2 MDB

2009-10-01 Thread mmichalek
Thanks, I reposted here: 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258150#4258150

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

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


[jboss-user] [EJB] - Re: MDB Deployment Fails with Ear Isolation Enabled

2009-10-01 Thread mmichalek
I also found that when I converted these MDB's to use the @MessageDriven 
annotation (instead of ejb xml), they deployed and received messages 
successfully.

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

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


[jboss-user] [jBPM Users] - jbpm 4.1 : Running jbpm test case - issue

2009-10-01 Thread makarandk502
Hi,

Can anybody guide me in resolving this issue ?

I am getting following error while running following jbpm test case
I have also attached process xml file




Error


  | 
  | 18:07:16,924 FIN | [BaseJbpmTestCase] === starting testTaskAssignee 
=
  | ### EXCEPTION ###
  | 18:07:16,954 INF | [Parser] couldn't set schema language property
  | org.xml.sax.SAXNotRecognizedException: 
http://java.sun.com/xml/jaxp/properties/schemaLanguage
  | at gnu.xml.aelfred2.XmlReader.getProperty(XmlReader.java:181)
  | at gnu.xml.aelfred2.XmlReader.setProperty(XmlReader.java:166)
  | at 
gnu.xml.aelfred2.JAXPFactory$JaxpParser.setProperty(JAXPFactory.java:147)
  | at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:423)
  | at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:389)
  | at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
  | at 
org.jbpm.pvm.internal.wire.xml.WireParser.clinit(WireParser.java:279)
  | at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.init(JbpmConfigurationParser.java:47)
  | at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.clinit(JbpmConfigurationParser.java:50)
  | at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:178)
  | at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.setResource(JbpmConfiguration.java:150)
  | at org.jbpm.api.Configuration.setResource(Configuration.java:112)
  | at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:164)
  | at org.jbpm.test.JbpmTestCase.initialize(JbpmTestCase.java:81)
  | at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:76)
  | at tcs.com.java.TaskAssigneeTest.setUp(TaskAssigneeTest.java:41)
  | at junit.framework.TestCase.runBare(TestCase.java:128)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:120)
  | at junit.framework.TestSuite.runTest(TestSuite.java:230)
  | at junit.framework.TestSuite.run(TestSuite.java:225)
  | at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
  | ### EXCEPTION ###
  | ### EXCEPTION ###
  | 18:07:16,964 INF | [Parser] couldn't set dynamic validation feature
  | org.xml.sax.SAXNotRecognizedException: 
http://apache.org/xml/features/validation/dynamic
  | at gnu.xml.aelfred2.SAXDriver.getFeature(SAXDriver.java:414)
  | at gnu.xml.aelfred2.XmlReader.getFeature(XmlReader.java:234)
  | at gnu.xml.aelfred2.XmlReader.setFeature(XmlReader.java:206)
  | at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:437)
  | at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:389)
  | at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
  | at 
org.jbpm.pvm.internal.wire.xml.WireParser.clinit(WireParser.java:279)
  | at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.init(JbpmConfigurationParser.java:47)
  | at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.clinit(JbpmConfigurationParser.java:50)
  | at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:178)
  | at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.setResource(JbpmConfiguration.java:150)
  | at org.jbpm.api.Configuration.setResource(Configuration.java:112)
  | at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:164)
  | at org.jbpm.test.JbpmTestCase.initialize(JbpmTestCase.java:81)
  | at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:76)
  | at tcs.com.java.TaskAssigneeTest.setUp(TaskAssigneeTest.java:41)
  | at junit.framework.TestCase.runBare(TestCase.java:128)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:120)
  | at junit.framework.TestSuite.runTest(TestSuite.java:230)
  | at junit.framework.TestSuite.run(TestSuite.java:225)
  | at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  | at 

[jboss-user] [Installation, Configuration Deployment] - Re: unified invoker startup error

2009-10-01 Thread Wolfgang Knauf
Hi,

that's one small typo in web.xml: in the sample attached to JIRA, open 
EJB3-JBM-Servlet-Example\lib\http-uinvoker.sar\unified-invoker.war\WEB-INF\web.xml
 and remove the - beetween the last servlet element and the first 
servlet-mapping element ;-).

Best regards

Wolfgang

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

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


[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

2009-10-01 Thread praenti
Some new output was generated after enabling debugging. But the only thing I 
can see, that the error is not in the login module but somewhere in the servlet 
container.

Is there something special that I have to pay attention when I'm using Struts2 
as framework?


  | ...
  | 16:01:50,566 INFO  [SpiiderLoginModule] Logged into LDAP server, 
javax.naming.ld
  | ap.initialldapcont...@6857da
  | 16:01:50,581 INFO  [SpiiderLoginModule] getRoleSets using rolesQuery: 
SELECT u.u
  | serid, r.role FROM security.application_user u, 
security.application_role
  | r, security.user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND 
ur.r
  | ole_id = r.role, gid: 79A44E672EA8C49B
  | 16:01:50,769 ERROR [[default]] Servlet.service() for servlet default threw 
excep
  | tion
  | javax.ejb.EJBAccessException: Caller unauthorized
  | ...
  | 

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

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


[jboss-user] [JBoss Tools Users] - JBOSS Tools Html editor content assist problem

2009-10-01 Thread mcalpay
Hello,
On eclipse content assist works fine with taglibs like tomahawk, richfaces but 
it doesn't work for our custom components. Anyone have any idea why ?
Thanks

MC

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

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


[jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea

2009-10-01 Thread praenti
My web.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;
  | 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/web-app_2_4.xsd;
  | 
  | display-nameCANCardViewer/display-name
  | context-param
  | !-- the JAAS Login Domain --
  | param-namejaasLoginDomain/param-name
  | param-valuecancardDomain/param-value
  | /context-param
  | context-param
  | !-- the JAAS Client Login Domain --
  | param-namejaasClientLoginDomain/param-name
  | param-valueclient-login/param-value
  | /context-param
  | context-param
  | param-namejmesaPreferencesLocation/param-name
  | param-value
  | /resources/jmesa.properties
  | /param-value
  | /context-param
  | context-param
  | param-namejmesaMessagesLocation/param-name
  | param-valueapplicationResources/param-value
  | /context-param
  | 
  | filter
  | filter-namestruts2/filter-name
  | filter-class
  | org.apache.struts2.dispatcher.FilterDispatcher
  | /filter-class
  | /filter
  | 
  | !--
  | This is not necessary if a ServiceLocator fetches the data from EJB 
layer
  | filter
  | filter-nameSpringOpenEntityManagerInViewFilter/filter-name
  | filter-class
  | 
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
  | /filter-class
  | /filter
  |  
  | filter-mapping
  | filter-nameSpringOpenEntityManagerInViewFilter/filter-name
  | url-pattern/*/url-pattern
  | /filter-mapping
  | --
  | 
  | filter-mapping
  | filter-namestruts2/filter-name
  | url-pattern/*/url-pattern
  | /filter-mapping
  | 
  | servlet
  | servlet-nameworksheet/servlet-name
  | 
servlet-classorg.jmesa.worksheet.servlet.WorksheetServlet/servlet-class
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameworksheet/servlet-name
  | url-pattern*.wrk/url-pattern
  | /servlet-mapping
  | 
  | 
  | listener
  | listener-class
  | org.springframework.web.context.ContextLoaderListener
  | /listener-class
  | /listener
  | 
  | welcome-file-list
  | welcome-fileindex.jsp/welcome-file
  | /welcome-file-list
  | 
  | /web-app
  | 

And the struts2 interceptor I use on sites you have to be logged in:
JaasLoginInterceptor:

  | /**
  |  * 
  |  */
  | package vwg.audi.cancard.ui.interceptor;
  | 
  | import javax.servlet.http.HttpServletRequest;
  | 
  | import org.apache.log4j.Logger;
  | import org.apache.struts2.ServletActionContext;
  | 
  | import vwg.yyy.cancard.business.LoginFacade;
  | import vwg.yyy.cancard.ui.JAASConstants;
  | 
  | import com.opensymphony.xwork2.Action;
  | import com.opensymphony.xwork2.ActionInvocation;
  | import com.opensymphony.xwork2.interceptor.Interceptor;
  | 
  | /**
  |  * JAASLoginFilter
  |  * 
  |  * @author Michael Obster
  |  */
  | public class JAASLoginInterceptor implements Interceptor {
  | 
  | private static final long serialVersionUID = -1983088770872827621L;
  | 
  | private Logger log = Logger.getLogger(this.getClass());
  | 
  | String loginDomain = ;
  | String clientLoginDomain = ;
  | 
  | LoginFacade loginFacade;
  | 
  | @Override
  | public void init() {
  | 
  | }
  | 
  | @Override
  | public String intercept(ActionInvocation actionInvocation) throws 
Exception {
  | loginDomain = 
ServletActionContext.getServletContext().getInitParameter(jaasLoginDomain);
  | clientLoginDomain = 
ServletActionContext.getServletContext().getInitParameter(jaasClientLoginDomain);
  | if (log.isDebugEnabled()) {
  | log.debug(init JAASInterceptor: loginDomain: + 
loginDomain +  clientLoginDomain: + clientLoginDomain);
  | }
  | 
  | HttpServletRequest request = ServletActionContext.getRequest();
  | String servletPath = request.getServletPath();
  | String pathInfo = request.getPathInfo();
  | String path = (servletPath == null ?  : servletPath)
  | + (pathInfo == null ?  : pathInfo);
  | if (log.isDebugEnabled()) {
  | log.debug(Login INTERCEPT);
  | }
  | loginFacade = new LoginFacade(loginDomain, clientLoginDomain);
  | 
  | 
  | if (!JAASConstants.USER_IS_VALID.equals(request
  | .getSession().getAttribute(
  |  

[jboss-user] [Clustering] - Re: Non clustered Queue

2009-10-01 Thread bstansbe...@jboss.com
Should be possible, yeah.

I haven't tried this myself, so beware, test carefully, be prepared for 
possible bumps in the road etc.

But you should be able to:

1) Remove the server/all/deploy-hasingleton/jms folder
2) Replace the contents of server/all/deploy/jms with those from 
server/default/deploy/jms

The key thing here, is the JMS server is no longer a singleton -- each AS 
instance is running a JMS server. That means you need to configure them so they 
aren't all trying to persist to the same place in your DB. Each needs to write 
to a separate catalog (in a shared db) or each to its own db.

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

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


[jboss-user] [jBPM Users] - jBPM4 - .bar deployment to embedded jBPM

2009-10-01 Thread nilspreusker
Hi all,

if I'm not mistaken, there is currently no deployment mechanism for .bar files 
for jBPM as an embedded framework (e.g. in a Spring application). In other 
words, to deploy both jPDL files and task forms, every resource has to be added 
separately like this:

deployment.addResourceFromClasspath(be/jorambarrez/jbpm4/demo/taskform/process.jpdl.xml);
  | 
deployment.addResourceFromClasspath(be/jorambarrez/jbpm4/demo/taskform/process.png);
  | 
deployment.addResourceFromClasspath(be/jorambarrez/jbpm4/demo/taskform/verify_request.ftl);
  | 
deployment.addResourceFromClasspath(be/jorambarrez/jbpm4/demo/taskform/request_vacation.ftl);
  | 

Joram Barrez also mentions this in his blog:

anonymous wrote : Do note that [...] you'll need to add all the forms to the 
deployment. We're looking into ways of simplifying this in a next release.

I've checked the JIRA, but didn't find anything for the next two releases (4.2 
and 4.3). So I'm wondering what the status of this is, maybe someone can point 
me to a JIRA case or a thread in the development forum that I might have 
missed... Cheers! Nils

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

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


[jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i

2009-10-01 Thread bstansbe...@jboss.com
First off, if you are using EAP you are quite likely a support customer. If so 
you should open a ticket on the Customer Support Portal, where you'll get much 
better support than I can provide in the half hour or so I day I spend on this 
forum.

A basic debugging step is to take a heap histogram on n1 a) before restart n2 
b) after n1's memory usage starts climbing c) before restarting n2. That will 
give a picture of what types of objects are increasing in the heap.

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

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


[jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables

2009-10-01 Thread c4s4l
So there is no way of knowing what is the task name or the activity name that 
I'm in? 

Thanks,
Sergio 

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

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


[jboss-user] [JBoss AOP Users] - Where does JBoss cache files?

2009-10-01 Thread oneworld95
Hi. We're running into some odd behavior with an app on JBoss 4.2.3.GA: We can 
make modifications to it, put the WAR file on our server, see it deployed in 
the log, and not see the server-side changes when we load the pages. 

Does JBoss cache files somewhere? How can we be sure we're running the latest 
version of our app? Thanks.

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

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


[jboss-user] [EJB 3.0 Users] - Question regarding PersistenceContext propagation

2009-10-01 Thread rmz
Hi everyone,

I have a secenario similar to the following. There are different persistent 
entity classes, a, b and c. Entity a contains one ore more of b, and b 
contains one or more of c.

Also, there are three different stateful session beans that wrap the three 
entities for client access, e.g., entity a is wrapped by stateful Bean A,
b is wrapped by stateful bean B and correspondingly for c and C.

Now when a client asks for entity a it gets access via a bean interface to A. 
When persisting or loading the entity structure this works via A (with
the PersistenceContext of A).

In all bean classes A, B, C I'm using Extended Persistent Contexts which I 
assume are propagated (from A -- B -- C) to the child beans when the
parent beans instantiate the childs.

However, it seems that the Persistence Context is not properly propagated by 
the container although the EntityManager's are the same for all beans
A, B, C. This means, entities that are attached to the Entity Manager in bean A 
are no longer attached to the same Entity Manager when called in bean B. To my 
understanding this can only happen when the persistece context is not properly 
propagated.

Can somebody provide an advice about how to ensure that the persistence context 
is propagated? I looked through a number of resources including Hibernate in 
Action but did not find something useful. Maybe I'm missing some annotation. 
Unfortunately I cannot easily construct a simple example because the entire 
thing is embedded in a larger project.

Thanks in advance for your comments,
-Rainer

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

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


[jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files?

2009-10-01 Thread oneworld95
Sorry about that. Which forum for this topic?

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

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


[jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files?

2009-10-01 Thread kabir.k...@jboss.com
Wrong forum

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

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


[jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files?

2009-10-01 Thread oneworld95
I think I found the correct forum, though I don't know how to move a topic from 
one forum to another: 
http://www.jboss.org/index.html?module=bbop=viewforumf=287

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss fallback mechanism for authentication methods

2009-10-01 Thread Wolfgang Knauf
Hi Steve,

this is possible. JBoss security is configured through a file 
login-config.xml, where you declare the login modules for security domains.
There is an option for each of those configs whether the login module has to 
succeed or whether another module is used as fallback when it fails.

You might start with the JBoss security FAQ: 
http://www.jboss.org/community/wiki/SecurityFAQ

Sorry for my short reply, I don't have much more time now, but I am willing to 
help another day.


Best regards

Wolfgang

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

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


[jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem

2009-10-01 Thread akazakov
What version of JBoss Tools are you using?
Do you have tld or only facelet tag lib?

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

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


[jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i

2009-10-01 Thread nikolay.elenkov
Thank you for your reply. 

Those are our customer's servers, so I don't have a direct line to JBoss 
customer support, but I might try to have a ticket opened once I have something 
more concrete. 

I am planning on getting a heap dump when I get the chance to reproduce this, 
but I was wondering how this is tied to clustering. I did some simple tests, 
and it does not seem (at least from the org.jboss.cache logs) that any 
replication happens while n1 is being shut down. But still something is 
triggering increased memory usage on n2 at exactly this point. Is there any 
other log category that might give more insight into what is happening? 





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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss fallback mechanism for authentication methods

2009-10-01 Thread Wolfgang Knauf
OK, having some more time ;-).

I think I misunderstood your question: you are still at the web level of 
security configuration, but I was much deeper in the security config ;-).

I think for the web layer, this is not possible. The only way I can imagine is 
that you call the authentication yourself using this: 
http://www.jboss.org/community/wiki/WebAuthentication
If the certificate login attempt fails, you might perform a user/password login.

Or you could try to find out how to extend JBoss to use multiple auth methods.


For the JBoss specific config of the multiple login modules, here is a helpful 
link: 
http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.2.0.cp07/html/Server_Configuration_Guide/Security_on_JBoss-Defining_Security_Domains.html
See the sample for an application-policy named todo. 

Hope this helps

Wolfgang


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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread noicangi
Thanks Sebastian for the information it's a very complete answer, but on 
eclipse galileo using the jboss tools m3, i create a java proyect and create a 
bpm4 process definition, but the libraries are not copied into de the project, 
also the build.xml, jbpm.cfg.xml,jbpm.hibernate.cfg.xml and other 
jbpm.properties files. how can i do that? it is posible to put this on the jbpm 
user guide? 

i'm new in jbpm and i'm recently change from jbpm3 to jbpm4.

thanks

noicangi



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

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


[jboss-user] [JBoss Cache Users] - Re: JBossCache 3.2.1.GA released

2009-10-01 Thread RichardTaylor
Thanks for the good news.

I'm assuming this page 
(http://www.jboss.org/community/wiki/JBossCacheDownloadsPage) will be updated 
with the 3.2.1 release for downloading?

For installing JBoss Cache 3.2.1 into JBoss AS 5.1.0, is it safe to drop the 
updated JBoss Cache (3.2.1) and JGroups (2.6.13) jars into their respective 
places in JBoss AS?  Or are there additional configuration tweaks that need to 
be made?  (I haven't been able to find documentation on this topic, so feel 
free to point me there if I'm missing it).

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

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


[jboss-user] [JBoss Cache Users] - Re: JBossCache 3.2.1.GA released

2009-10-01 Thread RichardTaylor
Thanks for the reply on the blog, I was just able to download it from 
http://repository.jboss.org/maven2/org/jboss/cache/jbosscache-core/3.2.1.GA/ .  

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

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


[jboss-user] [EJB 3.0 Users] - Problem consuming EJB3 with remote client between JBoss 5 an

2009-10-01 Thread rodrigorjo
Hello everyone.

I have a problem that I really need to resolve as fast as possible. 
I have an EJB3 application deployed on JBoss 5.1.0.GA. 
Consuming those EJB3 with remote clients in other applications also deployed in 
JBoss 5 works fine.
But the problem is that I need to consume one EJB3 in a client that has to be 
deployed in a JBoss 4.2.3.GA. 
I always get ClassCastException, I imagine because of diferent ClassLoaders. 
I can't find anywhere what I have to do. I tryed to put several JBoss5 jars in 
the classpath of the application running in JBoss 4, but still can't manage to 
make it work.
The articles I found about ClassLoaders are usualy about isolating applications 
running in the same JBoss, but I want to consume in a remote client in a 
diferent JBoss.
Please, can somebody tell me or lead me to some article or document to help me?

Thanks,

Rodrigo

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

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


[jboss-user] [JMX] - Exception while Server Shutdown

2009-10-01 Thread njrfrens
As part of slimming the Jboss default server, I have removed couple of things 
in jboss\server\default directory without complete knowledge.

After doing that, while trying to shutdown the server by calling
shutdown -S, I'm getting the below error

Exception in thread main javax.naming.NameNotFoundException: jmx not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:595)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | 
  | at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.jboss.Shutdown.main(Shutdown.java:214)

Can somebody please let me know what I might have deleted by mistake?

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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread sebastian.s
Hi noicangi,

in the section of the user's guide describing the installation of jBPM there is 
also the step of adding a library entry for the jBPM libraries. I have done 
this and afterwards I just use Add user library in eclipse chosing jBPM 
libraries or however you called them to add the libraries to the classpath.

Regarding the configuration files:

To start a new project to make unit tests for experimenting I always copy the 
following files from the example project to my project.


  | jbpm.cfg.xml
  | jbpm.hibernate.cfg.xml
  | jbpm.mail.properties
  | jbpm.mail.templates.examples.xml
  | logging.properties
  | 

Not very convient but works for me. I fully agree that there should be a more 
convient way to quickly define a process and deploy it to jBPM.

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

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


[jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables

2009-10-01 Thread kukeltje
No, not from what I've seen in the code. Reusing taskforms in multiple tasks 
and displaying the taskname sounds like a nice 'enhancement'. Please file a 
Jira issue for this.

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

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


[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

2009-10-01 Thread killian
I have found the origin of my problem.

When tomcat is used org.jbpm.integration.spi.mgmt.ServerConfigFactory return an 
org.jbpm.integration.spi.mgmt.DefaultServerConfig object.

And in org.jbpm.integration.spi.mgmt.DefaultServerConfig the host and the port 
are hard-coded:

  |  public class DefaultServerConfig implements ServerConfig {
  | 
  |private static final String DEFAULT_HOST = localhost;
  | 
  |private static final int DEFAULT_PORT = 8080;
  | 
  |public String getWebServiceHost() {
  |  return DEFAULT_HOST;
  |}
  | 
  |public int getWebServicePort() {
  |  return DEFAULT_PORT;
  |}
  | ...
  | }
  | 

In ServerConfigFactory.java there is a fixme comment : 
// FIXME: workaround for Tomcat: if no JBoss classes were found, fall back to 
defaults
  | 

I would like to know when it will be fixed.

Thanks in advance

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

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


[jboss-user] [jBPM Users] - Re: jbpm 4.1 : Running jbpm test case - issue

2009-10-01 Thread kukeltje
Do you use a custom xml parser (Aelfred) ? Or a specific JDK or

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

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


[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

2009-10-01 Thread kukeltje
look in the jira for an issue. That will tell you when it will be fixed. If 
there is no issue reported please do

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

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


[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

2009-10-01 Thread kukeltje
Is there a jira issue for this? If so, you can see the target for it being 
fixed (might also be empty though). If there is no jira issue, it is not on the 
list for being fixed in the near future. Please file an issue in that case.

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

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


[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

2009-10-01 Thread kukeltje
DUHH why do post get visible delayed... I though one of my posts 
disappeared Sigh

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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread noicangi
thanks again, i configured all libraries like de user guide describes, but as 
you said thats right its not the ideal procedure but if works its just fine.

the only thing thats its not clear for me is that i configured the jbpm 
libraries as the user guide says, but when i create the java project the jbpm 
libraries not apears on the list to include.


im evaluating returning to jbpm3but bpmn notation of jbpm4 its great!

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

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


[jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page

2009-10-01 Thread hamptont
I tried the code from the reference guide but I can't get it working correctly. 
 The following is a test portlet jsp fragment that I'm working with.

The portal page structure is like this


  | pageA
  | pageB
  | pageC
  | 

The jsp fragment below is for a portlet that is on page B and is trying to 
resolve the pageURL to pageC which is a sub-page of pageB


  | %@ taglib uri=http://java.sun.com/portlet_2_0; prefix=portlet %
  | %@ page isELIgnored=false %
  | %@ page import=org.jboss.portlet.JBossRenderRequest %
  | %@ page import=org.jboss.portlet.JBossRenderResponse %
  | %@ page import=org.jboss.portal.api.node.PortalNode %
  | %@ page import=org.jboss.portal.api.node.PortalNodeURL %
  | 
  | portlet:defineObjects/
  | 
  | %
  | JBossRenderRequest req = new JBossRenderRequest(renderRequest);
  | JBossRenderResponse resp = new JBossRenderResponse(renderResponse);
  | 
  | PortalNode thisNode = null;
  | PortalNode linkToNode = null;
  | PortalNodeURL pageURL = null;
  | 
  | thisNode = req.getPortalNode().getParent();
  | if (thisNode != null) linkToNode = thisNode.resolve(pageC);
  | if (linkToNode != null) pageURL = resp.createRenderURL(linkToNode);
  | %
  | 
  | 
  | p
  | thisNode = 
  | %  if (thisNode != null) { %
  | %= thisNode.getName() %
  | %  } else { %
  | null
  | %  } %
  | /p
  | 
  | 
  | 
  | p
  | linkToNode = 
  | %  if (linkToNode != null) { %
  | %= linkToNode.getName() %
  | %  } else { %
  | null
  | %  } %
  | /p
  | 
  | 
  | p
  | pageURL = 
  | %  if (pageURL != null) { %
  | %= pageURL.toString() %
  | %  } else { %
  | null
  | %  } %
  | /p
  | 

This example also produces a bizarre and very long error on the call to 
thisNode.resolve().  I am not sure that I'm getting the references to 
JBossRenderRequest  JBossRenderResponse correctly, but the example in the 
reference guide does not say what the correct way is to get these objects.


  | 12:46:07,397 ERROR [PortalPermissionCollection] Permission check against 
the repository failed
  | org.hibernate.HibernateException: Unable to locate current JTA transaction
  | .
  | 

I'm not sure what to the correct way to do this is but I'm pretty sure I did it 
wrong :)

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

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


[jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables

2009-10-01 Thread c4s4l
Ok, I've created the JBPM-2561 (https://jira.jboss.org/jira/browse/JBPM-2561)
Anyone who also wants this feature, vote for it please.

Thanks,
Sergio

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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread sebastian.s
As I said you explicitly have to add the libraries to the project.

Right click on your project - Select properties - Select Java Build Path

Right there select the tab Libraries and on the right side click Add 
Library, chose User Library in the wizard and click next. Now select the entry 
you previously created according to the documentation.

HTH

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

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


[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

2009-10-01 Thread sebastian.s
I am plagued by the same problem, Ronald. It's kind of annoying.

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

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


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-10-01 Thread sebastian.s
*push*

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

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


[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

2009-10-01 Thread sebastian.s
prachi.mukhija, use the trunk or wait for the next release.

Bernd: If I got it right there will only be bugfixes for jBPM BPEL since there 
is a new JBoss project for BPEL 2.0 called Riftsaw based up-on Apache ODE?? 
Actually my question is: Why are you are playing around with the BPEL 1.x 
implementation?

Best regards

Sebastian

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

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


[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

2009-10-01 Thread camunda
Hi Sebastian.

Look on the date of my post, it was in the beginning of 2008. Riftsaw came this 
year... This is the downside of hijacking threads ;-)

For today you are totally right: If you want BPEL look at Riftsaw, but best is 
to avoid BPEL if you can and go for jPDL or wait for executable BPMN 2.0 ;-)

Cheers
Bernd

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

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


[jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i

2009-10-01 Thread bstansbe...@jboss.com
I don't have any specific log categories, no, as without more information on 
what's increasing in the heap there's not much to go on.

When n1 is shut down, n2 starts getting failover requests and starts doing 
twice as much work, so memory increase is expected. Perhaps the increase would 
be a bit more than you'd expect, as a session that is being actively handled on 
a node takes ~ 2x the memory of one that is just being stored as a backup for 
another node. (That BTW is not the case in JBoss 5.) But whether that's the 
problem, or it's just that n2 is now doing n1's work, or if it's some bug, 
there's not enough information to say.

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

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


[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

2009-10-01 Thread sebastian.s
Thanks for the hint, I got confused completely because  prachi.mukhija posted 
in the same thread and I thought I just overlooked the post.

And no thanks I do not want BPEL at all. :) I can't wait for executable BPMN 
2.0 but right now I am bit worried if it will be accepted by vendors since a 
lot of them have made huge invests in their own execution models.

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

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


[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

2009-10-01 Thread camunda
anonymous wrote : I am bit worried if it will be accepted by vendors since a 
lot of them have made huge invests in their own execution models.

Me not, since they all partizipate in the standardization team of BPMN (we 
joined that as well by the way ;-)). Basically I expect the most of them to 
pimp their BPEL engines to support BPMN. After all, the concepts are not THAT 
miles away (at least, most of them).

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

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


[jboss-user] [JBoss AOP Users] - PLEASE answer me I really need your help

2009-10-01 Thread souma
please where can i find a complete example of introduction (Interface 
introductions+Mixins) of jboss AOP
if anyone wants to help me by mail send me a simple example here is my e-mail 
sourire1...@yahoo.fr

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

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


[jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help

2009-10-01 Thread kabir.k...@jboss.com
In the documentation and tutorials

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

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


[jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help

2009-10-01 Thread souma
yes I found it but it is not complete .. how  can i manage it via a Main class 
for example (I know  it it is a bad question!!!but I'm beginner)

PS: i am sorry for my bad english ..please help me 

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

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


[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread noicangi
thanks sebastian, i was doing the previous steps you mensioned but i was stuck 
on the list because i wasn't able to identify my bpm library that was on user 
libraries.

now i will copy the configuration files and properties to start studing jbpm.

Very grateful 

Noicangi

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

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


[jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1

2009-10-01 Thread lperea
thanks for the fast reply, I've modified my configuration files, but i have a 
problem
When I set up the first SessionFactory (for Jbpm) it works fine, but when I set 
up the second SessionFactory (for the second datasource) it throw this error:


  | exception while executing command 
org.jbpm.pvm.internal.jobexecutor.acquirejobs...@1f7e273
  | org.jbpm.pvm.internal.wire.WireException: couldn't find 
hibernate-session-factory by type to open a hibernate-session
  | at 
org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:66)
  | at 
org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
  | at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
  | at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
  | at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
  | at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)

(I'm not using  JPA) 
any idea?

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

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


[jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1

2009-10-01 Thread unsavory
Sorry, I don't.  

Our second datasource is not being used for jBPM.  We are running jBPM and our 
application code against the same database.  We have a 2nd database for 
accessing some data we get from our partners.

So our usage is slightly different than yours.  It sounds like you have jBPM in 
a different database than your application correct?

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

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


[jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help

2009-10-01 Thread souma
example I want to translate the pattern memnto (from aspectj) to jboss aop 
package MEMENTO;
  | 
  | public class Initiateur  {
  |
  | protected int valeur = 0;
  | 
  | public void incrementation() { 
  | valeur++; 
  | }
  | 
  | public void affichage() { 
  | System.out.println(La valeur courante est :  + valeur); 
  | }
  | 
  | 
  | public  void setMemento(InitiateurI o, Memento m){}
  | }

package MEMENTO;
  | 
  | public class Initiateur1Memento implements InitiateurI{
  | 
  | 
  | 
  | public Initiateur1Memento (){
  | 
  | }
  | 
  | public Memento createMementoFor(InitiateurI o) {
  | if (o instanceof Initiateur) { 
  | Memento m = new Memento() {
  | private Integer state;
  | 
  | public void setetat(Integer state) {
  | this.state = (Integer) state;
  | }
  | 
  | public int  getState(){
  | return state;
  | }
  | };
  | m.setetat(new Integer(((Initiateur)o).valeur));
  | return m;
  | } 
  | else {
  | throw new MementoException(Initialisateur invalide);
  | }
  | }
  | 
  | public void setMemento(InitiateurI o, Memento m) {
  | if (o instanceof Initiateur) {
  | Integer integer = (Integer) m.getState(); 
  | ((Initiateur)o).valeur = integer.intValue();
  | } else {
  | throw new MementoException(Initialisateur invalide);
  | }
  | }
  | }
  | 
package MEMENTO;
  | 
  | public interface InitiateurI {
  | public  Memento createMementoFor(InitiateurI o);
  | 
  | public  void setMemento(InitiateurI o, Memento m);
  | }

package MEMENTO;
  | 
  | public interface Memento { 
  | public void setetat(Integer state);  
  | public int  getState(); 
  | }

public class Main {
  | 
  | 
  | public static void main(String[] args) { 
  | 
  | Memento memento1 = null;  
  | Initiateur initiateur = new Initiateur(); 
  | 
  | for (int i=1; i=5; i++) {
  | if (i==1){memento1= 
Initiateur1Memento.createMementoFor(initiateur);}
  | else {memento1.setetat(initiateur.valeur);}
  | 
  | initiateur.incrementation();
  | initiateur.affichage();
  | 
  | }
  | System.out.println();
  | System.out.println(  - annuler);
  | Initiateur1Memento.setMemento(initiateur, memento1);
  | initiateur.affichage();
  | 
  | 
  | }
  | 
  |  
  | }


?xml version=1.0 encoding=UTF-8 standalone=yes?
  | aop
  | 
  | 
  | introduction expr=has(* *-incrementation())
  |   mixin
  |  interfaces
  | MEMENTO.InitiateurI
  |  /interfaces
  |  classMEMENTO.Initiateur1Memento/class
  |  constructionnew MEMENTO.Initiateur1Memento(this)/construction
  |   /mixin
  |/introduction
  | 
  | /aop


eclipse tells me 2 error in the Main 
line 14 The method createMementoFor(InitiateurI) in the type 
Initiateur1Memento is not applicable for the arguments (Initiateur)

line23 The method setMemento(InitiateurI, Memento) in the type 
Initiateur1Memento is not applicable for the arguments (Initiateur, Memento)


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

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


[jboss-user] [JMX] - Re: Exception when deploying a XMBean

2009-10-01 Thread rsobchak
a couple of things i have discovered. 

First, i was able to deploy an XMBean if the MBean classes were not in a jar 
file contained in the .sar file. 

Second, I could not get an XMBean to deploy  within the .esb file. Maybe a 
limitation of the esb?

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

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


[jboss-user] [Persistence] - Re: JBoss does not reconnect after mysql-server restart

2009-10-01 Thread henk53
Anyone any ideas?

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

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


[jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1

2009-10-01 Thread lperea
Correct, we have an existing app running in informix and the JBPM in postgress.

But seems that finally is working, I've just modify the jbpm.cfg.xml to add the 
name of the sessionFactory to use. :)

this is the line:

  | hibernate-session current=true factory=sessionFactory/
  | 

some tricky, but it works :)

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

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


[jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1

2009-10-01 Thread unsavory
Awesome!  Glad you got it working.

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

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


[jboss-user] [jBPM Users] - Rolling back to a previous state in jBPM 3.3.2.GA

2009-10-01 Thread ramapala
Hi,

We are using jBPM 3.3.2.GA. The business wants to have rollback functionality. 
i.e., Move the token to a previous state in the workflow. Is there native 
suppor for this in jBPM ?

-Ram

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

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


[jboss-user] [JBoss Messaging Users] - JBoss messaging hangs with an Http client

2009-10-01 Thread 3adil
Hello,

I have installed JBoss messaging 1.4.4 on JBoss 4.2.3 (jdk6) (with JBoss 
remoting 2.2.3) and this works fine with a jnp client.

When I use an HTTP client with the following JNDI properties:

HttpConnectionFactory
org.jboss.naming.HttpNamingContextFactory
http://localhost:8080/invoker/JNDIFactory
queue/testQueue

The message is well sent to the sever, and I see it in my Oracle database. 
However the call never ends at the client side, seems like the call hangs.

Your help will be highly appreciable !

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

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


[jboss-user] [JBoss Web Services Users] - Re: OutOfMemory exception when loading xml schemas in WSDL

2009-10-01 Thread wellerk
Still had issues with deploying complex hl7 webservice.  Here is a patch to 
WSDL11Reader (version 3.1.1) that solved my HL7V3 issues:


  | --- WSDL11Reader.java   2009-09-25 13:06:36.847867600 -0400
  | +++ WSDL11Reader.java.new   2009-10-01 18:46:58.741045900 -0400
  | @@ -145,6 +145,8 @@
  |  
  | // Temporary files used by this reader.
  | private ListFile tempFiles = new ArrayListFile();
  | +   private MapString, String publocation = new HashMapString, String();
  | +   private ListString published = new ArrayListString();
  |  
  | // SWA handling
  | private MapQName, ListString skippedSWAParts = new HashMapQName, 
ListString();
  | @@ -423,7 +425,6 @@
  |  String localname = domElementClone.getLocalName();
  |  try
  |  {
  | -   ListURL published = new LinkedListURL();
  | if (import.equals(localname))
  | {
  |processSchemaImport(destTypes, wsdlLoc, domElementClone, 
published);
  | @@ -436,8 +437,8 @@
  | {
  |throw new IllegalArgumentException(Unsuported schema 
element:  + localname);
  | }
  | -   published.clear();
  | -   published = null;
  | +//   published.clear();
  | +//   published = null;
  |  }
  |  catch (IOException e)
  |  {
  | @@ -529,7 +530,7 @@
  |}
  | }
  |  
  | -   private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element 
importEl, ListURL published) throws IOException, WSDLException
  | +   private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element 
importEl, ListString published) throws IOException, WSDLException
  | {
  |if (wsdlLoc == null)
  |   throw new IllegalArgumentException(Cannot process import, parent 
location not set);
  | @@ -542,16 +543,25 @@
  |  
  |URL locationURL = getLocationURL(wsdlLoc, location);
  |Element rootElement = DOMUtils.parse(new 
ResourceURL(locationURL).openStream());
  | -  if (!published.contains(locationURL))
  | +  if (!published.contains(locationURL.toExternalForm()))
  |{
  | - published.add(locationURL);
  | + published.add(locationURL.toExternalForm());
  |   URL newloc = processSchemaInclude(types, locationURL, 
rootElement,  published);
  | - if (newloc != null)
  | + if (newloc != null) {
  |  importEl.setAttribute(schemaLocation, 
newloc.toExternalForm());
  | +publocation.put(locationURL.toExternalForm(), 
newloc.toExternalForm());
  | + }
  | +  }
  | +  else {
  | +  if (publocation.containsKey(locationURL.toExternalForm())) {
  | +  if (publocation.get(locationURL.toExternalForm()) != null) {
  | + importEl.setAttribute(schemaLocation, 
(String)publocation.get(locationURL));  
  | +  }
  | +  }
  |}
  | }
  |  
  | -   private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element 
schemaEl, ListURL published) throws IOException, WSDLException
  | +   private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element 
schemaEl, ListString published) throws IOException, WSDLException
  | {
  |if (wsdlLoc == null)
  |   throw new IllegalArgumentException(Cannot process iclude, parent 
location not set);
  | @@ -580,12 +590,21 @@
  |  
  |   URL locationURL = getLocationURL(wsdlLoc, location);
  |   Element rootElement = DOMUtils.parse(new 
ResourceURL(locationURL).openStream());
  | - if (!published.contains(locationURL))
  | + if (!published.contains(locationURL.toExternalForm()))
  |   {
  | -published.add(locationURL);
  | +published.add(locationURL.toExternalForm());
  |  URL newloc = processSchemaInclude(types, locationURL, 
rootElement, published);
  | -if (newloc != null)
  | +if (newloc != null) {
  | includeEl.setAttribute(schemaLocation, 
newloc.toExternalForm());
  | +
publocation.put(locationURL.toExternalForm(),newloc.toExternalForm());
  | +}
  | + }
  | + else {
  | + if (publocation.containsKey(locationURL.toExternalForm())) {
  | + if (publocation.get(locationURL.toExternalForm()) != 
null) {
  | +includeEl.setAttribute(schemaLocation, 
(String)publocation.get(locationURL));
  | + }
  | + }
  |   }
  |}
  |  
  | 

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

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

[jboss-user] [jBPM Users] - Re: jbpm4.1 process project

2009-10-01 Thread kukeltje
you can also add al these config files in a jar and add that to the library as 
well. Or put them in a directory and add that to the library (that's what I did)

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

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


[jboss-user] [jBPM Users] - Re: Rolling back to a previous state in jBPM 3.3.2.GA

2009-10-01 Thread kukeltje
there is no 3.3.2.GA, and rollback functionality is not there natively since it 
is very dependent on the business side of things. The times I implemented 
'rollback' functionality I explicitly modeled it in the process. Like you would 
when e.g. sending a correcting invoice. You do not retract the previous one, 
but send a new one

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

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


[jboss-user] [Installation, Configuration Deployment] - Install JBoss

2009-10-01 Thread benzeman
Hi all.

i am new user to Jboss . I have a question to ask all help me .

i am just download jboss-5.1.0.GA.zip , of course i already set up the 
enviroment of JAVA with JDK to be 1.6.0_16 .

How can is run Jboss ?
How to configuration Jboss run on eclipse ?

thank in advance for any helps.

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

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


[jboss-user] [JNDI and Naming] - Re: JNDI lookup for object in remote server returns local ob

2009-10-01 Thread nakker
Have you tried 

properties.put(jnp.disableDiscovery, true);

Worked for me in a similar situation. This property forces the connection to 
only connect to the specified server and no one else (including self). It does 
have clustering implications you need to examine though.


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

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


  1   2   >