RE: [JBoss-user] how to encode database password in descriptor file mysql-ds.xml

2004-02-02 Thread JD Brennan
Title: Re: [JBoss-user] how to encode database password in descriptor file mysql-ds.xml No, I don't think asking for the password at startup would be desirable.  No one wants to hang around the console when the machine is booting.  And the app server is probably on some server in some machine

RE: [JBoss-user] how to encode database password in descriptor file mysql-ds.xml

2004-01-30 Thread JD Brennan
Title: Re: [JBoss-user] how to encode database password in descriptor file mysql-ds.xml Storing a private key in a java .class file does add a useful level of security.   1) Customers perceive this as valuable.  They aren't geeks, so they don't get it, but they still buy your product or not. 

RE: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Seri es

2004-01-14 Thread JD Brennan
You might try running the jvm under gdb. I've had mixed success with that in the past, but it might be worth a try. Then when it hangs you might be able to interrupt gdb and poke around at the threads. JD -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Wednesday, Ja

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread JD Brennan
We had a few issues with the wrapper. 1) When the time changed to/from daylight savings the wrapper would kill JBoss and restart it 2) If the CPU load got very high the wrapper would kill JBoss and restart it We added these settings to our .conf files to deal with this: wrapper.cpu.timeou

RE: [JBoss-user] value object challenge

2003-10-07 Thread JD Brennan
Change your method to: public MeetingDateValueOBject update(ProtectionMap map, MeetingDateValueObject vo) { ... return vo; } In the same VM you can take advantage of the side-effect to the argument. But remotely RMI only returns

RE: [JBoss-user] Pre compile jsps on jboss server

2003-10-02 Thread JD Brennan
I think the Ant jspc target can generate a web XML fragment that Ant can then substitute into your web.xml automatically. Haven't tried this myself ... yet - just read about it. JD -Original Message- From: Balakrishnan, Vijay [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 8:29

RE: [JBoss-user] question about ejb restrictions

2003-09-30 Thread JD Brennan
One approach would be to use MBeans (Management beans - JMX). Easy to do in JBoss. MBeans can use native code, read/write files. Your EJBs can call into MBeans, which is not expensive when they are all in the same JVM. JD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

RE: [JBoss-user] mbean question

2003-09-25 Thread JD Brennan
I should have looked at the code first. You could A) make running a member variable and set it to false before calling interrupt(), or B) use "while (!interrupted())" instead of "while (running)" If you do A) you should wrap the set and check inside a synchronized block. One problem with B) i

RE: [JBoss-user] mbean question

2003-09-25 Thread JD Brennan
setDaemon(true) will cause the thread to exit on shutdown, but will it cause the thread to exit when the MBean is stopped or undeployed? We just implemented logic in the stop() method to interrupt the threads so they will exit when JBoss stops the MBean. JD -Original Message- From: Andre

RE: [JBoss-user] local session beans

2003-09-18 Thread JD Brennan
Check out JUnitEE http://www.junitee.org/ which allows you to run JUnit tests from inside a servlet where they can make local session beans calls. JD -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 8:46 AM To: '[EMAIL PROTECTED]' Subject:

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

2003-09-17 Thread JD Brennan
Does that mean JBoss Group is no longer working towards J2EE certification? Can you get certified without a CMP engine? JD -Original Message- From: Bill Burke [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss welc

RE: [JBoss-user] Need Deployment Descriptor Deployment Descriptor

2003-09-10 Thread JD Brennan
Title: Message I tried to use the same JAR for both MySQL and SQL Server in JBoss 3.0.5 but couldn't figure out how to get around specifying the data-source mapping in the jbosscmp-jdbc.xml file.  How did you do that?   I thought about modifying the default standardjbosscmp-jdbc.xml but tha

RE: [JBoss-user] 103 Java Processes under JBOSS-3.2.1

2003-09-02 Thread JD Brennan
I believe that is not the case with a 2.4 kernel. I'm not even sure it's actually the case with earlier kernels, but it does look that way using ps and top. JD -Original Message- From: Wolfgang Helbig [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 11:08 PM To: [EMAIL PROTECTED]

RE: [JBoss-user] JBoss Shutdown Abnormally

2003-08-19 Thread JD Brennan
I've seen a similar problem with the same config. I think there's a (known) memory leak in the JSP compiler (jasper?). When I switched to precompiling my JSPs (with Ant) the problem went away. What's in the server.log file when JBoss is not responding? Or is JBoss crashing? JD -Original Mes

RE: [JBoss-user] Jetty vs Tomcat

2003-08-14 Thread JD Brennan
So if you put the compiled JSP pages in your WAR's WEB-INF/classes then Tomcat will use those instead of compiling the JSP pages? -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:23 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jetty

RE: [JBoss-user] Jetty vs Tomcat

2003-08-06 Thread JD Brennan
PROTECTED] Sent: Wednesday, August 06, 2003 3:51 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jetty vs Tomcat Yes, but you have to update the web.xml mappings to use these. -- Scott Stark Chief Technology Officer JBoss Group, LLC xxxx JD Bre

RE: [JBoss-user] Thread performance - new information and data that fits expectations

2003-07-29 Thread JD Brennan
What GC settings did you use? I did a quick scan and search of the paper, but couldn't find any mention of them. Thanks! Great to see these interesting test results! JD -Original Message- From: Jon Barnett [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:51 AM To: [EMAIL PROTE

RE: [JBoss-user] SAR depends on WAR!

2003-07-02 Thread JD Brennan
Why does the SAR depend on the WAR?  Could you pull the dependent parts out of the WAR into an EJB JAR and then have both the WAR and the SAR depend on the JAR in an EAR?   -Original Message-From: Snell Nguyen [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 01, 2003 10:24 PMTo: [EMAIL

[JBoss-user] How to get JBoss to exit on OutOfMemory

2003-06-12 Thread JD Brennan
Any suggestions for a simple way to get JBoss to exit where there's an OutOfMemoryError thrown? It appears to catch them and try to keep running. I could add a catch block for OutOfMemory to all my catch (Throwable x) blocks, but that actually wouldn't handle all the places where I'm not catching

RE: [JBoss-user] bind to specific IP

2003-06-06 Thread JD Brennan
I haven't tried this, but I think you'd just need to change: /server/default/conf/jboss-service.xml change 1099, 8083 and /server/default/deploy/jbossmq-service.xml change 8091 and if you're running the tomcat bundle, also: /server/default/deploy/tomcat4-service.xml change 8080 JD

RE: [JBoss-user] [CMP] anyone using CLOB/text with CMP and MySQL?

2003-04-12 Thread JD Brennan
Title: RE: [JBoss-user] [CMP] anyone using CLOB/text with CMP and MySQL? We MySQL with TEXT columns.  We don't specify the jdbc-type or sql-type to XDoclet:     /** * @ejb:interface-method view-type="local" * @ejb:persistent-field * @jboss:column-name name="EventText" */

RE: [JBoss-user] Exposing C++ Web Services/Axis and Tomcat/JBoss standalone

2003-03-24 Thread JD Brennan
Title: RE: [JBoss-user] Exposing C++ Web Services/Axis and Tomcat/JBoss standalone >1. Is there an easy way to expose C++ server code as a Web Service? >    - Best to directly expose, 2nd to use JNI wrappers. Check out WASP.  It makes generating Web Service wrappers for C++ somewhat easy.

RE: [JBoss-user] please help with sar

2003-03-17 Thread JD Brennan
Title: RE: [JBoss-user] please help with sar I think you have to modify the META-INF/application.xml in the .ear to reference the .sar. You can also put the .sar inside the .jar inside the .ear and it will get deployed.  (That's what we do.) JD -Original Message- From: kiuma [mai

RE: [JBoss-user] Linkage Error on Redeploy

2003-03-10 Thread JD Brennan
Title: RE: [JBoss-user] Linkage Error on Redeploy We had a similar error calling System.loadLibrary(). Worked the first time, but not on subsequent redeploys. In our case it turns out you can't load the same library twice into the same VM, so we moved that code out of our EJB jar and just put

RE: [JBoss-user] Custom Mbean

2003-03-05 Thread JD Brennan
Title: RE: [JBoss-user] Custom Mbean Try mbeans.sar     -felipe     -test     -JDNIMap.class     -META-INF     -jboss-service.xml JD -Original Message- From: Felipe Oliveira [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 05, 2003 12:15 PM To: [EMAIL PROTECTED]

RE: [JBoss-user] [HELP] Application Error: tried to enter Statefu l bean with diffe rent transaction context

2003-03-04 Thread JD Brennan
Title: RE: [JBoss-user] [HELP] Application Error: tried to enter Statefu l bean with diffe rent transaction context This is just a guess, but I think the transaction context comes from the thread.  Are you doing some thread manipulation in your web app? JD -Original Message- From:

RE: [JBoss-user] (no subject)

2003-02-19 Thread JD Brennan
Title: RE: [JBoss-user] (no subject) Sounds familar.  I think this is a known problem with Windows Command prompt pausing the process when it can't output all it's output.  Using the service wrapper or redirecting standard output to a file should get around it. -Original Message- Fr

RE: [JBoss-user] Maybe it is me

2003-02-17 Thread JD Brennan
Title: RE: [JBoss-user] Maybe it is me A Google search for "J2EE Tutorial" turns up the Sun J2EE Tutorial - there's a section for session beans. It's a decent enough tutorial. Yes, it's more complicated than ASP/COM.  Well, writing a COM object is pretty complicated, although Visual Studio d

RE: [JBoss-user] Deployment time Initialisation

2003-02-13 Thread JD Brennan
Title: RE: [JBoss-user] Deployment time Initialisation Brian, I was not able to call session bean methods from an MBean start() method.  I switched to using a startup servlet instead, which always gets loaded after all the session beans are usable. Of course this is supposed to work and

RE: [JBoss-user] Simultaneous connections to Tomcat...

2003-02-13 Thread JD Brennan
In /server/default/deploy/tomcat4-service.xml   Change   acceptCount = "10"   to whatever you want.   If you are running Windows 2K Pro, I think Windows will limit the number of simultaneous to 10 anyway (in an attempt to get you to upgrade to Windows Adv Server).   JD   -Original Me

RE: [JBoss-user] Advice: how to periodically scan a database table

2003-02-06 Thread JD Brennan
Title: RE: [JBoss-user] Advice: how to periodically scan a database table You can deploy an MBean in an .ear.  We do it by putting a .sar in the ejb .jar inside the .ear - You can also do it another way, I think by putting an application.xml in the .ear that loads the .sar (which has the MBea

RE: [JBoss-user] Sending and receiving Emails

2003-02-04 Thread JD Brennan
Title: RE: [JBoss-user] Sending and receiving Emails On Linux, you can have a program run when mail is received by putting getaccount: "|/path/to/app" in the /etc/aliases file. app could be a script that runs a Java client that talks to your J2EE app server. It might be a little less w

RE: [JBoss-user] [ANN] Tammi 1.0 Released - a JMX Application Framework

2003-02-03 Thread JD Brennan
Since this is a JBoss list, it seems appropriate for advertising JBoss services and not appropriate for non-JBoss related services.  Seems like a reasonable place to draw a line.   JD   -Original Message-From: Gary S. Cuozzo [mailto:[EMAIL PROTECTED]]Sent: Monday, February 03, 2003

RE: [JBoss-user] How to throw AxisFault in JBoss.net?

2003-01-29 Thread JD Brennan
Title: RE: [JBoss-user] How to throw AxisFault in JBoss.net? AxisFault is probably unchecked so it gets wrapped.  I bet the spec says that only checked exceptions have to get passed back intact. You could wrap AxisFault in a checked exception, maybe... JD -Original Message- From:

[JBoss-user] JBoss success story at FCCI Insurance

2003-01-27 Thread JD Brennan
Title: JBoss success story at FCCI Insurance Interesting article about Java, JBoss and open source replacing legacy licensed systems. http://techupdate.zdnet.com/techupdate/stories/main/0,14179,2908812,00.html JD

RE: [JBoss-user] Re: Intermittent error on deployment

2003-01-09 Thread JD Brennan
Title: RE: [JBoss-user] Re: Intermittent error on deployment So what do you recommend?  Have ant copy the file to foo.tmp and then rename it to foo.ear after the copy completes? Or use the jmx-console to deploy the .ear file without copying it? Someone posted a way to do this with the ant 'get

RE: [JBoss-user] Intermittent error on deployment

2003-01-09 Thread JD Brennan
Title: RE: [JBoss-user] Intermittent error on deployment I've seen this before also.  I think JBoss leaks file descriptors and it can't get a file descriptor which results in this 'file not found' type error. Not a very informative message, so this is just my guess as to what is happenning.  

RE: [JBoss-user] Remote Shutdown of JBoss Server

2003-01-02 Thread JD Brennan
Title: Remote Shutdown of JBoss Server One way would be to turn off the jmx-console by deleting the jmx-console.war in the deploy directory.   JD   -Original Message-From: FLYNN, Peter -Syntegra UK [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 02, 2003 9:08 AMTo: Jboss-User (E-ma

RE: [JBoss-user] EJB testing Framework

2002-12-24 Thread JD Brennan
ceforge.net     -----Original Message-From: JD Brennan [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 24, 2002 1:42 PMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] EJB testing Framework You can definitely start the app server run tests and stop the app server with A

RE: [JBoss-user] EJB testing Framework

2002-12-24 Thread JD Brennan
Title: RE: [JBoss-user] EJB testing Framework You can definitely start the app server run tests and stop the app server with Ant.  On Windows we use the Java Service Wrapper to run JBoss as a service and stop it with:               On linux I just have a script called "net" that d

RE: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 - 5 msgs

2002-12-16 Thread JD Brennan
r in the classpaths of the >>modules?).  But I have not investigated further. >> >>For now, I am OK with this structure.  But I would be interested to >>understand why it behaves like this :-). >> >>JD Brennan wrote: >> >>>From: JD Brennan &l

RE: [JBoss-user] Scheduler

2002-12-16 Thread JD Brennan
ed by the loginterceptor (so I'm not sure we can catch it). The next time the scheduler is invoked it works fine, since by that time everything is deployed. Any suggestions? JD Brennan wrote: > We deploy our MBean by putting it inside a .sar inside > our ejb .jar inside our .ear - the

RE: [JBoss-user] Scheduler

2002-12-13 Thread JD Brennan
Title: RE: [JBoss-user] Scheduler We deploy our MBean by putting it inside a .sar inside our ejb .jar inside our .ear - there are probably other better ways, but this works for us. JD -Original Message- From: Glenn Lewis [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002

[JBoss-user] Anyone running JBoss on Tandem?

2002-12-13 Thread JD Brennan
Title: Anyone running JBoss on Tandem? I'm curious if anyone is running JBoss on the Tandem platform?  A friend of mine works for a company and they are waiting for WebLogic to support Tandem.  If there's a JDK I can't think of any reason why JBoss wouldn't work. Tx, JD

RE: [JBoss-user] Path names in MBeans

2002-11-11 Thread JD Brennan
Title: RE: [JBoss-user] Path names in MBeans I think it's the directory you started JBoss in, which is typically the /bin directory, but that's not required.  We use the Java Wrapper Service on Windows and then the directory is the Windows System directory or something like that.  Things we've

RE: [JBoss-user] JNDI CommnicationException

2002-11-08 Thread JD Brennan
Title: RE: [JBoss-user] JNDI CommnicationException I think I've seen this before.  It does the JNDI lookup on port 1099 - that probably working fine.  Then it does the RMI lookup on a different port (and for some reason a different hostname).  So I think JNDI is telling the client to use host

RE: [JBoss-user] 3.2.0beta2 chokes on Cp1252

2002-11-06 Thread JD Brennan
Title: RE: [JBoss-user] 3.2.0beta2 chokes on Cp1252 cp1252 is a Windows encoding.  Doesn't surprise me that it's not valid on Linux.  Should probably be UTF-8. JD -Original Message- From: Tom Coleman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 06, 2002 1:45 PM To: [EMAIL P

RE: [JBoss-user] JBoss on Solaris?

2002-10-25 Thread JD Brennan
It's probably trying to listen on a low numbered port.  I think all ports below 1024 require root priv on Unix systems.  Try running it as root.   JD   -Original Message-From: Luttrell, Peter [mailto:[EMAIL PROTECTED]]Sent: Friday, October 25, 2002 2:42 PMTo: '[EMAIL PROTECTED]'Subj

RE: [JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered

2002-10-22 Thread JD Brennan
me="jboss.security:service=JaasSecurityManager">   Scott StarkChief Technology OfficerJBoss Group, LLCxxxxxxxx - Original Message - From: JD Brennan To: JBoss Users (E-mail) Sent: Monday, October 21, 2002 6:07

[JBoss-user] SSL with JBoss/Tomcat: JaasSecurityManager is not registered

2002-10-21 Thread JD Brennan
Title: SSL with JBoss/Tomcat: JaasSecurityManager is not registered I'm trying to configure JBoss 3.0.0_tomcat_4.0.3 with SSL. I followed the instructions in the JBoss Administration and Development document. 1) Generated chap8.keystore file and copied to    $JBOSS_HOME/server/default/conf

RE: [JBoss-user] Mail Service- to dim and stephen

2002-10-08 Thread JD Brennan
Title: RE: [JBoss-user] Mail Service- to dim and stephen I haven't used it, but the javax.mail.Session object appears to support SMTP servers that require authentication. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html Check the docs for javax.mail.Session.setPasswordAuthenticatio

RE: [JBoss-user] [OT] can't run xdoclet ;(

2002-10-07 Thread JD Brennan
Title: RE: [JBoss-user] [OT] can't run xdoclet ;( I wonder if it's because you have a pathref and a property with the same name (xdoclet.classpath}.  I use different property names for refs.  But for XDoclet, I just spell out the classpath:    classpath="${lib}/XDoclet/xdoclet.j

RE: [JBoss-user] Deploying MBean SAR in an EAR

2002-09-30 Thread JD Brennan
Title: RE: [JBoss-user] Deploying MBean SAR in an EAR You might try putting the .sar inside the ejb .jar inside the .ear JD -Original Message- From: Jonathan.O'[EMAIL PROTECTED] [mailto:Jonathan.O'[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:09 AM To: [EMAIL PROTECTED] Su

RE: [JBoss-user] delay startup of custom mbean service

2002-09-28 Thread JD Brennan
Title: RE: [JBoss-user] delay startup of custom mbean service We never found a good bean to depend on.  We just put a 60 second sleep in our MBean, so it sleeps until all the EJB's are available. We tried asking the deployer if the beans were deployed, but they were marked deployed even befo

RE: [JBoss-user] Autoreply: JBoss-user digest, Vol 1 #3082 - 5 msgs

2002-09-23 Thread JD Brennan
Title: RE: [JBoss-user] Autoreply: JBoss-user digest, Vol 1 #3082 - 5 msgs How do I contact the list administrator to have this email address removed.  The translation for this message is: "According to insolvency resolution from 01 September 2002 the business concern of the Telesens KSCL A

RE: [JBoss-user] Can an ejb function as a daemon?

2002-09-19 Thread JD Brennan
Title: RE: [JBoss-user] Can an ejb function as a daemon? Sounds like a good place to use an MBean.  They get started when deployed and can create threads and call Session Beans, etc. JD -Original Message- From: David McKnight [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19,

RE: [JBoss-user] Jboss and JMX

2002-09-12 Thread JD Brennan
Title: RE: [JBoss-user] Jboss and JMX Yep.  Look at the server/minimal in 3.0 - I think that's just JMX... JD -Original Message- From: Subramanian Ananthram [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 2:23 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Jboss and

RE: [JBoss-user] RE: CMP2 java.lang.Short mapping for Oracle 9i

2002-09-04 Thread JD Brennan
Title: RE: CMP2 java.lang.Short mapping for Oracle 9i Can you leave the java type as Short and change the JDBC type and SQL type to Integer?   JD   -Original Message-From: Boris Tamarkin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 04, 2002 11:05 AMTo: '[EMAIL PROTECTED]'Subj

RE: [JBoss-user] JMX question

2002-08-30 Thread JD Brennan
Title: RE: [JBoss-user] JMX question I just poked around the JBoss install tree and found some .sar files in the deploy directory and just looked at what they did.   That, plus the SUN JMX tutorial and it was pretty easy to figure out.   JD   -Original Message-From: Michael Klem [mai

RE: [JBoss-user] JMX question

2002-08-29 Thread JD Brennan
Title: RE: [JBoss-user] JMX question I have my MBean in a .sar inside a .jar and it gets deregistered when I redeploy.  Actually we have the .sar in a .jar inside and .ear now and it still gets deregistered on redeploy. JD -Original Message- From: Michael Klem [mailto:[EMAIL PROTEC

RE: [JBoss-user] Type mappings

2002-07-30 Thread JD Brennan
9:51 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Type mappings I think the type mapping should be an mbean. It's kind of data only, but thus pretty simple.  david jencks On 2002.07.24 13:11:50 -0400 JD Brennan wrote: > What I'd really like would be a way to put > the

RE: [JBoss-user] Type mappings

2002-07-24 Thread JD Brennan
Title: RE: [JBoss-user] Type mappings What I'd really like would be a way to put the type mappings in the -service.xml file that defines my pool.  That way I don't need to have a different jar for every database that I support, that is exactly the same except for the jbosscmp-jdbc.xml file.

RE: [JBoss-user] Searching this mailing list

2002-07-22 Thread JD Brennan
Title: RE: [JBoss-user] Searching this mailing list http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/ -Original Message- From: Eduardo D Piovesam [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 10:41 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Searching this m

RE: [JBoss-user] ClassCastException at PortableRemoteObject.narrow

2002-07-22 Thread JD Brennan
Title: RE: [JBoss-user] ClassCastException at PortableRemoteObject.narrow Something in your test or app server is probably holding onto an instance of a class that gets reloaded.  The reloaded class is a different class instance, so the original instance can't be cast to it.   Interesting...

[JBoss-user] Unexpected JBoss Shutdown

2002-07-16 Thread JD Brennan
Title: Unexpected JBoss Shutdown Lately when I run our unit test suites, JBoss suddenly starts shutting down in the middle of running the tests (causing many tests to fail, of course). In the server.log I see: 16:07:37,085 INFO  [Server] undeploying all packages ... 16:07:42,352 INFO  [Ser

[JBoss-user] RE: Recommended CMP Pattern for transaction management?

2002-07-11 Thread JD Brennan
-Original Message- From: JD Brennan Sent: Wednesday, July 10, 2002 10:56 AM To: JBoss Users (E-mail) Subject: Recommended CMP Pattern for transaction management? Is there a recommended pattern for controlling transaction boundaries with CMP? We have an entity bean layer

RE: [JBoss-user] Re: Does any one have a Linux JVM success story?

2002-07-11 Thread JD Brennan
Title: RE: [JBoss-user] Re: Does any one have a Linux JVM success story? Do you have any pointers to more info on the ulimit problem? On Debian, the default stack limit is 8192 and the fix is to lower it to 2048.  Interesting...   -Original Message-From: John Moore [mailto:[EMAIL PRO

RE: [JBoss-user] Re: Does any one have a Linux JVM success story?

2002-07-11 Thread JD Brennan
Title: RE: [JBoss-user] Re: Does any one have a Linux JVM success story? I've been happy doing development on a Debian (Potato release) with a 2.2.19 kernel with the Sun 1.4.0 VM. Configuration is great.  apt-get rocks! JD -Original Message- From: Dain Sundstrom [mailto:[EMAIL PR

RE: [JBoss-user] JBoss as background process in Linux

2002-07-11 Thread JD Brennan
Title: RE: [JBoss-user] JBoss as background process in Linux Try: ./start.sh < /dev/null > /dev/null 2>&1 If you are on RedHat JBoss comes with an init script in /bin/jboss_init_redhat.sh JD -Original Message- From: Maris Orbidans [mailto:[EMAIL PROTECTED]] Sent: Thursday, July

[JBoss-user] Recommended CMP Pattern for transaction management?

2002-07-10 Thread JD Brennan
Title: Recommended CMP Pattern for transaction management? Is there a recommended pattern for controlling transaction boundaries with CMP? We have an entity bean layer where all entity beans have     transattribute = Supports And an session bean layer facade above that where all session

RE: [JBoss-user] transaction rollback

2002-07-10 Thread JD Brennan
Title: RE: [JBoss-user] transaction rollback     getSessionContext().setRollbackOnly(); -Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 12:54 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] transaction rollback Hi, I didn't

RE: [JBoss-user] java.rmi.ServerException: null

2002-07-03 Thread JD Brennan
Title: RE: [JBoss-user] java.rmi.ServerException: null So what's the magic change to log4j.xml that I set to get a stack trace in this case?  I've seen this too. Tx! JD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 9:58 AM To:

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

2002-06-27 Thread JD Brennan
Title: RE: [JBoss-user] Restart JBoss After Out of Memory If you run JBoss with the Java Wrapper Service (http://sourceforge.net/projects/wrapper/) it will automatically restart JBoss if it exits. JD -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-27 Thread JD Brennan
Title: RE: [JBoss-user] scheduler and javamail in Jboss 3.0 Thanks, David.  Very interesting.  So is the page that says MBean View what you refer to as the detail page? That page has something called MBean Name that looks like jboss.j2ee:service=EJB,jndiName=Foo Is that the object name I

RE: [JBoss-user] Deployment and testing

2002-06-18 Thread JD Brennan
Title: RE: [JBoss-user] Deployment and testing I think you're right.  In JBoss 3.0 you call a method on the deployer MBean.  There was a message about making an ant target for that a while back in the mailing list. I don't recall the details - might check the mailing list archive at http://

RE: [JBoss-user] Shorten server boot time

2002-06-13 Thread JD Brennan
Title: RE: [JBoss-user] Shorten server boot time How about posting a listing of the contents of the zip file for true_minimal?  Seems that minimal doesn't even support EJBs... -Original Message- From: Greg Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 6:11 PM To: [E

RE: [JBoss-user] Old class object not cleaned

2002-06-13 Thread JD Brennan
Title: RE: [JBoss-user] Old class object not cleaned I had a similar problem.  Class Foo has method f(Bar b); My suspicion - and this is just a guess - is that the Class of the argument (Bar) was loaded by a different ClassLoader than the class you are trying to call the method on (Foo)

RE: [JBoss-user] How do I un-subscribe from the list?

2002-06-11 Thread JD Brennan
Title: RE: [JBoss-user] How do I un-subscribe from the list? It's confusing.  You have go into Edit Options to unsubscribe. https://lists.sourceforge.net/lists/listinfo/jboss-user Scroll to bottom enter email address in text area to left of Edit Options button. Then click Edit Options butt

RE: [JBoss-user] Searching mailing list archives

2002-06-11 Thread JD Brennan
Title: RE: [JBoss-user] Searching mailing list archives http://www.mail-archive.com/ Yeah, it was hard to find... -Original Message- From: Glen Schrader [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Searching mailing lis

RE: [JBoss-user] Jboss 3.0 Server Config Question

2002-06-07 Thread JD Brennan
Title: RE: [JBoss-user] Jboss 3.0 Server Config Question You might want to point to /lib/jboss-system.jar for compiling... -Original Message- From: Greg Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 6:45 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Jboss 3.0 Server

RE: [JBoss-user] Startup tasks

2002-06-07 Thread JD Brennan
essage-From: Starsinic, Frank [mailto:[EMAIL PROTECTED]]Sent: Friday, June 07, 2002 11:38 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] Startup tasks this is not possible until jboss 3.0   even at that, i'm not sure how to set up the dependency.     frank -----Origina

RE: [JBoss-user] Startup tasks

2002-06-07 Thread JD Brennan
Title: RE: [JBoss-user] Startup tasks I have written an MBean, but can't figure out how to get it to wait until all my Session and Entity Beans have been deployed before doing the startup activity. Is there some depends attribute I can put in the jboss-service.xml file in my .sar? I tried

RE: [JBoss-user] MySQL service installation

2002-06-06 Thread JD Brennan
Title: RE: [JBoss-user] MySQL service installation The datasource-mapping for MySQL is called mySQL - I guess case matters.  You have MySql.  To find the datasource-mappings look in the standardjbosscmp-jdbc.xml in server/default/conf JD -Original Message- From: wonder sonic [mailt

RE: [JBoss-user] request for mySQL configuration files

2002-06-06 Thread JD Brennan
Title: RE: [JBoss-user] request for mySQL configuration files Attached is an mysql-service template with @xx@ for dbname host and user and passwd. We put the mm.mysql-2.0.13-bin.jar in ${jboss.home}/server/default/lib JD -Original Message- From: wonder sonic [mailto:[EMAIL PROTEC

RE: [JBoss-user] JDBC:ODBC

2002-06-06 Thread JD Brennan
Search the mailing list archive.  I've posted samples 3 or 4 times (twice in the last week or two.)   http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/   JD   -Original Message-From: Mark Ewing [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 05, 2002 11:26 PMTo: [EMAIL

RE: [JBoss-user] Minimum set of jars for applet

2002-06-06 Thread JD Brennan
EMAIL PROTECTED]Subject: Re: [JBoss-user] Minimum set of jars for applet Thanks JD, But how can you get away without using "jboss-j2ee.jar" ?  I thought this was one was absolutely necessary. I guess I'll have to play around some more.   Steve   - Original Message

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

2002-06-05 Thread JD Brennan
Title: RE: [JBoss-user] Creating jboss user in linux Any output to the screen before it exits? Anything in the server/default/log/server.log file? Is the jboss tree owned (or at least writable) by the jboss user account? JD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI

RE: [JBoss-user] RedHat Startup Script

2002-06-05 Thread JD Brennan
Title: RE: [JBoss-user] RedHat Startup Script What does your startup script do?  A typical problem with UNIX boot scripts is that they don't redirect stdin, stdout and stderr.  If you are redirecting stdout and stderr, then what output are you getting to stdout and stderr?  What does the JBoss

RE: [JBoss-user] Redeployment problems

2002-06-05 Thread JD Brennan
Title: RE: [JBoss-user] Redeployment problems If you aren't going to support IIOP (Corba clients) in your app then I believe you can skip the narrow() call. What's the bug id for this?  I'd like to read more about it. I did a quick search of the BugParade for ClassCastException and there are

RE: [JBoss-user] Minimum set of jars for applet

2002-06-05 Thread JD Brennan
For our app I pared the list list down to this:       jboss-client.jar     jboss-common-client.jar    jbossha-client.jar    jbosssx-client.jar    jnp-client.jar I suspect the jbossha isn't needed since we've now undeployed clustering. It really depends on what your client and server do. 

RE: [JBoss-user] How to configure mySQL with JBoss 2.4.4

2002-06-03 Thread JD Brennan
Title: RE: [JBoss-user] How to configure mySQL with JBoss 2.4.4 Put the driver in your class path.  /lib/ext should work.  We use the mm.mysql-2.0.13 driver. Here's what I had to change in the jboss.jcml file for MySQL:   org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver         or

RE: [JBoss-user] MBeans location for J2EE Deployment

2002-06-03 Thread JD Brennan
Title: RE: [JBoss-user] MBeans location for J2EE Deployment You create a .sar file and deploy that in the JBoss deploy directory.  I know you can put a .sar inside an EJB jar. I would guess you can put a .sar inside an .ear also, but I haven't actually tried this. JD -Original Messag

RE: [JBoss-user] session timeout

2002-06-03 Thread JD Brennan
Title: RE: [JBoss-user] session timeout Another possible solution is to change the UI on your web app that queries the db to tell the user to wait for the query or provide some animated progress bar to occupy them so they don't realize it's taking a long time. JD -Original Message-

RE: [JBoss-user] SQL Server connection problem

2002-05-31 Thread JD Brennan
Title: RE: [JBoss-user] SQL Server connection problem Put MS SQL Server JDBC driver in your class path.  I just put it in  /jre/lib/ext - you could probably put it in the JBoss lib directory, but I haven't tried that. Here's what I had to change in the jboss.jcml file for SQL Server:    

RE: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread JD Brennan
which changed how class loaders computed equality and hashCode and if there is still a problem open a bug.   Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: JD Brennan To: JBoss Users (E-mail) Sen

RE: [JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread JD Brennan
We do set a serialVersionUID in our classes.  And the problem happens even when the class is not recompiled.  Just redeployed. And I think when the serial id doesn't match you get an InvalidClassException not a ClassCastException.   JD   -Original Message-From: Chris Chen [mailto:[

[JBoss-user] ClassCastException from serialize, redploy, deserialize

2002-05-31 Thread JD Brennan
Title: ClassCastException from serialize, redploy, deserialize I've narrowed down my ClassCastException to deserializing an Object after redeploying. I serialize an Object to BLOB in MySQL using CMP.  Then redeploy and when I deserialize the object I can't cast the Object to one of it's inte

RE: [JBoss-user] JBoss and JNI

2002-05-30 Thread JD Brennan
Might be that some other .so file needed by your JNI .so file is not found.  Run ldd on your JNI .so to see what other .so files it needs and make sure they are all in the path too.   JD   -Original Message-From: Paul Morris [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 30, 2002 9:43

RE: Re[8]: [JBoss-user] [HELP] Is there someone to help me?

2002-05-29 Thread JD Brennan
Title: RE: Re[8]: [JBoss-user] [HELP] Is there someone to help me? I was getting a bogus ClassCastException also. I fixed it by adding try/catch blocks to all my MBean threads.  My guess is that an exception thrown from a thread wasn't being handled and was somehow (horror!) corrupting the VM

RE: [JBoss-user] classpath

2002-05-28 Thread JD Brennan
Title: RE: [JBoss-user] classpath You can put the .sar in your EJB .jar file to give your beans access to it. Not sure about other stuff in the .ear - I'm assuming you have an EJB .jar in the .ear JD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesda

  1   2   >