[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Help on Named Query

2007-04-17 Thread scout1lacno
Hi, My code are the following @Entity | @Table(name = "tblName") | @NamedQueries( { | @NamedQuery(name = "TblName.findFilteredDate", query = "select * from table" ), | @NamedQuery(name = "TblName.findStuff", query = "select * from tableStuff" )

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Help on Named Query

2007-04-16 Thread scout1lacno
Hi elsieq, May you please post your code? FYI: On my previous code, it seems that you can only use '%' on strings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037822#4037822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Help on Named Query

2007-03-15 Thread scout1lacno
Hi all, Im having problem upon using LIKE with '%' statements on NamedQuery. anonymous wrote : Ordinary query using LIKE without '%' | | SQL | select o.field1,o.field1 from TblMessages AS o WHERE o.CategoryID = '+CategoryID+' and o.date LIKE '+Date+' ORDER BY o.datReceived DESC ") | |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Need help on converting SQL to EJB QL

2007-01-03 Thread scout1lacno
Hi all, Im having problems with my EJB QL statements. Im using MySQL as my database.. The SQL statement below works perfectly on MySQL: | select o.dateArrived, o.custName , o.IDCategory | from tblMessages AS o WHERE o.IDCategory = "+categoryId+" and DATE_SUB( '"+dateReceived+"' , INTERVAL

[jboss-user] [EJB/JBoss] - Re: Need help on java.lang.NoSuchMethod exception

2006-11-23 Thread scout1lacno
Sorry the exception above is not the right one java.lang.NoSuchMethodError: ph.icomm.ibccrm.entity.TblMessageFacade.getHeaderLocal | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988071#3988071 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [EJB/JBoss] - Need help on java.lang.NoSuchMethod exception

2006-11-23 Thread scout1lacno
Hi all, Im stuck with this for quite a time now. The situation is that im developing an EJB application. I have JBOSS-4.0.4.GA app server in my local machine( Windows 2000 ) and JBOSS-4.0.4.GA in the remote machine (Linux). When I deploy my apps on my local server there is no exception. But

[jboss-user] [EJB/JBoss] - CPU Usage at 100% upon deployment

2006-11-02 Thread scout1lacno
Hi All, Im developing an EJB3.0 app. I just installed the NetBeans 5.5 with JBOSS bundle release. Im clueless why everytime I deploy my app the CPU usage rose up to 100%,the IDE hangs up,and after deployment it comes back to normal again, this never happened from the Beta2. The max cpu usage

[jboss-user] [EJB/JBoss] - Need help on exception:is java.io.FileNotFoundException:

2006-10-29 Thread scout1lacno
Hi all, Im new to EJB3 and JBOSS. I wanna materialize a BLOB data from MS SQL to Attachments folder, all data from this folder are generated from the Blob data I acquired. Can someone tell me where to put the folder in my EJB application. Is it in my WAR file? Im clueless. The error is below

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-20 Thread scout1lacno
Hi all, This is just a follow up. My JBOSS app server is working ok now. If anyone there encounters error just like mine specially on port 8083 or 1098, just disable your local firewall first then start JBOSS. After that you can start your firewall again. Just an FYI :) Thankz :) Keith V

[jboss-user] [EJB 3.0] - Re: Help on java.lang.ClassCastException: java.lang.String

2006-10-19 Thread scout1lacno
Line 46 is this: String country = (String) myList.get(i); My full code is: protected void processRequest(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException { | response.setContentType("text/html;charset=UTF-8"); |

[jboss-user] [EJB 3.0] - Re: Help on java.lang.ClassCastException: java.lang.String

2006-10-19 Thread scout1lacno
Hi Jaikiran, Have tried your advice on: String country = (String) myList.get(i); I have changed my code to: for (int i = 0; i < length; i++) { | //TblCountry region = (TblCountry) myList.get(i) ; | String country = (String) myList.ge

[jboss-user] [EJB 3.0] - Help on java.lang.ClassCastException: java.lang.String

2006-10-18 Thread scout1lacno
Hi, Hi all im having an error java.lang.ClassCastException: java.lang.String Does anyone have an idea on this error? My codes are: | TblCountryFacadeLocal myCountryBean = lookupTblCountryFacade(); | List myList = myCountryBean.findAll(); | int length = myList.size(); |

[jboss-user] [EJB 3.0] - Help on javax.persistence.NonUniqueResultException

2006-10-17 Thread scout1lacno
Hi all, Im developing and EJB 3.0 application with JBOSS 4.0.4.GA and NB 5.5. Im having an error below: 2006-10-18 14:11:08,690 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CRM-war].[PlaceBean]] Servlet.service() for servlet PlaceBean threw exception | javax.ejb.E

[jboss-user] [Beginners Corner] - Re: Unable to deploy webservice in Jboss using netbeans IDE

2006-10-16 Thread scout1lacno
Im sorry, i tought you were trying to deploy an EJB apps. I havn't tried deploying webservice yet on JBOSS. However you can check on this site http://blogs.sun.com/blog/ Maybe that will help you. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978691#

[jboss-user] [Beginners Corner] - Re: Unable to deploy webservice in Jboss using netbeans IDE

2006-10-16 Thread scout1lacno
Hi, Hello there... are you trying to deploy an EJB3.0 application? If so then download the Beta release of NetBeans.You can choose NetBeans 5.5 Beta 2 with JBOSS bundle.. I think NetBeans 5.0 is not compatible with JBOSS. I maybe wrong. View the original post : http://www.jboss.com/index.

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-16 Thread scout1lacno
Hi, Thanks for the reply. :) I have it running now. I reinstalled my JBOSS.. Reset the MySQL Datasources. and there it goes. It's ok for now... maybe patience is all that is needed. Thank you very much jaikiran, genman and among others.. Thankz :) Keith from the Philippines. View the or

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-15 Thread scout1lacno
Hi jaikiran. Ports are ok now. Im using my command line to start and stop JBOSS. Since NetBeans 5.5 Beta 2 with JBOSS bundle seems not to shutdown JBOSS properly. Is thi a bug to the NetBeans or in JBOSS side? I just wanna ask. Im running into problems when Im deploying. Im running into this e

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-12 Thread scout1lacno
Thankz for the reply. I have change the name from DefaultDS to MySqlDs. I only have one error right now the error is : | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS | State: NOTYETINSTALLED | Depends On Me:

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-12 Thread scout1lacno
The ports are ok for now.It seems that NetBeans is not shutting down JBOSS properly.. Im using my command line to start and shutdown JBOSS. I think by doing this, it will shutdown JBOSS properly. Im ok for the ports for now. But Im having problem an error on my datasources again. Im having an

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-11 Thread scout1lacno
Hi, Thankz for the reply :) Have you tried downloading NetBeans 5.5 Beta 2 with JBOSS Bundle? I have located the files but in different file names on \jboss-4.0.4.GA\server\default\deploy The files are anonymous wrote : naming-service.xml | dynaclassloader-service.xml | invokers-service

[jboss-user] [Installation, Configuration & Deployment] - Re: Windows 2003 - Ports In Use

2006-10-10 Thread scout1lacno
Does any one here found the solution yet? Im having same problems too Thankz :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977426#3977426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977426 _

[jboss-user] [JBoss and NetBeans] - Re: Newbie Need Help :)

2006-10-10 Thread scout1lacno
Thankz for the reply :) I have changed the ports already. When I run the server it went fine. But when I close it and run it for the 2nd time the error will then show up.. Maybe it cached some where? or hidden in the firewall? Hope some one can help me. :) Thankz View the original post : h

[jboss-user] [Beginners Corner] - Re: Problems starting JBoss for a second ou third time

2006-10-10 Thread scout1lacno
Im running to similar problems also. Im using JBOSS-4.0.4.GA that came up along with NetBeans 5.5 Beta 2 JBOSS Bundle.. Has anyone here overcome this problem? I sometime solve this problem by using the "run.bat -b 182.xxx.x.xxx" but what about running the JBOSS server in NetBeans? it produce

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-10 Thread scout1lacno
Hello, The MySQL DataSources are fine now.. But I have this re occuring error again. anonymous wrote : | Port 8083 already in use | Port 1098 already in use I can solve this by: anonymous wrote : run.bat -b 182.xxx.x.xxx on the command prompt. But when I start NB 5.5 Beta 2 JBOSS Bundle

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-08 Thread scout1lacno
THANKZ VERY MUCH :) anonymous wrote : The mysql-jdbc2-service.xml appears to be the culprit. As far as i know, this file does not come by default in the JBoss installation. Did your application put in this file at this location? Yes it came with the default installation of JBOSS-4.0.4.GA on NB

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-07 Thread scout1lacno
No worry of the previous post I just solved it my self. I just erased the file hsqldb-jdbc2-service.xml.. I dont know why :) maybe it conflicts with mysql-ds.xml i just dont know. :) Anyway just solve it..however they say that if you solve one problem another problem will arise.. sounds true.

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-06 Thread scout1lacno
My JBOSS just started working... but it shows an erorr org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq:service=DestinationManager Any idea with this erorr? Thanks :) anonymous wrote : org.jboss.deployment.DeploymentException: Trying to install

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-06 Thread scout1lacno
Sorry for the delayed reply. :) I haven't changed anything on that file.. I tried manually encoding the XML tags on the ports but still the error persist.. Do you have a link on where I could find the the file? like yours? Thanks :) View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss and NetBeans] - Newbie Need Help :)

2006-10-06 Thread scout1lacno
Hi there, I posted this from another forum I think im gonna repost it again here sound more inclined with this forum. :) Im new to JBOSS. Ive been setting up JBOSS for 3 days with mySQL... The JBOSS came from Netbeans 5.5 Beta 2 Bundle with JBOSS-4.0.4.GA I followed the instructions on http:

[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)

2006-10-06 Thread scout1lacno
Hi thank for the reply :) I've downloaded the TcpView already. I've run it but I cant seem to find the 8083 and 1098.. Maybe the port is inside the firewall? Follow up question. I understand that to change the 8083 and 1098 port you need to go to the HOME:\jboss-4.0.4.GA\server\default\conf\jb

[jboss-user] [Beginners Corner] - Newbie Need Help :)

2006-10-05 Thread scout1lacno
Hi there, Im new to JBOSS. Ive been setting up JBOSS for 3 days with mySQL... The JBOSS came from Netbeans 5.5 Beta 2 Bundle with JBOSS-4.0.4.GA I followed the instructions on http://ltiwww.epfl.ch/Eclipse/LoadingJBoss.html. To connect to mySQL . I just successfully run it yesterday. But this m