RE: [OT]JSP Precompile in JBOSS

2004-05-05 Thread List
For tomcat I have some help - but the tomcat site has pretty good
documentation.  I am not sure about the precompile on startup.  I simply
build my web applications with precompiled pages and deploy using ant.
Really helps with a complex tiles built page.

http://www.calandva.com/holmansite/do/blog/blogging?cat=B 

Cal

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jesse Alexander (KXT)
Sent: Wednesday, May 05, 2004 4:06 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT]JSP Precompile in JBOSS

check JBoss-forums and more important:
JSP-compiling is done by the servlet-engine, so check Jetty or Tomcat-forums
as
well (depending on the JBoss-Version you use)

hth
Alexander

-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 4. Mai 2004 17:47
To: [EMAIL PROTECTED]
Subject: [OT]JSP Precompile in JBOSS


Hi,
Is there anyway I can configure JSP precompile in JBOSS startup? if
so can you help me how to configure the same.

Any help would be appreciated.

Thank you in advance,

Warm Regards,
Ramadoss


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



I Wondor Why Validation Doesn't Validate

2004-06-21 Thread Mailing List

Dear All,

I did the follow steps for setting validation, but there is no error on an
empty field checking 'chequeNumber' (see below plz).


1. Placing the validation.xml & validator-rules.xml in WEB-INF folder
2. In struts-config.xml : 
   a.   



b. 
  
 




 

c. 

3. In validation.xml : 

  




4. In Action: 

ActionErrors errors = dynaForm.validate(mapping, request);
  if (!errors.isEmpty()) {//this if is never true :(
saveErrors(request, errors);
return mapping.findForward("aForward");
}

5. In jsp:




I appreciate any help or idea.

Regards,
Nafise

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I Wondor Why Validation Doesn't Validate

2004-06-22 Thread Mailing List


-Original Message-
From: Mailing List 
Sent: Tuesday, June 22, 2004 1:47 PM
To: 'Struts Users Mailing List'
Subject: RE: I Wondor Why Validation Doesn't Validate

Dear Friends

Thank you very much for your attention; I checked both 'validate="true" '
and also 'empty spaces', they didn't solve the problem.
Actually the part of 'if (!errors.isEmpty())' returns false all the time(see
below, section 4).
My previous project is already working properly with 'validate="false"', but
this one :( 

Again any help would be appreciated

Thank you
Nafise


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 21, 2004 5:51 PM
To: Struts Users Mailing List
Subject: Re: I Wondor Why Validation Doesn't Validate

Nafise said:

> I did the follow steps for setting validation, but there is no error on an
> empty field checking 'chequeNumber' (see below plz).
>
>
> 1. Placing the validation.xml & validator-rules.xml in WEB-INF folder
> 2. In struts-config.xml :
>a. 
>  property="pathnames"
>   value="/WEB-INF/struts/validator-rules.xml,
>/WEB-INF/struts/validation.xml" />
>   
>
> b.   type="org.apache.struts.validator.DynaValidatorForm">
>
> 
>   
>   
>
>
>
>
> c.  type="com.pdpsoft.lms.struts.action.CreditStudentAction"
>name="CreditStudentForm" validate="false" scope="session"/>

I am aware that it is not what you want, but what happens if you set
validate="true"?

> 3. In validation.xml :
>
>   
>  property=" chequeNumber "
> depends="required">
> 
>   

Could the spaces in  and  4. In Action:
>
>   ActionErrors errors = dynaForm.validate(mapping, request);
>   if (!errors.isEmpty()) {//this if is never true :(
> saveErrors(request, errors);
> return mapping.findForward("aForward");
> }
> 5. In jsp:
>
>   

Best regards
Claus Nielsen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re[2]: I Wondor Why Validation Doesn't Validate

2004-06-22 Thread Mailing List

I've converted the property type to String, there's no difference.

Regards,
Nafise

-Original Message-
From: Pavlikus [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 22, 2004 5:36 PM
To: Struts Users Mailing List
Subject: Re[2]: I Wondor Why Validation Doesn't Validate


ML> Dear Friends

ML> Thank you very much for your attention; I checked both 'validate="true"
'
ML> and also 'empty spaces', they didn't solve the problem.
ML> Actually the part of 'if (!errors.isEmpty())' returns false all the
time(see
ML> below, section 4).
ML> My previous project is already working properly with 'validate="false"',
but
ML> this one :( 

ML> Again any help would be appreciated

ML> Thank you
ML> Nafise

Hi. I not very familiar with DynaForms... But in case of regular
Action Forms any resources I've read  suggest to define all form
fields as a Strings.

But you do:
form-property name="studentId" type="java.lang.Integer" />

May be this help you.
Also, correct me please if I be mistaken.


ML> -Original Message-
ML> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
ML> Sent: Monday, June 21, 2004 5:51 PM
ML> To: Struts Users Mailing List
ML> Subject: Re: I Wondor Why Validation Doesn't Validate

ML> Nafise said:

>> I did the follow steps for setting validation, but there is no error on
an
>> empty field checking 'chequeNumber' (see below plz).
>>
>>
>> 1. Placing the validation.xml & validator-rules.xml in WEB-INF folder
>> 2. In struts-config.xml :
>>a.> className="org.apache.struts.validator.ValidatorPlugIn">
>>  >  property="pathnames"
>>  value="/WEB-INF/struts/validator-rules.xml,
>>   /WEB-INF/struts/validation.xml" />
>>  
>>
>> b. > type="org.apache.struts.validator.DynaValidatorForm">
>>
>> 
>>  
>>  
>>
>>
>>   
>>
>> c. > type="com.pdpsoft.lms.struts.action.CreditStudentAction"
>>name="CreditStudentForm" validate="false"
scope="session"/>

ML> I am aware that it is not what you want, but what happens if you set
ML> validate="true"?

>> 3. In validation.xml :
>>
>>   
>> > property=" chequeNumber "
>> depends="required">
>> 
>>  

ML> Could the spaces in  and > 4. In Action:
>>
>>  ActionErrors errors = dynaForm.validate(mapping, request);
>>   if (!errors.isEmpty()) {//this if is never true :(
>> saveErrors(request, errors);
>> return mapping.findForward("aForward");
>> }
>> 5. In jsp:
>>
>>  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I Wondor Why Validation Doesn't Validate

2004-06-22 Thread Mailing List


Dear Friends

Thank you very much for your attention; I checked both 'validate="true" '
and also 'empty spaces', they didn't solve the problem. Actually the part of
'if (!errors.isEmpty())' returns false all the time(see below, section 4).
My previous project is already working properly with 'validate="false"', but
this one :( 

Again any help would be appreciated

Thank you
Nafise

-Original Message-
From: Mailing List [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 21, 2004 3:25 PM
To: '[EMAIL PROTECTED]'
Subject: I Wondor Why Validation Doesn't Validate


Dear All,

I did the follow steps for setting validation, but there is no error on an
empty field checking 'chequeNumber' (see below plz).


1. Placing the validation.xml & validator-rules.xml in WEB-INF folder
2. In struts-config.xml : 
   a.   



b. 
  
 




 

c. 

3. In validation.xml : 

  




4. In Action: 

ActionErrors errors = dynaForm.validate(mapping, request);
  if (!errors.isEmpty()) {//this if is never true :(
saveErrors(request, errors);
return mapping.findForward("aForward");
}

5. In jsp:




I appreciate any help or idea.

Regards,
Nafise

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Install Struts.

2008-05-22 Thread STRUTS SL. Mailing List


Well your comment gave me an insight into the different problem and
solve it achieves.

The problem is that the bean "beanSerie" had the getXXX but not had the
setXXX for us had implemented the "set" as the "add" of a vector.

Introducing directly "set" has turned out the problem.

A greeting

-Mensaje original-
De: Christian Villamizar 
Enviado el: jueves, 22 de mayo de 2008 15:38
Para: STRUTS SL. Mailing List
Asunto: Install Struts.

-Mensaje original-
De: news [mailto:[EMAIL PROTECTED] En nombre de Laurie Harper
Enviado el: martes, 29 de abril de 2008 18:28
Para: user@struts.apache.org
Asunto: Re: Install Struts.

What is the bean under name beanSerie? Does it have a getCodigo() 
method? Is it public? Is the class public? Without more info it's 
impossible to diagnose definitively.

L.

Christian Villamizar wrote:
> Hello and good day; 
> 
> I'm trying to migrate an application that is made in Struts and hosted
"Tomcat/4.1.31" and works well.
> Now I want to operate in a Tomcat 5 or 6 but when I try to make the
migration are errors such as:
> 
>   - This error only appears in JSP with forms, whether it helps.
> 
> [ServletException in:/tiles/pages/circuitos/mostrarCircuito.jsp] No
getter method available for property codigo for bean 
> under name beanSerie' javax.servlet.ServletException: No getter method
available for property codigo for bean under name 
> beanSerie at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont
extImpl.java:841) at 
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:774) at 
>
org.apache.jsp.tiles.pages.circuitos.mostrarCircuito_jsp._jspService(mos
trarCircuito_jsp.java:1057) at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at 
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:331) at 
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at 
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269) at 
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188) at 
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:679) at 
>
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:584) at 
>
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:497) at 
>
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:965) at 
>
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:6
00) at 
>
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
at


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Page the waiting / Páginas de espera

2008-05-22 Thread STRUTS SL. Mailing List

Hello everyone.

I want to know if someone asked me how to do pages waiting, for example, 
the DDBB Enter data with a class java but I wish that you do not touch 
anything until this is not finished, so a page in waiting.

Any idea and thanks in advance.

A greeting.



Hola a todos y todas.

Queria saber si alguien me pede decir como hacer paginas de espera, por 
ejemplo, 
introdusco datos en la DDBB con una clase java pero quiero que el usuario no 
toque 
nada hasta que esto no termine, en fin una pagina de espera.

Alguna idea y gracias de antemano.

Un saludo.


RE: Page the waiting / Páginas de espera

2008-05-22 Thread STRUTS SL. Mailing List

Gracias por tu comentario, me servirá de mucha ayuda.

Y si tienes toda la razón, nuestro problema es que tenemos que hacer un parser 
de varios xml y pues esto llevara un poco de proceso según nuestra estimación 
así que estamos buscando soluciones a este problema.

un saludo y gracias.

-Mensaje original-
De: Giovanni Azua [mailto:[EMAIL PROTECTED]
Enviado el: jue 22/05/2008 16:59
Para: Struts Users Mailing List
Asunto: Re: Page the waiting / Páginas de espera
 
hi,

Do you mean running a lengthy process? then the way to go would be using 
execAndWait interceptor, have a look in:
http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html

**

Si a lo que te refieres es a ejecutar un proceso y que el usuario no 
pueda cambiar nada ni tampoco que se quede con una pagina bloqueada 
entonces debes usar el "execAndWait interceptor", este cubre exactamente 
ese use-case. execAndWait te permite presentar al usuario una pagina 
estilo de "por favor espere, proceso en progreso" o algo asi hasta que 
tu proceso termine, revisa en la documentacion:
http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html

Aunque he usado este mecanismo antes, no me parece justificable en una 
application web, si acaso seria mejor usar un patron de procesamiento 
asincrono.

Saludos,
Giovanni

STRUTS SL. Mailing List wrote:
> Hello everyone.
>
> I want to know if someone asked me how to do pages waiting, for example,
> the DDBB Enter data with a class java but I wish that you do not touch
> anything until this is not finished, so a page in waiting.
>
> Any idea and thanks in advance.
>
> A greeting.
>
> 
>
> Hola a todos y todas.
>
> Queria saber si alguien me pede decir como hacer paginas de espera, por 
> ejemplo,
> introdusco datos en la DDBB con una clase java pero quiero que el usuario no 
> toque
> nada hasta que esto no termine, en fin una pagina de espera.
>
> Alguna idea y gracias de antemano.
>
> Un saludo.
>   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Serialization DynaActionForm

2008-07-02 Thread STRUTS SL. Mailing List

The Struts-config.xml is as follows:



  .
  .
  .


and the catalina.out I get this error.

WARN  No puedo serializar atributo de sesi?n FormCircuitos para sesi?n 
772D050829571AEA6C6E7135C8BE60DA


And the question is how the serialization DynaActionForm.

Thanks.


Help please TOMCAT 5 + Struts

2008-07-17 Thread STRUTS SL. Mailing List
Hello for everybody;

 

We have a big trouble with our Web Application. Our Tomcat 5.5 Server is 
working properly, as we can see. The problem is concerning to the Web Project. 
It’s frizzing randomly. It doesn’t matter how many time was reloaded. From this 
moment never user can get in the Web Site. At the browser address bar we can 
see the session id that was assigned to the new session, but never the home 
page is presented, and we must be going to reload it. This reloading is making 
on the Tomcat Server.

 

Web application historical summary:

 

The Trapsatur Project was hosting on a Tomcat 4 Web Server, it was installed in 
our offices. It was working almost properly, but slowly. Cause that, we decided 
to get out this Server to be housing at office’s ISP, front to Internet. At 
this moment we passed to Tomcat 5.5.26. It was begin of troubles.

 

We are adjusting the Web Application and the Tomcat Server continuously. We 
resolved problems with DB connection, someone errors with SMTP server. In 
addition we adjusted several Tomcat’s and JVM’s parameters. Now we are doing 
some tests. We have assumed that the problem is the difference between 
servlet.jar used by our Web Project, and the servlet.jar used by Tomcat Server.

 

We want to thank in advance any help from any body.

 

Best regard;

 

/* Some mistakes catalina.out */

 

Exception in thread "DefaultQuartzScheduler_Worker-0" 
java.lang.OutOfMemoryError: PermGen space

Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread" 
java.lang.OutOfMemoryError: PermGen space

Exception in thread "http-80-Processor31" java.lang.OutOfMemoryError: PermGen 
space

Exception in thread "http-80-Processor32" java.lang.OutOfMemoryError: PermGen 
space

Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" 
java.lang.OutOfMemoryError: PermGen space

17-jul-2008 16:37:56 org.apache.coyote.http11.Http11BaseProtocol pause

INFO: Pausing Coyote HTTP/1.1 on http-80

java.lang.reflect.InvocationTargetException

Exception in thread "main" java.lang.OutOfMemoryError: PermGen space

17-jul-2008 16:38:59 org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
/opt/jdk1.5.0_15/jre/lib/i386/server:/opt/jdk1.5.0_15/jre/lib/i386:/opt/jdk1.5.0_15/jre/../lib/i386

17-jul-2008 16:38:59 org.apache.coyote.http11.Http11BaseProtocol init

 

 



Christian A. Villamizar Lamus.

Dpto. Informática – Trapsatur.

Tel: 91.542. – Fax: 91.548.0044

Э-mail: [EMAIL PROTECTED]  

www.trapsatur.com  

www.excursionesenmadrid.com  

www.excursionesenmadrid.es   

C/ San Bernardo 5 – 7. 

28013 – Madrid. España.

 



Help please TOMCAT 5 + Struts

2008-07-17 Thread STRUTS SL. Mailing List
The application is started well and after a few hours or minutes that stays 
frozen. without accepting more users.
 
thanks to all are very helpful



De: Jianshuo Niu [mailto:[EMAIL PROTECTED]
Enviado el: jue 17/07/2008 19:41
Para: Struts Users Mailing List
Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts



It looks like that something wrong in your code/archtechture. Was it slow
right after you deployed the app, or gettting slower during the operation?

On Thu, Jul 17, 2008 at 12:45 PM, Paolo Niccolò Giubelli <
[EMAIL PROTECTED]> wrote:

> Maybe you got some memory leak in your code. Use a memory-inspecting tool
> and check for static objects.
> If you check your memory usage, maybe you'll find that you eat all the
> memory available, so you should tune your tomcat server changing the memory
> parameters.
> Regards,
> Paolo Niccolò Giubelli
>
> STRUTS SL. Mailing List ha scritto:
>
> Hello for everybody;
>>
>>
>> We have a big trouble with our Web Application. Our Tomcat 5.5 Server is
>> working properly, as we can see. The problem is concerning to the Web
>> Project. It's frizzing randomly. It doesn't matter how many time was
>> reloaded. From this moment never user can get in the Web Site. At the
>> browser address bar we can see the session id that was assigned to the new
>> session, but never the home page is presented, and we must be going to
>> reload it. This reloading is making on the Tomcat Server.
>>
>>
>> Web application historical summary:
>>
>>
>> The Trapsatur Project was hosting on a Tomcat 4 Web Server, it was
>> installed in our offices. It was working almost properly, but slowly. Cause
>> that, we decided to get out this Server to be housing at office's ISP, front
>> to Internet. At this moment we passed to Tomcat 5.5.26. It was begin of
>> troubles.
>>
>>
>> We are adjusting the Web Application and the Tomcat Server continuously.
>> We resolved problems with DB connection, someone errors with SMTP server. In
>> addition we adjusted several Tomcat's and JVM's parameters. Now we are doing
>> some tests. We have assumed that the problem is the difference between
>> servlet.jar used by our Web Project, and the servlet.jar used by Tomcat
>> Server.
>>
>>
>> We want to thank in advance any help from any body.
>>
>> Best regard;
>>
>>
>> /* Some mistakes catalina.out */
>>
>>
>> Exception in thread "DefaultQuartzScheduler_Worker-0"
>> java.lang.OutOfMemoryError: PermGen space
>>
>> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
>> java.lang.OutOfMemoryError: PermGen space
>>
>> Exception in thread "http-80-Processor31" java.lang.OutOfMemoryError:
>> PermGen space
>>
>> Exception in thread "http-80-Processor32" java.lang.OutOfMemoryError:
>> PermGen space
>>
>> Exception in thread
>> "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
>> java.lang.OutOfMemoryError: PermGen space
>>
>> 17-jul-2008 16:37:56 org.apache.coyote.http11.Http11BaseProtocol pause
>>
>> INFO: Pausing Coyote HTTP/1.1 on http-80
>>
>> java.lang.reflect.InvocationTargetException
>>
>> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>>
>> 17-jul-2008 16:38:59 org.apache.catalina.core.AprLifecycleListener
>> lifecycleEvent
>>
>> INFO: The Apache Tomcat Native library which allows optimal performance in
>> production environments was not found on the java.library.path:
>> /opt/jdk1.5.0_15/jre/lib/i386/server:/opt/jdk1.5.0_15/jre/lib/i386:/opt/jdk1.5.0_15/jre/../lib/i386
>>
>> 17-jul-2008 16:38:59 org.apache.coyote.http11.Http11BaseProtocol init
>>
>>
>>
>> 
>>
>> Christian A. Villamizar Lamus.
>>
>> Dpto. Informática - Trapsatur.
>>
>> Tel: 91.542. - Fax: 91.548.0044
>>
>> ?-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> www.trapsatur.com <http://www.trapsatur.com/>
>> www.excursionesenmadrid.com <http://www.excursionesenmadrid.com/>
>> www.excursionesenmadrid.es <http://www.excursionesenmadrid.es/>
>> C/ San Bernardo 5 - 7.
>> 28013 - Madrid. España.
>>
>>
>>
>
>
>  -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jianshuo Niu




RE: [SPAM] Re: Help please TOMCAT 5 + Struts

2008-07-17 Thread STRUTS SL. Mailing List
I know of tools that help test my application, for which I have looked and 
looked again the code. Or some techniques to help me refine ...
 
thanks 



De: Jianshuo Niu [mailto:[EMAIL PROTECTED]
Enviado el: jue 17/07/2008 22:22
Para: Struts Users Mailing List
Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts



I would take a look at the code first to see if there is any unclosed
connection, loops, etc. Then, check the jdk version and tomcat config files.


On Thu, Jul 17, 2008 at 4:10 PM, STRUTS SL. Mailing List <
[EMAIL PROTECTED]> wrote:

> The application is started well and after a few hours or minutes that stays
> frozen. without accepting more users.
>
>thanks to all are very helpful
>
> 
>
> De: Jianshuo Niu [mailto:[EMAIL PROTECTED]
> Enviado el: jue 17/07/2008 19:41
> Para: Struts Users Mailing List
> Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts
>
>
>
> It looks like that something wrong in your code/archtechture. Was it slow
> right after you deployed the app, or gettting slower during the operation?
>
> On Thu, Jul 17, 2008 at 12:45 PM, Paolo Niccolò Giubelli <
> [EMAIL PROTECTED]> wrote:
>
> > Maybe you got some memory leak in your code. Use a memory-inspecting tool
> > and check for static objects.
> > If you check your memory usage, maybe you'll find that you eat all the
> > memory available, so you should tune your tomcat server changing the
> memory
> > parameters.
> > Regards,
> > Paolo Niccolò Giubelli
> >
> > STRUTS SL. Mailing List ha scritto:
> >
> > Hello for everybody;
> >>
> >>
> >> We have a big trouble with our Web Application. Our Tomcat 5.5 Server is
> >> working properly, as we can see. The problem is concerning to the Web
> >> Project. It's frizzing randomly. It doesn't matter how many time was
> >> reloaded. From this moment never user can get in the Web Site. At the
> >> browser address bar we can see the session id that was assigned to the
> new
> >> session, but never the home page is presented, and we must be going to
> >> reload it. This reloading is making on the Tomcat Server.
> >>
> >>
> >> Web application historical summary:
> >>
> >>
> >> The Trapsatur Project was hosting on a Tomcat 4 Web Server, it was
> >> installed in our offices. It was working almost properly, but slowly.
> Cause
> >> that, we decided to get out this Server to be housing at office's ISP,
> front
> >> to Internet. At this moment we passed to Tomcat 5.5.26. It was begin of
> >> troubles.
> >>
> >>
> >> We are adjusting the Web Application and the Tomcat Server continuously.
> >> We resolved problems with DB connection, someone errors with SMTP
> server. In
> >> addition we adjusted several Tomcat's and JVM's parameters. Now we are
> doing
> >> some tests. We have assumed that the problem is the difference between
> >> servlet.jar used by our Web Project, and the servlet.jar used by Tomcat
> >> Server.
> >>
> >>
> >> We want to thank in advance any help from any body.
> >>
> >> Best regard;
> >>
> >>
> >> /* Some mistakes catalina.out */
> >>
> >>
> >> Exception in thread "DefaultQuartzScheduler_Worker-0"
> >> java.lang.OutOfMemoryError: PermGen space
> >>
> >> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
> >> java.lang.OutOfMemoryError: PermGen space
> >>
> >> Exception in thread "http-80-Processor31" java.lang.OutOfMemoryError:
> >> PermGen space
> >>
> >> Exception in thread "http-80-Processor32" java.lang.OutOfMemoryError:
> >> PermGen space
> >>
> >> Exception in thread
> >> "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
> >> java.lang.OutOfMemoryError: PermGen space
> >>
> >> 17-jul-2008 16:37:56 org.apache.coyote.http11.Http11BaseProtocol pause
> >>
> >> INFO: Pausing Coyote HTTP/1.1 on http-80
> >>
> >> java.lang.reflect.InvocationTargetException
> >>
> >> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
> >>
> >> 17-jul-2008 16:38:59 org.apache.catalina.core.AprLifecycleListener
> >> lifecycleEvent
> >>
> >> INFO: The Apache Tomcat Native library which allows optimal performance
> in
> >> production environments was not found on t

RE: [SPAM] Re: Help please TOMCAT 5 + Struts

2008-07-17 Thread STRUTS SL. Mailing List
thousand thanks attempts with what I spend. if you miss one you the idea 
agradecere.



De: Jim Kiley [mailto:[EMAIL PROTECTED]
Enviado el: jue 17/07/2008 22:41
Para: Struts Users Mailing List
Asunto: Re: [SPAM] Re: Help please TOMCAT 5 + Struts



I haven't used this, but thirty seconds' search on "tomcat memory leak
tools" led me to this: http://java-source.net/open-source/profilers/jmemprof

jk

On Thu, Jul 17, 2008 at 4:34 PM, STRUTS SL. Mailing List <
[EMAIL PROTECTED]> wrote:

> I know of tools that help test my application, for which I have looked and
> looked again the code. Or some techniques to help me refine ...
>
> thanks
>
> 
>
> De: Jianshuo Niu [mailto:[EMAIL PROTECTED]
> Enviado el: jue 17/07/2008 22:22
> Para: Struts Users Mailing List
> Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts
>
>
>
> I would take a look at the code first to see if there is any unclosed
> connection, loops, etc. Then, check the jdk version and tomcat config
> files.
>
>
> On Thu, Jul 17, 2008 at 4:10 PM, STRUTS SL. Mailing List <
> [EMAIL PROTECTED]> wrote:
>
> > The application is started well and after a few hours or minutes that
> stays
> > frozen. without accepting more users.
> >
> >thanks to all are very helpful
> >
> > ____
> >
> > De: Jianshuo Niu [mailto:[EMAIL PROTECTED]
> > Enviado el: jue 17/07/2008 19:41
> > Para: Struts Users Mailing List
> > Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts
> >
> >
> >
> > It looks like that something wrong in your code/archtechture. Was it slow
> > right after you deployed the app, or gettting slower during the
> operation?
> >
> > On Thu, Jul 17, 2008 at 12:45 PM, Paolo Niccolò Giubelli <
> > [EMAIL PROTECTED]> wrote:
> >
> > > Maybe you got some memory leak in your code. Use a memory-inspecting
> tool
> > > and check for static objects.
> > > If you check your memory usage, maybe you'll find that you eat all the
> > > memory available, so you should tune your tomcat server changing the
> > memory
> > > parameters.
> > > Regards,
> > > Paolo Niccolò Giubelli
> > >
> > > STRUTS SL. Mailing List ha scritto:
> > >
> > > Hello for everybody;
> > >>
> > >>
> > >> We have a big trouble with our Web Application. Our Tomcat 5.5 Server
> is
> > >> working properly, as we can see. The problem is concerning to the Web
> > >> Project. It's frizzing randomly. It doesn't matter how many time was
> > >> reloaded. From this moment never user can get in the Web Site. At the
> > >> browser address bar we can see the session id that was assigned to the
> > new
> > >> session, but never the home page is presented, and we must be going to
> > >> reload it. This reloading is making on the Tomcat Server.
> > >>
> > >>
> > >> Web application historical summary:
> > >>
> > >>
> > >> The Trapsatur Project was hosting on a Tomcat 4 Web Server, it was
> > >> installed in our offices. It was working almost properly, but slowly.
> > Cause
> > >> that, we decided to get out this Server to be housing at office's ISP,
> > front
> > >> to Internet. At this moment we passed to Tomcat 5.5.26. It was begin
> of
> > >> troubles.
> > >>
> > >>
> > >> We are adjusting the Web Application and the Tomcat Server
> continuously.
> > >> We resolved problems with DB connection, someone errors with SMTP
> > server. In
> > >> addition we adjusted several Tomcat's and JVM's parameters. Now we are
> > doing
> > >> some tests. We have assumed that the problem is the difference between
> > >> servlet.jar used by our Web Project, and the servlet.jar used by
> Tomcat
> > >> Server.
> > >>
> > >>
> > >> We want to thank in advance any help from any body.
> > >>
> > >> Best regard;
> > >>
> > >>
> > >> /* Some mistakes catalina.out */
> > >>
> > >>
> > >> Exception in thread "DefaultQuartzScheduler_Worker-0"
> > >> java.lang.OutOfMemoryError: PermGen space
> > >>
> > >> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
> > >> java.lang.OutOfMemoryError: PermGen space
> > >&