JSPC under Tomcat5.0.18

2004-01-26 Thread Dima Gutzeit
Dear list members ,

Recently I've decided to redeploy some of my projects with Tomcat5.0.18.

Part of my projects are precomplied JSP files which were compiled using JSPC that came 
with Tomcat4.1.29.
To my surprise those classes were not able to run properly with Tomcat5, while 
deploying JSP files without precompiling worked alright.

The next step was to recompile JSP files allover using JSPC shipped with Tomcat5 and 
so I did using the Latest ANT release 1.6.0.
ANT failed to complie the files with the following reason : 

Buildfile: build.xml

jspc:
 [jspc] Compiling 21 source files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v9.  Use 
-help for help.
  [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:307)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:231)


Can anyone tell me what is the issue here ? Why it is not backwards compatible ? How 
can I precompile the JSP files for Tomcat 5 ?

Thanks in advance.



Regards , 
Dima Gutzeit.
-
MailVision LTD. 
R&D Team. 
Phone: 972-4-8500505 ext. 14 
Fax: 972 - 4 - 8508000 
http://www.mailvision.com 




Re: JSPC under Tomcat5.0.18

2004-01-26 Thread Ian Joyce
Hi.

Can you show us your ant jspc task?

>>> [EMAIL PROTECTED] 01/26/03 03:46AM >>>
Dear list members ,

Recently I've decided to redeploy some of my projects with Tomcat5.0.18.

Part of my projects are precomplied JSP files which were compiled using JSPC that came 
with Tomcat4.1.29.
To my surprise those classes were not able to run properly with Tomcat5, while 
deploying JSP files without precompiling worked alright.

The next step was to recompile JSP files allover using JSPC shipped with Tomcat5 and 
so I did using the Latest ANT release 1.6.0.
ANT failed to complie the files with the following reason : 

Buildfile: build.xml

jspc:
 [jspc] Compiling 21 source files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v9.  Use 
-help for help.
  [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:307)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:231)


Can anyone tell me what is the issue here ? Why it is not backwards compatible ? How 
can I precompile the JSP files for Tomcat 5 ?

Thanks in advance.



Regards , 
Dima Gutzeit.
-
MailVision LTD. 
R&D Team. 
Phone: 972-4-8500505 ext. 14 
Fax: 972 - 4 - 8508000 
http://www.mailvision.com 




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



Re: JSPC under Tomcat5.0.18

2004-01-26 Thread Dima Gutzeit
 
 
 


 
 
   
  
 
 
 
 
 
 

 
 

  
 


- Original Message - 
From: "Ian Joyce" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 26, 2004 4:20 PM
Subject: Re: JSPC under Tomcat5.0.18


Hi.

Can you show us your ant jspc task?

>>> [EMAIL PROTECTED] 01/26/03 03:46AM >>>
Dear list members ,

Recently I've decided to redeploy some of my projects with Tomcat5.0.18.

Part of my projects are precomplied JSP files which were compiled using JSPC
that came with Tomcat4.1.29.
To my surprise those classes were not able to run properly with Tomcat5,
while deploying JSP files without precompiling worked alright.

The next step was to recompile JSP files allover using JSPC shipped with
Tomcat5 and so I did using the Latest ANT release 1.6.0.
ANT failed to complie the files with the following reason :

Buildfile: build.xml

jspc:
 [jspc] Compiling 21 source
files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized
option: -v9.  Use -help for help.
  [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:307)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:231)


Can anyone tell me what is the issue here ? Why it is not backwards
compatible ? How can I precompile the JSP files for Tomcat 5 ?

Thanks in advance.



Regards ,
Dima Gutzeit.
-
MailVision LTD.
R&D Team.
Phone: 972-4-8500505 ext. 14
Fax: 972 - 4 - 8508000
http://www.mailvision.com




-
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: JSPC under Tomcat5.0.18

2004-01-26 Thread Remy Maucherat
Ian Joyce wrote:
Hi.

Can you show us your ant jspc task?


[EMAIL PROTECTED] 01/26/03 03:46AM >>>
Dear list members ,

Recently I've decided to redeploy some of my projects with
Tomcat5.0.18.
Part of my projects are precomplied JSP files which were compiled
using JSPC that came with Tomcat4.1.29. To my surprise those classes
were not able to run properly with Tomcat5, while deploying JSP files
without precompiling worked alright.
The next step was to recompile JSP files allover using JSPC shipped
with Tomcat5 and so I did using the Latest ANT release 1.6.0. ANT
failed to complie the files with the following reason :
Buildfile: build.xml

jspc: [jspc] Compiling 21 source
files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp [jasperc]
error:org.apache.jasper.JasperException: Unrecognized option: -v9.
Use -help for help. [jasperc] at
org.apache.jasper.JspC.setArgs(JspC.java:307) [jasperc] at
org.apache.jasper.JspC.main(JspC.java:231)
Can anyone tell me what is the issue here ? Why it is not backwards
compatible ? How can I precompile the JSP files for Tomcat 5 ?
Thanks in advance.
The task provided with Ant is not up to date. Look in the Jasper docs
for how to use the task should be used.
--
x
Rémy Maucherat
Senior Developer & Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSPC under Tomcat5.0.18

2004-01-26 Thread Dima Gutzeit

- Original Message - 
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 26, 2004 6:00 PM
Subject: Re: JSPC under Tomcat5.0.18


Ian Joyce wrote:
> Hi.
>
> Can you show us your ant jspc task?
>
>
>>>> [EMAIL PROTECTED] 01/26/03 03:46AM >>>
>
> Dear list members ,
>
> Recently I've decided to redeploy some of my projects with
> Tomcat5.0.18.
>
> Part of my projects are precomplied JSP files which were compiled
> using JSPC that came with Tomcat4.1.29. To my surprise those classes
> were not able to run properly with Tomcat5, while deploying JSP files
> without precompiling worked alright.
>
> The next step was to recompile JSP files allover using JSPC shipped
> with Tomcat5 and so I did using the Latest ANT release 1.6.0. ANT
> failed to complie the files with the following reason :
>
> Buildfile: build.xml
>
> jspc: [jspc] Compiling 21 source
> files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp [jasperc]
> error:org.apache.jasper.JasperException: Unrecognized option: -v9.
> Use -help for help. [jasperc] at
> org.apache.jasper.JspC.setArgs(JspC.java:307) [jasperc] at
> org.apache.jasper.JspC.main(JspC.java:231)
>
>
> Can anyone tell me what is the issue here ? Why it is not backwards
> compatible ? How can I precompile the JSP files for Tomcat 5 ?
>
> Thanks in advance.

>The task provided with Ant is not up to date. Look in the Jasper docs
>for how to use the task should be used.

Thank you very much , it did compile it with the new definition. But the
compilation is raising another question:

The compiled class file names are wierd, f.e. : sys_005ffooter_jsp.class .
Where the "005f" string came from ? I believe that the "_" is causing it.
How can I prevent the JSPC from adding there chars ?

-- 
x
Rémy Maucherat
Senior Developer & Consultant
JBoss Group (Europe) SàRL
x

-
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]