Re: [JBoss-user] http session clustering

2003-06-09 Thread Stefano Maestri
On Sunday 08 June 2003 06:21, Sacha Labourey wrote: Hello Stefano, Thanks, it works. great just a suggestion add this on your very good JBoss Clustering docs. And another thing: I read in jbossbook3.2.1 draft docs in chapter Using Clustering with Tomcat this phrase: If you are

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
In MQSeries 5.2, you could only use the XAConnectionFactory if you configured the MQSeries JMS API to use 'bindings mode' instead of 'client mode'. The upshot of this is that the MQSeries Queue Manager and your Application Server needed to be on the same box, because bindings mode uses shared

Re: [JBoss-user] problem with DuplicateClass and LocaleBUndle

2003-06-09 Thread Janardhan Burugupalli
hi All, Does any one have a solution for this problem I am bundling the LocaleBundle.properties files in two jar files NetServer.jar and WorkServer.jar and deploying it in the Jboss-tomcat-3.2.1.everything works fine except for if there are some duplicate classes in the two jar

Re: [JBoss-user] Call an EJB from an Oracle Java Stored Procedure

2003-06-09 Thread Stefano Maestri
On Saturday 07 June 2003 01:20, Nicholas wrote: Stefano; The keys are the following: 1. Defer resolution until the second pass. (set resolve=on) Already done. 2. Recompile all classes when you are done. You can generate a script to do this as follows: select 'ALTER JAVA CLASS USER

[JBoss-user] HOWTO: Call an EJB from an Oracle Java Stored Procedure

2003-06-09 Thread Nicholas
I went back to reproducs this, and the process was this using Windows XP Professional JBoss jboss-3.2.0_tomcat-4.1.24 Oracle Enterprise Version 9.2.0.1.0 1. LoadJava the entire JBoss Client Jar collection into SCOTT. project name=OracleLoadJavaExample default=all basedir=. taskdef

Re: [JBoss-user] problem with DuplicateClass and LocaleBUndle

2003-06-09 Thread Jonathan . O'Connor
Jani, Since (I think) about JBoss 3.0.5 there has been a new class loader mechanism. The benefits are that by default all JARs share the same class loader. For much more than I can explain or understand, check the documentation: http://prdownloads.sourceforge.net/jboss/ClassLoading.pdf?download

Re: [JBoss-user] MBean deployment ignores depends tag

2003-06-09 Thread Alex Hornby
Did anyone have a chance to look at the log files I sent on thursday last week? The deployment order seems to be ignoring the dependencies. Alex. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread thomas . cherel
Title: RE: [JBoss-user] JBoss XA transaction with WebSphere MQ Thanks for the information. I went through this pain already until I discovered that with MQ 5.3, service pack 3 (CSD03) and what IBM is calling the Extended Transaction Client, you are now supposed to be able to make XA work

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Title: Message I'm afraid I never tried MQ with JBoss at all (XA or otherwise). We were using WebLogic and doing JTS transactions in client mode against a remote MQ server. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 June

RE: [JBoss-user] Some J2EE Design Questions

2003-06-09 Thread Finn, Michael
Title: RE: [JBoss-user] Some J2EE Design Questions Sorry, connectionless was admittedly a poor choice of words. Typically, that applies to UDP protocols (SNMP, TFTP, and the like). In most applications of RMI, a client-server RMI connection is not a long-lasting one. By long-lasting, I mean

Re: [JBoss-user] MBean deployment ignores depends tag

2003-06-09 Thread Alex Hornby
On Mon, 2003-06-09 at 14:25, Nicholas wrote: Can you send them again ? I could not find them in the archive. Hmmm, looks like the sourceforge archive strips off attachments. Here is the body of my reply to Scott and the attachment again: I've attached a gzip'd jboss log from a jboss 3.2.1

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread thomas . cherel
Title: Message WebLogic is one of my options as well. Does it mean that you managed to have a MQ JMS provider working within WebLogic (including having Message Driven Bean deployed listening to MQ queues/topics) with XA/JTS support? If yes, I am interested to know which version of

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Title: Message A while back I had it working in WebLogic 6 with JTS transaction (NOT XA transactions). At least I think it was JTS transactions. Essential you set the transactional flag to true when creating a session, and have to do session.commit for your writes to appear. This works in

AW: AW: [JBoss-user] Confused about Web Service Security...

2003-06-09 Thread Simone Milani
Hi, I am trying to get basic auth to work. I am at the point where got my Java cleint passing the Authorization: Basic details and JBoss throwing back an error: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: javax.ejb.EJBException:

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread thomas . cherel
Title: Message Thanks for the extra information. I appreciate. Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 10:19 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss XA transaction with WebSphere MQ A

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread Danny . Yates
Title: Message A while back I had it working in WebLogic 6 with JTS transaction (NOT XA transactions). At least I think it was JTS transactions. Essential you set the transactional flag to true when creating a session, and have to do session.commit for your writes to appear. This works in

[JBoss-user] Classloaders and the jboss-app.xml

2003-06-09 Thread Mark.Gargan
Title: Message Hi everyone, I've just encountered the dreaded ClassCastException error that's thrown due to the fact that the type of the java class is now a function of the class loader as well as the name. I read the Classloader excerpt from the 3.x documentation thatJonathan

AW: AW: [JBoss-user] Confused about Web Service Security...

2003-06-09 Thread Simone Milani
Hi, I managed to do it, thank you anyway :) Simone Hi, I am trying to get basic auth to work. I am at the point where got my Java cleint passing the Authorization: Basic details and JBoss throwing back an error: AxisFault faultCode:

RE: [JBoss-user] JBoss XA transaction with WebSphere MQ

2003-06-09 Thread thomas . cherel
Title: Message Thanks for the extra information. I appreciate. Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 10:19 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss XA transaction with WebSphere MQ A

RE: [JBoss-user] CMP2.0 and inheritance.

2003-06-09 Thread Peter Spiess
Mark, I found this series of articles to be informative: http://www.onjava.com/pub/a/onjava/2002/09/04/ejbinherit.html Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] CMP2.0 and

[JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-09 Thread jonathan wong
Dear all , Hello ! I am a beginner of JBoss 3.0.7. I encounter a problem of JNDI in JSP . The file structure like follow : E:\JBoss3T\test_EJB\com\sample\HelloWorld.class E:\JBoss3T\test_EJB\com\sample\HelloWorldBean.class E:\JBoss3T\test_EJB\com\sample\HelloWorldHome.class And the ejb-jar.xml

RE: [JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-09 Thread Barlow, Dustin
You should change your lookup from "java:comp/env/com/sample/HelloWorld" to "java:/com/sample/HelloWorld". The "comp/env" scope is only used to lookup bean specific environment attributes that are defined in ejb-jar.xml that is deployed with the ejb. Hope that helps, Dustin

[JBoss-user] @jboss-net:xml-schema

2003-06-09 Thread Felipe Oliveira
hi i am using xdoclet to generate my entity and session beans but i also want it to generate my webservices. i have the part where it generates the web-service.xml defining my services and mapping them to the correct jndi entries of my session beans. my session bean methods return custom data

Re: [JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-09 Thread Marco Tedone
A couple of considerations: 1) If your JSP is running from a context different from Jboss, then you should create the InitialContext using the jndi.properties file like: InitialContext context = new InitialContext(properties); 2) The jndi name of your bean could be probablylooked upas:

[JBoss-user] jBoss Remoting limitation

2003-06-09 Thread Edward Flick
Is there any way to have a remote invocation returna remote referenceinstead of a serialized result?Edward FlickEnterprise Applications Designer / Database Administrator / Web AdministratorCDF, Inc. Do you Yahoo!? Free online calendar with sync to Outlook(TM).

[JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-09 Thread Marco Tedone
Hi, I would like to retrieve a javax.mail.Session object from within a class running under Tomcat. I would like to user the javax.mail.Session provided by Jboss. In the jmx-console, I can see that under the java Namespace there is the 'Mail' name; however, from within my class, when I do the

[JBoss-user] XA connection factory for an MDB

2003-06-09 Thread thomas . cherel
Title: XA connection factory for an MDB My limited knowledge of MDB internals and XA is getting me confused. The basic question that I have is "for what purpose do I need an XA connection factory for an MDB?" Initially, my answer was as follow: If I deploy my MDB with container managed

Re: [JBoss-user] XA connection factory for an MDB

2003-06-09 Thread hiram
Hi Thomas, [EMAIL PROTECTED] wrote: My limited knowledge of MDB internals and XA is getting me confused. The basic question that I have is for what purpose do I need an XA connection factory for an MDB? To get a 2 phase commit between all the resources involved in the tranasaction.

RE: [JBoss-user] XA connection factory for an MDB

2003-06-09 Thread thomas . cherel
Thanks a lot I really appreciate the answer. I was not so confused after all :-) As soon as I am trying to use a WebSphere MQ XA connection factory, my MDB never receive any messages. Any pointers on which JBoss classes I should look at/trace through to understand where the problem might be? I

Re: [JBoss-user] @jboss-net:xml-schema

2003-06-09 Thread Jason Essington
On Monday, June 9, 2003, at 01:00 PM, Felipe Oliveira wrote: hi i am using xdoclet to generate my entity and session beans but i also want it to generate my webservices. i have the part where it generates the web-service.xml defining my services and mapping them to the correct jndi entries of

Re: [JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-09 Thread jonathan wong
Dear all , Hello ! Thank you for all your help . I try to rewrite the JSP like follow : %@ page session="false" isThreadSafe="true" isErrorPage="false" import="javax.naming.*,java.util.*, com.sample.*"% % try { Properties properties = new

Re: [JBoss-user] XA connection factory for an MDB

2003-06-09 Thread hiram
Hi Thomas, I have done the Websphere MQ integration with jboss in the past and ran into the same issues. It's not you and it's not jboss. The JMS ASF spec is a little weak in describing who/how the inbound XA transaction gets started. The only way JBossMQ was able to implement the ASF spec

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-09 Thread Guy Rouillier
Here is what I did under 2.4.3. The same thing should work in 3.2.1, as I see mail-service.xml is in the default server. Check your server (either the logs or jmx-console) to make sure the mail service has started properly. Source: Session session = ((Session) new

RE: [JBoss-user] XA connection factory for an MDB

2003-06-09 Thread thomas . cherel
Hiram, Again, thanks a lot for the answers. I supposed I could have spent days trying to understand what was happening. I will try to look into the two solutions you proposed. I am far from being a JBoss expert but I am more than willing to learn. I suppose that to get an idea on what the

[JBoss-user] 13:15:47

2003-06-09 Thread jboss-user
,remove [EMAIL PROTECTED] www.mailfair.com --- [] 2000 http://www.freeway.cn/pages/agent.htm