[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...]
11 years, 5 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...]
11 years, 5 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...]
11 years, 5 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...]
11 years, 5 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...]
11 years, 5 months