[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message redelivery count and redelivery interval...
You can configure this within your destination definition e.g. | ?xml version=1.0 encoding=UTF-8 ? | server | mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=MessengerService | | depends optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends | depends optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends | !-- redelivery delay 10 [s] -- | attribute name=RedeliveryDelay1/attribute | !-- unlimited redelivery -- | attribute name=RedeliveryLimit-1/attribute | /mbean | /server | Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885842#3885842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885842 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBOSS 4 Remote Access Stateless Session Bean
I have gone thru the J2EE Tutorial which use the Sun Java System AS Platform Editon 8. I am now trying to deploy the currency conversion example (ConverterBean) into JBOSS4. The deployment looks OK as I can see the following in the JMX console: jboss.j2ee * jndiName=Converter,plugin=pool,service=EJB * jndiName=Converter,service=EJB * module=converter-ejb.jar,service=EjbModule * service=ClientDeployer * service=EARDeployer * service=EARDeployment,url='Converter.ear' jboss.web.deployment * id=-1738444633,war=ROOT.war * id=-1795632456,war=invoker.war * id=-26676653,war=jmx-console.war * id=-523202696,war=jbossmq-httpil.war * id=-811489709,war=web-console.war * id=1788975853,war=converter.war * id=991583486,war=jboss-ws4ee.war However, when I access the JSP, the InitialContext lookup returns a NamingException error with the message 'Converter not bound'. I have lookedthru this forum with similar problem and try modifying the deployment descriptor but with no success. Could someone help? The following are a listing of the codes: [JSP Codes] %@ page import=converter.Converter, converter.ConverterHome, javax.ejb.*, java.util.Properties, java.math.*, javax.naming.*, javax.rmi.PortableRemoteObject, java.rmi.RemoteException % %! private Converter converter = null; String ErrorMsg = ; public void jspInit() { try { InitialContext ic = new InitialContext(); ErrorMsg = Got IC.; Object objRef = ic.lookup(java:comp/env/Converter); ErrorMsg = ErrorMsg + lookup ConverterBean.; ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class); converter = home.create(); } catch (RemoteException ex) { System.out.println(Couldn't create converter bean.+ ex.getMessage()); ErrorMsg = ErrorMsg + Remote Ex Couldn't create converter bean.+ ex.getMessage(); } catch (CreateException ex) { System.out.println(Couldn't create converter bean.+ ex.getMessage()); ErrorMsg = ErrorMsg + CreateEx Couldn't create converter bean.+ ex.getMessage(); } catch (NamingException ex) { System.out.println(Unable to lookup home: + ConverterBean + ex.getMessage()); ErrorMsg = ErrorMsg + Unable to lookup home: + Converter + ex.getMessage(); } } public void jspDestroy() { converter = null; } % Converter h1Converter/h1 Enter an amount to convert: Status%= ErrorMsg % % String amount = request.getParameter(amount); if ( amount != null amount.length() 0 ) { BigDecimal d = new BigDecimal (amount); % %= amount % dollars are %= converter.dollarToYen(d) % Yen. %= amount % Yen are %= converter.yenToEuro(d) % Euro. % } % [ConverterBean Codes] package converter; import java.rmi.RemoteException; import javax.ejb.SessionBean; import javax.ejb.SessionContext; import java.math.*; public class ConverterBean implements SessionBean { BigDecimal yenRate = new BigDecimal(121.6000); BigDecimal euroRate = new BigDecimal(0.0077); public ConverterBean() { } public BigDecimal dollarToYen(BigDecimal dollars) { BigDecimal result = dollars.multiply(yenRate); return result.setScale(2, BigDecimal.ROUND_UP); } public BigDecimal yenToEuro(BigDecimal yen) { BigDecimal result = yen.multiply(euroRate); return result.setScale(2, BigDecimal.ROUND_UP); } public void ejbCreate() { } public void ejbRemove() { } public void ejbActivate() { } public void ejbPassivate() { } public void setSessionContext(SessionContext sc) { } } [Converter Home Interface] package converter; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBHome; public interface ConverterHome extends EJBHome { Converter create() throws RemoteException, CreateException; } [Converter Remote Interface] package converter; import javax.ejb.EJBObject; import java.rmi.RemoteException; import java.math.*; public interface Converter extends EJBObject { public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException; public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException; } [ejb-jar.xml] ?xml version=1.0 encoding=UTF-8? ejb-jar xmlns=http://java.sun.com/xml/ns/j2ee; version=2.1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd; enterprise-beans ejb-nameConverterBean/ejb-name converter.ConverterHome converter.Converter ejb-classconverter.ConverterBean/ejb-class session-typeStateless/session-type
[JBoss-user] [Installation, Configuration Deployment] - Jboss on Linux
I am running the JBoss3.2.3 server on a linux box ,I am not able to connect using a windows2000 client on a LAN network . What could be the problem I am able to ping the server IP address and connect using ftp and telnet Please help Thanks George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885846#3885846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885846 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Jboss on Linux
I am running the JBoss3.2.3 server on a linux box ,I am not able to connect using a windows2000 client on a LAN network . What could be the problem I am able to ping the server IP address and connect using ftp and telnet Please help Thanks George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885848#3885848 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885848 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Jboss on Linux
I am running the JBoss3.2.3 server on a linux box ,I am not able to connect using a windows2000 client on a LAN network . What could be the problem I am able to ping the server IP address and connect using ftp and telnet Please help Thanks George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885847#3885847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885847 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Jboss on Linux
I am running the JBoss3.2.3 server on a linux box ,I am not able to connect using a windows2000 client on a LAN network . What could be the problem I am able to ping the server IP address and connect using ftp and telnet Please help Thanks George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885849#3885849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885849 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - ClassNotFoundException when service depends on jar
JBoss 3.2.7 I have a service, configured by the following xml file, that depends on the classes in a jar file. The jar file (simple.jar) is present in the deploy directory of the server. | ?xml version=1.0 encoding=UTF-8? | | server | mbean code=com.test.Simple |name=com.test.simple:service=SimpleService | | classpath codebase=deploy archives=simple.jar/ | /mbean | /server | I get the following error on startup: 18:34:09,956 ERROR [MainDeployer] could not create deployment: file:/C:/dev/se | ers/jboss/jboss-3.2.7/server/default/deploy/simple-service.xml | org.jboss.deployment.DeploymentException: create operation failed for package | le:/C:/dev/servers/jboss/jboss-3.2.7/server/default/deploy/simple-service.xml; | nested throwable: (org.jboss.deployment.DeploymentException: No ClassLoaders | und for: com.test.Simple; - nested throwable: (java.lang.ClassNotFoundException | No ClassLoaders found for: com.test.Simple)) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) Is there any way to specify that a service depends on a jar file? The only workaround I see is by putting the jar file in the lib directory of the default server. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885851#3885851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885851 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - SOS .. Re: sh build.sh deploy
I have installed lincvs on FEDORA computer , and then download JbossPortal2.0 with root user ; i type : sh build.sh new errors occured like following : [EMAIL PROTECTED] build]# sh build.sh build.sh: *WARNING* Ignoring environment value for $ANT_HOME build.sh: Executing: /root/jboss-portal-2.0/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:module-local-properties: [copy] Copying 1 file to /root/jboss-portal-2.0/build _configure:cactus:cactus: [echo] /root/jboss-portal-2.0/thirdparty/junit-junit/lib BUILD FAILED file:/root/jboss-portal-2.0/build/../tools/etc/buildfragments/tools.ent:153: taskdef class org.apache.cactus.integration.ant.CactusTask cannot be found Thank in advanced Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885852#3885852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885852 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: sh build.sh deploy
Check if you have the file jboss-portal-2.0/thirdparty/jakarta-cactus/lib/cactus-ant.jar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885854#3885854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885854 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss 4.0.2 breaks my web app
tomerbd2: Find the below line in deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml | attribute name=UseJBossWebLoaderfalse/attribute | and change it to true, that might help. This was set to false by default in 4.0.1sp1, and to true in 4.0.2, iirc. Murali View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885853#3885853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885853 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Using CMP data is not inserted in to DB.
Hi friends, I am using JBoss 4.0.2 and Postgres 7.2 ds. I have written the following EJB public abstract class AnesthesiaUserEJB implements EntityBean { private EntityContext context; public Long userid; public String username; public String password; public Date createddate; public Date updateddate; public String usertype; public void ejbLoad() throws EJBException, RemoteException { } public void ejbActivate() throws EJBException, RemoteException { } public Long ejbCreate(UserData userData) throws CreateException { System.out.println(Called Came in EJBCreate@@@); System.out.println(@1+userData.getUsername()); System.out.println(@2+userData.getPassword()); System.out.println(@3+userData.getUsertype()); //Long myid = new Long(UniqueIdGenerator.getId()); //System.out.println(My id generated == +myid); //this.userid = new Long(123); //System.out.println(My id generated == +this.userid); //try{ this.createddate = new Date(); this.updateddate = createddate; this.username = userData.getUsername(); this.password = userData.getPassword(); this.usertype = userData.getUsertype(); /* }catch(NullPointerException ne){ System.out.println(Came in null pointer exception); System.out.println(ne.getMessage()); }catch(Exception e){ System.out.println(Error in ejbCreate); e.printStackTrace(); }*/ return userid; } public void ejbPostCreate(UserData userData) throws CreateException,RemoteException { } public void ejbRemove() throws RemoveException, RemoteException, EJBException { } public void setEntityContext(EntityContext context) throws EJBException, RemoteException { } public void unsetEntityContext() throws EJBException, RemoteException { } public void ejbPassivate() throws EJBException, RemoteException { } public void ejbStore() throws EJBException, RemoteException { } public UserData getUserData() { System.out.println(Came in AnesthesiaUserManagerEJB getUserData); UserData userData = new UserData(); System.out.println(1); userData.setUsername(this.username); System.out.println(2 + userData.getUsername()); userData.setPassword(this.password); System.out.println(3+userData.getPassword()); userData.setUserid(this.userid); System.out.println(4 + userData.getUserid()); userData.setUsertype(usertype); System.out.println(5 + userData.getUsertype()); userData.setCreateddate(this.createddate); System.out.println(6 + userData.getCreateddate()); userData.setUpdateddate(this.updateddate); System.out.println(7 + userData.getUpdateddate()); return userData; } public void setUserData(UserData userData) { this.updateddate = new Date(); this.username = userData.getUsername(); this.password = userData.getPassword(); this.usertype = userData.getUsertype(); } /** * @return */ public abstract String getPassword(); /** * @return */ public abstract String getUsername(); /** * @param string */ public abstract void setPassword(String string); /** * @param string */ public abstract void setUsername(String string); public abstract void setUsertype(String string); public abstract String getUsertype(); /** * @return */ public abstract Long getUserid(); /** * @param long1 */ public abstract void setUserid(Long long1);
[JBoss-user] [EJB/JBoss] - EJB Entity 2.1 java.sql.SQLException: Type Conversion not su
I've got an exception and i don't know why I'm new in ejb so if one of you can help me my id is an int in my classes in my mySQL dataBase an INT(11) The exception: EJBException:; nested exception is: javax.ejb.EJBException: Internal error setting parameters for field id; CausedByException is: Type Conversion not supported: VARBINARY An idea? what's VARBINARY? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885859#3885859 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885859 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - how to change startscreen
Hi @ all ! I'm pretty new here and (like all new ones) i've got a (stupid) question. I want to customize the JBoss startscreen (the screen that appears after entering http://localhost:8080/portal). Where do i find the html/jsp-file ? thanks sessa View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885860#3885860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885860 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - sending message to a topic from stateless session bean
hi, i have a problem with sending a object message to a topic destination from within a seesion bean method. from a client program i call a session bean method with data transfer object as parameter(actual a byte array with 5MByte) . in this methode i send this array as object message to a topic in the same server. after sendi() i close publisher,session,connection. but after this, the method does not return immediately but waits , until the subscriber message bean's onMessage() method is called. why does the session bean methode not return immediately after closing the TopicConnection ? thanks axel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885861#3885861 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885861 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - how to stop the message persistence
I'm a stranger to jboss ,i have to stop persist message ,I move the \examples\jms\null-persistence-service.xml to the \deploy\jms,but when the jboss starts ,it report a deploy errors ,I don't know what to do.Maybe it needs a file like hsqldb-jdbc-state-service.xml.but I can't get the fiel. anyone can help me??? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885863#3885863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885863 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss on Linux
I have not got a clue. Would you like to describe the problem to us? What error, what are you doing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885866#3885866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885866 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS LoginModule NoClassDefFoundError
The class file is in the jar. I have made sure of that. However, I am confused. How can I access other files in the same jar but not find this one? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885865#3885865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885865 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Problem in porting of Swing/ jboss app from Jboss-3.2.2
Yes the error looks as if you are using the wrong jars with the client to access JBoss. The client needs the jars from JBoss 4.0.2 to access JBoss 4.0.2. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885867#3885867 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885867 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jbossweb threads
Smith, I am facing the same problem as faced by you in Dec 2001. We are facing the same problem and need some insight on how you got out of the situation. Please help me out as soon as possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885869#3885869 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885869 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Virtual Path mapping in JBoss
I am porting an exisiting web application to J2EE. I have a HTML file which has a JS/Images/CSS file includes (/dir/css/)something like below : meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 TD ALIGN=left VALIGN=top TD ALIGN=right VALIGN=top In existing system which runs on WindWeb Web server, I have mapping of /dir to some physical directory on web server. Now the same I have to achieve on JBoss. It would be better for me if I don't change .html file to .JSP file And I need /dir to be mapped to request.getContextPath() So that I do not end up in changing all the files. Is there any way to do this? TIA Sachin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885868#3885868 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885868 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Deserialized array is of size 1!!
I am using JBoss 4.0.2 on JRE 1.5, Eclipse 3.0.2 with JBoss IDE 1.4.1-e31-jre15. I have a session bean, which has two methods exposed to a service endpoint interface. I have written my jaxrpc-mapping.xml, webservices.xml and ws4ee-deployment.xml (to map custom data types to appropriate deserializers). One of these methods is supposed to return an array of custom beans. I wrapped the array as a bean, which is something like: | public class MyArrayWrapper { | private MyDataType[] underlyingArray; | private String anotherField; | //public no argument constructor | //public getter/setters | } | I have additional methods inside the array (not getter/setters) which can be used by the session bean to resize the array dynamically and set the data at a particular index in the array, but I don't think that matters to the serializer. I use org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory and org.jboss.webservice.encoding.ser.MetaDataBeanDeSerializerFactory to handle this array as well as the the MyDataType, which is a simple Java bean. I use Java2WSDL to generate the WSDL, which looks like the following in its type mapping for the array. | schema targetNamespace=http://myservice.session.mycompany.com; xmlns=http://www.w3.org/2001/XMLSchema; |import namespace=http://schemas.xmlsoap.org/soap/encoding// |complexType name=ArrayOf_tns3_MyDataType | complexContent | restriction base=soapenc:Array | attribute ref=soapenc:arrayType wsdl:arrayType=tns3:MyDataType[]/ | /restriction | /complexContent |/complexType | /schema | schema targetNamespace=http://myservice.session.mycompany.com; xmlns=http://www.w3.org/2001/XMLSchema; |import namespace=http://schemas.xmlsoap.org/soap/encoding// |complexType name=MyArrayWrapper | sequence | element name=underlyingArray nillable=true type=impl:ArrayOf_tns3_MyDataType/ | element name=anotherField type=xsd:string/ | /sequence |/complexType | /schema | Using rpc/LITERAL, the service deploys fine apart from a jaxrpc-warning about type mapping, which I do not understand because the package it complains about exists and is mapped in jaxrpc-mapping.xml. Anyway, that's a warning. I use an Axis client (JRE 1.5 generated by JBoss IDE) to invoke the WS call. The call succeeds without any error on the server. I have Axis servlet logging turned on. The response SOAP message looks perfect with all the necessary data. The response array contains 28 elements (say) but the client only gets one element after deserializing the SOAP message. What's going wrong? Why is the array getting trimmed to one element? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885871#3885871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885871 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Clustered TreeCache as Hibernate second level cache - I
Hi Bela, thanks for the prompt reply again. We have been working from the online reference manual. I quote section 9.2 RpcDelegatingCacheLoader, which allows to load/store to/from a remote (in a different VM) TreeCache using JGroups' RPC mechanism. The remote TreeCache delegated to is the CacheLoader's cache's coordinator (the first cache in the cluster). This CacheLoader is available since JBossCache version 1.2.1. We wanted to synchronise all memory caches in the cluster on startup and that was the reason we used this cacheloader. We have a single database for all nodes and so synchronising from memory seems sensible. At a higher level, having spent alot of time on this now to unfortunately no avail, I would love it if someone could say something like: To use treecache as a distributed replicated transactional cache as the second level cache in Hibernate do the following: A) Hibernate config xml file example especially the transaction service to use section B) treecache.xml example especially the cacheloader configuration. C) JBoss Service example especially the relevant transaction manager section. D) datasource-ds.xml example ie, do we need an XADatasource or not. This might be a bit much to ask, but I really think an example would help SO much. Putting it up on the wiki even would be great. I think our requirements are VERY common usage of JBoss Cache/Hibernate, ie single database, multiple J2EE servers. This is the idea of J2EE servers - cluster them at a lower cost rather than multiple instances of an expensive database. We don't normally need hand holding on this stuff. We have a team of JBoss experts and our product currently runs on a cluster of 10 solaris boxes with combined 100 gigs of ram. We have spent a good amount of time on this and really do thank you so much if you can clear it up for us. thanks again, Binario View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885875#3885875 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885875 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Can't load user roles
Michel, I had a similar problem about a year ago with v3.2.5. I don't know if it is the same problem, or if the solution is still valid - I am currently unable to get JAAS working in JBoss 4 at the moment. Here is the code I have: I have this.roles as a member variable arraylist which I fill earlier. | protected Group[] getRoleSets() | throws LoginException | { | if (this.roles == null) | throw new LoginException(null roles!); | log.trace(getRoleSets() returning | + this.roles.toString()); | Group groups[] = new Group[1]; | Set principals = super.subject.getPrincipals(); | if (principals == null) | throw new LoginException(principals == null!); | // next line creates NestedGroup - tomcat doesn't see it | // groups[0] = super.createGroup(Roles, principals); | // next 2 lines instead of JBoss superclass: | groups[0] = new SimpleGroup(Roles); | principals.add(groups[0]); | for (int x = 0; x roles.size(); x++) | { | GargantusRole role = (GargantusRole) this.roles.get(x); | groups[0].addMember(new NestablePrincipal(role.getName())); | } | log.trace(adding our roles to subject); | return groups; | } | If you put logging statements in your current class, I think you will find that your roles are just disappearing, so using the above to override should help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885877#3885877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885877 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: n:m relation-table is not used
one more try: if i change the ralation-table to: relation-table-mapping table-namereport_role_map/table-name create-tabletrue/create-table remove-tabletrue/remove-table /relation-table-mapping the table is removed while undeploying, but not created while deploying??!! i'm confused... please help :( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885878#3885878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885878 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.
I had to open up a lot of other ports so the two servers could find each other. Now one server seems to have added its self to the group lots of times: 2005-07-21 12:15:45,647 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [10.0.10.50:32779, 10.0.10.10:36760, 10.0.10.10:36761, 10.0.10.10:36762, 10.0.10.10:36763, 10.0.10.10:36764, 10.0.10.10:36765, 10.0.10.10:36766, 10.0.10.10:36767, 10.0.10.10:36768, 10.0.10.10:36769, 10.0.10.10:36770, 10.0.10.10:36771, 10.0.10.10:36772, 10.0.10.10:36773, 10.0.10.10:36774, 10.0.10.10:36775, 10.0.10.10:36776, 10.0.10.10:36777, 10.0.10.10:36778, 10.0.10.10:36779, 10.0.10.10:36780, 10.0.10.10:36781, 10.0.10.10:36782, 10.0.10.10:36783, 10.0.10.10:36784, 10.0.10.10:36785, 10.0.10.10:36786, 10.0.10.10:36787, 10.0.10.10:36788, 10.0.10.10:36789, 10.0.10.10:36790, 10.0.10.10:36791, 10.0.10.10:36792, 10.0.10.10:36793, 10.0.10.10:36796, 10.0.10.10:36799, 10.0.10.10:36802, 10.0.10.10:36806] Can this be right? Has anyone done a worked example of jboss-cache with hibernate? Considering these are two core parts of Jboss they seem very badly documented. Can you recommend a book, or an article somewhere? Still seem to be a long way from a replicated cache, replicating state to two databases. -James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885879#3885879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885879 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: WARN [org.jboss.jbossweb] WARNING: No thread for Socket
JBoss version is 3.0.7. We are getting following message before the actual error message server.log.2005-06-07-myserverl10:2005-06-07 13:21:14,079 INFO [org.jboss.jbossweb] LOW ON THREADS: [EMAIL PROTECTED]:8081 Thread settings are - MinThreads=10 MaxThreads=100 MaxIdleTimeMs=3 LowResourcePersistTimeMs=5000 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885882#3885882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885882 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - problems with ejb-link in web.xml........
hi all in my web.xml i have: web-app ejb-local-ref ejb-ref-nameejb/Funcionario_Entity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homebr.com.funcionario.entity.FuncionarioHome/local-home br.com.funcionario.entity.Funcionario ejb-linkFuncionario_Entity/ejb-link /ejb-local-ref /web-app its works. but if i remove the tag ejb-link in my console i have: no ejb-link in web.xml and no jndi-name in jboss-web.xml) but i have too jboss-web.xml as below: jboss-web ejb-ref ejb-ref-nameejb/Funcionario_Session/ejb-ref-name jndi-nameejb/Funcionario_Session/jndi-name /ejb-ref /jboss-web my ejb-jar is ::: ebj-jar . ejb-nameFuncionario_Session/ejb-name br.com.funcionario.session.FuncionarioHome br.com.funcionario.session.Funcionario ejb-classbr.com.funcionario.session.FuncionarioBean/ejb-class session-typeStateful/session-type transaction-typeContainer/transaction-type ejb-local-ref ejb-ref-nameejb/Funcionario_Entity/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homebr.com.funcionario.entity.FuncionarioHome/local-home br.com.funcionario.entity.Funcionario ejb-linkFuncionario_Entity/ejb-link /ejb-local-ref ... /ejb-jar thanks a lot ... for everybody... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885884#3885884 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885884 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBOSS to Oracle Connection Pool Question - Help Needed
I am trying to migrate an web application from Weblogic to JBOSS 4.0.2 and have got the data sources setup. In the Weblogic world, I setup the connection pools thru the Weblogic console and then as part of my application, I read the db specific props from a property file and a class creates the connection for me. //Properties File app.database.driver=weblogic.jdbc.pool.Driver app.database.url=jdbc:weblogic:pool:MyOraclePool app.database.property.weblogic.t3.waitForConnection=true app.database.property.weblogic.t3.waitSecondsForConnection=5 //Java Code Connection connection = null; Driver driver = null; String dburl = //load from app properties file String driverClassName = //load from app properties file Properties dbProperties = //load from app properties file // Load the driver. try { Class driverClass = Class.forName(driverClassName); driver = (Driver) driverClass.newInstance(); } catch (Exception ex) { throw new ApplicationException(Failed to load JDBC driver : + driverClassName, ex); } try { connection = driver.connect(dbURL, dbProperties); } catch (Exception ex) { throw new ApplicationException(Failed to create a database connection with the specified settings., ex); } In the JBOSS world, isnt there any way wherein I can reference the connection pool directly? Is it that I always have to get a connection the Datasource way ? Connection con = null; try { Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup(java:/MyOracleDS); con = ds.getConnection(username,password); } catch(Exception ex) { throw new ApplicationException(Failed to create a database connection with the specified settings., ex); } Any replies will be highly appreciated. cheers Vinay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885886#3885886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885886 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: problems with ejb-link in web.xml........
You are using ejb-local-ref in the web.xml and ejb-ref in the jboss-web.xml, you need to be consistent and use the same in both files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885887#3885887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885887 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - UsingMod_jk1.2WithJBoss
Hi, I am installing (in Windows 2003 Server) the following products Apache 2.0.54 JBoss 4.0.2 mod_jk 1.2.14 apache 2.0.54 so May I ask if any of you have followed the instructions from the above Wiki and got all working?? such as http://localhost/web-console I also don't need as load_balancing feature which the Wiki mentioned. If you are successfully running the above combination, much appreciated if you could share your expertise. Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885891#3885891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885891 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Entity Bean Problem with Jboss 4.0.2. and Postgres 7.2
Hi has anyone got an example of an CMP Entity Bean on Jboss 4.0.2 and postgres 7.2. If yes can he tell me the sample steps for the configuration. It would be of gr8 help to me. Thanks in advance. Awaiting your response. Cheers p2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885895#3885895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885895 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Generating source code in adition to class files
I think using a Java decompiler is a good idea. However, please don't say Javassist has a bug! if you see a decompiler fails to decompile the bytecode modified by Javassist. :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885899#3885899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885899 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JAAS/LDAP - retrieve user roles from ldap using ldaploginmod
Hi, Ldaploginmodule of Jboss does the authentication and authorization. (Sample code provided below) Assume that ldaploginmodule configured in auth.conf , users roles are configured in ldap. logincontext.login() -- This performs authentication with LDAP using ldaploginmodule, Also retrieves the roles assigned to that user and assign them to one of the ldaploginmodule attribute. These roles can be retrieved using gerRoleSets() method of ldaploginmodule. As the Client directly not interacting with ldaploginmodule instead this module has being called form logincontext class. Logincontext class does not provide methods to call gerRolesSet(). How to retrieve these user roles? does this retrieval using logincontext or any other alternate approach? Sample Code: try { System.getProperties().setProperty(java.security.auth.login.config,TestConnect.class.getClassLoader().getResource(ldap.conf).toExternalForm()); LoginContext loginContext = new LoginContext(ldapClient, new UsernamePasswordCallbackHandler(username, password)); loginContext.login(); // How to retrieve the user roles from ldaploginmodule } catch (NamingException e) { e.printStackTrace(); } catch (RemoteException e) { e.printStackTrace(); } catch (CreateException e) { e.printStackTrace(); } catch (LoginException e) { e.printStackTrace(); } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885913#3885913 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885913 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.
Tracking it down a bit further with a couple more alterations. It now appears as if they sort of hook up, but not quite. The first server to start says: | 2005-07-21 15:27:34,415 INFO [org.jboss.cache.TreeCache] locking the tree to obtain transient state | 2005-07-21 15:27:34,422 INFO [org.jboss.cache.TreeCache] returning the transient state (24213 bytes) | While the second server to start says: | --- | GMS: address is 10.0.10.10:32818 | --- | 2005-07-21 15:25:42,824 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [10.0.10.50:32807, 10.0.10.10:32768, 10.0.10.10:32771, 10.0.10.10:32774, 10.0.10.10:32777, 10.0.10.10:32780, 10.0.10.10:32781, 10.0.10.10:32782, 10.0.10.10:32783, 10.0.10.10:32784, 10.0.10.10:32785, 10.0.10.10:32786, 10.0.10.10:32787, 10.0.10.10:32788, 10.0.10.10:32789, 10.0.10.10:32790, 10.0.10.10:32791, 10.0.10.10:32792, 10.0.10.10:32793, 10.0.10.10:32794, 10.0.10.10:32795, 10.0.10.10:32796, 10.0.10.10:32797, 10.0.10.10:32798, 10.0.10.10:32799, 10.0.10.10:32800, 10.0.10.10:32801, 10.0.10.10:32802, 10.0.10.10:32803, 10.0.10.10:32804, 10.0.10.10:32805, 10.0.10.10:32806, 10.0.10.10:32807, 10.0.10.10:32808, 10.0.10.10:32811, 10.0.10.10:32814, 10.0.10.10:32817, 10.0.10.10:32818] | 2005-07-21 15:25:47,836 INFO [org.jboss.cache.TreeCache] received the state (size=30 bytes) | Are these now correctly hooked up? How do I configure jboss-cache and hibernate to replicate state to two seperate databases on the two seperate servers? I recall reading that you should not use CacheLoaders with hibernate, however the documentation of Jboss-cache seems to imply that you get replication into databases using CacheLoaders? Thanks, James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885915#3885915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885915 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error
Binario, I configure the hibernate setup in the springframework. The hibernate properties set are: | property name=hibernateProperties | props | prop key=hibernate.dialectorg.hibernate.dialect.FirebirdDialect/prop | prop key=hibernate.show_sqltrue/prop | prop key=hibernate.cache.provider_classorg.hibernate.cache.TreeCacheProvider/prop | prop key=hibernate.treecache.mbean.object_nameVicopCache/prop | prop key=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/prop | prop key=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/prop | /props | /property | Hope this helps, James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885916#3885916 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885916 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - How to bind the Object
I have an RemoteObject which bounds to JBoss AS as XYZServer from Standalone java Application. | public interface PBORequest extends Remote, Referenceable | { | public static final int SERVER_RUNNING = 0; | public static final int SERVER_SHUTDOWN_AND_RESTART = 1; | public static final int SERVER_SHUTDOWN_AND_EXIT = 2; | | | } | | public class PBORequestServer implements PBORequest | { | private Connection cn = null; | private InitialContext ctx; | private DataSource ds; | private long lJobId; | private Properties configProps, configSettings; | private ThreadGroup pboThreadGrp, currThreadGrp, restartedJobThreadGrp; | private static Hashtable htThreadGrps = new Hashtable(); | .. | .. | | public Reference getReference() throws NamingException | { | return new Reference(PBORequestServer.class.getName()); | } | | public void startup() | { | Hashtable p = getContextProperties() | ctx = new InitialContext(p); | try | { | ctx.rebind(XYZServer, this); | } | } | private Hashtable getContextProperty() | { | Hashtable h = new Hashtable(); | h.put (Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | h.put(Context.PROVIDER_URL, localhost:1099); | return h; | } | } | Now we have a StatelessSessionBean deployed on JBoss AS, which lookup for this XYZServer as | private PBORequest getPBO() throws NamingException | { | PBORequest pbo = null; | try | { | Hashtable property = getContextProperty(); | InitialContext ic = new InitialContext(property); | Object obj = ic.lookup(XYZServer); | pbo = (PBORequest) obj; // Throws ClassCastException | } | catch (NamingException ne) | { | ne.printStackTrace(); |} |return pbo; | } | Now, while casting the obj in above code to PBORequest it gives a ClassCastException. Now, my question is : a) Why is the code throwing the ClassCastException. b) Since PBORequestServer contains InitialContext as an element which is not Serializable, so we cant extend Serializable to PBORequest class. Other wise the server gives the error while binding the PBORequestServer object to context that InitialContext not serialized. So, how to proceed with Referenceable Interface. That is , how to bind/lookup for the object. c) How NonSerializableFactory works? Can I use this, if my PBORequest doesn't extends Serializable/Referential? If yes, how?Is there any example given for bind/unbind/lookup/getObjectInstance for the remote object. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885917#3885917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885917 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error
Binario, Have you set a java:comp/UserTransaction Property? Is this what you have then been configuring as an mbean? -James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885920#3885920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885920 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - isolated war deployment with jboss
im trying to deploy a war inside an isolated ear file. the war file contains a struts application, inside the web-inf/lib folder are the following files: - struts-1.2.4.jar - jakarta-oro-2.0.8 - commons-validato-1.1.3 - commons-logging-1.0.2.jar - commons-fileupload-1.0.jar - commons-digester-1.5.jar - commons-collections-2.1.1.jar - commons-beanutils-1.6.jar deployment is ok. but when i access a .do url, it says ClassNotFoundException according my ActionServlets. but in the jmx console i can check, that they are successfully loaded View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885919#3885919 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885919 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: poor man's cache invalidation solution?
This did work. I was able to define a regions by server node in the treecache.xml and dynamically control their properties at configuration time in a derived LRUPolicy class. Expiration for regions other than the one whose prefix matched the server node's name were set to 1 second. I also overrode Hibernate's TreeCache class so that updates would do a remove across remote regions, i.e. invalidation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885922#3885922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885922 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Replicating new items
Hi, I have now managed to configure my firewalls and servers to set up jboss-cache correctly. When I modify an item, it gets modified in both databases, this is brillliant!! However, when I add a new item on one database it does appear to get replicated to the other database. Can this be configured? Thank you for all of your help. -James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885928#3885928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885928 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Changing password for DataSource
I was trying to change a password for a DataSource 'DefaultDS' in the hsqldb-ds.xml file. After I change the password from default to something meaningfull, I get a lot of errors during the start-up. Here is the top-level error: 2005-07-18 17:14:33,664 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access is denied) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:396) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:299) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:448) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:957) at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(GeneralPurposeDatabasePersistencePlugin.java:92) at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:96) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:908) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272) at $Proxy34.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228) at
[JBoss-user] [Installation, Configuration Deployment] - java2ParentDelegation and class loading isolation for EJB
Hi What is the functionality of java2ParentDelegation in below jboss-app.xml. | ?xml version=1.0? | jboss-app | loader-repository | coa.akuratus.com:loader=coA.ear | loader-repository-config | java2ParentDelegation=false | /loader-repository-config | /loader-repository | | /jboss-app | I need class loading isolation for log4j in my ear file which contains 1 war and 1 ejb jar file. Structure is as below myapp.ear ---META-INF --application.xml --jboss-app.xml ---myapp.war ---mymdb.jar now if i set java2ParentDelegation to false my EJB is not get loaded it throws follwoing exception anonymous wrote : | 2005-07-20 17:36:25,140 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation: | Bean : MyMDB | Section: 15.7.4 | Warning: The message driven bean must declare one onMessage() method. | | 2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true | 2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false | 2005-07-20 17:36:25,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true | 2005-07-20 17:36:25,140 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss/jboss-4.0.2/server/default/deploy/myapp.ear/mymdb.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) if i set java2ParentDelegation to true my EJB get loaded but there is no isloation the jboss logging configuration is overridden and all jboss logging is done my own logging file. Can you please help me how to set class loading isolation for ear which cnotains ejb and war files and how we configure log4j for EJB. Thanks Regards, Umesh View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885931#3885931 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885931 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - puzzles about load balancing and failover of JBoss cluster
I just go through the book 'jboss clustering', but still have several questions related with the load balance and session bean failover capabilities of JBoss cluster. 1) It seems that JBoss cluster cannot balance running process, for example, I have a two-node (A and B) cluster (my EJB running on both with clustered configuration), and three same client requests from third computer C are leveled with ?Round-Robin? policy, two in node A and one in node B. If I kill node A (Ctrl+c), all processes in A are transferred to B seamlessly. However, after I restart A and let A successfully join back to the cluster, all process running in B still remain there. Seems that JBoss cluster cannot migrate running process back. I just wonder that my conclusion is right or not, maybe I have missed some configuration? 2) Here is my understanding about session bean failover: If we kill a server (say, node A) by ?Ctrl+c? or shutting down its OS normally, the OS of dying node will send out a specific message to other nodes, this message mark A as ?dead?. Thus other nodes will immediately know its death and take over the session running on the dead node. My question is that: does the ?smart proxy? in client side also capture and use this message? My guess is that: the ?smart proxy? does not need this message. When node A is unreachable, the interceptor will capture a RMI call exception, then the proxy will elect another target node and forward its RMI call to the new target node, the new node will take over the session and give back the response and new view of the cluster. If my understanding is right, every time the proxy capture a RMI call exception, it will forward its RMI call to another target node immediately, then no matter what kind of failure of A, there should be a very short time delay to failover a session. But we found a problem described in my question 3) 3) Still suppose we have a two nodes cluster (A and B), and if we unplug the network cable of A, there will be no signal that can be sent to B to mark A as ?dead?. Node B cannot identify A as a ?dead? member immediately, because it is hard to immediately tell between the network traffic jam and an unplug event. Basically node B will try several times to ping node A till ?time out? to verify its suspect of node A?s death. With default ?time out? configuration in ?cluster-service.xml?, it may take minutes to failover a session. I have decreased those timeout parameters and number of re-try included in tag, also set the ?shun? attribute of ?pbcast.GMS? to ?True?. From log info, we know that node B can immediately detect the death of A, but it still take another 20~30 seconds to failover the session to B. So I feel puzzled, if the failover is exclusively handled by proxy in client side as I described above, there should not have such a time delay (even node B don?t know A is dead). 4) My last question, suppose we have a extreme case, client make a RMI call to node A at t=0, and this RMI call will take 100min to finish the computation, then at t=2min, node A crush, then what will happen now? Can this also be failover to node B without restart this RMI call? The computation in node A can be continued in node B? I am not sure my question is clear and right, and I guess that maybe I still have wrong understanding of the mechanism of JBoss cluster. Any help will be highly appreciated, thanks a lot! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885914#3885914 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885914 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Problem with client and server Date with JMS over HTTPS
I have this problem: JMS is deploy on Jboss 3.2.3 server side. Client side i have Jboss 3.2.3 that connects to the queues on the server. The connection is HTTPS with SSL autentication (HTTPSUIL2). If client and server machine date are different of more than about 15 minutes the client is able to send the msg to thw server but it can't receive it without giving errors. The server instead is able to receive and send msg without problems. Where is the problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885933#3885933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885933 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to use MS SQL Server auto generated keys.
Hi, I have sqlserver 2000 so I need to use mssql-get-generated-keys I added the following to standardjbosscmp-jdbc.xml entity-command name=mssql-get-generated-keys class=org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand/ and in my beans I added * @ejb:pk class=java.lang.Integer * generate=false * @jboss.unknown-pk class=java.lang.Integer * auto-increment=true * * @jboss.entity-command name=mssql-get-generated-keys but when I try to deploy I get the error 19:49:53,002 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=cmr.MarketingRequestItemShipmentsLocalHome,service=EJB org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:61) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:279) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:67) Where can I find the missing files? and am I missing some setup. Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885934#3885934 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885934 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss and Serial Port Access
After doing some searching on the forums I have found a few threads that address my issue but they are several years old. Also the information about the solution given in the threads does not make much sense to me as I am a JBoss newbie. (Some of the following is copied from a previous thread.) I have a simple standalone application that uses JAVA Comm 2.0 to communicate with a serial port device. When I tried to port the application to a web app deployed in an WAR file calling: CommPortIdentifier.getPortIdentifiers() returns null rather than a list of ports. I do not get any Class Definition Errors. So I am assuming that JBoss can see all the appropriate Jar files, libraries, etc. At the moment it seems like a potential solution is to take my standalone app and change it so it has RMI access. Then hopefully I can send commands using RMI to the standalone app from inside my JBoss web app. Does anyone have any suggestions, comments, or examples on how to send data to the serial port from a JBoss Application? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885935#3885935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885935 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Durable Subscription Authentication
I am trying to get durable scription working for a topic that I created so that I can have guaranteed message delivery. The problem is that I am stuck trying to authenticate using the mdb-user and mdb-passwd in jboss.xml. How do I setup the users/roles? I know that I somehow need to use JAAS for this. I'm using mysql for my datasource. Is there any documentation or instruction in Wiki that I am missing? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885937#3885937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885937 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to use MS SQL Server auto generated keys.
Hi, I found the problem. It is I have to use @jboss.entity-command name=mssql-fetch-key and not @jboss.entity-command name=mssql-get-generated-keys and I do not need to change any of the other files. Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885938#3885938 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885938 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: cannot use mssql-get-generated-keys
Hi, I found the problem. It is I have to use @jboss.entity-command name=mssql-fetch-key and not @jboss.entity-command name=mssql-get-generated-keys and I do not need to change any of the other files. Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885939#3885939 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885939 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Classloading: Using isolation and accessing global libra
Hi karink, I am facing the same issue. I want to configure log4j for my ear file, which contains 1 ejb jar file and one war file. I am able to configure for war file but not for EJB. the EJB always uses the JBoss logger. Can you please help me and if possible send your sample containing ejb and war file Many Thanks, Umesh View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885940#3885940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885940 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found
Just out of curiosity, wanted to know, whether this is a common known problem. Has anyone faced this problem while running a standalone client and trying to do a JAAS login to access some ejb resource. If yes, is creating your own implementation of Configuration the only solution to this? Would like to know whether there is any other solution Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885941#3885941 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885941 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Proxy Collection classes and node locking
Hey. I was wondering if anyone knows how does TreeCacheAOP manage locks for aspectized collection classes. Basically I want to put a large map on the cache, and then use the apectized map. I'm expecting heavy reads and non freequent write to the map. As performence is critical, I need the locking to be on the current key that is modified, and not on the whole map. Is this the case? BTW, another question: is there any way to run over all the map elements using an iterator without locking the whole map? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885936#3885936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885936 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Durable Subscription Authentication
Look at the login-config.xml in the conf directory. I set it up in a matter of minutes. I used tables in MySQL and it worked great. | !-- Security domain for JBossMQ -- | application-policy name = jbossmq |authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = unauthenticatedIdentityguest/module-option | module-option name = dsJndiNamejava:/MyDS/module-option | module-option name = principalsQuerySELECT pwd as PASSWD FROM Player WHERE username=?/module-option | module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM Player_ROLES WHERE username=?/module-option | /login-module |/authentication | /application-policy | -Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885949#3885949 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885949 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Adding SecurityConf to Dynamically created topic
I have been able to create a TopicMBean in code but i haven ot been able to get access to it becuase I can not authenticate against it. I would imagine that is becuase it doesn't have a SecurityConf. Here's what I did. | private void registerTopic(String topicname) | throws MalformedObjectNameException, Exception { | createDestination(org.jboss.mq.server.jmx.Topic, | getTopicObjectName(topicname), topic/ + topicname); | } | | private ObjectName getTopicObjectName(String name) | throws MalformedObjectNameException { | | return new ObjectName(jboss.mq.destination:service=Topic,name= + name); | } | | protected void createDestination(String type, ObjectName name, | String jndiName) throws Exception { | | if (logger.isDebugEnabled()) { | logger.debug(Attempting to create destination: + name | + ; type= + type); | } | MBeanServer server = MBeanServerLocator.locateJBoss(); | server.createMBean(type, name); | server.setAttribute(name, new Attribute(DestinationManager, | new ObjectName(jboss.mq:service=DestinationManager))); | | server.setAttribute(name, new Attribute(SecurityManager, | new ObjectName(jboss.mq:service=SecurityManager))); | | server.setAttribute(name, new Attribute(SecurityConf, getSecurityconf())); | server.setAttribute(name, new Attribute(JNDIName, jndiName)); | | TopicMBean tmb = (TopicMBean)MBeanServerInvocationHandler.newProxyInstance(server, name,TopicMBean.class,false); | tmb.start(); | } | | | private Element getSecurityconf() throws SAXException, IOException{ | Element el = null; | StringBuffer securityConfStr = new StringBuffer(); | securityConfStr.append(security); | securityConfStr.append( role name=\publisher\ read=\true\ write=\true\ create=\false\/); | securityConfStr.append( role name=\durpublisher\ read=\true\ write=\true\ create=\true\/); | securityConfStr.append(/security); | | DOMParser parser = new DOMParser(); | parser.parse(securityConfStr.toString()); | Document doc = parser.getDocument(); | el = doc.getDocumentElement(); | return el; | } | How ever I get the following Exception, no protocol [then is spits out the XML I put in the Element]. Any help? Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885950#3885950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885950 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.
Have you been able to get a securityConf Associated with this Queue? I'm trying to do the same thing with a Topic. But I haven I cannot authenticate. -Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885952#3885952 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885952 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Could not create connection !!
HI Everybody, I am new bie to JBoss and I am trying to connect Oracle and having some problems, would appreciate if somobody can respond urgently. I have ojdbc14.jar in WEB-INF/lib diretory Here are my app-ds.xml file code: local-tx-datasource jndi-nameTEST_CONN/jndi-name use-java-contextfalse/use-java-contextconnection-urljdbc racle:thin:@dev:1521:test_dev/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class connection-property name=autoCommitfalse/connection-property user-namesysadmin/user-name sys_admin blocking-timeout-millis5/blocking-timeout-millis !-- Checks the Oracle error codes and messages for fatal errors -- exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name new-connection-sqlselect * from dual/new-connection-sql /local-tx-datasource web.xml --file code: resource-ref Test Database Connection Pool res-ref-namejdbc/TEST_CONN/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth/resource-ref Here is the code by which I am trying to get the connection: code: private Context getInitialContext() throws NamingException { Context ctx = new InitialContext(); return ctx; } code: try {ds = (javax.sql.DataSource) getInitialContext().lookup( TEST_CONN);System.out.print(ds** + ds); } catch (Exception e) {e.printStackTrace(); throw new RuntimeException(cannot get database pool, e);} try{Connection localConnection = ds.getConnection(); System.out.println(localConnection + localConnection); }catch(SQLException e){e.printStackTrace(); }finally {try { if (localConnection != null) localConnection.close(); }catch (SQLException e) { log.error(e); } Here is the error: 10:37:59,262 INFO [STDOUT] ds**org.jboss.resource.adapter.jdbc.WrapperD [EMAIL PROTECTED] 10:37:59,402 WARN [JBossManagedConnectionPool] Throwable while attempting to ge t a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: oracle.jdbc.driver.OracleDriver, url: jdbc racle:thin:@dev:1521:test_dev at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c reateManagedConnection(LocalManagedConnectionFactory.java:161) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr eateConnectionEventListener(InternalManagedConnectionPool.java:508) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge tConnection(InternalManagedConnectionPool.java:207) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP ool.getConnection(JBossManagedConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage dConnection(BaseConnectionManager2.java:395) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo nnection(TxConnectionManager.java:297) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC onnection(BaseConnectionManager2.java:447) at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio nManagerProxy.allocateConnection(BaseConnectionManager2.java:874) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp erDataSource.java:103) at com.exelixis.plateloader.ProcessBarcodeAction.execute(ProcessBarcodeA ction.java:78) at org.apache.struts.action.RequestProcessor.processActionPerform(Reques tProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja va:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116 4) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885954#3885954 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885954 --- SF.Net
[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.
Here's the code I'm using: | private void registerTopic(String topicname) | throws MalformedObjectNameException, Exception { | createDestination(org.jboss.mq.server.jmx.Topic, | getTopicObjectName(topicname), topic/ + topicname); | } | | private ObjectName getTopicObjectName(String name) | throws MalformedObjectNameException { | | return new ObjectName(jboss.mq.destination:service=Topic,name= + name); | } | | protected void createDestination(String type, ObjectName name, | String jndiName) throws Exception { | | if (logger.isDebugEnabled()) { | logger.debug(Attempting to create destination: + name | + ; type= + type); | } | MBeanServer server = MBeanServerLocator.locateJBoss(); | server.createMBean(type, name); | server.setAttribute(name, new Attribute(DestinationManager, | new ObjectName(jboss.mq:service=DestinationManager))); | | server.setAttribute(name, new Attribute(SecurityManager, | new ObjectName(jboss.mq:service=SecurityManager))); | | server.setAttribute(name, new Attribute(SecurityConf, getSecurityconf())); | server.setAttribute(name, new Attribute(JNDIName, jndiName)); | | TopicMBean tmb = (TopicMBean)MBeanServerInvocationHandler.newProxyInstance(server, name,TopicMBean.class,false); | tmb.start(); | } | | | private Element getSecurityconf() throws SAXException, IOException{ | Element el = null; | StringBuffer securityConfStr = new StringBuffer(); | securityConfStr.append(security); | securityConfStr.append( role name=\publisher\ read=\true\ write=\true\ create=\false\/); | securityConfStr.append( role name=\durpublisher\ read=\true\ write=\true\ create=\true\/); | securityConfStr.append(/security); | | DOMParser parser = new DOMParser(); | parser.parse(securityConfStr.toString()); | Document doc = parser.getDocument(); | el = doc.getDocumentElement(); | return el; | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885953#3885953 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885953 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss
For the record it doesn't have to be a Session bean that implements a Schedulable. It can be a POJO. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885955#3885955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885955 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
Your connection-url should be: connection-urljdbc:oracle:thin:@dev:1521:test_dev/connection-url In your case, the jdbc:oracle is missing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885957#3885957 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885957 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - What should be my provider url for EJB lookup
Hi, I am creating a initialcontext with the following |Hashtable props = new Hashtable(); | props.put(Context.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | props.put(Context.PROVIDER_URL, | jnp://localhost:8080); | props.put(Context.URL_PKG_PREFIXES, | org.jboss.naming:org.jnp.interfaces); | | | return new InitialContext(props); | My JBoss is runniing on port 8080 when I use this context to do a lookup I get the error | 11:30:55,203 INFO [STDOUT] java.lang.Exception: Couldn't find MRManagerSession home class in JNDI | 11:30:55,203 INFO [STDOUT] at mr.massconnections.client.MarketingRequestService.getMRManagerSession(MarketingReques | tService.java:118) | 11:30:55,203 INFO [STDOUT] at mr.massconnections.client.MarketingRequestService.createRequest(MarketingRequestServi | ce.java:40) | 11:30:55,203 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:30:55,203 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:30:55,203 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | When I create a InitialContext with no parameter InitialContext ic = new InitialContext(); then the lookup works fine. I tried to see the values in the context Key: java.naming.factory.initial Val: org.jnp.interfaces.NamingContextFactory Key: java.naming.factory.url.pkgs Val: org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces I am not sure what the provider url should since it is not in the key value pair. Can anyone tell me where I am going wrong Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885958#3885958 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885958 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: What should be my provider url for EJB lookup
Hi, Ok I found the problem, my url should have port 1099 and not 8080. DUH!! Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885959#3885959 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885959 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
I am sorry I think there was some problem in pasting the error: I have the correct url: connection-urljdbc:oracle:thin:@dev:1521:test_dev/connection-url I dont understand whats wrong with this url?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885960#3885960 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885960 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - High memory usage after deploying many EJBs
Hello! My company is currently evaluating JBoss and considering supporting it in addition to WebLogic and WebSphere. I'm a big fan of OSS (and the lack of per-CPU licensing), so I'm motivated to get this working. The problem we're currently experiencing is high memory usage after deploying our application. Our application is made of a main .ear file which contains about 1090 beans - some session session beans and a lot of EJBs. I'm monitoring the memory usage using verbosegc and prior to deploying this .ear file, the memory usage is about 90MB. After deployment about 990MB is in use. Our max heap size is 1100MB, so there isn't much room left for doing actual work. Since we're running with JRockit 1.4.2_05 on Linux, I'm not able to reliably allocate a heap larger than this. We also started up with the IBM JDK, so we could use their HeapAnalyzer tool to verify the memory usage. It showed that almost all of the memory allocated in the heap was for bean deployment. Is anyone else deploying this many beans and if so, are you experiencing the same memory usage? On other platforms, after deployment, we utilize about 350MB in WebLogic and about 450MB in WebSphere. All help is appreciated. Thanks, Chris Plough View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885961#3885961 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885961 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: High memory usage after deploying many EJBs
I'm sure it would help if I gave information on our test environments where we've seen this issue: App Server: JBoss 4.0.2 JDKs: JRockit 1.4.2_05 Sun 1.4.2_08 IBM 1.4.2 cxia32142sr1a-20050209 Platforms: Red Hat ES 3.0 SUSE ES Linux 9.1 Windows XP SP2 Thanks, Chris Plough View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885962#3885962 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885962 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Domino LDAP
Has anyone got the JBoss LdapLoginModule to work with Lotus Domino? If so please let me know how set up your parameters. Authenticating has been straight forward but I am unable to get a list of groups. But maybe someone can help with the LdapLoginModule module parameters. Basiclly this the search filter I want: ((object=dominoGroup)(member=%d)) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885964#3885964 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885964 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Dynamically-Reconfigurable Interceptor Core with Remote Acce
Hi, I'm trying to develop a dynamically-reconfigurable class which is to be used within JBoss by my own custom EJB Interceptors and Axis Handlers. I'm also wanting to create the class in such a way that it can have its internal configuration objects updated from a remote location. Having read through the forums/docs I'm under the impression that one way to dynamically update such an Interceptor would be to expose a suitable management interface through an MBean - or even a simple session bean - with the necessary update methods, but I'm unclear as to how to link such an interface to the core logic within my Interceptors/Handlers. For instance, part of the core will rely on, say, a HashMap of configuration parameters, and if further entries are to be dynamically added to this HashMap via a Service MBean/EJB method, is it a simple task to have this HashMap shared between both the Bean and the Interceptor/Handler core? Would the relevant configuration objects need to be shared/accessed across JNDI or something similar? I imagine another approach is to simply create an RMI service within the Interceptor's core logic, and have the remote system communicate directly with that. However, having used JBoss for a few years now something tells me that this would perhaps not be the best approach with respect to the various layers of management etc. ... am I right in thinking this? If anyone can simply steer me in the right direction it would be very much appreciated, Simon P.S. At this time I have no security/transaction requirements etc. with respect to remote access, I simply want a means to communicate updates to the developed system as a proof of concept. Also, I'm not tied to any version of JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885966#3885966 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885966 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
Are you using the correct classes12.jar file View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885963#3885963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885963 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: log4j and JMS appender
I added this depends statement to my Log4JService mbean code: dependsjboss.mq.destination:service=Topic,name=CSEEventLogServiceQueue/depends which comes from the jbossmq-destinations-service.xml and is the topic for my JMS appender. However, I'm still getting this error: 14:07:06,562 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | log4j:ERROR Could not find name [java:/ConnectionFactory]. | log4j error: Error while activating options for appender named [JMS]. | javax.naming.NameNotFoundException: ConnectionFactory not bound Am I using the wrong mbean in the depends statement? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885970#3885970 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885970 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
I was using ojdbc14.jar file in the lib file...I deleted that jar file and copied the classes12.jar ..but now iam getting this new error.. its unrelated error to my class 13:16:19,052 INFO [WebappClassLoader] Illegal access: this web application inst ance has been stopped already. Could not load org.hsqldb.jdbcDriver. The event ual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. 13:16:19,052 WARN [JBossManagedConnectionPool] Throwable while attempting to ge t a new connection: null java.lang.ThreadDeath at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1221) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1181) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at java.sql.DriverManager.getCallerClass(DriverManager.java:440) at java.sql.DriverManager.getDrivers(DriverManager.java:336) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:294) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c reateManagedConnection(LocalManagedConnectionFactory.java:151) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr eateConnectionEventListener(InternalManagedConnectionPool.java:508) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge tConnection(InternalManagedConnectionPool.java:207) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP ool.getConnection(JBossManagedConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage dConnection(BaseConnectionManager2.java:395) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo nnection(TxConnectionManager.java:297) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC onnection(BaseConnectionManager2.java:447) at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio nManagerProxy.allocateConnection(BaseConnectionManager2.java:874) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp erDataSource.java:103) at com.exelixis.plateloader.ProcessBarcodeAction.execute(ProcessBarcodeA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885972#3885972 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885972 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB3Trail.ear fails on 4.0.3RC1
I'm getting the exact same error message with the same version running on Windows XP. Failed to find module file: entities.par I checked EJB3Trail.ear and the file is there. Was anyone able to resolve this? Thanks, Evan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885973#3885973 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885973 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - java.lang.NoClassDefFoundError when deploying as ear
I have transformed my deploy-code to incorporate ajb3 and does therefore deploy as ear-file where I earlier deployed as a war-file. I now receive this NoClassDefFoundError and I earlier did not receive this: 2005-07-21 20:24:50,403 ERROR [ApplicationDispatcher.java - 704] Servlet.service() for servlet jsp threw exception java.lang.NoClassDefFoundError... The classname which is stated in the trace is commonly used (not among the different jar files containing ejb's - ejb3, par) and I was wondering if this is a common problem for people like me (who don't know the ejb/par-environment). I am also looking for a way to see what was trying to be executed when the error occured. As the log file states: [ApplicationDispatcher.java - 704] Servlet.service() for servlet jsp threw exception, so that is obvious... But what code did this code try to run? The class which can't be found is part of the web-inf/classes directory in the war-file but it is not located. Is JBoss especting to find the file elsewhere? Regards from baffled View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885974#3885974 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885974 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Embed JBoss?
HI, Is there anyway to embed JBoss into the same VM as a Swing application? We are working on a product here that needs to run both against an app server on a remote server, as well as a single, stand alone application. Thanks, David View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885975#3885975 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885975 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Adding SecurityConf to TopicMBean
I'm not possitive this is what I need to do but it makes sense. I'm dynamically creating a topic at runtime. It shows up in the jmx-console and is started however when I try to connect to it I get an Exception that states its unable to authenticate. So I added some additonal code that I thought should work, since i cannot find any examples. But now I get and Exception at creation time that states no protocol : The contents of my Security node I added The code is listed below that I used trying to attempt the adding of the SecurityConf Element attribute. i'm adding the code for the complete creation of the topic as well. | private void registerTopic(String topicname) | throws MalformedObjectNameException, Exception { | createDestination(org.jboss.mq.server.jmx.Topic, | getTopicObjectName(topicname), topic/ + topicname); | } | | private ObjectName getTopicObjectName(String name) | throws MalformedObjectNameException { | | return new ObjectName(jboss.mq.destination:service=Topic,name= + name); | } | | protected void createDestination(String type, ObjectName name, | String jndiName) throws Exception { | | if (logger.isDebugEnabled()) { | logger.debug(Attempting to create destination: + name | + ; type= + type); | } | MBeanServer server = MBeanServerLocator.locateJBoss(); | server.createMBean(type, name); | server.setAttribute(name, new Attribute(DestinationManager, | new ObjectName(jboss.mq:service=DestinationManager))); | | server.setAttribute(name, new Attribute(SecurityManager, | new ObjectName(jboss.mq:service=SecurityManager))); | | server.setAttribute(name, new Attribute(SecurityConf, getSecurityconf())); | server.setAttribute(name, new Attribute(JNDIName, jndiName)); | | TopicMBean tmb = (TopicMBean)MBeanServerInvocationHandler.newProxyInstance(server, name,TopicMBean.class,false); | tmb.start(); | } | | | private Element getSecurityconf() throws SAXException, IOException{ | Element el = null; | StringBuffer securityConfStr = new StringBuffer(); | securityConfStr.append(security); | securityConfStr.append( role name=\publisher\ read=\true\ write=\true\ create=\false\/); | securityConfStr.append( role name=\durpublisher\ read=\true\ write=\true\ create=\true\/); | securityConfStr.append(/security); | | DOMParser parser = new DOMParser(); | parser.parse(securityConfStr.toString()); | Document doc = parser.getDocument(); | el = doc.getDocumentElement(); | return el; | } | | Thanks in advance, Michael PS I am aware I have a similar post in JMS forum, I realized that I should have probably posted it here. sorry for the cross post. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885976#3885976 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885976 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Access MSN Messenger from JBoss?
Does anybody know of any libraries or services that support the idea of sending MSN Messenger messages from a JBoss session? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885983#3885983 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885983 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !! - can any body respond pl
can any body respond please !! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885986#3885986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885986 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
Where is the *-ds.xml being deployed to? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885990#3885990 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885990 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Document management functionality?
I am so ashamed... I read that article only minutes after it was in the rss and I totally forgot the what it was about ..shame shame shame. I promise to remember the content of future blogs. If you guys have any idea about a basic process for a DMS, let me know, maybe I can help to design one. Besides that, I'm also interested in integrating the usermanagement of the portal into jBPM...and well, to little time, maybe I should go and work for a professional opensource company, or convince my current employer to go for a different solution and spend money on developers who can work on opensource projects instead of paying big closed source companies View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885991#3885991 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885991 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
Its been deployed to .. C:\jboss-4.0.2\server\default\deploy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885992#3885992 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885992 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Document management functionality?
nope, not ashamed. I thought it was your previous article. I'll read this one soon. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885993#3885993 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885993 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Sql Server type Money
Hi, How do I map the sql server datatype Money. Currently in Standardjaws.xml BigDecimal is mapped to varchar(256). Can I change it to Money, I do know if this is supported? Can anyone point me in the right direction Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885980#3885980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885980 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - What should I use to Map Money from SQL server
Hi, How do I map the sql server datatype Money. I am using BigDecimal (in weblogic it maps to money) Currently in Standardjaws.xml BigDecimal is mapped to varchar(256). Can I change it to Money, I do know if this is supported? Can anyone point me in the right direction Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885995#3885995 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885995 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Problem in deployment
META-INF/ META-INF/MANIFEST.MF scl.war scl.jar src/META-INF/application.xml get rid of the src in front of your application.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885996#3885996 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885996 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS migration from WLS to JBoss 4
look in the jndi tree in the webconsole to see if the PBOLogQueueConnectionFactory is in there. Could be that you ran into the (to?) flexible jndi naming usage of WLS. JBoss is more strict so the actual name could be something different than you think. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885997#3885997 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885997 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
Try putting the JDBC jar in: - C:\jboss-4.0.2\server\default\lib View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885999#3885999 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885999 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
I copied classes12.jar to C:\jboss-4.0.2\server\default\lib, now iam getting connection refused error ..i think i will go mad with this errors... | | 14:45:11,484 INFO [STDOUT] DatasSourceorg.jboss.resource.adapter.jdbc. | [EMAIL PROTECTED] | 14:45:12,516 WARN [JBossManagedConnectionPool] Throwable while attempting to ge | t a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested | throwable: (java.sql.SQLException: Io exception: Connection refused(DESCRIPTION | =(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4) | | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c | reateManagedConnection(LocalManagedConnectionFactory.java:161) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr | eateConnectionEventListener(InternalManagedConnectionPool.java:508) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge | tConnection(InternalManagedConnectionPool.java:207) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP | ool.getConnection(JBossManagedConnectionPool.java:534) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage | dConnection(BaseConnectionManager2.java:395) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo | nnection(TxConnectionManager.java:297) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC | onnection(BaseConnectionManager2.java:447) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio | nManagerProxy.allocateConnection(BaseConnectionManager2.java:874) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp | erDataSource.java:103) | at com.exelixis.plateloader.ProcessBarcodeAction.execute(ProcessBarcodeA | ction.java:78) | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886000#3886000 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886000 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: problem upgrading 3.2 to 4.0.2, security manager config
I investigated as much as I can and I found that JBoss's security config service is not loading the JNDI names of my application-policies from my login-config.xml at start-up. I ran the JBossJAAShowto example and that works fine, so I need to find the problem in what I am doing. When I use the jmx-console to check the JNDI entries, I see the following for my login-config.xml: | +- jaas (class: javax.naming.Context) | | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext) | | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext) | which is bizarre because I have only my own realm in login-context (GargantusRealm) and the obligatory HsqlDbRealm. I have searched for the JmsXARealm config in the JBoss directories, but found nothing. When I run the example app, JBoss loads example1 and example2 without problems, so I am at a loss. If I put badly-formed XML in my login-config.xml, then JBoss throws an exception, so I can see that it is reading the xml for my realm, it is just not loading it into the java:/jaas JNDI. Can anybody shine a little light on this? Thanks Adam View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886004#3886004 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886004 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Could not create connection !!
I solved the problem , connetion refused error is bcz ..my DBA changed the port number, thanks for ur help... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886005#3886005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886005 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ from Microsoft .Net Framework
genman, ever did a performance test of a good integrated messaging system vs webservices? We, in the company I work for, have for the moment banned webservices for internal use. To slow, to overhyped. See e.g. http://caffeine.berlios.de/site/resources/interop.html We use active jms with jbossMQ. Works great. Ronald View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886010#3886010 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886010 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Considering JBossMQ
If you can store the real content via other ways, outside of jms, and use the jms messages as triggers to process them, you could gain some performance. We, e.g. use a shared filesystem between two applications for storing the data but all triggering etc is done in jms/mdb's View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886011#3886011 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886011 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Timer Service in JBoss Clustered environment
Hi, I am trying to implement Timer Service provided by the EJB 2.1 specification. It looks good and meets my need. I am not clear about how it is supported or behaves in a clustered environment using JBoss 4.0.1. Any information on this will be appreciated. Thanks, Vinod View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886013#3886013 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886013 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB QL Problem
No, not the EJB-Name but the abstract-shcema-name! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885994#3885994 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885994 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss Service vs. EJB Application?
If by 'things' you mean concepts then yes, they are different things, but they are not exclusive of each other. An MBean is simply a management interface for the underlying object. The interface has been registered with a lookup facility (MBeanServer derivative). The object itself can be anything: POJO, EJB, etc. Sometimes the object itself provides the management code, sometimes it delegates that code to a separate object (for instance, a 'manager' object). I just recently looked at a document that described this better, but I can't seem to locate it again. *drat* Therefore, what I am referring to is an EJB that has registered itself as an MBean. If for instance, you had a small pool of stateful EJBs, you could monitor to see how many were in a certain state (like checking user activity across the application), or even allow you to reset that state. Obviously altering the lifetime of the EJB through the management interface would a bad thing, since you would be stepping the EJB containers toes, while wearing wooden shoes. Now, with JBoss services (which AFAIK, must be an MBean), there is a separate descriptor stating when these services are started up and in what order. I am guessing that these should not be coded as EJBs, since something other than the EJB container is controlling their lifetime. I hope this is somewhat clear, I think I even confused myself :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886017#3886017 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886017 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Generating source code in adition to class files
I will keep that in mind, that a decompiler might struggle with a manipulated bytecode. Thanks for the advice. For your interest Dennis Sosnoski, who as written about Javassist - I think you reference his articles, is talking about writting a library that can manipulate bytecodes and generate source. His application is the same as mine, i.e. he wants to use apt and has also had trouble debugging code for which no source exists. I think like me he is mainly interested in generating source from classes written from scratch, not from existing classes that have had their bytecode manipulated. Also people are developing plug-ins for IDEs that allow source manipulation, e.g. JackPot for Netbeans. I think people are working on ones for Eclipse and IdeaJ also. I assume all this interest is like myself, because of apt. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886020#3886020 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886020 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - javax.ejb.EJBException: Method is not a known CMP field acce
Hi, My entity bean create a DataObject for the row and returns it. The method I use is | mrLocal.getDataWrapper() | but when I call it from my session bean I get the error javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=getDataWrapper What should I set to make this work? Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886021#3886021 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886021 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Deserialized array is of size 1!!
Since no one has replied to my post yet, I chose to simplify the issue more. I am just trying to transport a custom bean having arrays of two different types. One of them is a string array. My webservice is an EJB with a test method to return an object of this custom bean and set its string array to contain four strings Hello, World, from and Web service The SOAP message sent to the client is as follows (from server log) | ?xml version=1.0 encoding=UTF-8? | soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | soapenv:Body | ns1:testWSArrayResponseResponse xmlns:ns1=http://mydatatype.mycompany.com; | testWSArrayResponseResponse | customerArray xsi:nil=1/ | stringArrayHello/stringArray | stringArrayWorld/stringArray | stringArrayfrom/stringArray | stringArrayWeb service/stringArray | timeStamp2005-07-21T23:47:16.224Z/timeStamp | /testWSArrayResponseResponse | /ns1:testWSArrayResponseResponse | /soapenv:Body | /soapenv:Envelope | | In the client, I just get one element in this array which contains a value Web service. How did the other four elements disappear? By the way, I am using JDK 1.4 for both the server and the client if 1.5 is to be blamed without any question. There is no error or even warning in the server log (set to DEBUG level) and still the client cannot get it right. What's this all about? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886022#3886022 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886022 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - java.lang.ClassCircularityError first time subscribe to jms
ENVIRONMENT:Windows 2000 SP4, JBossAS-4.0.1 Final, JDK 1.4.2_08 (I have not yet verified if this problem occurs on later versions of JBoss as our product currently only supports 4.0.1) DESCRIPTION First time my client connects to my jms server to create two jms subscriptions in quick succession I get the following server-side error. Subsequent subscriptions to the same running server work fine. Example 1 16:53:25,260 ERROR [SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.ReceiveMsg13684176[msgType: m_receive, msgID: 9, error: null] java.lang.ClassCircularityError: org/jboss/mq/selectors/Operator at org.jboss.mq.selectors.SelectorParser.comparisonExpression(SelectorParser.java:288) at org.jboss.mq.selectors.SelectorParser.conditionalExpression(SelectorParser.java:202) at org.jboss.mq.selectors.SelectorParser.selectorFactor(SelectorParser.java:167) at org.jboss.mq.selectors.SelectorParser.selectorTerm(SelectorParser.java:136) at org.jboss.mq.selectors.SelectorParser.selectorExpression(SelectorParser.java:114) at org.jboss.mq.selectors.SelectorParser.expression(SelectorParser.java:105) at org.jboss.mq.selectors.SelectorParser.parse(SelectorParser.java:58) at org.jboss.mq.selectors.SelectorParser.parse(SelectorParser.java:38) at org.jboss.mq.selectors.Selector.(Selector.java:74) at org.jboss.mq.Subscription.getSelector(Subscription.java:75) at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:433) at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:285) at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222) at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:673) at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:226) at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:100) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570) at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:149) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:534) Example 2 17:12:12,989 ERROR [SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.ReceiveMsg13628909[msgType: m_receive, msgID: 9, error: null] java.lang.ClassCircularityError: org/jboss/mq/selectors/Token at org.jboss.mq.selectors.SelectorParser.(SelectorParser.java:1422) at org.jboss.mq.selectors.SelectorParser.(SelectorParser.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.jboss.mq.selectors.Selector.(Selector.java:73) at org.jboss.mq.Subscription.getSelector(Subscription.java:75) at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:433) at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:285) at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222) at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:673) at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:226) at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:100) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570) at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:149) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:534) Looks like some sort of mulit threaded classloading bug to me. Interestingly if I slow my code down say by running it in debug mode and stepping through it there is no error. Its only if i run it at full speed it happens. This bug is a problem for the first guy that logs on as there is NO CLIENT SIDE EXCEPTION thrown to indicate the connection was unsuccessful. As far as they are concerned they are listening to the topic but they arent really I have posted this as bug http://jira.jboss.com/jira/browse/JBAS-2032 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886023#3886023 Reply to the post :
[JBoss-user] [JBoss Portal] - what is a SAR file? deployment question?
Hello, I searched google and Yahoo, but could not find defintion for SAR file. what kind of code need to be packaged as a SAR? For JBoss AS, everything is dropped in server/default/deploy. How does JBoss know which WAR/SAR belong to which application? Suppose I have a EAR file that has two web modules: WAR1 and WAR2. If a user access two JSPs, one in WAR1 and the other WAR2, do the two requests belong to one HttpSession? two ServletContext(s)? Thanks for explanation. javatwo View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886024#3886024 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886024 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: java.lang.ClassCircularityError first time subscribe to
I have verified this bug also occurs executing on JDK 1.5.0_04 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886027#3886027 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886027 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Proxy Collection classes and node locking
Yes, once you mapped it to TreeCacheAop, locking is performed on the indices level. Using the iterator won't lock the whole tree but it is not thread safe. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886030#3886030 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886030 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re:
If you are using CacheLoader you saying that you want the data to be persistent. In that case, only manually remove will do the trick. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886031#3886031 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886031 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user