[JBoss JIRA] Created: (GPD-190) Add policy methods like canStart() and canStop() to NodeElement interface
by Matthias Hanisch (JIRA)
Add policy methods like canStart() and canStop() to NodeElement interface
-------------------------------------------------------------------------
Key: GPD-190
URL: http://jira.jboss.com/jira/browse/GPD-190
Project: JBoss jBPM GPD
Issue Type: Feature Request
Environment: Does not matter
Reporter: Matthias Hanisch
Assigned To: Koen Aers
NodeGraphicalNodeEditPolicy.canStart() method consists of a sum of instanceof checks. Same for canStop().
Especially if you want to create own special nodes, it would be easier if canStart(), canStop() would be implemented by NodeElement interface (there we have the idea of transactions, too).
Another policy method which does not exist yet (I just have a use case for that) would be
boolean needsNamedTransitions()
to specify that a node wants all its leaving transactions to be named.
--
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
15 years, 4 months
[JBoss JIRA] Created: (JBAS-5089) Prefix string too short
by pedalshoe (JIRA)
Prefix string too short
-----------------------
Key: JBAS-5089
URL: http://jira.jboss.com/jira/browse/JBAS-5089
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-5.0.0.Beta2
Environment: MS Windows XP
JDK1.5.0_10
JBoss AS 5.0.0.Beta2
Netbeans 6.0
Reporter: pedalshoe
Assigned To: Dimitris Andreadis
When trying to deploy a Visual web application from Netbeans i get: java.lang.IllegalArgumentException: Prefix string too short
19:43:01,265 ERROR [TomcatDeployer] Error during deployment: vfsfile:/C:/jboss-5.0.0.Beta2/server/default/deploy/JB.war
org.jboss.deployers.spi.DeploymentException: Failed to create web module
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:405)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:78)
at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
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 org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerAspect.java:53)
at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_z_process_31342381.invoke(MainDeployerAspect_z_process_31342381.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:302)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: Prefix string too short
at java.io.File.createTempFile(File.java:1423)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:321)
... 28 more
19:43:01,765 WARN [HDScanner] Failed to process changes
org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfsfile:/C:/jboss-5.0.0.Beta2/server/default/deploy/JB.war -> java.lang.IllegalArgumentException: Prefix string too short
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.checkIncomplete(HDScanner.java:346)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:303)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
--
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
15 years, 4 months