aravind kopparthi [http://community.jboss.org/people/aravindsk] created the 
discussion

"Re: SLSB pool size is always one in jboss 6.0 CR1 using ejb 3.1"

To view the discussion, visit: http://community.jboss.org/message/572351#572351

--------------------------------------------------------------
thanks for this quick response. in the above process method i implemented a 
long running logic. just to test if the second timeout event in Startup bean 
calls second instance of slsb. but it did not.

File tmpdir = new File("/tmp");
File tmpfile = new File(tmpdir, "security.rar");
InputStream in = new java.io.FileInputStream(tmpfile);
BufferedInputStream fin = new BufferedInputStream(in);
 
File ofile = new File(tmpdir, "security.rar_"+new Date().getTime());
OutputStream o = new java.io.FileOutputStream(ofile);
BufferedOutputStream fout = new BufferedOutputStream(o);
   int i;
   do {
     i = fin.read();
     if (i != -1)
       fout.write(i);
   } while (i != -1);
   fin.close();
   fout.close();
                       File tmpdir = new File("/tmp");
 File tmpfile = new File(tmpdir, "security.rar");
 InputStream in = new java.io.FileInputStream(tmpfile);
 BufferedInputStream fin = new BufferedInputStream(in);
 
 File ofile = new File(tmpdir, "security.rar_"+new Date().getTime());
 OutputStream o = new java.io.FileOutputStream(ofile);
 BufferedOutputStream fout = new BufferedOutputStream(o);
     int i;
     do {
       i = fin.read();
       if (i != -1)
         fout.write(i);
     } while (i != -1);
     fin.close();
     fout.close();
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572351#572351]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to