[Beginner's Corner] - Hot deployment exception on Jboss As 5.1.0 GA
by Vikas V
Vikas V [http://community.jboss.org/people/selfcare] created the discussion
"Hot deployment exception on Jboss As 5.1.0 GA"
To view the discussion, visit: http://community.jboss.org/message/630216#630216
--------------------------------------------------------------
Hi,
Below is the exception that am getting when I do hot deployment.
java.lang.RuntimeException: Error while adding re-deployments
*at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:688)*
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.deployers.spi.DeploymentException: Error populating deployment vfsfile:/D:/devworks/liferay-portal-6.0.6/jboss-5.1.0/server/default/deploy/UserRegistrationLiferay.war
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:86)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.main.MainDeployerImpl.processToDeploy(MainDeployerImpl.java:345)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:684)
... 12 more
Caused by: java.lang.NullPointerException
at org.jboss.virtual.VFSUtils.readManifest(VFSUtils.java:283)
at org.jboss.virtual.VFSUtils.getManifest(VFSUtils.java:259)
at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:185)
at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:221)
at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82)
... 17 more
How can I overcome this?
Am using Jboss As 5.1.0 GA with Liferay 6.
Thanks in advance !
Regards,
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630216#630216]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[jBPM] - Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible freely?
by Adam Bach
Adam Bach [http://community.jboss.org/people/heathcliff] created the discussion
"Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible freely?"
To view the discussion, visit: http://community.jboss.org/message/630196#630196
--------------------------------------------------------------
there was one of my topics where I have posted 2 example differences. But they exeisted when using installer versions.
Whe I have changed to some newer web designer version I remember (sth like 56) and I think it even couldnt save gatweway type. So After few such experiences I stopped using it.
Every stabile version should be attached to installer etc so we know which one to use.
Sorry for beeing discouraging but I'm writing MA Thesis on BPM and long time ago I decided to use jBPM but for many months every release is continously discouraging me.
- No WebService task as standard one, which is in specification as standard...
- jbpm-console doesnt support HumanTask WS specification, there is no JPA logging attached to console, no loggin of started/stopped of human task which is kinda essential, strange ant manipulation with server war package bacouse sb commited wrong persistence.xml to console server. I got an advise to not use it as this is only demonstrational product... cmon :( this suucks, every real bpms should have such console working. I am currently trying to modify it but as i dwell deeper i get to gwt-console* packages that jbpm console depands and i cnat find any project page for it so i need to download sources from gerpcode and try to make it all manualy... so jbpm console depands on different jars which should be available as projects with jbpm console souces to be freely modified....
- eclipse bpmn2 plugin (not the one from isntaller, and I know it now you who is responsible for this plugin!) is not compatibile although it looks greate! team seems to have abandoned the further work on February this year and this is the time i saw last commit.
- Web Designer problems, no custom tasks (I saw them in some guvnor tutorial lately but this is not compatibile with jpbm-consol as far as i know)
This all makes me very discouraged for further work but since i have spend so much time on it already i cant realy change to other product. Writing my own jbpm console makes no sense as this take much time and duplicates current functionality and would enhence it only in very few places...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630196#630196]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[jBPM] - persisted stateful sessions and knowledge base changes
by Jordi Alvarez
Jordi Alvarez [http://community.jboss.org/people/jordi_alvarez] created the discussion
"persisted stateful sessions and knowledge base changes"
To view the discussion, visit: http://community.jboss.org/message/628586#628586
--------------------------------------------------------------
Hello, I am working for an organization for which we have adopted jBPM as the BPM solution. We are making use also of Drools
Expert, which results in a nice combination.
We have stateful sessions persisted in a database in order to record the state of long-time running processes (which are the goal of our
BPM).
In order to make changes to the knowledge-base associated to the stateful sessions that we have, we always redeploy the whole system (ear application + rules + process definitions). This is where we have the problem. Depending on the changes performed to the database, the system is not able to reload the persisted sessions (the change could be for example a change in the condition of a rule). This results in problems and stack traces similar to the following one:
[...]
Caused by: java.lang.RuntimeException: Unable to load session snapshot
at org.drools.persistence.session.JPASessionMarshallingHelper.loadSnapshot(JPASessionMarshallingHelper.java:96)
at org.drools.persistence.session.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:196)
at org.drools.persistence.session.SingleSessionCommandService.<init>(SingleSessionCommandService.java:159)
... 95 more
Caused by: java.lang.ClassCastException: org.drools.reteoo.ObjectTypeNode
at org.drools.marshalling.impl.InputMarshaller.readRightTuple(InputMarshaller.java:401)
at org.drools.marshalling.impl.InputMarshaller.readRightTuples(InputMarshaller.java:391)
at org.drools.marshalling.impl.InputMarshaller.readFactHandles(InputMarshaller.java:326)
at org.drools.marshalling.impl.InputMarshaller.readSession(InputMarshaller.java:205)
at org.drools.marshalling.impl.DefaultMarshaller.unmarshall(DefaultMarshaller.java:91)
at org.drools.persistence.session.JPASessionMarshallingHelper.loadSnapshot(JPASessionMarshallingHelper.java:91)
... 97 more
According to some posts (which mainly relate to drools expert), if we were using the knowledge agent we could update the already loaded sessions, which would allow to migrate in-memory sessions from the old database to the new database:
http://drools.46999.n3.nabble.com/Dynamic-updates-of-stateful-sessions-td... http://drools.46999.n3.nabble.com/Dynamic-updates-of-stateful-sessions-td...
http://stackoverflow.com/questions/4368148/is-it-possible-to-add-a-new-ru... http://stackoverflow.com/questions/4368148/is-it-possible-to-add-a-new-ru...
Nevertheless, we absolutely need a way to migrate persisted sessions from the old database to the new one. Even in the situation in which we would allow hot modification of the knowledge base, we cannot have all the stateful sessions loaded in memory when this would happen.
Is there any facility provided by Drools Expert/Flow that allows to perform this operations easily? Is there a way/configuration to
load/save sessions without the need to store/retrieve the rete-tree (and instead recomputing it), which seems to be the problem for these
situations.
We have already posted this information into drools mailing list; but nobody has answered yet. Any help is appreciated!
Many thanks in advance,
Jordi Alvarez
###
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/628586#628586]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[JBoss Web Services] - The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.
by Anoopkumar SR
Anoopkumar SR [http://community.jboss.org/people/anoopsk] created the discussion
"The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC."
To view the discussion, visit: http://community.jboss.org/message/630187#630187
--------------------------------------------------------------
Hi,
I was trying to create a new webservice in jboss AS 4.05 and jbossWS-native 2.0.3 for ejb2.1 spec. Sample ejb project made in .ear was created and when tried to deploy the same in jbossAS4.0.5, it shows below error. Any idea what is this and how to resolve? Your help is highly appreciated.
Also let me know, if at all new webservices to be created for existing EJB2.0 spec, do we still need Service Interface as End point and need to specify the end-point in ejb-jar.xml? Pls help.
04:32:22,750 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
04:32:23,031 INFO [EARDeployer] Init J2EE application: file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/deploy/SimpleWebServiceEjb2ProjectEAR.ear
04:32:23,250 WARN [verifier] EJB spec violation:
Bean : SimpleSession
Method : public abstract boolean isIdentical(EJBObject) throws RemoteException
Section: 7.11.9
Warning: The methods defined in the service endpoint interface must have arguments of valid types for JAX-RPC.
04:32:23,250 WARN [verifier] EJB spec violation:
Bean : SimpleSession
Method : public abstract EJBHome getEJBHome() throws RemoteException
Section: 7.11.9
Warning: The methods defined in the service endpoint interface must have a return of a valid type for JAX-RPC.
04:32:23,250 ERROR [MainDeployer] Could not create deployment: file:/C:/HS/Installation/jboss-4.0.5.GA/server/default/tmp/deploy/tmp1060116867436762846SimpleWebServiceEjb2ProjectEAR.ear-contents/SimpleWebServiceEjb2EJBProject.jar
* org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
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:592)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630187#630187]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months