[JBoss Remoting] - Newbie: JBoss Remoting Multiplex to solve multiple client connections through a firewall
by Paul St. Pierre
Paul St. Pierre [https://community.jboss.org/people/floogle] created the discussion
"Newbie: JBoss Remoting Multiplex to solve multiple client connections through a firewall"
To view the discussion, visit: https://community.jboss.org/message/819169#819169
--------------------------------------------------------------
I'm a contractor working for a large telecom company which has a legacy system into which has been introduced a twist, and I'd like to describe the general setup, as it appears JBoss Remoting Multiplex may offer a solution.
A client app connects to a server using a proprietary messaging protocol based on Java TCP sockets. The client, using a standard Java Socket, sends a message to the server on its "well known" port, telling the server (in the message) to reply to it on the standard dynamic remote port (generally in the range 49152 to 65535). In this legacy app, the client listens asynchronously for messages with a standard ServerSocket on the dynamic port. Client & server are appropriately threaded supporting multiple sessions. So far so much.
The twist/wrinkle is, as you can guess, a firewall is now required between the client and server, so the use of dynamic ports is out. Rather than muck with the low-level details of the legacy code, one solution might be to use JBoss Remoting Multiplex classes in an intermediate process between client and server, using a single static reply socket.
My question is simply: does this seem like an approach we should pursue? I am at the moment a JBoss newbie, hence the question. Any replies appreciated, thanks.
=P
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819169#819169]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[JBoss Remoting] - Jboss 4.2.3.GA Remote client connection drops
by Akilesh Mogulluri
Akilesh Mogulluri [https://community.jboss.org/people/akilesh] created the discussion
"Jboss 4.2.3.GA Remote client connection drops"
To view the discussion, visit: https://community.jboss.org/message/806366#806366
--------------------------------------------------------------
Hi there,
I am relatively new to JBoss, running JBoss 4.2.3.GA, JBM 1.4.2.GA-SP1 and JBoss Remoting 2.2.2 SP8 I often come across this WARN/ERROR in server logs.
> 2013-04-04 09:38:36,449 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote client xx-xx-xx-xx-xx-xx, jmsClientID=xx-xx-xx-xx-xx-xx. It is possible the client has exited without closing its connection(s) or the network has failed. All associated connection resources will be cleaned up.
> 2013-04-04 09:38:51,653 WARN [org.jboss.remoting.ServerInvoker] Asked to terminate invoker lease for client session id xx-xx-xx-xx-xx-xx, but lease for this id could not be found.: {}
> 2013-04-04 11:36:04,427 ERROR [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] received new control socket for unrecognized listenerId: xx-xx-xx-xx-xx-xx
> 2013-04-04 15:11:47,825 ERROR [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] received new control socket for unrecognized listenerId: xx-xx-xx-xx-xx-xx
> 2013-04-04 16:12:07,625 ERROR [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] received new control socket for unrecognized listenerId: xx-xx-xx-xx-xx-xx
And the connection to the JMS Client is lost everytime this happens while no network discrepancies are reported.
Can any one please help me understand why this is happening? and how this can be fixed?
Thanks,
Akilesh
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806366#806366]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[Beginner's Corner] - dcm4chee/postgres patient information from patient table is ?????
by dhaval joshi
dhaval joshi [https://community.jboss.org/people/dhaval0129] created the discussion
"dcm4chee/postgres patient information from patient table is ?????"
To view the discussion, visit: https://community.jboss.org/message/824193#824193
--------------------------------------------------------------
Hi,
I configured dcm4chee-2.17.0 /PostgreSQL on Windows 7 workstation, DB encoding is set to UTF8 and locale is English_UnitedStates.1252. I pushed few internationalized images ( thai, urdu, chinese ) dicom images to dcm4chee. DCM4CHEE is deployed on Jboss 4.2.3 Server
when I try to read patient information from patient table, I keep getting values ?????, on DCM4CHEE-WEB, I can see paitent & study info correctly, when I try to view data from pgAdmin3 tools I can see patient info correctly,
when I deploy my test.war file in ..server/default/depoy/test.
war , Patient information that I read is ?????. Can any one let me know what configuration I might be missing
Thanks
Dhaval Joshi
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824193#824193]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[jBPM] - Drools jBPM vs jBPM Kie?
by Mariam Hakobyan
Mariam Hakobyan [https://community.jboss.org/people/mariamhakobyan] created the discussion
"Drools jBPM vs jBPM Kie?"
To view the discussion, visit: https://community.jboss.org/message/824054#824054
--------------------------------------------------------------
I am concerned which jBPM version and implementation to use, which one is supported?
I have a switchyard application, which has switchyard-bpmn component dependency, wich uses Kie implementation (e.g. KnowledgeBase, KieSession)
<dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-bpm</artifactId>
<version>0.8.0.Final</version>
</dependency>
and this brings jbpm dependencies of 6.0.0.Alpha version.
And in order to unit testing of the bpmn process only, I see there is org.jbpm.test.JbpmJUnitTestCase, which uses drools-jbpm implementation (e.g. org.drools.runtime.StatefulKnowledgeSession) and not the Kie.
So I am not sure which implementation I should use for jBPM, Kie or Drools, and which version? Please advice..
Thanks in advance!
Mariam
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824054#824054]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[JNDI and Naming] - spring 3.x + jboss 7.1.1: how to get the datasource from jndi
by settholo
settholo [https://community.jboss.org/people/settholo] created the discussion
"spring 3.x + jboss 7.1.1: how to get the datasource from jndi"
To view the discussion, visit: https://community.jboss.org/message/794098#794098
--------------------------------------------------------------
Hello everyone,
I have to go into production with my web application. The application server is JBoss 7.1.1.
So I was looking for moving the datasources from the spring application context to the container.
I configured the datasource in jboss:
<datasource jta="false" jndi-name="java:jboss/datasources/sampleDS" pool-name="sampleDSPool" enabled="true" use-java-context="true" use-ccm="false">
<connection-url>jdbc:postgresql://localhost:5432/sampleDB</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<driver>postgresql</driver>
<pool>
<min-pool-size>2</min-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
<user-name>*****</user-name>
<password>*****</password>
</security>
<validation>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
<background-validation-millis>1</background-validation-millis>
</validation>
<statement>
<prepared-statement-cache-size>0</prepared-statement-cache-size>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
Well, when jboss starts it confirms that my datasource it's bound to java:jboss/datasources/sampleDS.
Now I wanted to move the configuration:
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="${db.driver.prod}" />
<property name="url" value="${db.url.prod}" />
<property name="username" value="${db.username.prod}" />
<property name="password" value="${db.password.prod}" />
</bean>
to
<jee:jndi-lookup id="dataSource" jndi-name="java:jboss/datasources/sampleDS"/>
or
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">
<value>java:jboss/datasources/sampleDS</value>
</property>
</bean>
There is no way of getting the datasource from jboss, I always end with name not found ( I tried almost every combination ).
Caused by: javax.naming.NameNotFoundException: jboss/datasources/sampleDS -- service jboss.naming.context.java.jboss.exported.jboss.datasources.sampleDS
Is there someone that is able to use the datasource fomr joss through jndi?
You can find the thread also in the spring forum at: http://forum.springsource.org/showthread.php?134298-spring-3-2-jboss-7-1-... http://forum.springsource.org/showthread.php?134298-spring-3-2-jboss-7-1-...
Thank you for your help.
Daniele
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/794098#794098]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[EJB3] - aplicatio test jndi ejb remote
by lachkov
lachkov [https://community.jboss.org/people/lachkov] created the discussion
"aplicatio test jndi ejb remote"
To view the discussion, visit: https://community.jboss.org/message/824038#824038
--------------------------------------------------------------
i tried to run my application but this error message appear i dont andesrtand where is the problemei used indi for jboss 7 i fix it manually i add the client.test jar and every thing could it be a prt probleme (loclahost) or ???
juin 20, 2013 9:52:47 AM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.3.GA
juin 20, 2013 9:52:48 AM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.3.GA
juin 20, 2013 9:52:48 AM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.3.GA
javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.RuntimeException: Operation failed with status WAITING]
at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36)
at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:121)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.InitialContext.<init>(InitialContext.java:192)
at tn.esprit.etap.test.t.TestAddUser.main(TestAddUser.java:17)
Caused by: java.lang.RuntimeException: Operation failed with status WAITING
at org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:89)
at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:56)
at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(InitialContextFactory.java:166)
at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:139)
at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:104)
... 5 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824038#824038]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[jBPM] - java.lang.NoSuchMethodError: EngineConfig.getLogRollingSize()
by Akshay RP
Akshay RP [https://community.jboss.org/people/akshayrpin] created the discussion
"java.lang.NoSuchMethodError: EngineConfig.getLogRollingSize()"
To view the discussion, visit: https://community.jboss.org/message/824035#824035
--------------------------------------------------------------
Hi all,
I am a newbie in BIRT, have installed Eclipse Birt plugin 4.3 and downloaded OSGI birt-runtime-osgi-4_3_0,
i have a standalone program to open the sample report in the birt runtime envt. but i am getting error
at
conf = new EngineConfig();
conf.setEngineHome("C:/birt-runtime-osgi-4_3_0/ReportEngine");
//Create new Report engine based off of the configuration
eng = new ReportEngine( conf ); -----------> Error.
as
Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollingSize()I
at org.eclipse.birt.report.engine.api.impl.ReportEngine.intializeLogger(ReportEngine.java:220)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:134)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:18)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createReportEngine(ReportEngineFactory.java:14)
at org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:71)
at com.pg.o2.test.synch.ReportTest.main(ReportTest.java:33)
,
thought of running a stand alone pgm and start with JBOSS ,
please let me know if anything i have to download or missign
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824035#824035]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months