[JBoss-user] TomcatDeployer undeploy application for no apparent reason

2005-09-21 Thread Frank Morton
Running 4.0.2 under linux. Production. This is the second time in about six months this has happened. Server running for many days untouched. Suddenly for no apparent reason, undeploys the application. Log message is: [TomcatDeployer] undeploy, ctxPath=/city, warUrl=file:/usr/local/ jboss-

[JBoss-user] LifeThread.run exits! for no apparent reason

2005-09-08 Thread Frank Morton
Linux Java jdk1.5.0_03 No database...data from another jboss server (slow connection between them) JBoss 4.0.2 Moderate load production (5000 users daily). First time this has happened. System running for weeks. Suddenly stops for no apparent reason as seen below. JBoss thinks it is suppose

Re: [JBoss-user] [Beginners Corner] - Re: Configuring JBoss to existing tomcat

2005-05-12 Thread Frank Morton
We ended up having to add the following to the startup on the server side as part of the JAVA_OPTS: -Djava.rmi.server.useLocalHostname=true -Djava.rmi.server.hostname=appserver.domain.com where "appserver.domain.com" is the hostname of the jboss server. Then, on the client side added the foll

[JBoss-user] JBoss 3.2.3 Unable to invoke setDelegate

2004-02-05 Thread Frank Morton
08:48:56,097 INFO [MainDeployer] Starting deployment of package: file:/Volumes/local/jboss-3.2.3/server/default/deploy/mycity.war 08:48:59,156 INFO [EmbeddedTomcatService] deploy, ctxPath=/mycity, warUrl=file:/Volumes/local/jboss-3.2.3/server/default/tmp/deploy/ tmp33352mycity.war/ 08:48:59,

[JBoss-user] flushing cache with commit option A

2003-12-02 Thread Frank Morton
I'm using 3.2.2 in production with commit option A. Every now and then I'd like to do some SQL directly on the database, but doing so would get the cached entity bean content out of sync with the data. Usually it is with database content that I know is not being modified elsewhere (or I'm willing t

[JBoss-user] value object challenge

2003-10-06 Thread Frank Morton
Using 3.2.2RC4. Same problem under redhat linux and macos X. Note later I explain that this behaves differently with the client running in the same jvm vs. running in a different jvm. In a value object class (MeetingDateValueObject), I do the following: >MeetingDateValue meetingDateValue = Fact

[JBoss-user] jboss with ipchains/iptable

2003-10-04 Thread Frank Morton
Running 3.2.2RC4 on redhat 8 with ipchains. One port still varies each time jboss starts up (other than RmiPort). It is usually numbered something like 54915. In jboss-service.xml, I have set RmiPort to 1098 with: 1098 Ipchains lets the following ports through (this is a list of everything I have

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
On Tue, 2003-09-30 at 01:04, Frank Morton wrote: No CMRs or Collections. Just finder methods by a primary key. Accessing a stateless session bean from a remote machine (actually a different jvm on the same machine planning to move to a remote machine). The stateless session bean has a remote

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
Morton wrote: I'm learning this has something to do with the security manager, but haven't yet found anything helpful. Any pointers anyone? On Monday, September 29, 2003, at 12:18 PM, Frank Morton wrote: I have a bunch of entity beans only running with local interfaces. I use a session b

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
I'm learning this has something to do with the security manager, but haven't yet found anything helpful. Any pointers anyone? On Monday, September 29, 2003, at 12:18 PM, Frank Morton wrote: I have a bunch of entity beans only running with local interfaces. I use a session bean

[JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
I have a bunch of entity beans only running with local interfaces. I use a session bean facade for accessing these entity beans along with value objects. Been running in a single JVM for some time without problems. Now want to move to running the servlet container on a separate system. When I mov

[JBoss-user] jetty max form size reached?

2003-04-03 Thread Frank Morton
Using jboss 3.2.0RC2/jetty under MacOS X with JDK 1.4.1. I have a large form with 2095 items. When processing the form, it is only able to find 1819 items in the form request Enumeration. I don't know if it is a form size limit, element count limit, or something else. Everything I have tried ends

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
Sanche wrote: On Friday 07 March 2003 09:12 am, Frank Morton wrote: I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: 8443 5 255 5 2000 /usr/local/jboss/server/default/conf/keystore mypwurd mypwurd Hey Frank, it really looks good, but just in case it&#

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
On Friday, March 7, 2003, at 06:19 PM, Jules Gosnell wrote: Frank Morton wrote: I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: 8443 5 255 5 2000 /usr/local/jboss/server/default/conf/keystore mypwurd mypwurd Nothing is listening on port 8443 at all

[JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: 8443 5 255 5 2000 /usr/local/jboss/server/default/conf/keystore mypwurd mypwurd Nothing is listening on port 8443 at all. This appears to be ignored. Ultimately, I want to configure this on a production 3.

Re: [JBoss-user] jetty filter question

2003-02-20 Thread Frank Morton
Turns out the order was wrong, plus the DOCTYPE was wrong on my config file. I was getting message that "filter" was not declared. I moved the filter elements before the servlet element and then changed the doctype to: PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "ht

Re: [JBoss-user] 10.5.6 finder missing query element exception with 3.0.6

2003-02-19 Thread Frank Morton
(AbstractDeploymentScanner.java:225) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run (AbstractDeploymentScanner.java:202) On Wednesday, February 19, 2003, at 03:05 PM, Frank Morton wrote: Moving from jboss 3.0.2 to 3.0.6, now getting deployment errors on all finder methods

[JBoss-user] 3.2.0RC2 New DOCTYPE?

2003-02-19 Thread Frank Morton
Using the following as the start of an ejb-jar.xml: http://java.sun.com/j2ee/dtd/ejb-jar_2_0.dtd";> with 3.2.0RC2 generates the following exception on startup: 17:23:00,141 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c86c4838{

[JBoss-user] jetty filter question

2003-02-19 Thread Frank Morton
I would like to run a filter on every jsp with 3.0.6. I thought if I put the following: Tidy com.base2inc.app.filter.FilterTidy Tidy /*.jsp in the web.xml file for the application that it would run the Tidy filter on each page. W

[JBoss-user] 10.5.6 finder missing query element exception with 3.0.6

2003-02-19 Thread Frank Morton
Moving from jboss 3.0.2 to 3.0.6, now getting deployment errors on all finder methods: Bean : Profile Method : public abstract Profile findByProfileHandle(String) throws FinderException Section: 10.5.6 Warning: Every finder method except findByPrimaryKey(key) must be associated with a quer

[JBoss-user] MacOSX in production

2002-12-12 Thread Frank Morton
Any currently using (or contemplating) using MacOSX running JBoss in production. Would like to hear experience or opinions about doing so. --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your p

[JBoss-user] MacOS X + Norton Personal Firewall

2002-11-04 Thread Frank Morton
I upgraded to MacOS X 10.2.1 and Norton Personal Firewall Software 2.0.0 and begin to have strange problems that kind of acted like a resource problem. Port 8080 would just stop responding. Restarting JBoss wouldn't do any good, but rebooting the system made the problem go away for a few hours. Af

[JBoss-user] FileNotFoundException: /usr/local/config/security.properties

2002-10-30 Thread Frank Morton
I have a bunch of session beans with remote interfaces acting as a facade for many entity beans accessible only with local interfaces. Within the jboss container, everything is fine. But, if I try to access a bean from a standalone application running on the same machine, I get the exception below.

Re: [JBoss-user] Still Disappearing JSPs seen via Jetty

2002-10-15 Thread Frank Morton
ns why it never happened on other systems. I'll make the change and see if it runs fine for awhile. Thanks and I owe you! Frank > > Jules > > > Frank Morton wrote: > > > I've posted this a number of times with no response > > > > each time it happen

[JBoss-user] Still Disappearing JSPs seen via Jetty

2002-10-15 Thread Frank Morton
I've posted this a number of times with no response each time it happens. And it is happening right now, do I'd like to know if there is anything I can check before restarting for a clue.   I'm now using 3.0.2 with JDK 1.3.1-b24 under Red Hat 7.2.   Periodically, seems like after long period

[JBoss-user] 3.0.2 CommunicationException Resolution Needed

2002-09-12 Thread Frank Morton
I see references to this in the forums, but no resolution. In my case, running under MacOS X 10.2, 1.3.1_01, with JBoss 3.0.2, occassionally I will get this exception. Reload the web browser page and all is fine. Normal response time for a page in our system is about 100 milliseconds. When this ha

[JBoss-user] 3.0.0->3.0.2 exceptions

2002-09-05 Thread Frank Morton
I'm moving from 3.0.0 to 3.0.2 on the MacOS X 10.2, java 1.3.1_01. I had the exceptions below from a fresh, unmodified download. I decided to ignore the exceptions and see if my stuff worked anyway, and it did. But, I still have these nagging exceptions in the starutp log I'd like to get rid of:

[JBoss-user] where to report web site typos?

2002-08-27 Thread Frank Morton
Where should we report jboss.org web site typos? On http://www.jboss.org/docs/#JMX "extremelly" has an extra "l". Frank Morton [EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old ce

Re: [JBoss-user] Showstopper Undeploy Problem??

2002-07-09 Thread Frank Morton
- Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:09 PM Subject: Re: [JBoss-user] Showstopper Undeploy Problem?? > Frank Morton wrote: > > More detail that may change your mind on the

Re: [JBoss-user] Showstopper Undeploy Problem??

2002-07-08 Thread Frank Morton
n JSP precompilation which I hope will be > enlightening > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=H EAD&content-type=text/vnd.viewcvs-markup > > > Jules > > > Frank Morton wrote: > > Jboss 3.0.0 > > Linux/JDK 1.4.0 >

Re: [JBoss-user] Jetty and Port 80

2002-07-08 Thread Frank Morton
Look under mod_proxy on the apache site. Don't remember if it compiles into httpd by defaultthink it does. Then, when you configure apache, look in the conf files for references to mod_proxy. As an example case I use, I have the following in the apache config files that routes port 80 to 8080

[JBoss-user] Showstopper Undeploy Problem??

2002-07-08 Thread Frank Morton
Jboss 3.0.0 Linux/JDK 1.4.0 Second time this happened in about 3 weeks. No error reported in any logs. Was running just fine, but started getting 404 errors like the url didn't exist trying to display a commonly used jsp (logon page). If I look at the jsp directory created by deploying the .war

Re: [JBoss-user] Jetty and Port 80

2002-07-08 Thread Frank Morton
I just use apache's mod_proxy to redirect. I'm obviously a newbie to JBoss/Jetty.  Excuse me if this post would be better posted elsewhere but I would greatly appreciate any thoughts on the following problem:   I'm running Redhat 7.2 which has IPCHAINS enabled by defaul

[JBoss-user] How do I undeploy running thread?

2002-07-01 Thread Frank Morton
Using 3.0.0. I have an application that I deploy as a .jar and a .war file separately. Running under supervision of jetty is a servlet that starts and allows to run continually a number of Threads. When I redeploy the application (actually undeploy and then deploy), the old threads continue to ru

Re: [JBoss-user] Restart JBoss After Out of Memory

2002-06-27 Thread Frank Morton
Has anyone else seen this JBoss just stop responding? I have had one instance of jboss no longer responding, but memory looked fine. Processes still running. Just no response. Restarted jboss and has been running since. > Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server

Re: [JBoss-user] From RC1 DeploymentException

2002-06-08 Thread Frank Morton
To fix this problem, I added the following to each jboss.xml for all my entity beans (2.0): Standard CMP EntityBean Did not have to do it with session beans. Frank > Moving from RC1 to 3.0.0 release. Looking smooth except > when deploying beans I get a DeploymentException: > > Error in jboss.

[JBoss-user] 3.0.0 InstantiateException + JAWS?

2002-06-08 Thread Frank Morton
Still transitioning from RC1 to 3.0.0. When I instantiate an EJB 2.0 entity bean, I get an InstantiateException below. Also, in the stack trace is a reference to JAWS, which I thought had nothing to do with EJB 2.0. I must be wrong about that.   Any idea what can cause this. Runs fine under

[JBoss-user] From RC1 DeploymentException

2002-06-07 Thread Frank Morton
Moving from RC1 to 3.0.0 release. Looking smooth except when deploying beans I get a DeploymentException: Error in jboss.xml for Bean Profile: configuration '' not found in standardjboss.xml or jboss.xml Here is the jboss.xml file, which I assume is missing something that is now required:

Re: [JBoss-user] JBoss-3.0rc3: Can't get remote reference to EJB (still)

2002-06-05 Thread Frank Morton
> Another question, should I simply ignore the warnings: > > > 18:42:59,143 INFO [EJBDeployer] > Bean : PlaylistBean > Section: 9.2.2 > Warning: The entity bean class must not be defined as abstract. This problem exists in RC1, but is reported to have been fixed in the final 3.0 release, thoug

[JBoss-user] Running standalone applications with 3.0

2002-06-03 Thread Frank Morton
RE: [JBoss-user] jndi questionI have a factory class that does jndi lookups and creates a session bean. Using 3.0RC1, things work great if I do these lookups within the jboss context, but if I do it from a stand-alone application, I get the exception below. I assume it is a classpath thing, but I

[JBoss-user] JBoss: Sun Needs Us Question

2002-05-31 Thread Frank Morton
I just read for the first time the article at: http://www.onjava.com/pub/a/onjava/2002/03/20/jboss_interview.html In it, referring to J2EE certification, Fleury and Mason are quoted as saying: >Today we can afford this certification. Is that a typo, which should have said could NOT afford the

[JBoss-user] AMR Research Application Server Market Study

2002-05-02 Thread Frank Morton
at in the future you look at the innovative work being done in the open-source community, which now offers very serious and attractive alternatives to conventional products. Frank Morton [EMAIL PROTECTED] ___ Have big pipes? SourceForg

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-26 Thread Frank Morton
> > I have neither a jbosscmp-jdbc.xml or a jaws.xml, assuming it would > > use standard setting if missing. Is that right? > > > Yes if you don't want to tune loading, but then you are not allowed to > complain about speed. > > -dain >From advice from all of you, I have converted all my beans to

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Frank Morton
> Does your ejb-jar have a jbosscmp-jdbc.xml, or a jaws.xml? It should > be only jbosscmp-jdbc.xml (although any jaws.xml should be ignored by > JBoss 3.0 or later). Trying to use jaws.xml with JBoss 3.x is getting > to be a FAQ issue, but I know Dain's been trying to help you with this > so I

Re: [JBoss-user] Moving from EJB 1.x to 2.x

2002-04-24 Thread Frank Morton
> Does your ejbCreate method have "throws CreateException" in its definition > and the interfaces? > > > > Bean: Identifier > > Method: public String ejbCreate(String) > > Section: 10.6.4 > > Warning: The throws clause must define the javax.ejb.CreateException Turns out the ejbCreate method did

[JBoss-user] Moving from EJB 1.x to 2.x

2002-04-24 Thread Frank Morton
Anyone know what these error messages mean when deploying a 2.x entity bean? What exactly does this message mean: org.jboss...DeploymentException: expected one strategy tag I do have in my ejb-jar.xml a ... entry, which is what I assume it is talking about. Also I get this message deploying a b

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Frank Morton
't be the case. JAWS is for pre-2.0, right? Can you shed light on this? Frank > Frank Morton wrote: > > >>Dain wrote: > >>BTW: there is a difference between doesn't work and is not fast enough > >>for me. > >> > > > > You are right ab

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Frank Morton
> Dain wrote: > BTW: there is a difference between doesn't work and is not fast enough > for me. You are right about that. With all the weird things I have tried on this, I have never gotten an exception that I didn't cause which is a real testimony to the stability of 3.0.0.RC1. > Have you look

Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Frank Morton
; > If your session bean was called AttributeManager, you would use a > > container-transaction like the following in the assembly-descriptor > element. > > This way, the transactions on the Attribute bean are encompassed by the > > transaction on the session bean method that is iterating over the > > col

STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Frank Morton
; > > AttributeManager > * > > Required > > > Michael > > > -Original Message- > > From: Frank Morton [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April

Re: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Frank Morton
Required Frank Morton wrote: > > > Using 3.0.0RC1 with PostgreSQL underneath. Just converted > > to using a Local Interface, but didn't make as much performance > > difference as I hoped. > > > > I have a case where I need to iterate a C

[JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-23 Thread Frank Morton
Using 3.0.0RC1 with PostgreSQL underneath. Just converted to using a Local Interface, but didn't make as much performance difference as I hoped. I have a case where I need to iterate a Collection resulting from a finder method with an entity bean. Since the collection might have 200 items, perfor

[JBoss-user] Bean Naming Problem: Profile

2002-04-22 Thread Frank Morton
Transitioning to JBoss 3.0 I have been getting a deployment error complaining about some methods in the bean not having matching method definitions in the bean and the remote interface. I couldn't see anything wrong, so I changed the prefix for the bean from "Profile" to "Proffile" and it deployed

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Frank Morton
> -more flexible deployment and classloading system I have to admit I'm a little confused on deployment, particularly in a development environment where things change a lot. Are there any docs anywhere for 3.x or are any planned? ___ JBoss-user maili

[JBoss-user] jar deployment

2002-04-16 Thread Frank Morton
Can I deploy helper classes by copying them into the deploy directory as a .jar file rather than have them in the "lib" directory at startup time? I'm using JBoss 3.0 RC1. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/li

Re: [JBoss-user] ONJAVA-- JBOSS: SUN NEEDS US

2002-03-20 Thread Frank Morton
o Jboss. I would think Sun would read it, and realize that if they hold on too tight, .net is going to hurt them and once again the Microsoft marketing machine will inflict pain upon them with a lesser product. Certifying Jboss is the right thing for Sun to want to happen. Keep it up

[JBoss-user] Documentation: Sams Book

2002-03-14 Thread Frank Morton
/www.amazon.com/exec/obidos/ASIN/0672323478/qid=1016144099/sr=8-1/ref= sr_8_3_1/002-9661662-9694448 I think all ought to buy a copy or two just to support the project! Frank Morton [EMAIL PROTECTED] ___ JBoss-user mailing list [EMAIL P

[JBoss-user] Help: jndi lookup problem from servlet

2002-01-05 Thread Frank Morton
I've been happily running with jboss 2.4.1 and tomcat 3.2.3 running under different JVM instances on a development box (solaris 8/sparc). I needed to move to tomcat 4.0.1 for one method not available under the old spec. But now, given an entity bean with: base2/profile If I use this bean from a

[JBoss-user] classpath confusion

2002-01-03 Thread Frank Morton
I have accumulated a lot of stuff in my CLASSPATH and JBOSS_CLASSPATH that probably doesn't need to be there. Advice on the forums seems to range from to not touch JBOSS_CLASSPATH to just pile everything into the two paths until it works, which is what I've done.   Does anyone really know wh

[JBoss-user] cmp limitations

2001-11-08 Thread Frank Morton
I'm still a newbie but I think I'm learning finally that cmp works great retrieving a single row. But, when retrieving a Collection of any size (like 100) the overhead is so significant that performance makes it unusable. So, you are stuck moving to a session bean and doing your own management of

[JBoss-user] cmp read-ahead question

2001-11-08 Thread Frank Morton
With read-ahead set to true on a cmp entity bean, is the content loaded with a single select or just call load for each bean individually as normal? If it is multiple selects, has anyone looked into prefetching the bean content with a single select? That seems like it would be a significant cmp o

[JBoss-user] jboss-jetty package docs?

2001-11-04 Thread Frank Morton
Any recent docs on installing and configuring the jboss-jetty package (under linux)? ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] setter/getter methods by name solution

2001-10-31 Thread Frank Morton
Earlier the list helped me build some methods to include in an entity bean to set/get field values by name using reflection. As it turns out, the PropertyDescriptor approach reported earlier to work doesn't work all the time. I was not able to pin down exactly what the problem was because it worke

Re: [JBoss-user] load failed exception

2001-10-30 Thread Frank Morton
Thanks Michael for getting me started down the right track. I had used a utility to generate the list of instance variables in the Bean class which neglected to declare them all "public." Set them all to public and all back to normal. Frank > I have an CMP entity bean running with 2.4.3 and my

[JBoss-user] load failed exception

2001-10-30 Thread Frank Morton
I have an CMP entity bean running with 2.4.3 and mySQL under Solaris 8/SPARC. The bean was fine, but I needed to add some fields. I added the fields and associated methods as well as modified the ejb-jar.xml file. Redeployed. Dropped the old table. Restarted jboss to make sure it built the new tab

Re: [JBoss-user] HeuristicRollbackException after being idle RESOLVED

2001-10-27 Thread Frank Morton
The HeuristicRollbackException after a long period of inactivity was caused by mysql timing out. The changes David Jenks suggested solved the problem. Thanks David! Below are the current settings from my jboss.jcml file for version 2.4.3. Any further refinement suggestions welcome. org.gjt.mm.m

[JBoss-user] performance problem update

2001-10-26 Thread Frank Morton
I reported what I thought was a CMP performance problem a few days ago. Many of you responded with helpful ideas. Thanks! In the process I have learned quite a bit, mostly how to use CMP *more* properly. This newbie still has more to learn. I thought I'd pass along what I found out. First, if yo

Re: [JBoss-user] performance problem

2001-10-25 Thread Frank Morton
ng other things. Exact same behavior if instead of findAll() to get a Collection, I use findByPrimaryKey() for one object. I appreciate the help. Frank > How many entities are in the collection being returned from findAll()? > > James Hicks > > -Original Message- >

Re: [JBoss-user] performance problem

2001-10-25 Thread Frank Morton
;s important. > > Fred Loney > Spirited Software, Inc. > www.spiritedsw.com > > > - Original Message - > From: "Frank Morton" <[EMAIL PROTECTED]> > To: "Fred Loney" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Th

[JBoss-user] performance problem simplified

2001-10-25 Thread Frank Morton
I now have a simple example of my performance problem. There is a CMP entity bean called Profile. There is also a session bean called ProfileControl. The findAll() method in ProfileControl is a simple pass-through of the findAll() method from the Profile class. The Factory class is just a lookup

Re: [JBoss-user] performance problem

2001-10-25 Thread Frank Morton
> What is Profile? An EJBObject? Where did the profile object come from? Yes. Profile is an EJBObject. > ejbPassivate() is called at the discretion of the JBoss container, not > necessarily when a task is completed. An EB is passivated when it is > swapped out of the instance pool. If there are

Re: [JBoss-user] performance problem

2001-10-25 Thread Frank Morton
> What is Profile? An EJBObject? Where did the profile object come from? Profile is an EJBObject. It was instantiated in the first place with the findAll() finder method. I stuff the resulting Collection in the session (is this the best way to do it?) which is then retrieved from the session by t

[JBoss-user] performance problem

2001-10-24 Thread Frank Morton
Still a newbie, but making progress thanks to the list I'm using a servlet that processes forms, puts the necessary results in the session and redirects to a jsp page. Working pretty well, but the display of the jsp page is very slow. Poking around, I found out something that probably has an

[JBoss-user] ClassCastException $Proxy3

2001-10-23 Thread Frank Morton
I hope I can ask this in a way that makes sense. This is pretty deep into things for this newbie... All my CMP entity beans extend a base class I call EntityBeanExtended. It has a number of common methods and a common field "id." It also has a method called get(name) that uses reflection to get t

[JBoss-user] reflection with entity beans?

2001-10-22 Thread Frank Morton
If I have an CMP entity bean with a field named "name" and corresponding methods setName() and getName(), is there a way to use reflection to have the same affect as setName() given the name of the field? In other words, I'd like to have a general method set() that takes the name of the field and

Re: [JBoss-user] HeuristicRollbackException after being idle

2001-10-22 Thread Frank Morton
> Do your db connections time out? If so, try setting up your pool with > idletimeout true, gcenabled true, blocking true, and reasonable times. If > you try this please let us know if it works > david jencks They do timeout with mysql. All these things were set to false, so my jboss.jcml now con

[JBoss-user] HeuristicRollbackException after being idle

2001-10-21 Thread Frank Morton
I'm using a CMP entity bean to store user profiles. Access to the bean is from a long-running servlet under tomcat. Jboss version is 2.4.3. OS is Solaris 8 with JDK 1.3.1_01. All works fine until the servlet sits idle for a long time (that is, overnight). Next time I try to invoke a finder method

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread Frank Morton
Thanks for pointing me where the finder properties go, but I'm still missing something. When calling findAll() it still isn't sorting. In fact, I defined the something that should error (that is, made the order "nameLast ERROR") and no error occurred, so it still isn't being used. Everything is

[JBoss-user] sorting with findAll()

2001-10-18 Thread Frank Morton
I'd like to specify the sorting order with findAll() for a CMP entity bean. First thing I tried was adding the following to standardjaws.xml: Profile findAll nameLast false

[JBoss-user] cmp primary key

2001-10-15 Thread Frank Morton
I'm a newbie for sure, but I've been surfing around for a solution to assigning unique primary key values with CMPs. I have seen lots of vague descriptions of how to do it and some specific ones that are all followed by other comments from people why that solution doesn't work. Does anyone have a

Re: [JBoss-user] newbie session bean question

2001-10-15 Thread Frank Morton
>Hermann RANGAMANA wrote: > What you're talking about is singleton pattern ... i've read in a discussion > at theserverside.com that it's impossible to achieve singleton pattern with > ejb, and didn't do further on my research What I'm trying to accomplish is a way to assign a unique integer

[JBoss-user] newbie session bean question

2001-10-13 Thread Frank Morton
I'm still learning this stuff... I would like to have what I think would be a stateful session bean, but I need to only have one instance of the bean system wide with synchronized access to the members. It is caching some stuff. Can someone give me a guide how to do this or refer me to somewhere

[JBoss-user] Shouldn't It Be CreateException

2001-10-03 Thread Frank Morton
I'm using JBoss-2.4.1a_Tomcat-3.2.3.zip with mySQL. If I attempt to create two beans with the same primary key, I get back: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY EXIS

[JBoss-user] newbie jndi.properties question

2001-10-01 Thread Frank Morton
have the host url defined or names can't be resolved, but the comment saying not to put that there has me confused. What is the right way to do this? Thanks. Frank Morton [EMAIL PROTECTED] ___ JBoss-user mailing list [EMAIL PROTECTED] https

[JBoss-user] newbie persistence question

2001-09-30 Thread Frank Morton
I realize this is probably a really dumb question, but I'm just getting into the different persistence models. I understand CMP and how it could be used nicely for something like users of a system. But what if I want to do a simple query that returns multiple results, like say all users that live

Re: [JBoss-user] servlets vs. EJB

2001-06-28 Thread Frank Morton
-size applications (say 30,000 lines of code or less). I'd really like to hear comments from you knowledgeable ones that have already made the transition to the EJB approach why you did it and are you glad ;-) Frank Morton [EMAIL PROTECTED] > Is it possible for an EJB architecture to beat th

Re: [JBoss-user] Newbie: CMP Often Too Simple?

2001-04-11 Thread Frank Morton
> I believe your observation is quite correct, for EJB 1.1. To do anything > sophisticated at all, which is always required in a usefull application, > you have to use BMP, which negates much of the advantages of EJB for many > people. > [snip] > > Still, I moved to EJB 2.0 quite a while ago. It h

Re: [JBoss-user] That rude word (marketing)

2001-04-10 Thread Frank Morton
Regarding exposure, we ought to be displayed on: http://java.sun.com/products/ejb/tools1.html Becoming a new fan of jboss... Frank Morton [EMAIL PROTECTED] - Original Message - From: "Peter Routtier-Wone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturda

[JBoss-user] Newbie: CMP Often Too Simple?

2001-04-10 Thread Frank Morton
I'm an EJB newbie, so be kindand I am reading everything I can find but still have a fundamental question. Is it right that in real-world applications, which inevitably are more complicated than testing examples, that using CMP entity beans is usually too simple-minded and BMP is kind of the