Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-12 Thread Leland, Robert
Our experience is that you need to use Resins implementation of the JSTL Tags 
:( 1
Remove the standard.jar
 
-Rob
 

Robert Leland   INTEGRITYOne
P: (703) 581-6522   1900 Campus Commons Drive
F: (703) 476-7405Reston, VA 20191
[EMAIL PROTECTED]   www.integrityonepartners.com



From: [EMAIL PROTECTED] on behalf of Jason Wang
Sent: Mon 9/10/2007 8:52 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems


Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't know why, 
maybe just a bug, you can try 3.1.2
 
Jason

 
On 9/10/07, Ambar Hegde <[EMAIL PROTECTED]> wrote: 

Hi,

I'm trying to move an existing application from Resin 2x to Resin 3.1.1,
with JDK 1.5.

The application uses Struts 1.1, however the problem persists with 
Struts
1.3.8 as well.

Using the iterate tag from struts-logic.tld causes resin to throw the
following error:

/jsp/LocationReportMain.jsp:246: not a statement 
[19:36:22.319] java.lang.Integer null;
[19:36:22.319]  ^
[19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
[19:36:22.319] java.lang.Integer null; 
[19:36:22.319]   ^


The source jsp is:


<%=driverValues.get("NAME").toString()%> 

Would appreciate any help on this.

TIA

-Ambar



___
resin-interest mailing list
resin-interest@caucho.com 
http://maillist.caucho.com/mailman/listinfo/resin-interest



<>___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-12 Thread Ambar Hegde
Tried it on Resin 3.1.2 and it works just fine. Thanks!
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason Wang
  Sent: Tuesday, September 11, 2007 7:33 AM
  To: General Discussion for the Resin application server
  Subject: Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag
problems


  3.1.2 is ok, I tested iterate page in struts example project both on 3.1.1
and 3.1.2
  the exception occurs on 3.1.1 but does not occur on 3.1.2


  On 9/11/07, Jason Wang <[EMAIL PROTECTED]> wrote:
Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't
know why, maybe just a bug, you can try 3.1.2

Jason


On 9/10/07, Ambar Hegde <[EMAIL PROTECTED]> wrote:
  Hi,

  I'm trying to move an existing application from Resin 2x to Resin
3.1.1,
  with JDK 1.5.

  The application uses Struts 1.1, however the problem persists with
Struts
  1.3.8 as well.

  Using the iterate tag from struts-logic.tld causes resin to throw the
  following error:

  /jsp/LocationReportMain.jsp:246: not a statement
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]  ^
  [19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]   ^


  The source jsp is:

  
  <%=driverValues.get("NAME").toString()%>

  Would appreciate any help on this.

  TIA

  -Ambar



  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-11 Thread Sam
> Thanks Jason. I'm now trying this with Resin 3.1.2. However, it's taking a
> painfully long time to start up - of the order of one
> hour, where Resin2x and Resin 3.1.1 take 1-2 minutes to startup with the app
> deployed. Is this related to the new startup listen()
> change in resin 3.1.2? I'm using the default resin.conf file.

There should not be such a difference in startup between those two
versions.  Actually, I think there was some work done to make the
startup of 3.1.2 a bit faster.

Obtaining a thread dump from the process while it is doing whatever it
is doing during startup that is taking so long would be helpful.
Sometimes it's beneficial to get 2 thread dumps, a few seconds or a
minute apart.

Some documentation about thread dumps:
http://www.caucho.com/resin-3.1/doc/troubleshoot.xtp#thread-dump

You can also use the startup logging to get a general idea of what is
taking so long.

-- Sam



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-11 Thread Ambar Hegde
Thanks Jason. I'm now trying this with Resin 3.1.2. However, it's taking a
painfully long time to start up - of the order of one
hour, where Resin2x and Resin 3.1.1 take 1-2 minutes to startup with the app
deployed. Is this related to the new startup listen()
change in resin 3.1.2? I'm using the default resin.conf file.

Thanks,
Ambar
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason Wang
  Sent: Tuesday, September 11, 2007 7:33 AM
  To: General Discussion for the Resin application server
  Subject: Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag
problems


  3.1.2 is ok, I tested iterate page in struts example project both on 3.1.1
and 3.1.2
  the exception occurs on 3.1.1 but does not occur on 3.1.2


  On 9/11/07, Jason Wang <[EMAIL PROTECTED]> wrote:
Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't
know why, maybe just a bug, you can try 3.1.2

Jason


On 9/10/07, Ambar Hegde <[EMAIL PROTECTED]> wrote:
  Hi,

  I'm trying to move an existing application from Resin 2x to Resin
3.1.1,
  with JDK 1.5.

  The application uses Struts 1.1, however the problem persists with
Struts
  1.3.8 as well.

  Using the iterate tag from struts-logic.tld causes resin to throw the
  following error:

  /jsp/LocationReportMain.jsp:246: not a statement
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]  ^
  [19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]   ^


  The source jsp is:

  
  <%=driverValues.get("NAME").toString()%>

  Would appreciate any help on this.

  TIA

  -Ambar



  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-10 Thread Jason Wang
3.1.2 is ok, I tested iterate page in struts example project both on 3.1.1and
3.1.2
the exception occurs on 3.1.1 but does not occur on 3.1.2


On 9/11/07, Jason Wang <[EMAIL PROTECTED]> wrote:
>
> Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't know
> why, maybe just a bug, you can try 3.1.2
>
> Jason
>
>
>  On 9/10/07, Ambar Hegde <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm trying to move an existing application from Resin 2x to Resin 3.1.1,
> > with JDK 1.5.
> >
> > The application uses Struts 1.1, however the problem persists with
> > Struts
> > 1.3.8 as well.
> >
> > Using the iterate tag from struts-logic.tld causes resin to throw the
> > following error:
> >
> > /jsp/LocationReportMain.jsp:246: not a statement
> > [19:36:22.319] java.lang.Integer null;
> > [19:36:22.319]  ^
> > [19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
> > [19:36:22.319] java.lang.Integer null;
> > [19:36:22.319]   ^
> >
> >
> > The source jsp is:
> >
> >  > property="teamMembers" type=" java.util.Hashtable"> > value='<%=driverValues.get("USER_ID").toString()%>'>
> > <%=driverValues.get("NAME").toString()%>
> >
> > Would appreciate any help on this.
> >
> > TIA
> >
> > -Ambar
> >
> >
> >
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
>
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-10 Thread Jason Wang
Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't know
why, maybe just a bug, you can try 3.1.2

Jason


On 9/10/07, Ambar Hegde <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to move an existing application from Resin 2x to Resin 3.1.1,
> with JDK 1.5.
>
> The application uses Struts 1.1, however the problem persists with Struts
> 1.3.8 as well.
>
> Using the iterate tag from struts-logic.tld causes resin to throw the
> following error:
>
> /jsp/LocationReportMain.jsp:246: not a statement
> [19:36:22.319] java.lang.Integer null;
> [19:36:22.319]  ^
> [19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
> [19:36:22.319] java.lang.Integer null;
> [19:36:22.319]   ^
>
>
> The source jsp is:
>
>  property="teamMembers" type="java.util.Hashtable"> value='<%=driverValues.get("USER_ID").toString()%>'>
> <%=driverValues.get("NAME").toString()%>
>
> Would appreciate any help on this.
>
> TIA
>
> -Ambar
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Resin 3.1.1 and Struts "iterate" tag problems

2007-09-10 Thread Ambar Hegde
Hi,

I'm trying to move an existing application from Resin 2x to Resin 3.1.1,
with JDK 1.5.

The application uses Struts 1.1, however the problem persists with Struts
1.3.8 as well.

Using the iterate tag from struts-logic.tld causes resin to throw the
following error:

/jsp/LocationReportMain.jsp:246: not a statement
[19:36:22.319] java.lang.Integer null;
[19:36:22.319]  ^
[19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
[19:36:22.319] java.lang.Integer null;
[19:36:22.319]   ^


The source jsp is:


<%=driverValues.get("NAME").toString()%>

Would appreciate any help on this.

TIA

-Ambar



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest