Re: [JBoss-user] Key generation by random numbers

2001-06-28 Thread Michael Bilow
On 2001-06-27 at 15:24 +0200, Philipp Meier wrote: On Tue, Jun 26, 2001 at 04:14:43PM -0400, Michael Bilow wrote: Fourth, the probability of a collision between your next randomly chosen number and any prior randomly chosen number is going to follow a Poisson distribution, which may

RE: [JBoss-user] ONLINE FORUM AVAILABLE

2001-06-28 Thread Michael Bilow
It is extremely common for firewalls to restrict access to certain well known services using well known ports. For example, many ISPs no longer allow direct connection to port 25 (SMTP) on a remote machine, and many corporate firewalls take the approach of prohibiting anything which is not

RE: [JBoss-user] ONLINE FORUM AVAILABLE

2001-06-28 Thread Michael Bilow
It's totally non-functional for me. I tried to create an account, entered all of the fields and hit the button, and then was simply returned to the start page. I was expecting some sort of indication as to whether I was logged in and, if so, as whom? When I tried to login using the information

Re: [JBoss-user] Stability problems on Linux

2001-06-28 Thread Michael Bilow
This is not a weak implementation. It is simply an implementation choice. On Intel hardware, you are effectively limited to about 4000 threads, which is the default in Windows. If you need to do so, you can increase the number of task slots available in Linux by editing include/linux/tasks.h

Re: [JBoss-user] Init scripts for SuSE

2001-06-28 Thread Michael Bilow
You might want to take a look at a message I posted earlier which touches on this issue in a Debian context and contains an example script: http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg07745.html In our experience, usually jBoss will respond to SIGTERM (15) and shut down

Re: [JBoss-user] installing the JDBC driver

2001-06-26 Thread Michael Bilow
The PostgreSQL driver is not a legitimate part of the EAR. In theory, an EAR should be deployable on any EJB platform regardless of the back-end database. One of the main goals of EJB is to hide stuff like that from your application. I am not sure why the error would be no such file, but I

Re: [JBoss-user] Having problems with HotSpot server on RedHat 7.1?

2001-06-26 Thread Michael Bilow
We are running on Debian 2.3 (Woody) using a 2.2.19 kernel and Sun JDK 1.3.1 on a dual processor system. We certainly do not see your problems. First of all, the JVM should be hard-limited to consume a maximum of 64MB unless you use the quasi-documented '-Xmxsize' switch when invoking Java. In

Re: [JBoss-user] downloadable manual...where?

2001-06-26 Thread Michael Bilow
Most Linux distributions offer a large choice of tools which can do this. Here is a selection from Debian: http://packages.debian.org/wget http://packages.debian.org/pavuk http://packages.debian.org/w3mir http://packages.debian.org/omt Both 'w3mir' and 'omt'

Re: [JBoss-user] mysql driver

2001-06-26 Thread Michael Bilow
While you are perfectly correct about this, I think it is advantageous to remove any of the databases which you are not using. That is, if you are talking only to MySQL, then you probably would be better off excising all of the Enhydra stuff from the jboss.jcml file. Hypersonic especially eats

RE: [JBoss-user] Key generation by random numbers

2001-06-26 Thread Michael Bilow
Keep a couple of points in mind. First of all, since you are using MD5 as what amounts to a random number generator rather than for a cryptographic purpose, you may be undertaking more processing than would be required to do this in a more straightforward manner. This is because crypto hashes

RE: [JBoss-user] Key generation by random numbers

2001-06-26 Thread Michael Bilow
Note that Java represents time with millisecond _resolution_ which is not at all the same thing as millisecond _accuracy_ in the real world. Relying upon this sort of thing has the effect of introducing a platform dependency which could make the whole design fall over. For example, on the IBM

Re: [JBoss-user] mysql driver

2001-06-26 Thread Michael Bilow
messages? --m - Original Message - From: Michael Bilow [EMAIL PROTECTED] To: List: jBoss users [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 1:16 PM Subject: Re: [JBoss-user] mysql driver While you are perfectly correct about this, I think it is advantageous to remove any

Re: [JBoss-user] Re: random keys

2001-06-26 Thread Michael Bilow
On 2001-06-27 at 00:24 +0200, [EMAIL PROTECTED] wrote: On Tue, Jun 26, 2001 at 05:32:43PM -0400, Michael Bilow wrote: On 2001-06-26 at 21:45 +0200, [EMAIL PROTECTED] wrote: Why would this matter? Do databases assume that records with primary keys near one another will often be used

Re: [JBoss-user] Suggested way of calling Session Beans from JSP

2001-06-26 Thread Michael Bilow
http://jakarta.apache.org/velocity/index.html -- Mike On 2001-06-27 at 09:18 +1000, Devraj Mukherjee wrote: Tell me more ... can I find some documentation about Velocity somewhere ?? Devraj At 23:01 26/06/01 +0200, you wrote: Why not using Velocity... ? I have been trying it with

[JBoss-user] E-mail vs. web vs news support

2001-06-25 Thread Michael Bilow
I think a web-based system would be a disaster. It is far easier to take a simple thing such as mail and layer over it more complicated things such as newsgroup or web interfaces, while is it effectively impossible to do the reverse. There are some extremely large projects which use mail as

RE: [JBoss-user] Apache+Tomcat+JBoss

2001-06-24 Thread Michael Bilow
The jBoss documentation is simply wrong and grossly outdated in any meaningful way. See my extensive post on a related issue a few days ago: http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg07518.html Linux, as of the 2.2 kernel and 1.3 Sun JVM, certainly does have real native

Re: [JBoss-user] Apache+Tomcat+JBoss

2001-06-24 Thread Michael Bilow
See my immediately prior post on the subject of native thread support in Linux. The short answer is that it is present -- and the referenced jBoss documentation already wrong -- as of kernel 2.2 and Sun JVM 1.3. The Linux 2.4 kernel makes substantial internal changes to the scheduler,

Re: [JBoss-user] load

2001-06-24 Thread Michael Bilow
1. We ran jBoss/Tomcat on Linux using a creaking old 166MHz Pentium with 64MB RAM and 256MB swap space. This configuration thrashed noticeably because of memory limitations, but we tested with our load simulator and the system never fell over. Enormous amounts of memory are consumed by the

Re: [JBoss-user] Exceptions starting and stopping JBoss-2.2.2_Jetty-3.1.RC5

2001-06-23 Thread Michael Bilow
The obvious solution would be to make sure that the directly is non-empty in the distribution archive. :-) -- Mike On 2001-06-23 at 08:36 -0700, Scott M Stark wrote: It may not be your build. It could be the tool the user is using to unarchive. If either drops empty directories this

Re: [JBoss-user] Deploying problem

2001-06-23 Thread Michael Bilow
Are you on a live network with an Internet connection? My guess is that you are trying to start the XML parser -- without which nothing is going to work -- and it is trying to get the DTD from the host specified. If you are really, really stuck, it is possible to modify DOCTYPE so that it

Re: [JBoss-user] jboss/db/jbossmq disappearing....

2001-06-23 Thread Michael Bilow
The Info-ZIP compression/decompression tools have radically different default behaviors than the old PK-derived tools. For example, on DOS, PKUNZIP flattens all files into the current directory by default and strips all subdirectory information unless the -d switch is given. With the Info-ZIP

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Michael Bilow
You might try the brute force approach of reversing the interfaces, such that the external IP is on eth0 and the internal IP is on eth1. Many processes which are not multiple interface-aware will simply pick up the address of the first interface they find. Note that this does not involve

Re: [JBoss-user] Jboss and RMI problem on Solaris

2001-06-22 Thread Michael Bilow
See: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html#nethostname Explicitly tell the RMI server where it lives when starting Java: java -Djava.rmi.server.hostname=198.136.189.254 ... If the RMI server is running on a different machine, then trying to find it on localhost

Re: [JBoss-user] Re: Re: MVCSoft Persistence Manager and JBoss

2001-06-22 Thread Michael Bilow
Keep in mind that DefaultDS can be mapped to any back-end you like. For example, we map it to PostgreSQL in the jboss.jcml file and use this with MVCSoft, and we do not even configure Hypersonic or InstantDB: mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider

Re: [JBoss-user] here's a simple start/stop script

2001-06-22 Thread Michael Bilow
, but these are for clarity in this message only and are not part of the script. #!/bin/sh # # By Michael Bilow, [EMAIL PROTECTED], 2001-05-09 # This Debian init script is in the public domain # # Loosely based upon prior

Re: [JBoss-user] Memory Leak problem

2001-06-22 Thread Michael Bilow
, Scott M Stark wrote: How are you starting the server process? The only way I can see doing this is redirecting the stderr descriptor to a file as parting of the startup process and then sending the vm a SIGQUIT signal. - Original Message - From: Michael Bilow [EMAIL PROTECTED

Re: [JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Michael Bilow
Maybe I can throw a little light on this. I don't know too much about what goes on inside jBoss or the JVM, but I can tell you what I see happening on a Linux system. When something is wrong with the deployable EAR, and I am not really sure exactly what, jBoss can get into a state where it just

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Michael Bilow
In our installation (Linux), jBoss runs as a server process, which means it has no console. In fact, it runs under the privilege of the jboss system user, who cannot even log in. All ownership and permission information is tied to this system user, so running under any other user would be

[JBoss-user] jBoss mention in IBM developerWorks article

2001-06-21 Thread Michael Bilow
jBoss received positive mention in an article in IBM developerWorks: http://www-106.ibm.com/developerworks/library/co-tipejbs.html Obviously, since IBM sells WebSphere, the article is focused on that. -- Mike ___ JBoss-user mailing list

RE: [JBoss-user] Documentation issues (was: Unable to resolve JNDIname)

2001-05-15 Thread Michael Bilow
On 2001-05-15 at 12:12 +0200, [EMAIL PROTECTED] wrote: Is it a bug? Shouldn't jBoss report that it could not find jboss.xml during deployment? No, if no jboss.xml found, it uses the standardjboss.xml in the configuration dir. Same applies to the jaws.xml (it uses standardjaws.xml

Re: [JBoss-user] jboss startup problems postgresql driver

2001-05-15 Thread Michael Bilow
I have a few suggestions. First, if you are not using Hypersonic at all, which appears to be the case, then you should remove the reference to org.hsql.jdbcDriver as a JdbcProvider. We had long hangs at the same point you did, depending upon how much memory and CPU power we were throwing at the

[JBoss-user] Distribution formats: tar vs. zip

2001-05-14 Thread Michael Bilow
Just to add a comment here, even bare tar would be really nice instead of just zip. Unlike zip, tar preserves Unix ownership and permissions. At present, these have to be set by trial and error, since as far as I know the necessary information is not even documented. It is possible to set

RE: [JBoss-user] jBoss architecture question

2001-05-14 Thread Michael Bilow
not if there are interdependencies between threads. Samuel -Original Message- From: Michael Bilow [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 13, 2001 13:36 To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jBoss architecture question No, no... I agree that, in the abstract, it makes sense to send

RE: [JBoss-user] jBoss architecture question

2001-05-13 Thread Michael Bilow
to consider the application unstable, just because the threads ignore signals. Samuel -Original Message- From: Michael Bilow [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 13, 2001 2:10 To: List: jBoss users Subject: Re: [JBoss-user] jBoss architecture question On 2001-05-11 at 22

Re: [JBoss-user] Re: JBoss-user -- confirmation of subscription --request 343542

2001-05-13 Thread Michael Bilow
The client is not finding the RMI Registry Server because it assumes it is running on the same machine (127.0.0.1). You should be able to fix this by invoking the client with an explicit declaration of the hostname or IP address of the machine on which the RMI Registry Server is actually

Re: [JBoss-user] jBoss architecture question

2001-05-12 Thread Michael Bilow
On 2001-05-11 at 22:09 -0500, danch wrote: Jim Archer wrote: * * * All the threads also raise a shutdown question. We have written an init.d script to gracefully start and stop jBoss as a server task, in the same manner as other Debian processes. If the script issues a kill to each

Re: [JBoss-user] Postgres woes

2001-05-11 Thread Michael Bilow
How is the data source declared in jboss.jcml? Are you on Potato (with Postgres 7.0.2) or Woody (with Postgres 7.1)? Are you relying on the libpgjava package or did you build the JAR? -- Mike On 2001-05-10 at 01:41 +0100, Jim Downing wrote: Hi, I'm trying to port our J2EE app from

RE: [JBoss-user] problem with uncompressing of JBoss on Linux

2001-04-30 Thread Michael Bilow
The gunzip utility (usually actually implemented as a symlink) is the decompressor for gzip. Although the compression schemes used by gzip/gunzip and zip/unzip are compatible, the file formats are not. The standard portable freeware unzip/zip tools from the Info-ZIP project can be built on