Re: [JBoss-user] JBoss welcomes the Hibernate project

2003-09-17 Thread Dan Christopherson
Heh? Bill said, "JBoss 4 CMP2 will be written on top of Hibernate's persistence engine." There will be a CMP engine, just a different one. This is no different than when the 3.x CMP engine replaced JAWS. JD Brennan wrote: Does that mean JBoss Group is no longer working towards J2EE certificati

Re: [JBoss-user] JMS: JBoss to Weblogic messaging

2003-08-28 Thread Dan Christopherson
Curley, John wrote: Hi, All: Can anyone give me feedback on performing JMS messaging to/from JBoss/WebLogic environments? Should there be any issues with guaranteed messaging? In theory, there should be interoperability between the two environments as implied by the J2EE specification. Not rea

Re: [JBoss-user] Re: Recent CVS removals

2003-08-14 Thread Dan Christopherson
Bill Burke wrote: The fact remains that you participated in a JBoss fork. This shows a complete lack of commitment to the JBoss project and community. You have lost the trust of the JBoss project admins. Frankly Bill, I don't see what good removing their CVS commit priviledge is going to do: now

Re: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Dan Christopherson
Per the EJB spec, throwing an application exception doesn't cause a rollback. call setRollbackOnly on the bean's context object. Nikolay Ganev wrote: hi all, I tried to test CMT using JBoss. I made simple example using Session Statefull Bean updating the database... there is method that intentio

Re: [JBoss-user] JBossDO page is on the site

2003-07-03 Thread Dan Christopherson
Erik Price wrote: Thank you for posting this, as I have not yet learned enough about EJB (or JDO for that matter) to have an opinion on this subject. But it seems that what you suggest is at odds with some of the writings of Marc Fleury. I am trying to reconcile all of these different perspect

Re: [JBoss-user] RE: Performance gains using local interfaces inservlets

2003-06-23 Thread Dan Christopherson
Also, not knowing whether you're going to get pass-by-reference or pass-by-value semantics could lead to a lot of coding issues. Imagine a shopping cart stateful session that has a method that returns its contents as a vector. If the return is by reference, the client could change the internal

Re: [JBoss-user] Quick Explanation.

2003-06-06 Thread Dan Christopherson
Short answer - the BMP bean returns the keys because that's what the spec says to do. It really _should_ verify that the keys passed in are valid, but hey, it's an example! Long answer: That method would be exposed to clients on GangserHome.findByPrimaryKeys(Collection keys); The container int

Re: [JBoss-user] jboss on linux (performance)

2003-03-19 Thread Dan Christopherson
Are you looking at ps output? The memory is actually shared between all of the threads running in the same VM. It should be showing up under the 'shared' column in ps or top output. This deceptive reporting is an artifact of Linux's threading model: a thread is basically a process with copy-on-

Re: [JBoss-user] JBoss does not close Postgres JDBC transaction

2003-03-14 Thread Dan Christopherson
I believe that the connections are 'in transaction' because the commit call commits one transaction and begins the next. There is no beginTransaction call, so that's pretty much the way it has to work, I believe. -danch Alexey Yudichev wrote: My application does not use direct jdbc calls and

Re: [JBoss-user] Performance estimation

2003-03-07 Thread Dan Christopherson
Unfortunately, a lot of this depends on how you design your application, and a few configuration options for JBoss. It shouldn't be much of a problem if you have plenty of memory (and allow the JVM to use it via -xmx flag), and use Commit option A on all entities. CMP2 with read-ahead will be m

Re: [JBoss-user] narrowing results in finders

2003-03-06 Thread Dan Christopherson
Personally, I'd keep this particular signature as a collection - you can have valid data that might break the single-return interface. Of course, you might be dealing with such a small 'universe' of entities that you consider this unlikely, but such assumptions make me _very_ nervous. Perhaps

Re: [JBoss-user] can I call System.exit(0) in an EJB method?

2003-02-19 Thread Dan Christopherson
There are a lot of things that are prohibited by the spec that aren't actually prevented by many application servers. This could be restricted via security model, but this sort of behavior tends to be its own punishment anyway. -danch Joe Hung wrote: 2.4.3 seems to let me do this. I remember

Re: [JBoss-user] Stateless session beans

2003-01-28 Thread Dan Christopherson
activated, you mostly need to worry about releasing resources on ejbRemove. grabbing resources can be done eagerly in ejbCreate, or lazily in accessor methods. Thanks for your help, Lucas -Original Message----- From: Dan Christopherson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 2

Re: [JBoss-user] Stateless session beans

2003-01-28 Thread Dan Christopherson
The section germain to the original question is 7.11.8 (2.0 spec) "Non-reentrant instances" The container must ensure that only one thread can be executing an instance at any time. As far as a stateless bean having member variables, you are correct in that it isn't prohibited so long as the me

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-24 Thread Dan Christopherson
Hunter Hillegas wrote: Yeah, I did specify 'ORDER BY' and it wasn't the databases fault. By returning a java.util.Set, the collection was in an order I didn't expect... OK, I've got to ask it: why did you expect any particular ordering from a set implementation? -

Re: [JBoss-user] Can two separate client threads make simultaneouscalls?

2003-01-22 Thread Dan Christopherson
These deadlocks are most likely on your entity beans (the second one is fishy looking, but I really can't say much without seeing more (all) of the stack trace.). By default, JBoss only keeps one instance per bean identity, so each transaction from your client will block on the entity. Give the

Re: [JBoss-user] Increase memory originally allocated to runningJBoss

2003-01-20 Thread Dan Christopherson
look at the docs for the Java command. Sun's VM allows -Xmxm, where is the maximum heap size in megabytes. You might also want to look at setting up a cron job to touch your ear every couple of days, to force a redeploy. That _should_ dump any memory your application is using as well. hth, da

Re: [JBoss-user] Jboss/java on Linux SMP box?

2003-01-14 Thread Dan Christopherson
You're comparing apples with oranges, bananas with baboons. If your dual processor box has 'slow' drives and your laptop's IDE has sufficient bandwidth, io bound things like database access and JSP compiles will be faster. I'd imagine that your (new?) dual athlon has lots of fast disk on 160MB

Re: [JBoss-user] Cmp vs hibernate

2003-01-09 Thread Dan Christopherson
fell apart under certain conditions. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Christopherson Sent: Thursday, January 09, 2003 2:32 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Cmp vs hibernate Matthew Baird wrote: couple notes

Re: [JBoss-user] Cmp vs hibernate

2003-01-09 Thread Dan Christopherson
Matthew Baird wrote: couple notes: - try selling an enterprise level application that doesn't support a "standard" rdbms on the backend (oracle/sql server/db2) Probably the second biggest thing (after fear of change) that caused ODBMS's to be stillborn: "Will work with it? No!?!?! How do you

Re: [JBoss-user] error in using pgsql 7.2

2002-12-18 Thread Dan Christopherson
The only thing I see is that your datasource tag is still pointing to java:/DefaultDS. Did you set up the postgres-service.xml to deploy at that location? Did you also remove the hypersonic configuration that was at that location? -danch [EMAIL PROTECTED] wrote: > My version of JBoss is 3.0.2 run

Re: [JBoss-user] Using Apache web server - yes or no?

2002-12-17 Thread Dan Christopherson
Another thing to remember is that JBoss must run as root to listen on port 80 or 443. That would be something that security conscious people might not want to do on a public server. -danch Larry O wrote: I would suggest another criteria. If your application is on an intranet or private network

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
Well, cheat, like Rick! 8^}) have a reference to a singleton in a stateless session bean. Just make sure the singleton is thread safe, and lacking in bottlenecks if you have a lot of volume to deal with. -danch Schnitzer, Jeff wrote: I need to cache some data that is both physically large and

Re: [JBoss-user] Abusing a slsb

2002-12-09 Thread Dan Christopherson
LaBanca, Rick wrote: Say I had a stateless session bean, that had an instance variable foo, and in ejbCreate, it set foo (always to a singleton object), and one method to use foo in some way. Since ejbcreate will be called first anyway, is there any internal jboss voodoo that could give me a surp

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
Schnitzer, Jeff wrote: I 100% agree with the need for singletons, btw. It's pretty much impossible to legally cache something in J2EE apps. Not all of us are building ecommerce systems, we don't always need 100% transactional integrity. even in transactional systems, not every access needs t

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
Dain Sundstrom wrote: On Monday, December 9, 2002, at 12:08 PM, Dan Christopherson wrote: Dain Sundstrom wrote: Ah, there's the rub! So my blithering about a hypothetical 'asynchronous task' API needs to be amended again: tasks _must_ run in their own transaction!

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
Dain Sundstrom wrote: On Monday, December 9, 2002, at 10:51 AM, David Ward wrote: Bill Burke wrote: Answer? Because there is no way to propagate transaction and security contexts to the spawned threads unless J2EE provided a thread creation API. Bill I was under the impression that transa

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
Dain Sundstrom wrote: On Monday, December 9, 2002, at 10:51 AM, David Ward wrote: Bill Burke wrote: Answer? Because there is no way to propagate transaction and security contexts to the spawned threads unless J2EE provided a thread creation API. Bill I was under the impression that transa

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
David Ward wrote: Bill Burke wrote: Answer? Because there is no way to propagate transaction and security contexts to the spawned threads unless J2EE provided a thread creation API. Bill I was under the impression that transaction and security context propagation was done using java.lang.

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dan Christopherson
LaBanca, Rick wrote: While not particular to j2ee, I want to repeat something I've sent to sun about the spec. Since this is a bleeding edge list, it's the best place to get my opinion slammed down! Regarding ejb's. There are two missing elements I don't understand. First, the restriction of thr

Re: [JBoss-user] FYI: The Register - Article mentioning JBoss, JCPand Sun

2002-12-09 Thread Dan Christopherson
David Ward wrote: David Jencks wrote: JBoss 3.0.x+ includes Apache AXIS integration... isn't that most of the way there (to web services)? Correct me if I'm wrong, but since it appears that JAXM based Message Driven Beans isn't going to make it in EJB 2.1, Do you happen to know why not?

Re: [JBoss-user] Using a JBOSS DataSource Outside of JBOSS

2002-12-03 Thread Dan Christopherson
Ah, the question everyone gets tired of answering... David Jencks wrote: No, definitely not, for some very good reasons that I've explained many times in the past. david jencks On 2002.12.03 16:35:01 -0500 Ed Saikali wrote: Hi, Is it possible to use a JBOSS data source outside JBOSS, is ther

Re: [JBoss-user] Postgres users

2002-11-20 Thread Dan Christopherson
You did change the postgres config so that it's JNDI name is java:/DefaultDS, right? LaBanca, Rick wrote: I had changed my standardjbosscmp-jdbc.xml to: java:/DefaultDS PostgreSQL 7.2 ... Is that the file you meant? I don't see one named exactly jbosscmp-jdbc.xml... -Orig

Re: [JBoss-user] Bug found: Invoker Service stoppage -> Too manyThreads -> JMS QueueConnection not closed

2002-11-18 Thread Dan Christopherson
Dan A. Dickey wrote: Finally (no pun intended), I tracked my problem with the Invoker service dying down to my jsp not doing a close() call on the QueueConnection. This really doesn't seem correct to me, that a client not doing something properly can bring JBoss to its knees. I haven't looked at

Re: [JBoss-user] What is the proper way to name a datasource?

2002-11-08 Thread Dan Christopherson
use "java:comp/env/jdbc/OracleDS" with a in your deployment descriptor, then map the server-specific name to that name. -danch Jon Haugsand wrote: We have an application that we are trying out on several application servers, i.e. Borland, Weblogic and of course JBoss. This application uses CMP

Re: [JBoss-user] Entities are not cached

2002-10-10 Thread Dan Christopherson
You don't say what version you're using, but I'm assuming it's 3.0 or later. In 3.0 the default commit option was changed to 'B', which does not cache data. Either change this to 'A' in standardjboss.xml or override the container configuration in your jboss.xml. hth -danch Alexey Yudichev wr

Re: [JBoss-user] Value Objects...

2002-10-09 Thread Dan Christopherson
Markus Garscha wrote: > Hi, > > * Jon Haugsand <[EMAIL PROTECTED]> [2002-10-09 14:48]: > > ok, i understand. but where to place business methods? in NameBean.java? yes > are there any problems with method-based security? e.g. user admin is > allowd to use setId() but user1 not... no, that wil

Re: [JBoss-user] Value Objects...

2002-10-09 Thread Dan Christopherson
Jon Haugsand wrote: > * Markus Garscha > >>Hi! >> >>i started to play with xdoclet. xdoclet generates "value" classes which >>implement serialize. what are they good for? examples? >>is this a workaround for relations which are accessed over remote >>interfaces? > > > You are supposed to use t

Re: [JBoss-user] jetty & ldap

2002-10-09 Thread Dan Christopherson
Yes Stefan Groschupf wrote: > Hi, > is it possible to use ldap users to secure jetty contexts? > Thanks > Stefan > > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _

Re: [JBoss-user] RE: Indexing of finders

2002-09-10 Thread Dan Christopherson
I think he's talking about getting JBossCMP to generate a 'CREATE INDEX' statement at the time of table creation, to optimize the database end of the finder. speculation, but that's something I'd want. Except that it never occured to me and I always just added the indexes manually. Oh, well.

Re: [JBoss-user] Strange select statement

2002-08-19 Thread Dan Christopherson
Pavel Kolesnikov wrote: > On Mon, 19 Aug 2002, Sacha Labourey wrote: > > >>Hello Pavel, >> >>No, it is not an error and this code hasn't been generated by xdoclet but by >>the CMP 2.0 engine. > > > Yes, I understand the SQL statement itself has to be generated > by CMP engine. > > >>Everythi

Re: [JBoss-user] About the performance of embedded Tomcat

2002-08-13 Thread Dan Christopherson
Your embedded configuration isn't running optimized calls. This is probably because Tomcat/JBoss is finding the same classes in both the war and the ear. If an interface is in both places, Tomcat will load it from the war and JBoss will load it from the ear (each with its own classloader) and

Re: [JBoss-user] Integrating Non-JMS Messaging with JBoss

2002-07-30 Thread Dan Christopherson
You could pretty easily build an MBean to run your listeners. However, the JMS approach isn't actually that difficult (we've done this - I'll send more details in a private email) a top-notch developer who knows the specs could get this done in a month or say, maybe quicker. Either way, I'd wr

Re: [JBoss-user] Deleting all records

2002-07-24 Thread Dan Christopherson
You'll have ghosts in the cache. Boris Tamarkin wrote: > Dain, > Could You please explain why You don't recommend to "delete all" with > option A? > > Thanks, > Boris > > Date: Tue, 23 Jul 2002 23:06:08 -0500 > From: Dain Sundstrom <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re

Re: [JBoss-user] Best way to lay out source directories

2002-07-18 Thread Dan Christopherson
One thing I've done in the past is keep the value objects and the EJB interfaces (the session beans, anyway) in a separate package. So I might have: org.danch.someapp.interfaces org.danch.someapp.ejbs org.danch.someapp.webcrap //beans -n- stuff then a separate top level directory for the actua

Re: [JBoss-user] JMS Queues - Number per application/Limitations/best practices...

2002-07-17 Thread Dan Christopherson
Well, 4 to 10 queues should be no problem at all, no matter what the JMS implementation. I think you'll run into administration problems before technical problems as far as the number of queues goes. Technical problems I've seen (in various queuing implementations) have more to do with volume

Re: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Dan Christopherson
Has anyone brought up an MBean? They're easy to write, are re-deployable in JBoss 3, have no restrictions (like threading and file access) and can put themselves in JNDI to be lookup up by the application. I believe JBoss 3 even lets a .sar (Service ARchive) containing MBeans to be packaged in

Re: [JBoss-user] ^C and kil doesn't cleanly shutdown JBoss

2002-07-11 Thread Dan Christopherson
This has always worked for me. Which pid are you trying to kill? Under linux, you have to be careful about the ps output - each thread shows up as a separate process - I do a 'ps axf', look for the 'java' process that is the parent for all the other java processes and kill that. Of course, ^C

Re: [JBoss-user] Running different versions of a webapp

2002-07-09 Thread Dan Christopherson
You'll also need different descriptors for the two versions, to map each to the proper database and to bind to different JNDI names. danch [EMAIL PROTECTED] wrote: > Use scoped ears. Search jboss-user, or release notes for 3.0 final for details. > > On Tue, Jul 09, 2002 at 10:02:17AM +0200, Ke

Re: [JBoss-user] is coding a bean truly independent from deployment?

2002-07-02 Thread Dan Christopherson
Well, I think you've got it right. I beleive that the distinct and arbitrary seperation of roles was an attempt at simplification by the spec authors, but in reality it tends to confuse people who are more accustomed to reality 8^}). Of course the assembler and deployer roles also make more se

Re: [JBoss-user] read-ahead in jboss3.0 CMP

2002-06-24 Thread Dan Christopherson
How are you accessing the entities? If your accesses are not all in the same transaction, the read-ahead is wasted right now. -danch Steve Buikhuizen wrote: > Hello, > > I'm trying to get read-ahead working with the 3.0 release. Here's what > my jbosscmp-jdbc.xml looks like. > > > >

Re: [JBoss-user] JBoss3.0.0 final / tuned-updates

2002-06-14 Thread Dan Christopherson
I don't think that's a bug. The tuned-updates and the store are separate issues. Tuned updates sends a sql update query altering only the fields whose state has been altered. Modified Beans need to be stored right _before_ a findXXX is executed to guarantee consistent results. -danch Ionel Ga

Re: [JBoss-user] Where to put a ejb jar especif lib

2002-06-06 Thread Dan Christopherson
Try putting the ejb-jar and the library into an ear. You might need to use a classpath manifest entry to point to it. Emerson Cargnin - MSA wrote: > You got me wrong... > > I asked : > What directory, INSIDE THE EJB.JAR, I can put my jars libs... > - Original Message - > From: "Greg Tur

Re: [JBoss-user] Creating jboss user in linux

2002-06-05 Thread Dan Christopherson
Make sure that the jboss user can write to the log directory and the server.log file. Also, If you're using port 80/443 for the web container, it would have to run as root. The best thing to do in that case is to use apache to accept the connect (and do ssl) and use the ProxyPass module to for

Re: [JBoss-user] Serious performance issue in JBoss3/Tomcat4 bundle?

2002-06-05 Thread Dan Christopherson
Tobias Seelinger wrote: > HH> The funny bit is that when I run my app on separate JBoss 3.0 and Tomcat 4.0.3 >instances, performance is acceptable. (Well, almost, it is not a blazingly fast >machine ...) > HH> I'll keep on running Tomcat separately, but I will test the Jetty bundle also >and co

Re: [JBoss-user] Four more to go ... @ JDJ Best App Server

2002-06-05 Thread Dan Christopherson
Bill Burke wrote: > Wahoo! We're in 4th place now! Just went ahead Borland. Next lets shoot > for Oracle > Or just shoot Oracle. It's ridicilous (spelling error intended) that they get _any_ votes for _any_ product of theirs other than the database. -- ==

Re: [JBoss-user] Here we go!! Lesss than half the numbers to be at the top.

2002-06-05 Thread Dan Christopherson
Rajesh Acharya wrote: > IBM WebSphere Application Server 4.0 - 3414 > BEA WebLogic Server 6.1 - 3063 > Oracle9i Application Server - 2692 So Oracle has 2692 employees, I guess > JBoss - 1317 > Borland Enterprise Server - 1304 > > Let's vote. When we get an app server free along with source code

Re: [JBoss-user] Classloader problem

2002-06-05 Thread Dan Christopherson
Ludovico Basili wrote: > Hello, > I use the Data Access Object pattern to separate my EJBs from the data tier. > The DAO classes are automatically generated from XML files and compiled at > runtime. > This task is performed by a class called DAOBuilder. It parses an XML file > (for example, Accoun

Re: [JBoss-user] jndi question

2002-06-03 Thread Dan Christopherson
Well, it depends on what context the code inside the JBoss JVM is executing in and on what the 'something' is. If it's in a J2EE component (servlet, JSP, EJB) JBoss will give it an Environment Naming Context (ENC) which contains JNDI entries that are mapped into the components environment by w

Re: [JBoss-user] Problem with Interest example

2002-06-03 Thread Dan Christopherson
that's usually the way it goes - as soon as you ask for help, you realize what's going wrong. When you try to call from the other machine, do you remember to copy the jndi.properties to the classpath of that machine? Also, beware of changing the jndi.properties in the JBoss config directory -

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Dan Christopherson
I believe one of the changes from 2.2 to 2.4 was that 2.4 includes log4j. What you're seeing is probably from a ClassCastException where there are two copies of org.apache.log4j.Category - one in your application and one in JBoss' lib/ext directory. Try taking all log4j classes out of your app

Re: [JBoss-user] LDap example

2002-05-24 Thread Dan Christopherson
Probably just not with standalone Tomcat. I'm running Jetty/JBoss integrated with LDAP auth. If I were running standalone I'd have spoken up. I think that the best way to accomplish what you're after would be to run Tomcat embedded in another JBoss instance. Just strip out all (most) of the ot

Re: [JBoss-user] JBoss SqlException shared memory realm does not exist

2002-05-24 Thread Dan Christopherson
I'm not an oracle expert, but your .ora file looks like it should work - it lists a TCP port to listen on, so it should be available. What I'm wondering is what driver you're using? If you're using the OCI driver, I think it's possible to give it a URL that specifies that it use shared memory

Re: [JBoss-user] locking in initializing cluster

2002-05-23 Thread Dan Christopherson
It's trying to do multicast is the problem I believe. Normally that isn't set up under windows (is my shady understanding - I ran into this on my windows laptap, moved the cluster-service.xml file, and became happy). -danch Emerson Cargnin - MSA wrote: > I didn't get your point. > it tries to

Re: [JBoss-user] RE: [JBoss-dev] Open-Source Fight Flares At Pentagon

2002-05-23 Thread Dan Christopherson
Mike Finn wrote: > > "Microsoft also said open-source software is inherently less secure because > the code is available for the world to examine for flaws, making it possible > for hackers or criminals to exploit them. Proprietary software, the company > argued, is more secure because of its clo

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-22 Thread Dan Christopherson
Emerson Cargnin - MSA wrote: >>I got the impression that the original post was for an ISP environment, >> > > no, i'm working in defining an developing environment for a froup of about > 40 developers, so we can't afford bying a big machine for each one : ) > It doesn't really take that much. I

Re: [JBoss-user] XML Object persistence

2002-05-20 Thread Dan Christopherson
Probably the easiest way to do this is to declare the CMP field as a String and do the XML translation yourself in ejbStore/ejbLoad. -danch áÎÄÒÅÊ ïÎÉÝÕË wrote: > Hello All. > > It is possible to get this feature in Jboss for now. > I use Jboss 3.0.1 RC1 / Tomcat 4.03 > > Few of my ent

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Dan Christopherson
Matthew French wrote: > Dain Sundstrom mentioned: > > >>This is a feature I have wanted for a while. We discussed this at the >>JBoss retreat, but no one can seem to decide on how to pull it off. I >>think we should support a ports file (MBean) which the other services >>would look to first fo

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb- jars in Different EARs

2002-05-17 Thread Dan Christopherson
t; same ejb-names, different JNDI names. > > Hunter > > >>From: Dan Christopherson <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>Date: Fri, 17 May 2002 10:12:50 -0500 >>To: [EMAIL PROTECTED] >>Subject: Re: [JBoss-user] Does JBoss3 have Pro

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb- jars in Different EARs

2002-05-17 Thread Dan Christopherson
David Jencks wrote: > > Why would you want to have several versions of a class deployed at once? > Is this a real use case? > Another one: two applications that are deployed on the same server using different versions of the same framework. This is a very common situation. -danch _

Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar ejb- jars in Different EARs

2002-05-17 Thread Dan Christopherson
David Jencks wrote: > On 2002.05.16 20:39:45 -0400 Paul Cody wrote: > >>Wow, I'm really surprised to hear this. Sorry if this is a stupid >>question, >>but what is the benefit of class visibility between hotdeploys? Stuffing >>everything into a single classloader namespace seems like a high pri

Re: [JBoss-user] Deserializing objects to DB

2002-05-16 Thread Dan Christopherson
I do remember looking at this code in JAWS and saying to myself 'I don't see how that can work, but nobody's complaining, so I'll leave it be.' Simon, I take it you're getting this problem with non-jdk classes? There may be some crufty instanceof testing in there. -danch Simon Stewart wrote:

Re: [JBoss-user] Oracle DS not been used by jaws

2002-05-13 Thread Dan Christopherson
Which version of JBoss are you running? If you're using 3.0 or later and your EJB jar uses the EJB 2.0 dtd, jaws has no effect. Are you changing jaws.xml in your ejb-jar or standardjaws.xml in your config directory. If standardjaws.xml, are you sure you changed it in the right configuration?

Re: [JBoss-user] JAAS : Remote Tomcat and JBoss

2002-05-13 Thread Dan Christopherson
Emerson Cargnin - MSA wrote: > Hi Alex, although this article (almost the JAAS book chap.) is very good, it > doesn't touch the point when tomcat is in a separate machine without JBoss. > Could anyone help in this, i haven't found any article or discussion about > this, and this will be our case.

Re: [JBoss-user] Changing Pool Parameters

2002-05-10 Thread Dan Christopherson
Your pool shouldn't be a problem (unless you have a lot of users all trying to do this at the same time). Are you calling the finder from a session bean, or directly from UI? If directly from the UI, step one is going to be to change that so that the finder gets called from a session bean whic

Re: [JBoss-user] Mysterious JBoss!

2002-05-10 Thread Dan Christopherson
David Hamilton wrote: > Hi all, > > I've got a mysterious version of JBoss/Tomcat on one of my servers. The > person who installed it didn't leave the version number in the directory > name. > > So how do I determine the version? A search of my local 2.4.4 > installation show no sign of any

Re: [JBoss-user] Preferred JDK versions for JBoss 3?

2002-05-02 Thread Dan Christopherson
Well, since nobody else is answering... For production, I'd stay with JDK1.3, at the latest bugfix release available for your platform. It's relatively recent that JBoss has run in 1.4 and I'm not sure how many are using that. Likewise, I haven't heard anyone complaining of core dumps, etc. wi

Re: [JBoss-user] simple deployment problem?

2002-05-02 Thread Dan Christopherson
Eric Kaplan wrote: > I seem to be caught in a catch-22, or something like it. > I have two ejb jars. Jar A has ejbs which reference those in Jar B. Both > Jars are then built into an ear file. > In the ejb-jar.xml for jar A, the ejb-ref statements do not have ejb-link > elements for the ejbs in

Re: [JBoss-user] EJX XML editor

2002-05-01 Thread Dan Christopherson
I run the integrated Jetty-JBoss bundle with Apache at the front end. All I'm doing, though is using Apache's Proxy-Pass module so that Apache does SSL cryp/decrypt and hands off to Jetty for the application. The same could be done with Tomcat-JBoss, ASAIK. The advantage with this is that it's

[JBoss-user] Re: [JBoss-dev] Getting EJBException in JBoss

2002-04-26 Thread Dan Christopherson
This is liable to be a null pointer exception someplace. First step is to put some debug logging in the stateless session bean method that's being invoked. One thing that I do when I hit these is to (temporarily!) put a try {...} catch (Exception e) {/*trace output here*/} block around the gut

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

2002-04-26 Thread Dan Christopherson
First, the re-fetch you see between your two tests is because of the commit option. Option B (default in 3.0) doesn't cache data between transactions, although the bean instances will be cached. If you aren't clustering and your data can't be modified from anywhere else, you can change standar

Re: [JBoss-user] DB2 Pool don't reuse open connections

2002-04-03 Thread Dan Christopherson
Are you calling 'close' on your Statement and Connection objects after use? This should be done in a 'finally' clause to ensure that it will happen regardless of any errors. Note that this doesn't actually close the connection; it just notifies the pool that you're through with it. -danch Mar

Re: [JBoss-user] custom login module trouble (found a bug)

2002-04-01 Thread Dan Christopherson
I haven't run into it anywhere. I was looking at the official JAAS documentation at the time and had to compare with the examples and ask myself "If I wrote a parser badly, what would it choke on?" a lot. danch Todd Marshall wrote: > Danch- > > is this fact posted somewhere? > > I didn't see

Re: [JBoss-user] Tomcat4 standalone classloading

2002-04-01 Thread Dan Christopherson
I think he means the classes themselves (bytecode) not the references. I think/thought that the JRMP invoker did annotate the stuff with the server codebase (hostname:8083 would be the key URL). Not sure, since I usually run Jetty and JBoss integrated these days. -danch Alex Loubyansky wrote:

Re: [JBoss-user] What is sar ?

2002-03-27 Thread Dan Christopherson
Service archive. It lets you deploy & undeploy services (generally MBeans) as units, making JBoss more modular - you can change one service's config and re-deploy it without restarting the entire server. danch Maris Orbidans wrote: > mysql-service.sar > > sar ? > > > > Maris >

Re: [JBoss-user] Sleeping JBoss

2002-03-25 Thread Dan Christopherson
When you switch to the console window that JBoss is running in, is anything selected? Like a one-character cell inverse video area? dovan nguyen wrote: > Hello, > > I use JBOSS 2.4.4 with Tomcat and mySQL on Win 2000 > ... > > I notice if there is no request from a client for > awhile (maybe h

Re: [JBoss-user] How do JBoss handle other application change database content?

2002-03-21 Thread Dan Christopherson
Changes will be picked up as long as you change the 'commit-option' setting from 'A' (the default) to 'B' or 'C'. You can do this either in standardjboss.xml for all entity beans (at the cost of needing to remember that you did that when you upgrade) or by defining a new container-config in yo

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dan Christopherson
Trawick, James wrote: > I asked to be pointed in the right direction to do so, and got zero takers. > Something like "JBoss clustering is based on the Bar Theory Of Distributed > Design being researched at Foo University" or "take a look at > KickAssCluster.java and BulletProofFailover.java and wo

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dan Christopherson
Another proud graduate of the Marc Fleury school of tact. I think that your earlier "Cry me a river." was probably more annoying. -danch Dain Sundstrom wrote: > Let me get this. You are mad because you didn't get some congratulatory > email within three hours of your offer? So here you go: >

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dan Christopherson
Trawick, James wrote: > (taking the developers off this discussion... they don't need to hear about > stupid human tricks) > > THANK you! > > If I believed these people I'd think I was going crazy. Notice how they > never even paid attention to my offers to help out in documentation. I've > w

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dan Christopherson
Very true - the online doc right now says it's for 3.0, but hasn't been completely updated yet. Meanwhile it isn't right for 2.4.x anymore either. Core team members have said that 2.4.x is going to be around for a long time, I think it would behoove us to keep the documentation available, at l

Re: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dan Christopherson
I think that documentation for corportate types will always be of the for-pay variety. It just takes too much time to produce that level of documentation, and it also isn't the sort of thing that developers tend to enjoy well enough to donate the required time. Now if anybody knows an open-source

Re: [JBoss-user] general deployment question

2002-03-11 Thread Dan Christopherson
Eric Kaplan wrote: > > In a related area, we have a fair number of helper classes that all these > beans use (base classes for our beans, data structures to hold the data > passed back to the client apps, etc.). Right now, we add jar files holding > these classes, as well as third party jars, to

Re: [JBoss-user] questions about JBossCMP

2002-03-11 Thread Dan Christopherson
Dain Sundstrom wrote: > >> Is there a deploytool for the O-R-Mapping that comes with JBossCMP? If >> not >> how can we handle our existing ear file containing >40 EntityBeans and >> >50 >> relationships? > > > > What? JBossCMP doesn't need a deployment tool. I think he's talking more about

Re: [JBoss-user] *Linux/*BSD Users

2002-03-08 Thread Dan Christopherson
Actually I'm surprised that you haven't gotten more responses, as I'm quite certain that a number of the core developers work on linux on a regular basis. FWIW, the memory leak mentioned in the other post is fixed for 2.4.5. Another thing to look at for running major load on linux boxen is the

Re: [JBoss-user] Newbie JNDI Question

2002-03-07 Thread Dan Christopherson
One thing you might want to do is turn logging up a little bit in log4j.properties and see if something is actually going south quietly. Mike Kenyon wrote: > I just downloaded JBoss v.2.4.4 as part of an internal effort to migrate one > of our test servers from another app server to JBoss. We'r

Re: [JBoss-user] ejbFindByPrimaryKey intercepted?

2001-08-10 Thread Dan Christopherson
On Thu, 9 Aug 2001, Jim Downing wrote: > > But then successfully completes the test. Is it true then that there is no > guarantee that PersonEJB.ejbFindByPrimaryKey will be executed every time > PersonHome.findByPrimaryKey is called? > True. In particular, ejbFindByPrimaryKey won't be called

Re: [JBoss-user] jboss not sync'd with external db changes

2001-07-27 Thread danch (Dan Christopherson)
Set your commit-option to B or C in jboss.xml David Ward wrote: > (Originally accidently sent this to jboss-development. BTW, this is on > JBoss-2.2.2_Tomcat-3.2.2, JDK 1.3.1, RedHat 7.1, Oracle 8.1.6) > > I'm goin' a bit crazy here... > > If I have a sqlplus window open to my Oracle databas

Re: [JBoss-user] is JBOSS JNDI brain-dead or ...

2001-07-26 Thread danch (Dan Christopherson)
from 'testEnvEntries()': i = (Integer) initCtx.lookup("java:comp/env/Ints/i1"); System.out.println("Ints/i1 = "+i); [EMAIL PROTECTED] wrote: > > I think the point that Chris was trying to make was that the code: > > InitialContext ic = new InitialContext(); >

Re: [JBoss-user] DB connections limit

2001-07-24 Thread Dan Christopherson
gt;false >0.5 >0 > > I'm particularly concerned with activity spikes because a lot of connections > are used in each functionality. > > Thanks in advance, > Carlos Ferrao > > > _______

  1   2   3   4   >