[JBoss-user] JSP compilation error (JBoss+Tomcat)

2001-09-25 Thread Adison
Hi all, I am deploying an EAR that contains EJB and WAR. The EJB and WAR both uses some common classes (stored in a JAR file, say common.jar) So here's the structure of the EAR file: example.ear META-INF/ application.xml web.war META-INF/ MANIFEST.MF (Class-Path: lib/common.ja

Re: [JBoss-user] Accessing JavaMail session

2001-09-25 Thread Guy Rouillier
Title: RE: [JBoss-user] Accessing JavaMail session Timely thread - I needed to do exactly this today.  I used your example, but found I only needed this in jboss.xml:  Is there a reason you included resource-ref in your example jboss.xml? and jboss.xml   tspace/M

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
Ah, well, that ties in perfectly with the conversation being held in this thread . Thanks for the explanation. - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 1:04 AM Subject: Re: [JBoss-user] log4j system.out cat

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
Because System.out.println statements are not sent to all appenders when one uses org.apache.log4j.ConsoleAppender. It that is fine for you good. Its not fine for me. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message --

Re: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread Fred Loney
One possibility is that an object is being removed from the pool objects collection while the pool is being garbage collected. The ObjectPool class removeObject() method synchronizes on a lock, but that does not preclude a concurrent attempt to iterate on the collection, which could raise the Conc

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
Why does JBoss use its own classes when the ones that come with log4j work just as well? I was learning to use log4j for my own (non-JBoss) Java programs. I started with the JBoss log4j.properties file, and when I got various "class not found" messages, I replaced the JBoss classes with the stan

RE: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread Daniel Ferrante
I have narrowed down part of the problem to the following exception being thrown java.util.ConcurrentModificationException [dbPool] at java.util.HashMap$HashIterator.next(HashMap.java:736) [dbPool] at java.util.AbstractCollection.addAll(AbstractCollection.java:317) [dbPool] at java.util.Has

RE: [JBoss-user] (no subject)

2001-09-25 Thread Herve Tchepannou
Title: RE: [JBoss-user] (no subject) - For devellopement purpose, Im using HypersonicSQL - For production, PostgreSQL is a good choice -Original Message- From: Shandrila V.Janardhan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 5:16 PM To: '[EMAIL PROTECTED]' Subject:

[JBoss-user] (no subject)

2001-09-25 Thread Shandrila V.Janardhan
Hello can anyone suggest the open source database that is best supported with JBoss? Thanks Shandrila V.J ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] JBoss 2.4.1 JAAS not thread safe?

2001-09-25 Thread Ferguson, Doug
We just upgrade to JBoss 2.4.1 and now we are getting principal = null exceptions. We found that it has to do with a boolean inside the JBoss security classes and that we can use a static initializer to keep the class from using the boolean. However, we were curious if there is an inteded method

RE: [JBoss-user] Any available performance benchmarks embedded vs. standalone Tomc at ?

2001-09-25 Thread marc fleury
the basic distro has the simple test that shows a factor of 10 marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of King, Tom |Sent: Tuesday, September 25, 2001 4:26 PM |To: '[EMAIL PROTECTED]' |Subject: [JBoss-user] Any available performance benchm

[JBoss-user] Any available performance benchmarks embedded vs. standalone Tomcat ?

2001-09-25 Thread King, Tom
Does anyone know of any available benchmarks b/w embedded and standalone Tomcat? I'm actually in the position of having to "sell" embedded over standalone and was hoping there were some 3rd party benchmarks that I could make reference to. TIA, Tom

[JBoss-user] Re: Newbie trying to ant the JBoss Interest example

2001-09-25 Thread Steven Webster
Hi Glenn. > was then in the $JBOSS_DIST/examples/build directory and ran ant and got > the following response: > > D:\apps\JBoss-2.4.1_Tomcat-3.2.3\examples\build\build.xml:7: You must > specify value, location or refid with the name attribute There is a line in the build.xml file (the

Re: [JBoss-user] Can't start Jboss2.4.1a with catalina embedded

2001-09-25 Thread Pasturel
Pasturel wrote: > hi > I download contrib/catalina from jboss CVS and i compile with no problem > > I put the embedded.jar file under jboss/lib/ext > I configure jboss.conf and jboss.jcml like said in readme file. > I start Jboss and there is no error. It seems to start Catalina ( see > below) bu

[JBoss-user] Newbie trying to ant the JBoss Interest example

2001-09-25 Thread Glenn Wiebe
Help would be appreciated getting this going: using JBoss-2.4.1_Tomcat-3.2.3 distribution, with jakarta-ant-1.4. I ran the "Simple Ant build script to test an Ant installation" successfully. I was then in the $JBOSS_DIST/examples/build directory and ran ant and got the following response: D:\app

[JBoss-user] Create Schedule Service in JBOSS

2001-09-25 Thread pifen ellwood
Hi,   I can't find any document on how to create the Schedule Service except from the JBOSS new release log. Can anyone provide me with the code sample or link with more details. Thanks 431864 Scheduler Service Creation of a Scheduler Service allowing the client to specify a schedule with th

Re: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread David Jencks
Thats a better description of what I was trying to suggest... I don't want "intelligent" self tuning... statistics would be nice to help with manual tuning. Unfortunately I don't have any content to contribute. Thanks david jencks On 2001.09.25 13:49:35 -0400 Fred Loney wrote: > I agree that lo

Re: [JBoss-user] error runing tomcat

2001-09-25 Thread Pasturel
John LYC wrote: > hi , > yes it is in unix form.. > im runnning in on a linux box.. > > John > > - Original Message - > From: "Pasturel" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 21, 2001 10:34 PM > Subject: Re: [JBoss-user] error runing tomcat > > > John LYC

[JBoss-user] Why does NotificationBroadcastSupport::sendNotification call block?

2001-09-25 Thread Sheng Zou
Title: Why does NotificationBroadcastSupport::sendNotification call block? Hi, It looks to me that NotificationBroadcastSupport::sendNotification blocks until the receiver/listener of the notification dies and an RMI exception is thrown. Did I add the listen inappropriate or send a notifi

Re: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread Fred Loney
I agree that low pool size is useful for development; I set it to 2 for that reason. Perhaps a simpler solution than intelligent self-tuning algorithms is documentation: a prescriptive appendix that complements the excellent descriptive documentation. E.g. a section of the HOWTO chapter: How to T

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
No, try it. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9:38 AM Subject: RE: [JBoss-user] log4j system.out category > But this will print out jBoss messages at the info level, ne? > > -Original Message

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
But this will print out jBoss messages at the info level, ne? -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 11:27 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category Try this: # Set the JBossCategoryFactory

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
Try this: # Set the JBossCategoryFactory as the default CategoryFactory log4j.categoryFactory=org.jboss.logging.log4j.JBossCategory$JBossCategoryFac tory log4j.rootCategory=ERROR, Console ### The console appender log4j.appender.Console=org.jboss.logging.log4j.ConsoleAppender log4j.appender.Cons

[JBoss-user] Problem with outdated classes for adapters

2001-09-25 Thread Sapozhnikov, Michael
Title: Problem with outdated classes for adapters Hi, I am testing my first and simple adapter for our EIS and getting error on deploy: [RARDeployer] org.jboss.deployment.DeploymentException: Invalid transaction support 'NoTransaction', it must be one of 'no_transaction', 'local_transactio

RE: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread Daniel Ferrante
Thanks Nicolai - I've strongly debated dropping the Entity Bean stuff entirely. I believe I've found a work around to buy me some time by setting GCEnabled to true and GCMxIdleTime to 1. It cleans all the loose connections up. This definitely is only a hack to buy me time though. Do you kno

Re: [JBoss-user] HOW TO BUILD JBOSS 3.0

2001-09-25 Thread Peter Fagerlund
cd jboss-all/build/ sh build.sh help sh build.sh (will bild most) sh build.sh all sh build.sh clean sh build.sh clobber se more at http://jboss.org/cvs.jsp at the "What is Buildmagic" /peter_f ___ JBoss-user mailing list [EMAIL PROTECTED] https:

RE: [JBoss-user] HOW TO BUILD JBOSS 3.0

2001-09-25 Thread Sacha Labourey
Hello, - checkout the last version from CVS - go to the JBOSS/build directory - run ./build.sh - ...wait... - go to JBOSS/build/output directory to find the result Cheers, Sacha > -Message d'origine- >

Re: [JBoss-user] Refresh or Reload Bean

2001-09-25 Thread Ole Husgaard
Hi, [EMAIL PROTECTED] wrote: > I want to refresh or reload an CMP entitybean on JBoss 2.4. > Another application read's and write's the tables too (direct > without ejb). > The bean is deployed with commit-option"A" because with commit-option"B" > our DB is very slow. > But the other application

[JBoss-user] HOW TO BUILD JBOSS 3.0

2001-09-25 Thread ivanhoe Abrahams
Hi there Could anyone please explain me how to build JBoss 3.0 With the previous versions (JBoss 2.2) it compiled OK All it says is to check $ANT or $ANT_HOME Any help will be appreciated PSI'm using Linux Thanx ___ JBoss-user mailing list

[JBoss-user] java.lang.NullPointerException

2001-09-25 Thread Graham . Forte
Hi , I get this error when I attempt to access an ejb (cmp)Collection findAll() method through a JavaBean from a JSP, I have no clue as to what this error is pointing to, Anyone? Here is the dump. Thanks, Graham Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
Ok.. This is all great, but I never got my original question answered. We are going to beta on friday.. I can't go back and change all our logging at this point. I was curious if there is someway that I can set my bean code to print out at the info level (i.e. System.out) and have jBoss messages

[JBoss-user] JBOSS Future, productive sites

2001-09-25 Thread Mariano Kamp
Hi there, we are currently evaluating the options for building a multi-chanel product (mobile, web, etc.). During the process we found JBOSS and toyed around with it a bit. The key people in our company are used to WebSphere/DB2/Oracle, but we are quiet impressed by what we've seen so far fr

RE: [JBoss-user] Error running jboss on Solaris.

2001-09-25 Thread Graham . Forte
I had the same problem I still have the thread on paper. Dan Bratton writes: edit your 'run_with_tomcat.sh' file and change the line that reads: export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar to read: JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_CLASSPATH that should

[JBoss-user] Refresh or Reload Bean

2001-09-25 Thread rwinter
Hi all, I want to refresh or reload an CMP entitybean on JBoss 2.4. Another application read's and write's the tables too (direct without ejb). The bean is deployed with commit-option"A" because with commit-option"B" our DB is very slow. But the other application informs me about changes to the D

[JBoss-user] SMTP with authentification

2001-09-25 Thread Dragos Haiduc
Title: Hi, Douglas Finally, it works :DAll that one should do(besides providing the authentication information) is to set this property to "true" before creating de Session object because the Sun JavaMail transport implementation(com.sun.mail.smtp.SMTPTransport) is setting it to "false" by

Re: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread David Jencks
On 2001.09.24 23:04:00 -0400 marc fleury wrote: > |Let me say it again, louder: PUT A REASONABLE MAXSIZE IN YOUR POOL! > > can't we increase the max value in the default jcml? > > marcf Sure, but why? I'd rather eliminate the possibility of unlimited size. I don't know hsql's max capabilities,

[JBoss-user] JBoss 2.2.2 and Tomcat 4.0

2001-09-25 Thread storck
CAN I "hack" JBoss 2.2.2 so that is can embedded use Tomcat 4.0 ? Does Tomcat 4.0 need JDK1.3? THANKS! ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Keep Client state

2001-09-25 Thread Jean-Christophe Pazzaglia
Miguel Angel Medina Lopez wrote: > Hi: > Thank you for your help. > But if there is a lot of clients accesing at the same time to the servlets, > I can use the ip address to distinguish users, the problem is if some of the > client access form the same server. How can I keep the state? > > --

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Nicolai P Guba
David Jencks <[EMAIL PROTECTED]> writes: > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't tried > > > to log... > > log.info("my message"); > > log.warn("HI"); > catch (Exception

Re: [JBoss-user] JBoss and MySql Problems

2001-09-25 Thread Nicolai P Guba
"Daniel Ferrante" <[EMAIL PROTECTED]> writes: > I am trying to debug why my application constantly dies (or hangs) > after 100 connections are created. I have made sure that I am > closing all the connections to the database in my code (that is > anywhere I make a direct connection to the databa

Re: SV: SV: SV: [JBoss-user] Killing off a session?

2001-09-25 Thread Nicolai P Guba
"Lennart Petersson" <[EMAIL PROTECTED]> writes: > But what is the problem with having the user still in cache even > when he/she has left? No one else can use it and it will sooner or > later be timed out. If you want anything to happen in logout method > then you have to code it just like what y

[JBoss-user] Re: weird colors with konqueror

2001-09-25 Thread Chris Kimpton
Hi Tobias, >Konqueror produces some weird colors on the test results (see attachment). I >am not actually using the latest version. Either it is time to update for me >or you are using some weird constructs. Should I investigate further what >makes konqueror choke ? > Feel to free to have a look

SV: SV: SV: [JBoss-user] Killing off a session?

2001-09-25 Thread Lennart Petersson
But what is the problem with having the user still in cache even when he/she has left? No one else can use it and it will sooner or later be timed out. If you want anything to happen in logout method then you have to code it just like what you have to do with your login method. Remember that lo