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

2002-01-14 Thread Perryn . Fowler
Bill, The confusion probably resulted because it wasnt clear you were talking about ejbStore(). As I understand it the comments about application exceptions are all correct, but an ejbStore() should never throw an app exception. basically any changes to the state of the bean should be validated

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

2002-01-14 Thread Dmitri Colebatch
in short, you dont. application logic shouldn't be present in ejbLoad/ejbStore methods. the idea is that you write load/store stuff once, and application logic many times. you should throw the exception from the method that violated the state (if that is what the exception is about). hth dim

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

2002-01-14 Thread Bill Pfeiffer
OK, now I'm confused. Using JBoss 2.4.4, how do I correctly return application level errors from my entity bean's ejbStore method? Do I throw my own exception? Does this exception extend RemoteException, Exception? Since ejbStore actually overrides its ancestor's method, how do I declare that m

RE: [JBoss-user] JBoss-2.4.4_Tomcat-4.0.1 - org.xml.sax.SAXParseException: EMPTY content models must have no content.

2002-01-14 Thread Paul McLachlan
I get the following error when deploying an ear into JBoss2.4.4-Tomcat4.0.1. I don't know what it means. I don't get the error with JBoss-2.4.3_Tomcat-3.2.3. Can anyone please help me out. [INFO,EmbeddedCatalinaServiceSX] WebappLoader[/yambay]: Deploying class repositories to work directory

[JBoss-user] JMS Question

2002-01-14 Thread Ed Brown
Does JMS work "out of the box" for JBoss? I get an exception whenever my MDB onMessage(Message) method is called. Ed Brown _ This mail sent via toadmail.com, web e-mail @ ToadNet - want to go fast? http://www.toadmail.

[JBoss-user] Problem deploying WAR

2002-01-14 Thread MFCOLLINS3
I've been developing my project using JBoss 2.4.3 with Tomcat 3.2.3. After adding some files to the security resource list, I started getting the following exception: [Default] ERROR reading E:\java\JBoss-2.4.3_Tomcat- 3.2.3\jboss\tmp\deploy\Default\flashcode.ear\web1005 \WEB-INF\web.xml [Def

[JBoss-user] DB/2 and JBOSS

2002-01-14 Thread Frank Marx
Hello, I used MySQL the whole time as a database for your EJB-App. Now I moved to DB/2 to see if there are any big problems by switching the database. I use JBoss 2.1. I activated the DB/2 Mapping and JBOSS comes up without any errors, but when I try to create a Entity Bean the EJB-Client and th

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

2002-01-14 Thread Olaf Strozyk
danch wrote: > EJBException is actually a runtime exception that you use to complain to > the container when something _really_ wacky happens that you want to > call a system error. The EJB spec defines a business exception (AKA > Application Exception) as a different category of exception, with >

Re: [JBoss-user] CastorJDO and JBoss 2.4.4 (again)

2002-01-14 Thread Oleg Nitz
Sorry, we don't use 2.4.4 yet, that's why I haven't updated the plugin. I will apply the patch by Christopher D. Audley that he has recently sent to this list, but I need to know where to put the plugin binary after that: CastorJDO web page at jboss.org has gone. Can somebody advise me? Oleg O

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

2002-01-14 Thread danch
EJBException is actually a runtime exception that you use to complain to the container when something _really_ wacky happens that you want to call a system error. The EJB spec defines a business exception (AKA Application Exception) as a different category of exception, with different behavior

[JBoss-user] CMP deployment problem for 2.4.4

2002-01-14 Thread Frank Xia
Hi, I thought this must be a simple miss something in deployment xml files but couldn't figure it out where it is. The error message was very informative as follows, Caused by: org.jboss.deployment.DeploymentException: Bean ServiceCatalogBean has PK of type java.lang.String, so it ld have a cm

Re: [JBoss-user] Simple? How to setup another database in 3.0?

2002-01-14 Thread David Jencks
When the rest of the website is back, look at ch 3 of the free manual. If you want help sooner, you could get resource.xml from cvs at manual/src/xdocs and look at it or compile the manual yourself by downloading the manual module. There is also now a sample config file myssql-service.xml in man

[JBoss-user] Simple? How to setup another database in 3.0?

2002-01-14 Thread Steve Knight
Hello, I am new to JBoss and I am having trouble setting up a MySQL database with JBoss 3.0. I have successfully set it up in 2.4.4 by editing the jboss.jcml and standardjaws.xml...but 3.0 appears to be different. What are the steps that I need to do to make it work? I don't really want the

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

2002-01-14 Thread Anders Lindh
The default config for Catalina doesn't have the Ajp13 connector enabled, you will need to enable it in jboss.jcml by adding the following snippet: : Editing your tomcat server.xml won't help, as the Embedded Tomcat won't read it. Not that you'll need the crimson XML parse

[JBoss-user] Class-path problems

2002-01-14 Thread Anders Lindh
I think I asked this on the forums just before the crash, it's just too bad that the best Jboss resource is down for the moment.. Anyway, I'm having some classpath problems. I packaged my app properly (made an ear file, previously I used to deploy my beans seperately and have webapps under the to

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

2002-01-14 Thread David Cao
My tomcat 4.0.1 work fine standalone, but won't start with Jboss, it always say Address in use, I have stop all the Java task, and I can start tomcat after I start Jboss, so port is ok, any body know any other reason cause this problems? I am using default configuration, and has restart my com

[JBoss-user] Add Context to Tomcat 4 in JBoss-2.4.4_Tomcat-4.0.1?

2002-01-14 Thread David Cao
I add a context in Tomcat 4 server.xml, it does not work, where is the place to add context to tomcat if I have just jsps? Thanks David -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 7:03 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subj

[JBoss-user] FW: [Xdoclet-user] XDoclet v1.1 released! (please don't reply)

2002-01-14 Thread aslak . hellesoy
Hi, just sharing som news with you... Sorry for crossposting... ;-) If you want to follow up, please mail [EMAIL PROTECTED] Regards, Aslak -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ara Abrahamian Sent: 14. januar 2002 16:18 To: [EMAIL PROTECTED]; [

[JBoss-user] Which source to build latest stable jbossmq

2002-01-14 Thread Doug Beeman
I want to build the latest stable jbossmq from source. I have downloaded the latest beta zip (has no source) and the 2.4.4 source. The source files in 2.4.4 do not appear to be as up to date as the beta classes. I looked at CVS as was not able to determine which tag/branch to use to get the beta s

[JBoss-user] MDB Problem

2002-01-14 Thread Ed Brown
I'm trying to develop MDBs using the JBoss message queue. When my MDB gets a message, the following exception occurs: [INFO,Default] EdsMsgBean::setMessageDrivenContext() [ERROR,JMSContainerInvoker] Exception in JMSCI message listener java.lang.NoSuchMethodException at java.lang.Class.ge

Re: [JBoss-user] How to setup AJP13 in JBoss-2.4.4_Tomcat-4.0.1

2002-01-14 Thread Adrian Brock
Hi, Changing server.xml won't affect JBoss/Tomcat. This file is for Tomcat running by itself. I think there is a solution for this in the forums when they are back up. I've never done this myself so I can't give you any more info, sorry. Regards, Adrian >From: Jacky Cheung <[EMAIL PROTECTED]>

[JBoss-user] How to setup AJP13 in JBoss-2.4.4_Tomcat-4.0.1

2002-01-14 Thread Jacky Cheung
Dear all, I have downloaded and installed JBoss-2.4.4_Tomcat-4.0.1. The system works fine if I connect Tomcat directly. Now, I would like to access Tomcat through Apache. I have updated server.xml to enable AJP13 but it still did not work. I am sure my configuration in Apache is correct (I ca

RE: [JBoss-user] Trouble starting jboss with tomcat

2002-01-14 Thread Adrian Monea
Yes you were right, thank you. I had an ad-screening application (WebWasher) running while trying to start jboss with tomcat. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Adrian Brock Sent: Monday, January 14, 2002 4:39 PM To: [EMAIL PROTECTED

RE: [JBoss-user] DataSource problem with 2.4.4

2002-01-14 Thread Coetmeur, Alain
I had such a problem with EJB parameter classes that wher both in the lib/ext and in the EAR lib One advantage of JBOSS classloader in webapp and EJB/EAR is that it loads component libs before the system libs. but since the classloader (don't know the details) is not the same the class cast be

Re: [JBoss-user] Trouble starting jboss with tomcat

2002-01-14 Thread Adrian Brock
Hi, You have something else running on port 8080. Have you started tomcat then tried to start jboss/tomcat? The two versions of tomcat will conflict. Either remove one, or configure one to run on a different port. Regards, Adrian >From: "Adrian Monea" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]

Re: [JBoss-user] bind JBOSS failed

2002-01-14 Thread Adrian Brock
Hi, Try adding -Djava.rmi.server.hostname to run.sh this will tell rmi to use hostnames not ip address. Let me know if you get this to work. Regards, Adrian >From: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [JBoss-user] bind JBOSS failed >Date: Mon, 14 Jan 2002 14:54:54 +0100 > > > > >

[JBoss-user] Trouble starting jboss with tomcat

2002-01-14 Thread Adrian Monea
Hello all, I'm having the following problem: when I try to start jboss with the built-in tomcat (using run_with_tomcat.bat script), I get the following error message: [EmbeddedTomcatServiceSX] Starting EmbeddedTomcatSX [Default] Starting tomcat. Check logs/tomcat.log for error messages [Defa

[JBoss-user] bind JBOSS failed

2002-01-14 Thread mmeyer
Hi all, I want to run 2 Jboss2.4.4 on one maschine (myserver=185.25.15.15), and I don't want to use different Ports. I have configured the interface on this maschine with two new IP Adresses (jboss1=185.25.15.106 und jboss2=185.25.15.105). nslookup, ping etc. works fine. After the installati

[JBoss-user] Passing Business Exception to Client

2002-01-14 Thread Bill Pfeiffer
I am having a problem with JBoss 2.4.4 and Tomcat 4.0.1.  When I encounter a business logic problem (or sql problem, etc) and want to send it back to the client, I create and throw an EJBException.  The problem I am encounter is that I actually recieve, on the client (Tomcat) end, an Undecla

[JBoss-user] CastorJDO and JBoss 2.4.4 (again)

2002-01-14 Thread Emil Eifrem
Ok, yet another message about the CastorJDO plugin and JBoss 2.4.4. Did anyone actually get it to work? The compiled version that works for me with 2.4.3 gives this error on startup: [ERROR,ConfigurationService] Could not create MBean DefaultDomain:service=CastorJDO,name=NeoDB(org.jboss.

Re: [JBoss-user] DataSource problem with 2.4.4

2002-01-14 Thread Gabor Dolla
Hi I had jboss-jdbc_ext.jar packaged with my app from the previous version :( Anyway, thanks Gabor ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] DataSource problem with 2.4.4

2002-01-14 Thread Weir, John
I had a similar problem with Tomcat 4. Basically class loaders partition the java namespace. In my instance I had a copy of the JDBC Driver in both common/lib ( for tomcat startup connection pool initialization) and WEB-INF/lib of my WAR file. While both classes were identical , the cast faile

[JBoss-user] german umlauts

2002-01-14 Thread Jan Heise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all, i have some weird behaviour, perhaps someone knows the solution: when i'm posting a form with german umlauts to the servlet-engine, the umlauts are lost in the processing, when using the blackdown or sun-jdks under linux. with the ibm jdk,

[JBoss-user] (no subject)

2002-01-14 Thread David Goodwin
confirm 133690 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user