JBoss 4.2.3 and Platform JMX
by fernando@lozano.eti.br
Hi there,
I have an application that prevents JBoss AS 4.2.3. with Sun JDK1.5.0_22 from starting with JMX
remote enabled, so I cannot use jconsole to inspect the Platform and JBoss MBeans. If I remove the
application, JBoss starts fine with JMX Remote. If I remove JMX Remote flags from run.conf
JAVA_OPTS, JBoss starts fine with the application.
When I try to start JBoss AS with both the application and JMX Remote enabled, each and every WAR
package triggers and error like:
2010-07-30 09:06:13,466 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment:
file:/home/lozano/jboss-4.2.3.GA/server/wcm10/deploy/exoplatform.sar/01eXoResources.war
javax.management.InstanceNotFoundException: jboss.system:service=ServiceController
I have not checked if those erros happen only for WAR packages or if they also happen for another
kinds of packages. My server.log becomes so full with erros that it's pointless to send them to the
list. This was only thr first one.
I have used a brand-new install from JBoss and from the app. The app is eXo WCM 1.0 availabe from
objectweb.org.
I am used to add JMX Remote following instructions from
http://community.jboss.org/wiki/JBossMBeansInJConsole and using a number of JMX clients besides
jconsole, for instance Zabbix Zapcat, and this was the first time I had problems. I have no idea
about what to look for in the application or JBoss configs that could cause this.
[]s, Fernando Lozano
14 years, 5 months
[jBPM] - How to handle failed processes/states due to server crashes?
by Puneet Kankane
Puneet Kankane [http://community.jboss.org/people/pkk4jbpm] created the discussion
"How to handle failed processes/states due to server crashes?"
To view the discussion, visit: http://community.jboss.org/message/555402#555402
--------------------------------------------------------------
Hi,
I have a Spring 3.0 + jBPM 4.3 setup, basically a webapplication with embedded jBPM.
Basic flow of my application:
On receiving a message on queue, my application creates a process instance based on the process name within message.
Once started my processes interact with other services(SLSB invoked by MDrivenBeans) through jms.
I would like to know how I can handle scenarios like:
1. Failed process states due to any server crash. How can I restart the processes from the point where they failed?
2. How will transaction be rolled back once my application is up again?
3. How shall I do Exception Handling? May be Custom node? I know this has been asked in other threads too, but I asking it here also because: a) since I am new to jBPM I am not able to understand it, may be a sample example would do. b) I feel exception handling needs to be taken care in such a application where we are interacting with jms & other external services.
Please guide me by helping me understand jBPM in such scenarios. I want to build a scalable solution for my project.
Thanks in advance,
Puneet
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555402#555402]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
Re: [jboss-user] [jBPM] - [Q] JBPM 4.3 to 4.4 Upgrade Issue
by Ken Hoying
Ken Hoying [http://community.jboss.org/people/khoying] replied to the discussion
"[Q] JBPM 4.3 to 4.4 Upgrade Issue"
To view the discussion, visit: http://community.jboss.org/message/555400#555400
--------------------------------------------------------------
Thank you for the assistance.
In the expression below, jbpmDecideHasSupplierApprover is a Spring bean. We have integrated Spring with our JBPM inplementation.
<decision g="901,209,48,48" name="decision.supplierInitApprover">
<handler expr="#{jbpmDecideHasSupplierApprover}"/>
<transition g="-50,-18" name="result.approver" to="state.supplierInitApproval"/>
<transition g="30,-80" name="result.noApprover" to="state.memberReview">
</decision>
We had difficulty getting JBPM to see our entire Spring context. Our Spring configuration is broken into several files and for some reason JBPM will only see the configuration and the beans in the file that it was created or loaded in.
As a result, We made a small extension to the Juel Script Engine and the configuration in order to expose out entire Spring context. This all worked great until we upgraded.
<script-manager default-expression-language="juel" default-script-language="juel"
read-contexts="execution, environment, process-engine, spring, springSca" write-context="">
<script-language name="juel" factory="com.premierinc.sca.agreement.util.ScaJuelScriptEngineFactory" />
</script-manager>
Any help would be GREATLY appreciated! We could really use the new API features of 4.4 to be able to determine the transitions dynamically. However, if we have to give up Spring intergration then it is no longer viable.
Ken
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555400#555400]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[JBoss Portal] - Server error 403 when accessing a page without access
by Dwarakanathan Thiru
Dwarakanathan Thiru [http://community.jboss.org/people/dwarak_cit] created the discussion
"Server error 403 when accessing a page without access"
To view the discussion, visit: http://community.jboss.org/message/555381#555381
--------------------------------------------------------------
Hi All,
I have recently joined JBoss portal community and I am looking forward for a great working experience here.
I have setup my portlets, instances and objects in the xml files. Where one of my page has VIEW access for a specific user role.
If I try to access the page with a different user ( who does not have access), I get a 403 error.
I verified that the page say "Mypage-News" which has a view access to User role "NewsUser", is associated to the parent page "main".
This "main" has VIEW action. If i set it up to "VIEWRECURSIVE", I get the "Mypage-News", But still I can prohibit the non-users to see my INSTANCE by setting the security at the instance level.
Please help me on resolving the 403 error issue. Do we get this error if we dont have an access to the PORTAL PAE we are requesting?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555381#555381]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
Re: [jboss-user] [EJB 3.0] - JAAS + EJB3.0 + Jboss unable to propaogate
by Gaurav Agarwal
Gaurav Agarwal [http://community.jboss.org/people/Gauravag] replied to the discussion
"JAAS + EJB3.0 + Jboss unable to propaogate"
To view the discussion, visit: http://community.jboss.org/message/555342#555342
--------------------------------------------------------------
hi ,
As such i have completed with JAAS Authentication & autherization in enterprise application.
but now the issue is ,
I have my web applicatin where i am accepting user name & password and validationg that user through login module in one action means calling login method over login context. the user is authenticated and after calling ejb method in same method (action method ) i am able to propogate principal and roles in ejb side. but the issue is the login context wont be over web application, mean to say if i want to call ejb in other action the previous login context information will not get propogate to ejb side. In that case i again need to call login method of login context then only the information can be pass.
My question is whether in web we need to create login context or need to call login context login() method once or with every request of web we need to call login() method.
plz solve this issue ...
Thanx
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555342#555342]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months