Author Login
Post Reply
user Digest 17 Jul 2008 20:35:09 -0000 Issue 8148
Topics (messages 189048 through 189055):
Re: s:div Append Href
189048 by: cree
Re: [S2] attempts to access www.opensymphony.com on Struts startup???
189049 by: Pierre Thibaudeau
Re: Help please TOMCAT 5 + Struts
189050 by: Jianshuo Niu
189052 by: STRUTS SL. Mailing List
189054 by: Jianshuo Niu
Action form in session scope
189051 by: Zhang, Larry (L.)
Wildcard mappings and Annotations
189053 by: Eric Rank
Re: [SPAM] Re: Help please TOMCAT 5 + Struts
189055 by: STRUTS SL. Mailing List
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_189048.ezm (zipped)
That's exactly what I am looking for thank you very much! You hit it right
on the nail.
Musachy Barroso wrote:
>
> what you are looking for is the "formId" attribute. You can specify
> the id of a form, and the fields of the form will be submitted when
> the request is made. Check showcase for examples.
>
> musachy
>
> On Thu, Jul 17, 2008 at 11:38 AM, cree <vint@(protected):
>>
>> Hello All,
>>
>> I am trying to use an s:div tag but need to update the href dynamically.
>>
>> To give an idea I have a <s:div listenTopic="/refresh" id="updateDiv"
>> href="testAction.action?" theme="ajax"/>. I would like to on some user
>> event to either in javascript or any other way allow the href to append
>> specific variables. I have tried to href="testAction?someVar=%{someVar}"
>> where someVar can be say a text field with the name someVar.
>>
>> That initially didnt work (not sure if I am missing something), but the
>> next
>> attempt I did was to invoke a javascript function that would directly
>> append
>> to the href of the div. I read a bit and understand that the href is
>> stripped from the s:div tag, but I would like to at least append to it or
>> even use the variables that have been changed in the text field.
>>
>> Thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/s%3Adiv-Append-Href-tp18511393p18511393.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_189049.ezm (zipped)
Attachment:
user_189050.ezm (zipped)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 <
paoloniccolo.giubelli@(protected):
> 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.6666 – Fax: 91.548.0044
>>
>> Э-mail: c.villamizar@(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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
Jianshuo Niu

Attachment:
user_189052.ezm (zipped)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:jjmniu@(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 <
paoloniccolo.giubelli@(protected):
> 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.6666 - Fax: 91.548.0044
>>
>> ?-mail: c.villamizar@(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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
Jianshuo Niu

Attachment:
user_189054.ezm (zipped)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 <
struts@(protected):
> 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:jjmniu@(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 <
> paoloniccolo.giubelli@(protected):
>
> > 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.6666 - Fax: 91.548.0044
> >>
> >> ?-mail: c.villamizar@(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: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
> >
>
>
> --
> Jianshuo Niu
>
>
>
--
Jianshuo Niu

Attachment:
user_189051.ezm (zipped)Hello, which is a prefered way to add actionform into session scope or
in the request scope? Is that true that putting actionForm into the
session is a bad idea? Thanks.

Attachment:
user_189053.ezm (zipped)Hi Struts Users,
Is it possible to define wildcard mappings with an annotated action?
I'm using struts 2.0.11 and I'd like to do some wildcard mapping with a
zero-config and annotations paradigm.
For example, I'd like to have a way to have http://site.com/page/variable go
to an action annotated as
@Results({
@Result(name="success", value="success.jsp"),
@Result(name="input", value="input.jsp")
})
public class PageAction extends ActionSupport {
}
As shown above, the only valid url for this action would be
http://site.com/page
I can override with an action mapping in the struts.xml as follows, but I'd
like to avoid using xml if I can.
<action name="page/*" class="com.site.actions.PageAction">
<param name="variable">{1}</param>
<result name="input">input.jsp</result>
<result name="success">success.jsp</result>
</action>
Thanks for the help.
Eric Rank

Attachment:
user_189055.ezm (zipped)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:jjmniu@(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 <
struts@(protected):
> 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:jjmniu@(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 <
> paoloniccolo.giubelli@(protected):
>
> > 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.6666 - Fax: 91.548.0044
> >>
> >> ?-mail: c.villamizar@(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: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
> >
>
>
> --
> Jianshuo Niu
>
>
>
--
Jianshuo Niu