[JBoss Tools (users)] - Re: using m2eclipse plugin to build RESTEasy simple project
by asookazian
so I ran 'mvn install' and got this:
| [INFO] Build Order:
| [INFO]
| [INFO]
| [INFO]
| [INFO] Building
| [INFO] Executing maven-resources-plugin[2.2]: resources on simple
| [INFO] Using default encoding to copy filtered resources.
| [INFO] Executing maven-compiler-plugin[2.0.2]: compile on simple
| [INFO] Nothing to compile - all classes are up to date
| [INFO] Executing maven-resources-plugin[2.2]: testResources on simple
| [INFO] Using default encoding to copy filtered resources.
| [INFO] Executing maven-compiler-plugin[2.0.2]: testCompile on simple
| [INFO] Compiling 1 source file to C:\Documents and Settings\asookazi\RESTEasy\simple\target\test-classes
| [INFO] Executing maven-surefire-plugin[2.4.3]: test on simple
| [INFO] Tests are skipped.
| [INFO] Executing maven-war-plugin[2.1-alpha-1]: war on simple
| [INFO] Packaging webapp
| [INFO] Assembling webapp[simple] in [C:\Documents and Settings\asookazi\RESTEasy\simple\WebContent]
| [INFO] Processing war project
| [INFO] Webapp assembled in[297 msecs]
| [INFO] Building war: C:\Documents and Settings\asookazi\RESTEasy\simple\target\simple.war
| [INFO] Executing maven-jetty-plugin[6.1.10]: run on simple
| [INFO] Configuring Jetty for project:
| null
| org.apache.maven.plugin.MojoExecutionException: Webapp source directory C:\Documents and Settings\asookazi\RESTEasy\simple\src\main\webapp does not exist
| at org.mortbay.jetty.plugin.AbstractJettyRunMojo.checkPomConfiguration(AbstractJettyRunMojo.java:218)
| at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:306)
| at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
| at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
| at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:323)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:196)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:189)
| at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:467)
| at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:169)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:61)
| 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
| at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
| at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
| at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
| at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248206#4248206
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248206
16 years, 8 months
[Installation, Configuration & DEPLOYMENT] - Mail Sever 1.0M3/4/5 deployment problem. Need Help
by Kevinpei
Hi, folks,
I am using JBoss 4.2.3/5.1 and trying to get Mail Server 1.0M3(or 4,5) worked with it. I follow the instructions provided by this community.
mail.ear is installed to C:\jboss-4.2.3.GA\server\default\deploy
However, when JBoss is starting, it reports the error like:
[org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/jboss-4.2.3.GA/server/default/deploy/mail.ear/mail.sar/
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)...
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
... 80 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/JoinPoint
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1232)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
... 82 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.aop.JoinPoint
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Can anybody give help on this?
When I am using JBoss 4.0.3 comes along with the Mail Server, everyting works well.
Thanks in advance!
Kevin
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248200#4248200
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248200
16 years, 8 months
[JBoss jBPM] - [jBPM4] Task still in Active Activies after being completed
by freiburger
Hi,
I've encountered a problem when evaluating the task activity of jBPM4. Unfortunately the forum search is down at the moment, but I haven't found any posts regarding that issue when searching manually ;)
Configuration:
- jBPM4.0 standalone out of the box, only changed DB to MySQL5
- JDK/Container: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Process definition:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process name="tasktest" xmlns="http://jbpm.org/4.0/jpdl">
| <start name="start" g="77,110,48,48">
| <transition name="to task" to="task" g="-36,-20" />
| </start>
| <task assignee="freiburger" name="task" g="206,127,92,52">
| <transition name="to wait" to="wait" g="-36,-20" />
| </task>
| <state name="wait" g="401,154,92,52">
| <transition name="to end" to="end" g="-41,-20" />
| </state>
| <end name="end" g="543,121,48,48" />
| </process>
|
API using JbpmTestCase:
| public void testTakeTask() {
| /* Create process instance */
| ProcessInstance processInstance = executionService
| .startProcessInstanceByKey("tasktest");
|
| /* Find tasks for freiburger (1 expected) */
| List<Task> taskList = taskService.findPersonalTasks("freiburger");
| assertEquals(1, taskList.size());
| Task task = taskList.get(0);
| assertEquals("task", task.getName());
| assertEquals("freiburger", task.getAssignee());
|
| /* Complete task */
| taskService.completeTask(task.getId());
|
| /* Find tasks for freiburger (0 expected) */
| taskList = taskService.findPersonalTasks("freiburger");
| assertEquals(0, taskList.size());
|
| /* Find active activities ("wait" expected) */
| Set<String> expectedActivityNames = new HashSet<String>();
| expectedActivityNames.add("wait");
| assertEquals(expectedActivityNames, processInstance
| .findActiveActivityNames());
| }
|
Log
| 18:30:27,357 FIN | [ProcessDefinitionImpl] creating new execution for process 'tasktest'
| 18:30:27,365 FIN | [DefaultIdGenerator] generated execution id tasktest.1
| 18:30:27,372 FIN | [ExecuteActivity] executing activity(start)
| 18:30:27,372 FIN | [ExecuteActivity] executing activity(task)
| 18:30:27,459 FIN | [TaskQueryImpl] select task from org.jbpm.pvm.internal.task.TaskImpl as task where task.assignee = :assignee order by task.priority desc
| 18:30:27,467 FIN | [TaskQueryImpl] setting parameter assignee: freiburger
| 18:30:27,518 FIN | [Signal] signalling activity(task), signalName=completed
| 18:30:27,527 FIN | [ExecuteActivity] executing activity(wait)
| 18:30:27,559 FIN | [TaskQueryImpl] select task from org.jbpm.pvm.internal.task.TaskImpl as task where task.assignee = :assignee order by task.priority desc
| 18:30:27,559 FIN | [TaskQueryImpl] setting parameter assignee: freiburger
| 18:30:27,561 SEV | [BaseJbpmTestCase]
| ### EXCEPTION ###########################################
| 18:30:27,561 SEV | [BaseJbpmTestCase] ASSERTION FAILURE: expected:<[wait]> but was:<[task]>
| junit.framework.AssertionFailedError: expected:<[wait]> but was:<[task]>
| at junit.framework.Assert.fail(Assert.java:47)
| at junit.framework.Assert.failNotEquals(Assert.java:282)
| at junit.framework.Assert.assertEquals(Assert.java:64)
| at junit.framework.Assert.assertEquals(Assert.java:71)
| at testing.TakeTaskTest.testTakeTask(TakeTaskTest.java:49)
| 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:597)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
| ### EXCEPTION ###########################################
| 18:30:27,562 SEV | [BaseJbpmTestCase]
| 18:30:27,607 FIN | [DbSessionImpl] deleting history process instance tasktest.1
| 18:30:27,640 FIN | [DbSessionImpl] deleting process instance tasktest.1
| 18:30:27,654 FIN | [DeleteDeploymentCmd] deleting deployment 1
| 18:30:27,706 FIN | [BaseJbpmTestCase] === ending testTakeTask =============================
|
Problem description
So obviously the task was not removed from the current activities after completion. Still the engine moves on to the next activity, but it doesn't show up in the activity list at all. I quite don't understand this behaviour if it is intended, any help is greatly appreciated.
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248197#4248197
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248197
16 years, 8 months
[JBoss jBPM] - What all the required Mbenas for jBPM 3.1.3
by contactnagesh
Hi,
I have downloaded Jboss 4.0.5 GA version from the jboss site and downloaded jBPM 3.1.3, trying to integrate with Jboss 4.0.5 GA. I have made that to work by removing the dom4j.jar file and script changes.
Now we have stripped version of Jboss 4.0.5, deploying jBPM 3.1.3. I am hitting the below Eorror
2009-08-04 10:29:37,775 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] (main) Incomplete Deployment listing:
â MBeans waiting for other MBeans â
ObjectName: jboss.jdbc:service=metadata,datasource=DefaultDS
State: CONFIGURED
I Depend On:
jboss.jdbc:service=metadata
â MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM â
ObjectName: jboss.jdbc:service=metadata
State: NOTYETINSTALLED
Depends On Me:
jboss.jdbc:service=metadata,datasource=DefaultDS
Can any one Help me, why this error was hitting? what all the required MBenas for the jBPM 3.1.3 to work.
Thanks,
Nag
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248196#4248196
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248196
16 years, 8 months