Re: [JBoss-user] NullPointerException while trying to obtain JMSTopicConnectionFa ctory on 2.4.6

2002-06-13 Thread Slava Voronin
I had the same problem and when I changed lookup("TopicConnectionFactory") to lookup("ConnectionFactory") it worked for jboss3. McLain, Mark - Apogent wrote: > I have written the following test method in a JUnit 3.7 TestCase: > > > > public void testSendMessageToProcessor() > >

[JBoss-user] Transacton Synchronization - Exceptions

2002-06-13 Thread Keysers, Wonne
Title: Transacton Synchronization - Exceptions Hi, When a container managed Transaction completes, I want some additional checks and other stuff being executed.  This can be done by looking up the TransactionManager, asking the current Transaction and attaching a Synchronization to it. I'm

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-13 Thread Hunter Hillegas
Sorry for my ignorance, but how does running deployments unpacked reduce the file count? If they are unpacked they don't get copied? Are we talking about unpacking *my* deployables, JBoss deployables, or both? Sounds like this is just part of the package when running on Linux? Not a JBoss proble

Re: [JBoss-user] jetty and contexts

2002-06-13 Thread Greg Turner
> did I miss something and I can > configure it independant of the app contents? Yes. In an application server, you need to define ear files to configure the app server. In the ear file you configure how the request gets mapped to the various containers (servlet, EJB) used in the app. If you

[JBoss-user] Re: Problems with template client example

2002-06-13 Thread Paul E. Baclace
>FROM: Jim Williams >That did it. >Thankyou very much. >Jim > >--- Radu Mateescu <> wrote: >> is your jndi.properties in the client's classpath? Can someone update the CVS: jboss/manual/src/guide/examples/template/build.xml and the: http://prdownloads.sourceforge.net/jboss/JBoss.3.0Tem

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-13 Thread Scott M Stark
The bulk of the files are the copies of deployments. This is exacerbated by the linux threading model it seems since 73 processes have the bin/run.jar open for example. If you have to drop the file count unpack the deployments. [starksm@banshee tmp]$ grep -c server/default/tmp/deploy lsof_java.tx

Re: [JBoss-user] What is correct Manifest format for jar's inside an ear ?

2002-06-13 Thread David Jencks
The class paths I have working have spaces separating the entries and no ./ or other stuff at the beginning of entries. Class-Path: lib/jar1.jar lib/jar2.jar In earlier versions of jboss everything in an ear was loaded whether or not it was in application.xml or a classpath entry, so even if you

Re: [JBoss-user] Better method to create CMP Bean?

2002-06-13 Thread Gordon Luk
Hi David Jencks, This look like really what i wanted? Thanks for lot. :-) Gordon David Jencks wrote: >xdoclet. > >middlegen for generating xdoclet-ready beans from a db. > >david jencks > >On 2002.06.13 03:18:07 -0400 Gordon Luk wrote: > > >>Hi all, >> >> >>Previous, i write BMP bean by hand

Re: [JBoss-user] Shorten server boot time

2002-06-13 Thread Greg Turner
Doh.. Good Idea !! In true_minimal/lib, put log4j.jar, jnpserver.jar,jnet.jar,jmxtools.jar,jmxri.jar,jboss.jar In true_minimal/deploy put jmx-html-adaptor.sar In true_minimal/conf put log4j.xml,jboss-service.xml And find attached the jboss-service.xml file I used !! Enjoy. Greg Turner           J

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-13 Thread Paul E. Baclace
At 07:21 PM 2002.06.13 -0700, you wrote: >On our Red Hat 7.2 server, we have started getting "too many files open" >errors. > >Using 'lsof' I have determined that JBoss has 11340 files open of the 18000 >total open in the system. I did this with this command: > >lsof | grep java | wc -l > >We don'

Re: [JBoss-user] JBoss Has Many Open Files

2002-06-13 Thread Scott M Stark
Send me a gzip of the lsof output. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss User" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 7:21 PM Subject: [

[JBoss-user] What is correct Manifest format for jar's inside an ear ?

2002-06-13 Thread Jason Uithol
Hello, I have about ten jars going inside an ear. Five of them don't depend on anything, they are fully self contained. The other five depend on the first five, in various combinations. I have been using a CVS of Jboss 3.0.0 from around February and I am trying to upgrade to the release versio

[JBoss-user] JBoss Has Many Open Files

2002-06-13 Thread Hunter Hillegas
On our Red Hat 7.2 server, we have started getting "too many files open" errors. Using 'lsof' I have determined that JBoss has 11340 files open of the 18000 total open in the system. I did this with this command: lsof | grep java | wc -l We don't have any other Java programs running. Anyway, a

Re: [JBoss-user] Class Cast Exception. What next...

2002-06-13 Thread Scott M Stark
Title: RE: [JBoss-user] Class Cast Exception. What next... Print out the all of the class loader and code source info for the Class object obtained from the JNDI object and the ServiceSettings.class you are casting to using code similar to the following and you will see the two classes are lo

Re: [JBoss-user] Hi

2002-06-13 Thread Tom Coleman
Try the Java Pet Store. > > Hi all, > anyone have the example code of shopping cart?. i would like to > implement it. > if any one having ,pl share the code with us. thanks in advance.. >

RE: [JBoss-user] Shorten server boot time

2002-06-13 Thread JD Brennan
Title: RE: [JBoss-user] Shorten server boot time How about posting a listing of the contents of the zip file for true_minimal?  Seems that minimal doesn't even support EJBs... -Original Message- From: Greg Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 6:11 PM To: [E

RE: [JBoss-user] Calling entity outside of TX

2002-06-13 Thread Jeff Schnitzer
> From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > > You must have a transaction. The spec suggests this requirement, but > allows a way out if I wanted to support it. It is on the todo list to > support read-only entities without transactions, but I'm not sure if I > want to add support. I r

Re: [JBoss-user] Shorten server boot time

2002-06-13 Thread Greg Turner
The minimal configuration that comes with JBoss-3.0.0 is not very good. I would not use it. It throws errors when starting up and some errors are seen in the console and some are not. The logging and jndi classes do not get loaded. No log file appears. Don't use it. I put together a configur

Re: [JBoss-user] Unable load stub in rmi/iiop application

2002-06-13 Thread Lee
Thanks BUNEL for responses. I have successfully resolve this problem,the step is: 1.Use the following command to generate Stub classes: rmic -iiop tstejb.WellDayDataHome tstejb.WellDayDataRemote it generates following classes: org\omg\stub\java\lang\_Cloneable_Stub

Re: [JBoss-user] Shorten server boot time

2002-06-13 Thread Jules Gosnell
Doh ! I just thought Try running ./run.sh --configration minimal Jules Jules Gosnell wrote: > Everyone's needs will be different. > > Just start moving services that look like likely candidates out of > deploy, and if you break something you need, put it back > > JBoss is desi

Re: [JBoss-user] Class Cast Exception. What next...

2002-06-13 Thread Greg Turner
You are right, "ClassLoader comes into play as far as the "signature" of the type of class". What you are doing only works if the same class loader is used, which is not the case when there are multiple JVMs. Is ServiceSettings a class or an interface? If it is a class, there is only one hack way

RE: [JBoss-user] Class Cast Exception. What next...

2002-06-13 Thread Starsinic, Frank
Title: RE: [JBoss-user] Class Cast Exception. What next... This is driving me nuts. I have an object in JNDI in Jboss. I have a java program on a remote server that does a lookup on that object using the proper jndi.properties Context ctx = new InitialContext(); ServiceSettings ss = (Ser

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-13 Thread Damon Torgerson
One solution that is database independent is to use Scott Ambler's High Low solution. In a nutshell: - create a table named primary_keys(key_name varchar, next_value number/varchar) - populate the table with the names of your tables - create a stateless session bean that gets the next_value from

Re: [JBoss-user] Shorten server boot time

2002-06-13 Thread Jules Gosnell
Everyone's needs will be different. Just start moving services that look like likely candidates out of deploy, and if you break something you need, put it back JBoss is designed to be tailored to your needs, not just to be a monolithic J2EE black-box Jules Steve Knight wrote: > He

[JBoss-user] JBossMQ Dev ...

2002-06-13 Thread G.L. Grobe
Is there a separte list, P.O.C., or anybody dealing specifically w/ JBossMQ where I can get some questions answered and discuss a few things w/ those in the know? Maybe even possibly do some work pending answers to those questions?   Any help much appreciated.

RE: [JBoss-user] jetty and contexts

2002-06-13 Thread LaBanca, Rick
i guess my beef with the j2ee way is that the "deployee" has info I think only the deployer should have. Ideally I would like to be able to have foo_rev1 running, mapped to foo, and have the admin be able to deploy foo_rev2 under foo_Test, and have a way to swap in the test version when ready with

Re: [JBoss-user] RE: JBoss 3/Tomcat 4.0.3 IllegalAccessError

2002-06-13 Thread Adrian Brock
Hi, StandardSession is a package private class. This means it can only be referenced by classes within the same package AND THE SAME CLASSLOADER. Each jar within jboss gets its own ClassLoader. A simple solution would be to add your class to catalina.jar Regards, Adrian >From: Jerry Smith <[EMA

Re: [JBoss-user] jetty and contexts

2002-06-13 Thread Jules Gosnell
LaBanca, Rick wrote: > JBoss 3.0 with jetty. Say I have a war, foo.war, and I deploy it. By default > it will come up as http://localhost:8080/foo . > > What I really want to do is have it as root. From what I'm reading, the only > way to do this is by setting it in a jboss-web.xml file, and putt

Re: [JBoss-user] jboss, cocoon, jetty

2002-06-13 Thread Jules Gosnell
Emmanuel Charpentier wrote: > Hi > > I've managed to install and configure different setups: > 1) jetty+cocoon, fast and clean. Startup takes no time and pages take > only 10 to 20 milliseconds to execute > 2) jboss/jetty+cocoon, huge and slow. Statup takes two minutes, and > pages ta

[JBoss-user] Shorten server boot time

2002-06-13 Thread Steve Knight
Hello, What services (files) can I safely remove from the Deploy directory in order to speed up the booting of JBoss 3.0.0?  I am only using EJB stuff..no clustering, etc...so I want to remove everything that isn't necessary. Obviously, I need my .ear and my db-service.xml...and I'm assuming

[JBoss-user] 2.4.3, Oracle, and BLOBs

2002-06-13 Thread Mark S. Kent
Can someone shed some light on why I cannot read my table (Oracle 8) with a findAll after the bean is "passivated" ([Container factory] Passivated bean blahblah) by JBoss? I can read/write the values just fine with my JSP pages until this passivation occurs. After that, the bean get method in my

[JBoss-user] WARN messages from jboss-3.0.0_tomcat-4.0.3.zip

2002-06-13 Thread kleung
Hi, After I installed the jboss-3.0.0_tomcat-4.0.3.zip, I executed run.sh as root and found the following WARN messages. Please tell me what did I did wrong or where do I get all those jar files. xerces.jar, which could not be opened jdbc-se2.0.jar, which could not be opened jndi.jar, which c

[JBoss-user] bmp question

2002-06-13 Thread Damon Torgerson
Hello all, I'm having difficulty getting a BMP bean to deploy. When a BMP bean is deployed I assume that I should be able to see it in the Agent View just like a CMP bean. Is this assumption correct? Thanks, Damon ___ Don't miss

Re: [JBoss-user] Help - CMR problem with jbos-3.0.0 - column not found

2002-06-13 Thread Gary S. Cuozzo
I only glanced at your files, but it seems like you may have missed one set of tags in the first half of the relationship in your jbosscmp-jdbc.xml file. You have them for the second part of the relationship (proponent_id). I had a working system, but it is temporarily broken as I'm shiftin

Re: [JBoss-user] JBoss DataBase Connections

2002-06-13 Thread David Jencks
On 2002.06.13 16:17:35 -0400 Stephen Davidson wrote: > Greetings. > > How do I tell if the supplied username/password is really being used. I > can login to my database using the Username/password I specify in the > attached XML file. But when JBoss tries, an Invalid > Username/Password error i

[JBoss-user] NullPointerException while trying to obtain JMS TopicConnectionFactory on 2.4.6

2002-06-13 Thread McLain, Mark - Apogent
I have written the following test method in a JUnit 3.7 TestCase:       public void testSendMessageToProcessor()     throws NamingException, JMSException     {     Context ctx = new InitialContext();     TopicConnectionFactory factory =     (TopicConnectio

Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-13 Thread Dennis Muhlestein
> The eager-load-group tag does not make any since (and is not allowed) at > the base query level. In the query you are reading ahead a group. > > -dain Guess that makes sense. So basically if I want to perform a findByPrimaryKey(...) it is going to load the entire entity no matter what the

Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-13 Thread Dain Sundstrom
Dennis Muhlestein wrote: > Seems to me that findByPrimaryKey should honor the eager-load-group with > no read-ahead strategy specified. Otherwise, why is there an > eager-load-group tag at all (except for nested in the read-ahead tag)? The eager-load-group element is for entities that do not h

Re: [JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread kleung
Hi Greg, Thank you for your information. The jboss-3.0.0_tomcat-4.0.3 did not contains the webtest.ear file in the deploy directory. Thank, On Thu, 13 June 2002, Greg Turner wrote > > The JBoss/Tomcat combo DOES work. You just need to learn how to work it. If you are using the JBoss/Tomcat

[JBoss-user] JBoss DataBase Connections

2002-06-13 Thread Stephen Davidson
Greetings. How do I tell if the supplied username/password is really being used. I can login to my database using the Username/password I specify in the attached XML file. But when JBoss tries, an Invalid Username/Password error is thrown. The application actually takes care of vetting the u

Re: [JBoss-user] Problems with template client example

2002-06-13 Thread Jim Williams
That did it. Thankyou very much. Jim --- Radu Mateescu <[EMAIL PROTECTED]> wrote: > is your jndi.properties in the client's classpath? > > - Original Message - > From: "Jim Williams" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 13, 2002 3:24 PM > Subject: [JBoss-us

[JBoss-user] Help - CMR problem with jbos-3.0.0 - column not found

2002-06-13 Thread Patrice Cousineau
Hi folks, I'm having a problem with container-managed relationships in jboss-3.0.0. I've created two beans in a 1-to-N relationship with all appropriate abstract getters/setters. However, when I try to create an instance of the bean that maps to the table with the foreign key, I get a SQLExcep

Re: [JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread kleung
Hi Damon Torgerson, Thank you for the information; however, I am still confused. I am only trying to test out the Cataline example and test pages. Last time when I installed the jboss3.0.0RC1_Tomcat4.zip, I did not need to add anything to the deploy directory. If I need to add a context, can you

Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-13 Thread Dennis Muhlestein
> > > > Also, I still have another bean with 60+ fields and when I load it. > > (Only one found with the findByPrimaryKey method) the eager-load-group > > does not seem to be acknowleged. I tried putting a read-ahead at the > > entity level with strategy = on-load and specifying the eager-load

Re: [JBoss-user] Problems with template client example

2002-06-13 Thread Radu Mateescu
is your jndi.properties in the client's classpath? - Original Message - From: "Jim Williams" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 3:24 PM Subject: [JBoss-user] Problems with template client example > I asked this yesterday but I probably did not give

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-13 Thread Javier A. Soltero
Do you or anyone else on this list have any suggestions about handling this problem effectively (and portably for different DBs) in 3.0? Any suggestions would be appreciated. Currently, I'm guessing the only way to accomplish this is to have a separate class which can look up the next value in

[JBoss-user] Problems with template client example

2002-06-13 Thread Jim Williams
I asked this yesterday but I probably did not give enough information to get a good answer. All I want to do is test the template install with jboss3.0 so I can move my development to jboss. I can see the modules are installed when I do the build for the template. 09:57:49,225 INFO [MainDeploy

Re: [JBoss-user] Calling entity outside of TX

2002-06-13 Thread Dain Sundstrom
Ya I got to excited here. Transactions are really insignificant in JBoss. Transactions are really only expensive when they are distributed and the built in Jboss implementation does not support distributed transactions. -dain Eric Kaplan wrote: > Dain > > I think you didn't really mean im

RE: [JBoss-user] Calling entity outside of TX

2002-06-13 Thread Eric Kaplan
Dain I think you didn't really mean immeasurable, but rather insignificant. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Thursday, June 13, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Calling entity outside of

Re: [JBoss-user] forums

2002-06-13 Thread Dain Sundstrom
When Marc gets back from Montreal (next week). -dain Gary Grobe wrote: > Any idea when they'll be back up? > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devco

Re: [JBoss-user] Calling entity outside of TX

2002-06-13 Thread Dain Sundstrom
You must have a transaction. The spec suggests this requirement, but allows a way out if I wanted to support it. It is on the todo list to support read-only entities without transactions, but I'm not sure if I want to add support. I really don't understand why you would not want a transacti

AW: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-13 Thread Stefan Groschupf
Hi, I have to distribute my Servlet on two machines. Can I use Jboss instead of a Apache load balancing? But I have may be some tricky tasks. My Servlet write files to disk, so whats happen when I use a JBoss cluster? How much I must change on my Servlet when I use JBoss? Would a JBoss cluster pro

Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Dain Sundstrom
Aleksander Grzebyta wrote: > Hello ! > > I have succeded in deploying the Sun Customer-Subscriptions-Addresses CMP > CMR 2.0 sample application That is cool. Did you have to change anything in the example code? If so can you post a patch at source forge. We like to have all the examples

Re: [JBoss-user] Is deadlock possible with multiple connection po ols?

2002-06-13 Thread David Jencks
I don't see you using xid2new branch. AFAIK it couldn't be used for either tx/xares. Your scenario is explicitly required by the jta spec (I think, maybe jca spec). In addition, I believe that this should be allowed, but there is no mention of it in any spec I can find (JTA, JCA, X/OPEN xa): >

Re: [JBoss-user] Re: CMP Bug: Bad SQL for FK field

2002-06-13 Thread Dain Sundstrom
Jonathan.O'[EMAIL PROTECTED] wrote: > > We fixed our problems by hacking the JBoss source! Thank God for open > source. > > We changed the getInsertFields() in JDBCCreateEntityCommand to call > entity.getCmpFields() instead of entity.getFields(). The > entity.getFields() gives you a list of

Re: [JBoss-user] jetty and contexts

2002-06-13 Thread David Ward
Ok, then (if it's true your app is just web-tier), just give him (the admin) a war file without a context-root in jboss-web.xml. If he wants it in /, tell him to name the war ROOT.war. If he wants it in /foobar, tell him to name the war foobar.war. If he wants it... well, you get the pictur

RE: [JBoss-user] jetty and contexts

2002-06-13 Thread LaBanca, Rick
ok, I did know about that and in fact the final deliverable is likely an ear. But the problem is the same. My admin gets and ear, and he wants to drop that into X number of servers. It would be preferred if the servers were configured for mapping, but instead he would have to touch inside the ear

Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Damon Torgerson
I will post the code when I get it working...but I'm by no means an expert so .. -damon On Thursday, June 13, 2002, at 11:04 AM, Dain Sundstrom wrote: > When you do get BLOB and CLOB working can you post the simple code I > need to integrate. I'm going to make results loading much more

RE: [JBoss-user] proble with cmr in JbossRC2

2002-06-13 Thread Ryan Lentell
vk,   I am experiencing the exact same problem with the final release. It appears not to be using the Foreign-Key mapping specified in jbosscmp-jdbc is being ignored. Is there a configuration necessary someplace outside of these two files that we are missing.   Ryan   I believe two of the f

Re: [JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread Greg Turner
The JBoss/Tomcat combo DOES work. You just need to learn how to work it. If you are using the JBoss/Tomcat combo, that means you are running an app server call JBoss, which means Tomcat does not run independently. This means Tomcat is just another service offered by the JBoss app server. All

[JBoss-user] testing

2002-06-13 Thread kleung
Testing Kam Lung Leung System Architect Wireless Web Access Inc. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

Re: [JBoss-user] questions on starting multiple jboss3.0 instances

2002-06-13 Thread David Ward
Igor, Not sure if you have an Outlook virus (I can see in the mail headers that Outlook's your X-Mailer) or some other messed up automation, but this email has been re-sent to the jboss-user list MANY times. Please track down this spam-like problem for: 1) yourself, 2) the members of this lis

Re: [JBoss-user] CMR - CMP Problem on Jboss 3.0 final

2002-06-13 Thread Dain Sundstrom
It looks like you are attempting to map to things to the departmentId column. Some have gotten this working in the past, but it is not supported. If you are not doing this, I'll need more information to help you. Specifically the relevant sections of the ejb-jar.xml file and the jbosscmp-jd

Re: [JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread Damon Torgerson
You have to define a context either in your application.xml file or your server.xml/web.xml files. On Thursday, June 13, 2002, at 10:34 AM, [EMAIL PROTECTED] wrote: > Hi, > > Please help me to configure out what is going on. > I downloaded the jboss-3.0.0_tomcat-4.0.3.zip file and > setup all p

Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Dain Sundstrom
When you do get BLOB and CLOB working can you post the simple code I need to integrate. I'm going to make results loading much more pluggable soon, so we can have an Oracle custom loader. -dain Damon Torgerson wrote: > BLOBs and CLOBs are a pain. Well, they're a pain when you are trying to

Re: [JBoss-user] CreateException from ejbPostCreate method?

2002-06-13 Thread Dain Sundstrom
You aren't going to get a CreateException for this, you will get an EJBException. The create works create but when JBoss attempts to update the foreign key fields it will get a SQLException which it will wrap in an EJBException and that lame LogInterceptor code will wrap that in a ServerExcep

Re: [JBoss-user] ServiceMBeanSupport in JBOSS 3.0 ???

2002-06-13 Thread Greg Turner
Also take a look in quickstart guide available here: http://sourceforge.net/project/showfiles.php?group_id=22866 Dirk Versavel wrote: > Dear, > > We are trying to bind our own service into JBOSS 3.0 using ServiceMBeans. > The 2.4.4 documentation talks about extending the > org.jboss.util.Serv

Re: [JBoss-user] ServiceMBeanSupport in JBOSS 3.0 ???

2002-06-13 Thread Greg Turner
Its there. They just changed the package name. Try import org.jboss.system.ServiceMBeanSupport; Enjoy Greg Dirk Versavel wrote: > Dear, > > We are trying to bind our own service into JBOSS 3.0 using ServiceMBeans. > The 2.4.4 documentation talks about extending the > org.jboss.util.Service

Re: [JBoss-user] IDE Question

2002-06-13 Thread Marius Kotsbak
I so a post, but no file. Could you send it again, or publish it somewhere please? On Thu, 2002-06-13 at 19:10, Emerson Cargnin - MSA wrote: > We're are using Eclipse, as u said about XDoclet, we made an eclipse > template to help in inserting XDoclet tags, take a look in yesterdays > messages

Re: [JBoss-user] proble with cmr in JbossRC2

2002-06-13 Thread Dain Sundstrom
The codevalues field is a foreign key field. You are using the old specification for you relationships. The new mapping is specified in the new JBossCMP documentation at FlashLine or you can figure it out from the DTD. -dain karnati venkat wrote: > Hi, > > I have problem while working wit

[JBoss-user] proble with cmr in JbossRC2

2002-06-13 Thread karnati venkat
Hi, I have problem while working with cmr. Even though it deployed properly giving following exception. While doing findByPrimaryKey, it is picking cmr field also, which it should not. 2002-06-13 12:21:47,541 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.PatientAllergy] Executing SQL:

[JBoss-user] ServiceMBeanSupport in JBOSS 3.0 ???

2002-06-13 Thread Dirk Versavel
Dear, We are trying to bind our own service into JBOSS 3.0 using ServiceMBeans. The 2.4.4 documentation talks about extending the org.jboss.util.ServiceMBeanSupport class, but this class does not exist any more in jboss 3.0!!! Is the mechanism to bind a service into JBOSS using JMX changed?! If

Re: [JBoss-user] Questions on Deployers

2002-06-13 Thread Greg Turner
+ jboss-3.0.0/lib/client/*.jar  There is no such directory.  If you mean jboss-3.0.0/client, this is the set of jar files to use when writing a client app. + jboss-3.0.0/lib/*.jar, + jboss-3.0.0/server/myserver/lib/*.jar.  These jars are put into the classpath for JBoss and classes are lazy loade

Re: [JBoss-user] CMP/CMR Example of 1:n or n:m relation for JBoss 3.0.0/PostgreSQL7.2

2002-06-13 Thread Simon Stewart
On Thu, Jun 13, 2002 at 07:23:52PM +0200, Dr. D. Sturzebecher wrote: > Hi, > > I have been trying to get a 1:n relation (and as well n:m) to work for some > time, but to no success. I have a JBoss 3.0.0 with no changes to the setup, > except for the DB access, a PostgreSQL 7.2 (both on linux). 1:

Re: [JBoss-user] CMP/CMR Example of 1:n or n:m relation for JBoss 3.0.0/PostgreSQL7.2

2002-06-13 Thread Greg Turner
Last week I attached a file containing an example of a many to many relationship handled by CMP 2.0, complete with source and deployment descriptors. "Dr. D. Sturzebecher" wrote: > Hi, > > I have been trying to get a 1:n relation (and as well n:m) to work for some > time, but to no success. I

[JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread kleung
Hi, Please help me to configure out what is going on. I downloaded the jboss-3.0.0_tomcat-4.0.3.zip file and setup all paths. Jboss does not complain about much and it works. However, when I try to access tomcat by accessing the http://localhost:8080 in netscape4.76 browser, I got the following

RE: [JBoss-user] CreateException from ejbPostCreate method?

2002-06-13 Thread McAuley, Tim
Hiya, > > Did you declare CreateException for both the ejbCreate and > ejbPostCreate > methods? Do they both define the exact same exception > declarations? Yes to both of the above. > Can > you post a bug report the reproduces the UndeclaredThrowableException. > I will do so tomorrow

[JBoss-user] CMP/CMR Example of 1:n or n:m relation for JBoss 3.0.0/PostgreSQL7.2

2002-06-13 Thread Dr. D. Sturzebecher
Hi, I have been trying to get a 1:n relation (and as well n:m) to work for some time, but to no success. I have a JBoss 3.0.0 with no changes to the setup, except for the DB access, a PostgreSQL 7.2 (both on linux). 1:1 Entity beans work ok. Does the default mapping work for 1:n and n:m ? I do g

Re: [JBoss-user] IDE Question

2002-06-13 Thread Emerson Cargnin - MSA
We're are using Eclipse, as u said about XDoclet, we made an eclipse template to help in inserting XDoclet tags, take a look in yesterdays messages in xdoclet list... Greg Turner wrote: >What IDE are you guys and gals using? I have been using Intellij, but >now that I am getting into XDoclet,

Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Damon Torgerson
BLOBs and CLOBs are a pain. Well, they're a pain when you are trying to implement them your first time like me ;-) Anyway, I'm pretty close and I've been following a previous thread here: http://www.kpi.com.au/jbossarchive/0012/0028.html and http://www.kpi.com.au/jbossarchive/0012/0031.html

[JBoss-user] How to look up queue with jboss3.0

2002-06-13 Thread ch ejb
hi there, i am getting error when iam looking a queue in jboss3.0. the error is JNDI lookup failed: javax.naming.NameNotFoundException: QueueConnectionFactory how can i look up a queue named A from the Queue coonection?? my pieces of related code is as follows:(this works fine with Jboss2.4.3)

Re: [JBoss-user] jetty and contexts

2002-06-13 Thread David Ward
You have another option, but I'm not sure it fulfills your every desire... Put your .war file in a .ear file, and then put this in /META-INF/application.xml (also in your .ear file): http://java.sun.com/dtd/application_1_3.dtd'> My App My app is super-cool.

[JBoss-user] JMS - Message Driven Bean problem: SpyMessageConsumer reports "I dropped a message (timeout)"

2002-06-13 Thread Radu Mateescu
Hello, I encounter problems when I try to send messages into a JMS queue. The client is a servlet which runs a loop attempting to send asynchronous messages into testQueue. From this queue, the messages are consummed by a Message Driven Bean. Here is the client: public boolean sendAsynchrono

[JBoss-user] CMR - CMP Problem on Jboss 3.0 final

2002-06-13 Thread Sebastien ASTIE
Hi, I have a problem with creating entries in my DB. When i want to access my data in the db everything runs fine... When i want to add data in the DB using my entity bean, i have an exception saying that i specified the column twice in my query...   I have two tables Employee & Department (

RE: [JBoss-user] Is deadlock possible with multiple connection po ols?

2002-06-13 Thread Geer, Benjamin
Sorry, my example was garbled. Here's the scenario whose validity I'm trying to confirm: Say we have a pool of two connections to database MyDB (XAResource objects xares1 and xares2). We start two transactions (Xid objects xid1 and xid2). The tx manager can make the following calls: // Thread

RE: [JBoss-user] Old class object not cleaned

2002-06-13 Thread JD Brennan
Title: RE: [JBoss-user] Old class object not cleaned I had a similar problem.  Class Foo has method f(Bar b); My suspicion - and this is just a guess - is that the Class of the argument (Bar) was loaded by a different ClassLoader than the class you are trying to call the method on (Foo)

[JBoss-user] jetty and contexts

2002-06-13 Thread LaBanca, Rick
JBoss 3.0 with jetty. Say I have a war, foo.war, and I deploy it. By default it will come up as http://localhost:8080/foo . What I really want to do is have it as root. From what I'm reading, the only way to do this is by setting it in a jboss-web.xml file, and putting in the war (/). Yep, that

Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-13 Thread Dennis Muhlestein
You were correct. When I placed a read-ahead tag at the query level, my finder stopped loading all fields. I tried placing read-ahead at the entity level and nothing changed though. Is that correct behavior? I tried both on-load and on-find for the strategy. Also, I still have another bean

RE: [JBoss-user] Is deadlock possible with multiple connection pools?

2002-06-13 Thread Geer, Benjamin
David Jencks wrote: > The connection can be used for many open transactions > sequentially. OK, that makes sense. > When the txs commit, the tx manager is free to choose either > connection from each pool to commit either of the transactions. This comes as a surprise to me. Does this mean that

RE: [JBoss-user] JBoss 3.0.0 - OraclePreparedStatement ClassCastException

2002-06-13 Thread Андрей Онищук
Try Connection conn = dataSource.getConnection(); if(conn instanceoff org.jboss.resource.adapter.jdbc.local.LocalConnection) { conn = ((org.jboss.resource.adapter.jdbc.local.LocalConnection)conn).getUnderlyingConnection(); } You must obtain OracleConnection

Re: [jetty-discuss] Re: [JBoss-user] Compatibility of ear file in JBoss/Jetty and JBoss/Tomcat

2002-06-13 Thread Dmitri Colebatch
Is this a struts application by any chance? If so, have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9734 try deploying you WAR in a non-root context... alternatively, I have a patched version of struts 1.1 I can send you. otoh, if this isn't struts - sorry (o: cheers dim

[JBoss-user] RE: JBoss 3/Tomcat 4.0.3 IllegalAccessError

2002-06-13 Thread Jerry Smith
No it doesn't unfortunately :-( This setup works fine with Tomcat 4.0.3 standalone. I'm not putting the extended class in a WAR. I've tried having JBoss deploy it, placing it in catalina/server/lib, and server/all/lib. Anyone else have an insight on this? -Original Message- From: Alex L

RE: [JBoss-user] JBoss 3.0.0 - OraclePreparedStatement ClassCastException

2002-06-13 Thread James Cooley
Thanks David, The connection returned is of type LocalConnection which implements only the java.sql.Connection interface and doesn't allow me to cast it to an OracleConnection (which I to call Oracle extensions to the API). LocalManagedConnection does have a getConnection() but this is a pri

RE: [JBoss-user] LDAP Authentication settings

2002-06-13 Thread Shaw, Chris
Hi, I forgot to add that when I log in with an incorrect password then I see the error in server.log which is fine. But when I use a valid password I get the following error message on screen: type: Status report message: Access to the requested resource has been denied description:

[JBoss-user] jms transaction problem - local and xa transactions

2002-06-13 Thread Tim
I am accessing some entity beans (cmp) from the onmessage() method of a message driven bean. The mdb has a transaction attribute of "Required".   If I do something like the following in the onmessage() method:   //Create a new orderOrderLocal order = orderHome.create(...);//Create some order

RE: [JBoss-user] Hi

2002-06-13 Thread James Ward
We should be having an Alpha Release today. Check out the Cayambe project: http://www.cayambe.org http://sf.net/projects/cayambe We follow many of the Core J2EE Patterns and we are using Struts. And of-course it runs in JBoss 2.4.x and JBoss 3.0. Let me know if you have any questions. -James

[JBoss-user] Error with generated sql statements for cmp using cloudscape

2002-06-13 Thread Scheil, Sven
hello, i've tried to deploy an entity bean on jboss 3.0.0 that i've developed and tested with the j2ee ri and cloudscape. cloudscape's table names are case sensitive. the sql statements generated from the persistence manager of the j2ee ri are build with "" around the table names. this is the re

[JBoss-user] jboss, cocoon, jetty

2002-06-13 Thread Emmanuel Charpentier
Hi I've managed to install and configure different setups: 1) jetty+cocoon, fast and clean. Startup takes no time and pages take only 10 to 20 milliseconds to execute 2) jboss/jetty+cocoon, huge and slow. Statup takes two minutes, and pages take whole seconds to execute. jetty+coc

RE: [JBoss-user] RE: error running client against 3.0

2002-06-13 Thread Eric Kaplan
i should have done this earlier... we use ant to build, and while i put them in the proper source directory, the destination directory never received the files... sorry about that -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks Sent: Thursd

RE: [JBoss-user] RE: error running client against 3.0

2002-06-13 Thread Eric Kaplan
pls ignore, mea culpa, sorry bout that. the price of automation, i pulled the libraries over but when i built for some reason they did not get copied over > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 8:41 AM > To:

  1   2   >