You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jakarta Jakarta <ja...@yahoo.com> on 2001/07/12 22:12:01 UTC

to compile or not

I sent out a message before in regards to my copy of
Tomcat 4.0b5 and Sun Java 1.3.1 on a Sun Solaris box
running Solaris 8, where Tomcat will just stop after a
while.  The only response I received was that it's
possible the VM was buggy.  Since 1.3.1 is the only
version of Java 1.3 that Sun has available, and I need
the support it provides, I can't do much about that if
it's true.  Is there any advantages to compiling
Tomcat on my Sun box from scratch, rather than to just
use the precompiled binaries?  Thanks.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Problem: Running .xml and .xsp with Cocoon + TomCat + IIS

Posted by Ruairi <ru...@rutlands.com>.
I have Tomcat working with IIS, jsp and servlets run perfectly.
I have Cocoon working great with TomCat all the xml and xsp files run
prefectly.
I have Apache Web Server & TomCat and Cocoon working perfectly!

But when I try to run XML or XSP files through IIS it does not get processed
on the server.  The ISAPI redirectors says that it is not a Servlet, but
when I hit the same page through TomCat Web server everything is perfect.


Here is the logs from TomCat ISAPI redirector:
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/cocoon/samples/hello/hello-page.xml
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc
[/cocoon/samples/hello/hello-page.xml] is not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/cocoon/samples/hello/hello-page.xml] is points to the web-inf directory


Any suggestion?

In Apache Server I had to say something like below, do I have to do the same
with IIS?  If so how?

AddType text/xml .xml
AddHandler jserv-servlet .xml




Regards,
-Ruairi
http://personal.mail.yahoo.com/


Re: to compile or not

Posted by John Riker <ja...@yahoo.com>.
Thanks I'll give blackdown a try and let you know. 
Strange thing is, before I thought I had error message
related to this sudden shutdown issue, however when I
deleted the logs, and it shutdown again this time, no
new log files were created.  Not sure if that's
because I deleted the logs while Tomcat was running
and it can not recreate them or not.

John

--- Adam Fowler <af...@aber.ac.uk> wrote:
> Hi,
> 
> As tomcat is written in Java and runs on 1.3.1 I
> would think that it wouldn't 
> make a difference. Of course, if it was compiled
> with 1.2.2 and there's some 
> extremely weird error then you might be write.
> 
> I still don't understand why ppl are getting a
> memory leak error. It seems to 
> happen on all boxes but to few ppl.
> 
> Has anyone actually traced this error to a specific
> area? Is it mod_jk usage 
> only? (works on mine) Is it OS specific(doubt it) It
> seems to be on both 
> tomcat 4.0 and 3.2. Which points toward the JDK.
> 
> Of course, you could always download the blackdown
> JDK (never thought I'd say 
> that!) and see if it works. As all JDKs must follow
> the same spec then it 
> should work fine and provide the functionality your
> need.
> 
> Keep me posted if you figure it out 8o)
> 
> Adam.
> 
> ---- 
> Adam Fowler 
> Help Desk Live Project 
> Information Services 
> University of Wales, Aberystwyth 
> Web guy+author on the TomcatBook Project 
> http://tomcatbook.sourceforge.net 
> e-mail: adamfowler@chillin.co.uk 
> ---- 
> 
> On Thursday 12 July 2001 20:12, you wrote:
> > I sent out a message before in regards to my copy
> of
> > Tomcat 4.0b5 and Sun Java 1.3.1 on a Sun Solaris
> box
> > running Solaris 8, where Tomcat will just stop
> after a
> > while.  The only response I received was that it's
> > possible the VM was buggy.  Since 1.3.1 is the
> only
> > version of Java 1.3 that Sun has available, and I
> need
> > the support it provides, I can't do much about
> that if
> > it's true.  Is there any advantages to compiling
> > Tomcat on my Sun box from scratch, rather than to
> just
> > use the precompiled binaries?  Thanks.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> 
> -- 
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: to compile or not

Posted by Adam Fowler <af...@aber.ac.uk>.
Hi,

As tomcat is written in Java and runs on 1.3.1 I would think that it wouldn't 
make a difference. Of course, if it was compiled with 1.2.2 and there's some 
extremely weird error then you might be write.

I still don't understand why ppl are getting a memory leak error. It seems to 
happen on all boxes but to few ppl.

Has anyone actually traced this error to a specific area? Is it mod_jk usage 
only? (works on mine) Is it OS specific(doubt it) It seems to be on both 
tomcat 4.0 and 3.2. Which points toward the JDK.

Of course, you could always download the blackdown JDK (never thought I'd say 
that!) and see if it works. As all JDKs must follow the same spec then it 
should work fine and provide the functionality your need.

Keep me posted if you figure it out 8o)

Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: adamfowler@chillin.co.uk 
---- 

On Thursday 12 July 2001 20:12, you wrote:
> I sent out a message before in regards to my copy of
> Tomcat 4.0b5 and Sun Java 1.3.1 on a Sun Solaris box
> running Solaris 8, where Tomcat will just stop after a
> while.  The only response I received was that it's
> possible the VM was buggy.  Since 1.3.1 is the only
> version of Java 1.3 that Sun has available, and I need
> the support it provides, I can't do much about that if
> it's true.  Is there any advantages to compiling
> Tomcat on my Sun box from scratch, rather than to just
> use the precompiled binaries?  Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

--