logo       

Re: OracleDS binding on 3.0.1RC1?: msg#00306

java.jboss.user

Subject: Re: OracleDS binding on 3.0.1RC1?

>>>>> "Brian" == Brian Topping <topping@xxxxxxxxxxxxx> writes:

Brian> G'day! Wondering if anyone has a solution to this. I'm
Brian> trying to regress a classloader problem that I am having
Brian> with 3.0 release, figured i would try 3.0.1RC1. I added
Brian> classes12.jar to server/default/lib put my
Brian> oracle-service.xml into server/default/deploy and the
Brian> OracleDS reports it was bound to java:/OracleDS, but when
Brian> my CMP2.0 tries to find it, i get a report stating "Error:
Brian> can't find data source: java:/OracleDS". See below for the
Brian> full output (20 lines or so) from the console.

Brian> Does anyone have any ideas what I am doing wrong? The
Brian> names sure look the same to me...

The format of the *-service.xml changed for 3.0.1RC1.

For example, diffing the example jca adapter files from
jboss/docs/examples/jca shows the following:



diff -u jdatastore-service.xml
~/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml
--- jdatastore-service.xml Fri May 31 11:06:17 2002
+++
/home/bcotton/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml
Sat Jun 29 18:32:10 2002
@@ -83,7 +83,7 @@
</depends>
<depends
optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>

- <depends
optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager</depends>
+ <depends
optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>

<attribute name="TransactionManager">java:/TransactionManager</attribute>
<!--make the rar deploy! hack till better deployment-->


Change 'name' to 'service'

Hope that helps.
-Bob

Brian> 13:01:51,657 INFO [MainDeployer] Starting deployment of
Brian> package:
Brian>
file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-service
Brian> .xml 13:01:51,737 WARN [ServiceController]
Brian> jboss.jca:service=LocalTxDS,name=OracleDS does not
Brian> implement any Service methods 13:01:51,737 INFO
Brian> [JBossManagedConnectionPool] Creating 13:01:51,737 INFO
Brian> [JBossManagedConnectionPool] Created 13:01:51,737 INFO
Brian> [LocalTxConnectionManager] Creating 13:01:51,747 INFO
Brian> [LocalTxConnectionManager] Created 13:01:51,747 INFO
Brian> [JBossManagedConnectionPool] Starting 13:01:51,747 INFO
Brian> [JBossManagedConnectionPool] Started 13:01:51,747 INFO
Brian> [LocalTxConnectionManager] Starting 13:01:51,767 INFO
Brian> [OracleDS] Bound connection factory for resource adapter
Brian> 'JBoss LocalTransaction JDBC Wrapper' to JNDI name
Brian> 'java:/OracleDS' 13:01:51,767 INFO
Brian> [LocalTxConnectionManager] Started 13:01:51,767 INFO
Brian> [MainDeployer] Deployed package:
Brian> file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl
Brian> e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner]
Brian> Incomplete Deployment listing: Packages waiting for a
Brian> deployer:
Brian> <none>
Brian> Incompletely deployed packages:
Brian> <none>
Brian> MBeans waiting for classes:
Brian> <none>
Brian> MBeans waiting for other MBeans: [ObjectName:
Brian> jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer
Brian> state: FAILED I Depend On: Depends On Me:
Brian> org.jboss.deployment.DeploymentException: Error: can't
Brian> find
Brian> data source: java:/OracleDS; - nested throwable:
Brian> (javax.naming.NameNotFoundException: OracleDS not bound)]

Brian> _________________________________________________________
Brian> If you have some ice cream, I will give it to you. If you
Brian> have no ice cream, I will take it away from you.
Brian> - Ice Cream Koan



Brian> -------------------------------------------------------
Brian> This sf.net email is sponsored by:ThinkGeek Oh, it's good
Brian> to be a geek. http://thinkgeek.com/sf
Brian> _______________________________________________ JBoss-user
Brian> mailing list JBoss-user@xxxxxxxxxxxxxxxxxxxxx
Brian> https://lists.sourceforge.net/lists/listinfo/jboss-user

--
SynXis Corporation | bob@xxxxxxxxxx | Obstacles are those frightful
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your
Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry Ford



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise