[JBoss-user] sql query

2001-10-09 Thread Graham . Forte
Sorry my internet access is down so I am going to try and ask this question here instead of at a related site. I need to do a query like this: String sql="SELECT DISTINCT GRP,CMOD,DMOD FROM TABLE"; The problem is I only want distinct on the first column(GRP) but it returns all distinct combinatio

RE: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread Graham . Forte
Thats exactly what I want to do (just a query) I guess I dont have a good understanding of EJBs yet(or Java in general) this is not a good induction into java programing!! So I need to execute a query in a JSP or Jbean to fill my box?! THANKS! -Original Message- From: David Jencks [mailt

[JBoss-user] Custom finders in Jaws

2001-09-26 Thread Graham . Forte
Howdy, How can I declare a findByLName() in jaws, I tried this.Like the docs chpt 6 ClassBean ... findByLName LNAME!=null //What I want is for the collection to contain all lastNames from all records(I guess I need a wildcard here so It will return all) //Similar to a findAll() except retu

[JBoss-user] java.lang.NullPointerException

2001-09-25 Thread Graham . Forte
Hi , I get this error when I attempt to access an ejb (cmp)Collection findAll() method through a JavaBean from a JSP, I have no clue as to what this error is pointing to, Anyone? Here is the dump. Thanks, Graham Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper

RE: [JBoss-user] Error running jboss on Solaris.

2001-09-25 Thread Graham . Forte
I had the same problem I still have the thread on paper. Dan Bratton writes: edit your 'run_with_tomcat.sh' file and change the line that reads: export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar to read: JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_CLASSPATH that should

[JBoss-user] Collection findAll()

2001-09-24 Thread Graham . Forte
Is it legal to make the method in ejbHome : public ResultSet findAll() instead of: public Collection findAll() ? Unless someone can share code as to how to use a Collection class within a JSP (I can print out the Collection on the server "System.out.print") with my intermediate java bean but can

[JBoss-user] coding advice

2001-09-20 Thread Graham . Forte
Hi , can someone tell me if this is good or bad coding practice. I have entity bean(cmp), a JavaBean (which accesses ebean) and a JSP which uses Jbean. This is a code snippet.from JSP <%@page contentType="text/html"%> <%@page import="java.util.*"%> JSP Page //SHOULD I (can I)ACCESS T

[JBoss-user] Class not found in type declaration.

2001-09-19 Thread Graham . Forte
Hi all. I have a problem with a JSP page. I am trying to use a collection class from an entity bean, Collection findAll(). I am using a jbean between ejb and JSP. I keep getting this error Class java.util.Collection not found in type declaration.(full dump below). I package jsp and jbeans in a wa

[JBoss-user] Help with Collection class

2001-09-19 Thread Graham . Forte
I have tried this in my JSP but get these errors. I have an import of java.util.* at top of the JSP. I am using a HashSet so that items in dd box are unique. I have a servlet that successfully uses Collection and Iteration classes. I can code a method in my jbean(similar to the one below in JSP )

RE: [JBoss-user] Collection implementation ERROR

2001-09-17 Thread Graham . Forte
I have tried this in my JSP but get these errors. I have an import of java.util.* at top of the JSP. I am using a HashSet so that items in dd box are unique. Any help is appreciatedGraham [Default] JBoss 2.2.2 Started in 0m:26s 2001-09-17 03:11:55 - Ctx( /adapts ): JasperException: R( /adapts

[JBoss-user] Collection implementation

2001-09-17 Thread Graham . Forte
I know this is not really jboss related, but rather java in general but I thought I would try. I have an ejb(cmp) , it has a: public Collection findAll() method. I havent used the Collection class so I cantfigure out how to implement this . I am trying to populate a dropdown box on a jsp page wi

RE: RE: Re. Re: [JBoss-user] UnknownHostException Error on JBOSS- TOMCAT Startup

2001-07-19 Thread Graham . Forte
I had the same prob, You only have to change the web.xml that is inside of the .war. I put the dtd in the htdocs of the apache default dir. and used a doctype like this: mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 6:14 AM To: [EMAIL PROTECTED] Subject: Re: RE: Re. Re: [JBoss-user] Unkn

RE: [JBoss-user] RE: Embedded Tomcat with JBoss Not Able to Call JSPs

2001-07-18 Thread Graham . Forte
Are you connected to the net? If not you have to put a local copy of dtd on ur machine, then point the web.xml that is inside your .war which is inside ur .ear file to the local copy. -Original Message- From: Prashant Sarode [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 4:36 A

RE: Re[2]: [JBoss-user] auto deploy not working on linux

2001-07-12 Thread Graham . Forte
I had a similar error, we seem to be at the same point on install. I got an error 500 I think, at java.lang...line 508, Upon searching the JBoss faqs I found out that the tools.jar from jdk needs to be copied into tomcat/lib folder. I am new to this so I would search JBoss with your specific error

RE: [JBoss-user] auto deploy not working on linux

2001-07-12 Thread Graham . Forte
Burkhard, I will add one thing that would have saved me time had I known, in case Daljeet does not know. The web.xml that needs to be modified is located inside your .ear.war file use zip ap to extract and modify. -Original Message- From: Burkhard Vogel [mailto:[EMAIL PROTECTED]] Sent: Th

RE: [JBoss-user] local reference to the DTD

2001-07-12 Thread Graham . Forte
I still get the same error, I am putting the local copy of the dtd under the htdocs folder which resides in apache home, could that be the problem? also I cant view the web.xml file in IE 5 I get an error :cannot have multiple DOCTYPE declarations Line 1 position 11 --^ this is the web.xm

RE: [JBoss-user] local reference to the DTD

2001-07-11 Thread Graham . Forte
That doesnt work either. I get the following parser error: External parameter entity "%[dtd]; has characters after markup. I also get this same error when I put the dtd in a subfolder and reference it like this: Http://supersunbob.tbcds.destin.com/subfolder/web-app_2_2.dtd";> WHAT GIVES? Probably

[JBoss-user] local reference to the DTD

2001-07-11 Thread Graham . Forte
Help!! I am trying to associate a reference to a local copy of the sun DTD, since I dont have external access to it. This is what I have tried to no avail: I am running solaris 8sparc with apache ; and JBoss-2.2.2_Tomcat-3.2.2. I put the copy of dtd in the htdocs folder which resides under /usr/ap

[JBoss-user] run_with_tomcat.sh | Error while starting tomcat-test.war: null

2001-07-10 Thread Graham . Forte
HI I am attempting to setup apache with JBoss-2.2.2_Tomcat-3.2.2 on a solaris 8 machine on a closed network(consequently I am referencing the dtd locally in my web.xml files). I have an error that reads as follows:Any Ideas would be greatly appreciated! 2001-07-10 08:40:02 - ContextManager: Addin

[JBoss-user] referencing an internal dtd

2001-07-03 Thread Graham . Forte
I need to reference an internal dtd, I modified my /tomcat/conf/web.xml with this( btw Solaris 5.8 apache JBoss2.2.2_Tomcat 3.2.2) I searched all archives for info ! does this look right ? Is this the only .xml file to edit?This is initial install so only tomcat-test is attempting to deploy. Em

RE: [JBoss-user] jboss-2.2.2_tomcat3.2.2 local dtd

2001-07-03 Thread Graham . Forte
Cecile, you are right my web.xml file wont load into IE, I need to figure out how to reference it properly, I was using /web-app_2_2.dtd since I had it locally just off root. That doesnt work! Thanks, Any tips on how to properly reference it would be appreciated!!! Graham -Original Message--

RE: [JBoss-user] jboss-2.2.2_tomcat3.2.2 initial install erors

2001-07-03 Thread Graham . Forte
Thanks,I did a search for these files but didnt find any of them, could it be because I am atempting to do an initial run of jboss/tomcat? -Original Message- From: Saint-Martin Cecile [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 8:59 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss

[JBoss-user] jboss-2.2.2_tomcat3.2.2 initial install erors

2001-07-03 Thread Graham . Forte
I am reinstalling jboss/tomcat for the 3 rd time, I get two errors when I use run_with_tomcat.sh: First I get the ever popular UnknownHost then I fix all the references to sun.com dtd and copy a local vesion of this then point to local. I have read a bunch of posts pertaining to this error, and no

[JBoss-user] choose your error

2001-07-02 Thread Graham . Forte
I am reinstalling jboss/tomcat for the 3 rd time, I get two errors when I use run_with_tomcat.sh: First I get the ever popular UnknownHost then I fix all the references to sun.com dtd and copy a local vesion of this then point to local. I have read a bunch of posts pertaining to this error, and no

[JBoss-user] diectory checksum error

2001-07-02 Thread Graham . Forte
I originally did an install of JBoss-2.2.2_Tomcat-3.2.2, while after I did tar xvf I got the usual output lines but at the end I got this error: tar : directory checksum error On my first install I ignored this. I ended up getting a null pointerException, so I removed the jboss and tomcat director