Hi:
I have configured a encrypt-password security domain in the login-config.xml file for my oracle datasource, and it is finally working as expected. My question is how I can use the same domain for another datasource (in the same oracle-ds.xml file). Is it even possible, or will I have to create another domain "encrypt-password-2" and then associate that with this other datasource pointing to a different oracle database. Please help, this is very urgent!
Thank you very much for the help, in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165127#4165127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165127
"janylj" wrote :
| if (client.isDurable()) {
| | String clientName = getClientName();
| | LOG.info("Creating durable subscriber (" + clientName + ") to: " + dest.toString());
| | jmsConsumer = getSession().createDurableSubscriber((Topic) dest, clientName);
| | } else {
| | LOG.info("Creating non-durable consumer to: " + dest.toString());
| | jmsConsumer = getSession().createConsumer(dest);
| | }
In both case, you use the same destination "dest".
Do you mean that if you client is durable, the jmsConsumer does not receive any message from the topic? while it is not durable, it receives message?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165124#4165124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165124
Have you found a solution to this problem? I'm having the exact same issue and I can't seem to figure it out. In my case I get
[IntegerType] could not read column value from result set: FINC1_18_0_;
In my SQL statement, all the columns have alias so I have no idea where FINC1_18_0_ comes from.
the only integer is the key so I suspect its related to that but I'm not sure. Any help would be appreciated.
@Id @GeneratedValue
@Column(name="FINC_TRN_ID")
public Integer getId() {
return id;
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165123#4165123
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165123
I assume that this is some code running outside of JBossAS? I can think of two ways.
1) Scan the server log, looking for the "started in" message.
2) Poll the JNDI (1099) and HTTP ports (8080). Once you get valid replies, the app server is ready to go.
When we had to do this for one of our products we used mechanism 2. Originally, we only polled to JNDI but it opens up fairly early in the startup process so many services are not yet available at that time. Come to think of it, I think we also asked for one of the server MBean (perhaps ServerInfo) and asked it for the server's status.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165120#4165120
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165120
Thanks for the suggestion however I attempted that already with the following results:
-bash-3.00$ ./shutdown.sh -S -s XX.XX.XX.200:1099
Exception in thread "main" java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
-bash-3.00$ ps -ef | grep jboss
webadmin 28793 28768 0 Jul16 ? 00:00:58 /usr/local/java/bin/java -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/usr/local/jboss/jboss-as/lib/endorsed -classpath /usr/local/jboss/jboss-as/bin/run.jar:/usr/local/java/lib/tools.jar org.jboss.Main -c project1 -b X.X.XX.200
Where "project1" is just a copy of $JBOSS_HOME/server/default.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165119#4165119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165119
Did you ever get this to work? I was able to get jboss to authenticate via ldap. I have not been able to get ldaps to work.
Everything I read talks about making a keystore to house the certs. The SSL LDAP (Active Directory) server I am hitting is not on my local box. I guess I don't understand fundamentally why I need to setup a keystore other than to hold the public key of my ldap server.
Any help advice or jboss ldaps links would be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165118#4165118
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165118