[JBoss-user] Troubleshooting Classloader -- transitive closure issue

2002-06-18 Thread Brian Topping
Hi all, I'm trying to fix a problem in my code with a missing library, but having a lot of problem understanding exactly which library is missing. The exception that is getting thrown is incorrect. The class is being loaded by a servlet running under Tomcat, so I suppose that Tomcat is using th

Re: [JBoss-user] Depends Question

2002-06-18 Thread David Jencks
easy way: rename your files 10-dbserver.sar 20-ejbsandsuch.jar 30-mybeautifulwebpages.war single-package way (requires Branch_3_0 from cvs) myapp.ear dbserver.sar ejbsandshuch.jar web.war META-INF/ application.xml jboss-app.xml In jboss-app.xml, put the dbserver.sar referen

[JBoss-user] MBean on RemoteMBean Server

2002-06-18 Thread shreedhar
Hi Everybody, I am working with JBoss 3.0 Tomcat 4.0. How to access a MBean deployed in a RemoteMBean Server ? I guess it should be done using RMI Connector Client. Please let me know the procedures. Thanks, Shreedhar -

[JBoss-user] Depends Question

2002-06-18 Thread Greg Turner
This question pertains to JBoss-3.0.0 I have a sar file which contains libraries for my database and the xml file for the data source config. I have a jar file which contains some EJBs that access the database I have multiple war files that contain servlets that access the EJBs. How do I set i

[JBoss-user] Joins in CMP Bean

2002-06-18 Thread Tejeshwar
Hi   How can we achieve Joins of tables in CMP Bean.   Thanks and regards   Tejesh

[JBoss-user] where condition SQL.

2002-06-18 Thread Tejeshwar
Hi   How can we achieve an where condition in SQL in container managed persistance Bean.   Thanks and regards   Tejesh  

Re: [JBoss-user] Using sequences/Identity columns for PK values

2002-06-18 Thread Justin Casp
I ended up writing a simple BMP entity bean that only provides a create() method through the home interface. This bean is db platform independent, since (at least in my case) it only uses one SQL 92 compliant statement. However, it is not db-schema independent for obvious reasons. my current

[JBoss-user] org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:119)

2002-06-18 Thread Jules Gosnell
I'm getting this on HEAD and Branch_3_0 when I try to call a method (not a CMP accessor) on a simple CMP bean I have (enclosed) deployed with no problems. The Bean is meant to be a simple example of how to plug a persistent layer into my new pluggable HttpSessionManager for Jetty/JBoss. The

[JBoss-user] single location to specify resource references?

2002-06-18 Thread Toby J Anderson
Hello, I have the following question. I want to set up all of the resource references in one place, such as standardjboss.xml, rather than having to create a jboss.xml file for each bean. If only one bean is specified in standardjboss.xml, then this approach works fine; however, if more than one b

Re: [JBoss-user] CMP Type Mapping

2002-06-18 Thread Dain Sundstrom
CPT codes :) (I used to work for McKesson HBOC) Anyway, you should get a copy of my documentation. What you want to do is define a dependent value class for the CPT4Code not a type mapping (type mappings are for basic types). The problem with the current implementation of DVCs is it needs

Re: AW: [JBoss-user] Any experience with TAO(a corba orb)?

2002-06-18 Thread Lee
Hi, My problem is: I use rmic to generate IDL from my EJB, in the generated IDL files, there exist syntax just like which is not supported by tao_idl now. Do you have any idea to evade the problem? My EJB is very simple: package tstejb; import java.rmi.*; import javax.ejb.*;

[JBoss-user] Re: Two Hot Deploy Questions

2002-06-18 Thread Corby Page
David Jencks wrote: > Any chance you can provide a simple example I can look at? You bet. I have stripped down the files and I will post them as an attachment in a Sourceforge bug report. The two files are 40-user-service.xml and allocations.jar. Touch the xml file, and the MBean will stop and re

[JBoss-user] jboss-3.0.0 - javax.naming.NoInitialContextException

2002-06-18 Thread Ryan Marsh
When I run the client for the template jboss project (found at:) I get the following output (and error). {ryan}-{deathstar}-{/home/ryan/Projects/hacking/template/build/bin}-$ ./run-client.sh /usr/java/j2sdk1.4.0/jre/bin/java -classpath .. test.client.TestClient javax.naming.NoInitialContextExce

Re: [JBoss-user] Transactions question

2002-06-18 Thread David Jencks
On 2002.06.18 17:57:18 -0400 [EMAIL PROTECTED] wrote: > On Mon, Jun 17, 2002 at 11:07:37PM -0400, David Jencks wrote: > > You are using a local transaction adapter, probably a non xa database, > in a > > transaction with more than one resource adapter (jms message + database > > work most likely).

Re: [JBoss-user] Deployment and testing

2002-06-18 Thread David Jencks
If you are running junit tests I recommend using the code from the jboss testsuite, mostly in JBossTestServices. If you want to deploy and leave it there, I've written a jmx task for ant that you can use to call any mbean method, in particular MainDeployer.deploy. I asked for advice on where to

Re: [JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread David Jencks
Hmmm... I thought everything was wrapped up enough so no ResourceExceptions could escape. Can you figure out where it is getting thrown? thanks david jencks On 2002.06.18 17:56:15 -0400 Eric Kaplan wrote: > Nothing much. Just calling a session bean that talks to another session > bean that cal

Re: [JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread Greg Turner
May I make a suggestion? Finding jars that hold the classes is always a big pain. I solved that problem by writing a simple program. Just tell the program what directory to look into and what class you want and it will do the work. Attached is the program. Eric Kaplan wrote: > I've verified

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-18 Thread Tim
Thanks - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 9:07 PM Subject: Re: [JBoss-user] XATxConnectionManager with Oracle? > rm server/src/main/org/jboss/tm/TransactionManagerServiceMBean.java > rm server/src/main/org/jb

RE: [JBoss-user] Deployment and testing

2002-06-18 Thread JD Brennan
Title: RE: [JBoss-user] Deployment and testing I think you're right.  In JBoss 3.0 you call a method on the deployer MBean.  There was a message about making an ant target for that a while back in the mailing list. I don't recall the details - might check the mailing list archive at http://

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-18 Thread Tim
Thanks for that. Basically I checked out the 3_0_0 branch, and built it, and couldn't even get my non xa application (which works on 3.0.0 final release) working - I was getting NoSuchMethodErrors from the ear deployer. I guess I was doing something wrong and it was late and I was in a rush so I

RE: [JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread Eric Kaplan
David I researched more and realized while I had put classes12.zip from oracle into %jboss_dist%\lib but NOT into the server/default/lib directory. That solved the problem, working nicely now. I'm sure I'll have more questions, but for now I've been able to upgrade. Thanks for all your help E

RE: [JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread Eric Kaplan
Nothing much. Just calling a session bean that talks to another session bean that calls a finder on a bmp ejb and returns a collection of Maps. Perhaps all is not right with my revised oracle-service.xml? At least I'm not getting ABPDevPool not found. thanks for your help david. it's people li

Re: [JBoss-user] Transactions question

2002-06-18 Thread marius
On Mon, Jun 17, 2002 at 11:07:37PM -0400, David Jencks wrote: > You are using a local transaction adapter, probably a non xa database, in a > transaction with more than one resource adapter (jms message + database > work most likely). This does not give you ACID transactions. If something > cras

[JBoss-user] Deployment and testing

2002-06-18 Thread Jim Crossley
Hi jboss-users. As cool as "putting a file in a directory to deploy it" is, it doesn't work well for unit testing. I find it very convenient to have a "test" target in my build file like so: ... But that doesn't work well when the deploy target merely copies a jar file to a jboss-watched direc

Re: [JBoss-user] servlet context error in Jetty

2002-06-18 Thread Jules Gosnell
It really doesn't look like one of our messages - could it be one of yours ? It looks like a piece of user code, but the warning is rather "rambling". Try having a look at your code. Jules Gray Jones wrote: > I'm having problems trying to deploy a .war file in 3.0/Jetty. Has anybody > see

Re: [JBoss-user] Question about B2B and

2002-06-18 Thread Philippe de M. Sevestre
I've been thinking on the same subject some time ago, and it seems that the whole J2EE spec assumes that you build a complete application out of several web applications and/or EJBs and then deploy them at once (just check the roles they define). One of the problems with dynamic EJB discovery pro

Re: [JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread David Jencks
jboss-jca.jar. What are you doing to get this exception propagated back to a client? david jencks On 2002.06.18 17:17:16 -0400 Eric Kaplan wrote: > I've verified that I replaced all the old jboss client libraries with the > new ones from jboss/client. When I run I get the following > ClassNotF

[JBoss-user] jboss3.0.0 ClassNotFoundException

2002-06-18 Thread Eric Kaplan
I've verified that I replaced all the old jboss client libraries with the new ones from jboss/client. When I run I get the following ClassNotFoundException, and indeed I can't seem to locate org.jboss.resource.ResourceException. Does anyone know what jar this is in? Thanks Eric java.rmi.Unmar

Re: [JBoss-user] Question about B2B and

2002-06-18 Thread Julien Viet
Ejb-ref is bound to java:comp/env so getting an ejbHome is ctx.lookup("java:comp/env/" + name); where name is enclosed in ejb-ref-name tag. But you can retrieve an ejbHome from global jndi without prefixing with "java:comp/env/" in your caller : home = ctx.lookup(name); for the called in jboss.x

Re: [JBoss-user] problem retrieving objects from Oracle 8 using CMP2.0

2002-06-18 Thread asauve
Well I have a little more information on this issue if someone would be kind enough to help... The exact version of Oracle that I am using is 8.1.7.0.0... So I wrote a very simple CMP bean, that is to store a custom object that is Serializable (this object is very simple and only contains 2

RE: [JBoss-user] 3.0 a moving target?

2002-06-18 Thread Bill Burke
its in the distribution. jboss/docs/examples/jca I've used it for Oracle and it works. See attached. Bill > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Kaplan > Sent: Tuesday, June 18, 2002 4:23 PM > To: [EMAIL PROTECTED] > Subject: RE: [

Re: [JBoss-user] 3.0 a moving target?

2002-06-18 Thread David Jencks
Both directories have the same contents, the one you found is copied to the one I mention in the build. I just checked cvs and both HEAD and Branch_3_0 have a different version of oracle-service.xml. I suspect the "nightly snapshot" is updated once every few months;-) Try getting it directly fr

[JBoss-user] CMP and JBoss 3

2002-06-18 Thread Bryce Fischer
Got an EJB 2.0 Entity bean using CMP 2.0. Server is JBoss 3 and Oracle 8i (8.1.7). Everything deploys fine. When I do a findByPrimaryKey()(see descriptions below) I get the following error: javax.ejb.FinderException: Find failed: java.sql.SQLException: ORA-00904: invalid column name By setting

RE: [JBoss-user] 3.0 a moving target?

2002-06-18 Thread Eric Kaplan
David As you had originally suggested, I got the jboss-all nightly snapshot from the jboss "Source Code and CVS" page. The oracle-service.xml I got was from jboss-all/connector/src/etc/example-config, though below you suggest a slightly different directory. The problem I'm having here is I can'

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-18 Thread Igor Fedorenko
Tim, Basically, I did two things (see attached diff) 1. In connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java I added caching of XAResource 2. In server/src/main/org/jboss/tm/XidImpl.java I changed getGlobalTransactionId() and getBranchQualifier() to always return 64

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-18 Thread David Jencks
rm server/src/main/org/jboss/tm/TransactionManagerServiceMBean.java rm server/src/main/org/jboss/jms/asf/ServerSessionPoolLoaderMBean.java Mconnector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java M server/build.xml M server/src/etc/conf/default/jboss-service.xml M server/s

[JBoss-user] Question about B2B and

2002-06-18 Thread Duarte Nuno Loreto
Hello! On the project I'm working on, we have several EJBs that constitute the main application ("core" from now one). We also have other EJBs that contain business logic ("add-ons" from now on). We are using JBoss2.4.6_Tomcat-4.0.3. One of the EJBs on the core has code to dinamically ca

Re: [JBoss-user] Two Hot Deploy Questions

2002-06-18 Thread David Jencks
Any chance you can provide a simple example I can look at? For the first problem you should be able to leave out the element, what happens if you do and redeploy? MBeans wait for their classes, maybe the 2 dependency mechanisms are conflicting. No idea about the other problem. david jencks O

Re: [JBoss-user] 3.0 a moving target?

2002-06-18 Thread David Jencks
I don't think you started with the oracle-service.xml from docs/examples/jca, since yours references the minerva jdbc wrapper which is no longer present. optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,n > ame=Minerva JDBC LocalTransaction ResourceAdapter is wrong. T

Re: [JBoss-user] XATxConnectionManager with Oracle?

2002-06-18 Thread Tim
Hi Igor- Could you tell me which files were added/modified in the patch, because we're having some real problems getting the cvs version to run, and we really need the xa transactions? Thanks - Original Message - From: "Igor Fedorenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [JBoss-user] Another security question

2002-06-18 Thread GL
You are right. My classpath was screwed up in my run configuration. I included all the jars from the client directory of the distribution and I was able to remove the SecurityManager. Grant --- Scott M Stark <[EMAIL PROTECTED]> wrote: > Running a security manager is not neccessary, what > errors

[JBoss-user] Rmi 2.4 ok, 3.0 not

2002-06-18 Thread LaBanca, Rick
Well I narrowed things down. My app in 2.4 can connect to an rmi external server (not jboss, just a 1.3 rmi app). But 3.0 it can't. Does anyone know what changed between versions that may lead me in the right direction? Rick -

Re: [JBoss-user] Another security question

2002-06-18 Thread Scott M Stark
Running a security manager is not neccessary, what errors did it resolve for you? If it was to enable RMI classloading your client classpath is incorrect. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "G

[JBoss-user] Another security question

2002-06-18 Thread GL
I'm pretty new to EJB, but I managed to deploy a set of CMP entity beans to JBoss 3 and access them from a client running outside the server VM. I had to create a SecurityManager instance and define a policy file in my client code before things started working. What I want to know is if I can set

Re: [JBoss-user] Two Hot Deploy Questions

2002-06-18 Thread Greg Turner
I would try deploying MBeans with a sar file, instead. Corby Page wrote: > Using release version 3.0, I have a file, 40-user-service.xml, which > contains deployment instructions for a series of MBeans. I declare its > dependency on a jar file like so: > > > > If I roll out a new version of all

Re: [JBoss-user] CMP in JBoss!

2002-06-18 Thread Greg Turner
I would try the following: define 1 entity bean foo. reference it twice in xml files like this: in ejb-jar.xml Foo One Foo1 com.FooHome com.FooRemote com.Foo Foo Two Foo2 com.FooHome com.FooRemote com.Foo jbosscm

[JBoss-user] Two Hot Deploy Questions

2002-06-18 Thread Corby Page
Using release version 3.0, I have a file, 40-user-service.xml, which contains deployment instructions for a series of MBeans. I declare its dependency on a jar file like so: If I roll out a new version of allocations.jar in my build process, it shuts down all of the dependent MBeans, but it wil

[JBoss-user] jar deployment dependencies

2002-06-18 Thread Erik Konijnenburg
  Hi there,   I have two jars with a dependency between them:       domain.jar depends on sequenceGenerator.jar   when i deploy manually in the right order, everything works fine. Deployment on startup of jboss 3.0.0 results in errors. Maybe this is a bug/not yet supported.   Regards,  

RE: [JBoss-user] JBOss-BEA comparison

2002-06-18 Thread Bill Burke
Title: JBOss-BEA comparison http://win-www.uia.ac.be/u/s985218/professional/thesis/archief/documenten/BeaWLS-JBoss.pdf -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Boris TamarkinSent: Tuesday, June 18, 2002 1:38 PMTo: '[EMAIL PROTECTED]

RE: [JBoss-user] 3.0 a moving target?

2002-06-18 Thread Eric Kaplan
David I see what you mean, and I took the example and modified it by changing the jndi name, putting in my user id and password and db url. I get ABPDevPool not bound, which is the jndi name I'm using. I really would like to upgrade from 3.0.0RC to 3.0.0, any light you could shed would be key.

[JBoss-user] problem retrieving objects from Oracle 8 using CMP 2.0

2002-06-18 Thread asauve
Well I have 2 objects to store into an Oracle 8 database, the one giving me the headaches right now is an object (TestTask) that is extended from an object called Task... Task is really an abstract class that implements the Serializable interface... TestTask extends Task implementing some

[JBoss-user] JBOss-BEA comparison

2002-06-18 Thread Boris Tamarkin
Title: JBOss-BEA comparison Couple of weeks ago somebody thrown a link on this forum with results of comparison JBoss and BEA. It was part of his investigation and included all characteristics of each  app server. May anyone still has this link? I can't find it. Thanks in advance Boris

[JBoss-user] Re: JBoss-user digest, Vol 1 #2451 - 8 msgs

2002-06-18 Thread Jon Swinth
Hi Todd, I have run into this same issue when trying to control transactions. Although this is not what some would like me to say, my experience is that Entity beans in JBoss only work properly with "Required". In fact, you are better off not setting any container-transaction attributes for

[JBoss-user] Re: JBoss-user digest, Vol 1 #2456 - 9 msgs

2002-06-18 Thread Bruce
I tried to install jboss as application server on IRIX SGI machine but failed IRIX Release 6.5 IP27. Can someone help me with this? Bruce Ling >> Original Message << On 6/18/02, 6:32:23 AM, [EMAIL PROTECTED] wrote regarding JBoss-user digest, Vol 1 #2456 - 9 m

[JBoss-user] CMP Type Mapping

2002-06-18 Thread Greg Greaves
Hi,   I apologize if this got posted twice but I'm not sure I was properly configured the first time.   We are using JBoss 3.0 and are having a problem with type mapping.  We have added the following block to our standardjbosscmp-jdbc.xml file:       CPT4Code    VARCHAR    TEXT   When we

[JBoss-user] CMP Type Mapping

2002-06-18 Thread Greg Greaves
Hi,   We are using JBoss 3.0 and are having a problem with type mapping.  We have added the following block to our standardjbosscmp-jdbc.xml file:       CPT4Code    VARCHAR    TEXT   When we look at what gets put in the database for CPT4Code, it's just the serialized version of the object

Re: [JBoss-user] Problems with security Roles under JBoss 3.0

2002-06-18 Thread Scott M Stark
You need to define the security-domain to use in the web layer using a WEB-INF/jboss-web.xml descriptor: java:/jaas/ Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Simon Peter Nicholls" <[EMAIL PR

[JBoss-user] RE: JBoss 3.0 and Transaction attribute RequiresNew (fwd)

2002-06-18 Thread Todd Huss
One other thing I forgot to mention is that if I set the transaction attribute to Required, instead of RequiresNew on the bean, it works fine. -Todd -- Forwarded message -- Date: Tue, 18 Jun 2002 09:22:23 -0700 (PDT) From: Todd Huss <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj

[JBoss-user] RE: JBoss 3.0 and Transaction attribute RequiresNew

2002-06-18 Thread Todd Huss
Bill, Thanks for the help. My responses to your questions are below: - What is your primary key class? public class UserPK implements java.io.Serializable { public Integer id = null; public int hashCode() { return (this.getClass().getName()+

[JBoss-user] Problems with security Roles under JBoss 3.0

2002-06-18 Thread Simon Peter Nicholls
Hi everyone, I've recently moved my app to JBoss 3.0 from Orion but am having trouble with the request.isUserInRole() call. I've set up a db security policy in login-config.xml which works fine from the authorization point of view, but the roles detected in the request.isUserInRole call aren't

Re: [JBoss-user] Jboss 3 with Ingres JDBC

2002-06-18 Thread David Jencks
Please show your ingres-service.xml file, the login-config.xml snippet you use (if you use container managed signon) and the log of deployment of ingres-service.xml AFTER you set logging priority to trace. You can try ServiceController.listIncompletelyDeployed in the jmx viewer on port 8982 to tr

Re: [JBoss-user] client throws an AccessControlException

2002-06-18 Thread Scott M Stark
You need to setup the security permission required to use JAAS as described in this tutorial: http://java.sun.com/j2se/1.4/docs/guide/security/jaas/tutorials/GeneralAcnOn ly.html Scott Stark Chief Technology Officer JBoss Group, LLC - Original

Re: [JBoss-user] Auto increment primary key

2002-06-18 Thread Burkhard Vogel
Hi, you will need BMP and it will in no way be portable to other databases. Regards, Burkhard - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 10:06 AM Subject: Re: [JBoss-user] Auto increment primary key Check chapter 5 on "EJB Design

[JBoss-user] CMP in JBoss!

2002-06-18 Thread Muthumuaran A
Hi : Is there a way to store the state of an EB in more than one relational table using CMP in JBoss. Our entity model requires such a persistence model , is this possible in JBoss-CMP. Thanks in advance. Regards, muthu __ Do You Yahoo!? Yahoo!

[JBoss-user] Jboss 3 with Ingres JDBC

2002-06-18 Thread Susan Deaves
I have had jboss 2.4 running with Ingres using Caribou Lakes JDBC driver for Ingres but I am having difficulty configuring a ingres-service.xml file for the latest jboss3. Can anyone help me with this? I have set up a file based on the oracle-service.xml file but and this file seems to load (no

Re: [JBoss-user] Integration of JBoss with Existing Tomcat & Apache Server

2002-06-18 Thread Burkhard Vogel
Hi, why would you want to do this??? I STRONGLY recommend using an integrated stack (either JBoss/Jetty or JBoss/Tomcat) due to performance reasons. Any call from tomcat to Jboss on standalone version will go through RMI and therefore are SLOW. The integration of the stack is basically the same as

Re: [JBoss-user] JBoss-user]:Oracle unicode problem

2002-06-18 Thread Burkhard Vogel
Hi, And if it is something Oracle specific you need to call getUnderlyingConnection from the con you get from the db-pool. Try searching the archive for Underlying Connection to see how its done. hth, Burkhard - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [JBoss-user] Finding DataSource using jboss.xml aliasing

2002-06-18 Thread Burkhard Vogel
Hi, try using the admin on :8082 to check wether your resource mapping really worked, under naming look for JNDI-View hth, Burkhard - Original Message - From: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 17, 2002 2:05 PM Subject: Re: [JBoss-user] F

[JBoss-user] jar deployment dependencies

2002-06-18 Thread Erik Konijnenburg
Hi there,   I have two jars with a dependency between them:       domain.jar depends on sequenceGenerator.jar   when i deploy manually in the right order, everything works fine. Deployment on startup of jboss 3.0.0 results in errors. Maybe this is a bug/not yet supported.   Regards,   E

[JBoss-user] SQL error while using CMP1.x in JBOss3.0

2002-06-18 Thread Faisal Mahmood
Hi, I am using CMP 1.x on JBoss 3.0. I have problem mapping the names of the persistent fields. I am using Firebird (Interbase) db which has some reserved words and those are being used in my beans. I have tried to map the field-name with the column name in jaws.xml file like this,

Re: [JBoss-user] Auto increment primary key

2002-06-18 Thread rmaeztu
Check chapter 5 on "EJB Design Patterns". You can get the pdf for free on www.theserverside.com Regards, Rubén Bringing you mounds of caffeinated joy >>> http://thinkgeek

[JBoss-user] client throws an AccessControlException

2002-06-18 Thread Ionel Gardais
Hi, there are two weeks that i am facing a problem and I can't find any solution. When running a client against my EJB server, the cilent throws a : java.security.AccessControlException: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo) at java

[JBoss-user] Auto increment primary key

2002-06-18 Thread makapur
Hi,   How can we use auto increment for primary key field in CMP bean. I am using     Jboss - 2.4.4,     SQL server 2000     Windows 2000   I am having an CMP entity bean(Item) which contains the field itemID and is a primary key.   I want to make this itemID field as auto increment.   How

Re: [JBoss-user] Trouble with CMP datasource

2002-06-18 Thread Dain Sundstrom
For CMP 2.0, you only use the jbosscmp-jdbc.xml file (no jaws.xml file). The xml you have here is in a very old format. The type mapping element is now called datasource-mapping. Here is the configuration from one of my test files: java:/PostgresDS PostgreSQL If you are not using JBoss 3.0.0

Re: [JBoss-user] Forums still down

2002-06-18 Thread Dain Sundstrom
We're waiting for Marc to get back from Canada. His flight got rerouted, delayed and canceled. He should be back today. -dain Georg Schmid wrote: > > I start feeling a bit lonely without the forums ;-) > Any ideas, when they will be up again? > > > Cheers > Georg > > > > >

[JBoss-user] JBoss On Different Computers

2002-06-18 Thread Jason Stortz
Dear Peers, Forgive my ignorant questions, I'm pretty new to Jboss. I am trying to set up two instances of the JBoss/Tomcat edition, one on each of two different computers. So far I am: On Computer A 1. Deploying and ear with a simple war containing two test servlets and a jar containing on

[JBoss-user] Stateful Session Instance Pool

2002-06-18 Thread gruezzi
So I have a question to the instance pool for stateful session beans. I found in the ejb specification, that instance pools should be used for stateless and entity beans, but not for stateful session beans. The JBoss EJB Container uses a stateful session instance pool. May somebody explain me,

Re: [JBoss-user] Subject: JBoss 3.0 jConnect Chained issue

2002-06-18 Thread David Jencks
Can you check again with the cvs version of Branch_3_0? I fixed some problems with this over the weekend. You are required still to, if you set autocommit false, to commit any work you may have done before closing a connection handle. If you still have problems please post the exact code that is

[JBoss-user] servlet context error in Jetty

2002-06-18 Thread Gray Jones
I'm having problems trying to deploy a .war file in 3.0/Jetty. Has anybody seen this before and know what I can do to resolve it. I don't understand what its complaining about. Thanks, Gray Jones 09:13:16,663 WARN [Jetty] javax.servlet.ServletException: Error configuring the loader: java.io

[JBoss-user] here's an XA config file for MS SQL Server

2002-06-18 Thread Geer, Benjamin
Here's a mssql-xa-server.xml, for using Microsoft SQL Server 2000 with Microsoft's JDBC driver. jboss.jca:service=RARDeployer jboss.jca:service=RARDeployme nt,name=Minerva JDBC XATransaction ResourceAdapter

[JBoss-user] Subject: JBoss 3.0 jConnect Chained issue

2002-06-18 Thread Rodney Kite
com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed within multi-statement transaction I am getting a SET CHAINED exception when running JBoss 3.0 and Sybase's jConnect 5.5. JBoss 2.4.4 and jConnect works fine. I am assuming that the pool JBoss uses is not setting the conne

Re: [JBoss-user] Re: NullpointerException and JCA

2002-06-18 Thread David Jencks
That's appropriate deployment order, it's what I meant by "by hand", but you didn't turn the logging up to "trace", so we can't really see what's going on. Only one of the 3 mbeans in the xxx-service.xml file is getting started. If you have jboss 3.0.1 from cvs, you can try the ServiceDeployer.l

More: [JBoss-user] Error running a war inside JBoss.

2002-06-18 Thread Lachezar Dobrev
More info. I created an EAR file with just my WAR inside, and it all ran smoothly. Any guesses? Anyone? Lachezar > Hello. > I really thought I am not a newbie, but alas it seems so. > > Stupid question: If I deploy a WAR within JBoss+Catalina > > JBoss (MX MicroKernel) [3.0.0 Dat

Re: [JBoss-user] Deploy an EJB *without* a jar, war, or ear?

2002-06-18 Thread Cloudor Pu
Someone in this list had posted that we could make a directory with the same name as the jar/war/ear filename and put the files in it under proper architecture. regards, Cloudor ÔÚ 2002-06-04 ¶þ µÄ 19:18£¬ Brandon Knitter дµÀ£º > Cool, now...how do I point JBoss to my directory? :) I come from

[JBoss-user] Forums still down

2002-06-18 Thread Georg Schmid
I start feeling a bit lonely without the forums ;-) Any ideas, when they will be up again? Cheers Georg Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/s

RE: [JBoss-user] Re: NullpointerException and JCA

2002-06-18 Thread Buettner, Waltraud
I'm not sure, if I understand what you mean with "deploy by hand"; I copied the rar file and the xxx-service.xml file into the deploy directory. What I can see is: ... 13:58:31,128 INFO [Server] JBoss (MX MicroKernel) [3.1.0alpha Date:200206121638] Started in 0m:39s:62ms 14:54:27,222 INFO [Ma

RE: [JBoss-user] java.lang.ClassCircularityError

2002-06-18 Thread Dave Smith
If you are constantly getting it within the same block of code you can make that section mono threaded and that will solve the problem as well. On Mon, 2002-06-17 at 14:50, Bordet, Simone wrote: > Hi, > > > Its a race condition in the new class loader. You may be > > able to get around it if

[JBoss-user] (no subject)

2002-06-18 Thread vishal mehta
Can it be possible to define some other class in other than defining it as Wrapper Class. If yes how can it be possible to define ? __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -

Re: [JBoss-user] Security question

2002-06-18 Thread Cloudor Pu
I guess jboss makes a container for every jar/war which is decided by jboss.xml/jboss-web.xml and its standard ones, each container manages its own security business. regards, Cloudor 在 2002-06-03 一 的 12:40, Ferran Puig 写道: > > I'm using jboss3.0.0-tomcat4.0.3 to test my j2ee application, an

RE: [JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents

2002-06-18 Thread Eric Kaplan
how cheap can we all possibly get... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aleksander Grzebyta Sent: Tuesday, June 18, 2002 7:44 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents Or you coul

RE: [JBoss-user] jboss 3.0.0 class not found?

2002-06-18 Thread Eric Kaplan
I'm pretty sure this is not the case, but I'll check again. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 17, 2002 7:37 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] jboss 3.0.0 class not found? > > I had the sa

Re: [JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents

2002-06-18 Thread Aleksander Grzebyta
Or you could switch to completly free App Server Jonas, see discussion at: http://www.theserverside.com/reviews/thread.jsp?thread_id=12811 Their site http://www.objectweb.org/jonas/ contains fairly more free docs that JBoss pay for are together. sincerely Olek - Original Message - Fr

Re: [JBoss-user] webserver at port 8083

2002-06-18 Thread David Jencks
You can't, port 8083 is to serve up classes for rmi. david jencks On 2002.06.18 04:13:08 -0400 Ionel Gardais wrote: > Hi, > > I've downloaded the Jboss version bundled with tomcat > > I can get the application deployed as .war files via the > localhost:8080/ > > but when viewing the JNDITree

[JBoss-user] javax/net/SocketFactory error

2002-06-18 Thread madhu
I am running the Interest example in the jboss3.0.0.but it's not working ,it is giving some exception.any one can help me Exception is: E:\examples\build>ant intro-interest-client Buildfile: build.xml validate-servlet: validate-jboss: fail_if_not_valid: init: [echo] Using JBoss director

Re: [JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents

2002-06-18 Thread Simon Stewart
Can't read your email because I'm not set up to handle the encoding, but Flashline will sell you the CMP2 docs for $10. Failing that, the Quickstart PDF (available for free from the JBoss site) contains enough info to (umm...) get you started. Apologies if that's not the sort of answer you were a

Re: [JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents

2002-06-18 Thread Alex Loubyansky
You make a mistake, man... Do you think you are the only one student here? If you are so brave to write such a letter, you'd better write to the authors and not to the list. But I'd not recommend that either. There is a start guide on sourceforge. It should be enough to get you started. And you c

Re: [JBoss-user] Finding DataSource using jboss.xml aliasing

2002-06-18 Thread Slava Voronin
You can have in jboss.xml like and keep ejb-jar.xml as you have .. jdbc/SISDS java:/OracleDS .. and keep ejb-jar.xml as you have Emerson Cargnin - MSA wrote: > We're making an app to be deployable ei

Re: [JBoss-user] web.xml vs web-app.xml vs tag [SOLVED]

2002-06-18 Thread Ionel Gardais
hum hum ... it works, thanks, ionel Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf<<< ___ JBoss-user mai

[JBoss-user] Who can send me a copy of JBoss3.0 CMP2.0 documents

2002-06-18 Thread Diken Chen
Hello,Sir: I do want to buy jboss documents. I can afford it. But I have no credit card such as VISA etc. I'm still a student in computer science. I 'm deeply attracted by the technics based on J2EE ,especially the open source JBoss. I hope someone can send me a copy of jboss 3.0 c

Re: [JBoss-user] Trouble with CMP datasource

2002-06-18 Thread Slava Voronin
I have it like java:/PenningDB PostgreSQL Maarten Dirkse wrote: > Hi, > I have a very simple cmp bean with the following defined in both > jaws.xml and jbosscmp-jdbc.xml: > > PenningDB > PostgreSQL > > PenningDB is a datasource that exists and works (I checked) and > PostgreSQL is a mapping

  1   2   >