[jboss-dev-forums] [jBPM Development] - error using ant scripts in deploying process archive

sunil deshpande do-not-reply at jboss.com
Thu Sep 1 07:15:51 EDT 2011


sunil deshpande [http://community.jboss.org/people/desunil] created the discussion

"error using ant scripts in deploying process archive"

To view the discussion, visit: http://community.jboss.org/message/624240#624240

--------------------------------------------------------------
hi all, I am using jbpm 3.2.8 and jboss server 5.0.1     I m trying to deploy a test process using ant scripts , but getting folowing error..., unable to find the error,  i have attached build.xml file and properties file, plz post the solution..




D:\jbpm\redhat training\JBPM-Training\labs\lab3-deployment>ant deploy.process
Buildfile: D:\jbpm\redhat training\JBPM-Training\labs\lab3-deployment\build.xml

build.process:

declare.jbpm.tasks:

deploy.process:
[deployprocess] parsing process archive insuranceprocess.par
[deployprocess] parsed process definition InsuranceProcess
[deployprocess] failed to deploy process InsuranceProcess

BUILD FAILED
D:\jbpm\redhat training\JBPM-Training\labs\lab3-deployment\build.xml:46: org.hib
ernate.MappingException: Could not determine type for: longstring, for columns:
[org.hibernate.mapping.Column(MESSAGE_)]
        at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)
        at org.hibernate.mapping.Property.isValid(Property.java:185)
        at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:4
40)
        at org.hibernate.mapping.SingleTableSubclass.validate(SingleTableSubclas
s.java:43)
        at org.hibernate.cfg.Configuration.validate(Configuration.java:1102)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1287)
        at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory
(DbPersistenceServiceFactory.java:104)
        at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPers
istenceService.java:84)
        at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
Service.java:89)
        at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersis
tenceService.java:320)
        at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:604)
        at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:165)
        at org.jbpm.ant.DeployProcessTask.deployProcessDefinition(DeployProcessT
ask.java:108)
        at org.jbpm.ant.DeployProcessTask.handleProcessFile(DeployProcessTask.ja
va:82)
        at org.jbpm.ant.DeployProcessTask.execute(DeployProcessTask.java:58)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 4 seconds
D:\jbpm\redhat training\JBPM-Training\labs\lab3-deployment>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/624240#624240]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110901/1eb32fd7/attachment.html 


More information about the jboss-dev-forums mailing list