[JCA/JBoss] - JCA as a UDP interface (design query)
by ktorn
Hi all.
I'm about to implement a Resource Adaptor to act as a UDP interface between an EIS and a J2EE application.
The EIS currently broadcasts UDP packets requesting a service and expects UDP packets with the responses. It is an asynchronous system.
Outside a JBoss environment I would implement Java inbound and outbound daemon threads. The former would listen to the UDP socket and delegate any requests to the business tier, and the latter would dispatch responses via UDP back to the EIS.
However within JBoss, and according to J2EE 1.4, the best approach to implement this 'daemon' seems to be JCA 1.5.
In this case my UDPResourceAdaptor would act as both inbound and outbound interface, delegating requests to MDBs and sending the responses via UDP.
I just want a final sanity check before I start cutting the code. Is this the right design? If there is a better (simpler) alternative then I'd really like to hear about it.
Regards
Dan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995299#3995299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995299
19 years, 4 months
[JBoss Portal] - JBoss Portal + Forum Portlet ? where can i find this forum p
by J0Ke
hi i know that the old versions of JBoss portal 2.0 and bellow have a forum-portlet.sar but in the new version JBoss 2.6 i dont have forum portlet.
can i download this portlet from somewhere
i try to install a forum portlet coming with version 2.0 but i get :
mponent.html.HtmlGraphicImage
15:44:15,994 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.4.GA with portal 2.6 GR 1/server/default/deplo
rtal-forums.ear/
15:44:16,026 ERROR [MainDeployer] Could not initialise deployment: file:/D:/jboss-4.0.4.GA with portal 2.6 GR 1/server/de
t/deploy/portal-forums.ear/
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor15.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 $Proxy6.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$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995293#3995293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995293
19 years, 4 months
[JBossWS] - No ClassLoaders found for: org.jboss.ws.server.ServiceEndpoi
by kphilipp
Hi,
if I deploy an artefact built on the base of JBossWS 1.0.3GA and JBoss 4.0.4GA the deployment is okay.
But if I deploy the same artefact built on the base of JBossWS 1.0.4GA and JBoss 4.0.4GA the deployment fails as follows:
12:38:10,995 INFO [EjbModule] Deploying addServiceClientFacade
12:38:11,042 WARN [EjbModule] Could not load the org.jboss.ws.server.ServiceEndpointInterceptor interceptor
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.server.ServiceEndpointInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
...
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
12:38:11,121 INFO [ProxyFactory] Bound EJB Home 'addServiceClientFacade' to jndi 'ejb/addServiceClientFacade'
12:38:11,121 INFO [EJBDeployer] Deployed: file:/D:/Applications/JBoss/4.0.4.GA/server/default/deploy/addService-client.jar
Any hints?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995292#3995292
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995292
19 years, 4 months
[JBoss jBPM] - Re: BAM for jBPM
by charlesmnicholls
Thanks.
You raise a good point, and we need to change the webpage to clarify it. You don't have to put monitoring points in your processes, this is just one way that you can instrument in flight processes.
In short there are four different routes, and the choice is up to you:
1. Publish events from the underlying message transport (JMS or whatever) to SeeWhy. You need to put XML events onto the SeeWhy JMS queue. This can obviously be done with or without a BPM tool being present.
2. Put monitoring points into your processes to put XML events onto the SeeWhy JMS queue (as above).
3. Use the SeeWhy JDBC adapter which can poll a database and create events
4. Use third party software or applicances (such as Goldengate for Databases, Covelight for IP traffic, CastIron etc) to stream events to SeeWhy
SeeWhy is an event driven product which has the capacity to analyze vast quantities of data in real time, and to initiate actions in BPM tools as a result of the analysis. There are clear advantages from going against a stream, rather than a log file, but we are open to the best way to do it specifically in the context of the jBPM integration. There may be a few situations where you want to monitor every node, but the process state data cannot be derived from an underlying event stream. In these cases you either have to go against the log file or you'll need to put a monitoring point into the process.
This is exactly the type of debate I was hoping we'd kick off. If there's universal demand for a log file based approach then we can look at tighter integration in more detail.
I look forward to your any additional thoughts.
Charles
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995291#3995291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995291
19 years, 4 months