Uttam | 5 Jan 12:39 2006

Facing problem when 2 simultaneous requests are sent to tomcat.

Hi All,
 
I am a newbei using the Tomcat server in my application. I am using 
 
Apache Tomcat 5.028 server
JDK 1.5 Update 5
JRE 5 Update 6
 
I have written a simple file test PHP file which does this -
As soon it is called, it prints a debug message (Request received message) on the IE window.
Sleeps for 5 sec.
After sleep, prints on more debug message on the IE window and quits.
 
When I call this test PHP file simultaneously from two separate Internet Explorer windows, I face this strange problem -
 
The first message (Request received message) will be printed in both the windows. Then the second message for both the windows will be printed in the last window i.e. which ever page was submitted later.
 
I am attaching the web.xml and server.xml files along with the mail. Somebody please help me...
 
Thanks in advance.
 
Regards,
Uttam.
Attachment (server.xml): text/xml, 18 KiB
Attachment (web.xml): text/xml, 45 KiB
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe <at> jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help <at> jakarta.apache.org
Deepal Jayasinghe | 13 Oct 06:33 2004

Tomcat Hot Deployement

Hi all;

I am currently working on axis 2.0 (java) and I wont to know how the tomcat handle hot deployment. So can some
one tell me how tomcat handle hot deployment, Is it a thread running forever and checking whether a
specific folder is changed?

Thank you,

==================================================
Deepal Jayasinghe
Lanka Software Foundation
0714 817 310
Davanum Srinivas | 26 Jan 18:47 2004
Picon

Maven's JXR / alexandria's javasrc

Folks,

Does anyone object to moving alexandria's javasrc to maven-land to merge efforts with maven's JXR?

thanks,
dims

=====
Davanum Srinivas - http://webservices.apache.org/~dims/
dims | 11 Jan 23:19 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab MethodDef.java

dims        2004/01/11 14:19:42

  Modified:    src/java/org/apache/alexandria/javasrc/symtab MethodDef.java
  Log:
  html-ize locally defined variables in methods.

  Revision  Changes    Path
  1.4       +7 -3      jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/MethodDef.java

  Index: MethodDef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/MethodDef.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MethodDef.java	11 Jan 2004 20:58:15 -0000	1.3
  +++ MethodDef.java	11 Jan 2004 22:19:42 -0000	1.4
   <at>  <at>  -389,6 +389,10  <at>  <at> 
           if(parameters != null) {
               parameters.generateTags(tagList);
           }
  +        
  +        if(elements != null){
  +            elements.tagElements(tagList);
  +        }
       }

       /**
dims | 11 Jan 21:58 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab MethodDef.java

dims        2004/01/11 12:58:15

  Modified:    src/java/org/apache/alexandria/javasrc/symtab MethodDef.java
  Log:
  html-ize method parameters as well.

  Revision  Changes    Path
  1.3       +7 -3      jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/MethodDef.java

  Index: MethodDef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/MethodDef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MethodDef.java	29 Dec 2003 02:08:35 -0000	1.2
  +++ MethodDef.java	11 Jan 2004 20:58:15 -0000	1.3
   <at>  <at>  -385,6 +385,10  <at>  <at> 
           tagList.addElement(t);

           String definerName = getOccurrence().getClassName();
  +        
  +        if(parameters != null) {
  +            parameters.generateTags(tagList);
  +        }
       }

       /**
dims | 10 Jan 20:33 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref JavaLexer.java JavaTokenTypes.java JavaTokenTypes.txt JavaXref.java

dims        2004/01/10 11:33:30

  Modified:    src/java/org/apache/alexandria/javasrc/xref JavaLexer.java
                        JavaTokenTypes.java JavaTokenTypes.txt
                        JavaXref.java
  Log:
  classes genned by antlr.Tool against javaG.g (latest grammar)

  Revision  Changes    Path
  1.5       +175 -153  jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaLexer.java

  http://cvs.apache.org/viewcvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaLexer.java.diff?r1=1.4&r2=1.5

  
  1.4       +113 -107  jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaTokenTypes.java

  http://cvs.apache.org/viewcvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaTokenTypes.java.diff?r1=1.3&r2=1.4

  
  1.2       +113 -107  jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaTokenTypes.txt

  http://cvs.apache.org/viewcvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaTokenTypes.txt.diff?r1=1.1&r2=1.2

  
  1.4       +2602 -1714jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaXref.java

  http://cvs.apache.org/viewcvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/JavaXref.java.diff?r1=1.3&r2=1.4
dims | 10 Jan 20:32 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab ClassDef.java

dims        2004/01/10 11:32:36

  Modified:    src/java/org/apache/alexandria/javasrc/symtab ClassDef.java
  Log:
  dont throw spurious "detected infinite loop" messages

  Revision  Changes    Path
  1.3       +4 -4      jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/ClassDef.java

  Index: ClassDef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/ClassDef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClassDef.java	29 Dec 2003 02:08:35 -0000	1.2
  +++ ClassDef.java	10 Jan 2004 19:32:36 -0000	1.3
   <at>  <at>  -292,7 +292,7  <at>  <at> 
        */
       Definition lookup(String name, int numParams, Class type) {

  -        String goal = getName() + "|" + getName() + "|" + numParams + "|"
  +        String goal = name + "|" + getQualifiedName() + "|" + numParams + "|"
                   + type;

           if (goals.contains(goal)) {
dims | 10 Jan 20:31 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref javaG.g

dims        2004/01/10 11:31:42

  Modified:    src/java/org/apache/alexandria/javasrc/xref javaG.g
  Log:
  enable support for assert

  Revision  Changes    Path
  1.5       +1 -1      jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/javaG.g

  Index: javaG.g
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/xref/javaG.g,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- javaG.g	3 Jan 2004 20:01:01 -0000	1.4
  +++ javaG.g	10 Jan 2004 19:31:42 -0000	1.5
   <at>  <at>  -958,7 +958,7  <at>  <at> 
   	|	"synchronized"^ LPAREN! expression RPAREN! compoundStatement[NEW_SCOPE]

   	// asserts (uncomment if you want 1.4 compatibility)
  -	//|	"assert"^ expression ( COLON! expression )? SEMI!
  +	|	"assert"^ expression ( COLON! expression )? SEMI!

   	// empty statement
   	|	s:SEMI {#s.setType(EMPTY_STAT);}
dims | 10 Jan 23:26 2004
Picon

cvs commit: jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab ClassDef.java

dims        2004/01/10 14:26:42

  Modified:    src/java/org/apache/alexandria/javasrc/symtab ClassDef.java
  Log:
  don't generate spurious links.

  Revision  Changes    Path
  1.4       +11 -9     jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/ClassDef.java

  Index: ClassDef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/java/org/apache/alexandria/javasrc/symtab/ClassDef.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ClassDef.java	10 Jan 2004 19:32:36 -0000	1.3
  +++ ClassDef.java	10 Jan 2004 22:26:42 -0000	1.4
   <at>  <at>  -450,13 +450,15  <at>  <at> 

           String linkString;
           String linkFileName;
  +        HTMLTag t = null;

  -        linkFileName = getRelativePath(occ) + getSourceName();
  -        linkString = "<a class=\"classRef\" href=" + linkFileName + "#"
  -                + getClassScopeName() + ">" + getName() + "</a>";
  -
  -        HTMLTag t = new HTMLTag(occ, getName(), linkString);
  -
  +        if(getSourceName() != null){
  +            linkFileName = getRelativePath(occ) + getSourceName();
  +            linkString = "<a class=\"classRef\" href=" + linkFileName + "#"
  +                    + getClassScopeName() + ">" + getName() + "</a>";
  +    
  +            t = new HTMLTag(occ, getName(), linkString);
  +        }
           return t;
       }
Davanum Srinivas | 2 Jan 04:08 2004
Picon

JavaSrc

Team,

Here's the latest output - http://nagoya.apache.org/~dims/maven/ running against maven's source
code.  this was so that we could compare with maven's jxr generated code -
http://maven.apache.org/xref/index.html.

Right now i need help from anyone who knows ANTLR and can handle grammars with ease. we need to
update the grammer and clean up some cross referencing stuff. Can anyone help me? alternatively,
does anyone know others who may have knowledge and might be willing to help?

thanks,
dims

=====
Davanum Srinivas - http://webservices.apache.org/~dims/
Craig R. McClanahan | 28 Dec 22:20 2003
Picon

Re: Request for Karma - alexandria (Re: [PATCH] Ant Task for JavaSrc)

Quoting Scott Sanders <scott <at> dotnot.org>:

> I am +1 on this.
> 
> Scott
> On Dec 28, 2003, at 10:17 AM, Davanum Srinivas wrote:
> 
> > Dear PMC,
> >
> > can you please grant me karma to alexandria? i'd like to fix JavaSrc 
> > to be able to get it to work
> > with Gump and generate bot-crawlable sites (improve code reuse etc...)
> >
> > thanks,
> > dims
> 

+1 as well, and karma granted.

Craig McClanahan

Gmane