-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Trying to access an Oracle 10g db with Spring 2.5.6
PostPosted: Wed Feb 24, 2010 10:10 am 
Newbie

Joined: Sun Nov 04, 2007 5:35 am
Posts: 7
Location: USA
I'm deploying to JBoss 4.2 on Windows can anyone help or direct?

My datasource bean
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
<property name="url" value="jdbc:oracle:thin:@localhost:1521:orcl" />
<property name="username" value="devuser" />
<property name="password" value="moon" />
</bean>

I get an error about not being able to register an MBEAN

08:14:46,046 ERROR [STDERR] Feb 24, 2010 8:14:46 AM oracle.jdbc.driver.OracleDriver registerMBeans
SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
javax.management.MalformedObjectNameException: Invalid character '' in value part of property


Top
 Profile  
 
 Post subject: Re: Trying to access an Oracle 10g db with Spring 2.5.6
PostPosted: Wed Feb 24, 2010 11:58 am 
Beginner
Beginner

Joined: Tue Aug 25, 2009 11:42 am
Posts: 49
Just to clarify, despite that error message (which says the managed bean could not be registered), your application works as expected, doesn't it?


Top
 Profile  
 
 Post subject: Re: Trying to access an Oracle 10g db with Spring 2.5.6
PostPosted: Wed Feb 24, 2010 12:25 pm 
Newbie

Joined: Sun Nov 04, 2007 5:35 am
Posts: 7
Location: USA
No because the MBEAN doesn't register other errors are generated. I could post the log but there's alot of entries. In doing more research I have determined that I need to add the Hibernate <mbean> to the jboss-service.

Thanks for the reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.