Re: [JBoss-user] jmx xdoclet module

2003-03-28 Thread David Jencks
It's maintained 99% by me, and I never wanted to include any existing mbean configs yet. I guess it's a good idea... a patch might overcome my lack of time. david jencks On 2003.03.27 12:32 "Sonnek, Ryan" wrote: > I was checking through xdoclet documentation for the jmx task. The > mergedir > a

Re: [JBoss-user] Right place for jboss-app.xml

2003-03-28 Thread David Jencks
yes david jencks On 2003.03.27 10:43 Bernd Koecke wrote: > Hi, > > is the right place for a jboss-app.xml file in the META-INF directory of > an > ear-file, next to application.xml? > > Thanks > > Bernd > -- > Dipl.-Inform. Bernd Koecke > UNIX-Entwicklung > Schlund+Partner AG > Fon: +49-721-

Re: [JBoss-user] java.exe errors

2003-03-28 Thread Guy Rouillier
Eric J Kaplan wrote: I know this is a little off topic, but we see java.exe errors occasionally in various modules, including jboss. Just curious if others are seeing same (win2k, jdk1.4) and if anyone knows the cause. Can’t send bug report to sun because they want loads of details we don’t h

RE: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread Ed Brown
I'm well versed in open software. I've used quite a bit of it and will continue to use quite a bit of it. Previously, I've expressed my thoughts that the JBoss JMS implementation is not up to snuff. I'm not the only one to say so. In fact, with something I was working on, I looked into hooki

Re: [JBoss-user] SAR deployment problem w/3.2RC4

2003-03-28 Thread Rod Cope
Scott, It turns out that the problem was caused by the latest Hibernate jar (one of my utility jars in the root of the sar) containing ra.xml in its meta-inf directory. Once I removed it and dealt with some RC2 vs. RC4 class loading differences, everything is once again working just fine. Than

[JBoss-user] Retrieving the context with an external-defined jndi.properties file

2003-03-28 Thread Marco Tedone
Hi guys, I know that your help will be precious in this question. I'm running Tomcat and Jboss as two separate bundles, having my war running on the web-tier under a JVM and Jboss running under another context. I deployed succesfully my EJBs on Jboss, and following the instructions I read somewher

Re: [JBoss-user] SAR deployment problem w/3.2RC4

2003-03-28 Thread Scott M Stark
Describe the structure of the sar and show the exception. The testsuite include an example of a sar that includes a util jar with classes used by the service and this works fine. testsuite 578>jar -tf output/lib/testdeploye.sar META-INF/MANIFEST.MF META-INF/jboss-service.xml org/ org/jboss/ org/jb

Re: [JBoss-user] JBoss 3.2.0RC4/Tomcat duplicate class found (ClusterManager.java)

2003-03-28 Thread Bob Cotton
> "Scott" == Scott M Stark writes: Scott> Move the tomcat41-service.jar from the deploy directory to Scott> the lib directory as its being treated as a library jar to Scott> deploy as well as the jar container the tomcat service due Scott> to the tomcat41-service.xml referenci

[JBoss-user] SAR deployment problem w/3.2RC4

2003-03-28 Thread Rod Cope
I have a custom SAR that deploys okay in 3.2RC2, but not in RC4. The problem is that RC4 doesn't find my utility jars in the root of the SAR like RC2 does. Adding a class-path attribute to the sar manifest doesn't help. I found that I can move the utility jars to server/default/lib and referen

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
The jboss-user list has probably heard enough of me on this subject by now! I just want to say thanks to everyone who gave responded. It's been very helpful, I appreciate it. Cheers, Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaetan Zoritchak

Re: [JBoss-user] Can not start Hypersonic database

2003-03-28 Thread viktor
Vanilla Default port is 1476 on pre 3.2RC versions - What other processes are running on the box ? - what have You deployed - reconfigured ? - Is it a vanilla Java 1.4.0 SDK install ? -what happens if You start a vanilla 3.2 distribution ? ... or start over with a clean install of Your chosen jb

[JBoss-user] struts problem

2003-03-28 Thread Denis Markov
Hello All!   My Struts web application says: org.apache.jasper.JasperException: Missing message for key error.username.required it is runnig on JBOSS 3.0.6vsTomcat4.1.x, when I start it not on embeded tomcat it is just fine. I have all required resources and libs in my war so it is not about

Re: [JBoss-user] jboss website

2003-03-28 Thread julien viet
soon, I forgot lot of things in that area. My fault, I'm guilty ! tonight probably. JMF> the website seems not to be setting it's Content-type, so my proxy is JMF> defaulting it to text/plain and my browser shows me the source. JMF> any chance of getting the Content-type set? -- Best regards,

[JBoss-user] jboss website

2003-03-28 Thread John M Flinchbaugh
--Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable the website seems not to be setting it's Content-type, so my proxy is defaulting it to text/plain and my browser shows me the source. any chance of getting the Co

RE: [JBoss-user] Can not start Hypersonic database

2003-03-28 Thread Lihn, Steve
My OS is Win NT 4. with Java 1.4.0 SDK. After reboot of my PC, still the same error. Is there a debug mode that I can get more information as to what "port" it is trying to use? Steve Lihn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003

RE: [JBoss-user] Re: Where has my memory gone?

2003-03-28 Thread Sasidharan, Manoj
The same jar/zip is used by both drivers. It is the JDBC URL that will signify the type. 1. Thin Driver - jdbc:oracle:thin:@hostname:portnumber:myDatabase 2. OCI Driver - jdbc:oracle:oci8:@tnsname HTH regards MS -Original Message- From: David Rocks [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: [JBoss-user] JBoss 3.2.0RC4/Tomcat duplicate class found (ClusterManager.java)

2003-03-28 Thread Scott M Stark
Move the tomcat41-service.jar from the deploy directory to the lib directory as its being treated as a library jar to deploy as well as the jar container the tomcat service due to the tomcat41-service.xml referencing the tomcat41-service.jar via its classpath. Scott Stark

[JBoss-user] java.exe errors

2003-03-28 Thread Eric J Kaplan
I know this is a little off topic, but we see java.exe errors occasionally in various modules, including jboss.  Just curious if others are seeing same (win2k, jdk1.4) and if anyone knows the cause.  Can’t send bug report to sun because they want loads of details we don’t have, and google d

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Gaetan Zoritchak
I use a generic MDB as a Batch Treatment Service that calls back stateless beans. It's not a big deal to do it and the JVM JMS communication layer make it work very fast. -- Gaetan Zoritchak Bright Side Factory http://www.bs-factory.com Alex Sumner wrote: Thanks, I'm not worried that the MDB a

[JBoss-user] Red Hat 9.0 and NPTL - Better Linux Threading

2003-03-28 Thread Hunter Hillegas
I've read that the upcoming Red Hat 9 includes the NPTL (Native POSIX threading library), which finally fixes the super-kludge which is Linux threading... Obviously this has large implications for Java and JBoss, since they are thread heavy. Anyone have any info on this? Thanks, Hunter --

Re: [JBoss-user] Re: Where has my memory gone?

2003-03-28 Thread Gaetan Zoritchak
Test the tool TOAD for Oracle at http://www.toadsoft.com/. With it you will be able to trace the open connections. Another solution is to set the max number of open connections to a small number ( 4 ) and to use your application to see if this number is reached. You can also use the jmx console

[JBoss-user] JBoss 3.2.0RC4/Tomcat duplicate class found (ClusterManager.java)

2003-03-28 Thread Bob Cotton
In the process up upgrading from RC2 -> RC4, I'm encountering the following error: 11:33:53,650 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/gemstone, warUrl=file:/home/bcotton/agent/jboss-install/jboss-3.2.0RC4_tomcat-4.1.18/server/developer/deploy/agent.ear/agent.war/ 11:33:53,685 WARN

Re: [JBoss-user] separate logs for my apss

2003-03-28 Thread Simone Milani
You can configure the logging inside the log4j.xml file in the conf directory. Simone - Original Message - From: "costin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 4:49 PM Subject: [JBoss-user] separate logs for my apss > Hi! > > I want to use different

Re: Re[2]: [JBoss-user] CMR Error under load

2003-03-28 Thread Dain Sundstrom
I fixed a similar bug in this stuff for Sacha on March 19th (version 1.43.2.13). The problem was registering for transaction synchronization on the transaction in the context and not the transaction associated with the current thread. This bug created the type of problem you have described, b

[JBoss-user] separate logs for my apss

2003-03-28 Thread costin
Hi! I want to use different logs for my application. I have searched the archives but haven`t find any information. Searched the forums but it seems that all I get is some commercial - maybe I have to be logged in. How can I make another log for my application? -- costin

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
Thanks, I'm not worried that the MDB approach will be hard to program. It's more that there will be a lot of these messages and I'm not sure if an MDB will become a bottleneck, it seems like using a lot of stuff to do a little thing. Alex -Original Message- From: [EMAIL PROTECTED] [mail

Re: [JBoss-user] Can not start Hypersonic database

2003-03-28 Thread viktor
Sounds like a lingering socket resulting from a sequential "crash" not clean shutdown - then the VM - OS has a ref to port in some list ... Restart - what OS/VM are You using ? fredagen den 28 mars 2003 kl 15.44 skrev Lihn, Steve: Hi, I am new to JBoss. Just downloaded 3.0.6 and tried it. Whe

[JBoss-user] war and ear deployment with jboss3.2rc4

2003-03-28 Thread Nick Betteridge
I feel a fool for asking this but I've been trying to deploy an ear and war into the deploy directory and the only time I get it to work is when I deploy a war folder/dir to the deploy directory.   If I copy a war into the deploy directory then I get the [MainDeployer] telling me it's correct

RE: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread Bill Burke
if you are no longer using it please stop cluttering this mailing list. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ed Brown > Sent: Thursday, March 27, 2003 11:04 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] JBoss: Not Ready For Prime Tim

Re[2]: [JBoss-user] CMR Error under load

2003-03-28 Thread Alex Loubyansky
Hello Andrew, you are not alone complaining about this. But nobody could produce a testcase that fail at least eventually. I am trying to reproduce it but can't for the moment. I have a Parent and 1000 of related Child entities. I have 100 concurrent threads finding parent by primary key, gettin

[JBoss-user] "Invalid invocation, check your deployment packaging" error and JUnitEJB

2003-03-28 Thread Stefan Puiu
Hello list, I'm using the Sun 1.4.1 JDK, JBoss 3.0.4 on a Mandrake Linux 9.0 box. I'm experiencing a problem in running tests using JUnitEJB on some .ear packages. I have two packages, and , and each one of them has a 'test' subpackage which includes tests that inherit from EJBTestCase. The .

RE: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread Corbin, James
Instead of deriding this guy for having an opinion on JBOSS (which should be welcomed), why don't you explain the difference between open source software and commercial software. It would have saved tons of bandwidth and maybe not chased this guy from using JBOSS (not that any of you care anyway.

Re: Re[2]: [JBoss-user] simple Class-Path/ jar dependency question

2003-03-28 Thread David Ward
Try: import org.apache.log4j.*; instead of: import org.apache.log4j; Better yet, just import the Logger class specifically. You don't need the whole package. Now, if the bad import line was just a typo on your part (which now that I think about it, it probably is - otherwise you wouldn't be a

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Rodrigo Chandía
Actually, a MDB is rather easy to program. Give it a try. It might yust fit your need. Of course you can do all that pooling with JMX. Regards, Rodrigo Chandia El Viernes 28 de Marzo del 2003 04:22 AM, Alex Sumner escribió: > Thanks Rahul and David, > > Maybe I have to think again. Considered

[JBoss-user] Re: Where has my memory gone?

2003-03-28 Thread David Rocks
I have been using the driver in classes12.zip on both Solaris and win2k. I have seen a few comments about it's unreliability. We do use clobs in our tables. I have been suspicious of them for a while but i commented them out and the leak was still there. Are there alternatives to the driver i am

[JBoss-user] Can not start Hypersonic database

2003-03-28 Thread Lihn, Steve
Hi, I am new to JBoss. Just downloaded 3.0.6 and tried it. When I do "run". I got the following error. Please help. (I did not make any change yet). This error prevents me from testing the template project at p.28 of "Getting Start" Guide. Thanks. --Steve Lihn 2003-03-27 17:19:08,140 INFO [S

RE: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread MNewcomb
> Quoting Sacha Labourey <[EMAIL PROTECTED]>: > > > So don't use it. > > I'm no longer using it. > > Ed Brown So get the hell off the list. It *is* the 'jboss-user' list. Michael --- This SF.net email is sponsored by: The Definitive IT an

Re[2]: [JBoss-user] simple Class-Path/ jar dependency question

2003-03-28 Thread costin
Okay, great; than why : import org.apache.log4j; doesn`t work? As least that`s the log4j import statement AFAIK. DW> Log4J comes with JBoss, and you have *no need* to include it in *any* of your DW> application units. Ready to use, out of the box - no messing with classpath! DW> Why wo

Re: [JBoss-user] CMR Error under load

2003-03-28 Thread Andrew May
I've just tried it and RC4 has the same problem. We're using normal jbosscmp container. Andrew Simone Milani wrote: Hi, I had the same promlem when I was using RC3. Try to move to RC4. What container are you using? Simone --- This SF.

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
OK, thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simone Milani Sent: 28 March 2003 13:18 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Starting threads from session beans You can then invoke your MBean method from the EJB: Object result =

Re: [JBoss-user] simple Class-Path/ jar dependency question

2003-03-28 Thread David Ward
Log4J comes with JBoss, and you have *no need* to include it in *any* of your application units. Ready to use, out of the box - no messing with classpath! Why would you want log4j available *only* to one app? IMHO a logging service is a nice thing for an app server to provide to all deployed app

Re: [JBoss-user] CMR Error under load

2003-03-28 Thread Simone Milani
Hi, I had the same promlem when I was using RC3. Try to move to RC4. What container are you using? Simone - Original Message - From: "Andrew May" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 11:49 AM Subject: [JBoss-user] CMR Error under load > I'm getti

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Simone Milani
You can then invoke your MBean method from the EJB: Object result = mbeanServer.invoke(objectName, methodName, params, signature); And that should not break the rules. Simone - Original Message - From: "Alex Sumner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28

[JBoss-user] simple Class-Path/ jar dependency question

2003-03-28 Thread costin
Hi! I have a very little and common question about a problem I can`t get solved. I have the following directories: [EMAIL PROTECTED] my]$ tree ./ ./ |-- META-INF | `-- application.xml |-- ejb.jar | |-- META-INF | | |-- ejb-jar.xml | | |-- jboss.xml | | `-- jbosscmp-jdbc.xml

Re: [JBoss-user] Where has my memory gone?

2003-03-28 Thread Stephen Coy
Are you using the OCI driver? We're experiencing similar problems at our production site, but can't reproduce it in testing. Our hardware is running HP-UX and the HP JVM. The current theory is that the version of the OCI client software we have on site is leaking memory in native code. Steve C

Re: [JBoss-user] Where has my memory gone?

2003-03-28 Thread Gaetan Zoritchak
When you analysed the app with JProbe, did you take a look to the Oracle Driver objects? I had problems with it. There are Oracle "optimizations" that keep data in cache. Do the number of connection to the database increase? -- Gaetan Zoritchak Bright Side Factory http://www.bs-factory.com Davi

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
I can use an MBean, in that I can put my multi-threaded code that does the background work into an MBean easily enough. In fact, that's what I was planning to do. But how do I then, from within an EJB method, tell it to do something without breaking the rules? I'm thinking maybe I have to make my

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
MBeans will do too. Original question was about standard compliant behaviour, so I gave standard compliant answer :-) > -Original Message- > From: Simone Milani [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 6:37 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Starting th

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
JCA specs are available from Sun http://java.sun.com/j2ee/connector/. JBoss 3.2 supports JCA 1.0 and JCA 1.5 will be available in JBoss 4.0. > -Original Message- > From: Rahul Ganjoo [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 6:40 AM > To: [EMAIL PROTECTED] > Subject: RE: [J

Re: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-28 Thread David Hamilton
Your loss IMHO. The fact is that all software has bugs (c.f. the reports of a bug in the Patriot missile software this morning).  [Please let's exclude provable languages from this conversation as they don't seem to be used in the real world.] You could be like NASA, of course, and take so lo

[JBoss-user] Authentication Exception for an unchecked method

2003-03-28 Thread Krishnakumar N
Hello all, I am using the scheduler plug-in to schedule tasks from an ejb application , say app1 which uses security-domain sec1 (as declared in the jboss.xml file). This task itself creates a session bean and invokes a method on that session bean. The session bean created is task specific and

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
Thanks Igor, Guess I'll take a closer look at the JCA chapter in the Jboss 305 book. Are there any relevant examples to look at anywhere? Cheers, Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Fedorenko Sent: 28 March 2003 10:59 To: [EMAIL PR

[JBoss-user] CMR Error under load

2003-03-28 Thread Andrew May
I'm getting this CMR error when I load test our system: java.lang.IllegalStateException: The iterator of a CMR collection may only be used within the transction in which it was created at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.verifyIteratorIsValid(RelationSet.java:309)

Re[6]: [JBoss-user] effective and secure logging (again!)

2003-03-28 Thread costin
Hi! I`ve restarted this thread as more information was aquired and other questions aroused. I have followed Dain advice and got my hands over log4j complete manual. Great stuff I must say, really easy to follow. However, browsing the book and the EJB specifications I have found the following: 1

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Simone Milani
Why not use an MBean? Simone - Original Message - From: "Igor Fedorenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 10:58 AM Subject: RE: [JBoss-user] Starting threads from session beans You can write JCA adapter and do (virtually) anything you want in it. I

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Rahul Ganjoo
Hey Igor,can you point me to more info on this??? TIA, Rahul. -Original Message- From: Igor Fedorenko [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:29 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Starting threads from session beans You can write JCA adapter and do (vir

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
You can write JCA adapter and do (virtually) anything you want in it. It much easier than it sounds... > -Original Message- > From: Alex Sumner [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 4:55 AM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Starting threads from sessio

[JBoss-user] Protegra JBuilder/JBoss plugin

2003-03-28 Thread Danilo Luiz Rheinheimer
Hello, I am using the Protegra JBuilder Open Tool on JBuilder 8 with JBoss 3.2. I am able to create a EJB module and deploy them to JBoss. But I am not able to use entity beans. This is because I can not put the datasource and datasource-mapping values on jbosscmp-jdbc.xml java:/Uni

[JBoss-user] Where has my memory gone?

2003-03-28 Thread David Rocks
I am having a desperate problem with my JBoss app server. It seems to be leaking memory all over the place but after a week of debugging and JProbing I can just not find the problem. My architecture is session beans that link onto Entity beans that can have dependant objects. a la Composite enti

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
Thanks, Wonder if it's permissible to enter a synchronized block? That would give me all I need, just add something to a list, then another thread (pre-existing) can pick it up and do something about it. Otherwise it's MDBs and lots of messages, which is a big overhead for what I need. Cheers, A

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
Oops, I forgot to mention, the recommended way to get asynchronous processing from an EJB is to use JMS. For example, your session EJB could send a JMS message to a queue, and you could have a Message Driven Bean registered on that queue to perform the work. Al. > -Original Message- > Fr

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (page 495) states: The enterprise bean must not attempt to manage threads. The enterprise bean must not attempt to start, stop, suspend, or resume a thread; or to change a thread's priority or name. The enterprise bean must not attempt to ma

Antwort: [JBoss-user] Re: Class-Path for depenednt jars in EJB's manifestfile Question

2003-03-28 Thread ulf . schroeter
Very good, so please share your knowledge, because this is interesting for other people too :-) "Roy Jones" <[EMAIL PROTECTED]> Gesendet von: [EMAIL PROTECTED] 28.03.2003 03:46 Bitte antworten an jboss-user                 An:        <[EMAIL PROTECTED]>         Kopie:                 Them

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
Thanks Rahul and David, Maybe I have to think again. Considered MDBs, but they seem like overkill for what I need. I just want to kick off some background activity when a user does something via a session bean. I can avoid starting a new thread by having one waiting in a pool, but I still need s

Re: [JBoss-user] getUserPrincipal

2003-03-28 Thread kiuma
kiuma wrote: Please,, someone who want to help me. In DatabaseLoginModule jboss 3.2.0rc4, after having been logged in my principal name is caller_principal and not the nema that I uses to log in. What should I do to get my user name (except saving my user name in the httpsession instance) ?