RE: [JBoss-user] Clustering (failover) works but not RoundRobin load-balancing policy

2002-04-08 Thread Sacha Labourey
Hello Michel, I've just made some test yesterday with the latest CVS version (plus fixed a bug). Can you please try the CVS HEAD and if it doesn't work, send me your code. Thank you. Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [m

Re: [JBoss-user] Strange problem

2002-04-08 Thread Dmitri Colebatch
Hi, > Here is log for which the error is coming. [snip] > [2002-04-09 10:32:07,587; JAWSPersistenceManager] > java.sql.SQLException: Lost connection to server during query (I think, here > is the problem) > [2002-04-09 10:32:07,596; JAWSPersistenceManager] > java.sql.SQLException: Lost connecti

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread James Higginbotham
Here is all the detail you asked for from the getMethod() and homeMapping.toString() : 2002-04-08 14:45:33,759 DEBUG [org.jboss.ejb.StatelessSessionContainer] mi.getMethod():public abstract com.betweenmarkets.user.ejb.UserManager com.betweenmarkets.user.ejb.UserManagerHome.create() thro ws javax.

Re: [JBoss-user] Building Catalina .sar (Tomcat to work with JBos s Beta 2 HOWTO)?

2002-04-08 Thread David Jencks
I think it's a classloader issue, namely the method objects are from objects from different classloaders so are not equal, even though their string representation is. Scott asked for a testcase... that will be the easiest way to get it fixed. david jencks On 2002.04.08 15:42:51 -0400 Dennis Muh

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBos sBeta 2 HOWTO)?

2002-04-08 Thread Dennis Muhlestein
I tried with tomcat on a separate machine, and with embedded tomcat running withing Jboss to perform the same method method call. The exception occurs when the container tries to invoke the create method of my SSB only when I try from the embedded tomcat. Note: I am using the same instance of JB

Re: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Marius Kotsbak
On man, 2002-04-08 at 23:08, Jules Gosnell wrote: > Virtual host has been cnfigurable in the jetty-web.xml for a long time. > > Root context can also be done via root.war or ROOT.war (I forget wich) - but > I see this as a hack when you can already use application.xml or > jboss-web.xml to do thi

Re: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread Scott M Stark
The Catalina integration layer will change significantly in the final beta release of 3.0 which will be out at the end of the week. If you want to ensure this works for you app you need to provide a testcase that demonstrates the problem against the final beta version. Sc

Re: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Jules Gosnell
Virtual host has been cnfigurable in the jetty-web.xml for a long time. Root context can also be done via root.war or ROOT.war (I forget wich) - but I see this as a hack when you can already use application.xml or jboss-web.xml to do this. Jules Marius wrote: > Anders Lindh wrote: > > > > Hi

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread Bunker, Dan
I have run code that works fine with the jetty-jboss bundle but fails with the tomcat-jboss bundle. Jetty and Jboss are definately more cohesive than tomcat and jboss are. Look at the sar file size difference between the two. I haven't looked at any jetty sar source but I imagine that the classl

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread James Higginbotham
So, this means that the Jetty .sar doesn't have this classloader problem, since it doesn't happen under Jetty? Just wanted to make sure we know the exact cause. The same struts action under Jetty works fine, but fails to work under Tomcat. Any estimations on when this bug will get picked up? We

[JBoss-user] Clustering (failover) works but not RoundRobin load-balancingpolicy

2002-04-08 Thread Michael Arena
I have read the other forum threads related to RoundRobin load-balancing and they did not solve the problem where the EJB request is always sent to the last node to join the cluster. I have clustering running (using the default cluster-service.xml provided) and I confirmed that failover does wo

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Marius Kotsbak
Use normal session-beans, that is called with the timer/scheduler mbean, and the clients. On man, 2002-04-08 at 18:51, Loïc Lefèvre wrote: > Is the AdminServer mbean a such example? (I mean "extends > ServiceMBeanSupport") > > In fact, I would like to know if the development of a service stands

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread Bunker, Dan
I have played with the same issues and am fairly confident that this is a ClassLoader issue. Investigating the tomcat.sar source files, jboss hands the WAR file off to Catalina to handle. This means that all web content is loaded with the catalina WebClassloader. So even though you have class1

Re: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread David Jencks
Basically I don't have a clue about what is going on, however... Are you doing PortableRemoteObject.narrow in your failing code and a cast in your unit test? If so you might try changing to a cast in your failing code. This is a wild guess, but let us know if it works. Everything should be unse

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBossBeta 2 HOWTO)?

2002-04-08 Thread Dennis Muhlestein
I have the exact same exception when I try to access an EJB from a servlet. I took our existing application that worked fine with Tomcat on a separate machine, and embedded tomcat into JBoss. When I try to get the Home object from a servlet the container throws the same exception from Stateless

Re: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread David Jencks
Well, I wonder if it is some kind of classloader problem. I don't really have a clue about what it could be. The mi (method invocation) contains info about what you are trying to do: the method name and arguments you called, and various context info. I don't see how the mi could be null there,

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Loïc Lefèvre
Is the AdminServer mbean a such example? (I mean "extends ServiceMBeanSupport") In fact, I would like to know if the development of a service stands for what I need, (old message): "...I need a background process to manipulate EJBs. Let's take my example: an AI background process manages the wea

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Marius Kotsbak
Why isn't this change committed to CVS? Is there any other problems with other JVMs? On man, 2002-04-08 at 18:03, Alex Loubyansky wrote: > Adrian Brock answered this question yesterday. Repost: > > - Try this link for a temporary workaround. > - http://main.jboss.org/thread.jsp?forum=66&thread=1

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread James Higginbotham
No, both unit test and struts action use our helper factory, which use the narrow() method. They cast to the home interface after calling the helper method, which narrowed the reference. Any other ideas based on the stacktrace and what your code is trying to do? I can dive into the source and put

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread James Higginbotham
Well, here is the helper code (same as what is being called from the unit test): UserManagerHome dmHome = (UserManagerHome) EJBHomeFactory.getInstance() .lookupEJBHome(UserManagerHome.class); ejbUserManager_ = dmHome.cre

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Sacha Labourey
> I've got some more questions: > What are these lines (appearing during JBoss initialization)? > > --- > GMS: address is llefevre:3880 > --- This is from the clustering initialisation. Remove

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Alex Loubyansky
Adrian Brock answered this question yesterday. Repost: - Try this link for a temporary workaround. - http://main.jboss.org/thread.jsp?forum=66&thread=11645 - - Regards, - Adrian alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Loïc Lefèvre >

[JBoss-user] SSB with BMT: zombie when client dies and transaction is alive

2002-04-08 Thread E . Guib
Hello, I have a SSB (statefull session bean) with BMT (bean managed transaction) whith the following transaction handling: - one business method starts the transaction (calls UserTransaction.begin()) - another business method calls commit() or rollback() on the transaction. When the client does

Re: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread David Jencks
Looking at the code, I suspect that whatever home method you are calling isn't properly mapped to whatever is supposed to handle it. What home method is being called? What should handle it? It looks like we could provide a better error message;-) david jencks On 2002.04.08 11:18:49 -0400 James

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Loïc Lefèvre
That's it, thank you very much! :) I've got some more questions: What are these lines (appearing during JBoss initialization)? --- GMS: address is llefevre:3880 --- And please, could you give

RE: [JBoss-user] Scheduled class slow when bundled with beans

2002-04-08 Thread Eric Jain
> ...then each of those methods are going to run in a separate > transaction, and the bean will probably be loaded separately for each > method call. Two database hits. Makes sense, thanks! -- Eric Jain ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Marius
Sacha Labourey wrote: > > Do you have some kind of personal Java declarative-security file on your > system classpath? > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]De la part de Loïc > > Lefèvre > > Envoyé : lundi, 8 avril 2002 17:12 > > À : JBoss Us

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Loïc Lefèvre
I don't think so, could you tell me please where I could find such files? my classpath: .; D:\JMF21~1.1\lib\sound.jar; D:\JMF21~1.1\lib\jmf.jar; D:\jdk1.4.0\jre\lib\rt.jar; D:\dev\servlet.jar; D:\dev\jdbc; D:\dev\mail.jar; D:\dev\activation.jar; D:\dev\xerces.jar; D:\dev\xalan.jar; D:\dev\fop.ja

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Loïc Lefèvre
I don't think so, could you tell me please where I could find such files? my classpath: .; D:\JMF21~1.1\lib\sound.jar; D:\JMF21~1.1\lib\jmf.jar; D:\jdk1.4.0\jre\lib\rt.jar; D:\dev\servlet.jar; D:\dev\jdbc; D:\dev\mail.jar; D:\dev\activation.jar; D:\dev\xerces.jar; D:\dev\xalan.jar; D:\dev\fop.ja

RE: [JBoss-user] Building Catalina .sar (Tomcat to work with JBoss Beta 2 HOWTO)?

2002-04-08 Thread James Higginbotham
Great, thanks for the info, it compiled! Now, however, I get the following error when my struts action attempts to invoke an EJB.. I've used multiple J2EE containers and would assume that I could get a servlet and EJB out there and working quickly.. My unit tests show that I can talk to the EJBs

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Sacha Labourey
Do you have some kind of personal Java declarative-security file on your system classpath? > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Loïc > Lefèvre > Envoyé : lundi, 8 avril 2002 17:12 > À : JBoss User Mailing List > Objet : RE: [JBoss-user]

RE: [JBoss-user] Compiling JBoss-all / Running JBoss 3.x

2002-04-08 Thread Loïc Lefèvre
Okay, The compilation process has been successfull but when I start JBoss (bin/run.bat), I've got some errors (see the attachment). Any idea where do they come from? TIA Loic -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Loïc Lefèvre Envoyé : lundi 8

Re: [JBoss-user] Scheduled class slow when bundled with beans

2002-04-08 Thread danch
Jeff Schnitzer wrote: > How are you accessing the entity beans? If you access like this: > > void clientMethod() > { >foo = bean.getFoo(); >bar = bean.getBar(); > } > > ...then each of those methods are going to run in a separate > transaction, and the bean will probably be loaded sepa

RE: [JBoss-user] Compiling JBoss-all

2002-04-08 Thread Loïc Lefèvre
It should be that... I re-check out :) Thanks -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Sacha Labourey Envoyé : lundi 8 avril 2002 11:55 À : Loïc Lefèvre; JBoss User Mailing List Objet : RE: [JBoss-user] Compiling JBoss-all Hello, Are you sure t

RE: [JBoss-user] JBoss 2.4.4/Tomcat 4x - How do I do Virtual Paths?

2002-04-08 Thread Mike Lecza
Hi Scott (or anyone who knows), Just wondering if you can explain your suggestion below a little bit. Perhaps by supplying an example. I appreciate your assistance. Best Regards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott M Stark Sent

RE: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Coetmeur, Alain
> -Message d'origine- > De: Anders Lindh [mailto:[EMAIL PROTECTED]] > Date: lundi 8 avril 2002 11:15 > À: [EMAIL PROTECTED] > Objet: [JBoss-user] Virtual hosts and root contexts > > > Hi, > > I'm trying to get catalina and virtual hosts to work, and finally seem > have succeeded. The

Re: [JBoss-user] JBoss CVS module

2002-04-08 Thread Dmitri Colebatch
jboss-all cheers dim - Original Message - From: "Loïc Lefèvre" <[EMAIL PROTECTED]> To: "JBoss User Mailing List" <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 6:34 PM Subject: [JBoss-user] JBoss CVS module > Hi, > Can someone tell me the module name to check out > the JBoss-3 source

Re: [JBoss-user] Virtual hosts in JBoss 3.x

2002-04-08 Thread Marius
Are there any plans for including virtual host support in Jboss 3.x also? Anders Lindh wrote: > > No, atleast if I interpreted the cvs tags correctly. > > - Anders > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Marius > Sent: 8. huhtikuuta 2

RE: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Anders Lindh
No, atleast if I interpreted the cvs tags correctly. - Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Marius Sent: 8. huhtikuuta 2002 12:46 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Virtual hosts and root contexts

RE: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Anders Lindh
This small patch allows one to deploy war files as the context root by defining ROOT in jboss-web.xml. Quite useful with virtual hosts... The fix is quite obious, the current behavior only treated ROOT as a special case if no context was given (webContext == null), which isn't possible is you ha

Re: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Marius
Anders Lindh wrote: > > You can specify the virtual host in jboss-web.xml (WEB-INF/, in the war > file), just add a "www.mysite.com" element. > This probably requires Jboss_2_5_11 from cvs. Ah. I am using 3.x from CVS HEAD. Is this feature also implemented on this one? > > - Anders > > -O

RE: [JBoss-user] Compiling JBoss-all

2002-04-08 Thread Sacha Labourey
Hello, Are you sure the CVS checkout terminated correctly (i.e. error code 0)? Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Loïc > Lefèvre > Envoyé : lundi, 8 avril 2002 11:51 > À : JBoss User Mailing L

RE: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Anders Lindh
You can specify the virtual host in jboss-web.xml (WEB-INF/, in the war file), just add a "www.mysite.com" element. This probably requires Jboss_2_5_11 from cvs. - Anders -Original Message- From: Marius [mailto:[EMAIL PROTECTED]] Sent: 8. huhtikuuta 2002 11:46 To: [EMAIL PROTECTED] Cc:

Re: [JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Marius
Anders Lindh wrote: > > Hi, > > I'm trying to get catalina and virtual hosts to work, and finally seem > have succeeded. The only remaining problem is how to deploy different > root applications for different virtual hosts. If I define > in jboss-web.xml, catalina deploys it as > web10xx. If I

[JBoss-user] Compiling JBoss-all

2002-04-08 Thread Loïc Lefèvre
Hi, I've just checked out the jboss-all module and I've got some errors when running the jboss-all/build/build.bat command (I use the jdk 1.4), here is the messages: ### ... =

[JBoss-user] Virtual hosts and root contexts

2002-04-08 Thread Anders Lindh
Hi, I'm trying to get catalina and virtual hosts to work, and finally seem have succeeded. The only remaining problem is how to deploy different root applications for different virtual hosts. If I define in jboss-web.xml, catalina deploys it as web10xx. If I set a / in content-root, the context

RE: [JBoss-user] JBoss CVS module

2002-04-08 Thread Sacha Labourey
jboss-all (for jboss 3.x) for more info: http://www.jboss.org/developers/cvs.jsp Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Loïc > Lefèvre > Envoyé : lundi, 8 avril 2002 10:34 > À : JBoss User Mailing

[JBoss-user] JBoss CVS module

2002-04-08 Thread Loïc Lefèvre
Hi, Can someone tell me the module name to check out the JBoss-3 sources? TIA Loic ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Forum behaves strangely

2002-04-08 Thread Sacha Labourey
Yes, this is really annoying! I get the same result, at random time. > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de > [EMAIL PROTECTED] > Envoyé : lundi, 8 avril 2002 10:46 > À : jboss user > Objet : [JBoss-user] Forum behaves strangely > > > > I

[JBoss-user] Forum behaves strangely

2002-04-08 Thread tsmets
I am querying the forum for posts regarding a simple probl but the pages don't download completely. I just took a snap shot that I uploaded here : http://tsmets.lautre.net/JbossProblem.html If the Forum admin wants me to do smthg, he just need to contact me back ! rgds, Thomas, -- Thomas SM

RE: [JBoss-user] Strange problem

2002-04-08 Thread Joost v.d. Wijgerd
Hi, This could be due to the fact that you are trying to store and read all in one transaction, if the transaction isn't committed, the row is not yet inserted in the database. Joost. -Original Message- From: Mahesh Agarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 6:55 A

RE: [JBoss-user] bug in .jboss.net-deployer, invalid email-address!

2002-04-08 Thread Marius Kotsbak
Yes, I have the same problem, after moving many .jars into lib.. I tried to send a copy of my email to Christoph, but I got an error from jboss-mailserver that the user isn't found ([EMAIL PROTECTED]), so I hope he, or someone else responsible for this is following the user/dev-list. Also, I