[jboss-user] [J2EE Design Patterns] - Re: how to call ejb deploy on linux jboss4.0.5GA

2008-09-06 Thread design2006
did u implement provide ur ejb in remote ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174774#4174774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174774 ___ jboss-user m

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Error in entitymanager

2008-09-06 Thread design2006
yea.. i knew is the space problem. So is there anyway can overcome this problem ? other than move the JBoss AS folder. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174773#4174773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[jboss-user] [JNDI/Naming/Network] - Re: JNDI in ejb3

2008-09-06 Thread design2006
i can see mysqlDS in java: So how do i lookup this object ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174772#4174772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174772 __

[jboss-user] [JNDI/Naming/Network] - JNDI in ejb3

2008-09-04 Thread design2006
Dear all, How to do a jndi to lookup a datasource in ejb3 ? I want to lookup the datasource, grap the connection, and do something rather than using the EntityManager. I try lookup("java:/mysqlDS"); lookup("java:comp/env/mysqlDS"); it always gave me javax.naming.NameNotFoundException: "somethi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: library need in ear archive

2008-09-04 Thread design2006
Hi, thanks for the reply. yea, i mean the library jar files that need to be included in the EAR archive. I am confusing on what jar files need to be put in WEB-INF/lib folder, and what jar files need to be put in the EAR archive. View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Error in entitymanager

2008-09-04 Thread design2006
15:32:16,049 ERROR [[action]] Servlet.service() for servlet action threw excepti on java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and S ettings/kelvin/Desktop/desktop/jboss-4.2.2.GA/server/default/tmp/deploy/tmp1652 5myApp.ear-contents/myApp.jar. Cause: Illegal char

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Error in entitymanager

2008-09-03 Thread design2006
Dear all, In my code, i have private EntityManagerFactory emf = Persistence.createEntityManagerFactory("myDBUnit", new HashMap()); however, this line cause an error in jboss AS, it saids that IllegalArgumentException, unable to read JARillegal character at line 18 Any clue on this ?

[jboss-user] [Installation, Configuration & DEPLOYMENT] - library need in ear archive

2008-09-03 Thread design2006
Hi all, I have a newbie questions regarding packaging the ear file. Usually inside the ear file consist of ejb jar file and war file. But sometimes i saw some examples there also contains some library jar file. So how do i know what library jar file to be included in ear file during packaging ?

[jboss-user] [EJB 3.0] - Re: how to check entity bean state change ?

2007-12-13 Thread design2006
what i mean is that say for example, i have an entity bean which contains two fields name and age, first time it will render on the front page for user to edit, so i would like to "save" it only when users actually have change the value. Otherwise just abort it. So how do i track this ? thanks

[jboss-user] [EJB 3.0] - how to check entity bean state change ?

2007-11-27 Thread design2006
Dear all, I have an entity bean which persist to the database, how can i know when the field value of the entity bean has been change ? Because i want to make the application call to update database only when some of the fields in the entity bean have been change. thanks. regards, design

[jboss-user] [JBoss Seam] - Re: how to upload file ?

2007-07-02 Thread design2006
I knew there is some s:uploadFile that can be use. But currently i am concern using t:inputFileUpload, so anyone got any idea about how to use tomahawk and ejb3.0 to do a file upload ? thanks a lot... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059779#405

[jboss-user] [JBoss Seam] - how to upload file ?

2007-07-01 Thread design2006
Hi there, i am using t:inputFileUpload to do a file upload example and try to deploy it to jboss seam , but the example got error during i hit the submit button, it keep complain that "argument type mismatch ". if i don't attach a file and just hit the submit button it works just fine. Anyon

[jboss-user] [EJB 3.0] - Event scope question....

2007-06-07 Thread design2006
hi there, I am using Event scope for one entity bean. when user login from the login page, the next page show up wil be "Hello, #{user.userName}". But when the welcome page show up, i can't get the username. The reason i use event here is i want to save server resources rather than using stat

[jboss-user] [Installation, Configuration & Deployment] - JBOSS deploy cannot success

2006-09-05 Thread design2006
When i deploy the webapp using JBOSS 4.0.4, after success deploy EJB, it should follow by deploy validation rules. But it gives me error: ERROR [MessageResourcesFactory] MessageResourcesFactory.createFactory java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory a