Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
1030(a)technodom.kz
17 years, 8 months
[J2EE Design Patterns] - Help Me Design...
by gecko_dave
Hello and thank you for reading.
I am currently creating an EJB3 stateless session bean for a project. The bean loads the Apache Axis2 Web services library. The bean will be used to interact with a SOAP service and return various results to a web app.
First of all, does that makes sense for a design?
The problem I am seeing now is that the axis2 library takes a second to load for each instantiation. I create each axis2 client in the @PostConstruct of my bean. Each time a client request comes in, it has to load a new bean and it's pretty slow in creating the client. I'd like to be able to pre-load the beans in a pool and to draw from that. Is there some way to set a minimum bean size pool?
Any ideas as to how I can improve this process?
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167050#4167050
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167050
17 years, 8 months
[JBoss Messaging] - Re: How do I empty a JBoss queue?
by asaur
Sorry, I'll try to make it clearer. To sum it up, I can only see 2 ways to resolve my problem (a client disconnecting from the server while there were messages being delivered and coming back later using another connection):
1 - Deleting all messages that are still marked as being delivered, to clear the message queue and allow the new connection to the client to consume new messages. The only way I know to do that, is stopping the server and deleting them after the server is down, which is really bad because all my other clients will obviously loose their connection as well. Is there any other way to do that?
2 - Another way to construct a message, so that if a client that's listening on a queue crashes, the messages being delivered on that queue will be automatically deleted from the queue. Is this possible at all?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167047#4167047
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167047
17 years, 8 months
[JBoss jBPM] - Personal/Group Tasks in JBPM console and swimlanes
by osksp
Hello.
Firs of all, I'm sorry if this topic is already discussed, but I've been searching and I didn't find a solution, so if any of you know a thread where I can get information about my problem, I would be very grateful to you.
Well, my question:
I've been using some JBPM models into Eclipse, trying to learn about it. I have some of them with some swimlanes (using expression group(actor)) defined for some tasks, and in the Hibernate DB, I have some users for those groups. The problem is that when I start (in the JBPM console) those tasks over a deployed process, the tasks are assigned to the group defined in the swimlane, (I can see it in the "pooled actors" column) but don't appear in the personal/group tasks lists of the users of the relevant groups.
I suppose those tasks should appear in that list (as "group" tasks before any user gets the task) but I don't know if that's right and, in the case it is, why don't appear in the list.
If you know how I could solve this, or about any thread with information, it would be great.
Thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167045#4167045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167045
17 years, 8 months
[JBossWS] - JBoss WS security throws javax.xml.ws.WebServiceException: o
by r12345_2003
Hi all,
I am using Jboss Web services and WS security. I have Jboss version 4.2.2 GA. My web service is implemented as a stateless EJB. The problem is when I invoke the web service from a client application, the following exception is thrown:
| javax.xml.ws.WebServiceException: org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details
| org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276)
| org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155)
| org.jboss.ws.core.jaxws.client.ClientImpl.callResponseHandlerChain(ClientImpl.java:168)
| org.jboss.ws.core.CommonClient.invoke(CommonClient.java:363)
| org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| $Proxy119.getUserDetailsFromURSID(Unknown Source)
| test.filter.base.SecurityFilter.getUserDetails(SecurityFilter.java:274)
| test.filter.base.SecurityFilter.doFilter(SecurityFilter.java:166)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| root cause
|
| org.jboss.ws.core.CommonSOAPFaultException: An internal WS-Security error occurred. See log for details
| org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:105)
| org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:177)
| org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:78)
| org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handleInbound(WSSecurityHandlerClient.java:40)
| org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
| org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
| org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
| org.jboss.ws.core.jaxws.client.ClientImpl.callResponseHandlerChain(ClientImpl.java:168)
| org.jboss.ws.core.CommonClient.invoke(CommonClient.java:363)
| org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| $Proxy119.getUserDetailsFromURSID(Unknown Source)
| test.filter.base.SecurityFilter.getUserDetails(SecurityFilter.java:274)
| test.filter.base.SecurityFilter.doFilter(SecurityFilter.java:166)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
There are no exceptions in the server log or the client logs.
When I deploy the web service on my windows box, it works fine, I get the above error only when I'm running the web service on my linux environment. This makes me think that there may be some configuration error in my linux environment. However, I checked the most likely reasons like a misconfigured login-conf.xml, or a missing jboss-wsse-server.xml or a missing jboss-wsse-client.xml and it looks fine.
Another thing to mention is the debug statements inside the web service method being invoked are printed, however the control doesnt return to the client. Does anyone have any idea what is going on? Any help would be greatly appreciated!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167042#4167042
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167042
17 years, 8 months
[JBossWS] - Re: Looking to pass complex types in web service...
by dakk
Wow... ok I am apparently SLOW. I thought you were providing a solution! I didn't see my previous post (which obviously has hidden XML)! Here is the XML for running wscompile:
Btw, is there a way to see the XML that is being sent? Not that I could remedy the problem, but the stub code that wscompile is generating is compiled. I prefer to be able to instrument this so I can see what xml it is passing around.
Thanks!!
Norm
| <target name="run-wscompile" depends="prepare">
| <exec executable="C:/Sun/jwsdp-2.0/jaxrpc/bin/wscompile.bat">
| <arg value="-classpath" />
| <arg value="${build.dir}/classes" />
| <arg value="-gen:both" />
| <arg value="-f:rpcliteral" />
| <arg value="-mapping" />
| <arg value="${src.dir}/myService/meta/mapping.xml" />
| <arg value="-d" />
| <arg value="${src.dir}/myService/server/wsdl" />
| <arg value="${src.dir}/myService/server/config.xml" />
| </exec>
| </target>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167040#4167040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167040
17 years, 8 months