[JBoss-user] [Security JAAS/JBoss] - Migrating from JBoss-2.4.4 to JBoss-3.2.x
Hi! The company I'm working in is finally migrating from JBoss-2.4.4 to version 3.2.x. In the old version we've had a custom Tomcat Realm to process the authentication/authorization. With the newer version it was no problem to make the transition to a new custom module based on org.jboss.security.auth.spi.AbstractServerLoginModule. The problem I'm facing is this: in the old login module I was able to store some needed info in session as the current session was readily available as an input parameter for the tomcat realm. It seems that with the AbstractServerLoginModule-based custom module the session is not available at all. How should I proceed, any pointers, tutorials, code snippets? TIA, Kari View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847768#3847768 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847768 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: setsockopt IP_ADD_MEMBERSHIP failed
i found out that the 2 box run on diffrennt version of linux. I formatted one of our dev server and load same os as the other dev server using redhat9. I also upgraded j2sdk1.4.0 to j2sdk1.4.2_05. When i started the two box it seems that they can find each other usign the default cluster-service.xml. | 2004-09-10 13:46:20,230 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Initializing | 2004-09-10 13:46:20,278 DEBUG [DefaultPartition:ReplicantManager] registerRPCHandler | 2004-09-10 13:46:20,279 DEBUG [DefaultPartition:ReplicantManager] subscribeToStateTransferEvents | 2004-09-10 13:46:20,279 DEBUG [DefaultPartition:ReplicantManager] registerMembershipListener | 2004-09-10 13:46:24,016 INFO [org.jboss.ha.framework.server.ClusterPartition] Starting channel | 2004-09-10 13:46:24,017 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of cluster members: 1 | 2004-09-10 13:46:24,017 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Other members: 0 | 2004-09-10 13:46:32,033 INFO [org.jboss.ha.framework.server.ClusterPartition] Started ClusterPartition: DefaultPartition | I also disable iptables on both box, and added | route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 | but same thing happend. I modifed the cluster-service.xml usng TCPPING but same thing too.. did i miss something here | ?xml version=1.0 encoding=UTF-8? | server | classpath codebase=lib archives=jbossha.jar/ | !-- -- | !-- Cluster Partition: defines cluster -- | !-- -- | mbean code=org.jboss.ha.framework.server.ClusterPartition name=jboss:service=DefaultPartition | !-- Name of the partition being built -- | attribute name=PartitionNameDefaultPartition/attribute | !-- Determine if deadlock detection is enabled -- | attribute name=DeadlockDetectionFalse/attribute | !-- The JGroups protocol configuration -- | attribute name=PartitionConfig | Config | TCP start_port=7800/ | TCPPING initial_hosts=192.168.40.55[7800],192.168.40.54[7800] up_thread=true down_thread=true num_initial_members=2 port_range=5 timeout=3000/ | VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false/ | pbcast.NAKACK gc_lag=100 retransmit_timeout=3000 up_thread=true down_thread=true/ | pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=false print_local_addr=false up_thread=true down_thread=true/ | /Config | /attribute | /mbean | !-- -- | !-- HA Session State Service for SFSB-- | !-- -- | mbean code=org.jboss.ha.hasessionstate.server.HASessionStateService name=jboss:service=HASessionState | dependsjboss:service=DefaultPartition/depends | !-- Name of the partition to which the service is linked -- | attribute name=PartitionNameDefaultPartition/attribute | !-- JNDI name under which the service is bound -- | attribute name=JndiName/HASessionState/Default/attribute | !-- Max delay before cleaning unreclaimed state. | Defaults to 30*60*1000 = 30 minutes -- | attribute name=BeanCleaningDelay0/attribute | /mbean | !-- -- | !-- HA JNDI -- | !-- -- | mbean code=org.jboss.ha.jndi.HANamingService name=jboss:service=HAJNDI | dependsjboss:service=DefaultPartition/depends | !-- Name of the partition to which the service is linked -- | attribute name=PartitionNameDefaultPartition/attribute | !-- bind address of HA JNDI RMI endpoint -- | attribute name=BindAddress${jboss.bind.address}/attribute | !-- RmiPort to be used by the HA-JNDI service | once bound. 0 = auto. -- | attribute name=RmiPort0/attribute | !-- Port on which the HA-JNDI stub is made available -- | attribute name=Port1100/attribute | !-- Backlog to be used for client-server RMI | invocations during
[JBoss-user] [Performance Tuning] - prepared-statement-cache-size problem
Hello, I'am trying to speed up my JBoss by using the prepared-statement-cache-size parameter, but it seems that it doesn't work becasue JBoss doesn't take into account the value I set. I'am using JBoss 3.2.5 and Oracle 9 as DB. My problem is that in my oracle-ds.xml datasource descriptor I set the tag prepared-statement-cache-size to 500, but when I try to verify it with the JMX console, the prepared-statement-cache-size parameter has the value: Null. I also set the max-pool-size parameter to 50 (it is not the default value) and it is OK when I verify with the JMX console. Thanks in advance. Fabio. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847774#3847774 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847774 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: security-domain for datasource
This time all seems obvious, doesn't? I just use JBoss LoginModule and because of that I've got exceptions. Ok, but can at least someone says how to correct that (possibly by writing own LoginModule)? Or, at least, at what stage credentials are lost? (I repeat again but that is just if something is unclear from my previous post and mindreading is necessary again: 1. All is ok when I just use credentials for connection. 2. When I use method permissions they are consumed by j2ee security for them but totally lost for connection creating.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=384#384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=384 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Failover datasource? bmp or cmp
I want to use a cmp or bmp with a datasource, but when the first datasource isn't available it should use a second datasource. Is this possible with a cmp or should i use (and how) a bmp? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847778#3847778 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847778 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - AJP Clustering
hi All, I have configured multiple instances of JBoss3.2.5(tomcat) to work with Apache 2.0, where Apache is the Web proxy for load balancing. The problem I'm facing is with Form based Authentication. If only a single JBoss server is running OR I have enable only a single worker in workers2.properties, I can successfully login through Apache etc... If 2 or more JBoss servers are running, it comes up with error of message Invalid direct reference to form login page description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). I have attached my workers2.properites below Any help would be greatly appreciated, Nitin. # Sample workers2.properties 08-Feb-2004, located at: # http://www.gknw.com/development/apache/docs/win32/mod_jk2/workers2.properties # [config:] info=Defined in mod_jk2.conf. # file=${serverRoot}/conf/workers2.properties debug=0 debugEnv=0 [logger] level=debug [logger.file:0] info=Where to put the mod_jk2 log. file=${serverRoot}/logs/jk2.log level=debug [workerEnv:] info=Global server options. debug=0 timing=0 logger=logger.file:0 [uriMap:] info=Maps the requests to workers. debug=0 [shm:] info=This is the Scoreboard. debug=0 disabled=0 file=${serverRoot}/logs/jk2.shm size=1048576 # -- Channels -- # [channel.socket:192.0.0.91:8009] tomcatId=192.0.0.91:8009 info=Forward to a local TCPIP socket. debug=0 disabled=0 port=8009 host=192.0.0.91 nodelay=0 timeout=60 graceful=0 keepalive=0 group=jboss [channel.socket:192.0.0.92:8009] tomcatId=192.0.0.92:8009 info=Forward to a local TCPIP socket. debug=0 disabled=0 port=8009 host=192.0.0.92 nodelay=0 timeout=60 graceful=0 keepalive=0 group=jboss # -- Workers -- # [status:] info=Status worker, displays runtime information. debug=0 disabled=0 [ajp13:192.0.0.91:8009] info=Ajp13 worker for WebSilver1 using a local channel. debug=0 disabled=0 graceful=0 max_connections=0 channel=channel.socket:192.0.0.91:8009 [ajp13:192.0.0.92:8009] info=Ajp13 worker for WebSilver2 using a local channel. debug=0 disabled=0 graceful=0 max_connections=0 channel=channel.socket:192.0.0.92:8009 # -- Load Balancer -- # [lb:0] worker=ajp13:192.0.0.91:8009 worker=ajp13:192.0.0.92:8009 # -- URI's see QuickStart Guide -- # [uri:/isis-web/*] info=Forward to jboss server. debug=0 disabled=0 group=jboss # End of workers2.properties View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847785#3847785 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847785 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Login Failure: all modules ignored !!!!
Hi all, I'm getting a strange error while I'm logging in to my application. I'm using my own login module with the Jboss3.2.5. It was was working fine with Jboss3.0 . What is difference in JAAS implementation between Jboss3.0 and 3.2.5. Any special configurations have to do apart from 'login-module.xml' ??? Exceptions are given below... Please help me. 2004-09-10 14:47:53,412 DEBUG [org.jboss.security.plugins.JaasSecurityManager.MyOwnDomain] Login failure javax.security.auth.login.LoginException: Login Failure: all modules ignored at javax.security.auth.login.LoginContext.invoke(LoginContext.java:779) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) at javax.security.auth.login.LoginContext.login(LoginContext.java:535) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:476) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:430) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:246) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:221) at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:161) Thanks, adp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847786#3847786 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847786 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Jboss write-through-caching
Hi, is there a possibility to turning-off the jboss cache for cmp- entity beans - I need a kind of write-through-cache. In other word, changes made to cmp-entity beans should immediately reflected to the underlying database. The default behavior of jboss is to cumulate updates to cmp- entity-beans and write them back to database at the end of a transaction (commit). Greetings, Tolja View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847792#3847792 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847792 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Configure JBoss/Jetty to use nsapi_redirect.so use SunOn
Unfortunately, due to a customers demands and the reliance on third party software that is not yet compatible with newer versions of JBoss upgrading all of JBoss is not an option. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847796#3847796 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847796 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: javax.management.InstanceNotFoundException:
Try ObjectName objName = new ObjectName(jboss.mq.destination:service=Queue,name=testQueue) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847799#3847799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847799 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: where i can save data in jboss?
Couple of options i can think of 1) Have a apache(or any webserver) running on ur machine and store the files in the htdocs area. 2) create a directory called files.war in the deploy directory and store all the files underneath there. That way u can restore them as http://machine:port/files/a.jpg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847781#3847781 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847781 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - error of deploy
Why it will be that I obtain to make deploy of mine ejbs in one schemes with windows2000, jboss-3.2.3 and when I catch this exactly archive I do not obtain to make deploy in mine notebook with windows200 + jboss-3.2.3. This error: Error in ejb-jar.xml, in method-permission: An unchecked element or one or more role-name elements must be specified in method-permission. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847800#3847800 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847800 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Upgrading Jetty
True. My situation is summed up in the Configure JBoss/Jetty to use nsapi_redirect.so with SunOne 6.1 post. The reason I am looking to upgrade Jetty is because there are issues with getting it configured to use a fronting web server via ajp13. I am unable to upgrade to a newer version of JBoss because of a third-party application that does not yet support newer versions of JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847797#3847797 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847797 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Persisting JMS Messages To MySql
Thanks for the information genman. I figured out what was wrong while looking at some of the other forums. My MDB was consuming the messages before they could be propagated to the DB. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847808#3847808 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847808 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Possible to refer to classes that will be generated late
It is not a limitation of Javassist but the JVM. You can reload a class if you use the JPDA interface but the schema changes between the old and new classes are quite restricted. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847807#3847807 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847807 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Module visibility
I'm new in Nukes and it seems greet, but i have some difficulties to display module for specific user. How can i set a block visible for guest ? Thanks (Is there a full tutorial on Nukes ?) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847810#3847810 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847810 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: database pool connection timeout
MinSize3 MaxSize50 BlockingTimeoutMillis5000 IdleTimeoutMinutes10 IdleTimeoutEnabled10 Please help.. it gives an error of IdleTimeoutEnabled not found.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847812#3847812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847812 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Many small EJB's vs large EJB
Hi, been searching around and never could find the answer to this. Is it better to have a whole bunch of little EJB's with only 1 or 2 methods or a couple of large EJB's with many methods? We're wondering performance wise, and ease of maintenance. The goal of the application is to write most/all of our business methods in EJB's, including connecting to the database, and sending the 'answers' back to a servlet type client and an application type client. Right now we're running: AMD 64 3200+ 1GB Ram Red Hat Linux Enterprise 64 Bit Edition PostgreSQL 7.3 Database Java 1.4.2 JBoss 3.2.5 Thanks, Dave pageld54(at)yahoo.com View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847813#3847813 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847813 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss 4.0 in production
Hello, What is the expected date for the production release of JBoss 4.0? Thanks in advance, Julien Martin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847814#3847814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847814 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Configure JBoss/Jetty to use nsapi_redirect.so use SunOn
The fix is to upgrade the version of Jetty packaged within JBoss 3.0.7. To do this, simply replace the org.mortbay.jetty.jar file in the jbossweb.sar with the org.mortbay.jetty.jar file of the version of Jetty you want to upgrade to. The relevant fix for AJP13 issues is in Jetty 4.2.11 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847815#3847815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847815 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Upgrading Jetty
Nevermind, I figured it out. To upgrade Jetty, simply replace the org.mortbay.jetty.jar file in the jbossweb.sar with the org.mortbay.jetty.jar file of the version of Jetty you want to upgrade to. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847816#3847816 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847816 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - synchronizing a session bean
Hello, I'm having an issue with some legacy code I had to take over. There is a session bean that has a singleton class. In that singleton class there is a method where a socket is opened up and some data is sent and received. Problem is when two users use the session beans to send data on the socket it there are problems with the order in which the data is recieved. I know you can't use synchronized within a session bean. Is there anyway to synchronize a method in a session bean through jboss so that each call to this method completes before the next session bean executes it? Thanks, twutort View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847818#3847818 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847818 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss + postgresql + SQLException Windows and Linux
Does JBoss for Linux need to be configured differently than JBoss for Windows for SQLException handling? Here is my situation: I am creating a Struts 1.1 based application that runs fine under Tomcat 5 and JBoss 3.2.5 on Windows. During login, I am validating the user against their PostgreSQL database login. If they enter a bad username/password, PostgreSQL generates an exception. On Windows the following code works: catch (SQLException e) { log.error(Error in validating user.); log.error(\tSQL statement = + sQuery); log.error(\terror code = + e.getErrorCode()); log.error(\tstate = + e.getSQLState()); if (e.getSQLState().equals(08004)) { // have a password/userid error, return null user } the 'state' is '08004' on userid/password errors. I packaged up my exploded war directory on Windows and moved it over to Linux and unzipped it into jboss-3.2.5/servers/default/deploy -- same location as on Windows. However when I run the same code on Windows and enter in an invalid user id/passowrd combination, when the exception is thrown and caught and my code is run, the 'state' returned is NULL. If a proper userid/password are entered they are logged into the system and everything runs fine. Thanks in advance for any corrections or suggestions. Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847819#3847819 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847819 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] rmh - enterprise javabeans, 4th ed. exercise 15.1 doesn't work on my jboss4 installation
hi all, recently, i bought enterprise javabeans, 4th ed by richard monson-haefel, bill burke and sacha labourey. i have installations of jboss 3.2.3 (java 1.4.1) on my gentoo linux server and jboss 4.0.0 rc2 (java 1.5.0-rc-b63) on windows xp sp2 on my tabletpc/localhost. i strongly prefer to use the jboss4 server as this is a) the future and b) i do prototyping only (stability isn't an issue for me right now). on jboss4/localhost i checked out most of the examples in the jboss workbook included with rmh-ejb. however, the one i needed most, exercise 15.1: web services and ejb 2.1 doesn't seem to work on my local jboss4 server. first it failed to build, probably due to deprecated/missing jboss.net support in jboss4. so i tried to replace fileset dir=${jboss.home}/server/default/deploy/jboss-net.sar with fileset dir=${jboss.home}/server/default/deploy/jboss-ws4ee.sar on line 15 in ex15_1\build.xml using this, ant didn't complain when building the server-side of the example ('ant wsdl', 'ant ejbjar'). however, when restarting jboss4, the server log reads: 12:00:09,420 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.0RC2/server/defaul t/deploy/titan.jar 12:00:09,621 ERROR [ServiceDeployer] Cannot startup webservice for: titan.jar java.lang.IllegalArgumentException: The wsdl file should be located in: META-INF /wsdl/ etc. my questions: * q1: *** how can i make this example work (nicely) with jboss4? if the example, as downloaded from http://examples.oreilly.com/entjbeans4/workbook.zip, doesn't work with jboss4 indeed, i'd kindly ask to release an update of it as quickly as possible. jboss4 is suggested in the workbook and i believe most people prefer a web service example using jboss-ws4ee (j2ee 1.4 compliant) instead of jboss-net (the axis way, deprecated). q2: *** apart from the problem described above, running the client of exercise 15.1 threw some exceptions. do you have any idea what's wrong here and how i can make it work in my environment (jboss4, java 1.5.0-rc-b63, windows xp sp2)? the following steps worked fine: 'ant clean.db' 'ant createdb' the following threw exceptions: C:\unison_sync\thesis\working\current\code\examples\oreilly\workbook\ex15_1MakeReservation 1 106 1 5000.00 Buildfile: build.xml prepare: compile: ejbjar: run.client: [java] Exception in thread main java.rmi.ServerException: RemoteException occurred in server thread; nested excep tion is: [java] java.rmi.ServerException: EJBException:; nested exception is: [java] javax.ejb.EJBException: failed [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325) [java] at sun.rmi.transport.Transport$1.run(Transport.java:153) [java] at java.security.AccessController.doPrivileged(Native Method) [cut] [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) [java] ... 25 more [java] Java Result: 1 BUILD SUCCESSFUL Total time: 3 seconds any help appreciated, regards dani p.s. it can be safely assumed that line wrappings are correct, despite of wrong appearance above. -- Daniel Mettler http://www.numlock.ch/ --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Finder-Method for a 1:1 relation - IN operator doesn't work
Hi All. I want to write a finder that finds the parent objetc for a 1:1 relation. Wirth a 1:many relation, i can use the IN operator, but with a 1:1, I got no idea what to do. My EntityBeans look like this: TempData: uuid: String name: String binaryData: BinaryData tumbnailImage: BinaryData previewImage: BinaryData [...] BinaryData: uuid: String name: String [...] When I try using a statement like @ejb.finder signature = TempDatenLocal findTempDataByBinaryData(java.lang.String binaryDataId) query= SELECT OBJECT(a) FROM TempData AS a, IN(a.binaryData) AS b WHERE (b.uuid = ?1) I get this: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(a) FROM TempData as a, in(a.binaryD ata) as b WHERE (a.uuid = ?1)'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered a.binaryData at line 1, column 44. Was expecting: COLLECTION_VALUED_PATH ... ) Any Idea, how I can make this finder work??? Thanks in advance, Sascha. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847820#3847820 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847820 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss JAAS x Tomcat's
There is a problem that when the HttpSession is invalidated, the logout() method of the JAAS loginModule is not called. I am using JBoss 3.2.3 with embedded Tomcat41 (jbossweb-tomcat41.sar). This has been fixed on Jetty see: http://article.gmane.org/gmane.comp.java.jetty.general/4915 Is there also a fix for the embedded Tomcat? If so then what version can I find the fix in? The authenticated user is cached in JBoss, and when they log on again, they are prompted for user id and password. The password is re-authenticated by the LoginModule if a different user or password is entered. However if the same user and password are entered, the loginModule is not re-initialised. So if a role has been added or removed, the users roles will not be updated until the server is restarted. I tested this using Form based authentication. I am using a custom Login Module which extends org.jboss.security.auth.spi.UsernamePasswordLoginModule and delegates to com.sun.security.auth.module.Krb5LoginModule Thanks, Neil. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847826#3847826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847826 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JNDI lookup() NamingException whilst logging in as custo
Well, I found another forum topic describing the same problem. Guess I should have read more of the forum topics. |: The original forum topic can be viewed at: http://www.jboss.com/index.html?module=bbop=viewtopict=52094 Apparently 3.2.5 has a problem with the Bank demo. I installed 3.2.3 and bada-bing, it all worked. On to some real work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847828#3847828 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847828 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - on-find help needed !!
I have a finder with an eager load group configured. for the sake of discussion, let's say that the eager load group contains field A, B, C. I also configured the strategy of the finder to on-find, and when I turn on SQL debugging, it's showing that the primary key and the fields I specified are loaded during the find, however when my code does a getC, extra fields that I do not requre are loaded ( field D, E, F). I then configured a lazy load group for those unused fields, and the behavior is still the same. I am using 3.2.3. Any help would be appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847829#3847829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847829 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: on-find help needed !!
Also, the bean is read-only, with commit option B. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847830#3847830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847830 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s
Hi Bela, I definitely have a cluster. I didn't check the JMX console, but I can see the logging stating that I have 2 machines in the cluster and they are the machines I am expecting. As well, the above code works just fine until the second machine comes up. As soon as I see the logging stating the cluster has been formed the delays kick in. Is there something I need to do to set up clustering that I am missing? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847831#3847831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847831 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss JAAS x Tomcat's
There is no coupling between a session and the security domain cache. If you want that behavior its a simple matter of adding a session listener that invalidates the cache through jmx. I'll add a session listener that does this to the dist for 3.2.6RC2/4.0.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847834#3847834 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847834 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.1 cluster-wide hot-deployment
I also have the same issue with hot-deployment. Works fine when the server is started but after bringing a node down and then back up , the deployment happens only on the node where it is touched. Whats the sourceforge issue number in case something is already filed? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847798#3847798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847798 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HTLM gets truncated in index.html on 1.1RC3
Use BBCode | html | | /html | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847790#3847790 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847790 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Duplicate entity instances, differing field values (caching
Searched quite a bit to find an answer to this problem, so please let me know if it's already been answered... I'm using CMP, with commit-option A (JBoss 3.2.5). I have some container managed relationships (CRM) set up. As a conceptual example similar to my own, a box contains many gadgets, each of which contains many widgets. Here's the scenario where I'm experiencing the problem: I look up a box entity, then iterate through all its gadget entities and all of their widget entities. Later on (in a different transaction), I use a finder method (not the primary key finder) to directly find a particular widget entity, and update its state. (I can verify that this is being updated in the database just fine). However, if, in yet another transaction later on, I use the CMR structure described above to access the same particular widget entity, it still has the old value. I verified (using toString on the entity object) that there are two separate entity instances representing the same database row (one when I found the widget directly, the other when I got it through the CMR hierarchy), but the original entity didn't get updated. I also verified that both entity instances have the same primary key (simply a string value). The database got updated, but one of the entity instances didn't stay in sync. Is this expected behavior? I'm not too familiar with the JBoss entity caching or CMR internals, so maybe I'm missing something important. (Note that the database is not being updated by anything but JBoss.) Thanks! (Using JBoss 3.2.5, Windows 2000, Sun JVM 1.4.2_03.) -Daniel Boggs View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847835#3847835 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847835 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.5 on Windows 2003
I have see this behaviour by logging off the administrator View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847836#3847836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847836 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - SessionFactory with name [java:/hibernate/SessionFactory] no
I have followed indications in JBossHibernate wiki with JBoss4.0. The application and .har deployments have no problems, but when I call SessionContext.getSession(java:/hibernate/SessionFactory) in a stateless session bean method I get the following exception 20:44:39,418 ERROR [LogInterceptor] RuntimeException in method: public abstract java.lang.String prova.interfaces.Prova.doIt() throws java.rmi.RemoteException: java.lang.IllegalStateException: SessionFactory with name [java:/hibernate/SessionFactory] not yet registered with SessionContext at org.jboss.hibernate.session.SessionContext.getStorage(SessionContext.java:135) at org.jboss.hibernate.session.SessionContext.getSession(SessionContext.java:43) at prova.ejb.ProvaBean.doIt(ProvaBean.java:93) 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.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.ejb.plugins.AbstractInterceptor.invoke(AbstractInterceptor.java:96) at org.jboss.hibernate.session.EjbInterceptor.invoke(EjbInterceptor.java:81) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:859) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:536) Note that my scope is transaction and I have associated e required transaction to my method. I do not know what is worng. If anybody has any ideas please help. Sorry if this is the worng forum for such question. Thanks in advance Francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847838#3847838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847838 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___
[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB
snavjot, I need to create a singleton object cache and this sounds like the solution I am looking for. I am not familiar with some of your terminology though. What is an object ans. Could you please elaborate on your solution. Thanks. -Kevin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847839#3847839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847839 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to keep Connection/ResultSet open across EJB methods
Within my application, there is a query that potentially can return large amounts of data. In order to display this data in the client app without freezing the UI waiting for the entire data set, we have three EJB methods to get the data. 1) Do the query and store the ResultSet 2) Get a specified number of the data 3) close the ResultSet. My initial thought would be that I would get an Error such as fetch sequence out of bounds or connection closed. However with JBoss 3.2.3 and earlier it works fine. In the first method I get a Connection and query for the ResultSet (which is a class variable). Then the second method is called iteratively until the entire ResultSet is returned. The third method is called to close the ResultSet. When my EJB is deployed in JBoss 4.0, after retuning from the first method, because the Connection is closed the ResultSet is closed too -- thus causing an Exception when trying to iterator over a closed ResultSet. I thought that by changing my client to handle the transactions that I would be able to keep the ResultSet open. But that doesn't seem to work. So, my questions are if what I have been doing should/could work? Are there deployment settings that need to changed to allow for the ResultSet to remain open across EJB method calls? Am I correct in my thinking that if the client handle the transactions that the ResultSet could remain open? Any help would be appreciated in figuring out whether my application is not adhering to the J2EE EJB specs or if there is a problem with JBoss 4.0. Cheers! Kyley View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847840#3847840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847840 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] presentation level integration using jboss: how? (web services/soap, xml/xslt, xhtml, xul, ..)
(view using mono-space font for proper ascii-art display ;) hi all, i'd like to write a presentation level integration prototype using jboss (4.0, if possible). therefore, the presentation layer (to be implemented) needs to provide the following different services to a client (browser and/or rich client): * a soap interface (i.e. the client must be able to access a web service using soap. the web service should be provided): client soap presentation layer (server-side) * apart from providing a soap interface, the presentation layer (pl) should also be able to transform xml-data into various other xml formats (xhtml, xul, wml, ..) using a server-side xslt transformation: client http presentation layer (server-side) {xhtml, xul {xml} transformation using xslt wml, ..} constraints: * the whole thing should be *as simple as possible* as it only serves as a *demonstration prototype*. * the other layers (business logic tier, data tier) of this n-tier architecture don't matter for the prototype (of course they matter for presenation level integration, but this prototype is supposed to show only few aspects of presentation level integration). whatever is the simplest to understand and implement. * the presentation layer should preferably use session beans mainly (eventually an entity bean to hold the xml data) * as a design pattern for the presentation layer i'm thinking about using a model-view-controller (mvc) pattern or a business delegate pattern (see: matjaz b. juric professional j2ee eai) questions: ** * how can i implement an xml to xyz transformation using xslt in jboss? (i.e. how can i apply a xslt sheet on xml using jboss? is this done using a servlet? how?) * how should i combine/couple the soap interface component(s) and the xml/xslt transformation component(s)? * is there any example code showing this or aspects/parts of it? * am i totally wrong in choosing jboss for this purpose? would another technology/product (e.g. axis, tomcat or a java mvc framework like http://www.springframework.org/) be better suitable to implement a presentation level integration prototype? * any suggestions or recommendations on the topic (presentation level integration) or my intentions as explained? i.e. do you have any better ideas to showcase presentation level integration using jboss (or an alternative product/technology)? any hint/tip/recommendation is welcome! regards dani -- Daniel Mettler http://www.numlock.ch/ --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBoss and Toplink classes
Hello! I am trying to port an application that uses toplink 9 from weblogic 8.12 to jboss 3.2.5. Toplink is used within session beans, and the mapped domain POJOS are returned to the clients. My problem is not really toplink, it works fine (not integrated with the container transactions). The real problem is that when I return a POJO to the client, the collection attributes in one to many relationships are initialized with a toplink class (Indirect list). This class does not exist on the client (and shouldn't) and a ClassNotFoundException is thrown. On Weblogic I didn't have this problem. Can anyone help me ? Regards. Daniel Santos View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847802#3847802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847802 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - javax.management.InstanceNotFoundException:
Hi, I am new to JMX and here is what I want to achieve. I want to know the depth of a JMS queue which is existing on JBoss called testQueue. Please note that I am able to send messages to this queue using my JMS application. Now, to find out this depth I want to access QueueDepth attribute of the testQueue MBean. Here is how my client code looks like: == Hashtable prop = new Hashtable(); prop.put(Context.INITIAL_CONTEXT_FACTORY, org.jboss.naming.NamingContextFactory); prop.put(Context.PROVIDER_URL, jnp://localhost:1099); Context c = new InitialContext(prop); RMIAdaptor a = (RMIAdaptor)c.lookup(jmx/rmi/RMIAdaptor); MBeanServer mbeanServer = new RMIConnectorImpl(a); ObjectName objName = new ObjectName(jboss.mq.destination , Queue , testQueue); Object depthObj = mbeanServer.getAttribute(objName, MessageCounter); System.out.println(The depth of queue is: + ((Integer)depthObj).intValue()); = When I run it, it gives me the following error: === javax.management.InstanceNotFoundException: jboss.mq.destination:Queue=testQueue is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:442) == Please note that I am able to view this queue using JMX console and as I have already mentiuoned that I am able to send messages to this queue. The JMX console shows the following values for this queue: Domain jboss.mq.destination service Queue name testQueue Any clue what am I doing wrong? Please treat this as urgent. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847795#3847795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847795 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Out of Memory Error on 3.2.5
Hi there! We were using jboss 3.2.2 here and everthing was working almost fine :D I upgraded to 3.2.5 due to bug { [ 810612 ] NullPointerException if entity is read-only } Well, I just tried it as it came (nothing modified) and jboss ran ok! Then I put all libraries and set my own datasources. Everthing fine. So I tried to put my files (I have around 30 jar + 1 war) on the deploy directory. It starts the deployment, but then, out of memory erros occurs, and no more jars are deployed. It always happens in a specific jar. The strange is that it always worked on jboss 3.2.2. The run script sets the initial memory size to 128 and max to 512 just as it was on 3.2.2. Any ideas on what could it be? Thanks Vinicius View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847827#3847827 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847827 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security: Tomcat - JBoss
Interesting. Maybe I read something wrong, maybe I can't read at all. But Jaas howto contains Tomcat links in sentences where JBoss/Tomcat is recommended to download, in JBoss logs, and yet one irrelevant sentence. Valve is occured only in logs. No any explanation. Maybe I need to read other howtos? Sorry, but it's totally misguided. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847779#3847779 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847779 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: JSP is generating blank lines at the beginning
Use a servlet instead, where you can better control the output, or run your jsp tags all together on the same line (no newlines between them): % // code here %jsp:foobar.../ instead of on separate lines like: % // code % jsp:foobar.../ Hmm another idea just popped in to my mind, you may be able to write a Filter that removes all leading whitespace from the output, and apply this filter to your JSPs. I haven't thought this one out... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847843#3847843 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847843 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security: Tomcat - JBoss
I tried to write own valve. Just for test. And always get null from request.getUserPrincipal(). Though basic authentication seems completed (though, strangely it succeeds always). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847791#3847791 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847791 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: setsockopt IP_ADD_MEMBERSHIP failed
okay. i switch over to the default cluster-service.xml and restarted node1 and node2 after node1 finishes booting up. But sitll they cant see each other. and also added bind_addr=IP of node2 node1 | [EMAIL PROTECTED] deploy]# netstat -nr | Kernel IP routing table | Destination Gateway Genmask Flags MSS Window irtt Iface | 192.168.40.00.0.0.0 255.255.255.0 U 0 0 0 eth0 | 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 | 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo | 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0 | 0.0.0.0 192.168.40.10.0.0.0 UG0 0 0 eth0 | | eth0 Link encap:Ethernet HWaddr 00:06:5B:6D:19:A1 | inet addr:192.168.40.55 Bcast:192.168.40.255 Mask:255.255.255.0 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:3753 errors:0 dropped:0 overruns:1 frame:0 | TX packets:674 errors:0 dropped:0 overruns:0 carrier:0 | collisions:1 txqueuelen:100 | RX bytes:324079 (316.4 Kb) TX bytes:122475 (119.6 Kb) | Interrupt:11 Base address:0xec80 | | loLink encap:Local Loopback | inet addr:127.0.0.1 Mask:255.0.0.0 | UP LOOPBACK RUNNING MTU:16436 Metric:1 | RX packets:137 errors:0 dropped:0 overruns:0 frame:0 | TX packets:137 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:21136 (20.6 Kb) TX bytes:21136 (20.6 Kb) | | node2 | Kernel IP routing table | Destination Gateway Genmask Flags MSS Window irtt Iface | 192.168.40.00.0.0.0 255.255.255.0 U 0 0 0 eth0 | 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 | 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo | 224.0.0.0 0.0.0.0 224.0.0.0 U 0 0 0 eth0 | 0.0.0.0 192.168.40.10.0.0.0 UG0 0 0 eth0 | | [EMAIL PROTECTED] deploy]# /sbin/ifconfig -a | eth0 Link encap:Ethernet HWaddr 00:B0:D0:B0:5C:32 | inet addr:192.168.40.54 Bcast:192.168.40.255 Mask:255.255.255.0 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:2891 errors:0 dropped:0 overruns:0 frame:0 | TX packets:1582 errors:0 dropped:0 overruns:0 carrier:0 | collisions:26 txqueuelen:100 | RX bytes:228352 (223.0 Kb) TX bytes:294965 (288.0 Kb) | Interrupt:11 Base address:0xecc0 Memory:fe2ff000-fe2ff038 | | eth1 Link encap:Ethernet HWaddr 00:B0:D0:B0:5C:33 | BROADCAST MULTICAST MTU:1500 Metric:1 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:100 | RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) | Interrupt:10 Base address:0xec80 Memory:fe2fe000-fe2fe038 | | loLink encap:Local Loopback | inet addr:127.0.0.1 Mask:255.0.0.0 | UP LOOPBACK RUNNING MTU:16436 Metric:1 | RX packets:203 errors:0 dropped:0 overruns:0 frame:0 | TX packets:203 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:33599 (32.8 Kb) TX bytes:33599 (32.8 Kb) | | | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847782#3847782 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847782 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Creating queues in jbossmq-1.0.0Beta
Hi, I have work with Jboss and there queue server. Now I'm developing an application which uses a queue server. But we can't use Jboss Application server only as a queue server, because our main application is run on a another different application server. If I use Jboss as for a queue server then it will become an overhead. Therefore I have downloaded jbossmq-1.0.0Beta. Using bossmq-1.0.0Beta I can send and receive messages from the queue, but I also need to create queues programatically. For the Jboss thing I use following sample code for create queues programaticallty at run time. http://www.mail-archive.com/[EMAIL PROTECTED]/msg34635.html But it uses Mbean server to create queues at run time which comes with Jboss. But with bossmq-1.0.0Beta there is no Mbean server. Then how can I create queues programaticallly at run time? Can anybody send me any reference site for me? Or any suggestion for this. Thanks in advanced for any help Thilina View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847788#3847788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847788 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - CMP and JBossTreeCache
Hi, is it possible to use CMP with JBoss TreeCache in JBoss 3.2.5? If so, where can I find an example configuration? Thanks, Anders Nordstrm View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847794#3847794 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847794 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: jboss 3.2.4 + oracle : bug with byte[] fields ?
Would it be the addition of Blob blob = rs.getBlob(index); since jboss-3.2.4 in JDBCUtil that would be not appreciated by the oracle driver? In previous version it was doing a getBinaryStream(index) on the resultset, while now it's trying to it through a jdbc blob object !? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847783#3847783 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847783 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: error deploy in jboss-3.2.5
Remove the servlet.jar from the packaged war. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847806#3847806 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847806 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Trouble separating clusters
Hi, I'm setting up several different clusters (development, qa, etc) on the same network. I'm separating the clusters by changing the mcast_addr setting in cluster-service.xml from mcast_addr=228.1.2.4 to mcast_addr=228.1.2.5, etc. I'm seeing the following scenario: start up node A run hello world start up node B with same mcast_addr run hello world see node A recognize the addition of node B (good) see clients w/ node A in JNDI.properties load balance nicely between A and B (good) shutdown node B start up node B with different mcast_addr in cluster-services see node A recognize the addition of node B (bad) see clients w/ node A in JNDI.properties get served by A (good) see clients w/ node B in JNDI.properties get served by A (bad) In other words, I can't seem to make a client connect to the new cluster with the different mcast_addr setting. Any suggestions? Thanks, Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847784#3847784 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847784 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Login From Swing App
Hi. Is there exists a login module performing real user authentication, not like the ClientLoginModule? Is it working with standard JBoss or needs some extras? And one more question. Using the ClientLoginModule I've seen that server do not performs authentication when InitialContext.lookup() or InitialContext.list() methods are invoked. Is there any configuration parameters telling that these methods must throw exception for user with invalid username/password? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847801#3847801 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847801 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: synchronizing a session bean
Thanks. Can this be done for one particular session bean and not the others? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847832#3847832 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847832 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: setsockopt IP_ADD_MEMBERSHIP failed
If you run a *TCP* based configuration, you will *not* see this problem. At least not in JChannel, but HAJNDI uses multicast as well. Bela View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847775#3847775 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847775 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Possible to refer to classes that will be generated late
chiba wrote : As you know, you cannot unload a class from | the JVM. *hmm* that's bad. I thought that this is perhaps also possible. Thanks a lot for your answers :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847787#3847787 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847787 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - rmh - enterprise javabeans, 4th ed. exercise 15.1 doesn't wo
recently, i bought enterprise javabeans, 4th ed by richard monson-haefel, bill burke and sacha labourey. i have installations of jboss 3.2.3 (java 1.4.1) on my gentoo linux server and jboss 4.0.0 rc2 (java 1.5.0-rc-b63) on windows xp sp2 on my tabletpc/localhost. i strongly prefer to use the jboss4 server as this is a) the future and b) i do prototyping only (stability isn't an issue for me right now). on jboss4/localhost i checked out most of the examples in the jboss workbook included with rmh-ejb. however, the one i needed most, exercise 15.1: web services and ejb 2.1 doesn't seem to work on my local jboss4 server. first it failed to build, probably due to deprecated/missing jboss.net support in jboss4. so i tried to replace fileset dir=${jboss.home}/server/default/deploy/jboss-net.sar | with fileset dir=${jboss.home}/server/default/deploy/jboss-ws4ee.sar on line 15 in ex15_1\build.xml using this, ant didn't complain when building the server-side of the example ('ant wsdl', 'ant ejbjar'). however, when restarting jboss4, the server log reads: 12:00:09,420 INFO [EJBDeployer] Deployed: | file:/C:/jboss-4.0.0RC2/server/defaul | t/deploy/titan.jar | 12:00:09,621 ERROR [ServiceDeployer] Cannot startup webservice | for: titan.jar | java.lang.IllegalArgumentException: The wsdl file should be | located in: META-INF | /wsdl/ etc. my questions: * q1: *** how can i make this example work (nicely) with jboss4? if the example, as downloaded from http://examples.oreilly.com/entjbeans4/workbook.zip, doesn't work with jboss4 indeed, i'd kindly ask to release an update of it as quickly as possible. jboss4 is suggested in the workbook and i believe most people prefer a web service example using jboss-ws4ee (j2ee 1.4 compliant) instead of jboss-net (the axis way, deprecated). q2: *** apart from the problem described above, running the client of exercise 15.1 threw some exceptions. do you have any idea what's wrong here and how i can make it work in my environment (jboss4, java 1.5.0-rc-b63, windows xp sp2)? the following steps worked fine: 'ant clean.db' | 'ant createdb' | the following threw exceptions: C:\unison_sync\thesis\working\current\code\examples\oreilly\workbook\ex15_1MakeReservation | 1 106 1 5000.00 | Buildfile: build.xml | | prepare: | | compile: | | ejbjar: | | run.client: | [java] Exception in thread main java.rmi.ServerException: | RemoteException occurred in server thread; nested excep | tion is: | [java] java.rmi.ServerException: EJBException:; nested | exception is: | [java] javax.ejb.EJBException: failed | [java] at | sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325) | [java] at | sun.rmi.transport.Transport$1.run(Transport.java:153) | [java] at | java.security.AccessController.doPrivileged(Native Method) | | [cut] | | [java] at | org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | [java] ... 25 more | [java] Java Result: 1 | | BUILD SUCCESSFUL | Total time: 3 seconds any help appreciated, regards dani p.s. it can be safely assumed that line wrappings are correct, despite of wrong appearance above. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847844#3847844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847844 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - presentation level integration using jboss: how? (web servic
(view using mono-space font for proper ascii-art display ;) i'd like to write a presentation level integration prototype using jboss (4.0, if possible). therefore, the presentation layer (to be implemented) needs to provide the following different services to a client (browser and/or rich client): * a soap interface (i.e. the client must be able to access a web service using soap. the web service should be provided): client soap presentation layer (server-side) * apart from providing a soap interface, the presentation layer (pl) should also be able to transform xml-data into various other xml formats (xhtml, xul, wml, ..) using a server-side xslt transformation: client http presentation layer (server-side) | | {xhtml, xul {xml} transformation using xslt | wml, ..} constraints: * the whole thing should be *as simple as possible* as it only serves as a *demonstration prototype*. * the other layers (business logic tier, data tier) of this n-tier architecture don't matter for the prototype (of course they matter for presenation level integration, but this prototype is supposed to show only few aspects of presentation level integration). whatever is the simplest to understand and implement. * the presentation layer should preferably use session beans mainly (eventually an entity bean to hold the xml data) * as a design pattern for the presentation layer i'm thinking about using a model-view-controller (mvc) pattern or a business delegate pattern (see: matjaz b. juric professional j2ee eai) questions: ** * how can i implement an xml to xyz transformation using xslt in jboss? (i.e. how can i apply a xslt sheet on xml using jboss? is this done using a servlet? how?) * how should i combine/couple the soap interface component(s) and the xml/xslt transformation component(s)? * is there any example code showing this or aspects/parts of it? * am i totally wrong in choosing jboss for this purpose? would another technology/product (e.g. axis, tomcat or a java mvc framework like http://www.springframework.org/) be better suitable to implement a presentation level integration prototype? * any suggestions or recommendations on the topic (presentation level integration) or my intentions as explained? i.e. do you have any better ideas to showcase presentation level integration using jboss (or an alternative product/technology)? any hint/tip/recommendation is welcome! regards dani View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847845#3847845 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847845 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - help with jndi lookup plz
Dear friends, When I try to do a jndi lookup in jboss3.2.5 environment, //Getting initial context ctx = new InitialContext(); //Loading mail properties Session mailSession = (Session)PortableRemoteObject.narrow(ctx.lookup(java:/Mail), Session.class); I get the following exception: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:11 19) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) at javax.naming.InitialContext.lookup(Unknown Source) at com.sextanttech.util.ATMApplicationTester.testBeanManagedPersistence( ATMApplicationTester.java:453) at com.sextanttech.util.DatabaseBuilder.main(DatabaseBuilder.java:40) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive(Native Method) at java.net.DatagramSocket.receive(Unknown Source) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:10 89) ... 6 more I 'd appreciate any help regarding this problem. Thanks in advance, srik. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847846#3847846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847846 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB
object ans is a typo, the sentence should have read. you can read the data from DB, create an object and save at some JNDI location. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847842#3847842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847842 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - failover behavior
Here's my setup: I have a client that looks up and uses a bean that is deployed on a server. This server is part of a cluster, however the particular bean is only located on that one server. Now the problem: if I move the bean in the cluster from one server to another the next invocation of one of the beans methods will result in a Service unavailable. exception. And the only way to get it to work again is to lookup the bean again. I've read the clustering documentation and, as far as I understand, this is actually expected behavior. Initially the client's RMI stub only has one address of where the bean is located and it can only receive new locations if it actually invokes the beans methods. Because those new addresses are piggybacked to the RMI replies. So if the bean is moved in between invocations there is no way the stub can now the new location. So this brings me to my first question: Is this correct or is something else causing the exception? If so, I can see 2 solutions: * catch the Service unavailable. exception and do a new lookup * somehow invoke a method on the bean when it is deployed on both servers. I'm guessing maybe by adding a dummy method. However, those solutions both involve changes to the client program, something which I'd rather not do, because the client developer should not need to know about this. I'm currently considering adding extra functionallity to the JRMPInvokerProxyHA but I would like to see first if there are easier solutions. So my second question: Any one know other/better/easier solutions? TIA, Peter View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847789#3847789 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847789 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security: Tomcat - JBoss
The JAAS howto deals with the public interface for passing in credentials. See the jboss-3.x/tomcat/src/main/org/jboss/web/tomcat/security package for example Realms and Valves for propagating the web container credentials. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847847#3847847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847847 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: database pool connection timeout
I am trying to set the following values in a xml file 3 50 5000 10 true true I am using Jboss v 3.0.8.. and i get error that attribute IdleTimeoutEnabled value not found Please help. Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847811#3847811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847811 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Log4J LogFactor LF5 Cannot Load Configuration with 3.2.5
I configure log4j.xml to use the LogFactor Appender, so I get a nice color-coded log file viewer. LF5 is not able to load its configuration file: lf5_configuration.xml Works OK with Jboss 3.2.3 and fails with 3.2.5. LF5 does this: DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); Document doc = docBuilder.parse(file); parse(file) fails with java.io.FileNotFoundException: C:\Documents%20and%20Settings\jpianezze\lf5\lf5_configuration.xml It gets as far as instantiating org.xml.sax.InputSource(filename) The file name is good, and the LF5 code looks ok. Log4j is version is 1.2.8, and newer version exists. It appears that the newer XML parser implementation is bad. The offending libraries in jboss are: * xml-apis.jar * xercesImpl.jar The jar file sizes are different, and the manifest shows newer versions of various components. Any ideas? John Pianezze View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847841#3847841 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847841 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Multiple connections for one transaction
I have an application using SYBASE with JBOSS and TORQUE, and have been monitoring the database connections used in the jmx-console. When a user only views information, they only use one connection, however when they update or insert they use two. Can anyone point me to why this is the case? Is it specific to J2EE , SYBASE, TORQUE, JBOSS or the pool we are using? Any help in finding documentation to why this is the case is appreciated. Thanks, lfwolpert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847848#3847848 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847848 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JNDI ERROR (3.2.5)
Trying to call session bean, and getting the error. Here is the snippets of my program which I am using . This is working in 3.0.8, but not in 3.2.5. static public InitialContext getInitialContext() throws Exception { java.util.Properties p = new java.util.Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); p.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); p.put(Context.PROVIDER_URL, jnp://Ganga:1099); InitialContext ic = new InitialContext(p); return ic; } public static void main(String [] args) { try { Context jndiContext = getInitialContext(); //System.out.println(Got inital Contaxt ); Object ref = jndiContext.lookup(ContactManagementHomeRemote); System.out.println (Got the reference); ContactManagementHomeRemote home = (ContactManagementHomeRemote) PortableRemoteObject.narrow(ref,ContactManagementHomeRemote.class); . } Error which I am getting are : [java] javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 3844706474734439975, local class serialVersionUID = 4582256576523491346] [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:472) [java] at javax.naming.InitialContext.lookup(InitialContext.java:347) [java] at com.nuvox.sfa.clients.Client_3.main(Client_3.java:37) [java] Caused by: java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 3844706474734439975, local class serialVersionUID = 4582256576523491346 [java] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463) [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [java] at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:104) [java] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [java] at java.rmi.MarshalledObject.get(MarshalledObject.java:135) [java] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:515) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847833#3847833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847833 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - JNDI lookup() NamingException whilst logging in as customer
I installed the JBoss 3.2.5 distro on my system with the following attributes: * Linux RedHat (V9) * Java 1.4.2 I ran into the compile issues noted in other threads (can't find javax.servlet.jar), fixed those and successfully built and deployed the Bank application. I installed the JBoss distro in /usr/java/... as root and had to open up the 'server/default' structure so that users (other than root) could write into the directory structure. This is needed to deploy the bank application. I start the service as root, as well. I specified 'TCP/IP' connections for the the HSQL database (in the hsqldb-ds.xml file) as specified in the Getting started guide. I verified the database was populated with data by starting the HSQL database manager tool and dumping a few of the tables. They look fine. I can start the application and bring up the main page (http://localhost:8080/bank/main). When I enter a customer ID/password as specified by the getting started guide, the page displays: Server Error Your request cannot be completed. The server got the following error: null The server.log also displayed a stacktrace. I found the offending class::method and augmented it to dump more information. This is what the server.log now displays: 2004-09-10 11:02:18,049 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException: javax.ejb.EJBException: ejbFindByCustomerId JNDI lookup exception: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: DefaultDS not bound] at com.sun.ebank.ejb.account.AccountBean.ejbFindByCustomerId(Unknown Source) Hmmm. The 'DefaultDS' name doesn't seem to be bound to the database. So why would the application start but this logon operation fail? I see something else on the console when I start the JBoss server: MBeans waiting for other MBeans: ObjectName: jboss.mq:service=InvocationLayer,type=HTTP state: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer Depends On Me: ObjectName: jboss.jca:service=LocalTxCM,name=DefaultDS state: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionPool,name=DefaultDS jboss.jca:service=CachedConnectionManager jboss.security:service=JaasSecurityManager jboss:service=TransactionManager . . . Depends On Me: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss:service=Hypersonic,database=localDB state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS Help!!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847824#3847824 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847824 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Singleton topic subscriber not working
According to the wiki i should configure my message driven bean with: | message-driven | ejb-nametestBean/ejb-name | destination-jndi-nametopic/testTopic/destination-jndi-name | configuration-nameSingleton Message Driven Bean/configuration-name | /message-driven | But still on all nodes of my cluster the mbean responses to any message in the topic, but i want that only one instance responses. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847780#3847780 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847780 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss 4.0 in production
http://www.jboss.org/index.html?module=bbop=viewtopict=53797 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847817#3847817 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847817 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - 1 mdb subscribed to 2 topics
Hi! How can I subscribe the same mdb class to two topics? Here are my working ejb-jar and jboss xmls for subscribing to 1 topic. - ejb-jar enterprise-beans message-driven ejb-nameLinkPublisherMDB/ejb-name ejb-classcom.crisys.sf.framework.link.LinkPublisherMDB/ejb-class message-selector/message-selector transaction-typeContainer/transaction-type acknowledge-modeAUTO_ACKNOWLEDGE/acknowledge-mode message-driven-destination destination-typejavax.jms.Topic/destination-type subscription-durabilityDurable/subscription-durability /message-driven-destination resource-ref res-ref-namejms/TCF/res-ref-name res-typejavax.jms.TopicConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejmsProvider/res-ref-name res-typeorg.jboss.jms.jndi.JMSProviderLoader/res-type res-authContainer/res-auth /resource-ref /message-driven /enterprise-beans /ejb-jar +++ enterprise-beans message-driven ejb-nameLinkPublisherMDB/ejb-name configuration-nameStandard Message Driven Bean/configuration-name destination-jndi-nametopic/COM.CRISYS.SF.DTO.CALL/destination-jndi-name mdb-userguest/mdb-user mdb-passwdguest/mdb-passwd mdb-subscription-idlink1/mdb-subscription-id resource-ref res-ref-namejms/TCF/res-ref-name jndi-nameUIL2ConnectionFactory/jndi-name /resource-ref resource-ref res-ref-namejmsProvider/res-ref-name jndi-namejava:/DefaultJMSProvider/jndi-name /resource-ref /message-driven /enterprise-beans View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847803#3847803 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847803 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: synchronizing a session bean
You could configure the session bean so that it is in a pool with a strict maximum size of 1. That way you will never get more than one client calling the session bean. If you look at the 'Free Docos' to the right you should get access to the administrators and developers guide which describes configuring the container. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847823#3847823 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847823 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user