[Design of JBoss jBPM] - Re: console file upload
by tom.baeyens@jboss.com
to get started, i think we need to add the upload servlet again without security.
but the point is valid and it needs to be fixed. but i only want to do that in 3.2.2 at the earliest
one of the ideas we had was to see if we can add authentication to the file upload.
even in case we get the http based authentication to work, it still results in an equally big security hole. since we want things to work out of the box, the default unzip installation will have to contain a preconfigured designer with the username and password for process deployment. Then the server, will have the same data in the identity component.
a separate web app doesn't seem to be a solution either i think. as it is easier to delete the .war then removing the servlet from the web.xml. BUT... then we have to mess with building the 3 separate wars, both containing the jbpm libs in duplicate. Also we have to mess with the enterprise.ear deployment. Removing the upload servlet from the enterprise ear deployment will be more painfull then just removing the servlet configuration from the web.xml
so we have to find a decent solution in 3.2.2, but in the meantime, i would like to have the upload servlet reintroduced to get the suite working again as i want to work my way to releasing 3.2.1.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049734#4049734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049734
17 years, 7 months
[Design of JBoss jBPM] - console file upload
by tom.baeyens@jboss.com
the graphical designer can't seem to do a file upload
David, could you have a look at this ?
java.io.FileNotFoundException: http://localhost:8080/jbpm-console/upload
| at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
| at org.jbpm.ui.util.ProcessDeployer.deployProcessWithServlet(Unknown Source)
| at org.jbpm.ui.util.ProcessDeployer.access$3(Unknown Source)
| at org.jbpm.ui.util.ProcessDeployer$1.run(Unknown Source)
| at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
| at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
| at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
| at org.jbpm.ui.util.ProcessDeployer.showProgressMonitorDialog(Unknown Source)
| at org.jbpm.ui.util.ProcessDeployer.deploy(Unknown Source)
| at org.jbpm.ui.editor.form.deployment.DeploymentForm$1.widgetSelected(Unknown Source)
| at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
| at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
| at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
| at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
| at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
| at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
| 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.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
| at org.eclipse.core.launcher.Main.run(Main.java:977)
| at org.eclipse.core.launcher.Main.main(Main.java:952)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049719#4049719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049719
17 years, 7 months
[TODO - DEVELOPMENT] - drools - decision tables
by kdalai
hi to all,
we wrote some rules and they are working fine actually we need how those rules will be changed to decision tables, and that can be accessed by user(non-developer)
One of the Rule is as follows
package com.leave
import com.leave.paternity;
rule "Paternity Approved"
salience 1000
when
paternity : paternity(gender == 'male',status =='married',role =='permanent',fincount < 1,tenureCount <=2 ,noofDays==2);
// fincount -- within that financial year noof paternity leave count (Need to obtain by query)
// tenurecount -- For his/her employee no of paternityleaves in tenure (Need to obtain by query)
then
paternity.available = 2; //return that 2 days avaliable
end
.......... We have to deliver this 31st may ......... please give us some suggestions..................... The HR people have to change the rules........ how they vill access these drl file ...........
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049710#4049710
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049710
17 years, 7 months