[JBoss-user] [EJB/JBoss] - Re: Remote exception

2005-08-03 Thread johnhelen
Thank you for your help My JBoss is 3.2.5 verson. I only try in my computer (one client) and mySQL is 4.0. I really do not know that is Jboss problem or my beans's problems. I also tried install Jboss, mySQL and my application in another computer, there is also the same error. Is there any test

[JBoss-user] [EJB/JBoss] - Remote exception

2005-08-02 Thread johnhelen
Hello I have a Java server using JBoss and a database (mySQL). I also create an application with some SessionBeans, entity beans. My application run OK. However, sometime, the application does not run as there is a remote exception. The error is: Remote Exception : RemoteException occurred in s

[JBoss-user] [Installation, Configuration & Deployment] - Re: what happen if I have two datasource files in deploy fol

2005-08-02 Thread johnhelen
Thanks I think that there is JNDI name conflict if in the two files there are jndi names which are the same. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888092#3888092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Installation, Configuration & Deployment] - what happen if I have two datasource files in deploy folder

2005-08-02 Thread johnhelen
Hello in folder jboss\server\default\deploy, I have two datasource, one is the default hsqldb-ds.xml and the other is for mySQL database, mySQL-ds.xml I know that I cannot put them together. Why... could you please explain Thank you S.Ho View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [JNDI/Naming/Network] - Re: port for Mysql in Jndi file and datasource file

2005-07-27 Thread johnhelen
Sorry, one line is missing: pass View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886979#3886979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886979 --- SF.Net email

[JBoss-user] [JNDI/Naming/Network] - port for Mysql in Jndi file and datasource file

2005-07-27 Thread johnhelen
Hello My Jndi.properties file is following: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=192.168.101.4:1099 To connect with Mysql database, I have a datasource file called db-ds.xml

[JBoss-user] [JNDI/Naming/Network] - Re: classpath for Jndi.properties file

2005-07-27 Thread johnhelen
thanks I put this file into c:\winnt folder. When I run cmd as >echo %classpath% I get c:\winnt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886956#3886956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886956 -

[JBoss-user] [JNDI/Naming/Network] - classpath for Jndi.properties file

2005-07-26 Thread johnhelen
Hello My application using JBoss for java server. I use a jndi.properties file for lookup as the following: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=192.168.101.1 When I put th

[JBoss-user] [EJB/JBoss] - Error : Remote Exception : RemoteException occurred in serve

2005-06-18 Thread johnhelen
Hello When I run my application, sometimes (not always), there is an error message: Remote Exception : RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: null; CausedByException i

[JBoss-user] [EJB/JBoss] - getConnection does not work

2005-05-31 Thread johnhelen
Hello I JBoss/mySQL database. I also put mysql-connection into \jboss\server\default\lib. I have a bean that have a function getConnection as: private Connection getConnection() throws SQLException { try { Context jndiCntx = new InitialContext(); DataSource ds = (DataSource

[JBoss-user] [EJB/JBoss] - Re: how to know port is opened

2004-12-07 Thread johnhelen
Thank you No, in my client application, I have java.naming.provider.url=jnp://serverIP:1099 (not localhost as I will connect the client computer to a server that have a serverIP. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857679#3857679 Reply to the p

[JBoss-user] [EJB/JBoss] - how to know port is opened

2004-12-03 Thread johnhelen
port. The reason is that I have to turn off then turn on the server computer. After that, my client is able to access. It is realy funny!!! Do you know a method to check this port (in the server computer) is open or not from the client computer ??? Thank you johnhelen View the original

[JBoss-user] [EJB/JBoss] - Cannot run client application from other computer

2004-11-28 Thread johnhelen
Hello all I install JBoss and mySQL for database, EJBs to build a server Java in My computer. I also develop a Java client application and set up the application to run in this computer as localhost. This client application run well in this computer. However, I do not know how to set up (or mod

[JBoss-user] [Installation & Configuration] - NamingException error

2004-11-08 Thread johnhelen
Hello I tried to compile JavaClient runing in a JBoss server and there is NamingException error. The error message is "error setting options" when my bean is trying to create (.getHome().create()... Could you please help Many thank S.Hoa View the original post : http://www.jboss.org/index.ht