[JBoss jBPM] - JBPM : How to open web forms under a process flow
by anurag.yadav
Hi,
I am new to JBPM and tried it for some time to build a sample web application based on JBPM work flow. Now as i have different web forms attached with various nodes to take user input but when i am executing the process via java code (not on jbpm-console), the whole process executed simultaneously without opening any web form....
i had searched a lot over the net but didn't found any way out to open form via jbpm process.. is there any thing else required for this...
My process definition looks like this:
<?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="Appraisal">
| <swimlane name="employee">
| <assignment pooled-actors="anuragy,onkars"></assignment>
| </swimlane>
| <swimlane name="RO">
| <assignment pooled-actors="sandeepg,vinayb"></assignment>
| </swimlane>
|
|
| <start-state name="Fill Appraisal Form">
| <task name="Fill Appraisal Form">
| <assignment pooled-actors="anuragy,onkars"></assignment>
| <controller>
| <variable access="read,write" name="ecode" mapped-name="E-Code"></variable>
| <variable access="read,write" name="empName" mapped-name="Emp-Name"></variable>
| <variable access="read,write" name="scheduleAdherence" mapped-name="Schedule Adherence"></variable>
| <variable access="read,write" name="quality" mapped-name="Quality"></variable>
| <variable access="read,write" name="effort" mapped-name="Effort"></variable>
| </controller>
| </task>
|
| <event type="node-leave">
| <action class="com.demo.handler.FillAppraisalFormHandler"></action>
| </event>
| <transition to="Approve Appraisal Form"></transition>
| </start-state>
|
|
| <task-node name="Approve Appraisal Form">
| <task name="Approve Appraisal Form">
| <assignment pooled-actors="sandeepg,vinayb"></assignment>
| <controller>
| <variable access="read" name="ecode" mapped-name="E-Code"></variable>
| <variable access="read" name="empName" mapped-name="Emp-Name"></variable>
| <variable access="read" name="scheduleAdherence" mapped-name="Schedule Adherence"></variable>
| <variable access="read" name="quality" mapped-name="Quality"></variable>
| <variable access="read" name="effort" mapped-name="Effort"></variable>
| <variable access="read,write" name="comment" mapped-name="Comment"></variable>
| </controller>
| </task>
| <event type="node-enter">
| <action class="com.demo.handler.GetAppraisalData"></action>
| </event>
| <transition to="End" name="Approve"></transition>
| <transition to="Update Appraisal Form" name="Reject"></transition>
| </task-node>
|
| <task-node name="Update Appraisal Form">
| <task name="Update Appraisal Form">
| <assignment pooled-actors="anuragy,onkars"></assignment>
| <controller>
| <variable access="read" name="ecode" mapped-name="E-Code"></variable>
| <variable access="read" name="empName" mapped-name="Emp-Name"></variable>
| <variable access="read,write" name="scheduleAdherence" mapped-name="Schedule Adherence"></variable>
| <variable access="read,write" name="quality" mapped-name="Quality"></variable>
| <variable access="read,write" name="effort" mapped-name="Effort"></variable>
| <variable access="read" name="comment" mapped-name="Comment"></variable>
| </controller>
| </task>
| <transition to="Approve Appraisal Form"></transition>
| </task-node>
|
|
| <end-state name="End"></end-state>
|
|
|
| </process-definition>
and my forms.xml looks like this:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <forms>
| <form task="Fill Appraisal Form" form="Fill Appraisal Form.xhtml"/>
| <form task="Approve Appraisal Form" form="Approve Appraisal Form.xhtml"/>
| <form task="Update Appraisal Form" form="Update Appraisal Form.xhtml"/>
| </forms>
|
and i am creating any process instance via this way:
|
| public ProcessInstance startNewProcessInstance(String processDefinitionName) {
|
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| try {
| GraphSession graphSession = jbpmContext.getGraphSession();
| ProcessDefinition definition = graphSession
| .findLatestProcessDefinition(processDefinitionName);
| if (definition != null) {
|
| } else {
| definition = deployProcessDefinition(jbpmContext,
| processDefinitionName);
| }
| ProcessInstance instance = definition.createProcessInstance();
| signalProcess(jbpmContext, instance);
| return instance;
| } catch (Exception ex) {
| ex.printStackTrace();
| } finally {
| jbpmContext.close();
| }
| return null;
| }
Please help!!!!!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232389#4232389
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232389
16 years, 11 months
[JBoss Portal] - issue related to JbossWS in server startup in JBoss portal 2
by khilariwaljbossforum
Hi,
I m new to JBoss world. I am trying to run the sample applications in JBoss portal 2.7.2 bundle but getitng the below error stack trace which seems to be related to JBoss WS issue. i don't know what's wrong . Could somebody help to resolve the issue. I have followed all the steps as per the referecne document given with this bundle. Is it a known issue?
I am stuck up due to this issue.
16:54:55,631 INFO [Server] Starting JBoss (MX MicroKernel)...
16:54:55,647 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
16:54:55,647 INFO [Server] Home Dir: C:\jboss-portal-2.7.2
16:54:55,647 INFO [Server] Home URL: file:/C:/jboss-portal-2.7.2/
16:54:55,663 INFO [Server] Patch URL: null
16:54:55,663 INFO [Server] Server Name: default
16:54:55,663 INFO [Server] Server Home Dir: C:\jboss-portal-2.7.2\server\default
16:54:55,663 INFO [Server] Server Home URL: file:/C:/jboss-portal-2.7.2/server/default/
16:54:55,663 INFO [Server] Server Log Dir: C:\jboss-portal-2.7.2\server\default\log
16:54:55,663 INFO [Server] Server Temp Dir: C:\jboss-portal-2.7.2\server\default\tmp
16:54:55,663 INFO [Server] Root Deployment Filename: jboss-service.xml
16:54:56,616 INFO [ServerInfo] Java version: 1.5.0_18,Sun Microsystems Inc.
16:54:56,616 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_18-b02,Sun Microsystems Inc.
16:54:56,616 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
16:54:57,585 INFO [Server] Core system initialized
16:55:00,803 INFO [WebService] Using RMI server codebase: http://localhost:8083/
16:55:00,803 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
16:55:01,475 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
16:55:01,475 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
16:55:01,710 INFO [TransactionManagerService] Starting recovery manager
16:55:01,835 INFO [TransactionManagerService] Recovery manager started
16:55:01,835 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
16:55:05,553 INFO [EJB3Deployer] Starting java:comp multiplexer
16:55:21,444 INFO [NativeServerConfig] JBoss Web Services - Native
16:55:21,444 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
16:55:22,366 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/PortletManagementService]
16:55:22,772 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/MarkupService]
16:55:22,772 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/ServiceDescriptionService]
16:55:22,772 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/RegistrationService]
16:55:22,772 INFO [ClientDeployer] Client ENC bound under: wsrp-client
16:55:23,288 INFO [Embedded] Catalina naming disabled
16:55:23,585 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_18\bin;.;C:\WINNT\system32;C:\WINNT;native
16:55:23,678 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
16:55:23,678 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
16:55:23,678 INFO [Catalina] Initialization processed in 397 ms
16:55:23,694 INFO [StandardService] Starting service jboss.web
16:55:23,694 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
16:55:23,772 INFO [Catalina] Server startup in 79 ms
16:55:23,881 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
16:55:24,881 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
16:55:25,100 INFO [TomcatDeployer] deploy, ctxPath=/portal-admin, warUrl=.../deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/
16:55:27,225 INFO [TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal.sar/portal-cms.sar/portal-cms.war/
16:55:27,460 INFO [TomcatDeployer] deploy, ctxPath=/portal-identity, warUrl=.../deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/
16:55:28,116 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp-admin, warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/
16:55:28,960 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=ServiceDescriptionService
16:55:28,975 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=MarkupService
16:55:28,975 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=RegistrationService
16:55:28,975 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=PortletManagementService
16:55:29,131 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp, warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
13:39:39,340 INFO [Server] Starting JBoss (MX MicroKernel)...
13:39:39,340 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
13:39:39,340 INFO [Server] Home Dir: C:\jboss-portal-2.7.2
13:39:39,340 INFO [Server] Home URL: file:/C:/jboss-portal-2.7.2/
13:39:39,356 INFO [Server] Patch URL: null
13:39:39,356 INFO [Server] Server Name: default
13:39:39,372 INFO [Server] Server Home Dir: C:\jboss-portal-2.7.2\server\default
13:39:39,372 INFO [Server] Server Home URL: file:/C:/jboss-portal-2.7.2/server/default/
13:39:39,372 INFO [Server] Server Log Dir: C:\jboss-portal-2.7.2\server\default\log
13:39:39,372 INFO [Server] Server Temp Dir: C:\jboss-portal-2.7.2\server\default\tmp
13:39:39,372 INFO [Server] Root Deployment Filename: jboss-service.xml
13:39:39,856 INFO [ServerInfo] Java version: 1.5.0_18,Sun Microsystems Inc.
13:39:39,856 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_18-b02,Sun Microsystems Inc.
13:39:39,856 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
13:39:40,356 INFO [Server] Core system initialized
13:39:42,872 INFO [WebService] Using RMI server codebase: http://localhost:8083/
13:39:42,872 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
13:39:43,340 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
13:39:43,340 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
13:39:43,653 INFO [TransactionManagerService] Starting recovery manager
13:39:43,825 INFO [TransactionManagerService] Recovery manager started
13:39:43,825 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
13:39:46,903 INFO [EJB3Deployer] Starting java:comp multiplexer
13:40:00,856 INFO [NativeServerConfig] JBoss Web Services - Native
13:40:00,856 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
13:40:01,778 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/PortletManagementService]
13:40:01,809 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/MarkupService]
13:40:01,809 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/ServiceDescriptionService]
13:40:01,809 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/RegistrationService]
13:40:01,809 INFO [ClientDeployer] Client ENC bound under: wsrp-client
13:40:02,778 INFO [Embedded] Catalina naming disabled
13:40:03,028 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_18\bin;.;C:\WINNT\system32;C:\WINNT;native
13:40:03,153 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
13:40:03,153 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
13:40:03,153 INFO [Catalina] Initialization processed in 381 ms
13:40:03,153 INFO [StandardService] Starting service jboss.web
13:40:03,169 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
13:40:03,247 INFO [Catalina] Server startup in 82 ms
13:40:03,340 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
13:40:04,356 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
13:40:04,637 INFO [TomcatDeployer] deploy, ctxPath=/portal-admin, warUrl=.../deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/
13:40:06,700 INFO [TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal.sar/portal-cms.sar/portal-cms.war/
13:40:06,965 INFO [TomcatDeployer] deploy, ctxPath=/portal-identity, warUrl=.../deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/
13:40:07,653 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp-admin, warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/
13:40:08,559 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=ServiceDescriptionService
13:40:08,559 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=MarkupService
13:40:08,559 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=RegistrationService
13:40:08,559 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=PortletManagementService
13:40:08,731 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp, warUrl=.../deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
13:40:32,903 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy202.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy200.addDeployer(Unknown Source)
at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
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: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:394)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
... 129 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:828)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:780)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:705)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:949)
at java.net.URL.openStream(URL.java:1007)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:385)
... 133 more
13:40:32,934 ERROR [MainDeployer] DeploymentException while trying to deploy a package with a new deployer
org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/; - nested throwable: (org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out: connect)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1050)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy200.addDeployer(Unknown Source)
at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
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: org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy202.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
... 115 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectException: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:394)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
... 129 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:828)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:780)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:705)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:949)
at java.net.URL.openStream(URL.java:1007)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:385)
... 133 more
13:40:33,059 INFO [TomcatDeployer] deploy, ctxPath=/portal-users-samples, warUrl=.../deploy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/
13:40:33,356 INFO [TomcatDeployer] deploy, ctxPath=/portal-ajax, warUrl=.../deploy/jboss-portal.sar/portal-ajax.war/
13:40:33,575 INFO [TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../deploy/jboss-portal.sar/portal-core.war/
13:40:33,856 INFO [TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../deploy/jboss-portal.sar/portal-server.war/
13:40:34,215 INFO [TomcatDeployer] deploy, ctxPath=/portal-widget-netvibes, warUrl=.../deploy/jboss-portal.sar/portal-widget-netvibes.war/
13:40:34,481 INFO [TomcatDeployer] deploy, ctxPath=/portal-widget, warUrl=.../deploy/jboss-portal.sar/portal-widget.war/
13:40:34,762 INFO [TomcatDeployer] deploy, ctxPath=/portal-jsp-samples, warUrl=.../deploy/jboss-portal.sar/samples/portal-jsp-samples.war/
13:40:34,965 INFO [TomcatDeployer] deploy, ctxPath=/portal-news-samples, warUrl=.../deploy/jboss-portal.sar/samples/portal-news-samples.war/
13:40:35,200 INFO [TomcatDeployer] deploy, ctxPath=/portal-portlet-samples, warUrl=.../deploy/jboss-portal.sar/samples/portal-portlet-samples.war/
13:40:35,419 INFO [TomcatDeployer] deploy, ctxPath=/portal-weather-samples, warUrl=.../deploy/jboss-portal.sar/samples/portal-weather-samples.war/
13:40:35,637 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
13:40:35,856 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:40:36,950 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:40:38,403 INFO [MailService] Mail Service bound to java:/Mail
13:40:38,794 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232383#4232383
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232383
16 years, 11 months
[Clustering/JBoss] - Jboss cluster + Spring WebApplicationContext
by sureshrk19
Some more info...
I spent some more time in debugging the issue and narrowed down to spring layer is problematic...
the WebApplicationContext is getting regenerated on session failover. when the active node goes down the second node is replicated with all the httpsession data but. when I observe the sping log statements... it says, WebAPplicationContext is closed (on first node) and on second node it is getting regenerated.
However, when I print the underlying session data from WebApplicationContext... everything is fine i.e., all the session data (from node1) is replicated on node2.
I'm totally confused.
I went thru multiple forums and everywhere I see these kind of problems are addressed thru Terracota..
Did anybody try spring + dwr application clustering on JBoss??
Any pointers would be highly appreciated.
Thanks,
Suresh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232367#4232367
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232367
16 years, 11 months
[Security & JAAS/JBoss] - Problem with Dynamic Login Config on JBoss 5.0.1
by vphagura
I have dynamicloginconfig-service.xml deployed in the server/default/deploy and looks like this:
<server>
| <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="jboss:service=DynamicLoginConfig">
| <attribute name="AuthConfig">
| dynamic-login-config.xml
| </attribute>
| <depends optional-attribute-name="LoginConfigService">
| jboss.security:service=XMLLoginConfig
| </depends>
| <depends optional-attribute-name="SecurityManagerService">
| jboss.security:service=JaasSecurityManager
| </depends>
| </mbean>
| </server>
And then I have the dynamic-login-config.xml pointed to by the 'AuthConfig' attribute above, and it looks like this:
<?xml version='1.0'?>
|
| <policy>
| <!-- Used by clients within the application server VM such as
| mbeans and servlets that access EJBs.
| -->
| <application-policy name = "reservator-security-domain">
| <authentication>
| <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
| <module-option name="dsJndiName">
| java:/ReservatorDS
| </module-option>
| <module-option name="principalsQuery">
| SELECT PASSWD FROM USERS WHERE USERID=?
| </module-option>
| <module-option name="rolesQuery">
| SELECT ROLEID, 'rolesGroup' FROM ROLES WHERE USERID=?
| </module-option>
| </login-module>
| </authentication>
| </application-policy>
|
| </policy>
The dynamic-login-config.xml file is located in my EAR under its meta-inf.
During deploy of JBoss AS 5.0.1 I get this error:
org.jboss.deployment.DeploymentException: Failed to find authConf as resource: dynamic-login-config.xml
I even tried putting specifing meta-inf dir in the AuthConfig as META-INF/dynamic-login-config.xml
Please help, am I missing something??
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232363#4232363
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232363
16 years, 11 months