Re: Please help with mod_jk

2002-05-20 Thread Duane Gran

Peter,

I'm no expert, but just a few basic questions/observations:

1) Do you have mod_so enabled?  Check by running httpd -l
2) Do you have mod_jk.so in the libexec directory?

Sorry if these are *very* basic suggestions.  If it isn't one of those 
issues, I'm not sure offhand.

Duane

On Monday, May 20, 2002, at 01:01 PM, Peter Choe wrote:

> i am trying to get mod_jk working on a Solaris 8 intel box.  i have 
> installed apache1.3.24 from sources and i have tomcat4.0.x from 
> binaries.
>
> i compiled mod_jk using the script provided and everything seemed to 
> work.  but when i put:
>
> LoadModule jk_module  libexec/mod_jk.so
>
> in to the httpd.conf file i get the following error:
>
> bash-2.03# /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: 
> /usr/local/apache/bin/httpd: fatal: relocation error: file 
> /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced 
> symbol not found
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> if i leave out the LoadModule jk_module   libexec/mod_jk.so
>
> apache starts, but it doesn't connect to tomcat.
>
> how can i correct this error?
>
>
> --
> To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> For additional commands, e-mail:  [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Solution: existence of Alias tag in Tomcat 3.3?

2002-05-14 Thread Duane Gran

I caught my error.  The description can be found on this page:

   http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html

Basically I had a syntax error with the Alias tag and the tag *must* be 
present before the Context tag.  A corrected version of the webapp below 
would be:


 
  
  
  
  
 


Duane

On Tuesday, May 14, 2002, at 12:14 PM, Duane Gran wrote:

> Tomcat Users,
>
> I was under the impression that there was an Alias tag available within 
> a WebApp that would allow multiple domain names to match to one Host 
> entry.  For example:
>
> 
> 
>  docBase="/usr/local/apache/sites/anotherbigidea.com/htdocs"
>debug="1"
>reloadable="true">
>  
> anotherbigidea.com
> www.anotherbigidea.com
> 
> 
>
> In the example above, the httpd.conf would have a ServerName of 
> nickmain.spinweb.net and a ServerAlias of anotherbigidea.com and 
> www.anotherbigidea.com.  Is the Alias tag only part of Tomcat 4, or is 
> there a way to do this in Tomcat 3 without duplicating the Host tag?  I 
> appreciate any comments or suggestions on this, as I mistakenly 
> transferred some domains and I'm needing to fix this one pretty quickly.
>
> Duane
>
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:tomcat-user-
> [EMAIL PROTECTED]>


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




existence of Alias tag in Tomcat 3.3?

2002-05-14 Thread Duane Gran

Tomcat Users,

I was under the impression that there was an Alias tag available within 
a WebApp that would allow multiple domain names to match to one Host 
entry.  For example:


 
  
  
 anotherbigidea.com
 www.anotherbigidea.com
 


In the example above, the httpd.conf would have a ServerName of 
nickmain.spinweb.net and a ServerAlias of anotherbigidea.com and 
www.anotherbigidea.com.  Is the Alias tag only part of Tomcat 4, or is 
there a way to do this in Tomcat 3 without duplicating the Host tag?  I 
appreciate any comments or suggestions on this, as I mistakenly 
transferred some domains and I'm needing to fix this one pretty quickly.

Duane


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: simple ContextManager question

2002-05-13 Thread Duane Gran

Larry,

Thanks for the suggestion.  I made this change and made a request to 
nickmain.spinweb.net to snoop.jsp and got the following output:

2002-05-13 14:58:44 - ContextManager: Host = nickmain.spinweb.net
2002-05-13 14:58:44 - ContextManager: SM: Prefix match 
/examples/jsp/snp/snoop.jsp ->  null null
2002-05-13 14:58:44 - SimpleMapper1: Default map 
/examples/jsp/snp/snoop.jsp null
2002-05-13 14:58:44 - ContextManager: SM: Extension match  
/examples/jsp/snp/snoop.jsp .jsp
2002-05-13 14:58:44 - SimpleMapper1: SM: Found extension mapping 
ServletH jsp(SW (null CN=jsp))
2002-05-13 14:58:44 - SimpleMapper1: SM: After mapping R(  + 
/examples/jsp/snp/snoop.jsp + null) ServletH jsp(SW (null CN=jsp))
2002-05-13 14:58:44 - SimpleMapper1: SM: exact map 
nickmain.spinweb.net:/examples/jsp/snp/snoop.jsp -> Ct 
(/examples/jsp/snp/snoop.jsp ServletH 
TOMCAT/JSP/examples/jsp/snp/snoop.jsp(SW (/examples/jsp/snp/snoop.jsp 
CN=TOMCAT/JSP/examples/jsp/snp/snoop.jsp)) )
2002-05-13 14:58:44 - Ctx() : Compiling: /examples/jsp/snp/snoop.jsp to 
examples.jsp.snp.snoop_0

This looks right, and I tried a few other hosts and I've found a curious 
thing.  Now the compiled class files from JSP requests are showing up in 
the correct work directory.  Before adding the debug line I don't think 
this was happening.

It is working perfectly now.  I'm rather puzzled, but quite relieved.  I 
appreciate your help and input on the problem.

Duane

On Monday, May 13, 2002, at 03:54 PM, Larry Isaacs wrote:

> Try setting debug="1" on the  element in your
> server.xml.  This will cause a group of lines to appear in the
> Tomcat log for each request.  The first of these lines identifies
> the host Tomcat thinks the request is for.  Do you see the
> different host names here?
>
> Cheers,
> Larry
>
>
>> -Original Message-
>> From: Duane Gran [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, May 13, 2002 2:13 PM
>> To: Tomcat Users List
>> Subject: Re: simple ContextManager question
>>
>>
>> Larry,
>>
>> Thanks for the additional information.  Upon further reflection, I
>> notice that all JSPs are compiled into the following directory:
>>
>>$TOMCAT_HOME/work/DEFAULT/examples/jsp
>>
>> The problem is that requests to domain1.com/examples/ and
>> domain2.com/examples/ are treated the same, and I would like
>> Tomcat to
>> use the work directories for each domain, not the DEFAULT.
>> Recall, the
>> purpose is to have a playground where users on the system can fiddle
>> with the examples directory to learn and explore.
>>
>> I had this working with Tomcat 3.2, but I don't see the configuration
>> analog between the two systems.  Maybe a better way of phrasing my
>> question would be, how do I make sure the /examples is treated on a
>> per-host basis, not system-wide through the default?
>>
>> Again, the help and input is very appreciated.
>>
>> Duane
>>
>> On Monday, May 13, 2002, at 02:03 PM, Larry Isaacs wrote:
>>
>>> I don't think there is an error.  path="" has a special meaning,
>>> i.e. this is the default context.  When a request fails
>>> to match any other context, the request is sent to the default
>>> context.
>>>
>>> Internally, the default context is assigned the name "ROOT".
>>> That name is displayed in the startup messages you see and is
>>> used in other ways, such as the work directory name for the
>>> context.  Consistent with this, auto-deployment of a web application
>>> named ROOT implies it should be the default context, and
>> not served as
>>> "/ROOT".
>>>
>>> Cheers,
>>> Larry
>>>
>>>> -Original Message-
>>>> From: Duane Gran [mailto:[EMAIL PROTECTED]]
>>>> Sent: Monday, May 13, 2002 1:41 PM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: simple ContextManager question
>>>>
>>>>
>>>> Tomcat users,
>>>>
>>>> I'm running Tomcat 3.3 with multiple virtual hosts and using
>>>> the handy
>>>> feature where Tomcat reads the
>>>> $TOMCAT_HOME/conf/apps-user.xml files for
>>>> each web app.  Things are working well, but I believe all the web
>>>> applications are being mapped to the /ROOT webapp, which
>> isn't what I
>>>> want.  I copied over the examples directory to each user's
>>>> area so they
>>>> would have their own "playground" so to speak.
>>>>
>>>> My reason for thinking this is because of the following output w

Re: simple ContextManager question

2002-05-13 Thread Duane Gran

Larry,

Thanks for the additional information.  Upon further reflection, I 
notice that all JSPs are compiled into the following directory:

   $TOMCAT_HOME/work/DEFAULT/examples/jsp

The problem is that requests to domain1.com/examples/ and 
domain2.com/examples/ are treated the same, and I would like Tomcat to 
use the work directories for each domain, not the DEFAULT.  Recall, the 
purpose is to have a playground where users on the system can fiddle 
with the examples directory to learn and explore.

I had this working with Tomcat 3.2, but I don't see the configuration 
analog between the two systems.  Maybe a better way of phrasing my 
question would be, how do I make sure the /examples is treated on a 
per-host basis, not system-wide through the default?

Again, the help and input is very appreciated.

Duane

On Monday, May 13, 2002, at 02:03 PM, Larry Isaacs wrote:

> I don't think there is an error.  path="" has a special meaning,
> i.e. this is the default context.  When a request fails
> to match any other context, the request is sent to the default
> context.
>
> Internally, the default context is assigned the name "ROOT".
> That name is displayed in the startup messages you see and is
> used in other ways, such as the work directory name for the
> context.  Consistent with this, auto-deployment of a web application
> named ROOT implies it should be the default context, and not served as
> "/ROOT".
>
> Cheers,
> Larry
>
>> -Original Message-
>> From: Duane Gran [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, May 13, 2002 1:41 PM
>> To: [EMAIL PROTECTED]
>> Subject: simple ContextManager question
>>
>>
>> Tomcat users,
>>
>> I'm running Tomcat 3.3 with multiple virtual hosts and using
>> the handy
>> feature where Tomcat reads the
>> $TOMCAT_HOME/conf/apps-user.xml files for
>> each web app.  Things are working well, but I believe all the web
>> applications are being mapped to the /ROOT webapp, which isn't what I
>> want.  I copied over the examples directory to each user's
>> area so they
>> would have their own "playground" so to speak.
>>
>> My reason for thinking this is because of the following output when
>> starting Tomcat:
>>
>> 2002-05-13 12:23:16 - ContextManager: Adding
>> dezrtfox.spinweb.net:/ROOT
>> 2002-05-13 12:23:16 - ContextManager: Adding
>> nickmain.spinweb.net:/ROOT
>> 2002-05-13 12:23:16 - ContextManager: Adding
>> cogsense.spinweb.net:/ROOT
>> 2002-05-13 12:23:16 - ContextManager: Adding
>> mudgecko.spinweb.net:/ROOT
>> 2002-05-13 12:23:16 - ContextManager: Adding  jpinto.spinweb.net:/ROOT
>>
>> I've looked at the docs, but haven't found the source of my
>> error.  If
>> things work correctly I should expect to see files generated from JSP
>> processing in the $TOMCAT_HOME/work/DOMAIN directory, but I
>> don't.  This
>> leads me to think that Tomcat isn't mapping the context
>> correctly to the
>> directory I've specified.  Just for kicks, here is one of my webapp
>> config files:
>>
>> 
>> 
>> 
>>  
>>   >
>> docBase="/usr/local/apache/sites/anotherbigidea.com/htdocs"
>> debug="1"
>> reloadable="true">
>>   
>>  anotherbigidea.com
>>  
>> 
>> 
>>
>> Can someone enlighten me on this?  I would be very
>> appreciative and I'll
>> be glad to furnish more details.
>>
>> Duane
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:tomcat-user-> [EMAIL PROTECTED]>
>> For
>> additional commands,
>> e-mail: <mailto:[EMAIL PROTECTED]>
>>
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:tomcat-user-
> [EMAIL PROTECTED]>


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




simple ContextManager question

2002-05-13 Thread Duane Gran

Tomcat users,

I'm running Tomcat 3.3 with multiple virtual hosts and using the handy 
feature where Tomcat reads the $TOMCAT_HOME/conf/apps-user.xml files for 
each web app.  Things are working well, but I believe all the web 
applications are being mapped to the /ROOT webapp, which isn't what I 
want.  I copied over the examples directory to each user's area so they 
would have their own "playground" so to speak.

My reason for thinking this is because of the following output when 
starting Tomcat:

2002-05-13 12:23:16 - ContextManager: Adding  dezrtfox.spinweb.net:/ROOT
2002-05-13 12:23:16 - ContextManager: Adding  nickmain.spinweb.net:/ROOT
2002-05-13 12:23:16 - ContextManager: Adding  cogsense.spinweb.net:/ROOT
2002-05-13 12:23:16 - ContextManager: Adding  mudgecko.spinweb.net:/ROOT
2002-05-13 12:23:16 - ContextManager: Adding  jpinto.spinweb.net:/ROOT

I've looked at the docs, but haven't found the source of my error.  If 
things work correctly I should expect to see files generated from JSP 
processing in the $TOMCAT_HOME/work/DOMAIN directory, but I don't.  This 
leads me to think that Tomcat isn't mapping the context correctly to the 
directory I've specified.  Just for kicks, here is one of my webapp 
config files:




 
  
  
 anotherbigidea.com
 



Can someone enlighten me on this?  I would be very appreciative and I'll 
be glad to furnish more details.

Duane


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: building mod_jk on solaris

2002-05-10 Thread Duane Gran

Peter,

You can use mod_jk with Tomcat3 or Tomcat4.  I found it terribly hard to 
compile it on Solaris 8 (sparc), so I downloaded the binary and it works 
just fine for me.  I'm connecting with Apache.

Duane

On Friday, May 10, 2002, at 08:52 AM, Peter Choe wrote:

> i am trying to build mod_jk for tomcat4.0.  the only mod_jk i found is 
> actually in tomcat3.3 though.  so, i tried to compile it using the 
> build-solaris.sh script and i get the following error:
>
> bash-2.03# ./build-solaris.sh
> Building mod_jk
> cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include 
> -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  
> -c ../common/jk_ajp12_worker.c
> apxs:Break: Command failed with rc=16711680
> Error with apxs
>
> does anyone know how i can fix this?
>
>
> --
> To unsubscribe, e-mail:    [EMAIL PROTECTED]>
> For additional commands, e-mail:  [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_webapp and *.shtml not working

2002-04-15 Thread Duane Gran

Joseph,

I read with interest your message below.  I'm migrating from Tomcat 
3.2.x to 4.0.3 and the behavior of Warp is a bit confusing to me.  You 
said that you are 95% done with a document describing how to integrate 
Apache and Tomcat.  Do you mind if I see this?  I would be happy to 
offer feedback and help with the document if you are interested.

Duane

ps - I tried to email directly to your hotmail account but it reports 
that the quota is exceeded.

On Thursday, April 11, 2002, at 01:40 PM, Joseph Molnar wrote:

> I haven't tried this, but I think it may work. I have a document I will 
> be
> releasing today that explains some of this:
>
> a) Apache 'ignores' all Directory directives when a WebAppDeploy 
> statement
> takes over the root.
> b) Apache doesn't ignore Location directives.
> c) SetHandler's in the Location directives work fine.
>
> My suggestion is to put a Location (or Location Match) directive on on 
> the
> root. Then put a Files directive (if you only want to match files) to 
> match
> .shtml files.
>
> THEN do a SetHandler to 'server-parsed'.
>
> What I am not 100% sure of at this point, since I haven't had an 
> opportunity
> to try, is what actual directory location it will attempt to find the 
> files
> at. Naturally I would presume it would be based off of the 
> DocumentRoot, but
> again, I am not 100% sure.
>
> Let me know if that works, and when I have a moment I will attempt to 
> try
> since it will be helpful for the document I wrote up explaining how to
> install Tomcat on Apache via WARP (it is 95% done at this point).
>
>
> 
> Joseph Molnar
> http://www.codesta.com/
>
>
>
> - Original Message -
> From: "Catalin Mihailescu" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, April 11, 2002 10:28 AM
> Subject: mod_webapp and *.shtml not working
>
>
>> Hello,
>>
>> I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and a site
> "site-name"
>> that use SSI.
>> I cannot make them to work together (Apache to serve *.shtml and Tomcat
> serve
>> JUST *.jsp).
>>
>> Can you please tell me what I'm doing wrong and what else should I do 
>> to
> make
>> it work?
>>
>>
>> My server.xml looks like:
>>
>> __
>> ---
>> 
>>
>> 
>>   
>>
>>  className="org.apache.catalina.connector.warp.WarpConnector"
>>  port="8008" minProcessors="5" maxProcessors="10"
>>  enableLookups="false" appBase="webapps"
>>  acceptCount="5" debug="0"/>
>>
>> >  name="testing" debug="0">
>> 
>>
>>   
>>
>> 
>> _
>>
>>
>> My httpd.conf looks like:
>>
>> _
>> ---
>> LoadModule webapp_module  libexec/mod_webapp.so
>> AddModule mod_webapp.c
>> ---
>> DirectoryIndex index.shtml index.html index.htm index.php index.php4
> index.jsp
>>
>> ---
>> AddIcon /icons/layout.gif .html .shtml .htm .pdf
>> ---
>> AddType text/html .shtml
>> AddHandler server-parsed .shtml
>> ---
>> WebAppConnection warpConnection warp localhost:8008
>> WebAppInfo /webapp-info
>> ---
>> 
>> DocumentRoot /web/site-name/htdocs
>> ServerName 192.168.2.15
>> LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
>> TransferLog /web/site-name/logs/access.log
>> ErrorLog /web/site-name/logs/error.log
>> WebAppDeploy biocapital-java warpConnection /
>> 
>> 
>>
>> mod_include, mod_mime, mod_cgi are also included and enabled for Apache
>>
>> I also have:
>> $CATALINA_HOME/webapps/site-name -> /web/site-name/htdocs
>>
>> The result is that Apache is complaining that /index.shtml was not 
>> found,
> but
>> all my *.jsp files are properly handled by Tomcat.
>> If I change
>> WebAppDeploy biocapital-java warpConnection / to look like
>> WebAppDeploy biocapital-java warpConnection /something
>> Apache is not complaining, but I'll be no longer capable to read my 
>> *.jsp
>> files.
>>
>> Also, if instead *.shtml I use html (other site) in the same setup,
> everything
>> goes just fine.
>>
>> Can you help, please?
>>
>> Catalin
>>
>>
>>
>>
>>
>>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




download link for mod_jk

2002-04-09 Thread Duane Gran

I've looked around but I can't find where to download mod_jk sources.  
Could someone please give me a pointer?  Thanks.

Duane


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Comparison of mod_webapp and mod_jk

2002-04-08 Thread Duane Gran

Tomcat User list,

I searched the archives and the Jakarta site but couldn't find something 
that could compare and contrast these two Apache connectors.  I'm using 
Apache 1.3 and Tomcat 4.0.3.  My background is using Tomcat 3.2 with the 
JServ connector, so I'm trying to get up to speed on the changes that 
have occured.  Could someone point me to the following:

1) Documentation on both of these connectors
2) A source for downloading mod_jk (I looked in earnest)

Thank you very much.

Duane Gran
spinweb.net


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Handler for Apache/Tomcat integration?

2002-04-05 Thread Duane Gran

Tomcat Users,

I'm migrating from Tomcat 3.2.x to Tomcat 4.0.3.  In the previous 
version I used the JServ AJP12 connector and used the following lines in 
the Apache httpd.conf to enable Tomcat 3 to handle *.jsp files:

   AddType text/jsp .jsp
   AddHandler jserv-servlet .jsp
   
 SetHandler jserv-servlet
   

I read through the list archives and searched around, but can someone 
tell me the appropriate handler for the connector with Tomcat 4?  Below 
is the connector statements I use for Apache:

   WebAppConnection tomcat  warp  localhost:8008
   WebAppDeploy servlettomcat  /

If I should be handling this differently, please let me know.  Many 
thanks in advance.

Duane Gran
spinweb.net


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: [OT} Tomcat Enabled ISP's

2000-12-06 Thread Duane Gran

The most often cited list is the following:

  http://www.adrenalinegroup.com/jwsisp.html

If you don't mind the plug, please consider my company which supports
Tomcat with our Developer Accounts:
 
  http://www.spinweb.net/hosting/developer_accounts/

Duane Gran
spinweb.net

On Wed, 6 Dec 2000, John Gentilin wrote:

>Has anone compiled a list of ISP's that support
>Tomcat ??
>
>




RE: tomcat.log file not found

2000-12-04 Thread Duane Gran

Panos,

It has been my experience that you have to turn it on manually.  In
server.xml make sure that it is listed for tc_log like the following:



Duane Gran
http://www.spinweb.net -- Tomcat hosting

On Mon, 4 Dec 2000, Panagiotis Konstantinidis wrote:

> Ok, but am I supposed to have a file called "tomcat.log" (whether there are
>errors or not) or it is only created if there is an error?
> 
>  Thank you
> 
>   Panos
>
>-Original Message-
>From: G.Nagarajan [mailto:[EMAIL PROTECTED]]
>Sent: 04 December 2000 14:25
>To: [EMAIL PROTECTED]
>Subject: RE: tomcat.log file not found
>
>
>Hi,
>The message "check for error messages" does not mean that there are errors.
>It is just an informative
>message. 
>
>-Original Message-
>From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 04, 2000 2:42 PM
>To: '[EMAIL PROTECTED]'
>Subject: RE: tomcat.log file not found
>
>
> No it is not, I have already looked there (several times) but it is not in
>there. It is not in the tomcat/logs, actually it is not on my hard
>disk!! I can't seem to find it anywhere.
> 
>
>-Original Message-
>From: G.Nagarajan [mailto:[EMAIL PROTECTED]]
>Sent: 04 December 2000 13:06
>To: [EMAIL PROTECTED]
>Subject: RE: tomcat.log file not found
>
>
>tomcat.log is usually in
>c:\tomcat\logs\, if you have installed tomcat in c:\.
> 
>
>-Original Message-
>From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 04, 2000 1:49 PM
>To: '[EMAIL PROTECTED]'
>Subject: tomcat.log file not found
>
>
>
>  And something else Sometimes when I am starting Tomcat I get an error
>message: "Starting tomcat. Check logs/tomcat.log for error messages" but I
>cannot find such file. I have looked everywhere (even in other drives) but I
>cannot find the file tomcat.log. I have to say here that Tomcat does not
>crash after this error message but keeps on working normally.
>
>  Any ides about what is going on? 
>
>  Thank you. 
>
>   Panos 
>
>




Problem with cart example (bean usage)

2000-12-04 Thread Duane Gran

Things seem to be working very well with Tomcat 3.2 in a shared
environment, however the cart example is giving me some problems:

  http://tomcat.spinweb.net/examples/jsp/sessions/carts.html

If I try to add anything I get the following exception:

org.apache.jasper.compiler.CompileException: 
/usr/local/apache/sites/tomcat.spinweb.net/htdocs/examples/jsp/sessions/carts.jsp(30,0)
 Bad
file argument to include 
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at javax.servlet.ServletException.(ServletException.java:107)
at org.apache.jasper.JasperException.(JasperException.java:73)
at
org.apache.jasper.compiler.CompileException.(CompileException.java:73)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Compiled
Code)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Compiled
Code)
at org.apache.jasper.compiler.Parser.parse(Compiled Code)
at org.apache.jasper.compiler.Parser.parse(Compiled Code)
at org.apache.jasper.compiler.Parser.parse(Compiled Code)
at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled
Code)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled
Code)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
at org.apache.tomcat.core.Handler.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
at org.apache.tomcat.core.ContextManager.internalService(Compiled
Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled
Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
at java.lang.Thread.run(Compiled Code)

I have tried to discern the source of this problem, but I am not sure what
is causing it.  Does anyone have any suggestions on this?

Duane Gran
spinweb.net




Re: Need database recommendation

2000-11-22 Thread Duane Gran

Cathy,

This isn't particularly germain to this mailing list, but in the event
that some kind soul does answer, you might help yourself by giving some
idea of your requirements and budget.  The quality of advice you get is
proportional to the quality of the question... unless you are on usenet
where noise always prevails.  ;)

Duane

On Wed, 22 Nov 2000, c cw288 wrote:

>Hi all,
>We are going to develop an application on apache + tomcat + mod_jk on 
>Solaris 8, and we need a database for our application. There are lots of 
>databases exit, we need some recommendation of which  is easier to 
>implement.
>
>Thanks,
>
>Cathy
>_
>Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com
>




Re: I can shutdown Tomcat

2000-11-07 Thread Duane Gran

Mauricio,

If you are running Unix you can do it the dirty way by killing the
process.  I have found that Tomcat has some problems shutting down if the
AJp connector is not enabled.

Duane

On Tue, 7 Nov 2000, [iso-8859-1] Mauricio Nuñez wrote:

>Thanks for your attention:
>
>I can't shutdown one of my sites, running Tomcat. I can shutdown others 3
>sites, but this not.
>What alternative i have?
>Any comment,tip, tool is wellcome.
>
>thanks in advance
>
>Mauricio Nuñez
>
>




Re: shutdown.sh did NOT work - Tomcat3.1 & solaris 2.7

2000-11-03 Thread Duane Gran

I'm not sure if it is related, but I have seen this bahavior when the AJP
connector is commented out.  In other words, I had this same problem when
I was testing it in stand alone mode without the connector code enabled in
the server.xml file.

I hope this helps.

Duane Gran
spinweb.net

On Fri, 3 Nov 2000, Len, Peter wrote:

>Hello,
>
>I just installed Tomcat 3.1 on my solaris 2.7 machine.  I have set my
>TOMCAT_HOME and JAVA_HOME.  It started up fine but when I went to run
>shutdown.sh it did not shutdown the listener.  Everything seemed fine;
>it displayed the 'Using classpath...' message from tomcat.sh and then
>the typical 'Stop tomcat'.  There were no errors or any other sign that
>would indicate the listener (port 8080) did not shut down, but it was
>still running. I had to kill the process manually.  This has never
>happened on my Win98, NT, or solaris 2.6 platforms.
>
>Has anyone seen this behavior??
>
>Thanks,
>
>Peter Len
>
>
>




Re: tomcat and iserver

2000-10-24 Thread Duane Gran

Doug,

Are you talking about setting this up on a Virtual Server from iServer?  I
have instructions online for this particular issue:

  http://www.spinweb.net/kb/show.php?getid=1240

Duane Gran
spinweb.net

On Wed, 25 Oct 2000, Doug Shumway wrote:

>Does anyone have experience setting up Iserver for JSPs
>
>Thankx - Doug
>