[JBoss-user] ClassNotFoundException

2002-01-16 Thread greg
I have written a stateless session bean that I am accessing via a soap rpc. The ejb creates a TransformerFactory as below in the code included. When I try to create the TransformerFactory with a call to newInstance(), I get the error: java.rmi.ServerException: RemoteException occurred in serve

[JBoss-user] Dynamic scheduler

2002-01-16 Thread Guy Rouillier
Is anyone working on a dynamic scheduler for JBoss? We need a scheduler at work, and if we end up writing one, I'm going to attempt to influence the powers that be to write it for the JBoss framework. I wanted to see if there is already a project underway for this. Also, I did a search on the S

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Dmitri Colebatch
> On 2002.01.16 23:44:26 -0500 Bill Pfeiffer wrote: > > I will probably go ahead and check uniqueness on the setter of the field, > > but I don't like it and here's why. Oracle has gone a long way to ensure > > that users have a consistant view of the database, my dinky check in my > > setter to

Re: [JBoss-user] Database connection Pooling and other questions

2002-01-16 Thread Guy Rouillier
I've seen discussions here about using JBossPool as a standalone component. Also, I've seen mention of other third party packages for standalone database pooling. Get one of those and just use it with Tomcat if all you are after is database connection pooling. - Original Message - From:

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread David Jencks
On 2002.01.16 23:44:26 -0500 Bill Pfeiffer wrote: > I will probably go ahead and check uniqueness on the setter of the field, > but I don't like it and here's why. Oracle has gone a long way to ensure > that users have a consistant view of the database, my dinky check in my > setter to see if a v

[JBoss-user] EJB QL Problem

2002-01-16 Thread Christofer Sandberg
When deploying an app with the following query Jboss throws an java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.getJoinClause(SQLUtil.java:311) SELECT OBJECT(p) FROM productcategory AS c, IN (c.products) AS p WHERE p.id = ?1 The relation is many to many. The nullpointe

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Bill Pfeiffer
My problem seems relatively simple. Allow a user to type in the text value of a globally unique field and catch duplicates when they occur in a manner that will work/fail consistantly and return reasonable messages to the user when uniqueness is violated. My persistance layer (Oracle, but it cou

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Bill Pfeiffer
I will probably go ahead and check uniqueness on the setter of the field, but I don't like it and here's why. Oracle has gone a long way to ensure that users have a consistant view of the database, my dinky check in my setter to see if a value is there yet lacks ANY robustness. Just because I ch

RE: [JBoss-user] Help needed with transactions

2002-01-16 Thread Eric Kaplan
David Were there any more thoughts on this? I'm using declaritive transaction management, both session and bmp entity beans have Required as their transaction attribute, and the originating session bean throws an ejb exception to the container when the insert fails. No luck on the integrity of

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread David Jencks
On 2002.01.16 21:49:24 -0500 Bill Pfeiffer wrote: > In my situation, I just have a field that has a unique constraint on it, > but > I would like to allow my user to put in this field whatever they would > like, > as long as there are no duplicates. From a coding perspective, the > constraint fai

RE: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Dain Sundstrom
It isn't that Entity beans are not designed to handle the error. The problem that JDBC was not designed to handle this type of error. There is only one exception in the java.sql package. There is no generic way to determine the cause of a database error, so you will end up with database specific

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Scott M Stark
This isn't a proper seperation of functionality from the EJB perspective. Your delegating component business logic to the persistence layer. If you swtich your persistence layer to another implementation that does not support such notion, your component no longer functions. If you don't like this

Re: [JBoss-user] XDoclet 1.1 - jbosscmp-jdbc.xml

2002-01-16 Thread David Jencks
They were having severe problems with the jbosscmp-jdbc code generation (like crashing xdoclet) and commented out support in ...ejb/vendor/JBossSubTask.java You can easily uncomment it. They hope to have a working version in a couple of weeks and release 1.1.1 ... although keeping up with the dt

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Bill Pfeiffer
In my situation, I just have a field that has a unique constraint on it, but I would like to allow my user to put in this field whatever they would like, as long as there are no duplicates. From a coding perspective, the constraint failure is THE place to catch this, not with my own attempt to ch

[JBoss-user] XDoclet 1.1 - jbosscmp-jdbc.xml

2002-01-16 Thread Paul McLachlan
XDoclet doesn't seem to be generating the required jbosscmp-jdbc.xml for jboss3.0 I have set and for each bean cmp-version="2.x" It is still generating jboss.xml and jaws.xml Paul. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sou

RE: [JBoss-user] PostgreSQL Large Object support???

2002-01-16 Thread Dain Sundstrom
Is there something fundamentally different about postgres "Large Objects"? If they are just another data type, then change the sql-type of the column you want to use the "Large Object". If it requires special handling of the prepared statement or result set it is unlikely to happen (I try to avoi

[JBoss-user] PostgreSQL Large Object support???

2002-01-16 Thread Jay Herrick
Is there any way to use PostGreSQL's "Large Object" version of blobs with JBoss 3.0.0 and CMP2.0? If I'm just completely missing it, can someone point me in the right direction? Thanks, -- Jay Herrick ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread David Jencks
On 2002.01.16 20:25:31 -0500 Bill Pfeiffer wrote: > How then do you catch db referential integrity errors and repackage them > in > a > user friendly manner? I'm not really talking about business logic per > se, > but rules that are enforced by the database that need to be communicated > back to

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Bill Pfeiffer
Ok. Poorly worded. Not real business logic, but shouldn't I be able to capture database errors that result from ejbStore and repackage them into meaningful message to send back to my client? Do I really have to emulate ALL of my db trigger or RI code in my setters and getters on my EB? Bill -

RE: [JBoss-user] ResourceAsStream file placement (more info)

2002-01-16 Thread John Moore
Title: RE: [JBoss-user] ResourceAsStream file placement (more info) Correction, this does work as an env-entry; just not when you make a stupid mistake.   So the original question stands, is there a better place than the root of the jar to put the files to be referenced as resources?   John

Re: [JBoss-user] Passing Business Exception to Client

2002-01-16 Thread Bill Pfeiffer
How then do you catch db referential integrity errors and repackage them in a user friendly manner? I'm not really talking about business logic per se, but rules that are enforced by the database that need to be communicated back to the client. Or am I missing some big picture thing? Bill

Re: [JBoss-user] jBuilder/JBoss/ejb2.0 - plugin for JBoss

2002-01-16 Thread David Jencks
On 2002.01.16 18:16:21 -0500 Paul McLachlan wrote: > Hi jBuilder/JBoss/ejb2.0 developers, > > What would also be nice would be a nice jBuilder plugin for JBoss, so > that one could use the uml ejb designer. I know xdoclet can be used to > generate all the plumbing but to actually design graphical

[JBoss-user] Just wonder if any has had this exception before : Jasper Exception while browsing PetStore

2002-01-16 Thread Anthony Servito
[Default] org.apache.jasper.JasperException: Parse Error in the tag library desc riptor: Thread: Thread-67 does not have privileges to use this SocketImpl. [Default] at org.apache.jasper.compiler.JspUtil.parseXMLDocJaxp(JspUtil.ja va:171) [Default] [Default] at org.apache.jasper.comp

[JBoss-user] set Context for jsp's in JBoss-2.4.4_Tomcat-4.0.1

2002-01-16 Thread Richard Chandler
Hello, I have a directory in $JBOSS_DIST/catalina/webapps/myexamples where I've placed some jsp's I can start catalina with my context set in server.xml and the jsp's load fine (using $CATALINA_HOME/bin/startup.sh) But since server.xml is not used when catalina is embedded in jboss how do I

[JBoss-user] jBuilder/JBoss/ejb2.0 - plugin for JBoss

2002-01-16 Thread Paul McLachlan
Hi jBuilder/JBoss/ejb2.0 developers, What would also be nice would be a nice jBuilder plugin for JBoss, so that one could use the uml ejb designer. I know xdoclet can be used to generate all the plumbing but to actually design graphically the entitybeans, also from an existing dataBase is real

[JBoss-user] Entity bean and self generated key

2002-01-16 Thread Michele Fabbri
Hi, I'm a newbie and I have a problem: which class in jboss allows the automatic generation of primary keys for an entity bean? Thak you very much Michele Fabbri ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listi

[JBoss-user] FW: deploying CMP local entity bean problem

2002-01-16 Thread Frank Xia
Hi,   I am testing JBOSS 3.0alpha for deploying a CMP entity bean. There were several ERRORs I couldn’t figure it out what they mean and there was an SQL exception too. I did setup a jbosscmp-jdbc.xml for the CMP entity bean. I might just miss something obvious here.   Thanks a lot

Re: [JBoss-user] JBOSS EJB Container Architecture

2002-01-16 Thread David Jencks
On 2002.01.16 16:11:24 -0500 Vishwas Raman wrote: > Hi everybody, > > I am kind of new to EJB/JBOSS and pardon me if my question sounds too > weird. > > I have been put on a project to explore the possibility of embedding > fault tolerance in a general EJB architecture. I figured it would be >

RE: [JBoss-user] FW: deploying CMP local entity bean problem

2002-01-16 Thread Dain Sundstrom
You have the wrong DOCTYPE in your ejb-jar.xml file. Therefore the server is loading your classes with the JAWS persistence engine, which only supports cmp 1.1.  Make sure you have the EJB 2.0 DOCTYPE.  This is covered in the JBoss CMP documentation which includes a full source example.   -

Re: [JBoss-user] The corect way to set up XA-datasource

2002-01-16 Thread David Jencks
On 2002.01.16 16:15:12 -0500 Kris Kristensen wrote: > Could somebody please shed some light on the difference between these, > and explain which one shold be used for XA > > ---JDBCDataSourceLoader No transaction control possible from jboss. Use only from e.g. servlets where you are calling comm

RE: [JBoss-user] JBoss-2.4.4_Tomcat-4.0.1 default configuration can't work !

2002-01-16 Thread Lewis Lin
Hi, Anders, Thank you very much!! That solved my problem!!! Where can I find more information to Tomcat in jboss.jcml? I need to change the Realm authentication too. THANK YOU!! Lewis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Anders Lindh Sent

[JBoss-user] Jboss on a big iron: s390/Linux

2002-01-16 Thread Holger Baxmann \(priv.\)
Hi all, If sombody is interested in working/testing jboss on s390/linux: I have managed a setup of an JBoss installation on a S390 Linux Community Development System http://www-1.ibm.com/servers/eserver/zseries/os/linux/lcds/ @ http://l012038.zseriespenguins.ihost.com:8082 (please use cut&

[JBoss-user] JBoss 2.4.4 Tomcat 4.0.1 (run-as) parse error

2002-01-16 Thread Kapilesh Arekar
Hi It would be great if some one can help I am using JBoss2.4.4 Tomcat 4.0.1.I am trying to deploy my application using following web.xml.But i get error run-as element not defined in web.2.2.3 dtd,But it exists in the dtd.I have also given the correct path.I am also following a proper hierar

[JBoss-user] Location to place generated files with Catalina/JBoss

2002-01-16 Thread Paul Cody
[also posted on tomcat-user with no response] I am using an Embedded Catalina 4.0 service in JBoss 2.4.x. My packaging structure is: myapp.ear myejb.jar mywebapp.war (mapping /myservlet/* to servlet 'MyServlet') mypage.jsp The ear file is copied to ${jboss-home}/deploy and hotdeployed to s

Re: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Kris Kristensen
Hi Cole,   Thanks a lot I might take you up on that, if I get stuck on the way.   -Kris  - Original Message - From: Cole, Ian To: 'Kris Kristensen' Sent: Wednesday, January 16, 2002 10:37 PM Subject: RE: [JBos

RE: [JBoss-user] ResourceAsStream file placement (more info)

2002-01-16 Thread John Moore
Title: RE: [JBoss-user] ResourceAsStream file placement (more info) FYI: This doesn't work for files referenced in env-entry statements.  Am working on that next. John -Original Message- From: John Moore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:31 PM To: [EM

[JBoss-user] ResourceAsStream file placement

2002-01-16 Thread John Moore
Title: ResourceAsStream file placement I have files that are being loaded on both the web and ejb tier.  I have moved all of the references in the web tier to WEB-INF/classes and am using getResourceAsStream() to get an InputStream for the parser.  Now, on the ejb side, I currently have the f

Re: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Kris Kristensen
Hi David, We are using Jboss 2.4.4_Tomcat-4.0.1 so I guess mbean is the right way in our case. Thanks david -Kris - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 10:18 PM Subject: Re: [JBoss-user] Question about JBos

[JBoss-user] deploying CMP local entity bean problem

2002-01-16 Thread Frank Xia
Hi,   I am testing JBOSS 3.0alpha for deploying a CMP entity bean. There were several ERRORs I couldn’t figure it out what they mean and there was an SQL exception too. I did setup a jbosscmp-jdbc.xml for the CMP entity bean. I might just miss something obvious here.   Thanks a lot

Re: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Kris Kristensen
Hi Dain,   No, I don't ear/jar/war or anything J2EE specific. What I mean is an application that very well could be started from the command line with java/javac. ie. it cntains a main().   -Kris - Original Message - From: Dain Sundstrom To: 'Kris Kristensen' ; Jboss-sup

Re: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread David Jencks
On 2002.01.16 15:39:06 -0500 Kris Kristensen wrote: > We are trying to port our suite from WLS 6.0 to JBoss and came across a > few hurdles in doing so. First of all we need a way to specify an app. > that must be started by JBoss upon startup. In WLS this task is > accomplished by putting the jar

RE: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Dain Sundstrom
Do you mean an ear?  I don't know what you mean by "ordinary java application."   -dain -Original Message-From: Kris Kristensen [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 16, 2002 3:06 PMTo: Jboss-support; Dain SundstromSubject: Re: [JBoss-user] Question about JBoss

[JBoss-user] The corect way to set up XA-datasource

2002-01-16 Thread Kris Kristensen
Could somebody please shed some light on the difference between these, and explain which one shold be used for XA   ---JDBCDataSourceLoader ---RawXADataSourceLoader ---XADataSourceLoader.java     -Kris

[JBoss-user] JBOSS EJB Container Architecture

2002-01-16 Thread Vishwas Raman
Hi everybody, I am kind of new to EJB/JBOSS and pardon me if my question sounds too weird. I have been put on a project to explore the possibility of embedding fault tolerance in a general EJB architecture. I figured it would be easier for me if I took up an open-source EJB implementation like

[JBoss-user] PetStore don't work when JBoss is located on a directory with space(s) on it.

2002-01-16 Thread Anthony Servito
PetStore don't work when JBoss is located on a directory with space(s) on it. For example I place the JBoss on c:\program files\JBoss-2.4.3_Tomcat-3.2.3 directory. Notice that "program files" has space in between. PetStore throws null pointer exception. No exceptions or errors are thrown when

Re: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Kris Kristensen
I should have mentioned that this particular jar is not an EJB, it's an ordinary java application.   Cheers Kris - Original Message - From: Dain Sundstrom To: 'Kris Kristensen' ; Jboss-support Sent: Wednesday, January 16, 2002 9:39 PM Subject: RE: [JBoss-user] Que

[JBoss-user] (no subject)

2002-01-16 Thread Peter Sojan
___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Dain Sundstrom
No, just put your ear, war, or jar in the deploy directory and JBoss will bring it up on startup.   -dain -Original Message-From: Kris Kristensen [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 16, 2002 2:39 PMTo: Jboss-supportSubject: [JBoss-user] Question about JBoss v

[JBoss-user] Question about JBoss vs. WLS

2002-01-16 Thread Kris Kristensen
We are trying to port our suite from WLS 6.0 to JBoss and came across a few hurdles in doing so. First of all we need a way to specify an app. that must be started by JBoss upon startup. In WLS this task is accomplished by putting the jar-file in a serverclasses directory, and point WLS's st

RE: [JBoss-user] Problem with CMP2.0 example

2002-01-16 Thread Dain Sundstrom
You are using the source from cvs tip, right? Yesterday, I checked in the new read ahead code. This code supports read ahead on-find and read ahead of relationships. This required a change in the read-ahead metadata. The new read ahead xml is as follows: on-load 500 gro

[JBoss-user] PetStore don't work when JBoss is located on a directory with space(s) on it.

2002-01-16 Thread Anthony Servito
PetStore don't work when JBoss is located on a directory with space(s) on it. For example I place the JBoss on c:\program files\JBoss-2.4.3_Tomcat-3.2.3 directory. Notice that "program files" has space in between. PetStore throws null pointer exception. No exceptions or errors are thrown when

Re: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Kris Kristensen
I had the exact same problem with JDK 1.3. but changing to JDK 1.4 beta2 solved my problem. (strangely enough...) cheers Kris - Original Message - From: "Dhruva B. Reddy" <[EMAIL PROTECTED]> To: "JBoss Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 5:25 PM Sub

Re: [JBoss-user] java.lang.Integer not recognized as primitive wrapper for PK

2002-01-16 Thread Jonathan Trull
Never mind. I'm stupid. Nothing to see here. Jonathan ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Problem with CMP2.0 example

2002-01-16 Thread Steve Knight
Before I start banging my head against the wall...does anyone know of any obvious reasons why the cmp2.0 example fails to deploy in JBoss 3.0a. Here is the Exception: 2002-01-16 14:22:28,650 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.AddressEJB] Initializing CMP plugin for Addres

[JBoss-user] Rackspace and JBoss promotion

2002-01-16 Thread marc fleury
Guys, As you know Rackspace is a partner of JBoss Group. They specialize in dedicated hosting, no colocation, no shared stuff just full machines and services. Since my experience of last week with the hardware crash I see the real value in dedicated hosting. We are going to get a box ourselves

[JBoss-user] Problem with CMP2.0 example

2002-01-16 Thread Steve Knight
Before I start banging my head against the wall trying to figure this out...does anyone know the reason for this exception when I deploy the cmp2.0 example? Anything obvious a newbie would miss: 2002-01-16 14:22:28,650 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.AddressEJB] Initia

[JBoss-user] java.lang.Integer not recognized as primitive wrapper for PK

2002-01-16 Thread Jonathan Trull
When deploying my application, I first get the following warning: [ERROR,ContainerFactory] Bean : aim/insurance/Customer Section: 9.4.7.2 Warning: At least one field in the primary key class must be non-static. Then, a bit further down, I get this error: [ERROR,ContainerFactory] DeploymentErro

[JBoss-user] Question on Jboss+Tomcat file upload

2002-01-16 Thread wlp
Hi, I'm using JBoss + Tomcat as J2EE server for my web application. The client who accesses to my app with particular security role is allowed to upload files into the server. What I want to do is to add this files automatically to the application and make them available to the download by an

[JBoss-user] Catalina 4.0.1 problem when invoking page

2002-01-16 Thread Colin Bester
Hi all, I am looking for some advice as to what my problem could be. I have downloaded and installed JBoss-2.4.4_Tomcat-4.0.1 on a windows 2000 PC with jdk1.3.1 I have run "run_with_catalina.bat" after setting CATALINA_HOME, CLASSPATH and JBOSS_DIST and notice no erros on startup. However when

Re: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Adrian Brock
You can report bugs at http://sourceforge.net/projects/jboss The configuration you need was posted earlier today have a look at http://www.geocrawler.com/lists/3/SourceForge/10767/25/7563486/ the file to change is $JBOSS_HOME/conf/catalina/jboss.jcml make sure you don't choose another port JBoss

Re: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Dhruva B. Reddy
Uh, I can't find any information on reporting bugs. Is there a formal process for this? Thanks, Dhruva On Wed, Jan 16, 2002 at 10:56:59AM -0700, quoth Dhruva B. Reddy: > Actually, I do have another web server running on port 8080. I tried > shutting that down, and got a little more information

Re: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Dhruva B. Reddy
Actually, I do have another web server running on port 8080. I tried shutting that down, and got a little more information when starting JBoss. Apparently, the port '8080' is hardcoded somewhere--I tried changing all instances of '8080' in the JBoss and Catalina config directories to another, an

Re: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection

2002-01-16 Thread Thomas Clouser
Yep...I had tried it, and it doesn't work. The EmbeddedCatalinaServiceSX MBean that contains the config attribute is not overriden by declaring two connectors inside it. In essence, you then have three connectors (the one implied by the presence of the EmbeddedCatalinaServiceSX and the one each

[JBoss-user] J2EE/JBOSS Runtime Environment ...

2002-01-16 Thread Peter Sojan
Hi, in the EJB spec one can read in Chapter 24: - An enterprise bean must not use the java.io package to attempt to access files and directo-ries in the file system. (The file system APIs are not well-suited for business components to access data. Business c

RE: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread David Cao
I have exactly same problems, is this a bug of setting ??? David -Original Message- From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 8:26 AM To: JBoss Users Mailing List Subject: [JBoss-user] Cannot start Catalina embedded Hi, I am trying to run JBoss

RE: [JBoss-user] JBoss CMP DataType CLOB

2002-01-16 Thread Dain Sundstrom
There is code in 2.4 and 3.0 for handling CBLOB and BLOB. If it doesn't work submit a bug report at Source Forge. -dain > -Original Message- > From: Thieme, Winfried [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 5:10 AM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user]

RE: [JBoss-user] Problems in JBoss3.0 alpha in creating in EJBCreate

2002-01-16 Thread Dain Sundstrom
You are not setting the primary key fields in the ejbCreate method. -dain > -Original Message- > From: Hand, Brian [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 10:59 AM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] Problems in JBoss3.0 alpha in creating in > EJBCrea

RE: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection

2002-01-16 Thread Coetmeur, Alain
> -Message d'origine- > De: Thomas Clouser [mailto:[EMAIL PROTECTED]] > Date: mercredi 16 janvier 2002 16:41 > À: [EMAIL PROTECTED] > Objet: Re: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection > > > Alain, > > What I do not have (which Tomcat supports in Standalone) is auto

RE: [JBoss-user] Problem using ejbSelect methods in ejbHome methods in 3.0 alpha

2002-01-16 Thread Carroll, Jason
I'm pretty sure. I just found this in section 10.5.1 of the spec (about a bean's lifecycle): The instance does not move to the ready state during the execution of a finder or a home method. An ejbSelect(...) method may be called by an entity bean's home method while the instance is in the poole

Re: [JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Adrian Brock
It is port 8080. You probably have catalina by itself still running :-) If you have something else running on 8080, you can reconfigure the port in jboss.jcml Regards, Adrian >From: "Dhruva B. Reddy" <[EMAIL PROTECTED]> >To: JBoss Users Mailing List <[EMAIL PROTECTED]> >Subject: [JBoss-user]

RE: [JBoss-user] Problem using ejbSelect methods in ejbHome metho ds in 3.0 alpha

2002-01-16 Thread Dain Sundstrom
Would you file a bug report on this? -dain > -Original Message- > From: Carroll, Jason [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 11:04 AM > To: 'Dain Sundstrom'; '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] Problem using ejbSelect methods in ejbHome > metho ds in

RE: [JBoss-user] Jboss build problems

2002-01-16 Thread Steve Knight
Thank you everyone...I had a feeling it wasn't possible on Win98. I will try using cygwin. Thanks again, Steve Knight >From: Dain Sundstrom <[EMAIL PROTECTED]> >To: 'Sacha Labourey' <[EMAIL PROTECTED]>, Steve Knight ><[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: [JBoss-user] Jboss bui

Re: [JBoss-user] Deployment dependancy problem

2002-01-16 Thread David Jencks
On 2002.01.16 14:44:25 -0500 marc fleury wrote: > wait for the new deployer, make a mdb jar that contains the ejb jar, the > ejb > jar will always be deployed before the containing one. > > This is dependency by containment. > > Other than that we need an explicit language for dependencies and i

[JBoss-user] Problems in JBoss3.0 alpha in creating in EJBCreate

2002-01-16 Thread Hand, Brian
All, I am wroking of JBoss 3.0 alpha and I am just tryin to get a VERY simple cmp 2.0 bean working against the hypersonicSQL DB. I get the following stack trace when I run my client. The stack trace is java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is:

RE: [JBoss-user] Deployment dependancy problem

2002-01-16 Thread marc fleury
wait for the new deployer, make a mdb jar that contains the ejb jar, the ejb jar will always be deployed before the containing one. This is dependency by containment. Other than that we need an explicit language for dependencies and it should have an explicit "depends" language like we do the mb

Re: [JBoss-user] Jboss build problems

2002-01-16 Thread Adrian Brock
Hi, The .bat won't work with 9x/ME as Sacha says. Try downloading cygwin (here's a link) http://sources.redhat.com/cygwin/ This is Un*x tools ported to windows. You can then use build.sh Regards, Adrian >From: "Steve Knight" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [JBoss-user] J

RE: [JBoss-user] Problem using ejbSelect methods in ejbHome methods in 3.0alpha

2002-01-16 Thread Dain Sundstrom
Does the spec allow for this? If it does, I'll fix it. -dain > -Original Message- > From: Carroll, Jason [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 8:08 AM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] Problem using ejbSelect methods in > ejbHome methods > in 3.

RE: [JBoss-user] Jboss build problems

2002-01-16 Thread Dain Sundstrom
Install cygwin on your 98 box, and run build.sh from the cygwin bash shell. -dain > -Original Message- > From: Sacha Labourey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 10:15 AM > To: Steve Knight; [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Jboss build problems >

RE: [JBoss-user] CMP2.0 Example

2002-01-16 Thread Dain Sundstrom
CMP 2.0 is only in JBoss 3.0. The full code examples are included in the CMP 2.0 docs. -dain > -Original Message- > From: Steve Knight [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 10:14 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] CMP2.0 Example > > > I was

[JBoss-user] Cannot start Catalina embedded

2002-01-16 Thread Dhruva B. Reddy
Hi, I am trying to run JBoss 2.4.4 with Catalina 4.0.1 embedded, as it comes out of the box. However, it Catalina complains that an address to which it is trying to bind is already bound, but it doesn't say which one. I do not have this problem when I try to run JBoss or Catalina independently.

Re: [JBoss-user] Advice on Exception Granularity

2002-01-16 Thread David Hamilton
Two rules I try to bear in mind when deciding: Application exceptions should be regarded as potentially recoverable exceptions - the called code is saying 'I have a problem, can you deal with it?'. The calling code has to make a decision whether it is recoverable or not. System exceptions are i

RE: [JBoss-user] CMP2.0 Example

2002-01-16 Thread Steve Knight
I was a little confused by this as well. I don't think 2.4.4 has CMP2.0. Does the general Server documentation include CMP2.0 information??? I have the CMP2.0 docs and they provide code snippets, but is there an accompanying example with full source code? Steve Knight >From: "Michael Schul

RE: [JBoss-user] Jboss build problems

2002-01-16 Thread Sacha Labourey
Hello, > I am trying to build JBoss 3.0a from cvs on Win98, but the Start by using an OS ;) What I mean is that I don't remember if Win98 has restrictions regarding the command line size. I know that NT4.0/2000/XP doesn't have these restrictions (they do but the max size is much much higher tha

RE: [JBoss-user] CMP2.0 Example

2002-01-16 Thread Sacha Labourey
Hello, Well, I cannot see any statements error. - JBoss 3.0 will support CMP 2.0 - JBoss 2.4.x don't support CMP 2.0 **But** you can use MVCSoft persistent manager tool (~200$), a JBoss plugin, that we will provide CMP 2.0 persistence in JBoss 2.4.x serie. If you use this tool, you will even b

[JBoss-user] Jboss build problems

2002-01-16 Thread Steve Knight
Hello, I am trying to build JBoss 3.0a from cvs on Win98, but the build.bat doesn't seem to work. I checked out the jboss-all module using WinCVS and then tried to run the build.bat as per directions on the jboss developers site. However, DOS just spits out a bunch of Bad command or file nam

Re: [JBoss-user] Jakarta DBCP in JBoss

2002-01-16 Thread David Jencks
On 2002.01.16 10:56:50 -0500 Jim Birchfield wrote: > We are running into problems with the PreparedStatement caching in the > Jboss > connection pooling implementation. I am investigating alternatives to > that > implementation currently, and came across DBCP. > > I am unable to find the Connect

RE: [JBoss-user] Jakarta DBCP in JBoss

2002-01-16 Thread Jim Birchfield
We are running into problems with the PreparedStatement caching in the Jboss connection pooling implementation. I am investigating alternatives to that implementation currently, and came across DBCP. I am unable to find the Connection implementation in CVS. Anyone know where it is? James Birch

RE: [JBoss-user] CMP2.0 Example

2002-01-16 Thread Michael Schulz
These two messages appear to make conflicting statements about JBoss and support for CMP 2.0. Does JBoss 2.4.4 support CMP 2.0? Thanks, Michael Schulz = MESSAGE 1 == -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bu

Re: [JBoss-user] Jakarta DBCP in JBoss

2002-01-16 Thread David Jencks
On 2002.01.16 08:59:05 -0500 Jim Birchfield wrote: > Anyone get the DBCP package from Jakarta Commons to work with JBoss? > Why would you want to? It does not appear to support app server control of transactions or security, so would not be appropriate for use with anything but bmt bmp. david

RE: [JBoss-user] How do I specify an alternate socket factory?

2002-01-16 Thread Coetmeur, Alain
there is such a parameter in the NamingService MBean, . If I understand well this would allow you to use custom RMI sockets to contact a given JNDI object reference... but I'm not sure it is what you need ClientSocketFactory: An optional custom java.rmi.server.RMIClientSocketFactory implementat

Re: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection

2002-01-16 Thread Thomas Clouser
Alain, Yes, I do have the docs, as mentioned in the original post. (Note the document has significant error - it should be , not . This was solved over the past weeks on the jboss forum [which is currently down :-( ].) Yes, I have tried a bit of trickery with the "Config" attribute of the E

RE: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection

2002-01-16 Thread Coetmeur, Alain
In fact this is documentend in the (cheap 10$) commercial dcumentation of jboss2.4.4 http://www.flashline.com/Components/View.jsp?prodid=4375 if you can, buy it, it is worth it... there a 3 way to support SSL, one set the catalina engine to serve only SSL and uses JAAS Mbean, a second is simila

[JBoss-user] JBoss 2.4.4 - Tomcat 4.0.1 and the JBoss documentation example source

2002-01-16 Thread Michael Schulz
FYI, I'm going through the documentation example source with JBoss 2.4.4 and Tomcat 4.0.1 and I found a glitch. The build.xml for the documentation defines a property for the servlet.jar as follows: which causes the first build instruction (ant intro-interest-jar) to fail. With the JBoss

[JBoss-user] Installing with Soap problems

2002-01-16 Thread Andrew Sweeney (AFC Corp)
After a successful install of JBoss/Tomcat, I installed the ApacheSOAP package into Catalina. After doing this, I browsed to the Admin console of SOAP, and was met with some strange error messages. Generally, Catalina can't find servlet.jar, mail.jar, and all the rest. I edited the catalina.bat to

Re: [JBoss-user] WAR deployments cleared during shutdown (3.0 alpha)

2002-01-16 Thread Julian Gosnell
If you are using Jetty, look for a JMX configuration flag called something like unpackWars and set it to false. It defaults to true because JSPs cannot be compiled directly from an archive, but everything else should work. When true, Jetty will unpack wars into temporary working directories and

RE: [JBoss-user] JBoss2.4.4+Tomcat4.0.1 w/SSL port redirection

2002-01-16 Thread Coetmeur, Alain
I've read messages about an extension to the EmbeddedCatalinaServiceSX mbean configuration that allows to declare "connector" element as embedded XML Anders Lindh [[EMAIL PROTECTED]] already have responded 2 days ago --- The default config for Catalina doesn't have the Ajp13 connector

[JBoss-user] Problem using ejbSelect methods in ejbHome methods in 3.0alpha

2002-01-16 Thread Carroll, Jason
I'm getting exceptions when I use ejbSelect methods but only when they are called from within ejbHome methods. I can create an ejbSelect method and then use it in a method in the bean class and it works fine. I can also create a home method and call it from a session bean for instance and it wor

[JBoss-user] Jakarta DBCP in JBoss

2002-01-16 Thread Jim Birchfield
Anyone get the DBCP package from Jakarta Commons to work with JBoss?   James Birchfield Development Manager Genscape, Inc. (502) 583-2298 (o) (502) 639-3136 (c)  

[JBoss-user] Deployment dependancy problem

2002-01-16 Thread Scotney, Derek
Hi All If anyone can help me with the following problem I would really appreciate it. The problem is as follows: I have a few beans that are being deployed when JBoss is started. One is an entity bean and the other is a Message Driven Bean. The MDB needs to use the entity bean in it's onMessage(

[JBoss-user] Advice on Exception Granularity

2002-01-16 Thread Marcus Brito
Hello, folks. I'm doing an application that takes care of creation and maintenence of simple entities -- so simple (id/description) that I decided to code a SLSB to take care of this entity creation/deletion instead of coding an Entity Bean. So I have methods like getThing(id), createThing(id, d

  1   2   >