SCJP 6,SCWCD 5,SCBCD 5
Failure is not an option.
SCJP 6,SCWCD 5,SCBCD 5
Failure is not an option.
SCJP 6,SCWCD 5,SCBCD 5
Failure is not an option.
Preparing SCBCD.....
Preparing SCBCD.....
Preparing SCBCD.....
SCJP, SCJD, SCWCD, OCPJBCD
SCJP, SCJD, SCWCD, OCPJBCD
@Siva : did you place the env-entry node in the right place ? It must be placed in the node corresponding your bean. Also it must follow the ENC rules package + class / field.
If I am correct, I have a question.
If you are declaring the value of variable directly in the class, why do you want to use Resource annotation. It could be a simple instance variable.
SCJP 6,SCWCD 5,SCBCD 5
Failure is not an option.
@Siva : please consider also this example
INFO: ACDEPL104: Java Web Start services stopped for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar
INFO: Portable JNDI names for EJB StatefulBeanExample : [java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanRemote, java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanExample]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB StatefulBeanExample : [com.scbcd.ejbs.StatefulBeanRemote#com.scbcd.ejbs.StatefulBeanRemote, com.scbcd.ejbs.StatefulBeanRemote]
INFO: ACDEPL103: Java Web Start services started for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar (contextRoot: /SCBCDEAR5/SCBCDEAR5-app-client)
INFO: SCBCDEAR5 was successfully deployed in 1,062 milliseconds.
INFO: ACDEPL104: Java Web Start services stopped for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar
INFO: Portable JNDI names for EJB StatefulBeanExample : [java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanRemote, java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanExample]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB StatefulBeanExample : [com.scbcd.ejbs.StatefulBeanRemote#com.scbcd.ejbs.StatefulBeanRemote, com.scbcd.ejbs.StatefulBeanRemote]
INFO: ACDEPL103: Java Web Start services started for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar (contextRoot: /SCBCDEAR5/SCBCDEAR5-app-client)
INFO: SCBCDEAR5 was successfully deployed in 687 milliseconds.
INFO: ACDEPL104: Java Web Start services stopped for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar
INFO: Portable JNDI names for EJB StatefulBeanExample : [java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanRemote, java:global/SCBCDEAR5/SCBCDEJB5/StatefulBeanExample!com.scbcd.ejbs.StatefulBeanExample]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB StatefulBeanExample : [com.scbcd.ejbs.StatefulBeanRemote#com.scbcd.ejbs.StatefulBeanRemote, com.scbcd.ejbs.StatefulBeanRemote]
INFO: ACDEPL103: Java Web Start services started for the app client SCBCDEAR5/SCBCDEAR5-app-client.jar (contextRoot: /SCBCDEAR5/SCBCDEAR5-app-client)
INFO: SCBCDEAR5 was successfully deployed in 953 milliseconds.
INFO: postConstruct called
INFO: Business method 100
INFO: java:comp/env/com.scbcd.ejbs.StatefulBeanExample: com.sun.enterprise.naming.impl.JavaURLContext
INFO: java:comp/env/: com.sun.enterprise.naming.impl.JavaURLContext
SCJP 6,SCWCD 5,SCBCD 5
Failure is not an option.
SCJP 5 (98%) - SCBCD 5 (98%)
umakanth godavarthy wrote:This is bit contradicting to the previous statement as, if env entries are not specified in DD it is not accessible though context lookups.
SCJP 5 (98%) - SCBCD 5 (98%)