This is why a great Deployment tool needs to be created.  It would be great
to have a generic tool, that has
plugins for the various app servers (to create the weblogic.xml etc). I
heard that the JBoss tool can allow for that.  Maybe the SUN Deployer tool
allows for it too.  Having to hand edit XML shouldn't be where we are at :)

Dion

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Caune
Sent: Wednesday, February 28, 2001 6:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Sorry: Weblogic


The <res-ref-name>jdbc/DealerDataBeanDB</res-ref-name> from your ejb-jar.xml
doesn't correspond to the <res-ref-name>jdbc/DealerSBeanDB</res-ref-name>
from your weblogic-ejb-jar.xml .



-----Message d'origine-----
De : A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]De la part de Hardeep Singh
Envoyé : mercredi 28 février 2001 13:02
À : [EMAIL PROTECTED]
Objet : Sorry: Weblogic


Hi all,

I am trying to deploy a session bean in weblogic. I have created a pool
named crm, the file ejb-jar.xml contains the lines:

     <resource-ref>
 <description>No Description</description>
 <res-ref-name>jdbc/DealerDataBeanDB</res-ref-name>
 <res-type>javax.sql.DataSource</res-type>
 <res-auth>Container</res-auth>
      </resource-ref>

and the weblogic-ejb-jar.xml:

      <reference-descriptor>
        <resource-description>
          <res-ref-name>jdbc/DealerSBeanDB</res-ref-name>
          <jndi-name>crm</jndi-name>
        </resource-description>
      </reference-descriptor>

However, on calling the bean through jsp or java client, on doing create(),
i get:

java.rmi.RemoteException: Exception in ejbCreate(); nested exception is:
        javax.naming.LinkException:  [Root exception is
javax.naming.NameNotFoun
dException: Unable to resolve crm. Resolved: '' Unresolved:'crm' ; remaining
name '']; Link Remaining Name: 'crm'
javax.naming.LinkException: .  Root exception is
javax.naming.NameNotFoundExcept
ion: Unable to resolve DealerDataBeanDB. Resolved: '' Unresolved:'crm' ;
remaining name ''
        <<no stack trace available>>

Do I need to craeate a datasource? If so, by what name and how will i  need
to modify the xml files as given above?

Hardeep Singh
http://SeeingWithC.cjb.net

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to