[JBoss JIRA] Created: (JBPM-1011) 3.2.1 Admin Console: Logout after a timeout
by Burr Sutter (JIRA)
3.2.1 Admin Console: Logout after a timeout
-------------------------------------------
Key: JBPM-1011
URL: http://jira.jboss.com/jira/browse/JBPM-1011
Project: JBoss jBPM
Issue Type: Bug
Components: Web Interface
Affects Versions: jBPM jPDL 3.2.1
Reporter: Burr Sutter
Assigned To: Tom Baeyens
Priority: Minor
Follow these steps using the 3.2.1 jPDL Suite
- Bring up the jBPM Admin Console: http://localhost:8080/jbpm-console in a browser
- Login: admin, admin
- Wait N Minutes for web session to timeout (I didn't look to see what the default was)
- Select "Log Out" from the top right-hand corner of the Admin Console
- Login: admin, admin
The following exception shows up.
15:17:05,421 WARN [lifecycle] phase(RESTORE_VIEW 1,com.sun.faces.context.FacesC
ontextImpl@1bc5ebf) threw exception: java.lang.NullPointerException null
org.jboss.gravel.common.phase.GravelPhaseListener.afterPhase(GravelPhaseListener
.java:112)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:9
6)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
30)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
And some more info:
15:17:05,421 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
threw exception
javax.faces.application.ViewExpiredException: viewId:/sa/token.jsf - View /sa/to
ken.jsf could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav
a:187)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years
[JBoss JIRA] Created: (JGRP-538) ENCRYPT protocol throwing IllegalBlockSizeException
by vivek v (JIRA)
ENCRYPT protocol throwing IllegalBlockSizeException
---------------------------------------------------
Key: JGRP-538
URL: http://jira.jboss.com/jira/browse/JGRP-538
Project: JGroups
Issue Type: Bug
Affects Versions: 2.5
Environment: Windows, Linux
Reporter: vivek v
Assigned To: Bela Ban
Priority: Critical
Fix For: 2.5
I use NotificationBus channel and in the member joined method I call, bus.sendNotification(Node) - passing a custom Node object. Upon this I get the following error on the newly joined member,
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA13*..)
at javax.crypto.Cipher.doFinal(DashoA13*..)
at org.jgroups.protocols.ENCRYPT._decrypt(ENCRYPT.java:838)
at org.jgroups.protocols.ENCRYPT.decryptMessage(ENCRYPT.java:831)
at org.jgroups.protocols.ENCRYPT.handleUpMessage(ENCRYPT.java:672)
at org.jgroups.protocols.ENCRYPT.up(ENCRYPT.java:533)
I could reproduce the same problem using NotificationBusDemo.java in JGroups 2.5 CR1. Here is what I did,
1) Generate a keystore using JGroups' KeyStoreGenerator (I also tried with JDK 1.6's keytool to generate secret key)
2) Add the following line in the protocol stack of NotificationBusDemo.java in the main(),
"ENCRYPT(key_store_name=jgroups.keystore;store_password=storePassed;alias=mykey):" +
3) Add the following line in the memberJoined(..) method of NotificationBusDemo.java
bus.sendNotification("Member Joined");
4) Run 2 instances of NotificationBusDemo.java
5) You'll get the following error message,
> 3828 [WARN] ENCRYPT.up(): - exception occurred decrypting message
javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
I am running this on Windows using JGroups 2.5 CR1. The original thread for this issue is at,
http://sourceforge.net/forum/forum.php?thread_id=1751571&forum_id=18795
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years
[JBoss JIRA] Created: (JBRULES-549) Better support for linebreaks in LHS
by Dirk Bergstrom (JIRA)
Better support for linebreaks in LHS
------------------------------------
Key: JBRULES-549
URL: http://jira.jboss.com/jira/browse/JBRULES-549
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Reporter: Dirk Bergstrom
Assigned To: Mark Proctor
I have some rules with very long LHS expressions. I'd like to split them across multiple lines for readability. However, the parser has limited support for breaks.
These work:
when
ObjectTypeName( p0_exit_epoch > (RUM.now()),
p0_exit_epoch > (RUM.daysAgo(7)) )
variable :
OtherObjectType($rlis : rlis -> (RUM.countFieldsMatching($rlis, "state", "dev-maybe") > 0))
These don't:
variable : OtherObjectType($rlis :
rlis -> (RUM.countFieldsMatching($rlis, "state", "dev-maybe") > 0))
variable : OtherObjectType(($rlis : rlis ->
(RUM.countFieldsMatching($rlis, "state", "dev-maybe") > 0))
variable : OtherObjectType($rlis : rlis -> (RUM.countFieldsMatching($rlis,
"state", "dev-maybe") > 0))
While I'm at it, I'd love to have support for multiline expressions in DSL files, but I can imagine that would be a bit harder...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years