DO NOT REPLY [Bug 38630] - Environment (java:comp/env/) sometimes not available

2006-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38630





--- Additional Comments From [EMAIL PROTECTED]  2006-02-14 09:36 ---
(In reply to comment #0)
> Very often, let's say in 30%-50% of each invocations java:comp is not 
available
> inside a static initializer when my webapp is started or restarted.

What part of the J2EE documentation makes you think it should be available in 
static initializers? IMHO Servlet.init() is the earliest place in the servlet 
lifecycle to securely access java:comp/env.

B.t.w bug 38629 may be related to this one, since exceptions in static 
initializers lead to java.lang.NoClassDefFoundError



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38630] - Environment (java:comp/env/) sometimes not available

2006-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38630





--- Additional Comments From [EMAIL PROTECTED]  2006-02-14 09:44 ---
(In reply to comment #1)
ServletContextListener.contextInitialized() might be the earliest point in the 
webapp-lifecycle to provide access to java:comp/env

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38637] - IP address of the HttpSession owner

2006-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38637





--- Additional Comments From [EMAIL PROTECTED]  2006-02-14 11:50 ---
I'd say AOL is rather an exception then rule. The session could store the
"latest" IP address, which is going to be at least something in AOLs case. Or
even better still, it can store the list of IP addresses accessed the session. 

Monitoring for sessions with multiple IP addresses could flag possible
clustering/load-balancing or security ussues.

Any thoughts?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 38318] - jsvc error: Cannot find any VM in Java Home /usr/lib/j2sdk1.5-sun

2006-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38318


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-02-14 12:46 ---
Check and make sure that you have the correct JVM.  I had this exact message
when trying to use the JDK built for x86/i586 and not the proper AMD/64 JDK (on
a dual Opteron).  

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: svn commit: r377486 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastService.java

2006-02-14 Thread Filip Hanik - Dev Lists
>Are your current big changes not a very high risk to break the cluster 
functionaliy again?


You must have faith in force Luke, otherwise you will have anger, anger 
leads to hate and hate leads to the darkside


on a serious note, no, I don't plan on creating a duplicate clustering 
module.


Filip



Peter Rossbach wrote:

Ohh,

I see you have later correct this past bug. Thanks!

Are your current big changes not a very high risk to break the cluster 
functionaliy again?
Why we not going inside a branch or a cluster2 module? Currently a lot 
of user work very successfully with the tomcat 5.5.15 cluster. It was 
my fault last year to changes to quick a lot.


Regards
Peter
[EMAIL PROTECTED]




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



Unused code at Http11AprProcessor and Http11Processor

2006-02-14 Thread Peter Rossbach
I have seen at Http11AprProcessor and Http11AprProcessor following  
method that nobody used?

   private boolean inStringArray(String sArray[], String value) {...

Can I remove this ?

Regards
Peter Roßbach
[EMAIL PROTECTED]




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



May Chun Chew/FEA/PEC is out of the office.

2006-02-14 Thread May Chun Chew




I will be out of the office starting  02/15/2006 and will not return until
02/17/2006.

I will respond to your message when I return. For urgent matters, pls
contact Richard Seng at [EMAIL PROTECTED] or 63629293


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



DO NOT REPLY [Bug 38652] New: - Failed shutdown of Apache Portable Runtime

2006-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38652

   Summary: Failed shutdown of Apache Portable Runtime
   Product: Tomcat 5
   Version: Unknown
  Platform: Other
OS/Version: FreeBSD
Status: NEW
  Severity: normal
  Priority: P2
 Component: Webapps:Administration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When i try to stop my tomcat 5.5.15 with this command, ./shutdown.sh. i will 
notice this line of information statement at the bottom of my log file 
(CATALINA_HOME/logs/Catalina_[today_date].log):
INFO : Failed shutdown of Apache Portable Runtime

I have verified that the server did stop after the ./shutdown.sh command 
issues, but then what is this Failed shutdown message mean? Please help and 
advice what shall i do to remove this error/problems.

Thank you.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



RE: truncated server.xml got when storing config on condition that more than one vitual host with same application base directory "webapps" were defined.

2006-02-14 Thread Yong Gou
Hi George,

Has the issue you mentioned been fixed? If it has, how could I get this fix?

Thanks,
Eric

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED] 
Sent: 2006年1月27日 0:29
To: 'Tomcat Developers List'
Subject: RE: truncated server.xml got when storing config on condition that 
more than one vitual host with same application base directory "webapps" were 
defined.

If you have the tomcat service running as LocalSystem, then there should be
no permission issues.

Looking through your post again, I think the issue is the same as mine,
you're just getting there differently. I think that its failing on the write
of the context.xml, as in my case because the other app didn't correctly
free the resource (close the file, whatever). The scenario I'm guessing at
is:

Host A Saves but doesn't close all files
Host B tries to save but can't because Host A's files were'nt correctly
closed.


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

> -Original Message-
> From: Yong Gou [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 25, 2006 9:41 PM
> To: Tomcat Developers List
> Subject: RE: truncated server.xml got when storing config on 
> condition that more than one vitual host with same 
> application base directory "webapps" were defined.
> 
> yes. I checked each webapps/app/META-INF directory, each of 
> these directory has a lot of backup files named like 
> context.xml.2005-11-28.19-02-56. These files were created 
> when Tomcat server was running. and also I think there should 
> be no write permission related issues since my Tomcat server 
> was running on Windows XP. so I am not sure if this is same 
> as your case.
> 
> Thanks,
> Eric
> 
> -Original Message-
> From: George Sexton [mailto:[EMAIL PROTECTED] 
> Sent: 2006年1月19日 0:27
> To: 'Tomcat Developers List'
> Subject: RE: truncated server.xml got when storing config on 
> condition that more than one vitual host with same 
> application base directory "webapps" were defined.
> 
> I didn't notice. Did you follow my advice to check write 
> permissions on all of the webapps directories.
> 
> As reported, if the tomcat user cannot write to each webapp 
> (or at least the webapp/META-INF directory), then creation of 
> the server.xml will fail in the manner you describe.
> 
> George Sexton
> MH Software, Inc.
> http://www.mhsoftware.com/
> Voice: 303 438 9585
>   
> 
> > -Original Message-
> > From: Yong Gou [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, January 17, 2006 8:47 PM
> > To: Tomcat Developers List
> > Subject: RE: truncated server.xml got when storing config 
> on condition 
> > that more than one vitual host with same application base directory 
> > "webapps" were defined.
> > 
> > Hi Peter,
> > 
> > I downloaded the 5.5.15 beta from Apache Tomcat downloads page and 
> > installed it on my desktop. But I found the same issue was 
> still there 
> > with this version when I used its admin console webapp to add a new 
> > host and store config to the server.xml. The following is the 
> > resultant server.xml.
> > 
> >   > port="6005">
> >> className="org.apache.catalina.core.AprLifecycleListener"/>
> >> className="org.apache.catalina.mbeans.GlobalResourcesLifecycle
> > Listener"/>
> >> className="org.apache.catalina.storeconfig.StoreConfigLifecycl
> > eListener"/>
> >> className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
> >   
> >  >   name="simpleValue"
> >   type="java.lang.Integer"
> >   value="30"/>
> >  >   auth="Container"
> >   description="User database that can be updated and saved"
> >   name="UserDatabase"
> >   type="org.apache.catalina.UserDatabase"
> >   pathname="conf/tomcat-users.xml"
> >   
> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"/>
> >   
> >>   name="Catalina">
> >  > port="6080"
> > redirectPort="6443"
> > minSpareThreads="25"
> > connectionTimeout="6"
> > connectionLinger="-1"
> > serverSoTimeout="0"
> > maxSpareThreads="75"
> > maxThreads="150"
> > tcpNoDelay="true"
> > maxHttpHeaderSize="8192">
> > 
> >  > port="6009"
> > redirectPort="6443"
> > protocol="AJP/1.3">
> > 
> >  > defaultHost="localhost"
> > name="Catalina">
> >className="org.apache.catalina.realm.UserDatabaseRealm"/>
> >>   appBase="webapps"
> >   name="localhost">
> >   
> >>   appBase="webapps"
> >   name="gyvh">
> > 
> > 
> > Thanks,
> > Eric
> > 
> > 
> > 
> > -Original Message-
> > From: Peter Rossbach [mailto:[EMAIL PROTECTED]
> > Sent: 2006年1月16日 18:30
> > To: Tomcat Developers List
> > Subject: Re: truncated server.xml got when storing config 
> on condition 
> > that more than one vitual host with same application base directory 
> > "webapps" were defined.