[Beginners Corner] - jboss 4.0.0 exception
by tutikashilpa
Hi,
I am new to JBoss server.I deployed ejb 3.0 application in Jboss 4.0.5.
I am trying to deploy the same jar and ear file in ejb 4.0.5.GA.
I dont see any thing on the server.(no error)
I checked the log.I see this error.
| org.jboss.deployment.DeploymentException: url file:/C:/jboss-4.0.4.GA/jboss-4.0.4.GA/server/default/tmp/deploy/common/services could not be opened, does it exist?
| at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:211)
| at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1119)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:873)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
|
Is any thing wrong with the jboss4.0.4 installation.
Please help.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067197#4067197
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067197
18Â years, 9Â months
[JBoss Seam] - My filtered pooledTaskInstanceList
by harpritt
I needed a filtered version of the pooledTaskInstanceList so that i could select tasks assigned to a given actor pool.
the two actor pools tasks that i needed were CRS_Releaser and CRS_Processor.
i can use following to get my filtered lists
#{cRSReleaserPooledTaskInstanceList}
#c{RSProcessorrPooledTaskInstanceList}
i dont know how "good" my solution is.... any comments would be nice.
anyway i hope this helps someone else out there.
package main.java.com.sms.crs.customComponents;
|
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.annotations.Out;
| import org.jboss.seam.annotations.Factory;
| import org.jbpm.taskmgmt.exe.TaskInstance;
|
|
| import java.util.List;
| import java.util.Iterator;
| import java.util.ArrayList;
|
| @Name("customSeamComponents")
| public class CustomSeamComponent {
|
| @In(required = true)
| private List pooledTaskInstanceList;
|
| //could make this filter on more than a single actor..really this is a group
|
| @Factory("cRSReleaserPooledTaskInstanceList")
| public List cRSReleaserPooledTaskInstanceList() {
| return filteredPooledTaskInstanceList("CRS_Releaser");
| }
|
| @Factory("cRSProcessorPooledTaskInstanceList")
| public List cRSProcessorPooledTaskInstanceList() {
| return filteredPooledTaskInstanceList("CRS_Processor");
| }
|
|
| //pooled actor is a Role
| private List filteredPooledTaskInstanceList(String pooledActor) {
| List taskInstanceList = new ArrayList();
| Iterator pooledTaskItr = pooledTaskInstanceList.iterator();
| while (pooledTaskItr.hasNext()) {
| TaskInstance taskInstance = (TaskInstance) pooledTaskItr.next();
| if (taskInstance.getTask().getPooledActorsExpression().equals(pooledActor)) {
| taskInstanceList.add(taskInstance);
| }
| }
| return taskInstanceList;
| }
|
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067192#4067192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067192
18Â years, 9Â months