[jboss-user] [JBoss and NetBeans] - java.lang.NoClassDefFoundError: ${main/class} only on JBoss

2007-12-27 Thread htran_888
Hi All, I am encountering the following errors when running the Enterprise Application Client using JBoss 4.2.2 AS: -- Deploying C:\Documents and

[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-04-16 Thread htran_888
Hi, Make sure that the Data Source field in the Persistence.xml is set to java:/DefaultDS before cleaning, rebuilding and deploying this project to resolve this issue. Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037722#4037722 Reply to the post :

[jboss-user] [EJB/JBoss] - Could not run EJB Client from Windows batch script

2007-03-29 Thread htran_888
Hi All, My Client Windows batch script (Shell.bat) aborted with the following message: D:\Temp\workbook\ex11_4shell.bat D:\Temp\workbook\ex11_4set CLASSPATH=build\classes;client-config Files\jboss-4.0.5.GA\client\lib was unexpected at this time.D:\Temp\workbook\ex11_4for /R C:\Program

[jboss-user] [Beginners Corner] - Re: Looking up a @Stateful Bean fails cause of AOP Intercept

2007-02-28 Thread htran_888
Hi, Sounds like it is a JBoss 4.0.4/4.0.5 issue since I have had no problem when using SJASA PE 9.0 with the same Netbeans on the same JDK 6.0. Anyway, I will try it with JDK 1.5 to see whether it makes any difference. Cheers, Henry View the original post :

[jboss-user] [EJB 3.0] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-28 Thread htran_888
Hi Jaikiran, Thanks for pointing me to a relevant post. I will try the suggestion and let everyone know. Cheers, Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023972#4023972 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Looking up a @Stateful Bean fails cause of AOP Intercept

2007-02-28 Thread htran_888
Hi cwulf, Your recommendation was correct. By running only the Client program (EJB3ex512) using SDK 1.5 solved this issue. All session beans and other clients are still using SDK 1.6 without a problem. Thanks again, Henry View the original post :

[jboss-user] [JBoss and NetBeans] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-27 Thread htran_888
Hi All, Could someone please help me with this issue? I still could not identify what the problem for so many weeks. Thanks, Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023218#4023218 Reply to the post :

[jboss-user] [EJB 3.0] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-27 Thread htran_888
Hi All, Could someone please help me with this issue? I still could not identify what the problem for so many weeks. Thanks, Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023219#4023219 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - javax.naming.NamingException: Could not dereference object [

2007-02-27 Thread htran_888
Hi All, Could anyone please assist with what looks like a JNDI lookup issue when it tries to reference either a TransactionPersistenceContextBean/ExtendedPersistenceContextBean? The detail can be found from http://www.jboss.com/index.html?module=bbop=viewtopicp=4023219#4023219. I have tried

[jboss-user] [EJB 3.0] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-21 Thread htran_888
Hi, I managed to overcome this issue by carrying out the the following changes which worked on Sun System Java Application Server PE 9.0 only: ( i ) Re-create a single titan ejb project to include all 3 session beans (TravelAgent, TransactionPersistenceContext, ExtendedPersistenceContext) 1

[jboss-user] [JBoss and NetBeans] - Re: NamingException: Could not dereference object - EJB 3.0

2007-02-21 Thread htran_888
Hi, I managed to overcome this issue by carrying out the the following changes which worked on Sun System Java Application Server PE 9.0 only: ( i ) Re-create a single titan ejb project to include all 3 session beans (TravelAgent, TransactionPersistenceContext, ExtendedPersistenceContext) 1

[jboss-user] [EJB 3.0] - NamingException: Could not dereference object - EJB 3.0 Stat

2007-02-19 Thread htran_888
Hi All, I am receiving the following error when trying to reference 2 Stateful Session beans (TransactionPersistenceContext ExtendedPersistenceContext): -- Distributing

[jboss-user] [JBoss and NetBeans] - NamingException: Could not dereference object - EJB 3.0 work

2007-02-14 Thread htran_888
Hi Everyone, I have stucked on workbook ex05_2 that makes comparison between using the same entity bean in TransactionPersistenceContext ExtendedPersistenceContext. Anyhow, the following error occurred when trying to access either of these contexts: javax.naming.NamingException: Could not

[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit

2007-02-12 Thread htran_888
Hi L, Success at last after having upgraded JBoss to 4.0.5 (full support for EJB 3.0) which may have fixed the problem. Anyhow the main sticking point was not referencing TravelAgentBean correctly using JNDI. Below is the only slight modification needed from the original code from the Client:

[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit

2007-02-07 Thread htran_888
Hi L, By prepending the java:/ to DefaultDS in persistence.xml file did fixed the binding issue. I have tried this in the past but did not redeploy correctly. Anyhow, I now receive the following error when running the Client.java on the titan.jar EJB: javax.naming.NoInitialContextException:

[jboss-user] [JBoss and NetBeans] - NameNotFoundException: DefaultDS not bound - Entity Unit (Ca

2007-02-06 Thread htran_888
Hi All, I have not been able to bind the default Hypersonic database (DefaultDS) in JBoss after having created a simple Entity class (Cabin) and a Persistent Unit (titanPU). Below is the listing from JBoss output:

[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - How to import EJB 3.0 Workbook Exercises into Netbeans

2007-01-19 Thread htran_888
Hi, I am very new to EJB 3.0 but have covered more than half of this book and have no difficulty completing the exercises on the command line using the Ant script provided by the workbook. Nevertheless, I would like to use NetBeans to import these same exercises in but could not proceed

[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-01-14 Thread htran_888
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error

[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-01-14 Thread htran_888
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error

[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-01-14 Thread htran_888
Hi All, I am having difficulty verifying the greeting messages using the Database Explorer when going through the EJB 3.0 Enterprise Beans for JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) tutorial. It is the very last step of the exercise. Below is the error

[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-01-04 Thread htran_888
Hi All, I managed to replacing the JNDI lookup line from java:comp/env/ejb/NewsEntityFacade to NewsApp/NewsEntityFacade/local which fixed java.lang.RuntimeException: javax.naming.NameNotFoundException error. However, I now received the following error despite having been able to access the

[jboss-user] [JBoss and NetBeans] - javax.naming.NameNotFoundException - EJB 3.0 Enterprise Bean

2007-01-03 Thread htran_888
Hi All, I received the following error message after unsuccessfully trying to test tutorial EJB 3.0 Enterprise Beans for the JBoss Application Server (http://www.netbeans.org/kb/55/ejb30-jboss.html) by accessing servlet on http://localhost:8080/NewsApp-war/ListNews on my PC: type Exception

[jboss-user] [JBoss and NetBeans] - Re: Getting Started with JBoss 4.0 printable PDF copy

2007-01-02 Thread htran_888
Hi, I managed to find a copy. Thanks anyway, Henry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3997430#3997430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3997430 ___

[jboss-user] [JBoss and NetBeans] - Getting Started with JBoss 4.0 printable PDF copy

2006-12-31 Thread htran_888
Hi All, Does anyone know where I could download a copy of the aboved tutorial/document after having exhausted my effort Googling and gone through both Netbeans JBoss website in vain? There is a HTML version around but I am looking for a printable PDF format copy, if there is one available.