[Remoting] - Which thread pool services SLSB requests in AS?
by justinwalsh
Hi,
Not sure if this is a JBoss AS question or a remoting question - will be glad to move the post if required.
Basically I am trying to find out which thread pool contains the worker threads which service incoming (remote) requests made to stateless session beans in JBoss AS so that I can configure it.
The only references to thread pools in jboss-service.xml that I can see are for the NamingService and WebService. The naming service reference appears to be a pool for bootstrap lookups. Not sure if this is what I'm after.
NamingService:
| <mbean code="org.jboss.naming.NamingService"
| name="jboss:service=Naming"
| xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
| ...
| <!-- The thread pool service used to control the bootstrap lookups -->
| <depends optional-attribute-name="LookupPool"
| proxy-type="attribute">jboss.system:service=ThreadPool</depends>
| ...
|
| </mbean>
| ...
|
This is a stack at the point of a breakpoint in the SLSB
| Thread [WorkerThread#0[127.0.0.1:3398]] (Suspended (breakpoint at line 95 in FooBean))
| FooBean.save(ApplicationContext, Object) line: 95
| NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
| NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
| DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
| Method.invoke(Object, Object...) line: 585
| MarshalledInvocation(Invocation).performCall(Object, Method, Object[]) line: 359
| StatelessSessionContainer$ContainerInterceptor.invoke(Invocation) line: 237
| .....
|
| Invocation.invoke() line: 86
| XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
| MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
| UnifiedInvokerHA.invoke(InvocationRequest) line: 146
| SocketServerInvoker(ServerInvoker).invoke(InvocationRequest) line: 769
| ServerThread.processInvocation(SocketWrapper) line: 573
| ServerThread.dorun() line: 387
| ServerThread.run() line: 166
Any pointers in the right direction apprectiated
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180109#4180109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180109
17 years, 6 months
[JBoss Portal] - JBoss Portal WSRP with WS Stack CXF
by FelderR
We tried to upgrade the JBoss Portal 2.6.6 Webservice Stack from native to CXF but failed with the following error message from the WSRP Stack. For me it seems that the great JBoss Platform is not compatible within itself especially if it comes to the Portal Framework?
We tried with Java 5 and Java 6. If we remove the portal-wsrp.sar within the jboss-portal.sar everything works fine.
So is there any workaround getting portal-wsrp running with the CXF Stack?
Thanks for help
Rene
Stacktrace:
=======
17:49:38,312 ERROR [MainDeployer] Could not create deployment: file:/C:/ta30/progs/jboss-portal-2.6.6.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
Caused by: java.lang.NoClassDefFoundError: javax/xml/rpc/soap/SOAPFaultException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.getConstructor(Class.java:1629)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1232)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:170)
also
17:49:45,828 ERROR [MainDeployer] Could not start deployment: file:/C:/ta30/progs/jboss-portal-2.6.6.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments)
at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:175)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
Caused by: java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments
at org.jboss.wsf.stack.cxf.client.ServiceRefBinderJAXRPC.setupServiceRef(ServiceRefBinderJAXRPC.java:40)
at org.jboss.wsf.framework.serviceref.DefaultServiceRefHandler.bindServiceRef(DefaultServiceRefHandler.java:127)
at org.jboss.metadata.serviceref.ServiceRefDelegate.bindServiceRef(ServiceRefDelegate.java:100)
and
Caused by: java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments
at org.jboss.wsf.stack.cxf.client.ServiceRefBinderJAXRPC.setupServiceRef(ServiceRefBinderJAXRPC.java:40)
at org.jboss.wsf.framework.serviceref.DefaultServiceRefHandler.bindServiceRef(DefaultServiceRefHandler.java:127)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180101#4180101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180101
17 years, 6 months
[JBoss Portal] - JBOSS PORTAL CMS Issue - Urgen Help Appreciated
by user.java
Hi,
I am having issues with JBOSS 2.6.5 portal with CMS. When i log in as ADMIN and create a Folder inside the CMS. First foder is created and while creating any child folders under it is throwing error.
Stack Trace-- Any help/work around ???
anonymous wrote :
| 008-10-02 12:06:38,212 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,228 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,228 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: insert into PRTLJBOS.jbp_cms_wsp_prop (PK, PROP_ID, PROP_DATA) values (default, ?, ?)
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: insert into PRTLJBOS.jbp_cms_wsp_prop (PK, PROP_ID, PROP_DATA) values (default, ?, ?)
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: insert into PRTLJBOS.jbp_cms_wsp_prop (PK, PROP_ID, PROP_DATA) values (default, ?, ?)
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: insert into PRTLJBOS.jbp_cms_wsp_prop (PK, PROP_ID, PROP_DATA) values (default, ?, ?)
| 2008-10-02 12:06:38,244 INFO [STDOUT] Hibernate: select wspnode0_.PK as PK5_, wspnode0_.NODE_ID as NODE2_5_, wspnode0_.NODE_DATA as NODE3_5_ from PRTLJBOS.jbp_cms_wsp_node wspnode0_ where wspnode0_.NODE_ID=?
| 2008-10-02 12:06:38,259 INFO [STDOUT] Hibernate: insert into PRTLJBOS.jbp_cms_wsp_node (PK, NODE_ID, NODE_DATA) values (default, ?, ?)
| 2008-10-02 12:06:38,259 INFO [STDOUT] Hibernate: select wspnode0_.PK as PK5_, wspnode0_.NODE_ID as NODE2_5_, wspnode0_.NODE_DATA as NODE3_5_ from PRTLJBOS.jbp_cms_wsp_node wspnode0_ where wspnode0_.NODE_ID=?
| 2008-10-02 12:06:38,259 INFO [STDOUT] Hibernate: select wspprop0_.PK as PK6_, wspprop0_.PROP_ID as PROP2_6_, wspprop0_.PROP_DATA as PROP3_6_ from PRTLJBOS.jbp_cms_wsp_prop wspprop0_ where wspprop0_.PROP_ID=?
| 2008-10-02 12:06:38,259 INFO [STDOUT] Hibernate: update PRTLJBOS.jbp_cms_wsp_node set NODE_ID=?, NODE_DATA=? where PK=?
| 2008-10-02 12:06:38,275 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: -302, SQLState: 22001
| 2008-10-02 12:06:38,275 ERROR [org.hibernate.util.JDBCExceptionReporter] DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=3.52.95
| 2008-10-02 12:06:38,275 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
| org.hibernate.exception.DataException: could not update: [org.jboss.portal.cms.hibernate.state.WSPNode#5]
| at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
| at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
| at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2425)
| at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
| at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
| at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
| at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
| at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)
| at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180098#4180098
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180098
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Hot Deployment EAR (Exploded directory structure type EAR) a
by tamilsmani
Hi all,
I am trying to deploy my EAR as HOT deployment. I have created a EAR directory which iterns have EJB directory and WEB directory.
I am successfully deploy the application in JBOSS 4.2.2. But if i do any modifcation on any of my java classes (EJB classes or WEB java classes) it not refelection because the class reloading is not happening. If i restart the server then its working.
I found a way to reload the classes without restarting the server by just saving application.xml file in EAR directory ( Just to change the updated time stamp of the file).
When the application.xml file is modified the server is reloading the application.
But I don't want to save application.xml file each time to reflect my changes.
Can any one help me out how to configure my EAR application to be reload automatically when there is a java class changes?
Like when we want to reload the WEB application without restarting the server by having an entry in server.xml file in web.deployer directory in the xml tag by specifiying reloadable="true".
Is there any way for EAR HOT deployment?
Regards
Tamil Selvan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180094#4180094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180094
17 years, 6 months