[Beginner's Corner] - JBoss 5.1.0.GA hangs on startup
by Robert Heath
Robert Heath [http://community.jboss.org/people/bobheath] created the discussion
"JBoss 5.1.0.GA hangs on startup"
To view the discussion, visit: http://community.jboss.org/message/557361#557361
--------------------------------------------------------------
I am a JBoss newbee. If I am asking a stupid question, I apologize. I am trying to start JBoss 5.1.0.GA and run.bat hangs. Attached is the log.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: D:\JBoss\JBoss5-1\jboss-5.1.0.GA
JAVA: D:\Java\jdk1.6.0_20\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server
CLASSPATH: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\bin\run.jar
===============================================================================
14:19:06,656 INFO [ServerImpl] Starting JBoss (Microcontainer)...
14:19:06,656 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
14:19:06,656 INFO [ServerImpl] Bootstrap URL: null
14:19:06,671 INFO [ServerImpl] Home Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA
14:19:06,671 INFO [ServerImpl] Home URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/
14:19:06,671 INFO [ServerImpl] Library URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/lib/
14:19:06,671 INFO [ServerImpl] Patch URL: null
14:19:06,671 INFO [ServerImpl] Common Base URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/common/
14:19:06,671 INFO [ServerImpl] Common Library URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/common/lib/
14:19:06,671 INFO [ServerImpl] Server Name: default
14:19:06,671 INFO [ServerImpl] Server Base Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server
14:19:06,671 INFO [ServerImpl] Server Base URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/
14:19:06,671 INFO [ServerImpl] Server Config URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/conf/
14:19:06,671 INFO [ServerImpl] Server Home Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default
14:19:06,671 INFO [ServerImpl] Server Home URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/
14:19:06,671 INFO [ServerImpl] Server Data Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\data
14:19:06,671 INFO [ServerImpl] Server Library URL: file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/lib/
14:19:06,671 INFO [ServerImpl] Server Log Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\log
14:19:06,671 INFO [ServerImpl] Server Native Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\tmp\native
14:19:06,671 INFO [ServerImpl] Server Temp Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\tmp
14:19:06,671 INFO [ServerImpl] Server Temp Deploy Dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\tmp\deploy
14:19:07,156 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
14:19:07,609 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
14:19:07,609 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
14:19:07,828 INFO [CopyMechanism] VFS temp dir: D:\JBoss\JBoss5-1\jboss-5.1.0.GA\server\default\tmp
14:19:07,828 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
14:19:08,750 INFO [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.
14:19:08,750 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
14:19:08,750 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 16.3-b01,Sun Microsystems Inc.
14:19:08,750 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
14:19:08,750 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.
resolver.warning=true -Djava.endorsed.dirs=D:\JBoss\JBoss5-1\jboss-5.1.0.GA\lib\endorsed
14:19:08,781 INFO [JMXKernel] Legacy JMX core initialized
14:19:10,296 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@fb665d[domain=default, server=default, name=default]
14:19:11,421 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ http://127.0.0.1:8083/
14:19:15,359 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
14:19:15,359 INFO [NativeServerConfig] 3.1.2.GA
14:19:15,718 INFO [AttributeCallbackItem] Owner callback not implemented.
14:19:16,625 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@1f7b90b[ defa
ultDomain='jboss' ]
14:19:25,656 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17800670{vfsfile:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
14:19:25,656 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17800670{vfsfile:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
14:19:25,656 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17800670{vfsfile:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
14:19:25,656 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17800670{vfsfile:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
14:19:28,000 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
14:19:28,109 INFO [MailService] Mail Service bound to java:/Mail
14:19:29,812 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its
password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
14:19:29,828 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
14:19:29,890 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
14:19:29,937 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
14:19:29,937 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
14:19:30,187 INFO [TransactionManagerService] Initializing recovery manager
14:19:30,296 INFO [TransactionManagerService] Recovery manager configured
14:19:30,296 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
14:19:30,328 INFO [TransactionManagerService] Starting transaction recovery manager
14:19:30,718 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jdk1.6.0_20\bin;.
;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Java\jdk1.6.0_20\bin;D:\Java\jdk1.6.0_20\jre\bin;D:\JBoss\JBoss5-1\jboss-5.1.0.GA\bin
;C:\Program Files\Common Files\Intuit\QBPOSSDKRuntime;D:\Subversion\bin;D:\QuickTime\QTSystem\;D:\Glassfishv3-0-1\bin;D:\GlassfishV3-0-1\ant\bin\;D:\C++Compiler\cygwin\bin;K:\TomCat\apache-tomcat-6.0.
29\bin
14:19:30,781 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
14:19:30,781 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:19:30,812 INFO [StandardService] Starting service jboss.web
14:19:30,812 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
14:19:30,843 INFO [Catalina] Server startup in 60 ms
14:19:30,859 INFO [TomcatDeployment] deploy, ctxPath=/web-console
14:19:31,562 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
14:19:31,593 INFO [TomcatDeployment] deploy, ctxPath=/invoker
14:19:31,703 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
14:19:31,718 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
14:19:31,734 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
14:19:31,750 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
14:19:31,781 INFO [RARDeployment] Required license terms exist, view vfszip:/D:/JBoss/JBoss5-1/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
14:19:31,859 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
14:19:31,890 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
14:19:31,890 INFO [RAMJobStore] RAMJobStore initialized.
14:19:31,890 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
14:19:31,890 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
14:19:31,890 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:19:32,437 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
14:19:32,859 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
14:19:32,984 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:19:32,984 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@17545e7 started
14:19:33,000 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
14:19:33,000 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
14:19:33,000 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non c
lustered. So connection factory will *not* support failover
14:19:33,000 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support load balancing
14:19:33,000 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:19:33,000 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1b74f43 started
14:19:33,000 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:19:33,000 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1e0daf7 started
14:19:33,078 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
14:19:33,406 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
14:19:33,406 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
14:19:33,406 INFO [JBossASKernel] with dependencies:
14:19:33,406 INFO [JBossASKernel] and demands:
14:19:33,406 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
14:19:33,406 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
14:19:33,406 INFO [JBossASKernel] and supplies:
14:19:33,406 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService
14:19:33,406 INFO [JBossASKernel] jndi:SecureProfileService/remote
14:19:33,406 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
14:19:33,406 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
14:19:33,406 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
14:19:33,406 INFO [JBossASKernel] with dependencies:
14:19:33,406 INFO [JBossASKernel] and demands:
14:19:33,406 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
14:19:33,437 INFO [JBossASKernel] and supplies:
14:19:33,437 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
14:19:33,437 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
14:19:33,437 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote
14:19:33,437 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
14:19:33,484 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
14:19:33,484 INFO [JBossASKernel] with dependencies:
14:19:33,484 INFO [JBossASKernel] and demands:
14:19:33,484 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
14:19:33,484 INFO [JBossASKernel] and supplies:
14:19:33,515 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
14:19:33,515 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView
14:19:33,515 INFO [JBossASKernel] jndi:SecureManagementView/remote
14:19:33,515 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
14:19:33,515 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@125b957{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoin
t.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
14:19:33,546 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@34ce0{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoi
nt.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
14:19:33,546 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1167d9c{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoin
t.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
14:19:33,750 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
14:19:33,765 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
14:19:33,796 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
14:19:33,843 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
14:19:33,843 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
14:19:33,859 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureManagementView/remote - EJB3.x Default Remote Business Interface
SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
14:19:33,890 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
14:19:33,890 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
14:19:33,890 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
SecureProfileService/remote - EJB3.x Default Remote Business Interface
SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
14:19:34,000 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
14:19:34,093 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
14:19:35,953 INFO [TomcatDeployment] deploy, ctxPath=/
14:19:36,000 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
14:19:36,078 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
14:19:36,109 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:19:36,109 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 29s:438ms
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557361#557361]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months
[jBPM] - How could I modify SubProcessActivity class in jbpm 4.4?
by Alessandro Amicone
Alessandro Amicone [http://community.jboss.org/people/alami74] created the discussion
"How could I modify SubProcessActivity class in jbpm 4.4?"
To view the discussion, visit: http://community.jboss.org/message/557334#557334
--------------------------------------------------------------
Hi.
WIth jbpm 4.3 I modified SubProcessActivity in order to have the same execution id of principal process in the sub processes.
Instad of
ExecutionImpl subProcessInstance = (ExecutionImpl) processDefinition.createProcessInstance(null, execution);
I put
ExecutionImpl subProcessInstance = (ExecutionImpl) processDefinition.createProcessInstance(execution.getId(), execution);
Now I installed jbpm 4.4 and I'm trying to do the same change. I modified SubProcessActivity class and then I overwrote SubProcessActivity.class and SubProcessBindings.class in jbpm.jar. But when I start the main process I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jbpm/pvm/internal/model/Activity
at org.jbpm.jpdl.internal.activity.SubProcessBinding.parseJpdl(SubProcessBinding.java:48)
at org.jbpm.jpdl.internal.activity.JpdlBinding.parse(JpdlBinding.java:45)
at org.jbpm.jpdl.internal.xml.JpdlParser.parseActivities(JpdlParser.java:320)
at org.jbpm.jpdl.internal.xml.JpdlParser.parseDocumentElement(JpdlParser.java:248)
at org.jbpm.pvm.internal.xml.Parser.parseDocument(Parser.java:480)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)
at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:68)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
at org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:130)
at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.getProcessDefinition(ProcessDefinitionQueryImpl.java:92)
at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:72)
at org.jbpm.pvm.internal.query.AbstractQuery.untypedUniqueResult(AbstractQuery.java:77)
at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.uniqueResult(ProcessDefinitionQueryImpl.java:161)
at org.jbpm.pvm.internal.repository.RepositorySessionImpl.findProcessDefinitionByKey(RepositorySessionImpl.java:154)
at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:56)
at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:36)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:79)
at it.nacon.jbpm.process.service.impl.ProcessServiceImpl.startProcessInstance(ProcessServiceImpl.java:80)
at Test.main(Test.java:40)
Caused by: java.lang.ClassNotFoundException: org.jbpm.pvm.internal.model.Activity
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 26 more
It seems to refer to old SubProcessBindings.class but I checked that jbpm.jar in tomcat's lib and in the application lib is the newer version.
What's wrong?
Thanks for your help.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557334#557334]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months
[JBoss Web Services] - wsconsume jaxb binding file example?
by max tomlinson
max tomlinson [http://community.jboss.org/people/finbarr] created the discussion
"wsconsume jaxb binding file example?"
To view the discussion, visit: http://community.jboss.org/message/557331#557331
--------------------------------------------------------------
Hi all-
I am trying to run wsconsume on some fairly complex wsdl to generate JAX-WS (native) artifacts to build a web service.
I get errors when I try to deploy my web service under Jboss 4.2. The errors are IllegalAnnotationsExceptions referenceing objects used by the WSN Notification Framework.
My question is (not knowing much about JAXB) how can I created JAXB bidnign fiels to pass to the wsconsume tasks. I've attached the WSDL
Many thanks
Max
08:26:53,400 ERROR [MainDeployer] Could not start deployment: file:/opt/jboss/jboss-4.2.2.GA/server/default/deploy/cps.ear/cps.jar/
java.lang.IllegalStateException: Cannot build JAXB context
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:925)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaDat
.
. etc
.
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
javax.xml.namespace.QName does not have a no-arg default constructor.
this problem is related to the following location:
at javax.xml.namespace.QName
at protected java.util.List org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType.unknownFilter
at org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType
at public org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType org.oasis_open.docs.wsn.b_2.ObjectFactory.createInvalidFilterFaultType()
at org.oasis_open.docs.wsn.b_2.ObjectFactory
at protected java.util.List org.oasis_open.docs.wsn.b_2.TopicExpressionType.content
at org.oasis_open.docs.wsn.b_2.TopicExpressionType
at protected org.oasis_open.docs.wsn.b_2.TopicExpressionType org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType.topic
at org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType
at protected java.util.List org.oasis_open.docs.wsn.b_2.Notify.notificationMessage
at org.oasis_open.docs.wsn.b_2.Notify
at private org.oasis_open.docs.wsn.b_2.Notify com.wwc.cps.webservices.jaxws.Notify.arg0
at com.wwc.cps.webservices.jaxws.Notify
@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML.
this problem is related to the following location:
at protected java.util.List org.oasis_open.docs.wsn.t_1.TopicType.messageTypes
at org.oasis_open.docs.wsn.t_1.TopicType
at org.oasis_open.docs.wsn.t_1.TopicNamespaceType$Topic
at public org.oasis_open.docs.wsn.t_1.TopicNamespaceType$Topic org.oasis_open.docs.wsn.t_1.ObjectFactory.createTopicNamespaceTypeTopic()
at org.oasis_open.docs.wsn.t_1.ObjectFactory
at protected java.util.List org.oasis_open.docs.wsn.t_1.TopicSetType.any
at org.oasis_open.docs.wsn.t_1.TopicSetType
at protected org.oasis_open.docs.wsn.t_1.TopicSetType org.oasis_open.docs.wsn.b_2.NotificationProducerRP.topicSet
at org.oasis_open.docs.wsn.b_2.NotificationProducerRP
at public org.oasis_open.docs.wsn.b_2.NotificationProducerRP org.oasis_open.docs.wsn.b_2.ObjectFactory.createNotificationProducerRP()
at org.oasis_open.docs.wsn.b_2.ObjectFactory
at protected java.util.List org.oasis_open.docs.wsn.b_2.TopicExpressionType.content
at org.oasis_open.docs.wsn.b_2.TopicExpressionType
at protected org.oasis_open.docs.wsn.b_2.TopicExpressionType org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType.topic
at org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType
at protected java.util.List org.oasis_open.docs.wsn.b_2.Notify.notificationMessage
at org.oasis_open.docs.wsn.b_2.Notify
at private org.oasis_open.docs.wsn.b_2.Notify com.wwc.cps.webservices.jaxws.Notify.arg0
at com.wwc.cps.webservices.jaxws.Notify
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:116)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:921)
... 82 more
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557331#557331]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months