Re: [JBoss-user] JBoss/Jetty/JBuilder
On Friday, December 6, 2002, at 02:11 PM, cai margiex wrote: http://sourceforge.net/projects/jboss-opentool/ Maybe this will help. I believe that is the same tool referred to in the instructions in my earlier response to you. It sets up JBoss, but not the JSP/Servlet engine. I got the EJB stuff working fine, but there seems to be no tool for integrating Jetty as opposed to Tomcat. I could manually deploy everything, I suppose, but I like the convenience of the IDE integration. I may just switch to Tomcat for now, and then later on try to use Jetty again. Is there a major performance difference between the two? Is there any reason I should go to the trouble of writing an openTool to make Jetty recognized by Jbuilder? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ClassCastException after redeploying
Same problem happens under two different enviroments... WinNT: - jboss-3.0.4_tomcat-4.1.12.zip - j2sdk-1_4_0_03-windows-i586.exe Linux (Debian/testing): - jboss-3.0.4_tomcat-4.1.12 - j2sdk-1.4.1-beta-linux-i586.bin what else can I try? thanks and please keep helping :) Oliver. On Fri, 2002-12-06 at 14:29, JD Brennan wrote: > What version of JBoss are you running? We saw this in > 3.0.0, but it went away in 3.0.3 and 3.0.4 - we never > tried 3.0.1 or 3.0.2, so I don't know about those > versions. > > JD > > -Original Message- > From: Oliver George [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 6:55 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] ClassCastException after redeploying > > > > Hi all, > > I have a much reported problem but I'm unable to find the solution. > > The problem: I have to reboot the server after each EJB change, if I > don't by webapp throws ClassCastExceptions when accessing my EJBs. > > A description is below, the problem happens on every project I've > tried > including the CMP example in the $ doco. > > > (sob) please help me, Oliver. > > > -- > On a fresh reboot of JBoss works perfectly. My servlet can access a > session bean fine. > > I'm redeploying my exploded project by touching: > my.ear/META-INF/application.xml. > > The problem happens even when nothing has changed. > > When I redeploy I get this error when my servlet is trying to access a > session bean home interface: > > java.lang.ClassCastException > at > >com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293) > at > javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134) > ... > > The same thing happens with my junit tests, and even the CMP example > which comes with the paid for JBoss Documentation. > > What is the problem? I see reports of a similar nature in lots of > postings but nothing I try helps. > > > -- > Oliver George <[EMAIL PROTECTED]> > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Oliver George <[EMAIL PROTECTED]> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss/Jetty/JBuilder
http://sourceforge.net/projects/jboss-opentool/ Maybe this will help. From: Matthew Van Horn <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss/Jetty/JBuilder Date: Fri, 6 Dec 2002 13:58:35 +0900 Is anyone using JBoss/Jetty with JBuilder? If so, how can I set up JBuilder7 to use Jetty for JSP/Servlets? Do I have to write my own OpenTool? Thanks, Matt Van Horn --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss/Jetty/JBuilder
Is anyone using JBoss/Jetty with JBuilder? If so, how can I set up JBuilder7 to use Jetty for JSP/Servlets? Do I have to write my own OpenTool? Thanks, Matt Van Horn --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ClassCastException after redeploying
Hi all, I have a much reported problem but I'm unable to find the solution. The problem: I have to reboot the server after each EJB change, if I don't by webapp throws ClassCastExceptions when accessing my EJBs. A description is below, the problem happens on every project I've tried including the CMP example in the $ doco. (sob) please help me, Oliver. -- On a fresh reboot of JBoss works perfectly. My servlet can access a session bean fine. I'm redeploying my exploded project by touching: my.ear/META-INF/application.xml. The problem happens even when nothing has changed. When I redeploy I get this error when my servlet is trying to access a session bean home interface: java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134) ... The same thing happens with my junit tests, and even the CMP example which comes with the paid for JBoss Documentation. What is the problem? I see reports of a similar nature in lots of postings but nothing I try helps. -- Oliver George <[EMAIL PROTECTED]> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] how to not blow away work dir on undeploy?
Set the DeleteWorkDirs attribute to false. The bug report that prompted its addition is: https://sourceforge.net/tracker/?group_id=22866&atid=376685&func=detail&aid=568605 Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "David Ward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 1:44 PM Subject: [JBoss-user] how to not blow away work dir on undeploy? > Hello, all. > > My env: > jboss-3.0.3_tomcat-4.1.12 > Sun JDK 1.4.1_01 > Linux 2.4.19-16mdk, Mandrake 9.0, i686 > Apache 2.0.43 w/JK2.0.2->Coyote > > When I was using jboss-3.0.3_tomcat-4.1.12, undeployment of my app > caused a stack trace in the jboss server console. That seems to be > fixed in jboss-3.0.4_tomcat-4.1.12, BUT I"ve got a new problem: The > undeploy blows away my tomcat work directory! > > To be more specific, actions of redeploy/undeploy/shutdown all make this > directory: > /opt/jboss/tomcat-4.1.x/work/MainEngine/localhost/MyAppDir > get blown away. > > The side effect of this means that whenever I re(hot)deploy my app, all > my JSPs have to recompile all over again, even if they haven't changed. > This absolutely kills iterative development by increasing > redeployment/retest time drastically. > > Is there someway I can disable this behavior? I've used JBoss for a > LONG time (many versions of it), and this is the first version I've seen > that blows away the web container's already-compiled JSPs. I'm just > fine with this happening on a production server - but not when I'm > trying to develop. > > I haven't seen if this happens with the latest Jetty bundle, but I'm > guessing it does... See the very recent email on this list by Todd Benge > "Change Jetty Deployment Dir" - he says "...and also instruct Jetty not > to clean the directory on undeployment?" > > Thanks for any and all help, > David --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] authenticate user
How can I authenticate a user in JBOSS, using postgre database? How can I get the user rule? thanks Gabriel ___ Busca Yahoo! O melhor lugar para encontrar tudo o que você procura na Internet http://br.busca.yahoo.com/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Fwd: [JBoss-dev] jboss-head compilation failure?
Did you check out cvs ... co jboss-head if not you will have the wrong stuff in thirdparty and nothing will work. david jencks On 2002.12.05 18:49:56 -0500 wonder sonic wrote: > Maybe I posted this message to the wrong mailing list > :-( > > --- wonder sonic <[EMAIL PROTECTED]> a écrit : > > De: wonder sonic <[EMAIL PROTECTED]> > > À: [EMAIL PROTECTED] > > Objet: [JBoss-dev] jboss-head compilation failure > > Date: Thu, 5 Dec 2002 20:28:01 +0100 (CET) > > > > Hello, > > Can someone help me? > > I've updated jboss-head and I get this message when > > I > > run build.bat in the build directory: > > > > Calling ..\tools\bin\ant.bat -logger > > org.apache.tools.ant.NoBannerLogger > > Buildfile: build.xml > > > > _buildmagic:init: > > Trying to override old definition of task property > > > > BUILD FAILED > > file:E:/forum > > > jboss/jboss/jboss-head/build/../tools/etc/buildfragments/tools.ent:29: > > > > taskdef class xdoclet.modules.jmx.JMXDocletTask > > cannot > > be found > > > > Total time: 3 seconds > > > > What should I do? > > > > TIA, > > WS > > > > > ___ > > Soyez solidaire soutenez laction du Téléthon avec > > Yahoo! France. > > > http://www1.telethon.fr/030-Espace-Relais-Dons/webtirelire1.asp?hebergeur_id=1309 > > > > > > > --- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > ___ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ___ > Soyez solidaire soutenez laction du Téléthon avec Yahoo! France. > http://www1.telethon.fr/030-Espace-Relais-Dons/webtirelire1.asp?hebergeur_id=1309 > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Change Jetty Deployment Dir
It looks like I may have my problem solved for the short term. I created a directory in the deploy directory named the same as the war file and then expanded the war file into that directory. I'm now able to write files to that directory and they do not get removed on shutdown. Thanks for the help. Todd Benge wrote: Hi, We have a web application that requires custom files to be written to the deployed webapp directory. Ideally, the information that is needed would be persisted in a database and read from there but for now files are written to the webapp direcotory. I'm wondering if there's a method to specify the directory into which the war will be deployed and also instruct Jetty not to clean the directory on undeployment? Thanks in advance. Todd --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Fwd: [JBoss-dev] jboss-head compilation failure?
Maybe I posted this message to the wrong mailing list :-( --- wonder sonic <[EMAIL PROTECTED]> a écrit : > De: wonder sonic <[EMAIL PROTECTED]> > À: [EMAIL PROTECTED] > Objet: [JBoss-dev] jboss-head compilation failure > Date: Thu, 5 Dec 2002 20:28:01 +0100 (CET) > > Hello, > Can someone help me? > I've updated jboss-head and I get this message when > I > run build.bat in the build directory: > > Calling ..\tools\bin\ant.bat -logger > org.apache.tools.ant.NoBannerLogger > Buildfile: build.xml > > _buildmagic:init: > Trying to override old definition of task property > > BUILD FAILED > file:E:/forum > jboss/jboss/jboss-head/build/../tools/etc/buildfragments/tools.ent:29: > > taskdef class xdoclet.modules.jmx.JMXDocletTask > cannot > be found > > Total time: 3 seconds > > What should I do? > > TIA, > WS > > ___ > Soyez solidaire soutenez laction du Téléthon avec > Yahoo! France. > http://www1.telethon.fr/030-Espace-Relais-Dons/webtirelire1.asp?hebergeur_id=1309 > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Soyez solidaire soutenez laction du Téléthon avec Yahoo! France. http://www1.telethon.fr/030-Espace-Relais-Dons/webtirelire1.asp?hebergeur_id=1309 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss classloading
Hi all, I would like to deploy 2 ears on the same JBoss 3.0 server, each of them containing a different version of the same package. The issue is that once the first ear is deployed, the second ear can not retrieve its own version the package : it retrieves the version of the first ear. I thought jboss-app.xml was made to resolve this problem by loading the ears with 2 different class loaders and then, allowing me to use 2 different versions of the same classes. But, it doesn't seem to work. Could someone just tell me how you configured jboss-app.xml to succeed ? Many thanks if you can help me. Olivier [EMAIL PROTECTED] [EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] how to not blow away work dir on undeploy?
Hello, all. My env: jboss-3.0.3_tomcat-4.1.12 Sun JDK 1.4.1_01 Linux 2.4.19-16mdk, Mandrake 9.0, i686 Apache 2.0.43 w/JK2.0.2->Coyote When I was using jboss-3.0.3_tomcat-4.1.12, undeployment of my app caused a stack trace in the jboss server console. That seems to be fixed in jboss-3.0.4_tomcat-4.1.12, BUT I"ve got a new problem: The undeploy blows away my tomcat work directory! To be more specific, actions of redeploy/undeploy/shutdown all make this directory: /opt/jboss/tomcat-4.1.x/work/MainEngine/localhost/MyAppDir get blown away. The side effect of this means that whenever I re(hot)deploy my app, all my JSPs have to recompile all over again, even if they haven't changed. This absolutely kills iterative development by increasing redeployment/retest time drastically. Is there someway I can disable this behavior? I've used JBoss for a LONG time (many versions of it), and this is the first version I've seen that blows away the web container's already-compiled JSPs. I'm just fine with this happening on a production server - but not when I'm trying to develop. I haven't seen if this happens with the latest Jetty bundle, but I'm guessing it does... See the very recent email on this list by Todd Benge "Change Jetty Deployment Dir" - he says "...and also instruct Jetty not to clean the directory on undeployment?" Thanks for any and all help, David - David Ward [EMAIL PROTECTED] http://www.dotech.com --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Change Jetty Deployment Dir
Hi, We have a web application that requires custom files to be written to the deployed webapp directory. Ideally, the information that is needed would be persisted in a database and read from there but for now files are written to the webapp direcotory. I'm wondering if there's a method to specify the directory into which the war will be deployed and also instruct Jetty not to clean the directory on undeployment? Thanks in advance. Todd --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] regression tester is dying after 3 hours
Actually, I did mean Thread.sleep(100) inside MDB as my MDB was doing a lot of iterations without any blocking operations(only generating test strings). Before I dicovered the -x options for JVM , in one of my tests, when I did not have Thread.sleep(100) ,I got an out of memory exception relatively early. With Thread.sleep in the MDB , it postponed this exception by an hour. So I think that in cases without blocking operations but long execution times, Thread.sleep() is a good safety precaution. Regards -manish From: "Demyanovich, Craig - Apogent" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] regression tester is dying after 3 hours Date: Thu, 5 Dec 2002 14:33:37 -0500 > Its finally working . Thanks to Boris for pointing me to jvm options. I'm glad to hear that you've solved your problems. > 4) use Thread.sleep(100) -- if the MDB is iterating over long > collections Please elaborate: explicit thread control is not allowed/highly discouraged in EJBs. Perhaps you mean use Thread.sleep(int) in the client. > 5) Jboss rocks!! Agreed!!! Craig --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Eclipse project file for 3.2
i made up a classpath.xml eclpse file to use with 3.2 and 4.0 (head). there some differences between then regards to the paths of libs (e.g. sun-jmx in head and sun/jmx in 3.0 and 3.2) the only think i couldn't fix is the lack of javax.xml.soap.SOAPMessage in the head configuration , it lacks the SubDeployerMBean, if anyone could help... maybe this files could be commited to cvs? I think that this approache is better than configuring each module as a different project. the files have to be renamed to .classpath only (obvious :)) Emerson Cargnin - SICREDI Serviços wrote: the problem is that it takes one project per module. It's a big work to configure all the libraries for each project. it could be better to have a project for intire jboss-all (jboss-3.0 or jboss-3.2) module. A time ago i configured a classpath file to to this (this file keeps all the libraries, src and classes files and dirs). I unhappily lost it : (. I was able to debug jboss inside the EASE plugin. Kevin O'Neill wrote: On Thu, 2002-12-05 at 11:58, Jason Essington wrote: hey Kevin have you taken a look at: http://www.jboss.org/developers/guides/eclipse-howto/index.jsp This looks like it is for HEAD rather than 3.2 :( On Wednesday, December 4, 2002, at 04:35 PM, Kevin O'Neill wrote: Hey, I was wondering if anyone had an eclipse project file for 3.2 that they might like to share :). -k. --- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx|
RE: [JBoss-user] regression tester is dying after 3 hours
> Its finally working . Thanks to Boris for pointing me to jvm options. I'm glad to hear that you've solved your problems. > 4) use Thread.sleep(100) -- if the MDB is iterating over long > collections Please elaborate: explicit thread control is not allowed/highly discouraged in EJBs. Perhaps you mean use Thread.sleep(int) in the client. > 5) Jboss rocks!! Agreed!!! Craig --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [Jboss-user] Serializable Transactions?
In JBoss 3.0+, it's a named "TransactionIsolation" you need to add to your data source deployment. Here's an example from our mysql-service.xml: MySqlDS jdbc:mysql://localhost:3306/jbossdb com.mysql.jdbc.Driver root password TRANSACTION_SERIALIZABLE jboss.jca:service=RARDeployme nt,name=JBoss LocalTransaction JDBC Wrapper Rod Cope EJB Solutions, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Jencks Sent: Thursday, December 05, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Re: [Jboss-user] Serializable Transactions? It's always a good idea to tell us what jboss version you are using. I think you can set transacction isolation for all jboss 3++ versions in the datasource configuration file. As I recall you can use a string == the constant name. If it's not in an example file look in the ra.xml for one of the wrappers. I think it is also possible to set this in 2.4, but don't remember the details. david jencks On 2002.12.05 10:09:13 -0500 Jonas Engman wrote: > I'm having some troubles with deadlocks with a SessionBean and three > Entity beans and an easy solution would be to run all transactions > serialized. Is that somehow possible in JBoss? > > Thanks > Jonas > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [Jboss-user] Serializable Transactions?
It's always a good idea to tell us what jboss version you are using. I think you can set transacction isolation for all jboss 3++ versions in the datasource configuration file. As I recall you can use a string == the constant name. If it's not in an example file look in the ra.xml for one of the wrappers. I think it is also possible to set this in 2.4, but don't remember the details. david jencks On 2002.12.05 10:09:13 -0500 Jonas Engman wrote: > I'm having some troubles with deadlocks with a SessionBean and three > Entity beans and an easy solution would be to run all transactions > serialized. Is that somehow possible in JBoss? > > Thanks > Jonas > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] compacting data in interceptors/invokers
Is it possible to combine this with HTTP tunneling? How? On tor, 2002-12-05 at 18:55, Scott M Stark wrote: > This is a customization of the transport interceptor and is done via customization > of the associated invoker. See the > testsuite/src/main/org/jboss/test/jrmp/test/CustomSocketsUnitTestCase.java > which uses the following invoker config to perform compression: > > > name="jboss:service=invoker,type=jrmp,socketType=CompressionSocketFactory"> > 4445 > name="RMIClientSocketFactory">org.jboss.test.jrmp.ejb.CompressionClientSocketFactory > name="RMIServerSocketFactory">org.jboss.test.jrmp.ejb.CompressionServerSocketFactory > > > > > Scott Stark > Chief Technology Officer > JBoss Group, LLC > > > - Original Message - > From: "Emerson Cargnin - SICREDI Serviços" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 05, 2002 8:40 AM > Subject: [JBoss-user] compacting data in interceptors/invokers > > > by the 3.0.4 dev book, it's not all clear how to use the > interceptors/invokers to compact data before sending through the wire. > a little more deep example and explanatioin could be fine... > > -- > > | Emerson Cargnin | > | Analista de Sistemas Sr. | > | Tel : (051) 3358-4959| > | SICREDI Serviços | > | Porto Alegre - Brasil| > |xx| > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Marius Kotsbak <[EMAIL PROTECTED]> Boost Communications A/S --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] compacting data in interceptors/invokers
This is a customization of the transport interceptor and is done via customization of the associated invoker. See the testsuite/src/main/org/jboss/test/jrmp/test/CustomSocketsUnitTestCase.java which uses the following invoker config to perform compression: 4445 org.jboss.test.jrmp.ejb.CompressionClientSocketFactory org.jboss.test.jrmp.ejb.CompressionServerSocketFactory Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Emerson Cargnin - SICREDI Serviços" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 8:40 AM Subject: [JBoss-user] compacting data in interceptors/invokers by the 3.0.4 dev book, it's not all clear how to use the interceptors/invokers to compact data before sending through the wire. a little more deep example and explanatioin could be fine... -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] regression tester is dying after 3 hours
Its finally working . Thanks to Boris for pointing me to jvm options. For those interested , here is my takeaway from this experience 1) jvm options : -server -xinc -Xms512m -Xmx512m 2) -xinc did cause a noticeable degradation in throughput but the JMSCI is no longer runing out of memory and killing the regression tester MDB. (JDK 1.4.1 has more gc options; I haven't tried them but they look promising) 3)Don't have any method that requires transactions and can last longer than 5 minutes. Break down the task to ensure that its lasts less than 5 minutes. 4) use Thread.sleep(100) -- if the MDB is iterating over long collections 5) Jboss rocks!! Regards -manish From: Boris Tamarkin <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] regression tester is dying after 3 hours Date: Wed, 4 Dec 2002 16:43:05 -0800 Try to run JBoss with increased heap. in JBOSS_HOME/bin/run.bat add another java option set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Xmx640m Hope it will help Boris From: "manish sharan" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] regression tester is dying after 3 hours Date: Wed, 04 Dec 2002 20:51:44 + Reply-To: [EMAIL PROTECTED] My Regression tester is still not working . Here is some more information 1) Version : Jboss 3.04 running on Windows 2000 Server with 512 mb RAM and 1.12gb free hard disk space 2) Database is Sapdb 7.3 runing on Suse Linux 6.4 3) The jboss mq settings are as default(I did not mess with any mq parameters and settings) Here is what is happening . I have an mdb called TaskMDB which is parsing a CSV file and sending messages to a queue. Each message is of 100 CSV lines. The TaskMDB renews JMS connection to the target queue every 5 minutes(by checking time before it send a message). It also does a Thread.sleep(50) after sending a message. After about 113900 lines (or after sending 1139 messages ), I get a JMSCI out of memory execption. (I can duplicate this behaviour)Here is the stack trace: 2002-12-04 15:01:40,229 INFO [com.transethnic.framework.xmlutils.SAXLoadBalancer] Current CSV Line :113900 2002-12-04 15:01:58,295 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected Error: java.lang.OutOfMemoryError 2002-12-04 15:01:58,315 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Exception in JMSCI message listener javax.ejb.EJBException: Unexpected Error java.lang.OutOfMemoryError at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:380 ) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208) at org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:302) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.jav a:962) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage( JMSContainerInvoker.java:1038) at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:243) at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageCons umer.java:603) at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:417) at org.jboss.mq.SpySession.run(SpySession.java:296) at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:178) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.ja va:642) at java.lang.Thread.run(Thread.java:536) The message processor MDB that listenes for messages from the TaskMDB continues working (it did get a couple of javax.ejb.EJBExceptions: Unexpected Error.java.lang.OutOfMemoryError )but other instance of this MDB continue reading and processing messages from the queue. Can anyone please help ? What am I doing wrong ? Please help !!! Regards -manish _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] compacting data in interceptors/invokers
by the 3.0.4 dev book, it's not all clear how to use the interceptors/invokers to compact data before sending through the wire. a little more deep example and explanatioin could be fine... -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Startup Ordering problem with 4.0 Alpha
torsdagen den 5 december 2002 kl 14.00 skrev <[EMAIL PROTECTED]>: Any Ideas? - try code change: Start the hsqldb thread with a high priority ? and after startup fall back to normal. Config change: Use Persistent == false and se if the problem disappears. /peter_f --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Eclipse project file for 3.2
the problem is that it takes one project per module. It's a big work to configure all the libraries for each project. it could be better to have a project for intire jboss-all (jboss-3.0 or jboss-3.2) module. A time ago i configured a classpath file to to this (this file keeps all the libraries, src and classes files and dirs). I unhappily lost it : (. I was able to debug jboss inside the EASE plugin. Kevin O'Neill wrote: On Thu, 2002-12-05 at 11:58, Jason Essington wrote: hey Kevin have you taken a look at: http://www.jboss.org/developers/guides/eclipse-howto/index.jsp This looks like it is for HEAD rather than 3.2 :( On Wednesday, December 4, 2002, at 04:35 PM, Kevin O'Neill wrote: Hey, I was wondering if anyone had an eclipse project file for 3.2 that they might like to share :). -k. --- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] HttpInvoker and ssl.
If I'm using jdk 1.4 is this method you describe still valid? Is there sample code out there? Thanks in advance." >From: "Scott M Stark" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: [JBoss-user] HttpInvoker and ssl. >Date: Sat, 9 Nov 2002 08:32:58 -0800 > >Setting up the client to use https involves: > >- Configuring the https URL protocol handler. For JSSE this entails adding the >com.sun.net.ssl.internal.www.protocol package to the java.protocol.handler.pkgs handler >search property. >- Adding the JSSE security provider by installing JSSE as an extension or progamatically: >Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); >- Setting the truststore to a KeyStore containing the server cert via the >javax.net.ssl.trustStore property. >- If the server cert is a development cert whose hostname does not match the https URL >host portion, you need to disable hostname verification by specifiying a >org.jboss.security.ignoreHttpsHost=true system property. > > >Scott Stark >Chief Technology Officer >JBoss Group, LLC > > > - Original Message - > From: Vincent Wong > To: [EMAIL PROTECTED] > Sent: Friday, November 08, 2002 7:29 PM > Subject: Re: [JBoss-user] HttpInvoker and ssl. > > > when you say setup the client, do you mean changing the InitialContext properties to point at the https URL? I did that before, although im not sure what the exception was. Should I upgrade to the newer version, or does it work my version aswell. Thanks. > Add photos to your e-mail with MSN 8. Get 2 months FREE*. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[Jboss-user] Serializable Transactions?
I'm having some troubles with deadlocks with a SessionBean and three Entity beans and an easy solution would be to run all transactions serialized. Is that somehow possible in JBoss? Thanks Jonas --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] .wsr service inside ear cannot be redeployed?
Title: Nachricht Alex, IMHO this JBOss.net bug has been fixed in 3.2beta CGJ -Ursprüngliche Nachricht-Von: Alexey Yudichev [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 5. Dezember 2002 14:35An: [EMAIL PROTECTED]Betreff: [JBoss-user] .wsr service inside ear cannot be redeployed? In Jboss 3.0.4 I have an ear application deployed. application.xml is http://java.sun.com/j2ee/dtds/application_1_2.dtd"> MMS MMSEjb.jar mms.war mms MMSEjb.wsr It is deployed without any errors and MMSEjb.wsr module is working properly. If I touch application.xml (My ear is actually a subdirectory in "deploy" directory) re-deployment stops while attempting to re-deploy MMSEjb.wsr. If I comment it out in application.xml, the app is redeployed normally. The following is the exception in server.log: 2002-12-05 15:27:49,292 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e08508f9{ url="" href="" target=_blank>file:/C:/usr/local/java/jboss-3.0.4/server/default/deploy/80_MMS.ear/, deployedLastModified=1039084084390 } org.jboss.deployment.DeploymentException: attempting to redeploy a depoyed module! file:/C:/usr/local/java/jboss-3.0.4/server/default/deploy/80_MMS.ear/MMSEjb.wsr at org.jboss.net.axis.server.AxisService.create(AxisService.java:504) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy4.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202) Please provide a workaround if it exists. ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/
Re: [JBoss-user] 2 different OracleDS
That is what you have to do. You need to make sure all (3 per datasource) mbeans have unique names. david jencks On 2002.12.05 07:36:51 -0500 Patrick Hubers wrote: > --Op 05-12-2002 12:56 +0200 schreef Mokas Vassilis > ([EMAIL PROTECTED]): > > ... > > However, I cannot find how to declare the second Oracle datatsource. In > > the same oracle-service.xml > > file with the First Datasource (in the Same MBean ?) or in a different > > xml file. > > > I don't know if it's the most elegant way, but for our DB2 datasources we > > simply duplicated the whole MBean declaration in the db2-service.xml file > > and changed the connection URLs to point to the different databases. > Works > alright, but it may not be very kosher. > > HTH > > > -- > Patrick Hubers > [EMAIL PROTECTED] > > Solve IT > Postbus 5063 > 3502 JB Utrecht > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] 2 different OracleDS
You can make as many xxx-service.xml files as you like, for different datasources, e.g. oracle-foo-service.xml, oracle-bar-service.xml, etc. Just make sure the JNDI and JMX names in those files don't conflict. Benjamin > -Original Message- > From: Patrick Hubers [mailto:[EMAIL PROTECTED]] > Sent: 05 December 2002 12:37 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] 2 different OracleDS > > > --Op 05-12-2002 12:56 +0200 schreef Mokas Vassilis > ([EMAIL PROTECTED]): > > ... > > However, I cannot find how to declare the second Oracle > datatsource. In > > the same oracle-service.xml > > file with the First Datasource (in the Same MBean ?) or in > a different > > xml file. > > > I don't know if it's the most elegant way, but for our DB2 > datasources we > simply duplicated the whole MBean declaration in the > db2-service.xml file > and changed the connection URLs to point to the different > databases. Works > alright, but it may not be very kosher. > > HTH > > > -- > Patrick Hubers > [EMAIL PROTECTED] > > Solve IT > Postbus 5063 > 3502 JB Utrecht > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Complicated Issue - may require more experience
Hi all, Go back a couple of days and see if any of you can answer the Tomcat/Jetty question. Or is it of such overwhelming complexity as to befuddle all Jboss-User readers? Thanks, Will --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] .wsr service inside ear cannot be redeployed?
Title: .wsr service inside ear cannot be redeployed? In Jboss 3.0.4 I have an ear application deployed. application.xml is http://java.sun.com/j2ee/dtds/application_1_2.dtd"> MMS MMSEjb.jar mms.war mms MMSEjb.wsr It is deployed without any errors and MMSEjb.wsr module is working properly. If I touch application.xml (My ear is actually a subdirectory in "deploy" directory) re-deployment stops while attempting to re-deploy MMSEjb.wsr. If I comment it out in application.xml, the app is redeployed normally. The following is the exception in server.log: 2002-12-05 15:27:49,292 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e08508f9{ url="" HREF="" TARGET="_blank">file:/C:/usr/local/java/jboss-3.0.4/server/default/deploy/80_MMS.ear/, deployedLastModified=1039084084390 } org.jboss.deployment.DeploymentException: attempting to redeploy a depoyed module! file:/C:/usr/local/java/jboss-3.0.4/server/default/deploy/80_MMS.ear/MMSEjb.wsr at org.jboss.net.axis.server.AxisService.create(AxisService.java:504) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy4.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202) Please provide a workaround if it exists.
RE: [JBoss-user] Anyone succesfully using session clusters?
checkout module "jboss-3.0" from branch "Branch_3_0" then go in sub-directory "build" and type "build". You will then find JBoss build in the build/output/ directory > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Joao Pedro > Clemente > Envoye : jeudi, 5 decembre 2002 13:10 > A : [EMAIL PROTECTED] > Objet : RE: [JBoss-user] Anyone succesfully using session clusters? > > > > Yes, I'm talkinga about httpsession. > I've browsed over jboss's cvs and found nothing calle "Branch_3_0" > (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/) > > maybe I'm looking on the wrong place? maybe its what is under "jboss" ? > I'm a bit confused with the proper cvs command: usually is "checkout > module_name" > Soud it be someething like "checkout module_name tag=Branch_3_0" ? > > Thanks > > -- > Joao Pedro Clemente > jpcl @ rnl.ist.utl.pt > (when not working out) > (when not sleeping) > (when not surfing) > (when not ... ;) > > On Thu, 5 Dec 2002, Sacha Labourey wrote: > > > Sorry to pop-up lately. Are you speaking about SFSB or HttpSession? If > > HttpSession, can you try a very fresh Branch_3_0 checkout: a > JavaGroups bug > > has been fixed very recently (2 days ago in JBoss source code) > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Startup Ordering problem with 4.0 Alpha
Hi, I'm having trouble setting up JMS queues backed by Hypersonic with JBoss 4.0 alpha. The trouble is that the Hypersonic service appears to be up (at least as far as the dependency check is concerned) so the rest of the services try to start. The problem occurs when the Queue manager tries to create the queue entries, it gets connection failures. You can see in the startup log that the Hypersonic service finally starts listening but only after the queue creation failures have occurred. I've got dependencies set up in my service xml files but it doesn't help the problem. I can post log snippets or anything else of interest if necessary. Any Ideas? Thanks, Rick --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 2 different OracleDS
--Op 05-12-2002 12:56 +0200 schreef Mokas Vassilis ([EMAIL PROTECTED]): ... However, I cannot find how to declare the second Oracle datatsource. In the same oracle-service.xml file with the First Datasource (in the Same MBean ?) or in a different xml file. I don't know if it's the most elegant way, but for our DB2 datasources we simply duplicated the whole MBean declaration in the db2-service.xml file and changed the connection URLs to point to the different databases. Works alright, but it may not be very kosher. HTH -- Patrick Hubers [EMAIL PROTECTED] Solve IT Postbus 5063 3502 JB Utrecht --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Anyone succesfully using session clusters?
Jetty (JBossWeb) or Tomcat ? Jules Joao Pedro Clemente wrote: Yes, I'm talkinga about httpsession. I've browsed over jboss's cvs and found nothing calle "Branch_3_0" (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/) maybe I'm looking on the wrong place? maybe its what is under "jboss" ? I'm a bit confused with the proper cvs command: usually is "checkout module_name" Soud it be someething like "checkout module_name tag=Branch_3_0" ? Thanks This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ms sql and jboss
when I run the findByPrimaryKey in test client codes, there will be the following errors: Using findByPrimaryKey: Caught an unexpected exception! javax.ejb.ObjectNotFoundException: No such entity! at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) Can anyone help me? From: "cai margiex" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [JBoss-user] ms sql and jboss Date: Thu, 05 Dec 2002 11:56:54 + Hi, I can run with jboss+mysql, but when I moved the table to ms sql2000, no records found. I used ms's jdbc driver. All settings of mssql are the same with mysql, and i can deploy the entity bean successfully, when i created a test client(nearly the same with the mysql test client), no records returned. I track the sql execution in sqlserver, and the sql statement is right. why? Can anyone tell me how to resolve this problem? or tell me how to test in sql server, maybe somewhere in my setting is wrong. Thanks. _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Anyone succesfully using session clusters?
Yes, I'm talkinga about httpsession. I've browsed over jboss's cvs and found nothing calle "Branch_3_0" (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/) maybe I'm looking on the wrong place? maybe its what is under "jboss" ? I'm a bit confused with the proper cvs command: usually is "checkout module_name" Soud it be someething like "checkout module_name tag=Branch_3_0" ? Thanks -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) On Thu, 5 Dec 2002, Sacha Labourey wrote: > Sorry to pop-up lately. Are you speaking about SFSB or HttpSession? If > HttpSession, can you try a very fresh Branch_3_0 checkout: a JavaGroups bug > has been fixed very recently (2 days ago in JBoss source code) --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ms sql and jboss
Hi, I can run with jboss+mysql, but when I moved the table to ms sql2000, no records found. I used ms's jdbc driver. All settings of mssql are the same with mysql, and i can deploy the entity bean successfully, when i created a test client(nearly the same with the mysql test client), no records returned. I track the sql execution in sqlserver, and the sql statement is right. why? Can anyone tell me how to resolve this problem? or tell me how to test in sql server, maybe somewhere in my setting is wrong. Thanks. _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Anyone succesfully using session clusters?
Sorry to pop-up lately. Are you speaking about SFSB or HttpSession? If HttpSession, can you try a very fresh Branch_3_0 checkout: a JavaGroups bug has been fixed very recently (2 days ago in JBoss source code) > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Joao Pedro > Clemente > Envoye : mercredi, 4 decembre 2002 21:17 > A : LaBanca, Rick > Cc : '[EMAIL PROTECTED]' > Objet : Re: [JBoss-user] Anyone succesfully using session clusters? > > > > > For jboss, sessions will indeed replicate if running, but won't sync up > > initially (server a goes for a while, start server b and it won't get > > session info from A). > > > > I realize this is a repeat/summary of my other threads, but was > curious if > > anyone has had success. I find it hard to believe javagroups > has this level > > of bug, and it's likely some linux config problem. So any pointers are > > appreciated! > > I think I'm almost a month late to reply to this, but here goes: > > Yesterday I had exactly the same behaviour, and worse, if I'm not > mistaken: > > For one, I would get no sync at startup. > Second point, if I got some servers down and then up again after some > time, they would lockup when negociating some session Id, (I think that > was some negotiation going on). > > Some times, the server that was up would even stop responding (only to the > particular servlet, as it would respond to other URI's) > > I was looking for followups to this thread, but I haven't found them > (maybe I accidentallly deleted them) so... has someone reached a > conclusion? > > Thank you > Joao Clemente > > > > --- > This SF.net email is sponsored by: Microsoft Visual Studio.NET > comprehensive development tool, built to increase your > productivity. Try a free online hosted session at: > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 2 different OracleDS
Hi all. I want to deploy two jars. Each jar has some entity beans that are binded to two different Oracle databases. However, I cannot find how to declare the second Oracle datatsource. In the same oracle-service.xml file with the First Datasource (in the Same MBean ?) or in a different xml file. I think I have tried all the possible methods, but everytime JBoss can connect just to the one of the Datasources. Any help? Vassilis --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] EJB Caching Option A
torsdagen den 5 december 2002 kl 07.33 skrev Rahul Raj: Option A caches an EJB instance and does not synchronize ejb state with the db between transactions. So the changed data in the EJB may not be reflected in db. You don't have changed data in the EJB if you are 'between transactions'. And since EJB is synchronised with DB _when_ a tx ends there are no problems... Or did i miss something? /Lennart What happens if the data is not synchronized and 1)due to some reasons there occurs some network failure between EJB server and DB server? 2)some body restarts the server? 3)the server is killed abnormally? 4)with option D there is a network failure and time-out occurs? In all these cases think that client programs might have had many transactions completed. Rahul. --- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user