[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2006-03-20 Thread erik777
I barely remember this, so bare with me if I'm not correct, but I do believe that at that time we were trying to isolate the EAR and progress towards J2EE compliance. We avoided this problem by, for the time being, giving up on isolating any EAR that contained MDBs, and consequently, any other

[JBoss-user] [Messaging, JMS & JBossMQ] - JmsXA not working across distributed JBoss servers

2006-03-10 Thread erik777
We're using Jboss 4.0.2 and currently support a single instance install of JBoss. We are using XA datasources using DataDirect and SQL Server. We're attempting to support distributing our applications among different instances of JBoss to better manage load. Our tests have all passed in this

[JBoss-user] [EJB/JBoss] - Re: XAConnectionFactory not bound

2006-03-06 Thread erik777
Try using jmx-console (http://localhost:8080/jmx-console). Click "service=JNDIView", then Invoke on list(). Look near bottom for "Global JNDI Namespace" and see if it is there. Perhaps what you really want to use is "java:JmsXA" which is only in the Java namespace, not global. In this case,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do JBoss Messaging guarantee delivery of messages?

2006-01-25 Thread erik777
In addition to ensuring that subcribers of topics are durable, the quick answer is to ensure the handler of the message is enrolled in a Tx and rolls back on exception. JMS uses a data source, so you may want to ensure the data source is XA, as we do. The question is what do you do when you

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message resent too many times

2006-01-19 Thread erik777
I can understand your frustration with frequently asked questions on forums. Yet, ironically, I've read the docs (http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch6.chapt.html), I have a lot of experience with dealing with other issues with JBossMQ (such as memory management), I read the FA

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message resent too many times

2006-01-19 Thread erik777
We have been using: messageDrivenBeanContext.setRollbackOnly(); which is what the FAQ says to do. The problem is it goes to the DLQ, because if there is a network disconnect in a service the MDB needs, then naturally, the retries run out quickly, as they'll surely fail in the short-term. Idea

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message resent too many times

2006-01-19 Thread erik777
How about a link to information on how to: 1> Handle unavoidable exceptions in MDBs (highly unavoidable in today's distributed world where MDBs are expected to rely on remote services, such as the database, JNDI and web services.) I'm more than willing to catch these exceptions, if by catching

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message resent too many times

2006-01-10 Thread erik777
bump... same question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916710#3916710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916710 --- This SF.net email is

[JBoss-user] [Security & JAAS/JBoss] - Re: cant get SecurityAssociation.setServer(); to work

2005-11-21 Thread erik777
Shameless bump. I have a situation where the client to JBoss is a multi-threaded server to other clients. It uses two basic JNDI authentications, one on behalf of the clients, and one for itself. The problem is that after it obtains a remote interface using its own authentication, when it l

[JBoss-user] [EJB/JBoss] - Re: Cannot access EJB from war inside container

2005-11-02 Thread erik777
Turns out the solution is same as for http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71090 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904894#3904894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904894

[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss 4.0.3

2005-11-02 Thread erik777
LOL! That's what I discovered yesterday. I can definately confirm it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904893#3904893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904893 -

[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss 4.0.3

2005-11-01 Thread erik777
I get the just of what it's doing, but I don't understand why I can't call-by-value. I have only been able to successfully get call-by-value to work inside the same JBoss instance when one isolated app calls another isolated app. I have yet to be able to get an unisolated app to be able to m

[JBoss-user] [EJB/JBoss] - Cannot access EJB from war inside container

2005-11-01 Thread erik777
We have an instance where an independently deployed unisolated war cannot access the EJBs in an unisolated ear. They are both in the same JBoss 4.0.2 instance. Applications running in their own JVMs have no problem accessing the EJBs remotely. The problem appears to be related to the use of

[JBoss-user] [Security & JAAS/JBoss] - Re: Simple users/roles login to EJBs not passing username/pa

2005-10-25 Thread erik777
WOW! I got it. Thanks to the post of tineq I noted that he was using p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory"); whereas I was using org.jboss.security.jndi.LoginInitialContextFactory per the recommendation of http://wiki.jboss.org/wiki

[JBoss-user] [Security & JAAS/JBoss] - Re: Simple users/roles login to EJBs not passing username/pa

2005-10-25 Thread erik777
Thanks a million. That pushed me closer. I created a jaas.conf containing: JaasJNDI { | com.sun.security.auth.module.JndiLoginModule required; | }; and confirmed in debug mode that it loads the configuration. It gets past the point where it threw an exception trying to extablish a conte

[JBoss-user] [Security & JAAS/JBoss] - Re: Simple users/roles login to EJBs not passing username/pa

2005-10-24 Thread erik777
I got a little further when I found this wiki page: http://www.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory The question is, what exactly does SECURITY_PROTOCOL map to? No matter what I try, I get the following: | java.lang.SecurityException: Unable to locate a login configuratio

[JBoss-user] [Security & JAAS/JBoss] - Re: getUserPrincipal() returns null after successful JAAS Lo

2005-10-24 Thread erik777
Does using Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS in the properties/env when you remotely obtain the home of the EJB count as a JAAS container login? I'm getting null on the principal/password check when invoking protected EJB methods, verified by both trace output and debu

[JBoss-user] [Security & JAAS/JBoss] - Simple users/roles login to EJBs not passing username/passwo

2005-10-24 Thread erik777
I'm trying to get simple login to remote EJBs to work using the Duke example, putting the properties files in the EJB module. The problem is that even though I set the Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS when obtaining the home inteface, a trace of org.jboss.security ind

[JBoss-user] [Security & JAAS/JBoss] - Re: relationship between JAAS, JGSS, Kerberos and JBoss

2005-10-22 Thread erik777
I can't say I have anything resembling an answer, but I'd have to theoretically ask the question: Can you populate Context.SECURITY_CREDENTIALS in your environment properties when you invoke the EJB? You could have a different login module in your EJBs designed to accept Kerberos credentials

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-08-30 Thread erik777
Right now I'd settle for understanding what's wrong and hearing either confirmation that there is a bug in 4.0.2 or an example of a workaround for it. Even this doesn't work: | public class SubscriberTxBean | implements MessageDrivenBean, MessageListener | { | private static

[JBoss-user] [Installation, Configuration & Deployment] - EJB jar and War classpath issues with deployment verificatio

2005-08-29 Thread erik777
We're upgrading from JBoss 3.2.3 to JBoss 4.0.2. We have lots of ears with wars and ejb jars, as well as some standalone wars, and a hibernate.sar. We'd like to enable isolation. However, we've discovered a lot of classpath issues that were hidden by 3.2.3's non-compliance. It's often clear w

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-08-29 Thread erik777
That's an option we'll consider if a patch becomes available. Until then, does anyone have any suspicion as to the cause or possible way around it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892098#3892098 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Installation, Configuration & Deployment] - Re: EJB deployment problem

2005-08-29 Thread erik777
You're missing some XML. Try this: | | | this is a test | Test | TestSessionEJB | au.com.twtva.ejb.TestSessionHome | au.com.twtva.ejb.TestSession | au.com.twtva.ejb.TestSessionBean | Stateless | Container | | | | You need to use the home and remote tags. View t

[JBoss-user] [Beginners Corner] - Re: Remote call between isolated EARs

2005-08-29 Thread erik777
We're having the same problem in 4.0.2. We need to use remote invocation between ears because the ears may or may not be deployed in the same JBoss instance at a customer site. I don't want to use external references in the ejb-jar.xml, because we read our configuration in and prefer to dyna

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-08-26 Thread erik777
I'm getting this in 4.0.2, only I can't find a workaround. In my case, two conrete MDBs subclass an abstract one that contains the onMessage(), declared public void onMessage(javax.jms.Message message) To try to get around the validation error, I subclassed and had the conrete classes call su

[JBoss-user] [JBossWS] - EJB Exception handling

2005-07-28 Thread erik777
Does anyone know the rules of how to throw and catch exception using stateless session bean web services that also have a remote and local interface? I've noticed that it deploys without error if you throw Exception or RemoteException, although you can't throw the latter from your bean if you ha

[JBoss-user] [JBossWS] - Re: using WSEE doclet

2005-07-27 Thread erik777
Does anyone else get compileWS: | [wscompile] error: class java.lang.StackTraceElement does not have a public accessible empty constructor when they run wscompile. I get this error when I run it from Ant or command line, and when I use JDK 1.4 or JDK 1.5. View the original post : http://w

[JBoss-user] [EJB/JBoss] - Re: WebSphere War to JBoss EJB lookup - how to?

2004-10-31 Thread erik777
It's been awhile, but I did get this to work. The problem is that WebSphere doesn't have the classes for JNP in its classpath. IIRC, adding JBOSS_HOME/client/jbossall-client.jar to WebShere's server classpath resolved it. It then worked great. I had no problem accessing JBoss EJBs from WebSp

[JBoss-user] [Messaging, JMS & JBossMQ] - Orion Rhapsody

2004-09-30 Thread erik777
Has anyone been able to get a JMS Comm Point to work in Rhapsody with JBoss? If so, can you please post the Comm Point configuration you used. Currently, I get the following in Rhapsody when I try to start the point: | com.symphonia.rhapsody.commpoint.ConnectionFailedException: Failed to cre

[JBoss-user] [Installation & Configuration] - Re: Apache 3.2.3, mod_jk and JBoss 3.2.3

2004-06-07 Thread erik777
Add this to your JBOSS_HOME/server/default/conf/log4j.xml: | | | | | Someone responded with fix back in January, but it must have been on another thread. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837787#3837787 Reply to the

[JBoss-user] [EJB/JBoss] - Re: AutoGenerating PK & Oracle

2004-06-05 Thread erik777
This is a bit offtopic, jdacev, but how does XDoclet handle cases where your beans are subclassed from classes in a reusable library? Particularly, what about when the methods aren't even overriden? This means your project's classes don't actually have the methods, and thus don't have the comm

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-05-31 Thread erik777
Try removing or commenting the from your ejb-jar.xml to rule that out, since it isn't needed for findByPrimaryKey(). It looks OK, but doesn't hurt to rule it out since this is a needle in a haystack. I'm wondering why it's looking for a relation. That seems really odd since you didn't define

[JBoss-user] [Persistence & CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread erik777
It appears as though it creates the index the first time, but can't detect that it already exists the next time, since it's trying to create it again. I would try another database, such as MySQL, to try to determine if it's a JDBC problem. If it works in MySQL or another database, then it is

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread erik777
rberehoudougou: You did the same thing. Your CMP field used a lower case 'd': | | productId | | And your primary key class used an upper case 'D': | public String productID; | Also, I can't remember if it is a requirement as I replaced all my composite primary keys with

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread erik777
You used a lower case 'd' when you defined the CMP field: | | | cliId | | and an upper case 'D' when you defined your accessors in your primary key class: | public Long getCliID() { | return cliID; | } | Alex, Ironbird seems thus far to be a good person and is

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-29 Thread erik777
ironbird: LOL! I noticed someone said "it should be" to you before when you posted a TRACE log4j property. I believe what he was saying is that for TRACE, class="org.jboss.logging.XLevel" is required. It isn't required for DEBUG, though, since DEBUG is built into log4j. DEBUG worked for m

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-29 Thread erik777
Thanks, hbaxmann, for the offer to further analyze the issue. Since the issue is resolved, I consider its relevance reduced to being an example of the greater problem. I'd love to spend time using examples to go over the theoretical possibilities, but really do have a lot on my plate today.

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-29 Thread erik777
Whenever your exception is being caused by a database error, the best bet is to see the exact SQL JBoss is sending to the database. There are two options for this. One is to enable logging in MySQL. In your my.cnf, you can add the line: log=/var/log/general.log This can get huge, and is not r

[JBoss-user] [Persistence & CMP/JBoss] - Re: Configuring JBoss CMP for a caching enviroment

2004-05-28 Thread erik777
I haven't done this in a long time, and I only did it for BMP, but the method is the same for CMP. You do it all in jboss.xml. Container configurations are defined as elements of the jboss tag. Here's a sample BMP custom configuration: | | | Custom BMP EntityBean |

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-28 Thread erik777
hbaxmann: Thank you for posting the message with kinder English and approaching it technically without commenting on a person's skill levels. I apologize if I was harsh on your choice of words, or use of English. I'll respond to the technical notions in your post now as best I can. anonymou

[JBoss-user] [Persistence & CMP/JBoss] - Re: getting error message

2004-05-28 Thread erik777
You can turn on CMP logging to see what it is sending to the database by adding this to your server/default/conf/log4j.xml: | | | | | As for how to implement sequence numbers in Oracle, I'm not sure how to set it up to get CMP to automatically do it. Here's a varia

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread erik777
ironbird: You're right. And I do apologize for coming off as condescening. Believe me, though, it has nothing to do with his being a newbie. I am normally very supportive of people learning something new. His tone was condescending, so I felt he needed to hear himself in context. There's

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-27 Thread erik777
hbaxmann: You are clearly learning relational theory in an academic setting. What school are you attending? What is your major? For one, no one completely normalizes data in the real world, and by real world, I mean business applications. When someone does, it's clear it's a college student

[JBoss-user] [Persistence & CMP/JBoss] - Re: Configuring JBoss CMP for a caching enviroment

2004-05-26 Thread erik777
JBoss caching is very configurable. I CMP configuration samples on this computer, but I'm sure others can show you examples of how to configure CMP's caching. Virtually all database caching uses "lazy loading", since you can't anticipate what the user will need to read ahead of time, and don'

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
hbaxmann: anonymous wrote : solution: build a db view per optional field, null-'key' rows will vanish, not the denormalized table This isn't a relational issue. The query I mentioned with 4 columns ironically has no relationships whatsoever. However, it does have 4 optional columns I need to

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
hbaxmann: anonymous wrote : solution: build a db view per optional field, null-'key' rows will vanish, not the denormalized table This isn't a relational issue. The query I mentioned with 4 columns ironically has no relationships whatsoever. However, it does have 4 optional columns I need to

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
anonymous wrote : | Why do you want the container do the job for you ? | Because I am using container managed persistence (CMP) and EJB-QL is a the Query Language? Are you asking why I'm using container managed persistence? | - To obtain database vendor indepedence. The applicati

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
anonymous wrote : Path expression navigability is composed using ?inner join? semantics. That is, if the value of a non-terminal cmr-field in the path expression is null, the path is considered to have no value, and does not participate in the determination of the result. | If that's the stan

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
The problem with that query is that it will return rows where c.customer IS NULL but the parameter ?1 is not null. You only want rows where c.customer is null and ?1 is also null. The equals doesn't work, and IS NULL only tests one side of the equation. You can't apply it to the parameter to

[JBoss-user] [Security & JAAS/JBoss] - Rollback

2004-05-24 Thread erik777
Did JBoss rollback the forums? I received email that someone replied to a post I put on the security forum, but it appears to be gone. Most recent date on forum posts is May 20th?!? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835690#3835690 Reply to the

[JBoss-user] [Security & JAAS/JBoss] - JAAS authentication vendor independent custom login

2004-05-24 Thread erik777
Is there a way to implement a custom JAAS authentication login without referencing vendor specific classies (ie, JBoss). The only way I've seen here is to extend JBoss DatabaseServerLoginModule. Does this mean that there is no way to create a custom JAAS login module that runs in any J2EE cont

[JBoss-user] [Persistence & CMP/JBoss] - Nulls in CMR where clause

2004-05-24 Thread erik777
Does anyone know what the status is of fixing the ability to use 'table.col = ?1' in EJB-QL without losing rows with null values? I remember that some future version of JBoss was supposed to address it, but can't remember which version, so don't know if it is supposed to be out now. I'd even s

[JBoss-user] [Nukes User] - Search for EJB-QL

2004-05-24 Thread erik777
How do you do a search on the forums for EJB-QL? It seems to treat the dash as whitespace, and EJB\-QL doesn't work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836030#3836030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Security & JAAS/JBoss] - Re: Security context propagation from web client to ejb

2004-05-16 Thread erik777
This is why I chose tokenized security instead of JAAS, which I view as a work in progress. You can pass a user session token as a simple parameter to any EJB method from any Java client. With one line of code, your EJB method can validate that the user has access to the business method. The

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

2004-04-21 Thread erik777
I was thinking request, but typed response. Don't know how I found it in 1.4 but not in 1.3. :) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html#getUserPrincipal() View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831819

[JBoss-user] [Security & JAAS/JBoss] - Re: Getting login name in a jsp

2004-04-21 Thread erik777
IMHO, using JoshuaBranch AS is a better way. :) But, that's just my humble opinion. One note about your code, request.getUserPrincipal() can return null. You might want to use something like this: | <%! | private String getName(HttpServletRequest request) { | Principal user = reques

[JBoss-user] [Security & JAAS/JBoss] - Re: Getting login name in a jsp

2004-04-20 Thread erik777
A JSP page is a servlet, so you can do everything you can do with a servlet. The JSP page gives you objects that you would normally either receive or derive from servlet parameters: application, session, request and response. Although you could derive the application and session from the req

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

2004-04-20 Thread erik777
I'm a little confused. I thought JBoss 3.2.x used J2SE 1.4 and J2EE 1.3. Does it use all or some of J2EE 1.4? I checked the API docs for 1.3 and 1.4, and I only saw response.getUserPrincipal() on 1.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831673

[JBoss-user] [HTTPD, Servlets & JSP] - Re: WAR not deploying properly, despite logging showing so

2004-04-17 Thread erik777
I think I had this problem a long time ago, and resorted to recompilling all classes. I'm not sure it was the same problem, but recompilling all classes instead of only those I modified did solve a problem for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Installation & Configuration] - Re: how to start deployment on jboss

2004-04-17 Thread erik777
Never used deploy.jar before. Use run.bat in the bin folder to run JBoss. Then just drop an ear or war in the server/default/deploy folder. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831175#3831175 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - Re: jboss on redhat 9

2004-04-17 Thread erik777
I've never had a problem running JBoss 3.2.3 on RH 9. I'd recommend downloading it again, and checking that the server/default/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml is there when you unarchive it. One thing worth mentioning, though, is that when you run as root, certain files th

[JBoss-user] [Installation & Configuration] - Re: SU jbossuser temporary file problem

2004-04-16 Thread erik777
In a word, yes. I was using su - jbossuser And the man pages say that - is the same as -l. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830954#3830954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830954 ---

[JBoss-user] [Installation & Configuration] - Re: SU jbossuser temporary file problem

2004-04-15 Thread erik777
The formatter ate the host part, so here's a retry to print one of the lines in the previous message: ../jboss-3.2.3/server/default/work/MainEngine/(host)/(JSP servlet java and class files) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830869#3830869 Reply

[JBoss-user] [Installation & Configuration] - Re: SU jbossuser temporary file problem

2004-04-15 Thread erik777
I'll test this as soon as I can take the server down (production). But, I don't think this is the same thing. Currently, when I don't use SU, it creates a work directory under the jboss tree, and this works fine. The compiled JSP pages go there. E.g., ../jboss-3.2.3/server/default/work/Mai

[JBoss-user] [Installation & Configuration] - Re: SU jbossuser temporary file problem

2004-04-15 Thread erik777
I wish that were true, because all users have write access to the folder it points to: '/var/tmp'. Unfortunately, it's trying to write then read a file in the home folder of the user I initially log into before I SU to 'jbossuser'. Thus, if I originally log in to user 'sam', then I get java.

[JBoss-user] [Security & JAAS/JBoss] - Re: SSL configuration

2004-04-15 Thread erik777
There are two ways you can do this. One is through Apache HTTPD, and another is directly in Tomcat. I use the former. To use Apache as your HTTPD, you use Tomcat's JK to forward requests from Apache to Tomcat. http://johnturner.com/howto/apache-tomcat-howto.html Then you setup Apache to us

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-15 Thread erik777
Scott, I'm happy to report that the XmlHelper that the virus scanner gave the alert for has the same md5 of jboss-3.2.3.tgz that I just downloaded and checked the md5 for. XmlHelper md5: 28ae27543ae18dc9efd144ac456634c6 To tell you the truth, Scott, the BAT virus was never my concern. I simply

[JBoss-user] [Security & JAAS/JBoss] - Re: ssl config in Jboss-tomcat

2004-04-14 Thread erik777
I'm curious, what are the benefits of using SSL in Tomcat instead of Apache? I'm wondering if it overcomes any of Apache's limitations. The primary limitation in Apache is that named virtual hosts doesn't work, although you can still use IP or port virtual hosting. Does named virtual hosting w

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread erik777
I'll check it tomorrow, and post the results. I highly suspect that these are false positives, but not for the same reason as you. I get the impression you're still caught up on the fact that it reported BAT (win32), which is OS dependent. The point I made in the previous post is that Java cod

[JBoss-user] [Security & JAAS/JBoss] - Re: Jboss and Apache and PHP?

2004-04-14 Thread erik777
I can't say it's not possible, as you can now run scripts in Java. You should look at apache's Jakarta projects, as I remember one of them giving the ability to run script languages from a Java web server. I'm not sure if you could extend this to run PHP. Even if you do, how would PHP access

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread erik777
Thank you, Scott, for the MD5 link. I was really hoping for come class level checks, but I can md5 the downloaded file, then md5 the individual classes immediately after unarchiving them from a verified tar ball. I'm also thinking about ways to automate daily class integrity verification in a

[JBoss-user] [Installation & Configuration] - Re: SU jbossuser temporary file problem

2004-04-13 Thread erik777
Forgot to mention this is JBoss 3.2.3 with Tomcat and Jasper. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830291#3830291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830291 --

[JBoss-user] [Installation & Configuration] - SU jbossuser temporary file problem

2004-04-13 Thread erik777
For some reason, when I SU to a user for JBoss to run, it still tries to use the home directory of the user I physically logged into before I used SU to write temporary files for JSP compilation. The process goes like this: - Log into OS with user "joe" - Launch X (gnome) - Run script i

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-12 Thread erik777
I use and love Linux and FreeBSD. Windows is a necessary evil though to ensure and be able to support and document cross-OS compatibility. MySQL and Apache are configured differently on Windows, and are How can a batch virus infect a class file? The same reason an email can carry any virus/

[JBoss-user] [Security & JAAS/JBoss] - J2EE and JBoss virus alerts

2004-04-11 Thread erik777
Can anyone tell me how I can verify if these virus alerts are valid or false positives: | C:\Program Files\IBM\WebSphere Studio\eclipse\plugins\org.eclipse.platform.doc.isv_2.0.0\doc.zip/product_update.htm infected: [EMAIL PROTECTED] | C:\Program Files\Rational\Rational Test\Quality

[JBoss-user] [Security & JAAS/JBoss] - Re: Opening RMI to the Internet?

2004-04-11 Thread erik777
One poster noted that you can obtain a CMP data source via JNDI (1099). A reply noted that you can secure it with a SecurityManager, but I'm not sure I understand how this works with remote connections. Until I fully undestand how to implement container security across a remote connection, I c

[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic creation of Roles and Users

2004-03-31 Thread erik777
I created JoshuaBranch SA to do just that, among other things. You can read the features it has at http://as.JoshuaBranch.com. Is your use for a for-profit or not-for-profit corporation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828495#3828495 Reply

[JBoss-user] [EJB/JBoss] - Remote EJB connectivity... compatability

2004-03-31 Thread erik777
Can anyone help me determine the compatibility of having non-JBoss J2EE servers connect to JBoss EJBs remotely, including what it took to get to work? Currently, I tested WebSphere 5 successfully, with the following requirements identified: - Had to define INITIAL_FACTOR: table.put( Context.IN

[JBoss-user] [EJB/JBoss] - Re: comminucate to another application server.

2004-03-31 Thread erik777
I have found that JNDI works great, so you don't need the complexity of rmi-iiop. Currently, I tested it successfully with JBoss --> JBoss and WebSphere --> JBoss, although I had to include the JBoss client jar for WebSphere. Basically, if your JNDI look internally was "MyApplication/MyBean", t

[JBoss-user] [EJB/JBoss] - Re: J2EE CMP EJB Error compiling ejbql FROM not found

2004-03-31 Thread erik777
I use AS to alias entities in the FROM clause. Here's an example of EJB-QL that works: | | | findByGlobalApplicationDomain | | java.lang.Integer | | | [CDATA[ | SELECT DISTINCT OBJECT(rm) |

[JBoss-user] [EJB/JBoss] - Re: BUG: EJB-QL OR operator fails with nulls in inner join

2004-03-28 Thread erik777
Here's the DEBUG output: Executing SQL: | SELECT DISTINCT t0_rm.id | FROM rolemodules t0_rm, | userroles t12_ur, | sessions t1_s, | roles t5_rm_role, | domains t2_rm_role_domain, | modules t4_rm_module,

[JBoss-user] [EJB/JBoss] - Re: BUG: EJB-QL OR operator fails with nulls in inner join

2004-03-28 Thread erik777
I am using JBoss 3.2.3. I'll report back when I have time to post the SQL. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827797#3827797";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827797>Reply to the post ---

[JBoss-user] [EJB/JBoss] - BUG: EJB-QL OR operator fails with nulls in inner join

2004-03-27 Thread erik777
I think I found a bug in EJB-QL. Please correct me if I am doing things incorrectly. I'm very much aware of the limits in EJB-QL today with regards to NULLs, and have had to create many queries to handle instances where parameters would otherwise NULL values. There's nothing more I'd like

[JBoss-user] [Installation & Configuration] - Re: Virtual Host Aliases

2004-03-14 Thread erik777
It works now that I capitalized the Alias tags. In other words: | | this.works.now.too | ... http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825534#3825534";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Frequently Asked Questions (FAQ)] - Re: setting up a virtual host with 3.2.3 (without Apache)

2004-03-14 Thread erik777
NM. I discovered that I didn't capitalize the Alias tags, which fixed it. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825533#3825533";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825533>Reply to the post

[JBoss-user] [Installation & Configuration] - Re: Virtual Host Aliases

2004-03-14 Thread erik777
In Tomcat, I have not been able to get it to recognize any of the aliases (JBoss 3.2.3). It only seems to works with the value I put in the host name: | | this.does.not.work | ... When I enter an alias for the url in the web browser, JBoss/Tomcat appears to try

[JBoss-user] [Installation & Configuration] - Re: JBoss LDAP configuration with Novell eDirectory 8.6

2004-03-13 Thread erik777
I've created a centralized role-based J2EE security service called JoshuaBranch AS and plan to publish a commercial version (free for non-profits) this month at JoshuaBranch.com (the site will be up within a few weeks). LDAP authentication is planned for one of the upcoming versions. LDAP aut

[JBoss-user] [Frequently Asked Questions (FAQ)] - Re: setting up a virtual host with 3.2.3 (without Apache)

2004-03-13 Thread erik777
This certainly helped, as it now recognizes the virtual-host setting. However, my problem is that I need it to support multiple virtual host settings. This is to support escalation from development to testing to production, each having a diferent virtual host name. I have alias tags in the ho

[JBoss-user] [EJB/JBoss] - Re: Crazy problem

2004-03-08 Thread erik777
anonymous wrote : ref = jndiContext.lookup("java://192.168.0.170/banca/Operazioni"); | Isn't that supposed to be "jnp" instead of "java" for the JNDI scheme? ref = jndiContext.lookup("jnp://192.168.0.170/banca/Operazioni"); That's the only way I know how to connect remotely in JBoss. If

[JBoss-user] [EJB/JBoss] - WebSphere War to JBoss EJB lookup - how to?

2004-03-08 Thread erik777
How do you do a JNDI lookup from WebSphere from a War to obtain the home reference of a remote EJB in JBoss? It currently works from JBoss clients without a problem using this PROVIDER_URL for the JNDI lookup: jnp://192.168.1.8:1099 from WebSphere, however, I get this error: javax.nam

[JBoss-user] [Advanced Documentation] - Free online user commented documentation

2004-03-08 Thread erik777
Is there any talk of creating free user created and commented documentation? I personally would love to contribute. JBoss needs high quality documenation today. MySQL.com has an excellent model of high quality documentation. I'm a firm believer that enabling the masses to create leads to hig

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss support EJB QL??

2004-02-26 Thread erik777
anonymous wrote : if the field type is TDateTime (in DataBase) ,how can i map it to JBOSS? to String type or to java.sql.Date ? or to java.sql.Timestamp?? I use MySQL, and the defaults work. I also have instance in jbosscmp-jdbc where I have the following, which may be the same as the default:

[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-15 Thread erik777
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821638#3821638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821638 I would still recommend using only local interfaces for entity beans and only letting EJBs access them

[JBoss-user] [EJB/JBoss] - Re: Tomcat loses connection to JBoss

2004-02-12 Thread erik777
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821353#3821353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821353 There are a lot of benefits to doing what he's doing. For one, he can have many clients access the ce

[JBoss-user] [EJB/JBoss] - Re: EJB Lookup, Connection Refused.

2004-02-12 Thread erik777
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821317#3821317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821317 This blows me away because when I set JBoss' host to be 192.168.1.8 via --host= I get connection refus

[JBoss-user] [Installation & Configuration] - Re: Mapping Configuration error

2004-02-05 Thread erik777
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820264#3820264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820264 You mispelled it. It is jmx-console not jms-console (x instead of s). For anyone

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.3 restarts involuntarily on Windows NT

2004-02-04 Thread erik777
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820251#3820251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820251 The Java version shouldn't matter since it is the exact version that works on W2K. To rule it out, th