[Remoting] - Re: Which thread pool services SLSB requests in AS?
by justinwalsh
Hi Ron,
Thanks for your reply - appreciate it.
I probably should have mentioned that I'm using 2.1 EJBs and not EJB3. So I assume that the the equivalent of the $JBOSS_HOME/server/$CONFIG/deploy/ejb3.deployer/META-INF/jboss-service.xml is $JBOSS_HOME/server/$CONFIG/deploy/ejb-deployer.xml file
Problem is that I don't see any invokers defined in this file.
Digging a little deeper, on the jmx-console in the jboss.remoting domain I have:
| * dataType=invocation,enableTcpNoDelay=true,host=10.0.0.85,marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller,port=4446,service=invoker,socketTimeout=600000,transport= socket,unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller
| * handler=ejb3,name=DefaultEjb3Connector,type=Connector
| * host=10.0.0.85,port=3873,service=invoker,transport=socket
| * service=Connector,transport=socket
| * service=NetworkRegistry
|
|
Is this invoker the one that I am after?
| service=Connector,transport=socket
|
Which is defined (and configured) as follows in jboss-service.xml
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:service=Connector,transport=socket"
| display-name="Socket transport Connector">
| ...
| <!--<attribute name="maxPoolSize">303</attribute> -->
| ...
| </mbean>
|
Which I can configure by un-commenting (and customising) the above maxPoolSize setting. If so, any idea what the default is?
Thanks,
Justin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180261#4180261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180261
17 years, 9 months
Message is not delivered
by Courier Mail Server
--<1692.73331855503031(a)[127.0.0.1]>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello, jboss-user(a)lists.jboss.org!
Cannot deliver your message to following recipients:
sales(a)imagehunt.ru
These recipients is not exists.
Your original message is attached.
Courier Mail Server (http://www.courierms.net)
--<1692.73331855503031(a)[127.0.0.1]>
Content-Type: message/rfc822
Content-Disposition: attachment
X-Deliver-To: sales(a)imagehunt.ru
Return-Path: <jboss-user(a)lists.jboss.org>
Received: from [62.113.100.53] (HELO fr53.aha.ru)
by backend25.aha.ru (CommuniGate Pro SMTP 4.3.11)
with ESMTP id 69398373 for sales(a)imagehunt.ru; Fri, 03 Oct 2008 15:26:38 +0400
Received: from mail.i-st.net (A68c8.a.strato-dslnet.de [89.62.104.200])
by fr53.aha.ru (Postfix) with ESMTP id E7E7A2158
for <sales(a)imagehunt.ru>; Fri, 3 Oct 2008 15:26:37 +0400 (MSD)
Received: from [192.168.71.02] ([192.168.71.02]) by 89.62.104.200 with Microsoft SMTPSVC(6.0.3790.1830)
3 Oct 2008 12:11:32 +0100
From: =?windows-1251?B?zeDy4Pjl7fzq4A==?= <jboss-user(a)lists.jboss.org>
To: <sales(a)imagehunt.ru>
Subject: =?windows-1251?B?9ewuLiDy4u7/IOft4Oru7OD/IOHw/u3l8urgIOTo6u4g6u7t4Pfg5Q==?=
=?windows-1251?B?8iDv7uQg6+Dx6uDs6CDx4u7l4+4g7+Dw7f8uLg==?=
Date: 3 Oct 2008 12:11:32 +0100
MIME-Version: 1.0
Content-Type: text/plain;
charset="windows-1251"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release
X-SpamTest-Info: Not protected
X-Spam: Not detected
Message-Id: <20081003112637.E7E7A2158(a)fr53.aha.ru>
ïðèâåò,
âîò ñìîòðè, êëàññíûé ïîðíî âèäåî ðîëèê î òîì - êàê þíóþ ïîäçàáîðíóþ ïðîñòèòóòêó î÷åíü æåñòêî òðàõíóëè ïðÿìî â æîïó ðàêîì íà ñòîëå.
Äåâî÷êà íàñòîëüêî âîçáóäèëàñü, ÷òî àæ îáêàí÷àëàñü âñÿ))) Òû òîëüêî ïîñìîòðè êàê ñìà÷íî ÷ëåí åáàðÿ ïðè÷ìîêèâàÿ ïðîíèêàåò â ýòó ñêîëüçêóþ óçêóþ, íî óæå íå äåâñòâåííóþ äûðî÷êó. Ýòà ãîëàÿ ñòðàñòíàÿ äåâî÷êà ïîäðà÷èâàëà âñòàþùèé ÷ëåí ñâîåãî åáàðÿ, à çàòåì îí çàãíóë å£ â ïîçå "ðà÷êè" è òóïî îòïåðäîëèë íà ðàáî÷åì ñòîëèêå.
Îé êàê æå åé íðàâèòñÿ òðàõàòüñÿ ñ êåì ïîïàëî :) Õîòÿ çà ýòî þíàÿ äåâóøêà è ïîëó÷àåò ñâîè ãðÿçíûå äåíüãè âåäü îíà - ñàìàÿ íàñòîÿùàÿ ïîäçàáîðíàÿ ïðîñòèòóòêà. À âîîáùå ýòè ïîðíî ðîëèêè äîâîëüíî âåñåëåíüêèå - âîçáóæäàþò íåñëàáî ;)
Âîò ññûëêà, êà÷àé...
http://traxnimeny.ru
--<1692.73331855503031(a)[127.0.0.1]>--
17 years, 9 months
[EJB 3.0] - no ClassLoader found for myclass
by AJanz
while running a TestNG i got the error.
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.my.class
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at java.lang.ClassLoader.loadClassInternal(Unknown Source)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Unknown Source)
| at java.io.ObjectInputStream.resolveClass(Unknown Source)
| at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109)
| at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
| at java.io.ObjectInputStream.readClassDesc(Unknown Source)
| at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
| at java.io.ObjectInputStream.readObject0(Unknown Source)
| at java.io.ObjectInputStream.readArray(Unknown Source)
| at java.io.ObjectInputStream.readObject0(Unknown Source)
| at java.io.ObjectInputStream.readObject(Unknown Source)
| at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
| at org.jboss.invocation.MarshalledInvocation.getArguments(MarshalledInvocation.java:509)
| at org.jboss.ejb.Container.invoke(Container.java:924)
| at sun.reflect.GeneratedMethodAccessor1398.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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.jav
| at sun.reflect.GeneratedMethodAccessor1397.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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 javax.management.MBeanServerInvocationHandler.invoke(Unknown Source)
| at $Proxy16.invoke(Unknown Source)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| a:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
| at sun.reflect.GeneratedMethodAccessor1397.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| 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 javax.management.MBeanServerInvocationHandler.invoke(Unknown Source)
| at $Proxy16.invoke(Unknown Source)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerTh
what is the problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180252#4180252
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180252
17 years, 9 months
[JBoss jBPM] - Using fileUpload (either <gd:inputFile.. or <rich:fileUpload
by Neal
I am trying to implement file upload functionality (like a document variable) from within a task form. I tried using gravel or richFaces and both are not working
1) Gravel
1.a) The form has the following tags
<ui:component>
| <jbpm:dataform>
|
| <f:facet name="header">
| <h:outputText value="#{taskName}"/>
| </f:facet>
|
| <!-- TASKFORM ROWS -->
| <jbpm:datacell>
| <f:facet name="header">
| <h:outputText value="Test1"/>
| </f:facet>
| <h:inputText id="useraddress" value="#{var['Test1']}" required="true">
| </h:inputText>
| <gd:inputFile target="#{var['teststream']}" maxSize="104857600"/>
| </jbpm:datacell>
|
| <jbpm:datacell>
| <f:facet name="header">
| <h:outputText value="Actions"/>
| </f:facet>
| <!-- TASKFORM BUTTONS -->
| <tf:saveButton value="Save"/>
| <tf:cancelButton value="Cancel"/>
| <tf:transitionButton transition="ToApproval" value="ToApproval"/>
| </jbpm:datacell>
|
| </jbpm:dataform>
|
| <h:messages style="color:darkred"/>
| </ui:component>
1.b) I dont get any error while clicking on the save button in the form but I also don't see the variable "teststream" when I check for the process instance variables. I believe that the form should have enctype="multipart/form-data" to be able to use the gravel fileUpload but I am not sure how I should do that since there is no documentation for jbpm:dataform and am not sure if it takes the form encoding as a parameter for the tag.
2) RichFaces
---------------
2.a) the form includes the following tag
<ui:component>
| <jbpm:dataform>
|
| <f:facet name="header">
| <h:outputText value="#{taskName}"/>
| </f:facet>
|
| <!-- TASKFORM ROWS -->
| <jbpm:datacell>
| <f:facet name="header">
| <h:outputText value="Test1"/>
| </f:facet>
| <h:inputText id="useraddress" value="#{var['Test1']}" required="true">
| </h:inputText>
| <rich:fileUpload uploadData="#{myfiles}"/>
| </jbpm:datacell>
|
| <jbpm:datacell>
| <f:facet name="header">
| <h:outputText value="Actions"/>
| </f:facet>
| <!-- TASKFORM BUTTONS -->
| <tf:saveButton value="Save"/>
| <tf:cancelButton value="Cancel"/>
| <tf:transitionButton transition="ToApproval" value="ToApproval"/>
| </jbpm:datacell>
|
| </jbpm:dataform>
|
| <h:messages style="color:darkred"/>
| </ui:component>
2.b) When clicking on the upload button I get a "Transfer error" with the following exception on the server console
SEVERE: Error Rendering View[/sa/task.xhtml]
| java.lang.IllegalArgumentException
| at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBa
| se.java:1590)
| at javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBa
| se.java:1499)
| at org.jboss.gravel.action.handler.AttributeHandler.apply(AttributeHandl
| er.java:106)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
| :
| :
| 15:55:19,925 ERROR [LazyInitializationException] could not initialize proxy - no
| Session
| org.hibernate.LazyInitializationException: could not initialize proxy - no Sessi
| on
| at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyIn
| itializer.java:57)
| at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(Abstrac
| tLazyInitializer.java:111)
|
| :
| :
| :
| 15:55:20,050 WARN [lifecycle] executePhase(RENDER_RESPONSE 6,com.sun.faces.con
| ext.FacesContextImpl@ccdcea) threw exception
| java.lang.NullPointerException
| at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:168)
| at com.sun.facelets.util.DevTools.writeVariables(DevTools.java:145)
| at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:109)
| :
| :
|
2.c) My web.xml has the following
<context-param>
|
| <param-name>org.richfaces.SKIN</param-name>
|
| <param-value>blueSky</param-value>
|
| </context-param>
|
| <filter>
|
| <display-name>RichFaces Filter</display-name>
|
| <filter-name>richfaces</filter-name>
|
| <filter-class>org.ajax4jsf.Filter</filter-class>
|
| </filter>
|
| <filter-mapping>
|
| <filter-name>richfaces</filter-name>
|
| <servlet-name>Faces Servlet</servlet-name>
|
| <dispatcher>REQUEST</dispatcher>
|
| <dispatcher>FORWARD</dispatcher>
|
| <dispatcher>INCLUDE</dispatcher>
|
| </filter-mapping>
|
| <init-param>
| <param-name>createTempFiles</param-name>
| <param-value>true</param-value>
| </init-param>
2.d) And the faces-config.xml has the following
<application>
|
| <locale-config>
| <default-locale>en</default-locale>
| </locale-config>
|
| <!--
| Use Facelets as the primary view handler. Since we have bookmarkable URLs,
| add Gravel's query preserving view handler to the list.
| -->
| <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
| <view-handler>org.jboss.gravel.QueryPreservingViewHandler</view-handler>
|
| <!--
| Use Gravel's navigation model.
| -->
| <navigation-handler>org.jboss.gravel.navigation.GravelNavigationHandler</navigation-handler>
| </application>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180250#4180250
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180250
17 years, 9 months