Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert

You also restarted your server and put something like that:



in tomcat-users.xml?

I don't know what else could be.

:)

Rick Reumann wrote:
> 
> On Wednesday, July 31, 2002, 10:35:52 AM, Nikolas wrote:
> 
> NAR> So, your copied your manager folder. There is just a WEB-INF with
> NAR> a web.xml in it, right?
> 
>  Yes that's all that is in the manager folder.
>  
> NAR> And you did not delete any of the entries
> NAR> in server.xml concerning "/manager" (context path for manager).
> 
>  I don't think I did. I did a search for "manager" in my
>  server.xml and there is this path still in there:
> 
>debug="0" privileged="true"/>
>   
> NAR> Your server is running and you are able to see the port 8080
> NAR> examples, right?
> 
>  Yup, all the applications are running as well. Just can't do
>  anything with /manager
> 
> 
> NAR> So as there does not seem to be other
> NAR> configuration it should work. Reload is only possible if the
> NAR> manager application works.
> 
>  Right, can't do any reloads since can't even bring up
>  /manager/list or anything.
> 
> NAR> I have no idea right now.
> 
>  Thanks for trying I'm just going to reinstall and see how that
>  goes.
> 
> NAR> cheers,
> 
> NAR> Nick
> 
> NAR> Rick Reumann wrote:
> 
>>>On Wednesday, July 31, 2002, 10:19:13 AM, Nikolas wrote:
>>>
>>>NAR> Did you reload it? What happens if you try to access
>>>NAR> http://yourhost/manager/list ?
>>>
>>> When you say 'reload it' what exactly do you mean? When I go to
>>> http://localhost:8080/manger/list I get the nice "page can not be
>>> displayed error" as if I'm typing in a bad URL.
>>>
>>>
>>>NAR> Rick Reumann wrote:
>>>
>>>
>Me, being the idiot I am I accidentally deleted the "manager"
>directory under webapps on Tomcat4.0.4 on winNT running Tomcat as a
>service. I had another version of Tomcat4.0.4 running with the same
>directory structure so I copied that manager over into this directory
>on the machine where I deleted it. Unfortunately I still can't bring
>up the context manager (Page not found error comes up.. no prompt or
>anything). I even reinstalled 4.0.4 but didn't do an uninstall first.
>Any ideas how to get the context manager to come back up without
>uninstalling everything and starting over?

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



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




Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert

So, your copied your manager folder. There is just a WEB-INF with a 
web.xml in it, right? And you did not delete any of the entries in 
server.xml concerning "/manager" (context path for manager). Your server 
is running and you are able to see the port 8080 examples, right?
So as there does not seem to be other configuration it should work.
Reload is only possible if the manager application works.

I have no idea right now.

cheers,

Nick

Rick Reumann wrote:
> 
> On Wednesday, July 31, 2002, 10:19:13 AM, Nikolas wrote:
> 
> NAR> Did you reload it? What happens if you try to access
> NAR> http://yourhost/manager/list ?
> 
>  When you say 'reload it' what exactly do you mean? When I go to
>  http://localhost:8080/manger/list I get the nice "page can not be
>  displayed error" as if I'm typing in a bad URL.
> 
> 
> NAR> Rick Reumann wrote:
> 
>>>Me, being the idiot I am I accidentally deleted the "manager"
>>>directory under webapps on Tomcat4.0.4 on winNT running Tomcat as a
>>>service. I had another version of Tomcat4.0.4 running with the same
>>>directory structure so I copied that manager over into this directory
>>>on the machine where I deleted it. Unfortunately I still can't bring
>>>up the context manager (Page not found error comes up.. no prompt or
>>>anything). I even reinstalled 4.0.4 but didn't do an uninstall first.
>>>Any ideas how to get the context manager to come back up without
>>>uninstalling everything and starting over?
>>
> 



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




Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert

Did you reload it? What happens if you try to access 
http://yourhost/manager/list ?

Rick Reumann wrote:
> Me, being the idiot I am I accidentally deleted the "manager"
> directory under webapps on Tomcat4.0.4 on winNT running Tomcat as a
> service. I had another version of Tomcat4.0.4 running with the same
> directory structure so I copied that manager over into this directory
> on the machine where I deleted it. Unfortunately I still can't bring
> up the context manager (Page not found error comes up.. no prompt or
> anything). I even reinstalled 4.0.4 but didn't do an uninstall first.
> Any ideas how to get the context manager to come back up without
> uninstalling everything and starting over?
> 
> Thanks
> 
> 
> 



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




Re: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Nikolas A. Rathert

Here is what I did to connect both. Note that I use Tomcat4.0.3 together 
with OpenSA Web Server (Apache 1.3.26 with built-in SSL support):

Connecting Tomcat and Apache
In this section you will learn

 * some bla bla about connecting Tomcat and Apache


Each of those servers will be used according to its specific tasks: 
Apache will be used as web server  and Tomcat as application server. 
The connection between them must be established in order to serve 
dynamic content via port 80 (the default port for web servers). If you 
connect both, *.jsp-files as well as servlets will be passed on to 
Tomcat and handled by it. Apache is therefore only the  arbitrator. Of 
course all static content will be sent through Apache to the 
clients.Basically there are two possibilities to connect Apache and 
Tomcat on a Windoze-based OS:

 * mod_webapp
 * mod_jk

Though it is not recommended to get the mod_webapp as connection 
handler, I did it - with the expected results: it is buggy and crashes 
the servers just after startup. So I had to switch to mod_jk and propose 
that you do this also. If you expect heavy load on your server you 
should use mod_jk as mod_webapp has no load balancing capabilities.

Obtaining necessary components
In this section you will learn

 * how to obtain mod_jk


You get the binary version of mod_jk by pointing your browser to the 
following URL:

 * 
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/bin/win32/i386/ 
(Apache up to version 1.3)
 * http://www.acg-gmbh.de/mod_jk/ (Apache from 2.0 and higher)

Editing of necessary files
In this section you will learn

 * to edit some important config files like
   o Apache
 + httpd.conf
   o Tomcat
 + server.xml
 + workers.properties


If you are now going to edit important config files for both servers be 
sure that your configuration so far is working properly. If you are not 
able to start and stop both servers and the examples are not displayed 
properly do not continue here. Try first to fix the problems in case 
there are any.
If there are no problems with the configuration so far - just go ahead.

First we have to edit server.xml

 * browse to the directory where you installed Tomcat
 * change to folder conf
 * open server.xml in your favourite texteditor
 * scroll to the line where  is stated and 
add the following line:
   o 
 * then go on to the line where  
is written and add:
   o  
 

Now save the modified server.xml and

 * browse to your /bin directory of your Tomcat installation directory
 * create a new directory called jk in the your /bin directory
 * create a new text file and save it as workers.properties, then
 * copy the following code and paste it into your workers.properties 
file
   o # Setup for Windows system
 #
 
workers.catalina_home="D:\Programme\Server\jakarta-tomcat-4.0.3"
 workers.java_home="D:\Programme\Java\j2sdk1.4.0_01"

 # Linux uses fwd slashes
 #ps=/

 # Windows uses back slashes
 ps=\

 worker.list= ajp13

 # Definition for Ajp13 worker
 #
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 * modify the path given in there and save the document.

After having done that you should edit httpd.conf. Therefore browse to 
your Apache installation directory and add the following to your httpd.conf:
after LoadModules Section:
 
##

   
 LoadModule jk_module modules/mod_jk.dll
   
 
##

and additionally at the end of your httpd.conf file:

  #---Load 
mod_jk-#
  
LoadModule jk_module 
"D:/Programme/Server/OpenSA/Apache/modules/mod_jk.dll"
  

  JkWorkersFile 
"D:/Programme/Server/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
  JkLogFile 
"D:/Programme/Server/jakarta-tomcat-4.0.3/logs/jk_log.txt"

  JkLogLevel debug

  JKMount /servlet/* ajp13
  JkMount /*.jsp ajp13
  JkMount /examples/* ajp13
  JkMount /manager/* ajp13
  JkMount /tomcat-docs/* ajp13
  JkMount /webdav/* ajp13
  JkMount /login/* ajp13
 
#---#

Do not forget to copy mod_jk.dll into the module folder of your Apache 
Web Server. Having done so, configuration is over and you are ready to 
run Tomcat through Apache.  Apache then is serving the static content, 
the dynamic content is handled by Tomcat.

Heligon Sandra wrote:
> Before posting the message I read the http://www.acg-gmbh.de

Re: tomcat 401 not responding!!!

2002-07-31 Thread Nikolas A. Rathert

mm, too few information.
What OS are you running on that machine?
If it is windoze try to reboot it.



Hoang C. Truong wrote:
> Hello everyone,
> 
> All of a sudden, I can't startup tomcat.  It was
> working fine.  After I shutdown, nothing seems to work
> any more.  I see this message in logs/catalina.out
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> 
> Normally, I would see much more than this.  
> 
> CAN ANY ONE HELP?  THIS IS VERY URGENT.
> 
> 
> Thanks,
> 
> -Hoang
> 
> __
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 



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




Re: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp?)

2002-07-31 Thread Nikolas A. Rathert

Hi, see below your questions, please

Heligon Sandra wrote:
>   Hi,
> 
>   I am working on a web application.
>   I used the default Tomcat4.0.4 configuration until now.
>   (standalone mode execution).
>   I would like to use Apache and Tomcat together but I don't  
>   understand what I must do.
>   The configuration is very hard, there are a lot of elements
>   httpd.conf, server.xml, mod_jk.dll or mod_jk2.dll or
> mod_webapp.dll...
>   I don't know what module I must use ?
>   
>   My environment is the following:
>   - Windows 2000
>   - Tomcat4.0.4 (I believe that the new version 4.1 is better with JSP
> but it implies
>   new configuration yet)
>   - Apache2.0.39 (it's the last stable version, I believe)
> 
>   I don't know the new features of mod_jk2 vs mod_jk vs mod_webapp.

I think you are forced to use Windoze as I am. I recommend to use LINUX 
if possible. So, then forget mod_webapp as this module is more than 
unstable. Take mod_jk2. This you should get here:

http://www.acg-gmbh.de/mod_jk/


>   Do I have to create a  element for each web application
> with mod_jk
>   or can each application deploy automatically ?

There are different ways of deploying webapps. Take a look here:

http://www.galatea.com/flashguides


> 
>   If I want to use mod_jk2, how can I get the mod_jk.dll associated to
> Tomcat4.0.4
>   and Apache2.0.39 ?

see galatea.com

> 
>   I read that it is possible to enable Apache -Tomcat automatically
> with include
>   the file mod_jk.conf-auto in the httpd.conf.
>   How is the mod_jk.conf-auto file generated ?
>   
>   Thanks a lot in advance.

as stated above: see galatea.com
My tutorial is not fixed.

Cheers,

Nick


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




Re: Suppression of directory listing in Tomcat

2002-07-31 Thread Nikolas A. Rathert

Thanks, that is it. I did not see that you meant the web.xml residing 
within /conf.
;)

Andrew Conrad wrote:
> %CATALINA%\conf\web.xml
> 
> 
>   
>   listings
>   false
>   
> 
> 
> - Andrew Conrad
> 
> 
>>-----Original Message-
>>From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] 
>>Sent: Wednesday, July 31, 2002 6:25 AM
>>To: [EMAIL PROTECTED]
>>Subject: Suppression of directory listing in Tomcat
>>
>>
>>Hi - I just posted some hours ago.
>>Could anybody give me a hint for my problem please: how do I 
>>have to configure server.xml or whatever to tell Tomcat that 
>>it should not show the complete directory to the user in case 
>>there is no index.html or something like that in the 
>>directory? I know how to handle that with Apache but the 
>>htdocs directory has nothing to do with Tomcats webapps. 
>>Therefore, there has to be another solution.
>>
>>Cheers,
>>
>>Nick
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:tomcat-user-> [EMAIL PROTECTED]>
>>For 
>>additional commands, 
>>e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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




Re: AW: AW: Suppression of directory listing in Tomcat - Problemsolved

2002-07-31 Thread Nikolas A. Rathert

Thank you, Ralph!
Of course I didn't look at all web.xml files ;)
I had to change the first you mentioned below. But instead of an error 
page there is just only the notice that the resource is not available. 
That's pretty okay for me.
I am using 4.0.3 on a stupid windoze box.

Thanks,

Nick

Ralph Einfeldt wrote:
> Have you looked at all your web.xml files ?
> 
> ${CATALINA_BASE}/conf/web.xml
> ${CATALINA_BASE}/webapps//WEB-INF/web.xml
> 
> In the default installation of tomcat 4.0 it's defined 
> in the  element.
> 
> BTW: Which tomcat version are you talking about ?
> 
> Ralph Einfeldt
> Uptime Internet Solution Center GmbH
> Hamburg, Germany
> Hosting, Content Management, Java Consulting
> http://www.uptime-isc.de 
> 
> 
>>-Ursprüngliche Nachricht-
>>Von: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
>>Gesendet: Mittwoch, 31. Juli 2002 14:29
>>An: Tomcat Users List
>>Betreff: Re: AW: Suppression of directory listing in Tomcat
>>
>>Could you please tell me how to insert what you recommended. I tried
> 
> to 
> 
>>do it but it didn't work. So I'll try again.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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




Re: AW: Suppression of directory listing in Tomcat

2002-07-31 Thread Nikolas A. Rathert

Ralph,
in my web.xml is nothing but this:


http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

KamAdminWeb

index.html
index.htm
index.jsp
default.html
default.htm
default.jsp



Could you please tell me how to insert what you recommended. I tried to 
do it but it didn't work. So I'll try again.
Thank you,

Nick


Ralph Einfeldt wrote:
> Have a look at the DefaultServlet in web.xml.
> It has an entry like this:
> 
> 
>   listings
>   true
> 
> 
> Change true to false.
> 
> (Also have a look at the welcome-file-list in web.xml)
> 
> Ralph Einfeldt
> Uptime Internet Solution Center GmbH
> Hamburg, Germany
> Hosting, Content Management, Java Consulting
> http://www.uptime-isc.de 
> 
> 
>>-Ursprüngliche Nachricht-
>>Von: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
>>Gesendet: Mittwoch, 31. Juli 2002 12:25
>>An: [EMAIL PROTECTED]
>>Betreff: Suppression of directory listing in Tomcat
>>
>>
>>Hi - I just posted some hours ago.
>>Could anybody give me a hint for my problem please: how do I have to 
>>configure server.xml or whatever to tell Tomcat that it 
>>should not show the complete directory to the user in case there 
>>is no index.html or something like that in the directory?
>>I know how to handle that with Apache but the htdocs directory has 
>>nothing to do with Tomcats webapps. Therefore, there has to 
>>be another solution.
>>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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




Suppression of directory listing in Tomcat

2002-07-31 Thread Nikolas A. Rathert

Hi - I just posted some hours ago.
Could anybody give me a hint for my problem please: how do I have to 
configure server.xml or whatever to tell Tomcat that it should not show 
the complete directory to the user in case there is no index.html or 
something like that in the directory?
I know how to handle that with Apache but the htdocs directory has 
nothing to do with Tomcats webapps. Therefore, there has to be another 
solution.

Cheers,

Nick



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




Suppression of directory listing in Tomcat

2002-07-30 Thread Nikolas A. Rathert

Hi,
how do I have to configure server.xml or whatever to tell Tomcat that it 
should not show the complete directory to the user in case there is no 
index.html or something like that in the directory?
I know how to handle that with Apache but the htdocs directory has 
nothing to do with Tomcats webapps. Therefore, there has to be another 
solution.

Cheers,

Nick


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




Re: error on startup

2002-07-17 Thread Nikolas A. Rathert

Hi,
try this:
export JAVA_HOME=/usr/local/j2sdk1.4.0_01
export PATH=${PATH}:${JAVA_HOME}/bin

This should set JAVA_HOME and add it to the systems $PATH.

Cheers,

Nick

Alexandre wrote:
> hi NIkolas
> i put this in my /etc/profile
> JAVA_HOME=/usr/local/j2sdk1.4.0_01
> but when i try start i get this error:
> 
> 
> [root@dtiso /]# /usr/local/jakarta-tomcat-4/bin/catalina.sh start
> The JAVA_HOME environment variable is not defined correctly
> This environment variable is needed to run this program
> [root@dtiso /]#
> 
> thanks a lot
> 
> Alexandre
> 
> 
> 
> 
> "Nikolas A. Rathert" wrote:
> 
> 
>>Try pointing your JAVA_HOME to the J2SDK.
>>
>>Cheers,
>>
>>Nick
>>
>>Alexandre wrote:
>>
>>>hi all
>>>im a newbe in this server o !
>>>when i type
>>>
>>>[root@dtiso /usr/local/jakarta-tomcat-4/bin]# ./catalina.sh start
>>>Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4
>>>Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4
>>>Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4/temp
>>>Using JAVA_HOME:   /usr/local/JDK_1.2.2
>>>[root@dtiso /usr/local/jakarta-tomcat-4/bin]#
>>>
>>>the catalina.out send me this error
>>>
>>>Starting service Tomcat-Standalone
>>>Apache Tomcat/4.0.4
>>>Exception during startup processing
>>>java.lang.reflect.InvocationTargetException:
>>>java.lang.NoSuchMethodError: javax.servlet.ServletContext:
>>>method setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
>>>at
>>>org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:3992)
>>>
>>>at
>>>org.apache.catalina.core.StandardContext.start(StandardContext.java:3365)
>>>
>>>at org.apache.catalina.core.ContainerBase.start(Compiled Code)
>>>at
>>>org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>>>at org.apache.catalina.core.ContainerBase.start(Compiled Code)
>>>at
>>>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
>>>at org.apache.catalina.core.StandardService.start(Compiled Code)
>>>
>>>at org.apache.catalina.core.StandardServer.start(Compiled Code)
>>>at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>>>
>>>at
>>>org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>>>at
>>>org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>>>at java.lang.reflect.Method.invoke(Native Method)
>>>at java.lang.reflect.Method.invoke(Compiled Code)
>>>at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
>>>
>>>my ls /usr/local/include/javax/
>>>naming   servlet  transaction
>>>
>>>and the others
>>>
>>>ls /usr/local/include/javax/servlet
>>>Filter.class   ServletContextListener.class
>>>FilterChain.class  ServletException.class
>>>FilterConfig.class ServletInputStream.class
>>>GenericServlet.class   ServletOutputStream.class
>>>LocalStrings.propertiesServletRequest.class
>>>RequestDispatcher.classServletRequestWrapper.class
>>>Servlet.class  ServletResponse.class
>>>ServletConfig.classServletResponseWrapper.class
>>>ServletContext.class   SingleThreadModel.class
>>>ServletContextAttributeEvent.class UnavailableException.class
>>>ServletContextAttributeListener.class  http
>>>ServletContextEvent.class
>>>[root@dtiso /usr/local/jakarta-tomcat-4/bin]
>>>
>>>i have this softwares installed in a Solaris 8 sparc
>>>
>>>jakarta-tomcat-4.0.4
>>>jakarta-ant-1.4.1
>>>j2re1.4.0_01
>>>j2sdk1.4.0_01
>>>JDK_1.2.2
>>>jakarta-tomcat-connectors-4.0.2-01-src
>>>jndi112.zip
>>>
>>>my profile is
>>>PATH=/usr/local/bin:/usr/local/sbin:/usr/openwin/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/j2se/bin:/usr/j2se/jre/bin:/sbin:/usr/platform/sun4u/sbin
>>>
>>>MANPATH=/usr/local/man:/usr/openwin/man:/usr/dt/man:/usr/man:/usr/j2se/man
>>>
>>>LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/share/lib:/usr/dt/lib:/usr/ccs/lib:/usr/j2se/lib:/usr/j2se/jre/lib:/etc/lib:/lib:/usr/local/Apache2

Re: Redirecting HTTP -> HTTPS? (second attempt)

2002-07-17 Thread Nikolas A. Rathert

Sorry,
I just answered on a mail where some of the original text was missing. I 
 just saw that you searched for the string in every part.
Then I do not have any idea. Could this problem be a result of 
src-compilation? I have no idea.

Cheers,

Nick

Nikolas A. Rathert wrote:
> Hi,
> I think you left somewhere in your conf-files a "localhost". I had the 
> same error working on Apache and Tomcat and after some searching I found 
> out that I forgot to modify httpd.conf in a way that my server no longer 
>  was the localhost but had a real name.
> 
> I suggest, that you scan your conf-files for the string "localhost" . 
> That must be the cause  for the error.
> 
> Cheers,
> 
> Nick
> 
> Steve Baker wrote:
> 
>> --
>> It appears that much of the code from my first post got wiped out.
>> Trying the message again here a second time.  Thanks.  -SB
>> --
>>
>> Have any of you experienced Tomcat changing the *domain name* of the 
>> request to "localhost" when you're trying to automatically redirect 
>> from HTTP to HTTPS? We know that it's supposed to change the protocol 
>> and the port, but the domain as well?
>>
>> Here's the situation:
>> I have a directory ("db") on my site (for the sake of this email, 
>> "www.mysite.com") that I want to protect using SSL.  Additionally, I 
>> need any wayward HTTP requests to this directory to be automatically 
>> redirected to HTTPS to ensure that they are SSL-encrypted.
>>
>> To set this up, I followed the SSL Configuration How-To, created the 
>> keystore, and generated a private key.  I then edited /conf/server.xml 
>> and /WEB-INF/web.xml (details below) to automatically redirect those 
>> certain HTTP requests over to HTTPS.  Finally, I restarted Tomcat.
>>
>> Now when I reference my HTTPS URL *directly*, SSL kicks in, the 
>> browser padlock is locked, and everything works great:
>>https://www.mysite.com:8443/db/index.jsp
>>
>> As I stated, however, I've configured the HTTP request:
>>http://www.mysite.com:8080/db/index.jsp
>>
>> To automatically redirect to that HTTPS URL from above:
>>https://www.mysite.com:8443/db/index.jsp
>>
>> BUT, for some reason, Tomcat is changing the domain to LOCALHOST:
>>https://localhost:8443/db/index.jsp
>>
>> So... basically, Tomcat's got it about 80% right. The protocol and 
>> port were succesfully redirected (http 8080 -> https 8443), but the 
>> domain was changed.  This instance of Tomcat is on a remote machine, 
>> *NOT* my local machine, so localhost fails. My question -- why would 
>> Tomcat be changing the server name in such a way?
>>
>>
>> FYI, here is the relevant code from conf/server.xml:
>> -
>> 
>> >port="8080" minProcessors="5" maxProcessors="75"
>>enableLookups="false" redirectPort="8443"
>>acceptCount="10" connectionTimeout="6" debug="0"
>>scheme="http" secure="false"/>
>>
>> 
>> >port="8443" minProcessors="5" maxProcessors="75"
>>enableLookups="false"
>>acceptCount="10" connectionTimeout="6" debug="0"
>>scheme="https" secure="true">
>>   > className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
>>clientAuth="false" protocol="TLS" />
>> 
>>
>> 
>> 
>>>  appBase="/home/baker/jbaker/web"
>>  debug="0"
>>  unpackWARs="false">
>>   
>>
>> 
>> -
>>
>>
>> Here is the relevant code from web.xml:
>> -
>> 
>>
>>   Secure SSL Access
>>   /db/*
>>
>>
>>   CONFIDENTIAL
>>
>> 
>> -
>>
>> Note that I have:
>> * uncommented the SSL connector
>> * properly set the HTTP connector's redirectPort to SSL's 8443
>> * changed the Engine's defaulthost to www.mysite.com
>> * changed the Host's name to www.mysite.com
>> * set the url-pattern match to 

Re: Redirecting HTTP -> HTTPS? (second attempt)

2002-07-17 Thread Nikolas A. Rathert

Hi,
I think you left somewhere in your conf-files a "localhost". I had the 
same error working on Apache and Tomcat and after some searching I found 
out that I forgot to modify httpd.conf in a way that my server no longer 
  was the localhost but had a real name.

I suggest, that you scan your conf-files for the string "localhost" . 
That must be the cause  for the error.

Cheers,

Nick

Steve Baker wrote:
> --
> It appears that much of the code from my first post got wiped out.
> Trying the message again here a second time.  Thanks.  -SB
> --
> 
> Have any of you experienced Tomcat changing the *domain name* of the 
> request to "localhost" when you're trying to automatically redirect from 
> HTTP to HTTPS? We know that it's supposed to change the protocol and the 
> port, but the domain as well?
> 
> Here's the situation:
> I have a directory ("db") on my site (for the sake of this email, 
> "www.mysite.com") that I want to protect using SSL.  Additionally, I 
> need any wayward HTTP requests to this directory to be automatically 
> redirected to HTTPS to ensure that they are SSL-encrypted.
> 
> To set this up, I followed the SSL Configuration How-To, created the 
> keystore, and generated a private key.  I then edited /conf/server.xml 
> and /WEB-INF/web.xml (details below) to automatically redirect those 
> certain HTTP requests over to HTTPS.  Finally, I restarted Tomcat.
> 
> Now when I reference my HTTPS URL *directly*, SSL kicks in, the browser 
> padlock is locked, and everything works great:
>https://www.mysite.com:8443/db/index.jsp
> 
> As I stated, however, I've configured the HTTP request:
>http://www.mysite.com:8080/db/index.jsp
> 
> To automatically redirect to that HTTPS URL from above:
>https://www.mysite.com:8443/db/index.jsp
> 
> BUT, for some reason, Tomcat is changing the domain to LOCALHOST:
>https://localhost:8443/db/index.jsp
> 
> So... basically, Tomcat's got it about 80% right. The protocol and port 
> were succesfully redirected (http 8080 -> https 8443), but the domain 
> was changed.  This instance of Tomcat is on a remote machine, *NOT* my 
> local machine, so localhost fails. My question -- why would Tomcat be 
> changing the server name in such a way?
> 
> 
> FYI, here is the relevant code from conf/server.xml:
> -
> 
> port="8080" minProcessors="5" maxProcessors="75"
>enableLookups="false" redirectPort="8443"
>acceptCount="10" connectionTimeout="6" debug="0"
>scheme="http" secure="false"/>
> 
> 
> port="8443" minProcessors="5" maxProcessors="75"
>enableLookups="false"
>acceptCount="10" connectionTimeout="6" debug="0"
>scheme="https" secure="true">
>   clientAuth="false" protocol="TLS" />
> 
> 
> 
> 
>  appBase="/home/baker/jbaker/web"
>  debug="0"
>  unpackWARs="false">
>   
>
> 
> -
> 
> 
> Here is the relevant code from web.xml:
> -
> 
>
>   Secure SSL Access
>   /db/*
>
>
>   CONFIDENTIAL
>
> 
> -
> 
> Note that I have:
> * uncommented the SSL connector
> * properly set the HTTP connector's redirectPort to SSL's 8443
> * changed the Engine's defaulthost to www.mysite.com
> * changed the Host's name to www.mysite.com
> * set the url-pattern match to /db/* in web.xml
> * added the CONFIDENTIAL transport-guarantee
> 
> Nothing really extraordinary here.  Moreover, a grep for "localhost" in 
> both of these files returns zero results.  I'm just not sure where it's 
> coming from ... especially when Tomcat seems to be doing everything 
> *else* correctly here.
> 
> Any ideas? Thanks in advance!!
> 
> -Steve Baker
> 
> 
> p.s. Performing a brute force solution such as:
> 
> if (request.getScheme().equals("http")) {
>// oops! response.Redirect() to the https URL instead.
> }
> 
> ... at the top of every .jsp in my HTTPS-only directory isn't going to 
> be the right choice for this particular project.  I will eventually 
> employ that as a backup to ensure security, but I don't wish to go with 
> that as my first line of defense...
> 
> 
> 
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Tomcat Manager Application and Apache

2002-07-17 Thread Nikolas A. Rathert

Hi,
is it possible, that the Tomcat Manager Application only works for 
Tomcat Standalone? I connected Tomcat and Apache and worked with the 
manager application. I was not able to access the installed web 
applications without explicitly directing the browser to port 8080.
If I want to work with both servers do I have to publish my project 
always using  entry?
Or is there a way to configure the manager application?

Cheers,

Nick


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




Re: error on startup

2002-07-16 Thread Nikolas A. Rathert

Try pointing your JAVA_HOME to the J2SDK.

Cheers,

Nick

Alexandre wrote:
> hi all
> im a newbe in this server o !
> when i type
> 
> [root@dtiso /usr/local/jakarta-tomcat-4/bin]# ./catalina.sh start
> Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4
> Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4
> Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4/temp
> Using JAVA_HOME:   /usr/local/JDK_1.2.2
> [root@dtiso /usr/local/jakarta-tomcat-4/bin]#
> 
> the catalina.out send me this error
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4
> Exception during startup processing
> java.lang.reflect.InvocationTargetException:
> java.lang.NoSuchMethodError: javax.servlet.ServletContext:
> method setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
> at
> org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:3992)
> 
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3365)
> 
> at org.apache.catalina.core.ContainerBase.start(Compiled Code)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
> at org.apache.catalina.core.ContainerBase.start(Compiled Code)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
> at org.apache.catalina.core.StandardService.start(Compiled Code)
> 
> at org.apache.catalina.core.StandardServer.start(Compiled Code)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
> 
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Compiled Code)
> at org.apache.catalina.startup.Bootstrap.main(Compiled Code)
> 
> my ls /usr/local/include/javax/
> naming   servlet  transaction
> 
> and the others
> 
> ls /usr/local/include/javax/servlet
> Filter.class   ServletContextListener.class
> FilterChain.class  ServletException.class
> FilterConfig.class ServletInputStream.class
> GenericServlet.class   ServletOutputStream.class
> LocalStrings.propertiesServletRequest.class
> RequestDispatcher.classServletRequestWrapper.class
> Servlet.class  ServletResponse.class
> ServletConfig.classServletResponseWrapper.class
> ServletContext.class   SingleThreadModel.class
> ServletContextAttributeEvent.class UnavailableException.class
> ServletContextAttributeListener.class  http
> ServletContextEvent.class
> [root@dtiso /usr/local/jakarta-tomcat-4/bin]
> 
> i have this softwares installed in a Solaris 8 sparc
> 
> jakarta-tomcat-4.0.4
> jakarta-ant-1.4.1
> j2re1.4.0_01
> j2sdk1.4.0_01
> JDK_1.2.2
> jakarta-tomcat-connectors-4.0.2-01-src
> jndi112.zip
> 
> my profile is
> 
>PATH=/usr/local/bin:/usr/local/sbin:/usr/openwin/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/j2se/bin:/usr/j2se/jre/bin:/sbin:/usr/platform/sun4u/sbin
> 
> MANPATH=/usr/local/man:/usr/openwin/man:/usr/dt/man:/usr/man:/usr/j2se/man
> 
> 
>LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/share/lib:/usr/dt/lib:/usr/ccs/lib:/usr/j2se/lib:/usr/j2se/jre/lib:/etc/lib:/lib:/usr/local/Apache2/modules:/usr/local/JDK_1.2.2/lib
> 
> JAVA_HOME=/usr/local/JDK_1.2.2
> TOMCAT_HOME=/usr/local/jakarta-tomcat-4
> #CATALINA_HOME=/usr/local/jakarta-tomcat-4
> CATALINA_HOME=/usr/local/include/java
> ANT_HOME=/usr/local/jakarta-ant-1.5
> export CLASSPATH=/usr/local/JDK_1.2.2/lib/xalan.jar
> trap ""  2 3
> export LOGNAME PATH MANPATH LD_LIBRARY_PATH PS1 HISTFILESIZE JAVA_HOME
> TOMCAT_HOME CATALINA_HOME ANT_HOME CLASSPATH
> 
> any people can help me ?
> 
> thanks a lot
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 



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




Re: configuration of webapps using mod_webapp

2002-07-16 Thread Nikolas A. Rathert

Ian,
could you do me a favour and show me your server.xml file excerpt 
please? Because I added a new webapp (WebDeployment) and even after a 
restart tomcat did not recognise that.

Cheers,

Nick

Iain Downie wrote:
> - Original Message -
> From: "Nikolas A. Rathert" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 16, 2002 12:58 PM
> Subject: configuration of webapps using mod_webapp
> 
> 
> 
>>I set up a apache-tomcat-system on linux and I am able to access the
>>example .jsp and servlets. But the manager application is not running
>>even though I created a user and added the role "manager".
>>If I then type http://my-domain.com/manager/list Tomcat answers: /list
>>could not be found on this server.
>>How do I have to set up this and other webapps?
> 
> 
> Shouldn't have to, it was installed default on my installation. Check your
> server.xml file for the appropriate context. Make sure you restart to get
> the manager working OK (I think necessary).
> 
> Iain
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




configuration of webapps using mod_webapp

2002-07-16 Thread Nikolas A. Rathert

I set up a apache-tomcat-system on linux and I am able to access the 
example .jsp and servlets. But the manager application is not running 
even though I created a user and added the role "manager".
If I then type http://my-domain.com/manager/list Tomcat answers: /list 
could not be found on this server.
How do I have to set up this and other webapps?

Nick


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




Re: hello sir

2002-07-16 Thread Nikolas A. Rathert

Ant is a build tool used for compiling.

Nick

Ashok wrote:
> Dear Sir,
> 
>  i have installed apache tomacat 4.0. i was going through the documentation and 
>i find some of the terminologies difficult to understand. so it would be helpfull if 
>u can answer  my doubts. to begin with i havent understood the purpose of build .xml 
>file. if i develop a web application is it necessary for me to modify the existing 
>file or create a new one. what is "ant"?
> regs
> ashok
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Importing SSL certificates

2002-07-16 Thread Nikolas A. Rathert

Mmpff.
So I have no other idea right now.

Nick

[EMAIL PROTECTED] wrote:
> Hello
> 
> 
> No, because keylog generate a a file in binary mode, when the one
> generated through OpenSSL its in ASCII :(.
> 


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




Re: Importing SSL certificates

2002-07-16 Thread Nikolas A. Rathert

Is it not that simple that you only have to put the .crt file to the 
appropriate folder and do the same with the .key file? Otherwise there 
must be a import function ptovided with OpenSSL.
I didn't do that before.

Cheers,

Nick

[EMAIL PROTECTED] wrote:
> Hello Nick
>   Thanks, but I already have the signed certificated by
> thawte.
> If I do keytool -genkey -alias tomcat -keyalg RSA -keystore
> /etc/keystore -storepass changeit it will generate a new one
> certificate signing request.
> And I need to use the current one.
> 
> 
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Importing SSL certificates

2002-07-15 Thread Nikolas A. Rathert

Have a look at this: www.galatea.com/flashguides

Nick

[EMAIL PROTECTED] wrote:
>   Hi
> I have
> /usr/share/ssl/certs/www.domain.com.csr
> /usr/share/ssl/certs/www.domain.com.crt
> /usr/share/ssl/private/www.domain.com.key
> generated by Apache and a thawte certificate ,how can import
> them to use it with tomcat (web_app)?
> I read http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
> but I doesn't explain how to import certificates.
> 
> Anybody can explain me or point me to some documentation?
> 
> Thanks in advance
> 


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




Re: Tomcat w/ Apache Configuration Issues ==> Please Help

2002-07-14 Thread Nikolas A. Rathert

Hi, my first was to fast (CRTL+Enter). :)

> I am having two major problems:
> 1)  Although  our  JSPs  run  correctly,  neither  the list nor the manager
>contexts do.

You have to define a user and role like this:


> 2)  Tomcat is apparently intercepting ALL httpd requests.  For example, the
>address  http://biigserver.ist.unomaha.edu/  tries  to  access  the same
>directory that Tomcat is tied to.

Mm. No idea.

Cheers,

Nick



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




Re: Tomcat w/ Apache Configuration Issues ==> Please Help

2002-07-14 Thread Nikolas A. Rathert



> I am having two major problems:
> 1)  Although  our  JSPs  run  correctly,  neither  the list nor the manager
>contexts do.

You have to define a user and a role in tomcat-users.conf like this:


> 2)  Tomcat is apparently intercepting ALL httpd requests.  For example, the
>address  http://biigserver.ist.unomaha.edu/  tries  to  access  the same
>directory that Tomcat is tied to.
> 
> Besides,  these problems, I have two other general questions.  First, is it
> possible  to  configure  Tomcat so that the port number does not have to be
> specified   in   the   URL?Specifically,   we   would   like   to   use
> http://bioinformatics.ist.unomaha.edu/bioinformatics  to  access  our JSPs.
> Second,  in  server.xml, do I need to change "localhost" to the DNS name of
> the machine?
> 
> Relevant portions of error.log (Apache), httpd.conf (Apache) and server.xml
> (Tomcat)  are  below.   httpd.conf  and  server.xml  are  attached in their
> entirety.
> 
> Relevant portion of error.log:
> 
> Tue Jul  9 12:53:49 2002] [error] [client 137.48.131.225] File does not
> exist:
> /bioinformatics/webapps/index.html
> [Tue Jul  9 12:53:50 2002] [error] [client 137.48.131.225] File does not
> exist:
> /bioinformatics/webapps/index.html
> [Tue Jul  9 12:54:00 2002] [error] [client 137.48.131.225] Directory index
> forbi
> dden by rule: /bioinformatics/webapps/
> [Tue Jul  9 12:55:26 2002] [error] [client 137.48.131.225] Directory index
> forbi
> dden by rule: /bioinformatics/webapps/
> [Tue Jul  9 13:03:46 2002] [error] [client 137.48.131.225] Directory index
> forbi
> dden by rule: /bioinformatics/webapps/
> [Tue Jul  9 13:03:48 2002] [error] [client 137.48.131.225] Directory index
> forbi
> dden by rule: /bioinformatics/webapps/
> 
> Relevant portion of httpd.conf:
> 
> ### Section 2: 'Main' server configuration
> ...
> ServerName biigserver.ist.unomaha.edu
> DocumentRoot "/home/www/biigweb"
> 
> Options FollowSymLinks
> AllowOverride None
> 
> 
> Options Indexes Includes FollowSymLinks
> Options ExecCGI
>  AllowOverride AuthConfig
> Order allow,deny
> Allow from all
> 
> 
> Relevant portion of server.xml:
> 
> 
> 
>  ="logs"
>  prefix="localhost_access_log." suffix =".txt" pattern="common"/>
> 
>  ="logs"
>  prefix="localhost_log." suffix=".txt" timestamp="true"/>
> 
>  debug="0"/>
> 
> 
>  ="true"/>
> 
>   docBase="examples"
>  debug="0" reloadable ="true">
> 
>  prefix="localhost_examples_log."
>  suffix=".txt" timestamp="true"/>
>  ="com.wombat.empl.EmployeeRecordHome"
>  remote="com.wombat.empl.EmployeeRecord"/>
> 
>  ="org.apache.catalina.session.PersistentManager" debug="0"
>  saveOnRestart="true" maxActiveSessions="-1" minIdleSwap="-1"
> maxIdleSwap="-1"
>  maxIdleBackup="-1">
> 
>  -->
>  value="15"/>
> override="false"/>
> ="javax.sql.DataSource"/>
>
>usersa
>password
>driverClassName
>org.hsql.jdbcDriver
>driverName
>jdbc:HypersonicSQL:database
>
>  ="javax.mail.Session"/>
> 
> mail.smtp.host
> localhost
>
> 
> 
> 
>   
> 
> This is the directory listing for /home/www/biigweb:
> drwxrwxr-x4 root core 4096 Jul  9 12:49 .
> drwxr-xr-x3 mpauley  mpauley  4096 Jun  3 15:35 ..
> drwxrwxr-x2 root core 4096 Jan 14 12:15 biocore
> -rw-rw-r--1 root root 2684 Jan  7  2002 indexBAK.html
> -rw-rw-r--1 dquest   core 4382 Mar 16 13:20 index.html
> -rw-rw-r--1 dquest   dquest   4382 Mar 16 13:20 indexOLD.html
> drwxrwxr-x4 dquest   core 4096 Jan 10 21:50 SeqAlnPkgHTML
> 
> And for /bioinformatics/webapps/bioinformatics
> drwxrwxr-x6 root core 4096 Jul  9 11:56 .
> drwxrwxr-x   14 root core 4096 May  7 12:02 ..
> -rw-rw-r--1 root core0 May  7 12:17 bioinformaticsHTML
> -rw-rw-r--1 root core  268 May  7 12:17 bioinformatics.js
> -rw-rw-r--1 root core 3036 May  7 12:17 cleanGene.jsp
> -rw-rw-r--1 root core 2447 May  7 12:17 cleanGeneL0.jsp
> -rw-rw-r--1 root core 4046 May  7 12:17 cleanGeneL1.jsp
> -rw-rw-r--1 root core 6549 May  7 12:17 cleanGeneL2.jsp
> -rw-rw-r--1 root core 2910 Jan  9 15:44 ConfAlg.html
> -rw-rw-r--1 root core 1105 Jan  9 15:44 ConfDatabase.html
> -rw-rw-r--1 root core 1504 Jan  9 15:44 ConfDisp.html
> -rw-rw-r--1 root core 5419 May  7 12:17 contactUs.jsp
> drwxrwxr-x2 root core 4096 Jan  9 15:44 docs
> -rw-rw-r--1 root core  491 May  7 12:17 

Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Serverwas started

2002-07-12 Thread Nikolas A. Rathert

Hi,
I only have (in that section) this:



You are welcome,

Nick

Allistair Crossley wrote:
> Danke Nikolas...
> 
> When you use the ^^ arrows here, do you mean that you do not have the entire
> section OR that you do not have mod_jk.so as the value??
> 
>modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"
>   ^
> I assume the same again here...that you do not have the entire section
> here..
> 
> workersConfig="/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
> 
>>> jkLog="/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"/>
>>
> 
> 
> Do I understand therefore that out of all the things I first posted, you
> only have this line to configure mod_jk...
> 
> 
> 
> ??
> 
> Or how do you load mod_jk to generate the AUTO file?
> 
> Vielen Dank fuer Ihren Hilfe Nikolas :)
> 
> Allistair
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


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




Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3 - Serverwas started

2002-07-12 Thread Nikolas A. Rathert

Ok, sorry. :)
New idea: see below.


>>1) Added to server.xml under 8005 server line
>>
>>>  modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"
^
I have that not in my configuration.


>>workersConfig="/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
>>  jkLog="/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"/>


This I do not have in my configuration either.


>>2) Under standalone line
>>
>>
>>>   port="8009" minProcessors="5" maxProcessors="75"
>>   acceptCount="10" debug="0"/>
>>
>>3) After Host localhost line
>>
>>>append="true"  />

I don't have this.

My workers.properties looks like this:

# Setup for Windows system
#
workers.catalina_home="D:\Programme\Server\jakarta-tomcat-4.0.3"
workers.java_home="D:\Programme\Java\j2sdk1.4.0_01"

# Linux uses fwd slashes
#ps=/

# Windows uses back slashes
ps=\


worker.list= ajp13

# Definition for Ajp13 worker
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


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




Re: Tomcat 4.0.4 Not Creating mod_jk auto conf for Apache 1.3

2002-07-12 Thread Nikolas A. Rathert

Start the server. It will be created automatically.

Cheers,

Nick

Allistair Crossley wrote:
> Hello All,
> 
> I have Apache 1.3 and Tomcat 3.2.1 running with mod_jk. I want to upgrade to
> Tomcat 4.0.4. I have followed a set of instructions that I found, i.e
> 
> 1) Added to server.xml under 8005 server line
> 
>modJk="/usr/local/apache/modules/mod_jk.so" jkDebug="info"
> 
> workersConfig="/usr/local/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
>   jkLog="/usr/local/jakarta-tomcat-4.0.3/logs/mod_jk.log"/>
> 
> 2) Under standalone line
> 
> 
> port="8009" minProcessors="5" maxProcessors="75"
>acceptCount="10" debug="0"/>
> 
> 3) After Host localhost line
> 
>  append="true"  />
> 
> 4) Put the workers.properties file in tomcat_home/conf/jk and started tomcat
> (see workers file below)
> 
> workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.3
> workers.java_home=$(JAVA_HOME)
> ps=/
> 
> worker.list=ajp13, ajp14
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> 
> worker.ajp14.port=8010
> worker.ajp14.host=localhost
> worker.ajp14.type=ajp14
> worker.ajp14.secretkey=secret
> worker.ajp14.credentials=myveryrandomentropy
> worker.ajp14.lbfactor=1
> 
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> worker.inprocess.type=jni
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
> worker.inprocess.cmd_line=start
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
> s)libjvm.so
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> 
> BUT now I am supposed to have a file called CATALINA_HOME/conf/auto but I do
> not!! I have done everything to the letter!
> 
> Help appreciated :)
> 
> Allistair Crossley
> Lead Technical Developer
> Obvious Solutions (Global) Ltd.
> “Delivering the vision for a mobile lifestyle”
> 
> www.obvioussolutions.co.uk
> 
> (m) +44 (0) 7884 056 274
> (w) +44 (0) 20 8451 9352
> (f) +44 (0) 20 8537 5236
> 
> /**/
> 
> This is an email from Obvious Solutions (Global) Ltd.
> The contents of this email are confidential to the ordinary
> user of the email address to which it was addressed. No-one
> else may copy or forward all or any of it in any form.
> If you receive this email in error, we should be obliged if
> you would telephone our postmaster on +44 (0)208 357 8352
> or  email [EMAIL PROTECTED] Thank you.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Error - Please Help

2002-07-12 Thread Nikolas A. Rathert

Sorry, I forgot: you need the All languages SDK not the JRE.

Nikolas A. Rathert wrote:
> This is wrong. You need J2SDK 1.4. I think this one
> 
> http://java.sun.com/j2se/1.4/download.html
> 
> is right.
> 
> Cheers,
> 
> Nick
> 
> 
> Sunit Munjal wrote:
> 
>> I do have JDK 1.4 installed.  How do I get javac,  javaw.  I just went 
>> to the sun site and downloaded an exe for J2RE1.4.  If this is the 
>> wrong one, which one do I need to download?
>>
>>
>> -- 
>>
>> This e-mail may contain confidential and/or privileged information. If 
>> you are not the intended recipient (or have received this e-mail in 
>> error) please notify the sender immediately and destroy this e-mail. 
>> Any unauthorized copying, disclosure or distribution of the material 
>> in this e-mail is strictly forbidden.
>>
>>
>>
>> -- 
>> To unsubscribe, e-mail:   
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: 
>> <mailto:[EMAIL PROTECTED]>
>>
> 
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Error - Please Help

2002-07-12 Thread Nikolas A. Rathert

This is wrong. You need J2SDK 1.4. I think this one

http://java.sun.com/j2se/1.4/download.html

is right.

Cheers,

Nick


Sunit Munjal wrote:
> I do have JDK 1.4 installed.  How do I get javac,  javaw.  I just went to the sun 
>site and downloaded an exe for J2RE1.4.  If this is the wrong one, which one do I 
>need to download?
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Error - Please Help

2002-07-12 Thread Nikolas A. Rathert
.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>   at 
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>   at 
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>   at 
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>   at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>   at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
>   at 
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
>   at java.lang.Thread.run(Unknown Source)
> 
> Any one have any idea why I'm getting these errors?  Any help would be appreciated.
> 
> Thanks.
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Correct version of mod_jk.dll for Apache 2.0.39

2002-07-12 Thread Nikolas A. Rathert

The 120 kB is for Apache 1.3.x Version not for 2.0.x

Gunter D'Hondt wrote:
> YES!!! The mod_jk.dll on the link below is the one that works for me and I'm
> using 2.0.39!
> The mod_jk.dll that I was using was 120kb while this one is about 70kb
> 
> Gunter
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nikolas A. Rathert
> Sent: vrijdag 12 juli 2002 13:56
> To: Tomcat Users List
> Subject: Re: Correct version of mod_jk.dll for Apache 2.0.39
> 
> 
> Is this not the newest version for Win32 based systems?
> 
> http://www.acg-gmbh.de/mod_jk/
> 
> Cheers,
> 
> Nick
> 
> Did you finally switch to the other Apache Version?
> 
> Gunter D'Hondt wrote:
> 
>>Who can send the correct version mod_jk.dll for Apache 2.0.39???
>>As I can see a lot of people are experiencing the same problem probably
> 
> coz
> 
>>of the wrong (older) version of mod_jk.dll so if someone is running
>>apache2.0.39 with mod_jk.dll running okay then send us your
>>apache/modules/mod_jk.dll pls!
>>
>>Gunter
>>
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On
>>Behalf Of Frederick Aubert
>>Sent: vrijdag 12 juli 2002 13:44
>>To: Tomcat Users List
>>Subject: Re: Cannot load mod_jk.dll into server!
>>
>>
>>Hi,
>>
>>I am experiencing more or less the same problem. I just got an hand on a
>>mod_jk version (120kb) and Apache is telling me it can't load it properly
>>(module not found) although the mod_jk.dll is correctly located and the
> 
> path
> 
>>is set to match its location...
>>
>>However a couple of monthes ago, I did succeed with Apache 2.0.35 and
> 
> Tomcat
> 
>>4.0.4. But now when I upgraded to Apache 2.0.39 and Tomcat 4.1.7 it
> 
> doesn't
> 
>>work anymore. Besides when I am using the mod_jk.dll I used to use (70kb)
>>then I am being told to check for a newer version of the mod_jk.dll. Does
> 
> it
> 
>>make any sense?
>>
>>If anyone succeeded, or did succeed with any other connector under these
>>settings, then please write me ;O)
>>
>>Sincerely, Frederick Aubert
>>
>>PS: my settings are pretty much the same as the one Jacob's suggested...
>>
>>
>>
>>
>>>Hi Gunter,
>>>
>>>Try the following which I know works (change the paths to suit your
>>
>>setup)
>>
>>
>>>put the following in Apache's httpd.conf:
>>>
>>>Include "C:/Program Files/Apache
>>>Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf"
>>>
>>>
>>>put the following in Tomcat's mod_jk.conf:
>>>
>>>
>>>LoadModule jk_module modules/mod_jk.dll
>>>
>>>
>>>JkWorkersFile
>>>"c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties"
>>>JkLogFile "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log"
>>>
>>>JkLogLevel info
>>>
>>>
>>>  ServerName localhost
>>>
>>>  JkMount /webdav ajp13
>>>  JkMount /webdav/* ajp13
>>>
>>>  JkMount /tomcat-docs ajp13
>>>  JkMount /tomcat-docs/* ajp13
>>>
>>>  JkMount /examples ajp13
>>>  JkMount /examples/* ajp13
>>>
>>>  JkMount /manager ajp13
>>>  JkMount /manager/* ajp13
>>>
>>>
>>>
>>>Put the following in your workers.properties:
>>>
>>>workers.tomcat_home=$(CATALINA_HOME)
>>>workers.java_home=$(JAVA_HOME)
>>>ps=\
>>>worker.list=ajp13, ajp14
>>>worker.ajp13.port=8009
>>>worker.ajp13.host=localhost
>>>worker.ajp13.type=ajp13
>>>worker.ajp13.lbfactor=1
>>>worker.ajp13.cachesize=8
>>>worker.ajp14.port=8011
>>>worker.ajp14.host=localhost
>>>worker.ajp14.type=ajp14
>>>worker.ajp14.secretkey=mysupersecretkey
>>>worker.ajp14.credentials=mysuperveryrandomentropy
>>>worker.ajp14.lbfactor=1
>>>worker.ajp14.cachesize=8
>>>worker.loadbalancer.type=lb
>>>worker.loadbalancer.balanced_workers=ajp13
>>>worker.inprocess.type=jni
>>>
>>
>>
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)ca
> 
>>ta
>>
>>
>>>lina.jar
>>>worker.inprocess.cmd_line=start
>>>
>>
>>
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
> 
>>)j

Re: Correct version of mod_jk.dll for Apache 2.0.39

2002-07-12 Thread Nikolas A. Rathert
t: donderdag 11 juli 2002 10:08
>>>To: Tomcat Users List
>>>Subject: AW: Cannot load mod_jk.dll into server!
>>>
>>>
>>>Obviously your mod_jk.conf is found.
>>>
>>>One guess: Make shure that c:\Apache\modules\mod_jk.dll
>>>is exactly equal to the real path (including case), normally
>>>windows isn't case sensitive but some applications are.
>>>(Can't remember if this is a problem for apache, my last
>>>install of apache under windows is to long ago)
>>>
>>>
>>>>-Ursprüngliche Nachricht-
>>>>Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
>>>>Gesendet: Donnerstag, 11. Juli 2002 09:38
>>>>An: 'Tomcat Users List'
>>>>Betreff: RE: Cannot load mod_jk.dll into server!
>>>>
>>>>
>>>>
>>>>  LoadModule jk_module c:\Apache\modules\mod_jk.dll
>>>>
>>>>
>>>>JkWorkersFile "c:\progra~1\apache~1.0\conf\jk\workers.properties"
>>>>JkLogFile "c:\progra~1\apache~1.0\logs\mod_jk.log"
>>>>
>>>>JkLogLevel info
>>>>
>>>>
>>>>ServerName localhost
>>>>
>>>>JkMount /webdav ajp13
>>>>JkMount /webdav/* ajp13
>>>>
>>>>JkMount /tomcat-docs ajp13
>>>>JkMount /tomcat-docs/* ajp13
>>>>
>>>>JkMount /examples ajp13
>>>>JkMount /examples/* ajp13
>>>>
>>>>JkMount /manager ajp13
>>>>JkMount /manager/* ajp13
>>>>
>>>>
>>>>
>>>>
>>>>Gunter
>>>>
>>>>
>>>>
>>>>-Original Message-
>>>>From: [EMAIL PROTECTED]
>>>>[mailto:[EMAIL PROTECTED]]On
>>>>Behalf Of Ralph Einfeldt
>>>>Sent: donderdag 11 juli 2002 09:33
>>>>To: Tomcat Users List
>>>>Subject: AW: Cannot load mod_jk.dll into server!
>>>>
>>>>
>>>>Can you show us your LoadModule directive ?
>>>>
>>>>The log doesn't complain about not finding mod_jk.conf
>>>>but mod_jk.dll.
>>>>
>>>>
>>>>>-Ursprüngliche Nachricht-
>>>>>Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
>>>>>Gesendet: Donnerstag, 11. Juli 2002 09:22
>>>>>An: 'Tomcat Users List'
>>>>>Betreff: Cannot load mod_jk.dll into server!
>>>>>
>>>>>C:\Apache\bin>apache -t
>>>>>Syntax error on line 4 of C:/Program Files/Apache Tomcat
>>>>>4.0/conf/auto/mod_jk.conf:
>>>>>Cannot load C:/Apache/modules/mod_jk.dll into server: The
>>>>>specified module could not be found.
>>>>>
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>
>>><mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
> 
>>>For additional commands, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> ---
>   ("`-''-/").___..--''"`-._
>`6_ 6  )   `-.  ( ).`-.__.`)   Frederick Aubert
>(_Y_.)'  ._   )  `._ `. ``-..-'
>  _..`--'_..-_/  /--'_.' ,'[EMAIL PROTECTED]
> (il),-''  (li),'  ((!.-'
> ---
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Nikolas A. Rathert

Mine has 120 kB and is for Apache 1.3.26.

Nick

Telesis Support - Bangalore wrote:
> hi,
>whats the size of your mod_jk.dll.. Is it 120 kb..?..
>just confirm me..
> bye,
> Murugan
> 
> -Original Message-
> From: Andreas Lehmann [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 3:13 PM
> To: 'Tomcat Users List'
> Subject: getRemoteUser in Tomcat 3.3.1 does not work
> 
> 
> Hi,
> 
> I am trying to get the remote user under tomcat 3.3.1 and apache 1.3.12 on NT4 and 
>Win2k.
> The authentification is done by apache and the ntlm module.
> 
> If I try getRemoteUser() I only get a null value.
> I tryed NTLM and BASIC authentification - nothing works.
> I tryed various mod_jk.dll Versions - nothing helps.
> I tryed Tomcat 3.2.3 - everything works fine.
> 
> Whats the problem with tomcat 3.3.1? Is this a bug or bevavior by design?
> 
> cu
> Andreas
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Cannot load mod_jk.dll into server!

2002-07-12 Thread Nikolas A. Rathert

Gunter - there is a solution,
I finally got my servers working together. But not with the "include" 
thing. Make sure that you use the right mod_jk that has been compiled 
(if you did it not on your own) for your Version of Apache!
I then made some changes to the httpd.conf and server.xml. Here is the 
code I had to add (you have to change the paths):

1. server.xml
somwhere after  :


after :
  
 

2. httpd.conf
after the LoadModules Section:
##
   
 LoadModule jk_module modules/mod_jk.dll
   
##

at the end of the file:
#---Load 
mod_jk-#

   LoadModule jk_module 
"D:/Programme/Server/OpenSA/Apache/modules/mod_jk.dll"


JkWorkersFile 
"D:/Programme/Server/jakarta-tomcat-4.0.3/conf/jk/workers.properties"
JkLogFile "D:/Programme/Server/jakarta-tomcat-4.0.3/logs/jk_log.txt"

JkLogLevel debug

JKMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /examples/* ajp13
JkMount /manager/* ajp13
JkMount /tomcat-docs/* ajp13
JkMount /webdav/* ajp13
JkMount /login/* ajp13
#---#

3. workers.properties
Then you have to create a folder named "jk" in the tomcat/conf folder. 
Therein you have to place a file named "workers.properties" including 
the following lines:

# Setup for Windows system
#
workers.catalina_home="D:\Programme\Server\jakarta-tomcat-4.0.3"
workers.java_home="D:\Programme\Java\j2sdk1.4.0_01"

# Linux uses fwd slashes
#ps=/

# Windows uses back slashes
ps=\

worker.list= ajp13

# Definition for Ajp13 worker
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

That should work. It does on my system (I was forced to set that whole 
thing up on a NT4.0 box -aargh!).

Tell me if this works and good luck,

Nick

---
Gunter D'Hondt wrote:
> I've tried it all but still I'm getting this error.
> Hasn't anybody else got this message and found a solution to it? I've tried
> installed mod_webapp first but that gave me the same error so now I'm trying
> with mod_jk but also with no luck. how can I connect my apache with
> tomcat then? I'm out of possibilities...
> 
> Help me out pls!
> 
> Gunter
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jacob Kjome
> Sent: donderdag 11 juli 2002 15:05
> To: Tomcat Users List
> Subject: RE: Cannot load mod_jk.dll into server!
> 
> 
> Hi Gunter,
> 
> Try the following which I know works (change the paths to suit your
> setup)
> 
> put the following in Apache's httpd.conf:
> 
> Include "C:/Program Files/Apache
> Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf"
> 
> 
> put the following in Tomcat's mod_jk.conf:
> 
> 
>LoadModule jk_module modules/mod_jk.dll
> 
> 
> JkWorkersFile
> "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties"
> JkLogFile "c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log"
> 
> JkLogLevel info
> 
> 
>  ServerName localhost
> 
>  JkMount /webdav ajp13
>  JkMount /webdav/* ajp13
> 
>  JkMount /tomcat-docs ajp13
>  JkMount /tomcat-docs/* ajp13
> 
>  JkMount /examples ajp13
>  JkMount /examples/* ajp13
> 
>  JkMount /manager ajp13
>  JkMount /manager/* ajp13
> 
> 
> 
> Put the following in your workers.properties:
> 
> workers.tomcat_home=$(CATALINA_HOME)
> workers.java_home=$(JAVA_HOME)
> ps=\
> worker.list=ajp13, ajp14
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.ajp13.cachesize=8
> worker.ajp14.port=8011
> worker.ajp14.host=localhost
> worker.ajp14.type=ajp14
> worker.ajp14.secretkey=mysupersecretkey
> worker.ajp14.credentials=mysuperveryrandomentropy
> worker.ajp14.lbfactor=1
> worker.ajp14.cachesize=8
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> worker.inprocess.type=jni
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)ca
> talina.jar
> worker.inprocess.cmd_line=start
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
> )jvm.dll
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> 
> 
> There you go.  If that doesn't work, something else is wrong.
> 
> Jake
> 
> 
> 
> At 10:28 AM 7/11/2002 +0200, you wrote:
> 
>>I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll
> 
> but
> 
>>with no luck. But when I check the file properties of the dll then I can
> 
> see
> 
>>that "Last accessed" is always set to the datetime when I last ran "apache
>>-t" so I think this should mean that apache DOES find the dll but cannot
>>load it properly...
>>
>>Can anybody h

Re: documentation on mod_jk

2002-07-12 Thread Nikolas A. Rathert

Ukiah,
there are several places where you could find information. The most 
detailed one could be found here:

http://atlassw1.phy.bnl.gov/jakarta-tomcat/mod_jk-howto.html

If there still are questions go to

http://www.galatea.com/flashguides/index

Cheers and good luck,

Nick

Ukiah Smith wrote:
> I am looking for a how-to or other documentation on configuring
> mod_jk. I have installed it, and it serves the basic dynamic pages
> from tomcat. I want information that explains how to configure so that
> I can create my own custom configs instead of copying the examples
> without really understanding them.
> 
> thanks //Ukiah Smith
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Issue on Tomcat 4.0.4 configuration

2002-07-11 Thread Nikolas A. Rathert
at =
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
> 5)
>   at =
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
> .java:214)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
> .java:190)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
> ase.java:475)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
> )
>   at =
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
> 180)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
> ve.java:170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
> 170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=
> 
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
> ava:174)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
> va:1027)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
> 125)
>   at java.lang.Thread.run(Thread.java:484)
> 
> =20
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: AW: Problem with "Jakarta IIS Redirector"

2002-07-11 Thread Nikolas A. Rathert

Please switch of your "Lesebestätigung".

Thanks,

Nick

Sebastian Leppert wrote:
> Hi John, 
> 
> Yes the filter shows a green arrow! I need the filter only on one
> virtual host. SO I've added the filter there. The virtuel directory is
> named "jakarta" and has Execute Permissions: "Scripts and Executables".
> The local Path is fixed to the position of the filter DLL and got the
> permission Read.
> 
> Ok?
> 
> 
> Mit freundlichem Gruß
> 
> S e b a s t i a n L e p p e r t
> _
> Elements of Arts GmbH & Co. KGhttp://www.eoa.de
> An der Eickesmuehle 37
> 41238 Moenchengladbach 
> fon: +49 (2166) 91567-89
> fax: +49 (2166) 91567-99
> 
> 
> -Ursprüngliche Nachricht-
> Von: Turner, John [mailto:[EMAIL PROTECTED]] 
> Gesendet: Donnerstag, 11. Juli 2002 14:50
> An: 'Tomcat Users List'
> Betreff: RE: Problem with "Jakarta IIS Redirector"
> 
> 
> 
> If you are using virtual hosts, you need a "jakarta" virtual directory
> for each virtual host, but you can only have ONE filter...in other
> words, do not add the redirector as a filter for each virtual host.  You
> only need the filter once.  
> 
> What is the status of the filter?  Is it showing a green arrow?
> 
> John Turner
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: Sebastian Leppert [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 8:42 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with "Jakarta IIS Redirector"
> 
> 
> Hi everybody,
> 
> I've just installed a new Webserver with IIS5.0 and now would like to
> add support to Servlets and JSP on that Server (all operations should go
> through the IIS).
> 
> I've followed the HowTo at:
> http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/
> 
> Everything is fine (I can use the JSPs with :8080-extension in the URL,
> but when I try to use it with the Redirector over ajp13 there is an HTTP
> 500 error.
> 
> Then I've set the Redirect Loglevel to "debug" und the Request looks
> like this:
> 
> ---
> 
> [Thu Jul 11 14:31:36 2002]  [jk_isapi_plugin.c (657)]: HttpFilterProc
> started [Thu Jul 11 14:31:36 2002]  [jk_isapi_plugin.c (705)]: In
> HttpFilterProc Virtual Host redirection of /193.99.41.111/index.jsp [Thu
> Jul 11 14:31:36 2002]  [jk_uri_worker_map.c (447)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Thu Jul 11 14:31:36 2002]  [jk_uri_worker_map.c (464)]: Attempting to
> map URI '/193.99.41.111/index.jsp' [Thu Jul 11 14:31:36 2002]
> [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker,
> Found a context match ajp13 -> /193.99.41.111/ [Thu Jul 11 14:31:36
> 2002]  [jk_isapi_plugin.c (721)]: HttpFilterProc [/index.jsp] is a
> servlet url - should redirect to ajp13 [Thu Jul 11 14:31:36 2002]
> [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/index.jsp] is
> points to the web-inf directory
> 
> 
> 
> So, in my opinion the Redirector operates fine! The next question is
> about the worker.properties:
> 
> 
> #-- DEFAULT worket list --
> #-
> #
> #
> # The workers that your plugins should create and work with
> #
> # Add 'inprocess' if you want JNI connector 
> worker.list=ajp12, ajp13
> # , inprocess
> 
> 
> #
> #-- DEFAULT ajp12 WORKER DEFINITION --
> #-
> #
> 
> #
> # Defining a worker named ajp12 and of type ajp12
> # Note that the name and the type do not have to match.
> #
> worker.ajp12.port=8007
> worker.ajp12.host=localhost
> worker.ajp12.type=ajp12
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the worker.
> worker.ajp12.lbfactor=1
> 
> #
> #-- DEFAULT ajp13 WORKER DEFINITION --
> #-
> #
> 
> #
> # Defining a worker named ajp13 and of type ajp13
> # Note that the name and the type do not have to match.
> #
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the worker.
> worker.ajp13.lbfactor=1
> 
> #
> # Specify the size of the open connection cache. #worker.ajp13.cachesize
> -
> 
> Seems to me very well, too!
> 
> So, habe a look at the uriworkermap.properties:
> 
> --
> #
> # Default worker to be used through our mappings
> #
> default.worker=ajp13
> 
> #
> # Sites to be redirected to Tomcat
> #
> /193.99.41.1=$(default.worker)
> /193.99.41.1/*=$(default.worker)
> -
> IP is not the real one :)
> 
> My ROOT-Directory for my Testwebsite (with an index.jsp in it) is on:
> d:\webs\ingcom.de\data
> 
> So I put the following -

Re: Issue on Tomcat 4.0.4 configuration

2002-07-11 Thread Nikolas A. Rathert
nvoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
> va:1027)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
> 125)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> root cause=20
> 
> java.lang.NoSuchMethodError
>   at =
> org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCach=
> e.java:202)
>   at =
> org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)=
> 
>   at =
> org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
>   at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
>   at =
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
> :918)
>   at =
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
> 5)
>   at =
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
> .java:214)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
> .java:190)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
> ase.java:475)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
> )
>   at =
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
> 180)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
> ve.java:170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
> 170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=
> 
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
> ava:174)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
> va:1027)
>   at =
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
> 125)
>   at java.lang.Thread.run(Thread.java:484)
> 
> =20
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: Cannot load mod_jk.dll into server!

2002-07-11 Thread Nikolas A. Rathert

Hi,
I had the same problem yesterday and I couldn't fix it. So if there is a 
solution there will be two happy people.

Nick

Gunter D'Hondt wrote:
> I've copied mod_jk.dll into c:\apache\modules\ and added the include
> statement in my httpd.conf for the tomcat\conf\auto\mod_jk.conf but when
> running apache -t I get this:
> 
> C:\Apache\bin>apache -t
> Syntax error on line 4 of C:/Program Files/Apache Tomcat
> 4.0/conf/auto/mod_jk.conf:
> Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module
> could not be found.
> 
> My include statement after the loadmodule statements:
> Include c:\progra~1\apache~1.0\conf\auto\mod_jk.conf
> 
> Is apache having troubles with the "/" and "\"?
> I'm following the guide on
> http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml and adjusted
> Tomcat already which starts up fine but Apache not.
> 
> Soft: nt4, apache2.0.39, tomcat4.0.4, jdk1.22
> 
> Gunter
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: ?

2002-07-09 Thread Nikolas A. Rathert

Yes

Mike Neder wrote:
> Is this the email address I use to send mail to the list???
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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




Re: cannot run tomcat 4.0.4 jsp examples

2002-07-09 Thread Nikolas A. Rathert



Sylvain Pivette wrote:
> My JAVA_HOME is already pointing to the j2sdk (1.3), and it's still doesn't
> work.
> Thanks.


Sylvain, perhaps you try the new j2sdk version. I do not have any other 
idea right now.

Nick


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




Tutorials

2002-07-09 Thread Nikolas A. Rathert

Hi,
does anybody know where I could find an online or offline tutorial that 
tells me how to set up a server environment including apache, tomcat and 
mysql on a NT-Server? I do not know exactly how to configure those 
servers to work together. What I want to do is: a client should only 
connect to port 80 via http. Then he/ she will be lead to a 
https-connection where apache serves html- and tomcat jsp-files.
Any hints?

Thanks,

Nick


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




Re: cannot run tomcat 4.0.4 jsp examples

2002-07-09 Thread Nikolas A. Rathert

Just a minute before I had the same problem. And here is what I did:
I had a look at the JAVA_HOME and saw that it was pointing to the j2re 
instead of j2sdk. Now it works.

Cheers,
Nick

Sylvain Pivette wrote:
> I cannot run Tomcat 4.0.4 jsp examples but servlet examples work fine !
> (NT4, Apache 1.3.26, Jdk 1.3)
> 
>>...
>>root cause
>>java.lang.NoSuchMethodError
>>at
> 
> org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j
> ava:202)
> 
>>at
> 
> org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
> 
>>at
> 
> org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
> 
>>...
> 
> First I removed Tomcat 3.2.1 and install Tomcat 4.04.My problem appeared so
> I searched Google, mail archive and faqs but did not find the answer. I also
> tried to re-install from a diffrent source, still not work. I know it is a
> newbie question but I do not find the solution.
> 
> Thanks,
> 
> Sylvain (french).
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


-- 
Nikolas A. Rathert
Fraunhofer Institute for Computer Graphics
e-Learning & Knowledge Management

Fraunhoferstrasse 5
D-64283 Darmstadt
Germany
Fon +49 6151 155 552
Fax +49 6151 155 569
email: [EMAIL PROTECTED]
www: http://www.igd.fhg.de


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