"Halas, Miroslav" wrote:
> 
> Well, RMI din't work either so it is not probably problem of Jeremie.
> If I get trace from JOnas and debug the startup portion, I can see, that the
> property is read from the XML file and bind.
> 
> Deployment Descriptor of 'aqp.beans.busreq.BusinessRequirement' is read
> 
> getDisplayName()=null
> getEjbName()=aqp.beans.busreq.BusinessRequirement
> getJndiName()=aqp.beans.busreq.BusinessRequirement
> getHomeClass()=interface aqp.beans.busreq.BusinessRequirementHome
> getRemoteClass()=interface aqp.beans.busreq.BusinessRequirement
> getEjbClass()=class aqp.beans.busreq.BusinessRequirementBean
> getEnvEntryDesc(0)=getName()=DOCUMENT_DB_TABLE getType()=class
> java.lang.String getValue()=T_BUSINESS_REQUIREMENT...
> 
> ...
> 
> JEntityHome constructor for aqp.beans.busreq.BusinessRequirement
> JBeanMetaData.JBeanMetaData(ejbHome,aqp.beans.busreq.BusinessRequirementHome
> , aqp.beans.busreq.BusinessRequirement, aqp.beans.id.InTypeID, false, false)
> JBeanHome.setEJBMetaData()
> JOnASBusinessRequirementBeanBusinessRequirementHome(aqp.beans.busreq.Busines
> sRequirement)
> EJBHome:aqp.beans.busreq.JOnASBusinessRequirementBeanBusinessRequirementHome
> for aqp.beans.busreq.BusinessRequirement available
> NamingManager: setBeanEnvironment
> NamingManager: setComponentContext: aqp.beans.busreq.BusinessRequirement
> NamingManager: Binding object DOCUMENT_DB_TABLE -> T_BUSINESS_REQUIREMENT
> CompNamingContext rebind DOCUMENT_DB_TABLE
> NamingManager: setComponentContext: reset to null
> createEJBContainer()
> ...
> 
> do you haveany other clue, where could be the problem? The strange thing is
> that the previous values are looked up correctly, it is just his environment
> propery (and before the resource factory for DataSources) which is causing
> us this showstopper
> 
> in setSessionContext
> 
> this passes
>          ctcContext            = new InitialContext();
>          m_dcDocControlHome    = (DocumentControllerHome)ctcContext.lookup(
> 
> "aqp.beans.document.DocumentController");
>          m_qrcQueryControlHome = (QueryControllerHome)ctcContext.lookup(
>                                     "aqp.beans.query.QueryController");
> 
>          // Lookup data source for this bean
>          m_dsDataSource = (DataSource)ctcContext.lookup("aqpjdbc");
> 
> this fails
>          objDocDBTable =
> ctcContext.lookup("java:comp/env/DOCUMENT_DB_TABLE");
> 
> Best Regards,
> 
> Miro
> 

Excuse me Halas, but you didn't tell me if you have suceeded to
run the examples/src/eb examples in your environment.
It is very important to know that because we are sure that 
this example runs, ans it can validate your environment.
Can you :
1. set up  jonas.trace.level 3,31 in jonas.properties
2. run "registry "
3. under $(JONAS_ROOT)/examples/src/eb:
        - make
        - EJBServer
   You must have the following traces:
JOnAS Server, version 2.0, running on RMI.
NamingManager: rebind TMFactory
NamingManager: rebind java:comp/UserTransaction
javaURLContextFactory.getObjectInstance:null
javaURLContext rebind java:comp/UserTransaction
Mapping datasource jdbc:oracle:thin:@malte:1521:OTS on jdbc_1
NamingManager.registerBean: AccountExplHome
EJBHome:eb.JOnASAccountExplBeanAccountHome for AccountExpl available
NamingManager: setBeanEnvironment
NamingManager: setComponentContext: AccountExpl
NamingManager: Linking resource jdbc/AccountExplDs -> jdbc_1
CompNamingContext rebind jdbc/AccountExplDs
CompNamingContext createSubcontext jdbc
CompNamingContext rebind AccountExplDs
NamingManager: setComponentContext: reset to null
NamingManager.registerBean: AccountImplHome
EJBHome:eb.JOnASAccountImplBeanAccountHome for AccountImpl available
NamingManager: setBeanEnvironment
NamingManager: setComponentContext: AccountImpl
NamingManager: setComponentContext: reset to null
NamingManager: rebind jonas_Adm
EJBServer is ready

Have you the same?
It is not a Jeremie problem for sure.



-- 
        Philippe

Philippe Coq  Groupe Bulll/BullSoft/OpenMaster  Phone: (33) 04 76 29 78
49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to