[JBoss Tools] - m2e(clipse)-wtp 0.13.1 : Back to the m2e marketplace
by Fred Bricon
Fred Bricon [http://community.jboss.org/people/fbricon] modified the blog post:
"m2e(clipse)-wtp 0.13.1 : Back to the m2e marketplace"
To view the blog post, visit: http://community.jboss.org/community/tools/blog/2011/08/01/m2eclipse-wtp-...
--------------------------------------------------------------
As I mentioned in the previous blog post ( http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-ne... http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-ne...), m2e-wtp had to be pulled out of the m2e marketplace, as it forced its installation for all non-WTP systems.
In order to fix this issue, the code responsible for generating the MANIFEST.MF for all projects had to be integrated into the mavenarchiver feature.
That means m2e-wtp 0.13.1 now requires the installation of mavenarchiver from the m2e-extras update site. It will be discovered automatically from the new m2e-wtp update site, hosted by Red Hat, so it will be completely transparent for new users.
However, please note that the mavenarchiver feature replaces the pomproperties one, so the *pomproperties must be uninstalled before upgrading m2e-wtp*.
Thus, the preferred ways to install m2e-wtp remain :
1) Import existing Java EE projects into the workspace; You'll be proposed to install the m2e-wtp plugin :
http://community.jboss.org/servlet/JiveServlet/showImage/38-4023-16816/m2... http://community.jboss.org/servlet/JiveServlet/downloadImage/38-4023-1681...
click on Finish and the installation will proceed. Your projects will be imported but the workspace will have to be restarted.
2) Go to Window > Preferences > Maven > Discovery and click on "Open catalog". Select m2e-wtp and proceed with the installation.
http://community.jboss.org/servlet/JiveServlet/showImage/38-4023-16814/m2... http://community.jboss.org/servlet/JiveServlet/downloadImage/38-4023-1681...
3) Old school installation : Use this JBoss / Red Hat update site : http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00938.html http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/
While reviewing the installation details, you can see that mavenarchiver 0.14.0 will be found and installed automatically (provided there is not a more recent version already installed)
http://community.jboss.org/servlet/JiveServlet/showImage/38-4023-16815/m2... http://community.jboss.org/servlet/JiveServlet/downloadImage/38-4023-1681...
Other that the changes necessary to reinstate m2e-wtp to the m2e marketplace, There is only one other bugfix in 0.13.1, which fixes deployment of war archives overlays in Windows ( https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10310&versi... https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10310&versi...).
*UPDATE (03/08/2011) :* m2e-wtp is now also available from the http://marketplace.eclipse.org/content/maven-integration-eclipse-wtp Eclipse Marketplace. However, it seems some people are unable to install it directly. Please note that m2e-wtp requires m2e 1.0. So, if it's not installed already, Eclipse must be able to find it in the available update sites.
m2e can be installed from either http://download.eclipse.org/releases/indigo http://download.eclipse.org/releases/indigo (for Indigo) or http://download.eclipse.org/technology/m2e/releases/ http://download.eclipse.org/technology/m2e/releases/ (for Helios and Indigo).
The change in m2e's namespace (org.maven.ide -> org.eclipse.m2e) between m2e 0.12.x and 1.0 renders updates impossible from m2e-wtp 0.12.x to 0.13.x. Thus you have no choice but to uninstall m2e < 1.0 and m2e-wtp < 0.13 before proceeding with m2e-wtp 0.13.x's installation.
(I hope I'm clear enough :-))
Enjoy,
Fred.
https://twitter.com/#%21/fbricon https://twitter.com/#!/fbricon
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/tools/blog/2011/08/01/m2eclipse-wtp-...]
14 years, 8 months
[JBoss Tools] - Start process on JBoss Server
by zearys
zearys [http://community.jboss.org/people/zearys] created the discussion
"Start process on JBoss Server"
To view the discussion, visit: http://community.jboss.org/message/618844#618844
--------------------------------------------------------------
Hi,
I’m using SQLLoader to load data into my tables from a process. I would like to lunch this process once a user presses a button in my web interface. So I made tests in a single main before adding and everything was fine. Once I place the code on my JBoss Server nothing work anymore.
I would like to know why the code don't react same way on Jboss sever as on a regular java application for process execution? And what may I do to make the same code react the same way?
In a main, executed as java application, this code results X successful lines:
String[] exec = new String[] {"sqlldr","userid=ab@devl/abc","control=C:/controls.txt","log=C:/" };
BufferedReader br = new BufferedReader(new InputStreamReader(new ProcessBuilder(exec).start().getInputStream()));
while (br.readLine() != null) {
…
}
1. Controls.txt:
LOAD DATA
INFILE 'C:/03_JUN-11_0210SFAEXDDEFS20110712014140.txt'
APPEND
INTO TABLE S1_DATA_TEST
TRAILING NULLCOLS
(EXERCICE CONSTANT 2011,
NO_PERIODE CONSTANT 3,
REGISTRE POSITION(14:20) CHAR TERMINATED BY WHITESPACE,
ENTITE POSITION(44:47) CHAR TERMINATED BY WHITESPACE,
A POSITION(69:74) CHAR TERMINATED BY WHITESPACE,
PERIODE POSITION(219:224) CHAR TERMINATED BY WHITESPACE,
DESCRIPTION POSITION(234:474) CHAR TERMINATED BY WHITESPACE,
B POSITION(475:496) DECIMAL EXTERNAL "to_number(replace(:B,'.',','))",
)
And once on the JBoss server with the same code :
09:58:29,339 ERROR [STDERR] java.io.IOException: CreateProcess: sqlldr userid=ab@devl/abc control=C:/controls.txt log=C:/ error=2
09:58:29,339 ERROR [STDERR] at java.lang.ProcessImpl.create(Native Method)
09:58:29,339 ERROR [STDERR] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
09:58:29,339 ERROR [STDERR] at java.lang.ProcessImpl.start(ProcessImpl.java:30)
09:58:29,339 ERROR [STDERR] at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
09:58:29,339 ERROR [STDERR] at exportation.Sqlldr.executer(Sqlldr.java:74)
09:58:29,339 ERROR [STDERR] at exportation.Sqlldr.executer(Sqlldr.java:34)
09:58:29,355 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:58:29,355 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09:58:29,355 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:58:29,355 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618844#618844]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[jBPM] - JBPM Noob Question
by Imran Naqvi
Imran Naqvi [http://community.jboss.org/people/imran.h] created the discussion
"JBPM Noob Question"
To view the discussion, visit: http://community.jboss.org/message/618702#618702
--------------------------------------------------------------
I installed jbpm and and am trying to incorporate it into my project by including all the libraies. I am using jbpm 5.1 and drools 5.2. I am getting an exception when initializing the code base:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"), ResourceType.BPMN2);
the seond line throws:
java.lang.IllegalArgumentException: Unable to instantiate service for Class 'org.drools.compiler.BPMN2ProcessProvider'
I looked in the forum but couldn't find any one else with this issue, which probably means I am doing something weird. I would appreciate if someone could help me out here.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618702#618702]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[jBPM] - Process deployment in jBPM 5
by newuser12
newuser12 [http://community.jboss.org/people/newuser12] created the discussion
"Process deployment in jBPM 5"
To view the discussion, visit: http://community.jboss.org/message/589452#589452
--------------------------------------------------------------
Hi
I am new to jBPM. I have downloaded jBPM5 and installed it as per the procedure given in the Read me file that came with the installaton zip.
Basically, I extracted the zip file and ran the ant start.demo command. The installation completed without any issues and the services did start.
I was able to view the Evalucation process from that came as a part of the demo using Eclipse. Started the process using ProcessTest.java. Was also able to start it and complete the tasks using the jbpm-console.
A few questions -
1) I want to create a new bpmn process and deploy that using Eclipse. I have created the process but am not sure of the deployment procedure. What is the procedure to be followed?
2) How do I add new users and groups to the system?
3) I am not able to open the reports, the attached error is thrown in the jbpm-console. How to I start the report server?
Is there are documentation for beginners?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589452#589452]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months