You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Yasi Xi (yxi)" <yx...@cisco.com> on 2016/01/31 04:32:07 UTC

Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

Hi, Dear all

I'm doing Tomcat upgrade for my J2EE server.
When Tomcat is upgraded from 7.0.54 to 8.0.26, I get lots of empty *_jsp.java files in /opt/apache-tomcat_1/work/Catalina/, for example:

/opt/apache-tomcat_1/work/Catalina/localhost/cmp0307l/org/apache/jsp/webcomponents/jsp/globalpagenotfound_jsp.java

There're six Tomcat servers working in a round-robin manner. Each of the six Tomcat server has lots of empty *_jsp.java files, but they do not share the same group of empty *_jsp.java files. It appears random regarding which JSP file gets an empty *_jsp.java and in which Tomcat server.

When I delete a single empty *_jsp.java file in a Tomcat server and restart Tomcat, the previous empty *_jsp.java is generated and not empty.

Has anyone ever got similar situation? Any clue of the root cause?

Appreciate your help!

Regards,
-Yasi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

Posted by "Yasi Xi (yxi)" <yx...@cisco.com>.
/opt/apache-tomcat-8.0.26_1 does not exist before the upgrade.

-Yasi

-----Original Message-----
From: Yasi Xi (yxi) 
Sent: Monday, February 01, 2016 10:54 AM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: RE: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

Before Tomcat upgrade from 7.0.54 to 8.0.26, /opt/apache-tomcat_1 soft link points to /opt/apache-tomcat-7.0.54_1, after the upgrade, it points to /opt/apache-tomcat-8.0.26_1

/opt/apache-tomcat-7.0.54_1 and /opt/apache-tomcat-8.0.26_1 are two separate directories.

[root@jm3btc003 opt]# ll /opt/
total 68
lrwxrwxrwx   1 root     nobody      22 Dec 23 01:21 apache-tomcat_1 -> apache-tomcat-8.0.26_1
drwx------   7 nobody   nobody    4096 Dec 11 02:23 apache-tomcat-7.0.54_1
drwxr-x---   9 root     nobody    4096 Nov 10 01:51 apache-tomcat-8.0.26_1
...

Do you mean that I have to empty /opt/apache-tomcat-7.0.54_1/work directory before upgrade?

Regards,
-Yasi

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Sunday, January 31, 2016 6:07 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

On 31/01/2016 03:32, Yasi Xi (yxi) wrote:
> Hi, Dear all
> 
> I'm doing Tomcat upgrade for my J2EE server.
> When Tomcat is upgraded from 7.0.54 to 8.0.26,

Do you empty the work directory as part of this upgrade? If not, you should.

Mark

> I get lots of empty *_jsp.java files in /opt/apache-tomcat_1/work/Catalina/, for example:
> 
> /opt/apache-tomcat_1/work/Catalina/localhost/cmp0307l/org/apache/jsp/webcomponents/jsp/globalpagenotfound_jsp.java
> 
> There're six Tomcat servers working in a round-robin manner. Each of the six Tomcat server has lots of empty *_jsp.java files, but they do not share the same group of empty *_jsp.java files. It appears random regarding which JSP file gets an empty *_jsp.java and in which Tomcat server.
> 
> When I delete a single empty *_jsp.java file in a Tomcat server and restart Tomcat, the previous empty *_jsp.java is generated and not empty.
> 
> Has anyone ever got similar situation? Any clue of the root cause?
> 
> Appreciate your help!
> 
> Regards,
> -Yasi
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



RE: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

Posted by "Yasi Xi (yxi)" <yx...@cisco.com>.
Before Tomcat upgrade from 7.0.54 to 8.0.26, /opt/apache-tomcat_1 soft link points to /opt/apache-tomcat-7.0.54_1, after the upgrade, it points to /opt/apache-tomcat-8.0.26_1

/opt/apache-tomcat-7.0.54_1 and /opt/apache-tomcat-8.0.26_1 are two separate directories.

[root@jm3btc003 opt]# ll /opt/
total 68
lrwxrwxrwx   1 root     nobody      22 Dec 23 01:21 apache-tomcat_1 -> apache-tomcat-8.0.26_1
drwx------   7 nobody   nobody    4096 Dec 11 02:23 apache-tomcat-7.0.54_1
drwxr-x---   9 root     nobody    4096 Nov 10 01:51 apache-tomcat-8.0.26_1
...

Do you mean that I have to empty /opt/apache-tomcat-7.0.54_1/work directory before upgrade?

Regards,
-Yasi

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Sunday, January 31, 2016 6:07 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

On 31/01/2016 03:32, Yasi Xi (yxi) wrote:
> Hi, Dear all
> 
> I'm doing Tomcat upgrade for my J2EE server.
> When Tomcat is upgraded from 7.0.54 to 8.0.26,

Do you empty the work directory as part of this upgrade? If not, you should.

Mark

> I get lots of empty *_jsp.java files in /opt/apache-tomcat_1/work/Catalina/, for example:
> 
> /opt/apache-tomcat_1/work/Catalina/localhost/cmp0307l/org/apache/jsp/webcomponents/jsp/globalpagenotfound_jsp.java
> 
> There're six Tomcat servers working in a round-robin manner. Each of the six Tomcat server has lots of empty *_jsp.java files, but they do not share the same group of empty *_jsp.java files. It appears random regarding which JSP file gets an empty *_jsp.java and in which Tomcat server.
> 
> When I delete a single empty *_jsp.java file in a Tomcat server and restart Tomcat, the previous empty *_jsp.java is generated and not empty.
> 
> Has anyone ever got similar situation? Any clue of the root cause?
> 
> Appreciate your help!
> 
> Regards,
> -Yasi
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Empty xxx_jsp.java files in Tomcat 8.0.26 work catalina directory

Posted by Mark Thomas <ma...@apache.org>.
On 31/01/2016 03:32, Yasi Xi (yxi) wrote:
> Hi, Dear all
> 
> I'm doing Tomcat upgrade for my J2EE server.
> When Tomcat is upgraded from 7.0.54 to 8.0.26,

Do you empty the work directory as part of this upgrade? If not, you should.

Mark

> I get lots of empty *_jsp.java files in /opt/apache-tomcat_1/work/Catalina/, for example:
> 
> /opt/apache-tomcat_1/work/Catalina/localhost/cmp0307l/org/apache/jsp/webcomponents/jsp/globalpagenotfound_jsp.java
> 
> There're six Tomcat servers working in a round-robin manner. Each of the six Tomcat server has lots of empty *_jsp.java files, but they do not share the same group of empty *_jsp.java files. It appears random regarding which JSP file gets an empty *_jsp.java and in which Tomcat server.
> 
> When I delete a single empty *_jsp.java file in a Tomcat server and restart Tomcat, the previous empty *_jsp.java is generated and not empty.
> 
> Has anyone ever got similar situation? Any clue of the root cause?
> 
> Appreciate your help!
> 
> Regards,
> -Yasi
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org