[Clustering/JBoss] - Wierd trouble while deploying application to clustere JBoss
by inksystems
Hi everyone,
i am attempting to move an existing application to the clustered environment.
Application consists of one ejb module and one web frontend application packed into .ear file.
It works fine on single instance of JBoss 4.2 but when it is deployed to clustered Jboss 4.2 deployment goes allright but when web application attempts to create a stetless session bean from ejb module following error appears in the log:
java.lang.IllegalArgumentException: object is not an instance of declaring class
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.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
at $Proxy367.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:568)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
etc.......
Did anyone observe something similar or at least knows which direction should i dig further?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083343#4083343
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083343
18 years, 8 months
[JBossWS] - Cannot find port type for binding
by ZazzaZ
Hi,
I'm having this problem deploying a web service under jboss 4.0.5
11:04:21,749 ERROR [MainDeployer] Could not create deployment: file:/home/zazzaz/Tesi_Workflow/jboss-4.0.5.GA/server/default/deploy/processo.war
org.jboss.ws.WSException: Cannot find port type for binding: ClientPortTypeBinding
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.java:726)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java:1071)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.java:1054)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.java:1027)
at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:119)
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:94)
at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:78)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
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 $Proxy39.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor55.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 $Proxy8.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.GeneratedMethodAccessor2.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:302)
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:490)
at java.lang.Thread.run(Thread.java:595)
It is something with the namespace, but i don't know what it is.
Here's the binding.
<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="http://jbpm.org/examples/processo" xmlns:tns="http://jbpm.org/examples/processo" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" >
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<soap:operation soapAction="http://jbpm.org/examples/StartFinishWorkflow"/>
<soap:body use="literal" namespace="http://jbpm.org/examples/Client"/>
<soap:body use="literal" namespace="http://jbpm.org/examples/Client"/>
The portType is defined in the file Client.wsdl. The namespace is
http://jbpm.org/examples/Client
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083342#4083342
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083342
18 years, 8 months
[JBoss Portal] - Could not initialise deployment: file:/C:/jboss-4.0.5.GA/ser
by coolroby@143
Hi Guys,
I am new to portlets. I am trying to run a portlet using JBoss 4.0.5. But while starting the server i am getting the following lines..Can u plz help me to run the portlet using JBoss 4.0.5...
11:11:23,830 WARN [ServiceController] Problem starting service portal:service=Hibernate,type=Portlet
java.lang.OutOfMemoryError
11:11:26,273 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
java.lang.OutOfMemoryError
11:11:26,305 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@18cab0a4 { url=file:/C:/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: null
state: INIT_DEPLOYER
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1189575686273
lastModified: 1189521925276
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=ApprovePublish,type=Workflow
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
portal:service=Workflow,type=WorkflowService
portal:service=Module,type=IdentityServiceController
ObjectName: portal:service=CMS
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
portal:service=Module,type=IdentityServiceController
portal:service=InterceptorStackFactory,type=Cms
Depends On Me:
portal:name=Default,service=Management,type=CMS
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache
ObjectName: portal:service=Hibernate,type=Instance
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:service=InstanceContainerContext
ObjectName: portal:service=Hibernate,type=PortalObject
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:container=PortalObject
ObjectName: portal:service=Hibernate,type=Portlet
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal.wsrp:service=PersistenceManager
portal:service=PersistenceManager,type=Producer
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=Hibernate,type=Instance
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:service=InstanceContainerContext
ObjectName: portal:service=CMS
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
portal:service=Module,type=IdentityServiceController
portal:service=InterceptorStackFactory,type=Cms
Depends On Me:
portal:name=Default,service=Management,type=CMS
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache
ObjectName: portal:service=Hibernate,type=Portlet
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal.wsrp:service=PersistenceManager
portal:service=PersistenceManager,type=Producer
ObjectName: portal:service=ApprovePublish,type=Workflow
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
portal:service=Workflow,type=WorkflowService
portal:service=Module,type=IdentityServiceController
ObjectName: portal:service=Hibernate,type=PortalObject
State: FAILED
Reason: java.lang.OutOfMemoryError
I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
Depends On Me:
portal:container=PortalObject
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083339#4083339
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083339
18 years, 8 months
[JBoss Seam] - <s:conversationPropagation type="end"/> usage
by harpritt
Hi ya
i was just wondering what you guys thought of my usage of <s:conversationPropagation type="end"/>. Ive looked at the documentation and am 80% sure that im using it correctly, but would appreciate your comments just incase im having a senior momment.
Below is the menu display on my app home page, titles are in bold and lonks follow. I have used <s:conversationPropagation type="end"/> on all the links to end any existing conversation(s) that the user may have started durring app useage. Is there anything i shoudl be wary off useing this approach , also what could have been my alternatives (other than annotation)
The following actions are available to you
Create a Change Request
View all Change Requests
The following tasks require your attention
Change requests that need to be assigned to an approver (18)
Change requests that need to be approved (9)
Change requests that need to be revised (1)
anyway cheers again for your thoughts,.. happy seaming!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083338#4083338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083338
18 years, 8 months