Re: [jBoss-User] Logging

2001-03-15 Thread Tom Cook
On Thu, 15 Mar 2001, Jason Mawdsley wrote: > > > > If you write to System.out, it does show up in the logs (I believe at > Info > > > > level?). > > > > > Obviously, this isn't good enough for a lot of purposes. Have you > looked > > > > at log4j? > > From looking at log4j I don't think I can u

RE: [jBoss-User] Rename primary key possible with CMP?

2001-03-13 Thread Tom Cook
On Tue, 13 Mar 2001 [EMAIL PROTECTED] wrote: > Admitted. > And after having spent far too much time on it, I see that it creates more > problems than it solves. > > However, shouldn't that code work anyway? (Work as in, return "AnotherPKey" > in both cases?) No, because the PK is stored in the

Re: [jBoss-User] Deployment

2001-03-12 Thread Tom Cook
On Mon, 12 Mar 2001, Simphoukham, Southin wrote: > This is a newbie question. But it sounds and looks simple. > > I have a ear file that has the "application.xml" file in the \Meta-inf > directory. When I deploy it I get the following error. I am confused > because the xml file is well-formed

Re: [jBoss-User] Emails not reaching list or v. slow? this is atest.

2001-03-11 Thread Tom Cook
On Mon, 12 Mar 2001, [iso-8859-1] Emmanuel Sciara wrote: > Hi guys, > > Sorry to pollute the list: I sent an email 2 days ago to this list and it still > has not arrived. I am trying another way to see whether it is a problem with my > set-up or whether something else is going on (which I suspec

Re: [jBoss-User] using XADataSources from astandaloneapplicationgives javax.naming.NamingException

2001-03-11 Thread Tom Cook
On Sun, 11 Mar 2001, Vladimir Blagojevic wrote: > Just guessing, haven't done this. > > How about making your own MBean that binds DataSource into global JNDI > namespace not vm-local java:? Only if your connections are serialisable! Tom > Vladimir > > James Cook wrote: > > > In J2EE this i

Re: [jBoss-User] Bug: Synchronization error using commit option A

2001-03-11 Thread Tom Cook
up. > > jim > > - Original Message - > From: "Tom Cook" <[EMAIL PROTECTED]> > To: "JBoss-User" <[EMAIL PROTECTED]> > Sent: Thursday, March 08, 2001 5:44 PM > Subject: Re: [jBoss-User] Bug: Synchronization error using commit option A >

Re: [jBoss-User] Bug: Synchronization error using commit option A

2001-03-08 Thread Tom Cook
ase. > > That said, it is the case that we have not been backporting 2.1 bugfixes to > 2.0 > Final. This is one of the reasons that people keep asking when the next > release will > be - so they dont have to upgrade to a beta, which is unacceptable to the > majority of > us

Re: [jBoss-User] Release schedule?

2001-03-08 Thread Tom Cook
On Thu, 8 Mar 2001, Bill Burke wrote: > What I'm really getting at, is there some branching scheme in CVS so > that bug fixes can be merged into a 2.0 branch or something, so that > problems with 2.0 can be fixed while the next major release is being > developed on? Or is there only a rolling

Re: [jBoss-User] Release schedule?

2001-03-08 Thread Tom Cook
On Thu, 8 Mar 2001, James Cook wrote: > - Original Message - > From: "Peter Routtier-Wone" <[EMAIL PROTECTED]> > > An interesting point that > > should be made is that even with an open source project you can pay for such > > commitment. If your company really wants EJB features as soon a

Re: [jBoss-User] Bug: Synchronization error using commit option A

2001-03-08 Thread Tom Cook
You are reporting lots of bugs against 2.0 final - the code base has moved considerably since then. You really need to get a more recent version. Tom On Thu, 8 Mar 2001, James Cook wrote: > In our ejbLoad we are all accustomed to calling: > > PK key = (PK)this.entityContext.getPrimaryKey(

Re: [jBoss-User] Bug: EJBException does not result inatransaction rollback

2001-03-08 Thread Tom Cook
On Thu, 8 Mar 2001, James Cook wrote: Sorry to disappoint - the config files have changed considerably since then, and are pretty much completely incompatible (not quite true, I don't think, but near as dammit). Tom > I need to gauge whether I want to try working with 2.1. It took me quite a wh

Re: [jBoss-User] problem in compiling CVS manual

2001-03-07 Thread Tom Cook
On Wed, 7 Mar 2001, Vladimir Blagojevic wrote: > Hi Tong, > > >[javadoc] javadoc: No package, class, or source file found named > org.jboss.sec > > It builds just fine on my box. What version of jboss are you running ? > Looks like you are not in sync with jboss cvs since you dont have > org.j

RE: [jBoss-User] javax.naming.ServiceUnavailableException: t3. Why?

2001-03-06 Thread Tom Cook
this? Tom > -Original Message----- > From: Tom Cook [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 05, 2001 18:51 PM > To: JBoss-User > Subject: Re: [jBoss-User] javax.naming.ServiceUnavailableException: t3. > Why? > > > You are trying to use a weblogic style url in y

Re: [jBoss-User] Re: [jBoss-Dev] Handle For A Stateful SessionBean

2001-03-06 Thread Tom Cook
to distribute my stateful > session bean across all my servers then I want them to have > the same handles. You would need to re-write some of the server stuff to allow this (like the handle implementation, for a start) I think. Tom > Tom Cook wrote: > > > Please don't cc th

Re: AW: [jBoss-User] RMI over SSL with JBoss

2001-03-06 Thread Tom Cook
On Tue, 6 Mar 2001, Stefan Siprell wrote: > mea maxima culpa > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Filip Hanik > Gesendet: Dienstag, 6. März 2001 17:55 > An: JBoss-User > Betreff: RE: [jBoss-User] RMI over SSL with JBoss > > >

Re: [jBoss-User] ear deployment

2001-03-06 Thread Tom Cook
On Tue, 6 Mar 2001, wei shung chung wrote: > Hi, > > is there any GUI tool for ear in jboss? No, unless someone is hiding it veeery well... Tom -- "If you mess with something for long enough it will break." - Schmidt -- -- To subs

Re: [jBoss-User] What to put in xml

2001-03-05 Thread Tom Cook
On Mon, 5 Mar 2001, Shen, Yi wrote: > Hi, > I am a first time user of jBoss. > I have a question: > If the Primary Key of my table contains more than one field, what should I > put in the in ejb-jar.xml? > I got a exception complaining about : > Error in ejb-jar.xml for Entity Bean MyEntityBean:

Re: [jBoss-User] MBeans and threads

2001-03-05 Thread Tom Cook
On Sat, 3 Mar 2001, Alexander Jerusalem wrote: > Hi, > > Does anyone know if MBeans are allowed to create their own threads? I can't think of a good reason if you can't - think about it, Tomcat gets run as an MBean, and it certainly has a thread pool... in fact the container is run as an MBean

Re: [jBoss-User] JBOSS and jbuilder

2001-03-05 Thread Tom Cook
RTFM. There's doco on this on the website, and a veritable mountain of email in the list archives... Tom On 5 Mar 2001, prateeks saxena wrote: > Hi ALL >Could anybody help me out whether JBOSS and JBUILDER go well together . i > have downloaded JBUILDER foundation version but it doesnt hav

Re: [jBoss-User] JAWS

2001-03-05 Thread Tom Cook
On Mon, 5 Mar 2001, Dug wrote: > I am creating a jaws.xml file with custom finders. > > I am using the Hypersonic DB and have the query set to > > name like %{0}% name like '%{0}%' I think you need quotes, but I'm not sure this will work anyway. Tom > where name is a cmp field > > I get a

[jBoss-User] Re: [jBoss-Dev] Handle For A Stateful Session Bean

2001-03-05 Thread Tom Cook
Please don't cc this sort of question to both lists - I leave it to your discretion as to which list future posts belong to, but it seems like a user question to me. The normal way would be to start an HTTP session in the servlet and that takes care of the session ID stuff for you. Obviously you

Re: [jBoss-User] EJB 2.0 ?

2001-03-05 Thread Tom Cook
On Mon, 5 Mar 2001, Joe wrote: > I just wonder what that status is with supporting the 2.0 specs ? Everything except the persistence manager, AFAIK. But AFAIK isn't very far - it's just what Marc (I think) said a while back. Tom -- "If you mess with something for long enough it will break." -

Re: [jBoss-User] dynamically adding XADataSourceLoader MBean

2001-03-05 Thread Tom Cook
You can't catch EJBException in you client code - it will cause the server to destroy your bean instance. Tom On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote: > Below is ejbCreate. The call to startService() is in a try...catch(Throwable) > block, so I should catch the SQLException. I'm not sure

Re: [jBoss-User] javax.naming.ServiceUnavailableException: t3.Why?

2001-03-05 Thread Tom Cook
You are trying to use a weblogic style url in your jndi.properties (or whatever you use to set java.naming.provider.url), aren't you? URLs for JBoss naming service are of the form 'host:port', not 't3://host:port' Tom On Mon, 5 Mar 2001, Hardy, Patrick, DDI - Garden City wrote: > Hello, > > I

Re: [jBoss-User] Garbage in new entity beans

2001-03-05 Thread Tom Cook
Have a look at the state diagrams in the spec - there is no reason for the container to set the fields to null in BMP. Tom On Sat, 3 Mar 2001, David Castro Diephouse wrote: > Looking at the code, this appears to be fixed in 2.1 (entity fields are set to > null/0 in ejbCreate), for CMP anyway.

Re: [jBoss-User] Is this a bug or a feature? Name service issue

2001-03-05 Thread Tom Cook
On Mon, 5 Mar 2001, Larry Kline wrote: > Jim, > > Have you figured this out yet? I have a very similar issue which I posted > but no one has responded and I still cannot get it to work. Look at the > post "Session bean cannot access entity bean" for the details. To > summarize, if I look up a

Re: [jBoss-User] Bean To Bean Calls

2001-03-05 Thread Tom Cook
Not sure, but try the new JNDI-listing MBean in the CVS version - it can list the java:comp/env namespaces of beans, I think. Tom On Fri, 2 Mar 2001, Imran wrote: > Hello ppl > > I'm once again writing on the issue of B2B calls. I have read the > documentation and followed the instructions exa

RE: [jBoss-User] Design question - Checking for an existing record??

2001-03-05 Thread Tom Cook
On Fri, 2 Mar 2001, John Moore wrote: > > you need a unique key generator. Check out theserverside.com (patterns > section) for discussion on ways to handle it. JBoss used to come with one > but I don't see it any more. > No, I don't think a unique key generator is the answer here, since the

Re: [jBoss-User] Is this a bug or a feature? Name service issue

2001-03-05 Thread Tom Cook
I think you are getting confused by local/remote lookups. Lookups from within the server VM should be done using names java:comp/env/ejb/whatever and all other names should be done using names like ejb/whatever. Sorry if you've understood this. Tom On Fri, 2 Mar 2001, Jim Archer wrote: > Hi A

Re: [jBoss-User] Associate a jndi name to a datasource

2001-03-01 Thread Tom Cook
On Fri, 2 Mar 2001, Tom Cook wrote: > RTFM already! A datasource with the name OracleDB is rebound to > java:/OracleDB which is NOT accessible outside the server VM. This is not > possible because database connections, result sets etc. are not guaranteed > to be serialisable. >

Re: [jBoss-User] Associate a jndi name to a datasource

2001-03-01 Thread Tom Cook
RTFM already! A datasource with the name OracleDB is rebound to java:/OracleDB which is NOT accessible outside the server VM. This is not possible because database connections, result sets etc. are not guaranteed to be serialisable. Man, do we need a FAQ... Tom On Thu, 1 Mar 2001, Thierry Tem

Re: [jBoss-User] hypersonic vs postgres, its keeps selecting thewrong one

2001-03-01 Thread Tom Cook
On Thu, 1 Mar 2001, oliver2, andy wrote: > > Has anyone done this successfully? CAn you give me a play by play on > what > you > did to get it to work? Tobias gave you several options... the first one is probably the best. You need to specify the data source to use in jaws.xml in you ejb jar

Re: [jBoss-User] CGI possibilities?

2001-03-01 Thread Tom Cook
On Thu, 1 Mar 2001 [EMAIL PROTECTED] wrote: > We aren't necessarily looking for the ability to execute cgi on JBoss, but > we > have a little .exe file that computes authorization information for a > pay-for-service > site we link to. > > I've got it so that the jsp can find it ok, but it att

Re: [jBoss-User] Can EJB extend Observable ?

2001-03-01 Thread Tom Cook
On Thu, 1 Mar 2001, Roland S Nygren wrote: > > Can the Observable class > (http://java.sun.com/j2se/1.3/docs/api/java/util/Observable.html) be used > on an EJB ? > > I have a stateful session EJB that shall be observable, and a javabean (JSP > helper) that shall observe. > > example: > publ

Re: [jBoss-User] installing JBoss 2.0 Final on Windows 2000

2001-02-22 Thread Tom Cook
Three pieces of advice: 1) Remove j2ee.jar from your classpath. This is causing your first problem. 2) If you're using the 2.0_FINAL download, get a newer CVS version. The 2.0 distro included a bug to do with rewriting jboss.jcml, which is causing your second problem. 3) Get a real OS.

RE: [jBoss-User] com.sun.xml.tree.XmlDocument

2001-02-22 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > 3. If you want to build jboss with xerces because you change something in > jboss, then I am no help, I guess you will have to compile with both. Look > at the archives for gurus answers. > Vincent. I have a patched version which is not dependant on all the com.

Re: [jBoss-User] best practice for autoincrement indexes?

2001-02-22 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > What is considered the "best practice" for having an autoincremented (or > otherwise unique) index for an EJB? Specifically, I would like to have a > create() method on the home interface that requires no arguments. Have a look in the archives, Caskey and I h

RE: [jBoss-User] Integrating JBoss-tomcat to Apche

2001-02-22 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > If you follow the directions from the documentation from the online Manual, > it does not work. For whatever reason the processing of Tomcat's server.xml > file causes a ReflectionException to be thrown. > > This happens on either a Windows or a Linux machine.

Re: [jBoss-User] jBoss NT Shared Image

2001-02-21 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > Dear jBoss Users, > > I am evaluating jBoss to see if it can stand up to our current Weblogic51 > implementation. I need to get jBoss to run from a shared image on WIN2K. > Has anyone done this or have any documentation on it? I am currently > implementing this

Re: [jBoss-User] Question about Apache / Tomcat plans

2001-02-21 Thread Tom Cook
Just out of interest, how's the FAQ coming along? This has got to be at the top of the list... Have a look in the archives for subjects like 'Apache+Tomcat+Jboss' - or is running them on a separate machine somehow different, and am I just providing comic relief yet again? Tom On Wed, 21 Feb 20

Re: [jBoss-User] DEPLOYMENT PROBLEM

2001-02-21 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > Hi, Howdy [snip] I don't think this is the problem you're having, but maybe it'll help. You're treating resource managers like those bodgy data sources from IAS. You don't configure datasources in jboss.xml, they are server-wide resources in jboss and are con

RE: [jBoss-User] Still get No valid deployment descriptor was found ...

2001-02-21 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > Hope fully your xml file is named WEB-APP/web.xml > I seem to remember in 2.0FINAL there was a bug where you need to remove the > line > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"

Re: [jBoss-User] Problem with complex finders in CMP

2001-02-21 Thread Tom Cook
On Wed, 21 Feb 2001, you wrote: > My complex finders are returning empty Enumerations, the details are as follows > > Platform : NT 4.0 > JDK : 1.3.0 > JBoss : JBOSS 2.0-Final or JBOSS 2.1 PRE, i.e. the Jetty or Tomcat integrated >downloads from the download page. > Database : HyperSonic starigh

RE: [jBoss-User] client side caching of Home / Remote interfacesand other perfor mance improvement questions

2001-02-21 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: > Tom, > > thanks for your reply - two follow up questions: > > re1) Is there a low overhead way to check whether the context is > still alive? Or just try and catch? Yeah, try catch seems to be the way to go. Also note (from Context javadoc): > A Contex

Re: [jBoss-User] ERROR: javax.ejb.ObjectNotFoundException: Objectwith primary key com.sr.espada.

2001-02-20 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: [snip] > The ERROR Is Given below: > ERROR: javax.ejb.ObjectNotFoundException: Object with primary key > com.sr.espada. > se.services.broadcastmail.core.UserListPK@76784df0 not found in storage This would seem to indicate that there is no row in your table with the

Re: [jBoss-User] Deployment wrinkles - error null?

2001-02-20 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: > Hi, > > I am trying to deploy my entity beans (latest jboss from cvs) and I am > getting the following error; [snip] > If I comment out the entity beans from the ejb-jar.xml and just have the > session bean defined, it deploys ok. > > If I deploy another app I h

Re: [jBoss-User] Install my own Pool on JBoss

2001-02-20 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: > Hello, > > I have write a Pool and also the corresponding "J2EE Connector" for JDO > connection. > > I want to install this pool on JBoss, how can I do ? > > I think I need to write a MBean, but I do not know how it work and how I > can setup the pool !! > > C

Re: [jBoss-User] RMI Server in same JVM

2001-02-20 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: > Hi - this is probably a stupid question (but it's 11pm on a Sunday night > and > I can't be clever at this time of night): > > I am trying to find a way to use an RMI-based server in the same JVM as > JBoss - I get the following exception when trying to run (wit

Re: [jBoss-User] Where to get PROVIDER_URL from within bean

2001-02-20 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > The PROVIDER_URL from within a bean should always be null. > > PROVIDER_URL is only set in non-server clients. JBoss JNDI use "null" to > signify "look in the local JVM". Out of interest, what are the implications of uncommenting it in JBOSS_HOME/conf/default/jn

Re: [jBoss-User] Problems with entity bean CMP descriptors

2001-02-19 Thread Tom Cook
On Tue, 20 Feb 2001, you wrote: > > Hello, > we need help to deploy an entity bean contained managed persistence > The problem is the XML descriptor. > May anyone send me a copy of a valid ejb-jar CMP ? > I get the following error when I deploy my bean. [snip] > [J2EE Deployer] Could not delete t

RE: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-19 Thread Tom Cook
*sigh* ah, whatever. And I though I understood classloading. Tom On Mon, 19 Feb 2001, you wrote: > No. > > Object o = ctx.lookup( "my_home_interface" ); > my.home.interface mhi = (my.home.interface)o; > > When I said RMI classloading, I am talking about what happens in > MarshalledObject.ge

Re: [jBoss-User] client side caching of Home / Remote interfacesand other perfor mance improvement questions

2001-02-19 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: [snip - keep the modem people happy ;-] > 1) Getting the context once, storing it in a singleton and keep using it >seems to work well. Any downside doing this? Shouldn't think so, it might be worth implementing some thing to make sure there hasn't been a netw

RE: [jBoss-User] Inexplicable behaviour with entity bean.

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > Well, I have tried out the same program with Weblogic, which generates a > FinderException. That's why I thought Jboss too ought to generate the same. > I didn't know that the documented behaviour isn't so. Sorry, and thanx. > -Prince Hmm, if that's what weblogic

RE: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: [snip] > On Fri, 16 Feb 2001, you wrote: > > This, however, seems to obviate the purpose of the setContextClassLoader > > method. What exactly is it good for? [snip] > No. Used only for dynamic classloading. > > I believe it is used as the default class loader fo

Re: [jBoss-User] Installation problem with Solaris 8

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > How do I do that? I did install JDK 1.3. Who's JDK 1.3? Sun's? If not, go with Sun's. If it is Sun's, then you have a path problem and you are not really running 1.3, AFAICT. Try 'which java' to make sure. Tom -- ---

RE: [jBoss-User] Installation problem with Solaris 8

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > get a real vm Hmm, harsh, still I think I can match it: At least he's got a real OS ;-) Tom -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [E

Re: [jBoss-User] Installation problem with Solaris 8

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > Hello, > > I seem to be having problem with installing JBOSS-Tomcat on my Solaris 8 > box. When I run run_with_tomcat.sh, it comes down with > > Unrecognized option: -server > Could not create the Java virtual machine. > > Any help?! If you are not using Sun's

Re: [jBoss-User] Strange LOCK WAITING Problem

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > Hi > > > > > Yep, sounds like deadlock to me. Look for cases > > where a client calls a method > > on bean A which calls a method on bean B which calls > > another method on bean A. > > Example from a car registration application: > > > > This is a good thou

Re: [jBoss-User] Strange LOCK WAITING Problem

2001-02-18 Thread Tom Cook
On Sat, 17 Feb 2001, you wrote: > Hi !! > > We have a kind of strange problem with JBOSS 2.0 and LOCKING. > > We haven't described any locking in our deployment descriptor, but sometimes > we got a kind of > deadlock situation. > > The client application executes a call to a entity bean and it

Re: [jBoss-User] Recursive data structures

2001-02-18 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > > I also fail to understand why it is a problem. How is recursive > references > > different to any other entity relationship? Just store a PK, a Handle, > > whatever... > [snip] > Now an example of what's been bamboozling me. > > Suppose the taxonomy were of

Re: [jBoss-User] pass by value/reference

2001-02-18 Thread Tom Cook
On Mon, 19 Feb 2001, you wrote: > hiya, > > i'll try posting this question again - just subscribed, don't know if it > missed the list somehow first time. > > i understand that with the in-VM tomcat/jboss integration method calls > will not lead to objects being serialized. > does that imply pas

Re: [jBoss-User] Inexplicable behaviour with entity bean.

2001-02-18 Thread Tom Cook
On Sat, 17 Feb 2001, you wrote: > Hi, > I have to validate the user's Login Id and Password. To do that I am calling > a finder method in my Member entity bean, called findByMemberIdAndPwd which > takes the id and password as parameters. Well, this method is supposed to > throw a FinderException i

Re: [jBoss-User] Embedded Tomcat & class loading

2001-02-18 Thread Tom Cook
On Sun, 18 Feb 2001, you wrote: > > I am sure many of u met this before: > when I try to call my bean class from my JSP's or Servlets I can 't > I included the ejb.jar.xml in META-INF dir first ...it did not work > I put my interfaces and home interfaces in META-INF/classes > it did not work >

RE: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-18 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > This, however, seems to obviate the purpose of the setContextClassLoader > method. What exactly is it good for? A question I would dearly like to know the answer to... Maybe Class.forName and that sort of method use it? > Do you think this code would work if m

Re: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-18 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > > But why not just expose everything to the outside world? What if the developer > > _wants_ to expose all of the classes? > > Could also ask: What if the developer > does _not_ want to expose all of the > classes? > Bean implementation can contain > trade secre

Re: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-16 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > Strange, but it looks like these > classloaders are never removed from > the web server again on undeployment. > In fact, it looks to me like currently > classloaders are *never* removed from > the webserver. > That looks like a bug to me: It means > that the clas

Re: [jBoss-User] Recursive data structures

2001-02-15 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > Well, I certainly use self-referential structures in my entity beans. > But I do it by containing primary keys, which I look up with a finder > method when I need them. > > How are you doing it? I also fail to understand why it is a problem. How is recursive re

Re: [jBoss-User] Where to get PROVIDER_URL from within bean

2001-02-15 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > I want to get the value of the PROVIDER_URL (for > example "localhost:1099") from within a running EJB. Well, I guess you could always: URL u = this.class.getResource( "jndi.properties" ); InputStream is = u.openStream(); Properties p = new Properties; p.load(

Re: [jBoss-User] error messages when restart the app server

2001-02-15 Thread Tom Cook
On Fri, 16 Feb 2001, you wrote: > Thanx for you hint but j2ee.jar is in my CLASSPATH. Well, as the man said, it shouldn't be. > I assume that CRTL-C is not the way how to shutdown the app server... > so how do I have to shutdown the ap server? Ctrl-C is a perfectly acceptable way of doing it.

RE: [jBoss-User] Dynamic classloading

2001-02-15 Thread Tom Cook
My apologies. I had missed this intricacy of class loading. I was under the impression that *every* class loaded by a thread used it's context class loader, unless the programmer explicitly used another one. Tom On Thu, 15 Feb 2001, you wrote: > Tom: > > No, I haven't assumed anything of the

RE: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-15 Thread Tom Cook
On Thu, 15 Feb 2001, you wrote: > this is exactly what Im talking about, tom. Yes, the interface class is > loaded by the class loader cl, and the object "homeClass" is valid. but when > you go referring directly to the class (eg. "my.home.interface.class", > casting to (my.home.interface), decla

Re: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-15 Thread Tom Cook
On Thu, 15 Feb 2001, you wrote: > Hi, > > Isn't it your EJB home interface that > cannot be found? > This is in your EJB jar, and its > classes are not served by the web > server. > This is similar to when one EJB jar > tries to access classes and defined > in another EJB jar. > Problem is, while

RE: [jBoss-User] Is it Me? BMP casting problem - don't reply

2001-02-14 Thread Tom Cook
OK people, that is the ninth or tenth reply to that email I've seen today, all saying _exactly_ the same thing! You can stop replying now! On Thu, 15 Feb 2001, you wrote: > Ehm, Peter, > > > All, > > Using JBOSS_2.0_FINAL I'm having difficulty casting > > the results of a ejbFind* to my primary

RE: [jBoss-User] Dynamic classloading

2001-02-14 Thread Tom Cook
r for the current Thread > thanks to Tom Cook for pointing this out). Better yet, you can create the > class loader with the System class loader as its parent, so that classes > will be resolved locally as well: Using the constructor URLClassLoader( URL[] urls ) will set the current de

RE: [jBoss-User] Dynamic classloading

2001-02-14 Thread Tom Cook
On Wed, 14 Feb 2001, you wrote: > Forgive me if Im missing the obvious. Im new to JNDI, but I just dont see > how your code could work with nothing in the classpath. > > You are directly referencing the SKILLSHome class in your code. Therefore, > the class loader that is trying to load the SKIL

Re: [jBoss-User] Deploying EJBs in-place?

2001-02-14 Thread Tom Cook
On Wed, 14 Feb 2001, you wrote: > Hi! > [snip] > > The fact that you need to re-deploy updated beans without disturbing all > > connected users would suggest that you have users connected to your development > > system, or are developing on your deployment system. Either way, it's the sort > > o

Re: [jBoss-User] table not found for BMP

2001-02-14 Thread Tom Cook
On Tue, 13 Feb 2001, you wrote: [snip] > > > > jdbc/OrdersDataSource > OrdersDataSource > If you give your connection pool a name like 'OrdersDataSource' then it will be silently re-bound to 'java:/OrdersDataSource'. Try that. I don't think it should account fo

Re: [jBoss-User] EJB-access between packages

2001-02-14 Thread Tom Cook
On Wed, 14 Feb 2001, you wrote: > Hi, > > I don't understand the following: > If EJB X in package A has to access EJB Y in package B, why do I have to > include Y's interfaces (and probably PK-class) in A? > > Shouldn't X find Y without the include in A when A and B are deployed in > the same

Re: [jBoss-User] DYNAMIC CLASSLOADING

2001-02-13 Thread Tom Cook
On Wed, 14 Feb 2001, you wrote: > Hi again > > With regard to Dynamic classloading. [snip symptom description] I think this is the same bug I see with a slightly different error message. I get a NoClassDefFoundError when I try to narrow, but it's because I can't load java.ejb.EJBHome or javax.e

Re: [jBoss-User] Deploying EJBs in-place?

2001-02-13 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Hi! > > Tom Cook skrev: > > > > Not that I know of. The whole auto-redeploy mechanism is there because it is > > _faster_ than restarting the server. Or is there some other reason I'm missing? > > > That may be

RE: [jBoss-User] Dynamic classloading

2001-02-13 Thread Tom Cook
On Tue, 13 Feb 2001, you wrote: > Thanks a lot Tom; > I wasn't aware that you could set a classloader for a particular thread as > you have in your code snippet: > >> Thread.currentThread().setContextClassLoader( cl ); > > That particular tidbit of knowledge solves several problems for me! > He

Re: [jBoss-User] Classpath for PortableRemoteObject

2001-02-12 Thread Tom Cook
On Tue, 13 Feb 2001, you wrote: > Hi, > I looked through the archives for this question, so I apologize if this has > been asked before. > I have JRun currently running as our test app server. I would like to test > jboss as an alternative. > I have jboss running on my Linux 7.0 development box.

Re: [jBoss-User] FAKADAWAK

2001-02-12 Thread Tom Cook
On Tue, 13 Feb 2001, you wrote: > "FAQ out of whaq" is the title of the mail. We have a FAQ that is either > outdated or incorrect or with missing links. > > I am looking for a couple of guys to look at it... any takers??? > > let me know if you are interested I can, but not for another two we

RE: [jBoss-User] LOCKING-WAITING (TRANSACTION) - Another problem

2001-02-12 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Tom, are you using JBoss from CVS ? Yes - from about Jan 30, I think. > If so, I've already fixed this but not committed yet. > If not, then it's really strange, post more info please. Cool! > Oh, and BTW I tested the fix also on Tru64 1.3.0 :) Wow, someone e

Re: [jBoss-User] Dynamic classloading

2001-02-12 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Hi all > > I have seen quite a bit of discussion on the issue of Dynamic classloading > I have spent several days trying to do it myself...but NO BANANA > > > On the client side I have jboss-client in the class path and also > jnp-client in that directory. I do

Re: [jBoss-User] Deploying EJBs in-place?

2001-02-12 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Sorry Tom, but I think I got distracted from the real purpose of my first > post. > In my first post I was specifically talking about deploying beans during the > phase. > I figure this is the only time when beans should be deployed without jarring > them up. > W

Re: [jBoss-User] Starting jBoss as a service on Linux

2001-02-12 Thread Tom Cook
Linux jboss init script. > Thanks to Michael Drew, Toby Allsopp, and Tom Cook for their help. > > If this seems okay, I'll send it on to the jboss-dev list. > > 1. First some suggested options to run.sh. > I have left all logging to jboss, though I am a bit > frustrated that the

RE: [jBoss-User] Remote Interface as EntityBean fields

2001-02-12 Thread Tom Cook
ear from here all the gurus > :"what!you did not read that!go off this list!") :-) > Vincent. > > -----Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Tom Cook > Envoyé : vendredi 9 février 2001 2:29 > À : jBoss > Obj

RE: [jBoss-User] NotSerializableException

2001-02-12 Thread Tom Cook
On Tue, 13 Feb 2001, you wrote: > > Francisco > > The deal is that all bean members of a class must be serializable so > they (the beans) can be passivated. > > The InitialContext issue (this may be an over simplification), create a > new class that extends InitialContext and implement > java

Re: [jBoss-User] Error when undeploying ejb jar

2001-02-12 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Hi! > > Most of the time when undeploying my jar, jboss prints > the message: > > Could not remOve file ... /tmp/deploy/. > > Why cannot it remove it? Does it have any > implications? Are you running on Windoze (95 or 98)? If so, this is a recognised JDK bug

Re: [jBoss-User] Could possibly use JBoss in real world app

2001-02-12 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Hi guys, > > There is a possibility that whe might use JBoss for a > real world, heavy duty ecommerce application where I > am working now. > > But to make a case for JBoss I need to know the > following: > > - When is horizontal scaling going to be available

Re: [jBoss-User] Deploying EJBs in-place?

2001-02-11 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Hmmm, so I should jar up the beans and all each time I make a change. Then > copy the jar to the deploy folder. Then wait for the server to detect the > new jar? Then wait for the server to redeploy the new jar? Mmm, yeah, that's about it. It takes a fractio

Re: [jBoss-User] Deploying EJBs in-place?

2001-02-11 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > > Does that mean you need to restart the server each time you want to test > > something? Sloow. > > I doubt he's that silly. I'm betting he touches the jar to trigger > redeployment. I wouldn't have thought so, either. But touching the jar file wi

Re: [jBoss-User] Starting jBoss as a service on Linux

2001-02-11 Thread Tom Cook
On Mon, 12 Feb 2001, you wrote: > Tom Cook wrote: > > Also ${...} does not work like that on any bash I have installed, but I'm still > > RedHat 6.2 and Tru64 5.0.4, so maybe that's it. > > We're talking about dollar parenthesis, not dollar brace. It should &g

Re: [jBoss-User] Starting jBoss as a service on Linux

2001-02-11 Thread Tom Cook
On Fri, 09 Feb 2001, you wrote: > Hello Tom, Hello Philipp, [snip] > > I agree with Toby on this, it is not portable... in fact I can't find a shell > > in which it works. This syntax is for environment variables, what you are > > looking for is > > It's bash syntax and means the same as backt

Re: [jBoss-User] Starting jBoss as a service on Linux

2001-02-11 Thread Tom Cook
On Sat, 10 Feb 2001, you wrote: [snip] > My preferred option would be to keep the $(...) syntax and change the > shell it uses to ksh. I depends how portable you want it. I don't know > of a UNIX or UNIX-like system that doesn't have ksh. ksh is preferable > to sh for scripting in almost every

Re: [jBoss-User] Starting jBoss as a service on Linux

2001-02-11 Thread Tom Cook
On Sat, 10 Feb 2001, you wrote: > Tom Cook wrote: > > > On Thu, 08 Feb 2001, you wrote: > > > Greetings, > > [snip] > > > Toby suggested using $! to capture the PID of the Java process launched in the > > > background. While I dont think this

Re: [jBoss-User] possibly off-topic

2001-02-11 Thread Tom Cook
On Fri, 09 Feb 2001, you wrote: > I apologise for this probably off-topic question but it really bugs > me... > > I'm running jBoss with embedded Tomcat and I connect on port 8080 to > invoke a servlet that makes use of my play EJBs. All works fine but... I > run netstat -a and nothing seem to li

RE: [jBoss-User] LOCKING-WAITING (TRANSACTION) - Another problem

2001-02-11 Thread Tom Cook
I see a different problem with LOCKING-WAITING. It is normal for this to occur when two clients attempt to access the same entity, and on NT and Linux the transactions play nice and wait for each other to finish, then do their stuff. However, on Tru64 with Compaq JVM 1.3.0, the thread which is w

Re: [jBoss-User] how to build jboss (continue)

2001-02-11 Thread Tom Cook
On Sat, 10 Feb 2001, you wrote: > I downloaded daily zip of source for jboss.org. > > I looked at the jboss-user-archives, and still I am > not able to find the answer for build jboss. > I am using windows nt 4.0 > > I did build.bat at /jboss/src/build dirctory. > > Following is the last lines

  1   2   3   >