[JBoss-user] [Management, JMX/JBoss] - Re: RMI or HTTP on using MBeans
Unless you need to traverse a firewall, you're probably better off using RMI View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853834#3853834 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853834 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss 4.x.x FreeBSD 5.2.x
I'm also interested, any news on FreeBSD ? What about 5.3 or CURRENT ? Thanks, Mark. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853835#3853835 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853835 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Problem about change the database used by JBossMQ from Hyper
I want to change the database used by JBossMQ from Hypersonic to SQLServer 2000. i started from a clean jboss-3.2.6, and followed the http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB to setup, but some unexpected things happend:table JMS_USERS was created, but JMS_ROLE and JMS_SUBSCRIPTIONS was not, I was so puzzled. who succeed to change the database used by JBossMQ from Hypersonic to SQLServer 2000? Give me a hand, thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853836#3853836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853836 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
I'm trying to create a custom Principal too. I must simply: 1) write my new principal that implements Principal and java.io.Serializable 2) override the AbstractServerLoginModule's commit() method in my new LoginModule with the lines specify in your post Right? Other steps needed? I must create a Group class too? Thanks fo any help! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853837#3853837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853837 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Clean Shutdown of MBean
Haven't used the Scheduler but looking at the code quickly it seems the execution thread is that of the jmx Timer, and it's not very obvious if it does a clean shutdown (it creates daemon thread by default, though). So, do you get a clean shutdown? If not, you can try to synchronize your serviceStop() with e.g. a Boolean shutdown flag inside your MBean. You doSomething() will also synchronise on that and make sure also it is not set (in case a call comes after serviceStop() has been called). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853839#3853839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853839 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: isUserInRole does not work in jboss 4.0.0
I have exactly the same problem. Even though everything works on JBoss 3.2, when I deployed on JBoss 4.0 is authenticates users but isUserInRole seems to always return false. Is this a known bug? Is there a work-around? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853838#3853838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853838 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJbspec violation error while deploying entity bean - pl
asdesai wrote : These methods are not abstract in home interface. But when I decompile the class I see that these methods are abstract. | | And I'm not getting this error for just findByPrimaryKey(), it is for all the methods in home interface which returns remote interface. | | I tried many things but now running out of ideas . HELP PLEASE | Actually the abstract modifier should not matter, because it's an interface anyway... So please post your interfaces and java files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853840#3853840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853840 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - When flush JAAS cache
(I use JBoss 3.2.3) I read the wiki about the flush of JAAS cache but i'm confused: when i must flush the cache? My application allows the administrator: 1) create a new user 2) delete a new user 3) change user details 4) change user password and allows the logget user: 5) change their password from within a session When, in the scenario above, i must call the flush method? Thanx and sorry for my english! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853842#3853842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853842 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - How to deploy a new JAAS LoginContext Module
Hello, I can hardly find a documentation that helps me in deploying a new LoginContext Module for my Web Application. Currently I have to change the JBoss configuration to get it working. Is there a way to create a deployable unit? see: Porting a WAR using JAAS to the JBoss 4 Tomcat http://www.jboss.org/index.html?module=bbop=viewtopict=55195 Cheers, Ralf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853843#3853843 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853843 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB Reference - what's it?
I've seen in many articles and books: * @ejb.ejb-ref view-type = local ejb-name = Client ref-name = ejb/Client But many times I got my bean working WITHOUT declaring EJB references... What's it for? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853845#3853845 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853845 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: When flush JAAS cache
never ;) flush cache against particular user means that 1) if this user has an open session, he/she should relogin prior any client-server interaction could be performed; 2) if this user has noopen session (how could he be flushed?), flushing the cache will not touch him at all. 1) create a new user don't flush 2) delete a new user don't flush, if the user has noopen session 3) change user details don't flush if the user has no open sessions (may be don't flush without any conditions) 4) change user password don't flush (in fact - up to you) and allows the logget user: 5) change their password from within a session don't flush Alexander View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853848#3853848 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853848 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Restricting access
By definition, a server only listening for incoming requests on a determined port (8080 by default for JBoss)! So all request coming on this port will be treated. What you have to do is configure your FW so that it intercepts all requests coming on this port (8080). So, you just need to configure the filtering-logic you want in your FW... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853849#3853849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853849 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - HELP! CMR -- generated SQL doesn't look right...
Hi, really frustating... been trying to get my CMR setup for last three days but without much success (shame). My setup is simple. I have three beans: 1. UserBean 2. GroupBean 3. GroupMembershipBean Each User (UserBean) can belong to multiple Group(s) (GroupBean). 1. UserBean maps to table USERS, table schema: Primary key: UIN Other fields: login, email, ... etc 2. GroupBean maps to table GROUPS, table schema: Primary key: UIN Other fields: name, decription, ... etc 3. GroupMembershipBean maps to table GROUPMEMBERSHIP, table schema: Composite Primary Key: {GROUPUIN, USERUIN} Foreign key on USERUIN and GROUPUIN that points to table USERS and table GROUPS There's a One-To-Many relationship between GroupBean (One-side) and GroupMembership (Many-side). 1. GroupBean: | /** | * @ejb.bean | * name=GroupEJB | * local-jndi-name=ejb/UserGroup | * display-name=User Group EJB | * description=User Group EJB | * cmp-version=2.x | * type=CMP | * view-type=local | * schema=Group | * reentrant=false | * primkey-field=UIN | * | * @ejb.persistence | * table-name=GROUPS | * | * @ejb.finder | * query=SELECT OBJECT(g) FROM Group AS g | * signature=java.util.Collection findAllGroups() | * | * @ejb.interface | * local-extends=javax.ejb.EJBLocalObject, java.lang.Comparable, java.io.Serializable | * local-class=com.aa.samples.interfaces.GroupLocal | * | * @ejb.home | * local-class=com.aa.samples.interfaces.GroupLocalHome | * | * @jboss.persistence | * datasource=java:/jdbc/dev01 | * datasource-mapping=mySQL | * create-table=false | * remove-table=false | */ | public abstract class GroupBean implements EntityBean, Serializable, Comparable { |... other stuff ... | /** |* @ejb.relation |*name=GroupEJB-GroupMembershipEJB |*role-name=GroupEJB-has-GroupMembershipEJB |* |* @ejb.interface-method |*/ | public abstract Collection getGroupMembershipBean(); | public abstract void setGroupMembershipBean(Collection memberships); | ... other stuff ... | } | 2. GroupMembershipBean: | /** | * | * @ejb.bean | * name=GroupMembershipEJB | * local-jndi-name=ejb/GroupMembership | * display-name=Group Membership EJB | * description=Group Membership Group EJB | * cmp-version=2.x | * type=CMP | * view-type=local | * schema=GroupMembership | * reentrant=false | * | * @ejb.persistence | * table-name=GROUPMEMBERSHIP | * | * @ejb.pk | * class=com.aa.samples.primarykeys.GroupMembershipKey | * | * @ejb.interface | * local-extends=javax.ejb.EJBLocalObject, java.lang.Comparable, java.io.Serializable | * local-class=com.aa.samples.interfaces.GroupMembershipLocal | * | * @ejb.home | * local-class=com.aa.samples.interfaces.GroupMembershipLocalHome | * | * @jboss.persistence | * datasource=java:/jdbc/dev01 | * datasource-mapping=mySQL | * create-table=false | * remove-table=false | */ | public abstract class GroupMembershipBean implements EntityBean, Serializable, Comparable { |... other stuff ... | /** |* @ejb.persistent-field |* @ejb.persistence |*column-name=GROUPUIN |*sql-type=INTEGER |* @ejb.pk-field |* @ejb.interface-method |* |*/ | public abstract Integer getGroupUIN(); | | /** |* @ejb.interface-method |*/ | public abstract void setGroupUIN(Integer groupUIN); | | /** |* @ejb.persistent-field |* @ejb.persistence |*column-name=USERUIN |*sql-type=INTEGER |* @ejb.pk-field |* @ejb.interface-method |*/ | public abstract Integer getUserUIN(); | | /** |* @ejb.interface-method |*/ | public abstract void setUserUIN(Integer userUIN); | | /** |* @ejb.relation |*name=GroupEJB-GroupMembershipEJB |*role-name=GroupMembershipEJB-has-GroupEJB |*target-multiple=yes |*
[JBoss-user] [Security JAAS/JBoss] - Re: When flush JAAS cache
Many thanks for your quick reply... :) So, why it's flush needed? I read many posts about flush of JAAS cache... it it's not needed why so many threads about that?! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853851#3853851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853851 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Some problems controlling the mapping of CMR fields to table
Hie all, I use a unidirectional relationship between 2 entity ejbs, I have a 1-M relationship, and would like to control the name of the relation attribute on the M side. I used the xdoclet tag @jboss.target-relation (which seems to provide this), but this does not work... On the 1 side the doclet and code is as follows : | /** | * Getter for CMR Relationship | * | * @ejb.interface-method view-type=local | * @ejb.relation name = Prod-Prod2 | * role-name = Test | * target-ejb = Products2 | * target-role-name = ProductsToProducts2 | * target-multiple = no | | * @jboss.relation | *related-pk-field = pid | *fk-column = pid | */ | public abstract Collection getProducts2(); | | /** | * Setter for CMR Relationship | * | * @ejb.interface-method view-type=local | */ | public abstract void setProducts2(java.util.Collection value); | where pid is the pk of this entity. The ejb-jar.xml contains the following : relationships | ejb-relation | ejb-relation-nameProd-Prod2/ejb-relation-name | | ejb-relationship-role | ejb-relationship-role-nameTest/ejb-relationship-role-name | multiplicityOne/multiplicity | relationship-role-source |ejb-nameProducts/ejb-name | /relationship-role-source | cmr-field |cmr-field-nameproducts2/cmr-field-name |cmr-field-typejava.util.Collection/cmr-field-type | /cmr-field | /ejb-relationship-role | | ejb-relationship-role | ejb-relationship-role-nameProductsToProducts2/ejb-relationship-role-name | multiplicityMany/multiplicity | relationship-role-source |ejb-nameProducts2/ejb-name | /relationship-role-source | /ejb-relationship-role | | /ejb-relation and the jbosscmp-jdbc.xml contains : | ejb-relation | ejb-relation-nameProd-Prod2/ejb-relation-name | | ejb-relationship-role | ejb-relationship-role-nameTest/ejb-relationship-role-name | key-fields/ | | /ejb-relationship-role | ejb-relationship-role | ejb-relationship-role-nameProductsToProducts2/ejb-relationship-role-name | key-fields | key-field |field-namepid/field-name |column-namepid/column-name | /key-field | /key-fields | | /ejb-relationship-role | /ejb-relation Well, when the app gets deployed, the products2 table is created with a field named products_products2 (while I was expecting pid). I use jboss-4.0.0 Where is the problem ? Thanks for help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853852#3853852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853852 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Ingres still not working with JBoss...
rcbeuker wrote : I am still a little confused; with the EdbcDriver I am using the edbc.jar instead of the also existing iijdbc.jar? What is the difference between these two drivers? | | Anyway it works this way. For the folks who asking me questions about the connection-url: | | My host name is gea and I use the hard coded port number 21072 (the logical link II7 from Ingress is not working). The name from the test database is titan | | connection-urljdbc:edbc://gea:21072/gea::titan/connection-url | | Thanx ;-) The JDBC connection URL is working with for example Borland Database Pilot. But the databse connection with Jboss is still not working. As a test I tried an example from the book O'Reilly JBoss 3.0/4.0 Workbook. I posted this test and the resultst in the O'Reilly JBoss 3.0/4.0 Workbook forum: http://www.jboss.org/index.html?module=bbop=viewtopict=55834 Does anybody have some information? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853853#3853853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853853 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Jboss Auto deploy after compile the class files...
Hi All I am using Jboss-3.2.0. I need to restart the server everytime after I made changes to the class files. Is there any auto deploy of the class files? so that when ever I made changes in the class file it should automatically deploy, without any restart of the server. Please help me in this regard. Thanks in advance Praveen. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853854#3853854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853854 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start
Hi, can you start the JBoss when you have the extracted zip-archive without any changes? If it dosn't work have a look to th CLASSPATH, any other log4j.jar ?? Wolf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853855#3853855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853855 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Setting cron jobs in jboss
Hi, what you mean with 'how can I set cron jobs...'? If you want to start a Job at an appointed time you have two ways to do it: 1) write a Client and start it with cron 2) use EJB Spec. 2.0 and work with javax.ejb.Timer View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853856#3853856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853856 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - java.lang.NoClassDefFoundError
Hi All, My application is using some J2EE classes. When I deploy this application on JBOSS 3.2.5 ( default server) , I get java.lang.NoClassDefFoundError: exception for classes like javax/jms/JMSException. This is highly surprising to me that JBOSS 3.2.5 is not able to pick up standard J2EE classes. I would really appreciate quick help. Regards, Amit View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853857#3853857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853857 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: httpServletRequest.getParameter decoding problem
I am having the same problem with JSP pages using JBoss 3.2.5 on Win XP. The parameters are always decoded in ISO-8859-1. I even tried an Encoding-Filter with no success. Demo page: | %@ page pageEncoding=UTF-8 contentType=text/html;charset=UTF-8 % | %@ page import=java.net.URLEncoder % | | % request.setCharacterEncoding(UTF-8); % | | titleTest/title | | h1Umlaut-Test! /h1 | | form method=get action=test.jsp | input type=hidden name=p value=Mller / | input type=submit value=submit! (UTF-8, see contentType) / | /form | | pa href=test.jsp?p=%= URLEncoder.encode (Mller, UTF-8) %LINK encoded in UTF-8/a/p | pa href=test.jsp?p=%= URLEncoder.encode (Mller, iso-8859-1) %LINK encoded in iso-8859-1/a/p | | h1Result/h1 | prequest.getCharacterEncoding ( ) ndash; %= request.getCharacterEncoding ( ) %/p | prequest.getParameter (p) ndash; %= request.getParameter (p) %/p | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853858#3853858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853858 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88alloc_id065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - tell a specific field not to use foreign key constraint
hi in jbosscmp-jdbc.xml i used under the default tag fk-constraint = true, how can I tell a specific field in an entity bean not to have a fk constraint ? I tried this : enterprise-beans entity ejb-name cmp-field its name... fk-constraint - false with no success... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853860#3853860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853860 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean
Brian, It doesn't quite work like that ! With Stateless Session Beans, the container maintains a pool of Stateless Session Beans in the container. Each client instance that calls a method on the SSB is handed a reference to one of the idle SSB's in the pool. So there should never be two clients sharing a reference to the same SSB within the pool, and calling remove() from one client cannot affect any other client. In addition, SSB's in the pool are not physically removed when the remove() method is called from the client. The remove() method may free resources on the client but has no effect on the server. Use of a pool of SSB's is critical because it avoids the need to create SSB's on each method call - thus avoiding object thrashing and garbage collection. You should also note that the ejbCreate() method on the SSB is called when an SSB is created as the pool is initialised or enlarged - not when you call create() on the client. Simiarly, the ejbRemove() method is only called by the container if the container decides to reduce the size of the pool by removing SSB's. James View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853862#3853862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853862 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - How can I make cocoon the main webapp in jboss 4.0.0?
I want to change the main webapp in jboss 4.0.0 from: http://www.mysite.com:8080/ROOT.war to: http://www.mysite.com:8080/cocoon.war How do I do this? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853863#3853863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853863 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: httpServletRequest.getParameter decoding problem
It seems that Tomcat ignores request.setCharacterEncoding. The request char encoding however can be set globally in server.xml, tag Connector, attribute URIEncoding, e.g. | Connector port=8080 address=${jboss.bind.address} | maxThreads=150 minSpareThreads=25 maxSpareThreads=75 | enableLookups=false redirectPort=8443 acceptCount=100 | connectionTimeout=2 disableUploadTimeout=true | compression=on compressionMinSize=2048 compressableMimeType=text/html,text/xml | URIEncoding=UTF-8 | / | My goodness, I spent two days two find that out :-( Why don't do the Tomcat developers follow the spec? Or at least write out a warning or throw an exception if I call request.setCharacterEncoding (pleaseIgnoreMe)? angry, Marcus View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853864#3853864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853864 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - how to set a jndi name for a mbean
hi, i wrote my first mbean and everything works fine. but how can i access this mbean from, let's say, a EJB? i want to do this using: | InitalContext ctx = new InitialContext(); | MyMBean bean = (MyMBean)ctx.lookup(myMBean); | my question is now: how can i bind this mbean with the JNDI name? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853866#3853866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853866 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem
hi have you tried it without Proxy[P] eg: RewriteRule (.*)\.xml$ cocoon/mysite/$1.xml or: RewriteRule (.*)\.xml$ http://%{SERVER_NAME}/cocoon/mysite/$1.xml just a shot from the hip :) cheers L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853868#3853868 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853868 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem
Lviz, tried your recommendation and it works but displays the url as: 1. http://www.mysite.com/login.xml becomes http://beyarecords.com/cocoon/mysite//login.xml But what i want is to hide cocoon/mysite from the user. So if I add [P] it works but the session is not kept from page to page because 1. first page requested /cocoon gets cookie 2. request for another page then looks for cookie at mysite.com and finds nothing because it is at /cocoon. Any ideas? ;-) Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853870#3853870 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853870 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - jndi lookup fails for mailservie on jboss 4.0.0
Hi, I am using the mailservice by a lookup to the local sessionbean jndi context. the global jndi name is mapped through resource-reference sections in the deploymentdescriptor files ( both ejb + jboss) to the local bean environment this works for jboss 3.2.x ! but it doesnt work for jboss 4.0.0 where a ...context not bound exception is thrown is this a bug ( well at least it seams sO ) ? are there any workarounds ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853871#3853871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853871 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: isUserInRole does not work in jboss 4.0.0
4.0.0 HttpServletRequest.isUserInRole Security Patch View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853874#3853874 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853874 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: need log4j category to work in my webapp
Totally agree with you on documenting this one. Would love to see it in the Wiki. Thanks - you saved me some time here! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853875#3853875 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853875 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - How to use JBoss IDE 1.4?
Any instructions? and Samples? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853876#3853876 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853876 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - problem running jboss-4.0.0.DR3 with JDK 1.5.0
when running jboss-4.0.0.DR3 with JDK 1.5.0, I get following error message from jboss starting up, 13:07:29,252 INFO [Server] Root Deployment Filename: jboss-service.xml 13:07:29,262 INFO [Server] Starting General Purpose Architecture (GPA)... Failed to boot JBoss: javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos itory,name=Default at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul tMBeanServerInterceptor.java:1010) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:804) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 ) at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java: 499) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:335) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:144) at org.jboss.Main$1.run(Main.java:389) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853877#3853877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853877 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Mbean dependencies - jUDDI
Hi, I'm trying to make an MBean dependent on jUDDI. What the MBean does is provide a cache that stores a wsdl as a string. So instead of looking up an URL stored in jUDDI, I fetch the full wsdl from the cache. The problem is that my cache has to initialize at startup. What it does now is, when only a part of jUDDI is deployed, it starts, and locks JBoss. When I try to make it dependent of other components, it just keeps waiting till the end of the startup procees, that's when I get an Incomplete Deployment listing, saying the component it's waiting for is NOTYETINSTALLED. Can anybody tell me which component to make my cache dependent on? I think I've tried any juddi component in the JMX-console ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853880#3853880 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853880 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Unable to access jars that are common to both web module
I'm having a very similar problem since upgrading to 4.0. I have a significant amount of development work working under 3.2.4/6, and I thought it was time to upgrade. Now, none of my archives seem to be part of the classpath. The only applicable note I've found so far was on the Wiki which says something like, the classloader scheme has changed in 4.0, try running the 'standard' server implementation for something closer to 3.2.x. I deployed my stuff to standard and ran it, and, sure enough, everything worked fine. I've tried several different solutions, including the manifest classpaths that you mentioned, but with no luck. If nothing else, I think the 4.0 administrators guide is supposed to be released soon. Wish I could be more help, Brett View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853882#3853882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853882 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Clean Shutdown of MBean
Thanks Dimitris! I have it working according to your suggestion!! I had to override the stopService() method with a synchronized boolean variable. Regards, Victor Batista View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853881#3853881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853881 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: jboss.net deployment fails on JBoss 4.0.0
I have the same problem jboss-net.war inside jboss-net.sar is not deployed. To get it working I exploded jboss-net.sar and moved jboss-net.war in the deploy directory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853883#3853883 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853883 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies - jUDDI
I don't know the MBean to depend on, by why not doing lazy cache initialisation, i.e. only fetch those entries upon first access? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853886#3853886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853886 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies - jUDDI
Because I'm working on a mechanism that invokes webservices when an ftp upload occurs, which I'm going to add later. That mechanism is also started during JBoss startup, and depends on the cache. I would have the same problem there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853887#3853887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853887 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies - jUDDI
Then make a directory: ./deploy/deploy.last/ and drop your mbean in there so it gets started last (then presumably, all other services will be started for you) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853888#3853888 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853888 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Session object is renewed on page change
Hi everyone, I am new to building web applications with JSP/JBoss and am having some problems with the JSP session object that I wonder if anyone can help with. On my application login page I use the following call to set a UserName attribute on the session object: session.setAttribute(UserName, username from login form); I want to be able to use this attribute on subsequent pages to display a welcome message to the user. So I expected to be able to get this information by calling: session.getAttribute(UserName); The problem is that this method call returns null instead of the value i'm expecting. Digging a bit deeper using the likes of session.isNew() and session.getId() shows that a new session is being created for pages subsequent to the login page. Seems like I need to somehow group the pages together but i'm not sure how to do this any feedback on this would be greatly appreciated... Thanks, Darren View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853892#3853892 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853892 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
Yes, in order to make jboss aware of the role, that was the only solution I could use. TheTestGroup class used in the example is a user class, so yes, you will have to code one too. However, now I'm going further and I'd like to use the roles in struts but it does not recognize them. I've checked the request.isUserInRole method and it returns false. Could someone from jboss comment on this? I mean, is it how it should be? Jboss is able to verify my credentials but the request does not know about it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853896#3853896 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853896 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - transaction does not commit after server shutsdown
To all: I use: JBoss 3.2.4, Lomboz 2.1.3, Oracle 9i, WinXP I have web page project that adds data to a database table and show the contents of the table in the web page. I used CMP beans and I used CMT for my transactions. I tried to test what would happen if I shutdown JBoss. I did the following: 1. Add data. Once everything goes well I display the table in a web page. 2. I confirmed that the data shows up in the table. 3. I turn the JBoss server off. 4. Turn JBoss back on, and access the web page again and the data that I added is no longer shown. Shouldn't the transaction survive the server shutdown? If I let the server keep on running the web page will show the new data and the database will get updated. Also, I noticed it takes a long time for the database to get updated (~30minutes). Does this have an effect on whether or not the transaction survives a server shutdown? Thanks in advance for any help you can give me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853895#3853895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853895 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - jboss-web.xml/resource-ref shouldn't be required since res-r
The web-app_2_3.dtd spec indicates that the element res-ref-name (as found in web.xml/resource-ref) is a JNDI name relative to java:comp/env. For example, in my setup, I put jdbc/juddiDB. I've configured a datasource in my deploy directory to have the jndi-name element with a value of comp/env/jdbc/juddiDB (it's relative to the scheme java:). Well then why isn't this sufficient? When JBoss tries to deploy my web-app, it fails because there is no jboss-web.xml file with a resource-ref JNDI binding. I argue it isn't necessary. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853897#3853897 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853897 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work
Hallo, I tried it with the SystemClassLoader again and you were right. It's no ClassNotFoundException, it throws a java.lang.ClassFormatError. Sorry for writing something different here. I hope that helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853898#3853898 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853898 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Could not start a transaction with the transaction manager i
I am using jboss4.0.0. I have configured the system to use HAJMS, Everything works fine if I send small size messages. When I send a large message The get the following error: 10:34:38,218 ERROR [JMSConnector] Could not start a t ransaction with the transaction manager.; - nested throwable: (org.jboss.tm.JBos sRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, G lobalId=Kamleshdesktop/31, BranchQual=, localId=31] status=STATUS_NO_TRANSACTION ; - nested throwable: (org.jboss.resource.connectionmanager.JBossLocalXAExceptio n: could not commit local tx; - nested throwable: (org.jboss.resource.JBossResou rceException: SQLException; - nested throwable: (java.sql.SQLException: Closed C onnection I am using ORACLE 8.1.7 for persistence. What could be the problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853900#3853900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853900 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
I'd like to write (maybe with someone with more knowledge) a Custom Principal HOWTO... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853899#3853899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853899 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies - jUDDI
Thanks! The deploy.last directory worked, I think I have some other issues to work out now. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853901#3853901 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853901 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: how to set a jndi name for a mbean
In the jboss docs they provide a jboss specific implementation for binding your mbean to the jndio namespace private void rebind() throws NamingException | { | InitialContext rootCtx = new InitialContext(); | Name fullName = rootCtx.getNameParser().parse(jndiName); | NonSerializableFactory.rebind(fullName, contextMap, true); | } | | private void unbind(String jndiName) | { | try | { | InitialContext rootCtx = new InitialContext(); | rootCtx.unbind(jndiName); | NonSerializableFactory.unbind(jndiName); | } | catch(NamingException e) | { | e.printStackTrace(); | } | } | This works well but obviously ties you to Jboss. I am just now in the process of trying to find a non-jboss specific implementation but as yet have not found one. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853902#3853902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853902 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work
OK, good. What was the detailed message of that ClassFormatError? No message except the exception type name? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853903#3853903 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853903 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t
anonymous wrote : I just queried in the dev forum ... when will try...finally be supported? I have just implemented try-finally and checked the code into the CVS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853904#3853904 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853904 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Forum Module (bb) Search Doesn't Work
I have downloaded the Nukes_Branch_1_1 branch, and I was able to build and deploy everything successfully. However the search function on the forum modules doesn't work. All searches return without any results. Is anyone else experiencing the same problem? Does anyone have any recommendations? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853906#3853906 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853906 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...
you need to touch the deployment descriptor http://www.linuxforum.com/man/touch.1.php View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853910#3853910 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853910 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Forum Module (bb) Search Doesn't Work
weird... try to rebuild the index : index.html?module=index here you can manage the different indices. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853912#3853912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853912 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work
Ok, I'll post the whole StackTrace here: Exception in thread main java.lang.ClassFormatError: test/AskMe (Arguments can't fit into locals) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at testIt.main(testIt.java:8) I use the command ClassLoader.getSystemClassLoader().loadClass(test.AskMe); to load the class. I think, that should be correct so far. If it isn't, please write it and I'll try it again, of course. Thanks for that real quick reply. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853913#3853913 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853913 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
There are no requirements for the Subject defined in the J2EE specs. We have defined our Subject usage pattern in the online devel guide. The custom principal usage is illustated in the JBossSX wiki section: http://www.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853914#3853914 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853914 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Retrieve listing of connection pools
I am having trouble dynamically finding all of the different connection pools that I have set up. To get connection information I currently have each pool name hard-coded. I would like to do a query to get all of the different pools but my query ALWAYS returns no value. Here is a snipit of how I am querying: ObjectName scope = new ObjectName(jboss.jca:service=ManagedConnectionPool); QueryExp exp = Query.initialSubString(Query.attr(Name), Query.value(jdbc)); Set set = server.queryNames(scope, exp); My set size is always empty. Currently I fully name the ObjectName with: jboss.jca:service=ManagedConnectionPool,name=jdbc/central I am able to get all information on the pool. Any help with querying would be GREATLY appreciated. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853915#3853915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853915 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
http://www.jboss.org/index.html?module=bbop=viewtopict=54470 answers the question about struts and about request.isUserInRole I'm still hesitant to believe that the roles has to be attached to a group that is specifically called Roles If anybody could point to any JAAS/J2EE standards on this, I would very much appriciate. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853916#3853916 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853916 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Web app accessing different security-domains
Hello! I have a Web application which needs to propagate authentication to two EJB modules which use distinct security-domains. EJB-ModA is configured with security-domain A, EJB-ModB is configured with security-domain B and the web app is configured on its jboss-web.xml with security-domain A. How can the web app automatically authenticate itself on security-domain B? It would be something like the security-identity element available for EJBs. It would be necessary to have a rule for the web app like: When accdessing EJB-ModB use identity XPTO, being xpto a user with roles on realm B. Any help would be welcome. Thanks in advance, Victor Batista View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853918#3853918 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853918 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss
Thanks Scott, I only saw your reply after posting mine. Based on the reference, the way I read it, the requirement to specify roles Group roles = new SimpleGroup(Roles); is jboss specific. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853917#3853917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853917 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean
Thanks James. I guess maybe I should explain a bigger picture. I have a singleton that may be accessed by multiple threads. There are functions in this object that use a stateless bean. Because this is a singleton, different threads would be sharing the same reference to the bean. Now, is this scenario even a good idea? Or should I synchronize all accesses to the bean? Or maybe JBoss already does the synchronization? A specific example: Let's say the bean reference is x. x is a variable shared by two threads. If you call x.doSomething() from one thread and at the same time call x.doSomethingElse() from another thread. What can we assume or not assume about what might happen? Thanks! Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853920#3853920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853920 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: need log4j category to work in my webapp
Wikis are editable by anyone with a valid login so take a look at updating: http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853921#3853921 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853921 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem
hi andrew are you serving other things (static html...) from your root http://www.mysite.com/ ? or just cocoon. we did some things with mod_proxy... like #ProxyRequests On #ProxyPreserveHost On #ProxyPass /test http://localhost:8080/foobar #ProxyPassReverse /test http://localhost:8080/foobar #ProxyPass / http://localhost:8080/bla #ProxyPassReverse / http://localhost:8080/bla and... i just remeber the eg. in tomcat server.xml cheers L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853922#3853922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853922 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem
ups... i just remeber the eg. in tomcat server.xml | Context path=/foobar docBase=examples debug=0 | reloadable=true | cheers L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853923#3853923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853923 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JDBC SQL Logging
Howdy, I have an application that dynamically creates SQL Prepared statements and executes them. I'm currently having a problem that I believe may reside with the code populating the prepared statements. Originally, this code ran on a WebLogic platform. With WebLogic, I could turn on JDBC Logging and the server would log all of the JDBC traffic (boy did it create a LOT of data). But it was useful for debugging analysis. Is there a way to turn on similar JDBC/SQL logging for the JBoss server? Thanks, Kevin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853926#3853926 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853926 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools
If your MBean naming is consistent, you don't need to include a QueryExp in the call to QueryNames (just pass null as a second argument). QueryExp really refers to the actual attribute values of MBeans Then use a appropriate ObjectName pattern, eg: jboss.jca:service=ManagedConnectionPool,* will get you all ManagedConnectionPools, under domain jboss.jca Alter your connection MBean names if necessary View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853929#3853929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853929 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem
hi again some other :) idea #log verbose RewriteLog /var/log/https_rewrite_log RewriteLogLevel 9 ### RewriteRule (.*)\.xml$ cocoon/mysite/%{REQUEST_URI} [P] ok thats it for today :) cheers L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853930#3853930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853930 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hibern
Hello, I simply want to port my web application from JBoss 3.2.5 to JBoss 4.0.0 with a minimal of changes. My web application uses JBoss 3.2.5 with Hibernate version 2.1.6 with no problems. I don't use any Hibernate integration. I simply place my hibernate.cfg.xml file and my mappings in my WEB-INF/classes directory and it works fine. Why doesn't this work in JBoss 4.0.0? Now I am getting class not found errors? I realize that JBoss 4.0.0 ships with Hibernate, which version does it ship with? Furthermore, what steps must I take to use Hibernate with JBoss 4.0.0 the hibernate configurations files placed in WEB-INF/classes directory? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853932#3853932 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853932 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hi
I want to note that I did properly change all the other xml configuration files to JBoss 4.0.0, such as the jboss-app and jboss-web xml files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853933#3853933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853933 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools
Thanks for your quick reply. I changed my code to: ObjectName scope = new ObjectName(jboss.jca:service=ManagedConnectionPool,*); QueryExp exp = Query.initialSubString(Query.attr(Name), null); Set set = server.queryNames(scope, exp); log.info(Found + set.size() + pools); Iterator it = set.iterator(); while(it.hasNext()) log.info(it.next()); And it still found 0 results. Am I still doing something wrong? Should I not be using Query.initialSubString? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853934#3853934 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853934 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools
You do NOT need the QueryExp: | ObjectName scope = new ObjectName(jboss.jca:service=ManagedConnectionPool,*); | | Set set = server.queryNames(scope, null); | log.info(Found + set.size() + pools); | | Iterator it = set.iterator(); | | while(it.hasNext()) | log.info(it.next()); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853935#3853935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853935 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hi
I get the following debug output in my logs: 2004-11-04 10:00:58,258 INFO [net.sf.hibernate.cfg.Environment] Hibernate 2.1.5 2004-11-04 10:00:58,268 INFO [net.sf.hibernate.cfg.Environment] hibernate.properties not found 2004-11-04 10:00:58,278 INFO [net.sf.hibernate.cfg.Environment] using CGLIB reflection optimizer 2004-11-04 10:00:58,288 INFO [net.sf.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml 2004-11-04 10:00:58,288 INFO [net.sf.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml 2004-11-04 10:00:58,308 WARN [net.sf.hibernate.cfg.Configuration] /hibernate.cfg.xml not found Seems as though the JBoss 4.0.0 integration no longer searches the WEB-INF/classes directory for configuration informatin. How can I make it look there though? It worked fine before. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853937#3853937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853937 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools
Sorry for the misunderstanding. This works exactly as I had hoped. Thank you for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853941#3853941 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853941 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to get message from remote topic
Well atleast I am not the only one, I tried to implement timeToLive but it seems that the only configuration refrence to timeToLive is for MDB. I have a normal JMS Consumer listening for messages. I am running Jboss 3.2.5 with 4 - 7 different topics and queues. After I turn on the trace logging in log4j.xml I see my listeners recieving messages and then after awhile they just are waiting but nothing is coming to them. But I know I am sending new messages and I don't see any errors. I have tried implementing the consumer the following ways. |queueReceiver.setMessageListener(instance of message listener); | -- and -- | while (true) { | Message message = queueReceiver.receive(); | onMessage(message); | } | Both work in the begining but over time something happens where they don't recive anymore messages. So any help would be great. Thanks, Pete View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853936#3853936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853936 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Persistence - control the marking of messages to be dele
I believe I have resolved my issue. The trick is to use the CLIENT_ACKNOWLEDGE. I believe the default is AUTO_ACKNOWLEDGE. This should work with any subscriber, but for an MDB, I just needed to add acknowledge-modeCLIENT_ACKNOWLEDGE/acknowledge-mode to my ejb-jar.xml, add a Message.acknowledge(); to my onMessage() within the MDB, and modify my creation of the session to be topicConnection.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE); For more information, see the following links: http://docs.jboss.org/admin-devel/Chap6.html http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#CLIENT_ACKNOWLEDGE View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853943#3853943 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853943 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss, SQL Server, EJB problem
I did double-check the driver jars - they are there. Here's some more info: I deployed the app successfully using the same db backup ear file as on my dev box. I double checked that all the server jars in \lib server\default\lib are the same as the jars on our working dev boxes. I added a new servlet to the ear that retrieved a db connection (using the same JNDI name datasource that our ejbs use), queried the db (using plain jdbc) and printed out the result. This worked fine so this proves our database/datasource/jdbc drivers are setup properly. On startup, our app retrieves a db record using a local cmp, called from a remote session bean. The error occurs when the cmp is called so we suspect the error is related to a descriptor or the entity container. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853951#3853951 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853951 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Forum Module (bb) Search Doesn't Work
cooper wrote : weird... | try to rebuild the index : index.html?module=index | here you can manage the different indices. | Thanks. I have been fussing with it for a day, but your response to my question provided me with a good hint. I am upgrading from a very early version of nukes to the latest 1.1 RC 3 release of nukes. I exported all my forum posts as sql insert statements, and inserted them into the newly created nukes tables. The problem was that the indexes aren't automatically updated when data is added at the db level. By removing and recreating the index, the problem was solved. Thanks again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853953#3853953 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853953 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - ParseException when using = operator
In JBoss 4.0.0, I am trying to deploy an entity EJB with the following EJBQL statement in it SELECT OBJECT(f) FROM address f WHERE f.validDate = ?1 During deployment I get a ParseException on = operator. According to the EJB 2.0 spec, = is a valid operator. validDate field is a DATE field in the database. On changing the statement as follows, I was able to make it work. SELECT OBJECT(f) FROM address f WHERE f.validDate ?1 or f.validDate = ?1 I am interested in knowing why the first form of SELECT statement did not work. Thanks, Ancin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853956#3853956 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853956 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - One more beginner question on JBoss (3.2.6)/Tomcat/Apache (1
Hopefully it's safe to ask for help on this again in the Beginners Corner. This is my first post, but I have seen this topic posted. Unfortunately, I seem to hit dead ends when I follow them. I have downloaded binaries of the Tomcat/Apache connectors, but can't seem to find any actually named mod_jk.so or mod_jk2.so. All I can seem to find are named jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so, or similar (such as an EAPI vrsion, and a jk2.0.2 version). Is this want I want? Or, am I totally missing the binaries I need? Also, any updated help links would be appreciated. Thanks, A REAL Newbie View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853957#3853957 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853957 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBoss 4 50X performance hit - remote vs local interface
Under JBoss 3.x there was very little difference in the performance of invoking an EJB with a local vs remote interface as long as the ejb was, in fact, in the same jvm. JBoss seemed to have good optimization of the remote interface. For example, the cost for 10,000 creates of a trivial session bean on my desktop was: local=532 ms vs remote = 891 ms. Not a big difference. On the other hand, under JBoss 4.0 I don't see the same level of optimization. The same test produces: local=281 ms vs remote = 45,593 ms. This is a 50 times slower and essentially the same performance as invoking the remote interface from outside the jvm. Is this likely to be addressed in a future version or is this factor of 50 performance penalty likely to persist in 4.x? Note than when I run the tests on WebSphere 5.x or WebLogic 8.1 the profile is similar to that of JBoss 3.2. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853961#3853961 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853961 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: jndi lookup fails for mailservie on jboss 4.0.0
No problem for us. We have this * @ejb.resource-ref | * res-ref-name=Mail | * res-type=javax.mail.Session | * res-auth=Container | * @jboss.resource-ref | * res-ref-name=Mail | * jndi-name=java:/Mail | for generating the resource-refs in ejb-jar.xml and jboss.xml. After tha we can lookup the mail-service via java:comp/env/Mail. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853962#3853962 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853962 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: TopLink (9.0.4-10.1.3) and JBoss (3.2.3-4.0.0) JTS XA in
I think I have found a fix. After looking through the source, I noticed another way to avoid that call was if isTrackByTx() is true. So I added: track-connection-by-txtrue/track-connection-by-tx to my mssql-xa-ds.xml file. And, it appears to have addressed the issue. From reading the docs, the only thing I can gather this does is hand control of returning connections back to the pool over to the app server. And that the app server will do this after the transaction is completed. Is there anything else I should be aware of with this setting? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853815#3853815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853815 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Oracle 9i getConnection() using XA Driver takes long time...
Hi, We are using Oracle 9i (9.2.0.4) with JBoss 3.2.5. We are using the JDBC driver ojdbc14.jar. We observed that the time taken for DataSource.getConnection() is not consistent. It ranges between 20 milli seconds to 22 seconds. By enabling some debug and trace levels in JBoss we narrowed down the delay to be happening on OracleXAResource.start() call. There is no load on the database server. We had only 2/3 connections open to the database at a time. Can you let us know if this is a known problem and how to get around it? Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853963#3853963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853963 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss, SQL Server, EJB problem
I figured out the problem. I wasn't reading the stack trace closely enough at first. The problem was that /server/default/conf/standardjbosscmp-jdbc.xml was missing the mssql-get-generated-keys entity-command: entity-command name=mssql-get-generated-keys | class=org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand/ It's needed to retrieve PKs that are generated by sql server's IDENTITY columns when new records are created and my EJBs require it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853964#3853964 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853964 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Forcing close/reopen of JMS connection used for MDB
Is there any way to periodically cause the close and reopen of the JMS connection used for an MDB? I'm trying to work around a memory leak problem in an external queue implementation (oracle) and one of the work arounds is to close and restart the session. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853965#3853965 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853965 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?
does anybody know the answer to this, as I can still not find anything in the docs or on the net? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853967#3853967 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853967 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Cannot compile duke's bank example on JBoss 4.0.0
Hello: I am getting the following output whenever I try to complie the Dukes Bank example under JBoss 4.0.0. Can someone please help? Thanks C:\j2eetutorial14\examples\bankant -f jboss-build.xml compile Buildfile: jboss-build.xml prepare: compile: [javac] Compiling 56 source files to C:\j2eetutorial14\examples\bank\build BUILD FAILED C:\j2eetutorial14\examples\bank\jboss-build.xml:49: C:\jboss-4.0.0\server\all\de ploy\jboss-net.sar not found. Total time: 2 seconds C:\j2eetutorial14\examples\bank View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853966#3853966 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853966 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Simple reference of CSS from JSP doesn't work
OK - I'm a complete newby so bear with me. My JSP looks like this: bean:message key=admin.centre/ html:base/ link type=text/css rel=stylesheet href=html:rewrite page='admin.css'/ media=all / and the .css file is in the WAR at the same level as the JSP, but I don't see the CSS file. In fact, putting the URL directly in the browser doesn't show the CSS file either. Do I need to do something extra to serve up css files ? Regards, Ian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853968#3853968 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853968 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - (500) Internal Server Error, when running WebServices Client
I have JBoss 3.2.6 installed with 'Duke's Bank' sample application deployed. Everything is working fine except, when I try to run WebServices Client (ant -f jboss-build.xml run-ws-client). I will get the following errors: C:\jboss-3.2.6\j2eetutorial\bankant -f jboss-build.xml run-ws-client Buildfile: jboss-build.xml run-ws-client: [echo] C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\bin\..\lib\ant-launcher .jar;C:\jboss-3.2.6\j2eetutorial\bank;C:\jboss-3.2.6\server\all\deplo y\jbossweb-tomcat50.sar\servlet-api.jar;C:\jboss-3.2.6\server\all\deploy\jbosswe b-tomcat50.sar\jsp-api.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant- antlr.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-apache-bcel.jar;C :\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-apache-bsf.jar;C:\jboss-3.2. 6\j2eetutorial\apache-ant-1.6.2\lib\ant-apache-log4j.jar;C:\jboss-3.2.6\j2eetuto rial\apache-ant-1.6.2\lib\ant-apache-oro.jar;C:\jboss-3.2.6\j2eetutorial\apache- ant-1.6.2\lib\ant-apache-regexp.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2 \lib\ant-apache-resolver.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\an t-commons-logging.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-commo ns-net.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-icontract.jar;C: \jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-jai.jar;C:\jboss-3.2.6\j2eetu torial\apache-ant-1.6.2\lib\ant-javamail.jar;C:\jboss-3.2.6\j2eetutorial\apache- ant-1.6.2\lib\ant-jdepend.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\a nt-jmf.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-jsch.jar;C:\jbos s-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-junit.jar;C:\jboss-3.2.6\j2eetutor ial\apache-ant-1.6.2\lib\ant-launcher.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant -1.6.2\lib\ant-netrexx.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant- nodeps.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-starteam.jar;C:\ jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-stylebook.jar;C:\jboss-3.2.6\j 2eetutorial\apache-ant-1.6.2\lib\ant-swing.jar;C:\jboss-3.2.6\j2eetutorial\apach e-ant-1.6.2\lib\ant-trax.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\an t-vaj.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-weblogic.jar;C:\j boss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\ant-xalan1.jar;C:\jboss-3.2.6\j2eet utorial\apache-ant-1.6.2\lib\ant-xslp.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant -1.6.2\lib\ant.jar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\xercesImpl.j ar;C:\jboss-3.2.6\j2eetutorial\apache-ant-1.6.2\lib\xml-apis.jar;C:\j2sdk1.4.2_0 4\lib\tools.jar [java] (500)Internal Server Error [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava .java:172) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja va:275) [java] at org.apache.tools.ant.Task.perform(Task.java:364) [java] at org.apache.tools.ant.Target.execute(Target.java:341) [java] at org.apache.tools.ant.Target.performTasks(Target.java:369) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1062 ) [java] at org.apache.tools.ant.Main.runBuild(Main.java:673) [java] at org.apache.tools.ant.Main.startAnt(Main.java:188) [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) [java] Caused by: (500)Internal Server Error [java] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTP Sender.java:723) [java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j ava:132) [java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio nStrategy.java:73) [java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:162) [java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:125) [java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:192) [java] at org.apache.axis.client.Call.invokeEngine(Call.java:3029) [java] at org.apache.axis.client.Call.invoke(Call.java:3014) [java] at org.apache.axis.client.Call.invoke(Call.java:2609) [java] at org.apache.axis.client.Call.invoke(Call.java:2524) [java] at org.apache.axis.client.Call.invokeInternal(Call.java:1976) [java] at org.apache.axis.client.Call.invoke(Call.java:1917) [java] at WSClient.main(Unknown Source) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at
[JBoss-user] [Performance Tuning] - 360Mo Tenured generation clogs my Garbage Collector!
Hi, here is the situation. I am running my application on a JBoss with the following JVM arguments -Xms768m -Xmx768m on a windows2000 with 1Gb of RAM. Without doing even using the application, I notice a FullGC gets done every minute (default) and takes 3s. On a much more used computer, the GC takes up to 17s during which JBoss is, as expected, brain dead. From a user standpoint, this is not horrific. I tried to tune the GC and found out the problem comes from precompiled JSP that are stored in my application. When JBoss initializes, he stores them and they go directly in the tenured generation and stay there and account to up to 360Mo. Of course, a FullGC then gets called every time the GC is called. I tried numerous solutions and here are results: * the concurrent and incremental low pause collectors only aggravate the situation * since the tenured collection is taking so much space compared to the others, I tried to increase its size (-XX:NewRatio=100), still with no success. * another way was to try another collector and increase the threshold when the FullGC gets called -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=90. Nothing. The problem really comes from the fact that my tenured stays this size after being collected. So every time the GC repasses through the whole 360Mo of precompiled JSPs! Is there any way of forcing them in the PermanentGeneration collection? Or would you see another solution? Thanks for any help! Paul View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853971#3853971 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853971 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?
Ok, in my log readout i get the following: [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ and: [TomcatDeployer] deploy, ctxPath=/cocoon, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/cocoon.war/ What file do I need to configure to do this or at least specify cocoon as the docBase?: [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/cocoon.war/ manyy thanks Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853972#3853972 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853972 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: CoyoteConnector Coyote can't register jmx for protocol !
Did you help me? I'm deploying an war in JBoss 3.2.3 with Tomcat, this war uses jasperreports libraries and when i try to exceute my jsp thrown the following error org.apache.jasper.JasperException: org/apache/commons/digester/Digester at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) 16:03:35,214 ERROR [Engine] - Root Cause - javax.servlet.ServletException: org/apache/commons/digester/Digester at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.testJasper_jsp._jspService(testJasper_jsp.java:86) at
[JBoss-user] [Messaging, JMS JBossMQ] - Is there file size limit for JMS with Oracle persistence?
Is there file size limit for JMS with Oracle peristence. I am able to send small size file through JMS but for large file I get a closed connection error. Any inputs are welcome! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853974#3853974 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853974 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Is there file size limit for JMS with Oracle persistence
By file size I mean message size. The message less the 4K works fine. But for message around 10K I get connection close error View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853975#3853975 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853975 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [News Announcements] - 4.0.1RC1 Release Available
The 4.0.1RC1 release is available from: JBoss-4.0.1 Files Release notes are available form here: Changes between 4.0.1RC1 and 4.0.0 The current 4.0.1 target release date is Nov 19. The tasks to be completed for this release and their status are tracked in the following todo forum topic: 4.0.1 Release Tasks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853976#3853976 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853976 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: No access to JBoss online documentation
Me too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853977#3853977 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853977 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)
I am trying to solve cert based authentication as well. I am using jboss 3.2.5. (Do I need to upgrade?) Anyway, I generated a certificate and imported the client certificate into my server keystore via keytool. I setup web.xml and jboss.xml according to the BaseCertLoginModule. I setup the following security domain in jboss-service.xml: mbean code=org.jboss.security.plugins.JaasSecurityDomain | name=jboss.web:service=SecurityDomain | constructor | arg type=java.lang.String value=ws-cert/ | /constructor | attribute name=KeyStoreURL${jboss.server.config.url}/security/dev.server.keystore/attribute | attribute name=KeyStorePasschangeit/attribute |/mbean | I added the login module to login-config.xml: application-policy name = cert-login |authentication | login-module code=org.jboss.security.auth.spi.BaseCertLoginModule | flag = required | module-option name=password-stackinguseFirstPass/module-option | module-option name=securityDomainjava:/jaas/ws-cert/module-option | /login-module | login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required | module-option name=password-stackinguseFirstPass/module-option | module-option name=usersPropertiesusers.properties/module-option | module-option name=rolesPropertiesroles.properties/module-option |/login-module |/authentication | /application-policy | and created the following entries in users.properties CN\=CO\ CSE\ Client,\ OU\=Child\ Support\ Enforcement,\ O\=State\ of\ Colorado,\ L\=Denver,\ ST\=CO,\ C\=US=password and roles.properties: CN\=CO\ CSE\ Client,\ OU\=Child\ Support\ Enforcement,\ O\=State\ of\ Colorado,\ L\=Denver,\ ST\=CO,\ C\=US=co-client | W=co-client where 'W' is the role who is granted access via web.xml. However, I get a (401)Cannot authenticate with the provided credentials error. The article mentions registering this user with the server certificate keystore. Is this something different than trusting the certificate with the VM. If so, how do I accomplish this? Thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853978#3853978 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853978 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: No access to JBoss online documentation
NOT me too! Previous me too was incorrect. Later found a required field that was still blank in my registration info. Look closely; the background colors are irrelevant -- only the (*) matters. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853979#3853979 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853979 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Intermittent 500 internal server error
Hi I am seeing intermittent 500 internal server error with jboss.net with my authenticated service. The service is wrapped with BASIC http authentication via jaas and database login module. The setup seems to be correct since I do ge authenticated and service gets invoked correctly 50% of time. Other 50% of time I am getting the 500 error. I am attaching first few lines of error here. Thanks! My setup: jboss 3.2.6/java 1.4.2/OSX 10.3.5 15:58:23,365 ERROR [Engine] StandardWrapperValve[JBossAxisServlet]: Servlet.service() for servlet JBossAxisServlet threw exception java.lang.NullPointerException at org.jboss.net.axis.Deployment.oldGetService(Deployment.java:255) at org.jboss.net.axis.Deployment.getService(Deployment.java:275) at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:290) at org.apache.axis.AxisEngine.getService(AxisEngine.java:302) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:900) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:372) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853980#3853980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853980 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Web app accessing different security-domains
It just works if the principal and credentials are compatbile between the two domains. Otherwise you need an interceptor on either the ejb proxy or ejb container that mapped the foreign security domain principal and credentials to something that is usable. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853981#3853981 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853981 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user