[Datasource Configuration] - driver-class doesn't make a difference -- Oracle
by Stephen Morgan
Stephen Morgan [http://community.jboss.org/people/steph.morgan] created the discussion
"driver-class doesn't make a difference -- Oracle"
To view the discussion, visit: http://community.jboss.org/message/542257#542257
--------------------------------------------------------------
I'm attempting to use an SQL logger to wrap a database driver. As part of the configuration I'm supposed to used the wrappers driver instead to the standard oracle driver.
In trying to implement this I have discovered that the driver-class attribute doesn't matter. I have changed it to random text and tried to use the jdbc logger driver.
In both cases I can happily connect to the oracle database as if I hadn't changed anything. It only complains if I don't put in a driver-class at all.
My Datasource.....
<local-tx-datasource>
<jndi-name>jdbc/myDS</jndi-name>
<connection-url>jdbc:oracle:thin:@localhost:1521:xe</connection-url>
<driver-class>grrrr</driver-class>
<user-name>user</user-name>
<password>pass</password>
<min-pool-size>1</min-pool-size>
<max-pool-size>2</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>5</idle-timeout-minutes>
</local-tx-datasource>
Any help would be appreciated,
Thanks
Steve
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542257#542257]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
[JBoss Portal] - sign in failed on mysql
by fielding wang
fielding wang [http://community.jboss.org/people/fielding34] created the discussion
"sign in failed on mysql"
To view the discussion, visit: http://community.jboss.org/message/542253#542253
--------------------------------------------------------------
I am using GateIn tomcat 3.0. i start running gatein by default, everything seems fine. After i changed the "*$GATEIN/gatein/conf/configuration.properties*" as below to use Mysql instead of default HSQLDB, GateIn server can start without any errors. But i cannot login system using any default users.
Even if I register a new user successfully, but i still can't login system using that new one.
Could someone give me a hand about this? And i also wonder in which situation gatein will populate default users into database (i.e. root, mary, john, demo). Thanks a lot in advance.
# JCR
gatein.jcr.config.type=local
gatein.jcr.datasource.name=jdbcjcr
gatein.jcr.datasource.dialect=auto
gatein.jcr.datasource.driver=com.mysql.jdbc.Driver
gatein.jcr.datasource.url=jdbc:mysql://128.130.11.93:3306/jdbcjcr_${name}
gatein.jcr.datasource.username=root
gatein.jcr.datasource.password=freebsd
gatein.jcr.data.dir=${gatein.data.dir}/jcr
gatein.jcr.storage.data.dir=${gatein.jcr.data.dir}/values
gatein.jcr.index.data.dir=${gatein.jcr.data.dir}/lucene
gatein.jcr.index.changefilterclass=org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter
# IDM
gatein.idm.datasource.name=jdbcidm
gatein.idm.datasource.driver=com.mysql.jdbc.Driver
gatein.idm.datasource.url=jdbc:mysql://128.130.11.93:3306/jdbcidm_${name}
gatein.idm.datasource.username=jdbcidm
gatein.idm.datasource.password=jdbcidm
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542253#542253]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
Re: [jboss-user] [JCA] - Newbie: ORB Notify Channel Source JCA
by Derek Wildstar
Derek Wildstar [http://community.jboss.org/people/starblazer74] replied to the discussion
"Newbie: ORB Notify Channel Source JCA"
To view the discussion, visit: http://community.jboss.org/message/542247#542247
--------------------------------------------------------------
Hi Vicky,
I was able to create a JCA Source connector and for the basic it works :)
What is happening I guess is much more related on how ORB is creating and handling instances internally.
To be more clear first time I start JBoss with my connector everything works well and I see (as I request it into jacorb properties file) the banner of Jacorb following the initialization of orb instance using ORB.init. See the sample below
2010-05-11 12:06:21,625 ERROR [STDERR] 2010-05-11 12:06:21.625 INFO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Then I shut down the application that is using the source connector and I restart it. At this point I saw two time the banner printed like the initial instance has not been destroyed correctly.
2010-05-11 12:07:21,364 ERROR [STDERR] 2010-05-11 12:06:21.625 INFO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JacORB V 2.3.1, www.jacorb.org
(C) The JacORB project 27-May-2009
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I guess that I'm missing some "basic" stuff here... maybe I'm not disposing the orb instance properly.
Regards Claudio
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542247#542247]
Start a new discussion in JCA at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months