Hi Bob,

Thanks for the tip...  I actually copied the oracle-service.xml out of the
examples/jca as soon as I started having problems and didn't post the problem
until it seemed it didn't make a difference.  I didn't notice the diff, but I
was sure of having a good config anyway :)

hopefully this will help someone that is browsing the archives and trying to
upgrade tho!  It's probably something that would be good in the release
notes.

As an aside, I put an idea on the Xdoclet list about making a @change delta
item, a parallel tag to @todo.  One of the thoughts was that whenever there
was a change that could adversely affect a user, you would create an @change
tag for the method.  When the tags were compiled, you would get an automatic
generation of information that needed to be updated in the documentation, or
at the very least included in release notes for projects that didn't really
keep the documentation too up to date.  In theory, it removes much of the
burden from the developers because the simple questions now are answered with
"RTFM"...

If this is interesting to Marc & co., i could get in and jigger Xdoclet into
the JBoss build.

best,

-b

> -----Original Message-----
> From: Bob Cotton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 5:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
> 
> 
> >>>>> "Brian" == Brian Topping <[EMAIL PROTECTED]> 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/jdatasto
> re-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:se
> rvice=CachedConnectionManager</depends>
>  
> -    <depends 
> optional-attribute-name="JaasSecurityManagerService">jboss.sec
> urity:name=JaasSecurityManager</depends>
> +    <depends 
> optional-attribute-name="JaasSecurityManagerService">jboss.sec
> urity: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 [EMAIL PROTECTED]
    Brian> https://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
SynXis Corporation      | [EMAIL PROTECTED]    | 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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

Reply via email to