RE: [JBoss-user] Local interfaces, equals, isIdentical, and collections
> the EJB 2.0 spec, section 9.8: > > "The result of comparing two object references using the Java > programming language Object.equals(Object obj) method is unspecified. > Performing the Object.hashCode() method on two object > references that represent the entity object is not guaranteed > to yield the same result. > Therefore, a client should always use the isIdentical method > to determine if two entity object references refer to the > same entity object." > > This seems to indicate that hash-backed collections of local > object references are not guaranteed to behave properly. If > this is the case, is there any safe workaround? If the implementation relies on untrusted hashCode() and equals() then no. In JBoss, equals() will call isIdentical() and hashCode() will return pk.hashCode(). That means, for two EJBLocalObject a1 and a2 representing the same persistent data and a1 != a2, the following is true: a1.equals(a2) == true a1.hashCode() == a2.hashCode(); --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Catalina allowLinking
Thanks Remy, for some reason i missed the server.xml file, previous jboss versions didn't have it. having server.xml makes life easier. merci, nadeem. On Fri, 2004-02-13 at 21:32 +0100, Remy Maucherat wrote: > Nadeem Bitar wrote: > > > I tried changing allowLinking from the JMX Mbean view for catalina on > > jboss3.2.4 rc1 but it throws a ReflectionException > > > > How ca i change the allowLinking setting with tomcat5 on jboss3.2.4 > > How would you do it with Tomcat standalone ? > Do you see that server.xml file in the Tomcat SAR ? > > So add > > -- > x > Rémy Maucherat > Developer & Consultant > JBoss Group (Europe) SàRL > x > > > --- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Catalina allowLinking
Nadeem Bitar wrote: I tried changing allowLinking from the JMX Mbean view for catalina on jboss3.2.4 rc1 but it throws a ReflectionException How ca i change the allowLinking setting with tomcat5 on jboss3.2.4 How would you do it with Tomcat standalone ? Do you see that server.xml file in the Tomcat SAR ? So add -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Catalina allowLinking
I tried changing allowLinking from the JMX Mbean view for catalina on jboss3.2.4 rc1 but it throws a ReflectionException How ca i change the allowLinking setting with tomcat5 on jboss3.2.4 ReflectionException: Cannot find setter method setModelerType StandardEngine[jboss.web].StandardHost[localhost].DefaultContext[] Cause: java.lang.NoSuchMethodException: org.apache.catalina.core. StandardDefaultContext.setModelerType(java.lang.String) org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean. java:662) org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker. java:52) org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl. java:462) org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:183) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes (HtmlAdaptorServlet.java:215) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest (HtmlAdaptorServlet.java:77) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost (HtmlAdaptorServlet.java:61) javax.servlet.http.HttpServlet.service(HttpServlet.java:763) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) thanks --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Local interfaces, equals, isIdentical, and collections
In our application, it is frequently necessary to form Sets of EJB local interface objects in stateless session bean methods. For example, we might obtain two collections of locals from a pair of entity-bean finder methods, and wish to merge them eliminating duplicates before iterating over the resulting set and performing some operation on each. This seems to work in JBoss 3.x, and until yesterday we thought it *should* work; it makes sense for local-interface.equals() to perform a reference-equality test, after all. And, of course, having locals define equals() and hashCode() so as to support reference-equality is essential to locals behaving properly in hash-backed collections like HashSet and HashMap. Yesterday, one of the team here spotted the following text in the EJB 2.0 spec, section 9.8: "The result of comparing two object references using the Java programming language Object.equals(Object obj) method is unspecified. Performing the Object.hashCode() method on two object references that represent the entity object is not guaranteed to yield the same result. Therefore, a client should always use the isIdentical method to determine if two entity object references refer to the same entity object." This seems to indicate that hash-backed collections of local object references are not guaranteed to behave properly. If this is the case, is there any safe workaround? Or am I misunderstanding the semantics of locals in hash-backed collections? -- Craig Berry Principal Architect and Technical Manager PortBlue (310) 566-7546 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Give me a hand with mod_proxy
I've been writing some instructions on using HTTPD/mod_proxy to front end JBoss/Tomcat in a load balanced situation. (Not that you want to do this optimally, but I'm just trying to be complete and balanced) Unfortunately, the machine I'd planned to test this on had a defective processor fan and I broke the little arm off trying to remove it. Can someone give me a hand by testing these instructions? http://jboss.org/wiki/Wiki.jsp?page=UsingMod_proxyWithJBoss If it works, please update the page and let me know (or I'll update the page) Thanks, Andy --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Persistence & CMP/JBoss] - Re: Problem : CMR field cannot be null
Title: [JBoss-user] [Persistence & CMP/JBoss] - Re: Problem : CMR field cannot be null A field is either a CMP or CMR, not both. CMP fields can be mapped to foreign key columns. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod MacphersonSent: Friday, February 13, 2004 2:31 AMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] [Persistence & CMP/JBoss] - Re: Problem : CMR field cannot be null It definitely works on 3.2.2 or greater. One caveat is that you cannot use container generated primary keys, perhaps that is the problem you are seeing? You have to supply the primary key "manually". As far as patching jboss.xml you can do that in your ant script after XDoclet has run with a simple substitution. Sounds like you have a good solution though. I did not realize you could stipulate that a field was both CMR and CMP. You sure that works? If so that's great.
RE: [JBoss-user] invalidate entity bean
THanks that was exactly what I wwas looking for. :) > -Original Message- > From: Andrew C. Oliver [mailto:[EMAIL PROTECTED] > Sent: 13 February 2004 16:10 > To: [EMAIL PROTECTED]; Bruce Ashton > Subject: Re: [JBoss-user] invalidate entity bean > > > If you look in the clustering or admin/dev guide, you'll find > there are > container configurations for just this. You can either use > JMS or JGroups > and publish messages or JGroups multicast messages. > Alternatively, you can > use JMX and call the invalidate method with the primary key on the > container. (I wouldn't though because then you're asking > oracle to make > potentially longer blocking calls to the container versus the > multicast/jms) > > Caution on the multicast is that your network needs to be configured > correctly to swallow those messages. Also, though your > broadcasting only > the primary key really, it won't be encrypted so its not > suitable for open > network broadcasts. > > I don't really want to give a whole lot of detail on the > container config as > its already covered pretty well in the docs and I don't think > I could do it > as much justice. > > -Andy > > > From: Bruce Ashton <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > Date: Fri, 13 Feb 2004 12:12:31 - > > To: > "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]> > > Subject: [JBoss-user] invalidate entity bean > > > > I have some entity beans backed by data that is regularly > modified by > > external applications. (BMP beans, the database is > essentially an interface > > to an EIS.) > > > > The database is Oracle, and I want to use Java Stored Procedures to > > invalidate cached beans when the database is updated. > > All the methods you might use to do this though, are > lifecycle methods that > > are normally only called by the container. > > > > Does anybody know a suitable way of forcing an entity bean > to reload from > > the database that isn't a nasty hack? > > > > > > Bruce Ashton > > Senior Developer > > Ext. 8272 > > http://www.activis.com/ > > > > > > Please note that: > > > > 1. This e-mail may constitute privileged information. If > you are not the > > intended recipient, you have received this confidential > email and any > > attachments transmitted with it in error and you must not > disclose, copy, > > circulate or in any other way use or rely on this information. > > 2. E-mails to and from the company are monitored for > operational reasons and > > in accordance with lawful business practices. > > 3. The contents of this email are those of the individual and do not > > necessarily represent the views of the company. > > 4. The company does not conclude contracts by email and all > negotiations are > > subject to contract. > > 5. The company accepts no responsibility once an e-mail and > any attachments is > > sent. > > > > http://www.activis.com > > > > > > This annotation was added by the e-scan service. > > http://www.activis.com > > > -- > > > > > This message has been checked for all known viruses by e:)scan. > > For further information please contact [EMAIL PROTECTED] > > > > > > --- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > This annotation was added by the e-scan service. http://www.activis.com -- This message has been checked for all known viruses by e:)scan. For further information please contact [EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] invalidate entity bean
OK, A deathly silence... maybe nobody has run into this before. I have googled about a bit, and I found out that JBoss actually has a built in cache invalidation service for clustering. This is where you put true in your elements in the jboss.xml deployment descriptor. JBoss uses JMS to invalidate beans between instances of a cluster, so you can't get transaction support over this. I don't care about transaction support particularly though. My problem though is I want to access this mechanism from java stored procedures in the database. Has anybody played around with the cache invalidation service before? Any pointers for a newbie? Apparently JBoss 4.0 has a transactional distributed cache, but I haven't tried JBoss 4.0 yet. > -Original Message- > From: Bruce Ashton [mailto:[EMAIL PROTECTED] > Sent: 13 February 2004 12:13 > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] invalidate entity bean > > > I have some entity beans backed by data that is regularly modified by > external applications. (BMP beans, the database is > essentially an interface > to an EIS.) > > The database is Oracle, and I want to use Java Stored Procedures to > invalidate cached beans when the database is updated. > All the methods you might use to do this though, are > lifecycle methods that > are normally only called by the container. > > Does anybody know a suitable way of forcing an entity bean to > reload from > the database that isn't a nasty hack? > > > Bruce Ashton > Senior Developer > Ext. 8272 > http://www.activis.com/ > > > Please note that: > > 1. This e-mail may constitute privileged information. If you > are not the intended recipient, you have received this > confidential email and any attachments transmitted with it in > error and you must not disclose, copy, circulate or in any > other way use or rely on this information. > 2. E-mails to and from the company are monitored for > operational reasons and in accordance with lawful business practices. > 3. The contents of this email are those of the individual and > do not necessarily represent the views of the company. > 4. The company does not conclude contracts by email and all > negotiations are subject to contract. > 5. The company accepts no responsibility once an e-mail and > any attachments is sent. > > http://www.activis.com > > > This annotation was added by the e-scan service. > http://www.activis.com > -- > > This message has been checked for all known viruses by e:)scan. > For further information please contact [EMAIL PROTECTED] > > > --- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > This annotation was added by the e-scan service. > http://www.activis.com > -- > > This message has been checked for all known viruses by e:)scan. > For further information please contact [EMAIL PROTECTED] > > > This annotation was added by the e-scan service. http://www.activis.com -- This message has been checked for all known viruses by e:)scan. For further information please contact [EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Out of memory error in freeBSD
Title: Re: [JBoss-user] Out of memory error in freeBSD Are you positive it isn’t this: http://jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptionWhenRedeploying The page talks mostly about redeployment but 800 JSPs could also be a lot of class definitions. Thus fill up the perm generation pool on the heap... From: Paul Ekeland <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 13 Feb 2004 15:38:04 +0100 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Out of memory error in freeBSD Ryan, we're going to try this option, even though it seemed at first freeBSD 5.1 dynamically dealt with process limits. Thanks! Paul Ryan Maclear wrote: Hi Paul, I don't know if this is relevant in your case, but I've had this problem before on other FreeBSD versions (4.7-STABLE) and fixed it as follows: FreeBSD has kernel level user process limits, including direct memory allocation If the user limits are too low for your jboss instance together with your application, jboss reports an OutOfMemory error. This can be fixed by increasing the kernel user process limits by adding the following lines to the kernel config file and rebuilding the kernel. The example below limits the user to 384Mb of memory, but this can be increased to what you need, options MAXDSIZ="(384*1024*1024)" options MAXSSIZ="(384*1024*1024)" options DFLDSIZ="(384*1024*1024)" Of course, if this has already been done, the memory limits are high enough, and the problem still persists, the problem lies elsewhere. It is however more than likely not a jboss problem in this case. Hope this helps. Cheers, Ryan On Fri, 13 Feb 2004, Paul Ekeland wrote: Hello all, I am trying to deploy our application on JBoss in a freeBSD 5.1 platform with 1Go of RAM, only to get to an OutOfMemory error. Here is the configuration: 1. In a first step, we precompiled our JSP's (all 800 of them) and the server crashes during the loading of the servlets 2. Without the precompilation, JBoss crashes the same way a bit later during the initialisation process. In a windows environment, with a less powerful machine, I have found the solution by tweaking the standardJboss.xml file and lowering all non-cluster related max-caches to 1. That did the job and I thought hopefuly the result would be the same on our main server. Unfortunately, we got exactly the same error as before so I am wondering even if these modifications are taken in account in the freeBSD environment? Any hint is very appreciated! Thanks, Paul --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Paul Ekeland Odile Jacob Education 15 rue Soufflot 75005 Paris tél.: 01 44 41 64 93 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356_id=3438=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] unlock entity Bean
Can you maybe change your transaction settings? If you are wanting to "unlock" it then you obviously have a separate transaction. Its also possible that instance per transaction or optimistic locking could help but I'm betting you just need to read up on J2EE transaction attributes or attend a training. -Andy > From: "Stefan Schuster" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 13 Feb 2004 14:48:18 +0100 (CET) > To: [EMAIL PROTECTED] > Subject: [JBoss-user] unlock entity Bean > > Hi, > > is it possible to unlock a entityBean explicit ? > I am having a deadlock situation here, because I need > to access an entityBean in some stateless session bean, > but the entityBean (the exact same instance, same PK) is > locked because it is used in another sessionBean at the same time. > > Any hints ? > > Regards, > > Stefan > > > --- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problems in building jboss from sources
Title: Re: [JBoss-user] problems in building jboss from sources How did you check it out? http://jboss.org/developers/guides/quickstart -Andy From: "Marco Mistroni" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 13 Feb 2004 09:10:24 - To: <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] problems in building jboss from sources Hi all, I don\t want to spam, but I didn’t get any help after I posted to the list… I am experiencing problems in building JBoss 3.2 from sources… can anyone help me Or at least point me to a FAQ or an already posted message with same subject? With best regards Marco mistroni -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Mistroni Sent: 12 February 2004 10:05 To: [EMAIL PROTECTED] Subject: [JBoss-user] problems in building jboss from sources Hi all, I have downloaed jboss-3.2 from CVS and tried to build it, but in the process I got following Exception C:\jboss-3.2\build>build Calling ..\tools\bin\ant.bat Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: _buildmagic:init:buildlog: configure: Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat41.classpath: C:\jboss-3.2\thirdparty\apache-tomcat41 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat50.classpath: C:\jboss-3.2\thirdparty\apache-tomcat50 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding beanshell .beanshell.classpath: C:\jboss-3.2\thirdparty\beanshell-beanshell\lib not found. [echo] groups: default [echo] modules: common,jmx,system,naming,remoting,aop,j2ee,transaction,serv er,security,messaging,connector,cluster,varia,jboss.net,iiop,management,tomcat,c onsole,cache,compatibility,aspects,media init: _buildmagic:modules:most: == == Executing 'most' in module 'common'... == _buildmagic:init: configure: Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat41.classpath: C:\jboss-3.2\thirdparty\apache-tomcat41 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat50.classpath: C:\jboss-3.2\thirdparty\apache-tomcat50 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding beanshell .beanshell.classpath: C:\jboss-3.2\thirdparty\beanshell-beanshell\lib not found. Overriding previous definition of reference to xdoclet.task.classpath Caught exception (org.apache.tools.ant.BuildException) while expanding xdoclet.t ask.classpath: C:\jboss-3.2\thirdparty\xdoclet-xdoclet\lib not found. BUILD FAILED file:C:/jboss-3.2/common/build.xml:160: C:\jboss-3.2\thirdparty\xdoclet-xdoclet\ lib not found. I have those tomcat and xdoclet directories, but they are not under, for example, c:\jboss-3.2\thirdparty\apache-tomcat50 but :\jboss-3.2\thirdparty\apache\tomcat50 so it looks like somehow it uses incorrect path. I am running the buildscript on Windows XP.. anyone can help me finding what is the problem? I haven’t touched local.properties file Thanx in advance and regards marco
Re: [JBoss-user] invalidate entity bean
If you look in the clustering or admin/dev guide, you'll find there are container configurations for just this. You can either use JMS or JGroups and publish messages or JGroups multicast messages. Alternatively, you can use JMX and call the invalidate method with the primary key on the container. (I wouldn't though because then you're asking oracle to make potentially longer blocking calls to the container versus the multicast/jms) Caution on the multicast is that your network needs to be configured correctly to swallow those messages. Also, though your broadcasting only the primary key really, it won't be encrypted so its not suitable for open network broadcasts. I don't really want to give a whole lot of detail on the container config as its already covered pretty well in the docs and I don't think I could do it as much justice. -Andy > From: Bruce Ashton <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 13 Feb 2004 12:12:31 - > To: "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]> > Subject: [JBoss-user] invalidate entity bean > > I have some entity beans backed by data that is regularly modified by > external applications. (BMP beans, the database is essentially an interface > to an EIS.) > > The database is Oracle, and I want to use Java Stored Procedures to > invalidate cached beans when the database is updated. > All the methods you might use to do this though, are lifecycle methods that > are normally only called by the container. > > Does anybody know a suitable way of forcing an entity bean to reload from > the database that isn't a nasty hack? > > > Bruce Ashton > Senior Developer > Ext. 8272 > http://www.activis.com/ > > > Please note that: > > 1. This e-mail may constitute privileged information. If you are not the > intended recipient, you have received this confidential email and any > attachments transmitted with it in error and you must not disclose, copy, > circulate or in any other way use or rely on this information. > 2. E-mails to and from the company are monitored for operational reasons and > in accordance with lawful business practices. > 3. The contents of this email are those of the individual and do not > necessarily represent the views of the company. > 4. The company does not conclude contracts by email and all negotiations are > subject to contract. > 5. The company accepts no responsibility once an e-mail and any attachments is > sent. > > http://www.activis.com > > > This annotation was added by the e-scan service. > http://www.activis.com > -- > > This message has been checked for all known viruses by e:)scan. > For further information please contact [EMAIL PROTECTED] > > > --- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Can't delpoy simple EJB
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821421#3821421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821421 I think I'm going nuts, but for the life of me I cannot see why my bean won't deploy. It always complains with the error: [ObjectName: jboss.j2ee:jndiName=CatSess,service=EJB state: FAILED I Depend On: Depends On Me: java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionC ontainer.addItemHome(java.lang.String, java.lang.Object)] But there is no method defined called addItemHome, it is called addItem. Can anyone see what is wrong? Here is my code: import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface CatSess extends EJBObject { public void addItem(String supplierId, Object e) throws java.rmi.RemoteException; public void deleteItem(String supplierId, Object e) throws java.rmi.RemoteException; } - import javax.ejb.*; public class CatSessBean implements SessionBean { protected SessionContext ctx; public void ejbCreate(){ } public void addItemHome(String supplierId, Object e){ System.out.println("Add Supplier Item: " + supplierId); } public void deleteItemHome(String supplierId, Object e){ System.out.println("Delete Supplier Item: " + supplierId); } public void addItem(String supplierId, Object e){ System.out.println("Add Supplier Item: " + supplierId); } public void deleteItem(String supplierId, Object e){ System.out.println("Delete Supplier Item: " + supplierId); } public void ejbActivate() { System.out.println("Called Catalog Session ejbActivate"); } public void ejbPassivate() { System.out.println("Called Catalog Session ejbPassivate"); } public void ejbRemove() { System.out.println("Called Catalog Session ejbRemove"); } public void setSessionContext(SessionContext parm1) { System.out.println("Called Catalog Session setSessionContext"); this.ctx = parm1; } public void unsetSessionContext() { System.out.println("Called Catalog Session unsetSessionContext"); this.ctx = null; } import javax.ejb.*; import java.rmi.*; public interface CatSessHome extends EJBHome { public CatSess create () throws CreateException, RemoteException; public void addItem(String supplierId, Object e) throws java.rmi.RemoteException; public void deleteItem(String supplierId, Object e) throws java.rmi.RemoteException; } --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule and Oracle Datasource
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821420#3821420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821420 Turn on debugging by adding the following category setup to the conf/log4j.xml file: < category name="org.jboss.security"> < priority value="TRACE" class="org.jboss.logging.XLevel"/> < /category> --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Linux: DeploymentException: ... trying to install alrea
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821419#3821419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821419 I have encountered the same problem (JBoss 3.2.2 worked fine on Win2K, but JBoss 3.2.3 on Mandrake 9.2 gives the above error). However I could not find any 'extra' jboss-service.xml files in the jbossweb-tomcat41.sar directory - rather it seems like the 'extra' entries are somewhere else, in some file loaded earlier on. Its a bit depressing that a product which deploys so smoothly on windows comes with such a non-obvious problem on Linux. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR, CMP and forgein keys as primary keys: maybe, a work
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821418#3821418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821418 Sorry, my bad. I found a typo in the fk-column. Had "ItemiD" instead of "ItemID", which of course causes problems on a case insensitive database. It works better now. :) --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821417#3821417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821417 then jboss either hasn't found the ear file or it threw an exception loading it. Make sure you ran the 'ant -f jboss-build.xml deploy' and check the console for stacktraces. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821416#3821416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821416 The entries you mentioned aren't there. The only existing entry is: service=WebServer. When I click on it the next page doesn't have any of those entries too. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821415#3821415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821415 on the jmxconsole then, under the header jboss.web, do you see the following entries: # context=/bank,name=Dispatcher,vhost=localhost # context=/bank,name=default,vhost=localhost # context=/bank,name=invoker,vhost=localhost # context=/bank,name=jsp,vhost=localhost --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Out of memory error in freeBSD
Ryan, we're going to try this option, even though it seemed at first freeBSD 5.1 dynamically dealt with process limits. Thanks! Paul Ryan Maclear wrote: Hi Paul, I don't know if this is relevant in your case, but I've had this problem before on other FreeBSD versions (4.7-STABLE) and fixed it as follows: FreeBSD has kernel level user process limits, including direct memory allocation If the user limits are too low for your jboss instance together with your application, jboss reports an OutOfMemory error. This can be fixed by increasing the kernel user process limits by adding the following lines to the kernel config file and rebuilding the kernel. The example below limits the user to 384Mb of memory, but this can be increased to what you need, options MAXDSIZ="(384*1024*1024)" options MAXSSIZ="(384*1024*1024)" options DFLDSIZ="(384*1024*1024)" Of course, if this has already been done, the memory limits are high enough, and the problem still persists, the problem lies elsewhere. It is however more than likely not a jboss problem in this case. Hope this helps. Cheers, Ryan On Fri, 13 Feb 2004, Paul Ekeland wrote: Hello all, I am trying to deploy our application on JBoss in a freeBSD 5.1 platform with 1Go of RAM, only to get to an OutOfMemory error. Here is the configuration: 1. In a first step, we precompiled our JSP's (all 800 of them) and the server crashes during the loading of the servlets 2. Without the precompilation, JBoss crashes the same way a bit later during the initialisation process. In a windows environment, with a less powerful machine, I have found the solution by tweaking the standardJboss.xml file and lowering all non-cluster related max-caches to 1. That did the job and I thought hopefuly the result would be the same on our main server. Unfortunately, we got exactly the same error as before so I am wondering even if these modifications are taken in account in the freeBSD environment? Any hint is very appreciated! Thanks, Paul --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Paul Ekeland Odile Jacob Education 15 rue Soufflot 75005 Paris tél.: 01 44 41 64 93 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Email from Watched Forums
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821414#3821414 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821414 Still have yet to get this working... I can get it to send a message from the JMX console but not from the JMX console of Nukes or when actually posting from a forum that I am watching. Do I need to do anything beside set the DNS server property for nukes to know how to send mail? Has anyone else gotten this to work? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821413#3821413 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821413 Yes, the server is running and under default configuration mode --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Heathcare Framework for J2EE
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821412#3821412 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821412 Although there isn't much information yet and no releases yet this will come with in the next couple of months. But some information is at: http://openedi.sourceforge.net/ jcl. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Stability
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821411#3821411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821411 Ok, I think you are kidding, but I have already noticed some changes in the user table, so I think I actually will have to drop all my users, and that you are evil doers. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821409#3821409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821409 The first thing I would check is that the jboss console is running, under http://localhost:8080/jmx-console/HtmlAdaptor?action=displayMBeans --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Start JBoss - Depends On Me: java.lang.NoClassDefFoundEr
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821410#3821410 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821410 And when I try http://192.168.10.19:8080/jboss-net/servlet/AxisServlet I receive HTTP Status 503 - Servlet JBossAxisServlet is currently unavailable Please, help me. Daniel --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: forums bug
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821408#3821408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821408 Please see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=44109 there is a bug in the theme that uses margin incorrectly. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule and Oracle Datasource
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821407#3821407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821407 Hi All: I am having some issued with the DatabaseServerLoginModule. I have two datasources defined: java:/MySqlDS java:/OracleDS I can connect and retreive data from both sources from a test JSP page. Both databases have identical "user" and "roles" tables and identical data. When I create an DatabseServerLoginModule application-policy in login-config.xml using the mysql source authentication works fine: java:/MySqlDS but when I switch to the Oracle datasource it does not work: java:/OracleDS With the Oracle datasource I can't log into my application (always get access denied). Am I missing something obvious? Also, is there a way to turn on debugging or logging on in the DatabaseServerLoginModule? Thanks! --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] unlock entity Bean
Hi, is it possible to unlock a entityBean explicit ? I am having a deadlock situation here, because I need to access an entityBean in some stateless session bean, but the entityBean (the exact same instance, same PK) is locked because it is used in another sessionBean at the same time. Any hints ? Regards, Stefan --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821406#3821406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821406 Yes, I did it successfully. All steps until the deployment were performed according to jbossj2ee.pdf tutorial, but the situation remains the same. Do you have any sugestions how and what files shoud I checkup in order to find my mistake? Thanks in advance pgoes --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Start JBoss - Depends On Me: java.lang.NoClassDefFoundError
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821405#3821405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821405 Hello, I've had some problems to start the jboss. When I've started, I've received this message: MBeans waiting for other MBeans: [ObjectName: jboss.net:service=Axis state: FAILED I Depend On: Depends On Me: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException] It's some jar files? Because of this I can't work with web service. Can anybody help me/ Thanks all Daniel --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: File System ExternalContext Problem
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821404#3821404 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821404 After fighting with mounting a file system in JNDI with JBoss 3.2.2 I have finally solved the problem! I was going about some things in the wrong way first off, I needed a SAR file for the new fs external context that I was creating. The SAR's layout looks like this... $JBOSS_HOME/server/default/deploy/external-fs.sar /fscontext.jar /providerutil.jar /META-INF /META-INF/MANIFEST.MF /META-INF/jboss-service.xml That was my first problem that I solved, I was originally placing the jboss-service just in the deploy directory and putting the fscontext.jar & providerutil.jar in the server's lib directory. The second problem was the content of the jboss-service.xml file. This is what my WORKING jboss-service.xml file looks like. mbean code="org.jboss.naming.ExternalContext" name="jboss:service=ExternalContext,jndiName=external/fs" attribute name="JndiName" external/fs attribute name="Properties" java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///TEMP attribute name="InitialContext" javax.naming.InitialContext attribute name="RemoteAccess" false -- End of File... No documentation that I could find on this subject says that the properties attribute may be of actual Property type. So all of that is working now. I deployed the .sar and everything works as planned. I hope this helps somebody. Jacob --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: ExternalContext Problem
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821403#3821403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821403 After fighting with mounting a file system in JNDI with JBoss 3.2.2 I have finally solved the problem! I was going about some things in the wrong way first off, I needed a SAR file for the new fs external context that I was creating. The SAR's layout looks like this... $JBOSS_HOME/server/default/deploy/external-fs.sar /fscontext.jar /providerutil.jar /META-INF /META-INF/MANIFEST.MF /META-INF/jboss-service.xml That was my first problem that I solved, I was originally placing the jboss-service just in the deploy directory and putting the fscontext.jar & providerutil.jar in the server's lib directory. The second problem was the content of the jboss-service.xml file. This is what my WORKING jboss-service.xml file looks like. mbean code="org.jboss.naming.ExternalContext" name="jboss:service=ExternalContext,jndiName=external/fs" attribute name="JndiName" external/fs attribute name="Properties" java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///TEMP attribute name="InitialContext" javax.naming.InitialContext attribute name="RemoteAccess" false -- End of File... No documentation that I could find on this subject says that the properties attribute may be of actual Property type. So all of that is working now. I deployed the .sar and everything works as planned. I hope this helps somebody. Jacob --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Cannot see external context in JNDI namespace
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821402#3821402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821402 After fighting with mounting a file system in JNDI with JBoss 3.2.2 I have finally solved the problem! I was going about some things in the wrong way first off, I needed a SAR file for the new fs external context that I was creating. The SAR's layout looks like this... $JBOSS_HOME/server/default/deploy/external-fs.sar /fscontext.jar /providerutil.jar /META-INF /META-INF/MANIFEST.MF /META-INF/jboss-service.xml That was my first problem that I solved, I was originally placing the jboss-service just in the deploy directory and putting the fscontext.jar & providerutil.jar in the server's lib directory. The second problem was the content of the jboss-service.xml file. This is what my WORKING jboss-service.xml file looks like. mbean code="org.jboss.naming.ExternalContext" name="jboss:service=ExternalContext,jndiName=external/fs" attribute name="JndiName" external/fs attribute name="Properties" java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///TEMP attribute name="InitialContext" javax.naming.InitialContext attribute name="RemoteAccess" false -- End of File... No documentation that I could find on this subject says that the properties attribute may be of actual Property type. So all of that is working now. I deployed the .sar and everything works as planned. I hope this helps somebody. Jacob --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Error: jboss.net:service=Axis state Failed
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821401#3821401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821401 Hello, I've had some problems to start the jboss. When I've started, I've received this message: MBeans waiting for other MBeans: [ObjectName: jboss.net:service=Axis state: FAILED I Depend On: Depends On Me: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException] It's some jar files? Because of this I can't work with web service. Can anybody help me/ Thanks all Daniel --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Security information - totally confusing
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821400#3821400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821400 shame I can't edit the message - what I also meant to ask is whether this security domain config in JBoss sets or overrides the container-managed security in tomcat. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Tomcat loses connection to JBoss
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821399#3821399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821399 juha is right on that one, reboot the whole --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Security information - totally confusing
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821398#3821398 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821398 Hi all, just working my way thro' the getting started, and I'm trying to configure the Bank app to take my user name and password. I added them as a key=value pair into users.properties and adam=BankCustomer into roles.properties, but it's not playing along. JBoss recognises 200=j2ee, and I get thro to the Bank menu page. But with my own user/pw, I get a NPE on the browser page and what looks like a JSP taglib exception stacktrace in the console. Although it seems my username & password were accepted, and the app also rejects unknown users back to the login page, something causes problems. Any help please!! --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Thread leak
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821397#3821397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821397 What is the issue with the HSQL db? I'm getting thread leaks as well. Is there a fix? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss MQ hangs
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821396#3821396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821396 Did you find a fix for this, I'm seeing the same behaviour. Thanks in advance. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821395#3821395 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821395 I take it you didn't read chapter 2 in the getting started guide then - The one that describes the difference between the folders under 'server'. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke application error
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821394#3821394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821394 Hi there, I'm a jboss newby myself but it looks like your webapp isn't running because you haven't deployed it - or it failed to load on startup. Your client is probably in the same situation. Did you manage to compile, assemble & deploy everything without errors, before you got this far? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] invalidate entity bean
I have some entity beans backed by data that is regularly modified by external applications. (BMP beans, the database is essentially an interface to an EIS.) The database is Oracle, and I want to use Java Stored Procedures to invalidate cached beans when the database is updated. All the methods you might use to do this though, are lifecycle methods that are normally only called by the container. Does anybody know a suitable way of forcing an entity bean to reload from the database that isn't a nasty hack? Bruce Ashton Senior Developer Ext. 8272 http://www.activis.com/ Please note that: 1. This e-mail may constitute privileged information. If you are not the intended recipient, you have received this confidential email and any attachments transmitted with it in error and you must not disclose, copy, circulate or in any other way use or rely on this information. 2. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. 3. The contents of this email are those of the individual and do not necessarily represent the views of the company. 4. The company does not conclude contracts by email and all negotiations are subject to contract. 5. The company accepts no responsibility once an e-mail and any attachments is sent. http://www.activis.com This annotation was added by the e-scan service. http://www.activis.com -- This message has been checked for all known viruses by e:)scan. For further information please contact [EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - ex04_01 clients programs hang
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821393#3821393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821393 Hi, just curious when I run the com.titan.clients.Client_1 or com.titan.clients.Client_2 programs they do run but they never exit. I have to hit ctrl-c to kill the program. Would anyone know why? Setup: jboss-4.0.0DR2 windows xp jdk build 1.4.1_02-b06 from bea --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: Ex 4_01a client issue
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821392#3821392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821392 Hi, I ran into the same problem. As a workaround I included all the %JBOSS_HOME%\lib\*.jar in my CLASSPATH and was able to run the program. Example set JBOSS_HOME=C:\jboss-4.0.0DR2 set CLASSPATH=%JBOSS_HOME%\lib\bcel.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\commons-httpclient.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\concurrent.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\dom4j.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\getopt.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\gnu-regexp.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\javassist.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-aop.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-boot.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-common.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-jmx.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-remoting.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jboss-system.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\jdom.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\log4j-boot.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\trove.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\webdavlib.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\xercesImpl.jar;%CLASSPATH% set CLASSPATH=%JBOSS_HOME%\lib\xml-apis.jar;%CLASSPATH% --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Intermittent crashes
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821391#3821391 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821391 Nathan, which JDK are you using? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: local tx question
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821390#3821390 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821390 Hi, I try to modify my jboss.xml file so that it includes : < resource-ref > < res-ref-name>jms/LocalQueueConnectionFactory< /res-ref-name> < jndi-name>java:/ConnectionFactory< /jndi-name> < /resource-ref> I try to use jndi-name here instead of using resource-name. But the jms client running in another JVM cannot receive the message in the jboss queue. Any suggestion! yang --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Getting EJB from jsp in different container
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821389#3821389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821389 I've never tried this, but my guess is that you would need to modify jndi.properties on the web server machine to point to the server with the EJBContainer on, and to create ejb-ref entries in the jboss-web.xml in your web application. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821388#3821388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821388 As JBoss optimises the calls anyway I would also reccomend using the remote interfaces so that if you want to seperate the layers of your application onto different machines you can without having to change the code in the future. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: forums bug
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821386#3821386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821386 this may be a nasty HTML bug on IE, that must come from the theme. could you change it to see ? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with changing password
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821385#3821385 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821385 I think you are right. Does anybody know how to login user again programmatically ? Thanks for your help. Kolega Kierownik --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: QueueSession and QueueReceiver
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821384#3821384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821384 Hi, You were right in the order because now session can be closed without hanging. The problem is other: I can see that messages are in a queue and after redeliver a number of times (while doing session.recover()), a message is no longer redeliver but it stays in the queue (when close receiver and session). Reguards --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] J2EE Transactions and isolation levels
Hi, I am having some trouble with what looks like a deadlock. Here is the scenario There are 2 machines, lets call them A and B, both running JBoss. A has a representation of B as a entity Bean (eB) Then flow is as follows: A gets eB from the DB and calls B via Web Service, B connects to A and retrives some data, then the original call (A->B) returns. A --> |B | |<- | | |-> | |<-- In the method on A which is called by B works with eB, at this point it blocks, probaly because the first call already holds a reference to eB. Is there any way to tell JBoss that eB should not be locked, or that the inner Method on A should be allowed to read it anyway. I tried some ejb.transaction attributes, but I dont understand how isolation levels are related to j2ee-transactions. eB is CMP/CMR all other components are stateless session beans. Any help will be appreciated, Thanks in advance, Stefan --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB References
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821383#3821383 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821383 BE CAREFUL when use context.getEJBLocalObject() in JBoss 3.2.1. It seems that there is an intermittent bug in JBoss 3.2.1. I have experienced that context.getEJBLocalObject() sometimes returns a WRONG reference. Someone in the forum also talk about this problem. Use context.getPrimaryKey() to get the pk and find the local reference is more secure. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Help with DatabaseServerLoginModule
Hy guys, i'm using for the first time jaas on JBoss so i wrote a simple program to test it. I'm using a jsp to autenthicate myself to JBoss using DatabaseServerLoginModule on a Sybase Database. My problem is, i never can authenticate, it seems that Principal object when it is passed to jboss authentication process is always null, but if change module login, for example UsersRolesLoginModule i success on it. These are the files i'm using: web.xml ... ... ... FORM WROX Bank Authentication /Login.jsp /LoginError.jsp - jboss.xml jdbc/DSTest java:/DSTest Account ejb/Account java:/jaas/dbLogin --- jboss-web.xml java:/jaas/dbLogin -- ejb-jar.xml ... ... ... The default DS jdbc/DSTest javax.sql.DataSource Container --- login-config.xml java:/DSTest select Password from Principals where PrincipalID=? select Role_db,RoleGroup from Roles where PrincipalID=? --- these are my tables on Sybase DB: ( Role is a keyword on Sybase so i modify the default table ) create table dbo.Principals ( PrincipalID varchar(64) not null , Password varchar(64) not null, Constraint Principals primary key nonclustered ( PrincipalID ) ) drop table Roles go create table dbo.Roles ( PrincipalID varchar(64) not null , Role_db varchar(64) not null, RoleGroup varchar(64) not null, ) - and this is my ds file jdbc:oracle:thin:@192.168.22.80:1521:BARBEPER oracle.jdbc.driver.OracleDriver barbe barbe 5 20 0 true dbLogin thanks for all -- - Andrea Alimonti Notio Srl -
[JBoss-user] [Clustering/JBoss] - how to get MasterNode for SingletonController?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821382#3821382 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821382 Hi again, I have a new question. We have some methods that we have to implement in a singleton in our cluster. I found the HASingletonMBean and would like to use it to test. But how do I get the reference to the actual master of the singleton? Because as far as I understand it, one can only do something on the master of the cluster. Could anybody clarify things for me or explain how this works? Thank you very much for help!! Peter --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Antwort: [JBoss-user] [Datasource Configuration] - Configuring Multiple Dasasource
Hi, it is possible to specify the min & max pool size for each datasource indiviually and you dont need to put each datasource definition in a separate config file. see example from my config MyToplinkDataSource 5 20 5000 15 hope this helps johannes mcapitanio <[EMAIL PROTECTED]> Gesendet von: [EMAIL PROTECTED] 13.02.2004 10:18 Bitte antworten an jboss-user An: [EMAIL PROTECTED] Kopie: Thema: [JBoss-user] [Datasource Configuration] - Configuring Multiple Dasasource View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821380#3821380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821380 Hello, I am working with Jboss working over multiple database on multiple machine. For every DS, I have a file name -ds.xml inm the deploy directory, with url, driver name, username and password as usual. Now I have problems with them and i'd like to know if it is possible to configure the maximum number of connections for each DS or globally. I am having this problem since I am Session beans with a custom made DAO layer. Now if i use DS it won't work cause due to the high number of thread, no more connection are available and it gives problem. On the other hand if i use direct connection to the DB without pooling it works perfectly Please help!!! Max --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: inter module dependency with depends tag
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821381#3821381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821381 I want to war deployed BEFORE the ejb.jar. Can I control it? Thanks jason --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Configuring Multiple Dasasource
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821380#3821380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821380 Hello, I am working with Jboss working over multiple database on multiple machine. For every DS, I have a file name -ds.xml inm the deploy directory, with url, driver name, username and password as usual. Now I have problems with them and i'd like to know if it is possible to configure the maximum number of connections for each DS or globally. I am having this problem since I am Session beans with a custom made DAO layer. Now if i use DS it won't work cause due to the high number of thread, no more connection are available and it gives problem. On the other hand if i use direct connection to the DB without pooling it works perfectly Please help!!! Max --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: local tx question
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821379#3821379 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821379 hI, Thanks for replying. Actually i don't require JMS to support transaction. But I need OTHER connection management features SUCH AS CONNECTION POOLING. in the jms-ds.xml file, there are following codes: < tx-connection-factory> < jndi-name>JmsXA< /jndi-name> < xa-transaction/ > < adapter-display-name>JMS Adapter< /adapter-display-name> < config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic< /config-property> < security-domain-and-application>JmsXARealm< /security-domain-and-application> < /tx-connection-factory> If i just remove the "< xa-transaction/ >", does this mean the connection is still managed properly and without transaction feature. Or I just need to set the JNDI in jboss.xml file to be one of value set in the uil2-service.xml file? (I mean there is no need to use jms-ds.xml file). Thanks yang --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security across different servers
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821377#3821377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821377 That fixes it - thanks Paul. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ejb transaction timeout problem!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821376#3821376 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821376 I try to invoke an operation to an EJB which takes 4 minutes aporx. This EJB is called from a Java class run inside JBoss as well. But the EJB call returns with an exception after 2 minutes. I don't think this issue is related to transaction timeout because when debuging I've realized that the transaction timeout raises after 5 minutes. The problem is that the EJB call always end after 2 minutes (not after 5) and I do not why. The same bono described. I use container transaction. Thanks indeed. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - NullPointer when invoking method on SessionBean
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821375#3821375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821375 I get a weird NullPointerException when i invoke a method pairHullATISCode on my StatefulSessionBean. When I invoke another method of this bean, all works fine. Strangly the only log of this error is the one below: ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException: java.lang.NullPointerException at be.tinc.bkw.core.BKWUserSessionBean.pairHullATISCode(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:878)at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:271) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410) at org.jboss.ejb.Container.invoke(Container.java:674) ... I'm using JBoss 3.2.1, most of the time I'm understand the exceptions that I cause, but the this makes me lose my hair. Greetings G --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering on HP-UX
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821374#3821374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821374 What I forgot to post is how the story ended: The problem seems to be my java version: phohpux2:/opt/java1.4/bin#./java -version java version "1.4.1.03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.03-030630-19:37) Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.03-030701-03:26-IA64N IA64, mixed) I upgraded to: phohpux1:/opt/java1.4/bin#./java -version java version "1.4.2.01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.01-040128-03:14) Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.01-040128-09:53-IA64N IA64, mixed) This fixed the problem with MulticastSockets but created some new ones ... now the UnifiedClassLoader3 is not working correctly but thats an other story ... *g* Downgrading does the job (thats how I got JBoss up and running): phohpux1:/opt/java1.3/bin#./java -version java version "1.3.1.09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.09-030418-12:59) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.09-_18_apr_2003_15_19 IA64, mixed) My problem is that my application relies on some features of Java 1.4 ... :-( Didi --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Out of memory error in freeBSD
Hi Paul, I don't know if this is relevant in your case, but I've had this problem before on other FreeBSD versions (4.7-STABLE) and fixed it as follows: FreeBSD has kernel level user process limits, including direct memory allocation If the user limits are too low for your jboss instance together with your application, jboss reports an OutOfMemory error. This can be fixed by increasing the kernel user process limits by adding the following lines to the kernel config file and rebuilding the kernel. The example below limits the user to 384Mb of memory, but this can be increased to what you need, options MAXDSIZ="(384*1024*1024)" options MAXSSIZ="(384*1024*1024)" options DFLDSIZ="(384*1024*1024)" Of course, if this has already been done, the memory limits are high enough, and the problem still persists, the problem lies elsewhere. It is however more than likely not a jboss problem in this case. Hope this helps. Cheers, Ryan On Fri, 13 Feb 2004, Paul Ekeland wrote: > Hello all, > > I am trying to deploy our application on JBoss in a freeBSD 5.1 platform with 1Go of > RAM, only to get to an OutOfMemory error. Here is the configuration: > > 1. In a first step, we precompiled our JSP's (all 800 of them) and the server > crashes during the loading of the servlets > 2. Without the precompilation, JBoss crashes the same way a bit later during the > initialisation process. > In a windows environment, with a less powerful machine, I have found the solution by > tweaking the standardJboss.xml file and lowering all non-cluster related > max-caches to 1. That did the job and I thought hopefuly the result would be the > same on our main server. Unfortunately, we got exactly the same error as > before so I am wondering even if these modifications are taken in account in the > freeBSD environment? > Any hint is very appreciated! Thanks, > > Paul > > --- SF.Net is sponsored by: > Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux > with a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > ___ JBoss-user > mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - NullPointerException on invoking method of SessionBean
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821373#3821373 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821373 I get a weird NullPointerException when i invoke a method pairHullATISCode on my StatefulSessionBean. When I invoke another method of this bean, all works fine. Strangly the only log of this error is the one below: ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException: java.lang.NullPointerException at be.tinc.bkw.core.BKWUserSessionBean.pairHullATISCode(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:878)at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:271) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410) at org.jboss.ejb.Container.invoke(Container.java:674) ... I'm using JBoss 3.2.1, most of the time I'm understand the exceptions that I cause, but the this makes me lose my hair. Greetings G --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: local tx question
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821372#3821372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821372 PostgreSQL does not support two phase commit, see the FAQ for more information. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Apache+SSL+Jboss-Tomcat bunded
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821371#3821371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821371 I have downloaded the following package: apache_1.3.29.tar.gz apache_1.3.29+ssl_1.53.tar.gz rsaref20.tar.Z j2sdk-1_4_1_02-linux-i586.bin jboss-3.0.8_tomcat-4.1.24.zip I want to set the the main deploying directory is Apache's htdocs,not the Jboss-Tomcat deploy directory, because i want use .htaccess function to implement access control, ... I don't know how to connect apache and Jboss_tomcat either,to parse the *.jsp files uder the Apache htdocs deploying directory. i search those install files by google for a long time,but got nothing. so,who can help me. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL in JBoss 3.2.2 and Tomcat
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821369#3821369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821369 I try to activate SSL on 3.2.3 but I think that on 3.2.2 it's possible in the same way: 1) create a keystore that hold a certificate for the server: %JAVA_HOME%\bin\keytool -genkey -alias j2ee -keyalg RSA -keystore {keypath}\server.jks The passwords must be the same for the keystore and the key. 2) edit jbossweb.sar/META-INF/jboss-service.xml and uncomment or add the connector: 3) add the attribute redirectPort="8443" to the connector that handle the 8080 port for automatic redirect from 8080 to 8443 on protected pages. I hope this is useful... Gio --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] problems in building jboss from sources
Hi all, I don\t want to spam, but I didn’t get any help after I posted to the list… I am experiencing problems in building JBoss 3.2 from sources… can anyone help me Or at least point me to a FAQ or an already posted message with same subject? With best regards Marco mistroni -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Mistroni Sent: 12 February 2004 10:05 To: [EMAIL PROTECTED] Subject: [JBoss-user] problems in building jboss from sources Hi all, I have downloaed jboss-3.2 from CVS and tried to build it, but in the process I got following Exception C:\jboss-3.2\build>build Calling ..\tools\bin\ant.bat Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: _buildmagic:init:buildlog: configure: Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat41.classpath: C:\jboss-3.2\thirdparty\apache-tomcat41 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat50.classpath: C:\jboss-3.2\thirdparty\apache-tomcat50 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding beanshell .beanshell.classpath: C:\jboss-3.2\thirdparty\beanshell-beanshell\lib not found. [echo] groups: default [echo] modules: common,jmx,system,naming,remoting,aop,j2ee,transaction,serv er,security,messaging,connector,cluster,varia,jboss.net,iiop,management,tomcat,c onsole,cache,compatibility,aspects,media init: _buildmagic:modules:most: == == Executing 'most' in module 'common'... == _buildmagic:init: configure: Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat41.classpath: C:\jboss-3.2\thirdparty\apache-tomcat41 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding apache.to mcat50.classpath: C:\jboss-3.2\thirdparty\apache-tomcat50 not found. Caught exception (org.apache.tools.ant.BuildException) while expanding beanshell .beanshell.classpath: C:\jboss-3.2\thirdparty\beanshell-beanshell\lib not found. Overriding previous definition of reference to xdoclet.task.classpath Caught exception (org.apache.tools.ant.BuildException) while expanding xdoclet.t ask.classpath: C:\jboss-3.2\thirdparty\xdoclet-xdoclet\lib not found. BUILD FAILED file:C:/jboss-3.2/common/build.xml:160: C:\jboss-3.2\thirdparty\xdoclet-xdoclet\ lib not found. I have those tomcat and xdoclet directories, but they are not under, for example, c:\jboss-3.2\thirdparty\apache-tomcat50 but :\jboss-3.2\thirdparty\apache\tomcat50 so it looks like somehow it uses incorrect path. I am running the buildscript on Windows XP.. anyone can help me finding what is the problem? I haven’t touched local.properties file Thanx in advance and regards marco
[JBoss-user] Out of memory error in freeBSD
Hello all, I am trying to deploy our application on JBoss in a freeBSD 5.1 platform with 1Go of RAM, only to get to an OutOfMemory error. Here is the configuration: In a first step, we precompiled our JSP's (all 800 of them) and the server crashes during the loading of the servlets Without the precompilation, JBoss crashes the same way a bit later during the initialisation process. In a windows environment, with a less powerful machine, I have found the solution by tweaking the standardJboss.xml file and lowering all non-cluster related max-caches to 1. That did the job and I thought hopefuly the result would be the same on our main server. Unfortunately, we got exactly the same error as before so I am wondering even if these modifications are taken in account in the freeBSD environment? Any hint is very appreciated! Thanks, Paul --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Jboss and tomcat
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821368#3821368 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821368 That's normal behaviour when/as there is no root.war deployed. Try hitting http://localhost:8080/jmx-console/ --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: inter module dependency with depends tag
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821366#3821366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821366 What do you want to achieve? When .jar and .war are packed in a .ear, the .jar will be deployed before the .war, so your dependency is already honoured. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBOSS - netmon (netwrok monitoring software ) compatibility
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821367#3821367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821367 Hi, We have installed netmon ( netwrok monitoring software from Security Space ) to check the status of one of stateful session beans on JBoss 3.2.0 Tomcat 4.1.24. Installation was done in last week. After installation, JBoss has gone down or crashed for 5-6 times in last week. This was never the case in last 8 months. Also, there are lots of socket exceptions in daily log from last week. Notable thing is log for a particular day also showed a statement reading "java.net.SocketException: Software caused connection abort". Is netmon creating any problems ? Also, there are lots of passsivation statements for that particular stateful session bean. I have been using default configuration till now. We are thinking about increasing the no. of cache instances for stateful session beans and also maxProcessors value for Tomcat threads to increase the JBOSS capacity. Can anybody throw some light on it ? Thanks, Suraj --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Jboss and tomcat
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821365#3821365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821365 hi, I have downloaded the JBoss and TOmcat bundled. I have unzip the downloaded Jboss-Tomcat.zI am able to start Jboss at /jboss/bin/run.sh but with many INFOs and some warnings... As I know the default port is at http://localhost:808/ When I try to browse over there, it returned the following message: == HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. = Thanx: meileng --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - inter module dependency with depends tag
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821364#3821364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821364 I have a J2EE application. Which has a ejb module and web module. This ejb module depends on web module. Can I specify this with depends tag in the jboss.xml. I tried with the an depends like this jboss.management.local:J2EEApplication=share.ear,J2EEServer=Local,j2eeType=WebModule,name=init.war for one of my MDB. However the MDB is never deployed since it does not receive my message? Any suggestion? Thanks jason --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Antwort: [JBoss-user] [EJB/JBoss] - Re: EJB Lookup, Connection Refused.
Hi, the host switch didnt work for me either The cleanest way to configure jboss is (IMHO) to use the port-bindings.xml configure the server to bind to a dedicated adapter/port combination for each service. ( see docs/examples/binding-manager.xml) (see dtd at file head for more information as the parameters to specify depend on the services used...) hope this helps johannes erik777 <[EMAIL PROTECTED]> Gesendet von: [EMAIL PROTECTED] 12.02.2004 23:54 Bitte antworten an jboss-user An: [EMAIL PROTECTED] Kopie: Thema: [JBoss-user] [EJB/JBoss] - Re: EJB Lookup, Connection Refused. 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 refused from 127.0.0.1. But, when i set JBoss' host to 127.0.0.1, I get connection refused from 192.168.1.8! Here is the code I'm using to try to connect: Context context = getContext(); log.debug(" Context.DNS_URL: " + context.DNS_URL); log.debug("Context.INITIAL_CONTEXT_FACTORY: " + context.INITIAL_CONTEXT_FACTORY); log.debug(" Context.PROVIDER_URL: " + context.PROVIDER_URL); Hashtable table = context.getEnvironment(); String url = "" table.get(context.PROVIDER_URL); log.debug(" URL: " + url); ClientConfig config = new ClientConfig(); config.setRemoteJNDIhost("192.168.1.8"); url = ""> log.debug(" new URL: " + url); try { table.put(Context.PROVIDER_URL, url); context = new InitialContext(table); Object remoteObject = context.lookup(url + "/" + SECURITY_CONTEXT_NAME + "/SecurityController"); log.debug("Obtained remote home interface. Narrowing..."); securityControllerHome = (SecurityControllerHome)PortableRemoteObject.narrow(remoteObject, SecurityControllerHome.class); return securityControllerHome; } catch (Exception ex) { log.debug("Caughting exception trying to get remote interface"); log.debug("Message: " + ex.getMessage()); ex.printStackTrace(); } I'm using JBoss 3.2.3. If this is not the correct way to connect to an EJB in another container, then can someone please clarify. The actual host IP will be dynamically configured. It cannot be in the ear. So I am intentionally using the JNDI code to get it to look at the host I specify. The code above is just test code to get it to work. Later I'll clean it up and make it truly dynamic. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - SSL in JBoss 3.2.2 and Tomcat
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821363#3821363 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821363 Hi I need to setup SSL in JBoss 3.2.2/Tomcat to enable HTTPS. Can anybody list down a step by step process that I should follow. I went through JBoss 3.2 documentation and it is not working for me. Your help is appreciated. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821362#3821362 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821362 Hi Jean-Francois, I have seen you got the solution for your problem. Could you please provide snippets from your cluster-service.xml, where you define the HAJNDI-NamingService, and from your client code where you connect to the cluster via multicast? I think that could be a real help. Thank you very much! Peter --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Can I deploy value object to database?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821361#3821361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821361 Uh? ValueObjects are (with some help) translated into entity bean getters and setters which then access the database. If you'd write value objects directly to the database, then why would you like to have entity beans? --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user