Re: [JBoss-user] Problem acceding to Ejb

2001-04-20 Thread Darrin Thompson
There are a number of ways you can go about this. The important thing is that the home and remote interfaces to your bean have to be available to the servlet. The simplest way to deal with this is to combine your ejb jar and servlet war into a single ear file. Tomcat makes the ejb classes availab

Re: [JBoss-user] Auto Deploy Problems on Linux

2001-04-20 Thread Darrin Thompson
Does unzipping the distro with the -X option help? Darrin [EMAIL PROTECTED] writes: > There were a cpl of threads last week on this issue. > I ran into it today, and could not find the solution posted. > > Although, Victor's notes on the db problem helped. > > When you first install JBoss in

Re: [JBoss-user] Tomcat jBoss security

2001-04-20 Thread Darrin Thompson
It would help a lot if the JbossRealm line occured AFTER both the simple realm and the commented out JDBC realm sample. That way if newbies try to set upthe JDBCRealm we are less likely to here from them on this list. Now I will be quiet. :-) Darrin "Scott M Stark" <[EMAIL PROTECTED]> writes: >

Re: [JBoss-user] Security problem

2001-04-17 Thread Darrin Thompson
Use of RMI through firewalls is not recommended, even by Sun. I don't think that RMI servers have the same level of DoS protection that say, Apache would. An article on Sun's site (sorry no link handy) recommends using an http servlet between your client and RMI server. This requires you to wr

[JBoss-user] FreeTDS and Tomcat JDBC Realm

2001-04-17 Thread Darrin Thompson
Perhaps this is better asked on a Tomcat list but I'll try anyway... FreeTDS works well enough with Minerva, but I can't seem to get it working as a Tomcat JDBC realm. Has anyone had better results? If yes, exactly what jar are you using, etc? I'm using the preconfigured Jboss 2.2/Tomcat 3.2.1

Re: [JBoss-user] Tomcat jBoss security

2001-04-17 Thread Darrin Thompson
I about tore my hair out on this. I think the correct thing to do is have the JbossRealm entry activated in server.xml, the jdbcrealm entry also active, and the simplerealm entry commented out. I'm working through the same problem presently so I might be wrong on this. Also, make sure you have

Re: [JBoss-user] Re:javax.naming.ServiceUnavailableException:localhost now Connection refused

2001-04-13 Thread Darrin Thompson
I don't quite understand your question. Do you have two different hostnames that you use? InetAddress.getLocalHost().getHostName() should return a host name which resolves to an IP which reaches your local box. Is this not the case? Darrin On 4/13/01, 1:38:03 PM, Brian Elliott <[EMAIL PROTE

Re: [JBoss-user] javax.naming.ServiceUnavailableException:localhost

2001-04-13 Thread Darrin Thompson
On Linux, if the hostname and ip address for your workstation don't match reality, you are in for a lot of trouble. Assuming you are on a private network, pick a name for your box. Say it's is jump.domain. As root: # hostanme jump.domain Then add a line to /etc/hosts 127.0.0.1 localho

Re: [JBoss-user] Basic JDBC config question

2001-04-13 Thread Darrin Thompson
I had a similar experience with jboss/tomcat. Seems that in newer releases of jb/tc there are two directories in ./conf, default and tomcat. The tomcat directory is the one that jboss really uses while default is ignored. (except for this one bug...) Is there a "jetty" directory in conf? Try e

Re: [JBoss-user] JBossSX exception

2001-04-12 Thread Darrin Thompson
. :-D Darrin On 4/12/01, 2:10:21 PM, Scott M Stark <[EMAIL PROTECTED]> wrote regarding Re: [JBoss-user] JBossSX exception: > The stack trace is from the server so it would be the $JBOSS_HOME/conf/tomcat/auth.conf > login config file. > - Original Message - > From

Re: [JBoss-user] JBossSX exception

2001-04-12 Thread Darrin Thompson
example is that > it fails to parse option names with underscore chars in them. This is unfortunate > as the JAAS FAQ explicitly mentions option names with underscores. > - Original Message - > From: "Darrin Thompson" <[EMAIL PROTECTED]> > To: <[EMAI

Re: [JBoss-user] FreeTDS and JBoss connection pooling

2001-04-12 Thread Darrin Thompson
Title: Re: [JBoss-user] FreeTDS and JBoss connection pooling What's below worked for me in 2.1. It's a cut and paste job. YMMV. Darrin Replace this section in jboss.jcml org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.internetcds.jdbc.tds.Driver Add this... My

[JBoss-user] JBossSX exception

2001-04-12 Thread Darrin Thompson
Anyone seen this before? [java] java.rmi.ServerException: Transaction rolled back; nested exception is: [java] java.lang.SecurityException: Configuration Error: [java] Line 96: expected '=', found ' name=' [java] java.rmi.ServerException: Transaction rolled back;

Re: [JBoss-user] Shutdown jBoss

2001-04-10 Thread Darrin Thompson
http://localhost:8082/ There is a link to the shutdown service. You could write a script with telnet, expect, netcat, or even Java (hey!) to do an http post. Darrin On 4/9/01, 1:09:33 PM, Christopher Cheng <[EMAIL PROTECTED]> wrote regarding [JBoss-user] Shutdown jBoss: > I installed the jB

Re: [JBoss-user] JBoss 2.2: run.sh

2001-04-10 Thread Darrin Thompson
On *nix? You could just run it through /bin/sh which I think it what is intended. $ sh run.sh Darrin On 4/10/01, 9:32:08 AM, <[EMAIL PROTECTED]> wrote regarding [JBoss-user] JBoss 2.2: run.sh: > Should I post this here or to dev? > run.sh doesn't default to have execute permissions which i

[JBoss-user] EJX and EJBench

2001-04-10 Thread Darrin Thompson
I can't figure out how to get EJBench working. I've tried both the ejx shipped with jboss and the 1.1 release from dreambean.com. The dreambean one is very capable, but the file -> new submenu does not exist! I get this error after actually selecting file -> new (not just waiting for a submenu

[JBoss-user] Security with Servlets and EJBs

2001-04-10 Thread Darrin Thompson
I'm using the April 8 release of Jboss 2.2/Tomcat 3.2.1. I'm attempting to write an app that will have a client portion, a servlet controller on Tomcat and be modeled with some session and entity beans in JBoss. I'm hung up on JAAS. I've sucessfully secured the servlet with HTTP Basic auth,