RE: [JBoss-user] Launching Swing Applications from JBoss 3.0.0

2002-08-14 Thread Sacha Labourey
And what about this: http://www.trcinc.com/knowledge/articles/XMLTalk.pdf you can find it here : http://www.trcinc.com/knowledge/software/xmltalk/xmltalk.asp (maybe there is an open source projet that does the same) It is a framework that allows you to define swing app in XML a

[JBoss-user] Admin Monitor

2002-08-14 Thread Alin Simionoiu
Does anybody know what's the exact purpose of the Admin Monitor and when it will be available?. Thanks, Alin --- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jo

Re: [JBoss-user] Launching Swing Applications from JBoss 3.0.0

2002-08-14 Thread David Jencks
Cool! I don't know much about permissions. Would it be possible to remove the "shutdown the jvm" permission from the thread before starting the swing app, thus avoiding the need to copy or modify any of the swing app code? Thanks david jencks On 2002.08.14 15:17:46 -0400 Dimitri Pissarenko wr

Re: [JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread David Jencks
What exactly does ojb require? All classes are visible to all other in jboss 3 unless you go to a lot of trouble... Even commercial jdo implementations (LiDO) that do not exhibit spectacular understanding of classloader issues work fine hot deployed into jboss. Have you talked with Matthew Bair

Re: [JBoss-user] SAP R/3 JCA connector and JBoss 3.0.0

2002-08-14 Thread David Jencks
Can you send me the (suitably de-password-ized) working config file so I can put it with our examples in cvs? Thanks! david jencks On 2002.08.14 19:54:55 -0400 Chris Pinfold wrote: > Yes, you were spot on David. The SAP Adapter was deployed under a > different name .. doh!. The Jetty problem

RE: [JBoss-user] SAP R/3 JCA connector and JBoss 3.0.0

2002-08-14 Thread Chris Pinfold
Yes, you were spot on David. The SAP Adapter was deployed under a different name .. doh!. The Jetty problem I was getting was because I had a distributable tag in my web.xml - although this didn't cause a problem in 3.0.0. Anyway, thanks for all your help .. it is all working now. Cheers Chri

Re: [JBoss-user] Threading question

2002-08-14 Thread Rick LaBanca
In my situation, yes multiple threads. What I have is a service that I've bastardized by making a stateless session bean that uses a singleton. When I connect to it, i end up with many of these beans all calling asynchronously, so yep, make it thread safe! I don't really know if they would end up

Re: [JBoss-user] unbinding with a federated context

2002-08-14 Thread Scott M Stark
This would happen in the naming convention in the A context did not use '/' as the compound name seperator. You have to be careful when using string names across federated namespaces as it may not make any sense, or at least work the way you expect. What type of naming service is bound under

Re: [JBoss-user] Functioning minimal configuaration

2002-08-14 Thread Scott M Stark
The minimal config was fixed in 3.0.1 Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Dimitri Pissarenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 1:09 PM Subject: [JBo

Re: [JBoss-user] ClassCircularityError - Seeking Understanding From Those Smarter Than I

2002-08-14 Thread Scott M Stark
Several class loader issues were fixed in 3.0.1. Try that version. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Jason Stortz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002

RE: [JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread Stuart Halloway
Hi Ryan, > OJB requires it. I know, yuck. This is being solved but until then I > want my stuff to work. If I'm understanding your test properly, the only > directory that is in the root of the classpath is jboss/bin? This is true IF the JBOSS_CLASSPATH environment variable is not set. If you do

[JBoss-user] Threading question

2002-08-14 Thread Michael Klem
I am creating a simple caching object that will be used by multiple EJBs. Is each EJB handled by a different thread? I need to know if I need to make my caching object thread safe. -- "It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of

[JBoss-user] ClassCircularityError - Seeking Understanding From Those Smarter Than I

2002-08-14 Thread Jason Stortz
The Stats: SUSE 8.0 J2SE 1.3.1_04 JBoss 3.0.0 Clustered (but only one machine turned on right now) Stateless Session Beans Only Dual Processor Machine The Facts * JBoss starts without flaw * I deploy .jar files for EJB's t

RE: [JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread Matthew Baird
Hey Ryan, Maybe I don't understand what you are trying to do, but I didn't have to do any of this to get OJB up inside JBoss 3. Lemme know what you are trying to do that is different than what I'm doing. m -Original Message- From: Ryan Marsh [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

[JBoss-user] ECperf / JBoss 3.0.1

2002-08-14 Thread David Stoleson
Trying to run ECperf on JBoss 3.0.1. It is deployed but a lot of exceptions are being thrown. Anyone have any luck with this? -dave --- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Sea

RE: [JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread Ryan Marsh
OJB requires it. I know, yuck. This is being solved but until then I want my stuff to work. If I'm understanding your test properly, the only directory that is in the root of the classpath is jboss/bin? -ryan On Wed, 2002-08-14 at 15:37, Stuart Halloway wrote: > Hi Ryan, > > Tests and output to

RE: [JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread Stuart Halloway
Hi Ryan, Tests and output to answer your question below. Cheers! Stuart Halloway DevelopMentor http://staff.develop.com/halloway PS. Why do you need to be at the root of the classpath? That seems like an odd (dangerous) requirement. pu

Re: [JBoss-user] Persistence mechanisms

2002-08-14 Thread Holger Baxmann
why necesarily relational - if you want to store java object in a hierarchical tree than use the jndi context pointing in a federated namespace provided by ldap - which means simply: store them in ldap :) bax - Original Message - From: "Dimitri Pissarenko" <[EMAIL PROTECTED]> To: <[EMAIL

[JBoss-user] Persistence mechanisms

2002-08-14 Thread Dimitri Pissarenko
Hello! In my application I use JBoss primarily in store object-oriented data in a relational database. I would like to implement this object-oriented/relational mapping so that changes in the object-oriented part (refactoring, changing the class structure) will imply as least as possible necessa

[JBoss-user] Functioning minimal configuaration

2002-08-14 Thread Dimitri Pissarenko
Hello! JBoss 3.0.0 contains a minimal configuration which is not working properly (I cannot say what is wrong, because the exception stack trace is not visible fully due to scrolling blindness and no log file is created even if I configure it to make a log file). Is there a functioning minimal c

[JBoss-user] unbinding with a federated context

2002-08-14 Thread Julien Viet
Hi all,    I have on question about naming. I am using a federated context through ExternalContext service. My issue is about unbinding something in my federated context via NamingContext :    For instance, if my context is bound under A and in my context I have an object bound under B    The

[JBoss-user] Is the server library URL in the classpath?

2002-08-14 Thread Ryan Marsh
I need some files to bee in the *root* of the classpath. I'd prefer to deploy these files in server/default/conf or server/defaul/lib. Are either of these paths added to the classpath? -ryan -- Humans are the unfortunate result of a local maximum in the fitness landscape. www.ryanmarsh.com

Re: [JBoss-user] jboss 4 (cvs head) new jdbc xa wrapper -- please help test!

2002-08-14 Thread David Jencks
On 2002.08.14 15:18:36 -0400 Igor Fedorenko wrote: > Are you planning to merge this code into 3.2? Lets see if it works first;-) The wrapper should be easy to merge. I also checked in some modifications to the connection manager framework that will make it easier to run the tests you wrote insi

Re: [JBoss-user] jboss 4 (cvs head) new jdbc xa wrapper -- pleasehelp test!

2002-08-14 Thread Igor Fedorenko
Are you planning to merge this code into 3.2? David Jencks wrote: > I've replaced the jdbc xa wrapper for jboss 4 (cvs HEAD) with an entirely > new version that is > > --lgpl > > --jca compliant > > --easily extensible to counteract the quirks of vendor drivers. > > However, I don't have any

[JBoss-user] Launching Swing Applications from JBoss 3.0.0

2002-08-14 Thread Dimitri Pissarenko
Hello! I've coded a very simple example of how one can launch a Swing application with a Jboss Mbean. If someone is interested, look at http://www.geocities.com/dapissarenko/jboss_swing.html Regards Dimitri Pissarenko --- This sf.net email

[JBoss-user] jboss 4 (cvs head) new jdbc xa wrapper -- please help test!

2002-08-14 Thread David Jencks
I've replaced the jdbc xa wrapper for jboss 4 (cvs HEAD) with an entirely new version that is --lgpl --jca compliant --easily extensible to counteract the quirks of vendor drivers. However, I don't have any XADataSources to find out if it works. If you have an XADataSource based driver, pleas

Re: [JBoss-user] long table names

2002-08-14 Thread David Jencks
For cmp2 this can be set somewhere, I don't remember exactly where. Try the type mapping stuff in standardjbosscmp-jdbc.xml david jencks On 2002.08.14 12:48:10 -0400 Pavel Kolesnikov wrote: > Hello, > > it seems that JBoss shortens table names longer than 31 characters. > Is there any way how

Re: [JBoss-user] JBossTest

2002-08-14 Thread Andreas Kuckartz
> will there be a JBossTest 3.0 release? The testsuite is part of the JBoss 3.0 distribution. Andreas --- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs tod

[JBoss-user] configuring ip address in jboss3.0.1-jetty

2002-08-14 Thread Emerson Cargnin - SICREDI Serviços
We used to have many instances of jboss3.0.0 with tomcat in the same machine (for developers). Now i'm trying to update to 3.0.1, but there's no version with tomcat (correct me if i'm wrong). I didn't find any xml or sar inside deploy concerning with jetty. How do i configure the ip which jett

RE: [JBoss-user] long table names

2002-08-14 Thread MNewcomb
This is specific to each JDBC driver you use. When you deploy an application in JBoss, JBossCMP gets a Connection to the DataSource the entity was deployed on and calls Connection.getMetaData().getMaxTableNameLength() to determine the maximum table name length. If its too short, it mangles it to

Re: [JBoss-user] long table names

2002-08-14 Thread Holger Baxmann
i think this is the lowest common denominator, oracle for example do 31 not more (i personally like 42). but the data should be stored in the table, not in the metadata dictionary ;-) a workaroud would be to establish an ejb facade for the db naming :) bax - Original Message - From: "

[JBoss-user] RE: RedHat 7.2 Jboss2.4.x with Tomcat startup script

2002-08-14 Thread Mike Savage
I sent this out a little over a month ago...I hope it helps. Mike -Original Message- From: Mike Savage Sent: Monday, July 01, 2002 1:28 AM To: '[EMAIL PROTECTED]' Subject: RE: jboss in init.d The following is an example script for a RedHat (SystemV-like) system. First, in /etc/rc.d/in

[JBoss-user] JBossTest

2002-08-14 Thread Burkhard Vogel
Hi, will there be a JBossTest 3.0 release? Regards, Burkhard --- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_co

[JBoss-user] long table names

2002-08-14 Thread Pavel Kolesnikov
Hello, it seems that JBoss shortens table names longer than 31 characters. Is there any way how to turn this feature off? Thanks Pavel --- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals.

[JBoss-user] may I expose CMR foreign key as a cmp-field?

2002-08-14 Thread Pavel Kolesnikov
Hello, in my application, I need to synchronize content of database tables on the central server with client application, which should be able to work offline. That's why I need a simple way, how to get values of foreign keys in dependent tables. But I also want to be able to use MR 2.0 accessor

Re: [JBoss-user] Connection Pooling Jboss 3.0

2002-08-14 Thread Burkhard Vogel
Hi, this usually happens if you don't properly close your connections. suggested is to use a try { } catch() {} finally { if( rs != null ) rs.close(); if ( prepStmt != null ) prepStmt.close(); if(con != null) con.close(); } hth, Burkhard - Original Message - From: "Arijit Ghosh" <[EMAIL

[JBoss-user] JBoss 3.0.1 (Class Loading problem)

2002-08-14 Thread Frederic Soulier
Hi I have a problem with class loading under JBoss 3.0.1 note: it works fine under Sun j2ee 1.3.1 I use Sun JDK 1.3.1_04 The client (servlet) tries to execute the following lines of code. (1) succeeds. (2) I get an IllegalAccessException note: (2) works if the GUIDGeneratorFactoryImplemen

Re: [JBoss-user] javax.servlet.ServletException: loader constraints violated when linking

2002-08-14 Thread David Jencks
I don't really understand classloading in the web tier but if this was libraries in the .ear I would recommend using the scoped loader repository set up in jboss-app.xml to get the apps in different classloader spaces. It still might help. david jencks On 2002.08.09 11:39:01 -0400 Bobby Abraham

Re: [JBoss-user] javax.servlet.ServletException: loader constraintsviolated when linking

2002-08-14 Thread Javier A. Soltero
I just ran into this issue as well. Had never seen it before in either 3.0 or 3.0.1RC1. My setup does not involve EAR files (yet), simply a jar with all the entities, a jar with all the session beans, and a war file with some cactus tests inside it. The place where it stopped seems arbitrary.

[JBoss-user] RedHat 7.2 Jboss2.4.x with Tomcat startup script

2002-08-14 Thread display name
I've been searching around for some startup scripts that will work for me, but keep get errors trying to use the go.sh/jboss.sh solution I found in the archives. The documentation is light on this, and I am still new to linux. I can run the server from $JBOSS_HOME/bin/run_with_tomcat.sh, so I kno

[JBoss-user] ServerException

2002-08-14 Thread Jon Haugsand
(Running JBoss 3.0.0) In a small test application I experience every second time an exception I cannot understand. This is the output: debug: OK test Remote exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException:

Re: [JBoss-user] read-only methods in 3.0.1

2002-08-14 Thread Dmitri Colebatch
Replying to my own message (as I did on the forum - http://www.jboss.org/forums/thread.jsp?nav=false&forum=47&thread=19225&start =0&msRange=15). cut and paste from the forum for those interested: I've had a look at the code, specificially this (http://www.mail-archive.com/jboss-development@lists

[JBoss-user] Servlet - JAAS: example needed

2002-08-14 Thread Bruno
Hello all, I have read a lot of documents on Servlets and on JAAS, but I need an example on the combination of the two. Concerning SERVLETS: I can't use the in the web.xml, because not one of the possible loginoptions suits my needs. A username and password, but also a pincode have to be added

[JBoss-user] Time-out for a Stateless session bean

2002-08-14 Thread Preeti Sood
Thanks for the help. Also I want to know if we can specify the time-out for a Stateless session bean in the ejb-jar.xml. Are there any limits to this time ou Regards, Preeti -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Thursday,

Re[5]: [JBoss-user] SAR deployement

2002-08-14 Thread Alex Loubyansky
DJ> There was a problem with registering UnifiedClassLoaders with the wrong DJ> LoaderRepository. I believe it is fixed in cvs head and probably 3.2 DJ> DJ> david jencks Just tried with CVS HEAD (4.0.0alpha). The same problem with loader-repository. When it is commented first deployment is succ