[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.5: 100% CPU Utilization
What are your jboss start parameters ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850651#3850651 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850651 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - jpsc and charset
Hi all, I am doing a jsp precompilation (with ant and jspc) and almost all works, but when I edit the .java files I see that some characters (like , , etc) appears like = and so on... I think there isn't a jspc parameter to control this. So, where do you think this can be changed ? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850291#3850291 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850291 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: simple EJB stress test
Hi It was a Oracle Configuration problem all works now. Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842369#3842369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842369 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - simple EJB stress test
Hi all, I am working with jboss3.0.6-Tomcat4.1.18, in a windows 2000 P4 2.4Ghz 1Gb Ram, I am doing some stress to a jsp that calls an EJB method, the jsp looks like: | %@ page import=es.myPackage.*% | % | | try { | | javax.naming.InitialContext ctx = new javax.naming.InitialContext(); | ConstantHome constantHome = (ConstantHome)ctx.lookup(es.myPackage.Constant); | Constant constant = constantHome.create(); | java.util.Hashtable ht = (java.util.Hashtable)constant.findAll(); | | } catch (Exception ignoreThis) {} | | % The Constant EJB Class looks like: | package es.myPackage; | | public class ConstantBean implements javax.ejb.SessionBean { | | private javax.ejb.SessionContext context; | private java.sql.Connection con = null; | | public void setSessionContext(javax.ejb.SessionContext aContext) { | this.context=aContext; | } | | public void ejbActivate() { } | public void ejbPassivate() { } | public void ejbRemove() { } | public void ejbCreate() { } | | public java.util.Hashtable findAll() throws java.sql.SQLException { | java.util.Hashtable ht = new java.util.Hashtable(); | try { | | ht.put(lunes, monday); | ht.put(martes, tuesday); | ht.put(miercoles, wednesday); | | } catch(Exception e){ System.out.print(e); } | | return ht; | } | | } My tomcat41-service.xml config is: | [...] | Connector className=org.apache.coyote.tomcat4.CoyoteConnector |port=38080 minProcessors=5 maxProcessors=200 |enableLookups=false redirectPort=38443 |acceptCount=150 debug=0 connectionTimeout=-1 |useURIValidationHack=false disableUploadTimeout=true / | [...] I execute jboss with the -Xms50m -Xmx900m memory options. I stress the server with a run test of 1 minute, from 1 to 120 users. The server pass the stress test, but when trying to compile other application Jsps, the server falls in a: anonymous wrote : 10:51:49,385 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception | javax.servlet.ServletException | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) | at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) | at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) | at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) | at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) | at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) |
[JBoss-user] [Beginners Corner] - Re: JBOSS, JDBC, and BLOBs
Correct, arrayArchivo its the file byte array i want to load into database... Iam using Oracle 8.1.7. to load that blob into a LONG RAW field View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841170#3841170 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841170 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Too much JSPs ??
I was talking about normal jsp compilation (entering the jsp url and let the jboss do...) You can do a hard precompile with ant (javac) and declare jsp as servlets (with all the web.xml stuff). But i dont like to have about 2100 servlets Question: What kind of objets waste more memory in VM ?? I must be carefull only with connections, recordsets, preparedstatements ? I cant believe jboss cant server cant compile all jsp with navigator View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841229#3841229 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841229 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jndi llok up problem
Hi, can you post your ejb-jar.xml code ?? Its necessary for us to know whats wrong... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841042#3841042 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841042 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Too much JSPs ??
Hi, I use JBoss 3.0.6.-Tomcat 4.1.18 with jdk1.3.1_01, Oracle as DataBase and a EAR Aplication with 38 stateless session EJB and 1 statefull session EJB. in the web side we have a 2100 JSP... Jboss is in a P4 2.4Ghz, 1 Gb RAM, Windows 2000, Jboss runs with 512M for him but, its impossible to compile all the JSP without having out of memory errors. Do you know why Jboss wastes so much memory in compilation process and how i can avoid it ?? Thank you in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841064#3841064 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841064 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBOSS, JDBC, and BLOBs
I had a similar problem, i used a binary stream to load the images at the database, like: PreparedStatement prepStmt = null; | try { | | makeConnection(); | String strInsertSQL = INSERT INTO TABLEBLO (BLOINTNUM,BLO__FILE) VALUES (?,?); | prepStmt = con.prepareStatement(strInsertSQL); | | strIdentifier = getId(); // Getting new id | prepStmt.setString(1,strIdentifier); | | ByteArrayInputStream bais = new ByteArrayInputStream(arrayArchivo); | prepStmt.setBinaryStream(2, bais,arrayArchivo.length); | prepStmt.executeUpdate(); | | bais = null; strInsertSQL = null; | | } catch (Exception e) { whatever ); | } finally { | prepStmt.close(); | closeConnection(); | } I hope this helps you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841066#3841066 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841066 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user