[IronJacamar] - Problem upgrading to ironjacamar.1.0.10.Final in Jboss AS jboss-as-7.1.1.Final
by Nitesh Mehta
Nitesh Mehta [https://community.jboss.org/people/niteshmehta] created the discussion
"Problem upgrading to ironjacamar.1.0.10.Final in Jboss AS jboss-as-7.1.1.Final"
To view the discussion, visit: https://community.jboss.org/message/793722#793722
--------------------------------------------------------------
I have downloaded Jboss AS jboss-as-7.1.1.Final and extracted it.
Started stanalone.bat, server started successfully.
After this I downloade ironjacamar-1.0.10.Final and executed this command "as-upgrader.bat 1.0.10.Final C:\workspace\jboss-as-7.1.1.Final"
Following success message appeared on screen
Download: Done
Moving old installation (1.0.9.Final): Done
Installing new version: Done
Upgrade successful
After this I again started stanalone.bat and I am getting following error
C:\workspace\jboss-as-7.1.1.Final\bin>standalone.bat
Calling "C:\workspace\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\workspace\jboss-as-7.1.1.Final
JAVA: C:\Program Files\Java\jdk1.6.0_34\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dj
boss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml
===============================================================================
15:12:22,023 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:12:22,205 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:12:22,239 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
15:12:22,695 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 14ms
15:12:22,678 ERROR [org.jboss.as.controller] JBAS014601: Error booting the container: java.lang.NoClassDefFoundError: org/jboss/jca/common/api/metadata/ds/DataSource$Tag
at org.jboss.as.connector.subsystems.datasources.DsParser$1.<clinit>(DsParser.java:636)
at org.jboss.as.connector.subsystems.datasources.DsParser.parse(DsParser.java:163)
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$DataSourceSubsystemParser.readElement(DataSourcesExtension.java:776)
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$DataSourceSubsystemParser.readElement(DataSourcesExtension.java:333)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:894) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:330) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_34]
Caused by: java.lang.ClassNotFoundException: org.jboss.jca.common.api.metadata.ds.DataSource$Tag from [Module "org.jboss.as.connector:main" from local module loader @6766afb3 (roots: C:\workspace\jboss-as-7.1.1.Final\modules)]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
... 16 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/793722#793722]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months
[jBPM] - Completing a human task with results
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Completing a human task with results"
To view the discussion, visit: https://community.jboss.org/message/793717#793717
--------------------------------------------------------------
Hi,
I can complete a human task using the TaskClient like so:
ContentData contentData = ContentMarshallerHelper.marshal(content, null);
BlockingTaskOperationResponseHandler taskResponseHandler = new BlockingTaskOperationResponseHandler();
client.complete(taskId, userId, contentData, taskResponseHandler);
taskResponseHandler.waitTillDone(2000);
But how can I complete a task a get a result?
The TaskClient API has two complete methods:
*http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClient.html#complete(long, java.lang.String, org.jbpm.task.service.ContentData, org.jbpm.task.service.TaskClientHandler.TaskOperationResponseHandler) complete*(long taskId, http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is... String userId, http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/ContentDat... ContentData outputData, http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClient... TaskClientHandler.TaskOperationResponseHandler responseHandler)
and
*http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClient.html#completeWithResults(long, java.lang.String, java.lang.Object, org.jbpm.task.service.TaskClientHandler.TaskOperationResponseHandler) completeWithResults*(long taskId, http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is... String userId, http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is... Object results, http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClient... TaskClientHandler.TaskOperationResponseHandler responseHandler)
I am using the first method as I need to pass in data on completion.
The second method appears to return results on completion but doesn't allow for passing in of content data.
How can I complete a human task with content data and get back a result?
Thanks in advance,
Gareth.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/793717#793717]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months
jboss-as-maven-plugin configuration skip/inherited
by D Grupp
Hello,
on the web some pom's document the following configuration of the jboss-as-maven-plugin
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.0.2.Final</version>
<inherited>true</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
but I cannot find any documentation on "inherited" or "configuration" on http://docs.jboss.org/jbossas/7/plugins/maven/final/ or google.
Did I oversee something? Where can I find it documented?
Regards,
Mike
13 years, 2 months
[Beginner's Corner] - To manage Domain from simple web application
by hitesh yadav
hitesh yadav [https://community.jboss.org/people/hitesysony87] created the discussion
"To manage Domain from simple web application"
To view the discussion, visit: https://community.jboss.org/message/793449#793449
--------------------------------------------------------------
Hi all,
I am new in Jboss as 7.
I have Domain of 4 Node . N1 , N2 ,N3 , N4
Here N1 as master node (Domain controller).
I have simple web application in which i want to create page which have functionality , something like to view all node in cluster
and to make Node unregistor from the cluster using checkbox or radio button .
I know about domain managment using "Commnad Line Interface" , "Web Managment Interface" and "Configuration Files".
But i have no idea how to manage Domain from simple web application .
I have no idea how to communicate with "CLI" or "Configuation File" from web application to domain controll.
My requirement is very basic means, i want to show only all node's name and node's Ip address
and want capability to unregister particular node from Domain using simple web page.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/793449#793449]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months