[JBoss Tools (users)] - Re: JBoss Tools 3.0.0.Beta1 Released
by rob.stryker@jboss.com
>But... Is there any reason why the development-update-site only contains >Alpha1-Builds?
>http://download.jboss.org/jbosstools/updates/development/
I just clicked the link and saw only beta builds:
-R200810311334 JBossTools Development Release: 3.0.0.Beta1-R200810311334
org.jboss.tools.birt.feature - 1.0.0.Beta1-R200810311334
org.jboss.tools.jbpm.convert.feature - 1.0.0.Beta1-R200810311334
org.jboss.tools.portlet.feature - 1.0.0.Beta1-R200810311334
org.jboss.tools.project.examples.feature - 1.0.0.Beta1-R200810311334
org.jboss.tools.smooks.feature - 1.0.0.Beta1-R200810311334
org.jboss.tools.ws.feature - 1.0.0.Beta1-R200810311334
org.jboss.ide.eclipse.freemarker.feature - 1.0.2.GA-R200810311334
org.jboss.tools.esb.feature - 1.1.0.Beta1-R200810311334
org.jboss.ide.eclipse.as.feature - 2.0.0.Beta1-R200810311334
org.jboss.ide.eclipse.archives.feature - 3.0.0.Beta1-R200810311334
org.jboss.tools.richfaces.feature - 3.0.0.Beta1-R200810311334
org.jboss.tools.seam.feature - 3.0.0.Beta1-R200810311334
org.jboss.tools.struts_feature - 3.0.0.Beta1-R200810311334
org.jbpm.gd.jpdl.feature - 3.1.5.Beta1-R200810311334
org.hibernate.eclipse.feature - 3.2.4.Beta1-R200810311334
org.drools.eclipse.feature - 5.0.0.MR2-R200810311334
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186591#4186591
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186591
17 years, 5 months
[JBoss jBPM] - deploy a procesee to jboss server suing java code
by Grid.Qian
Hi all,
just have a question:
I am working for importing jboss soa-p esb quick-start samples to eclipse. There is a sample named:bpm_orchestration1. It need call a jbpm process from esb service. Now it can run by ant. From the build.xml, I got this task to deploy a process to a server:
<target name="deployProcess" description="deploys the process definition" depends="dependencies">
| <echo>Deploy the process definition</echo>
| <taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
| <classpath refid="exec-classpath"/>
| </taskdef>
| <deployToServer username="${jbpm.console.username}" password="${jbpm.console.password}" serverDeployer="${org.jboss.esb.jbpm.console.upload.url}">
| <fileset dir="${basedir}/processDefinition" includes="*"/>
| </deployToServer>
| </target>
Now I need to do this task using java code. I write this method:
private void deployProcessToServer() {
| DeployProcessToServerTask deployTask = new DeployProcessToServerTask();
| deployTask.setProcess(new File("processdefinition.xml"));
| deployTask.setServerName("localhost");
| deployTask.setServerPort("8080");
| deployTask.setUsername("admin");
| deployTask.setPassword("admin");
| deployTask.setServerDeployer("/jbpm-console/app/upload");
| deployTask.execute();
|
| }
When I run this method, I got a error:
Exception in thread "main" couldn't deploy process archives : http://localhost:8080/jbpm-console/app/upload
at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:179)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.deployProcessToServer(SendTestMessage.java:65)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.sendMessage(SendTestMessage.java:41)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.main(SendTestMessage.java:72)
Caused by: java.io.FileNotFoundException: http://localhost:8080/jbpm-console/app/upload
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
at org.jbpm.ant.DeployProcessToServerTask.deployProcess(DeployProcessToServerTask.java:224)
at org.jbpm.ant.DeployProcessToServerTask.deployProcessWithServlet(DeployProcessToServerTask.java:188)
at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:142)
... 3 more
--- Nested Exception ---
java.io.FileNotFoundException: http://localhost:8080/jbpm-console/app/upload
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
at org.jbpm.ant.DeployProcessToServerTask.deployProcess(DeployProcessToServerTask.java:224)
at org.jbpm.ant.DeployProcessToServerTask.deployProcessWithServlet(DeployProcessToServerTask.java:188)
at org.jbpm.ant.DeployProcessToServerTask.execute(DeployProcessToServerTask.java:142)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.deployProcessToServer(SendTestMessage.java:65)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.sendMessage(SendTestMessage.java:41)
at org.jboss.soa.esb.samples.quickstarts.bpm_orchestration1.test.SendTestMessage.main(SendTestMessage.java:72)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186584#4186584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186584
17 years, 5 months