[Microcontainer] - Re: can't read resource from the classpath??
by jeff.yuchang
Thanks, below it is the exception:
| 14:34:36,635 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/local/deploy/jboss-5.0.1.GA/server/default/deploy/idm.jar/ state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: java.lang.IllegalArgumentException: Resource idm/jboss.idm.cfg.xml does not exist
| at org.jboss.identity.idm.integration.jboss5.IDMDeployer.deploy(IDMDeployer.java:119)
| at org.jboss.identity.idm.integration.jboss5.IDMDeployer.deploy(IDMDeployer.java:41)
| at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.IllegalArgumentException: Resource idm/jboss.idm.cfg.xml does not exist
| at org.jboss.identity.idm.impl.configuration.jaxb2.JAXB2IdentityConfiguration.createConfigurationMetaData(JAXB2IdentityConfiguration.java:112)
| at org.jboss.identity.idm.integration.jboss5.IDMDeployer.deploy(IDMDeployer.java:71)
| ... 23 more
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232432#4232432
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232432
16 years, 11 months
[JBoss jBPM] - Re: Join Problem
by freak182
Hi,
I have same problem. here is my process definition:
| <?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="" name="forktest">
| <description>
| a test for fork/join workflow
| </description>
| <start-state name="Start">
| <transition to="fork"></transition>
| </start-state>
| <fork name="fork">
| <transition to="approver A" name="to approver A"></transition>
| <transition to="approver B" name="to approver B"></transition>
| </fork>
|
| <task-node name="approver A">
| <task name="FORKAPPRVA">
| <description>
| Please approve A
| </description>
| <assignment class="com.ccti.los.WfAssignment">
| <pooledactors>
| CORBANK
| </pooledactors>
| </assignment>
| <controller class=""></controller>
| </task>
| <transition to="join"></transition>
| </task-node>
|
| <task-node name="approver B">
| <task name="FORKAPPRVB">
| <description>
| Please approve B
| </description>
| <assignment class="com.ccti.los.WfAssignment">
| <pooledactors>
| APPROVERS
| </pooledactors>
| </assignment>
| </task>
| <transition to="join"></transition>
| </task-node>
|
| <join name="join">
| <transition to="Review Document"></transition>
| </join>
|
| <task-node name="Review Document">
| <task name="FORKREVDOC">
| <description>
| Document for review
| </description>
| <assignment class="com.ccti.los.WfAssignment">
| <pooledactors>
| REVIEWER
| </pooledactors>
| </assignment>
| </task>
| <transition to="End"></transition>
| </task-node>
|
| <end-state name="End"></end-state>
| </process-definition>
|
...the two task had already completed/signaled but got stuck on join.
any idea?
Thanks a lot.
Cheers.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232425#4232425
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232425
16 years, 11 months
[Management, JMX/JBoss] - Staic variable is getting shared between two applications
by sada1977
Hi All,
I have two turbine appliactions deployed in JBoss default profile. Actually turbine jar is packaged seperately in 2 ears but still static variables in turbine servlet are getting shared between 2 applications.
I have added jboss-app.xml in meta-inf of both ear files e.g.
<jboss-app>
<loader-repository>
test:loader=test.ear
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</jboss-app>
After adding above, applications are not getting deployed. It throws exception like,
java.lang.NoClassDefFoundError: java/lang/Object
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
I am not getting why this is not working?
Can anybody gives solution?
If I add above jboss-app.xml for test applications having only servlet(common to both) then it works fine (static var is not getting shared). But it doesn't work for my turbine application where there are too many jars ejbs etc.
Please give suggestions if anybody has.
Thanks in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232412#4232412
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232412
16 years, 11 months