[JBoss jBPM] - Weird startup error when testing - orgm.jbpm.msg.Message.hbm
by pjodev
When I try to retrieve the GraphSession, I am getting this error
07:29:41,078 [main] INFO JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
| 07:29:41,078 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
| 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.mail.templates'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.smtp.host'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
| 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.job.executor'
| 07:29:41,234 [main] DEBUG JbpmConfiguration : loading specific configuration...
| 07:29:41,234 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpmConfiguration'
| 07:29:41,265 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message,
| tx, scheduler, authentication, persistence, logging]'
| 07:29:41,265 [main] DEBUG JbpmContext : creating org.jbpm.JbpmContext@15fadcf
| 07:29:41,281 [main] DEBUG DbPersistenceServiceFactory : creating persistence service
| 07:29:41,281 [main] DEBUG DbPersistenceServiceFactory : building hibernate session factory
| 07:29:41,343 [main] INFO Environment : Hibernate 3.2.1
| 07:29:41,359 [main] INFO Environment : hibernate.properties not found
| 07:29:41,359 [main] INFO Environment : Bytecode provider name : cglib
| 07:29:41,375 [main] INFO Environment : using JDK 1.4 java.sql.Timestamp handling
| 07:29:41,453 [main] DEBUG HibernateHelper : creating hibernate configuration resource 'hibernate.cfg
| .xml'
| 07:29:41,453 [main] INFO Configuration : configuring from resource: hibernate.cfg.xml
| 07:29:41,453 [main] INFO Configuration : Configuration resource: hibernate.cfg.xml
| 07:29:41,562 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/action/Scr
| ipt.hbm.xml
| 07:29:41,687 [main] INFO Configuration : Reading mappings from resource : org/jbpm/identity/User.hb
| m.xml
| 07:29:41,765 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.User -> JBPM_ID_USER
| 07:29:41,796 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
| 07:29:41,796 [main] INFO Configuration : Reading mappings from resource : org/jbpm/identity/Group.h
| bm.xml
| 07:29:41,843 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP
| 07:29:41,953 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
| 07:29:41,953 [main] INFO Configuration : Reading mappings from resource : org/jbpm/identity/Members
| hip.hbm.xml
| 07:29:41,968 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
| 07:29:41,984 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
| 07:29:41,984 [main] INFO Configuration : Reading mappings from resource : org/jbpm/db/hibernate.que
| ries.hbm.xml
| 07:29:42,015 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Proces
| sDefinition.hbm.xml
| 07:29:42,031 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
| 07:29:42,062 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Node.h
| bm.xml
| 07:29:42,093 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
| 07:29:42,109 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Transi
| tion.hbm.xml
| 07:29:42,140 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
| 07:29:42,140 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Event.
| hbm.xml
| 07:29:42,156 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
| 07:29:42,171 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Action
| .hbm.xml
| 07:29:42,187 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
| 07:29:42,187 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/SuperS
| tate.hbm.xml
| 07:29:42,250 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
| 07:29:42,250 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/def/Except
| ionHandler.hbm.xml
| 07:29:42,265 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
| 07:29:42,281 [main] INFO Configuration : Reading mappings from resource : org/jbpm/instantiation/De
| legation.hbm.xml
| 07:29:42,296 [main] INFO HbmBinder : Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
| 07:29:42,296 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/Start
| State.hbm.xml
| 07:29:42,312 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
| 07:29:42,312 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/EndSt
| ate.hbm.xml
| 07:29:42,328 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
| 07:29:42,328 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/Proce
| ssState.hbm.xml
| 07:29:42,343 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
| 07:29:42,343 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/Decis
| ion.hbm.xml
| 07:29:42,359 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
| 07:29:42,359 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.Decision.decisionCondi
| tions -> JBPM_DECISIONCONDITIONS
| 07:29:42,359 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/Fork.
| hbm.xml
| 07:29:42,390 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
| 07:29:42,406 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/Join.
| hbm.xml
| 07:29:42,406 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
| 07:29:42,406 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/State
| .hbm.xml
| 07:29:42,421 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
| 07:29:42,421 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/node/TaskN
| ode.hbm.xml
| 07:29:42,437 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
| 07:29:42,453 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/def/Cont
| extDefinition.hbm.xml
| 07:29:42,453 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/def/Vari
| ableAccess.hbm.xml
| 07:29:42,468 [main] INFO HbmBinder : Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
| 07:29:42,468 [main] INFO Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Tas
| kMgmtDefinition.hbm.xml
| 07:29:42,484 [main] INFO Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Swi
| mlane.hbm.xml
| 07:29:42,562 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
| 07:29:42,562 [main] INFO Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Tas
| k.hbm.xml
| 07:29:42,578 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
| 07:29:42,593 [main] INFO Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Tas
| kController.hbm.xml
| 07:29:42,609 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
| 07:29:42,609 [main] INFO Configuration : Reading mappings from resource : org/jbpm/module/def/Modul
| eDefinition.hbm.xml
| 07:29:42,625 [main] INFO HbmBinder : Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
| 07:29:42,625 [main] INFO Configuration : Reading mappings from resource : org/jbpm/bytes/ByteArray.
| hbm.xml
| 07:29:42,625 [main] INFO HbmBinder : Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
| 07:29:42,625 [main] INFO HbmBinder : Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
| 07:29:42,625 [main] INFO Configuration : Reading mappings from resource : org/jbpm/file/def/FileDef
| inition.hbm.xml
| 07:29:42,640 [main] INFO HbmBinder : Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
| 07:29:42,640 [main] INFO Configuration : Reading mappings from resource : org/jbpm/scheduler/def/Cr
| eateTimerAction.hbm.xml
| 07:29:42,656 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
| 07:29:42,656 [main] INFO Configuration : Reading mappings from resource : org/jbpm/scheduler/def/Ca
| ncelTimerAction.hbm.xml
| 07:29:42,671 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
| 07:29:42,671 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/exe/Commen
| t.hbm.xml
| 07:29:42,687 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
| 07:29:42,687 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/exe/Proces
| sInstance.hbm.xml
| 07:29:42,703 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
| 07:29:42,718 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/exe/Token.
| hbm.xml
| 07:29:42,734 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
| 07:29:42,750 [main] INFO Configuration : Reading mappings from resource : org/jbpm/graph/exe/Runtim
| eAction.hbm.xml
| 07:29:42,750 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
| 07:29:42,765 [main] INFO Configuration : Reading mappings from resource : org/jbpm/module/exe/Modul
| eInstance.hbm.xml
| 07:29:42,781 [main] INFO HbmBinder : Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
| 07:29:42,781 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/Cont
| extInstance.hbm.xml
| 07:29:42,796 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
| 07:29:42,796 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/Toke
| nVariableMap.hbm.xml
| 07:29:42,812 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
| 07:29:42,812 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/Vari
| ableInstance.hbm.xml
| 07:29:42,812 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
| 07:29:42,828 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/ByteArrayInstance.hbm.xml
| 07:29:42,843 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.ByteAr
| rayInstance -> JBPM_VARIABLEINSTANCE
| 07:29:42,843 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/DateInstance.hbm.xml
| org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
| at org.hibernate.cfg.Configuration.addResource(Configuration.java:563)
| at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1584)
| at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1552)
| at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
| at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
| at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
| at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory
| .java:69)
| at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactor
| y.java:91)
| at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
| at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
| at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:334)
| at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
| at com.rco.bpm.util.JBPMAccessor.startEfileDestructionProcess(JBPMAccessor.java:37)
| at com.rco.TestJBPMEfileProcess.testSimpleProcess(TestJBPMEfileProcess.java:19)
| 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:597)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:12
| 8)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
| 07:29:42,859 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DateIn
| stance -> JBPM_VARIABLEINSTANCE
| 07:29:42,859 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/DoubleInstance.hbm.xml
| 07:29:42,859 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.Double
| Instance -> JBPM_VARIABLEINSTANCE
| 07:29:42,875 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/HibernateLongInstance.hbm.xml
| 07:29:42,875 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.Hibern
| ateLongInstance -> JBPM_VARIABLEINSTANCE
| 07:29:42,875 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/HibernateStringInstance.hbm.xml
| 07:29:42,890 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.Hibern
| ateStringInstance -> JBPM_VARIABLEINSTANCE
| 07:29:42,890 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/LongInstance.hbm.xml
| 07:29:42,906 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.LongIn
| stance -> JBPM_VARIABLEINSTANCE
| 07:29:42,906 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/NullInstance.hbm.xml
| 07:29:42,921 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.NullIn
| stance -> JBPM_VARIABLEINSTANCE
| 07:29:42,921 [main] INFO Configuration : Reading mappings from resource : org/jbpm/context/exe/vari
| ableinstance/StringInstance.hbm.xml
| 07:29:43,000 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.String
| Instance -> JBPM_VARIABLEINSTANCE
| 07:29:43,000 [main] INFO Configuration : Reading mappings from resource : org/jbpm/msg/Message.hbm.
| xml
| 07:29:43,000 [main] DEBUG JbpmContext : closing JbpmContext
| 07:29:43,000 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersis
| tenceService@8a548b
Here is my code that is calling it:
| public long startSampleProcess(String orgNumber, String suborgNumber) throws RMSException{
| long processID = -1;
|
| //Check if the jbpmConfiguration has been setup
| if( jbpmConfiguration == null ){
| //retrieve it
| jbpmConfiguration = JbpmConfiguration.getInstance();
| }
|
| //Doing a try and catch for all so the RMSException can contain the relevant info
| // Lookup the pojo persistence context-builder that is configured above
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| try {
|
|
| GraphSession graphSession = jbpmContext.getGraphSession();
| ...
|
It blows up on GraphSession graphSession = jbpmContext.getGraphSession()
I searched around these forums, but no idea on this one...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037311#4037311
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037311
19 years
[JBossWS] - String[] with SOAP... Please help me!
by chui
Hello there! I'm trying to develop a HelloWorld with JBossWS1.0.4, JBossAS4.0.5 and EJB3, but instead of returning a string "Hello World", I'd like to receive a String[]...
If I don't create a wsdl, JBossAS autocreate a default file, where the String[] is mapped as a NMTOKENS type. I don't want that because my array [Hello World, Hello World] becomes [Hello, World, Hello, World]... So I used WStools for creating a wsdl. That's my wstools-config.xml:
anonymous wrote : <configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
| - <java-wsdl>
|
| <namespaces target-namespace="http://interfaces/jaws" type-namespace="http://org.jboss.ws/samples/rpcstyle/types" />
|
| <webservices servlet-link="HelloService" />
| </java-wsdl>
|
I found something similar on the userguide and I used interfaces/jaws because JBoss complained if I didn't. WStools generated the wsdl and the mapping xml. Here is the wsdl: http://www.linux.ime.usp.br/~chui/HelloService.wsdl
However, isn't accepted when deploying the EJB, so I have to change that to HelloServicePort. And I don't know what I should write as <soap:address location> =/ Yeah, I'm newbie.
This is the generated jaxrpc-mapping.xml:
anonymous wrote : <?xml version="1.0" encoding="UTF-8" ?>
| - <java-wsdl-mapping version="1.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
| - <package-mapping>
| <package-type>interfaces</package-type>
| http://org.jboss.ws/samples/rpcstyle/types
| </package-mapping>
| - <service-interface-mapping>
| <service-interface>interfaces.HelloService</service-interface>
| <wsdl-service-name xmlns:serviceNS="http://interfaces/jaws">serviceNS:HelloService</wsdl-service-name>
| - <port-mapping>
| <port-name>HelloSEIPort</port-name>
| <java-port-name>HelloSEIPort</java-port-name>
| </port-mapping>
| </service-interface-mapping>
| - <service-endpoint-interface-mapping>
| <service-endpoint-interface>interfaces.HelloSEI</service-endpoint-interface>
| <wsdl-port-type xmlns:portTypeNS="http://interfaces/jaws">portTypeNS:HelloSEI</wsdl-port-type>
| <wsdl-binding xmlns:bindingNS="http://interfaces/jaws">bindingNS:HelloSEIBinding</wsdl-binding>
| - <service-endpoint-method-mapping>
| <java-method-name>hello</java-method-name>
| <wsdl-operation>hello</wsdl-operation>
| - <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| - <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS="http://interfaces/jaws">wsdlMsgNS:HelloSEI_hello</wsdl-message>
| <wsdl-message-part-name>String_1</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| - <wsdl-return-value-mapping>
| <method-return-value>java.lang.String[]</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS="http://interfaces/jaws">wsdlMsgNS:HelloSEI_helloResponse</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
Finally I could deploy the bean. But, when I call it using a client application, I receive this error:
anonymous wrote : java.rmi.RemoteException: Call invocation failed; nested exception is:
| org.jboss.ws.WSException: org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Not supported xsdType: anyType, hashCode=-842881210
As you can see, I never used anyType. So I tried to find where's this term... And I found it here: http://www.w3.org/2001/XMLSchema.xsd
Now I ask you:
1-) Why do I need to use http://interfaces/jaws ??
2-) How can I receive the String[]??? The bean is being called, but the client can't receive the result =(
Please help me! I REALLY NEED this to function so I can apply it to my real (and also EJB3+WS) project...
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037307#4037307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037307
19 years
[JBoss Messaging] - MDB failure
by satchmo2
I've inheritted an application that I am attempting to get to run under JBoss 4.0.5GA and JBoss Messaging 1.2 SP1. When the application is deployed, I get the exception posted below and the MDBs don't work.
I know that DestinationManager is no longer used. When I look in the 4.0.5 source for JMSContainerInvoker I found that it has the use of DestinationManager service hard coded.
Did I miss a configuration step or is this a defect? Is there a work-around if the latter?
Thanks,
Rick
anonymous wrote :
| 2007-04-14 09:21:46,656 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for InfoStreamerMDB
| org.jboss.deployment.DeploymentException: Error during topic setup; - nested throwable: (javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.)
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:720)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createDestination(JMSContainerInvoker.java:1113)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:659)
| ... 2 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037306#4037306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037306
19 years