SV: Tomcat can't find my own .jar files

2002-03-28 Thread Klosa Uwe

You can put at $CATALINA_HOME/common/lib or
$CATALINA_HOME/webapps/yourapplication/lib.

Uwe

-Ursprungligt meddelande-
Från: Korakaki Stella [mailto:[EMAIL PROTECTED]]
Skickat: den 28 mars 2002 11:27
Till: Tomcat Users List
Ämne: Tomcat can't find my own .jar files


Where shall I put my .jar file in order to be available to my servlet ?
My servlet is placed at $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/ and
needs a cetain jar file.

Please help me !!!


Stella Korakaki
Koutoudis Consulting


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

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




SV: AJP13

2002-03-27 Thread Klosa Uwe

Have a look at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

Uwe

-Ursprungligt meddelande-
Från: Lee Kyon [mailto:[EMAIL PROTECTED]]
Skickat: den 27 mars 2002 09:48
Till: 'Tomcat Users List'
Ämne: AJP13



Can someone point me to a site with an AJP13 or AJP12 Documentation?

Thanks

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

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




SV: mod_jk problem

2002-03-26 Thread Klosa Uwe

Hi Fabian,

have you configured the ajp13 connector in the server.xml?

Uwe

-Ursprungligt meddelande-
Fran: Fabien Nisol [mailto:[EMAIL PROTECTED]]
Skickat: den 25 mars 2002 22:29
Till: [EMAIL PROTECTED]
Amne: mod_jk problem


Hello all..

I've got some problems accessing my tomcat pages through tomcat using
mod_jk...

I'm currently trying to link apache (1.3.24) and tomcat (4.0.3) together... 
My first problem was tru64 ... I had to patch and hack mod_jk like a fool !
But it finally worked...
Both servers run fine, my tomcat jsp webapp is deployed and accessible onto 
limselsrv:8080/limselControl (it work without any problem onto tomcat)

Apache is configured to include the tomcat generated mod_jk.conf file, in 
httpd.conf:

Include /disk14/products/tomcat/appli//conf/auto/mod_jk.conf

the generated mod_jk.conf contains the following lines, after tomcat
startup:

## Auto generated on Mon Mar 25 15:27:15 GMT-05:00 2002##

IfModule !mod_jk.c
   LoadModule jk_module libexec/mod_jk.so
/IfModule

JkWorkersFile 
/disk14/products/tomcat/jakarta-tomcat-4.0.3/conf/jk/workers.properties
JkLogFile /disk14/products/tomcat/jakarta-tomcat-4.0.3/logs/mod_jk.log

JkLogLevel debug



VirtualHost localhost
 ServerName localhost

 JkMount /limselControl ajp13
 JkMount /limselControl/*.jsp ajp13
/VirtualHost

the workers.properties file contains the following:

# Setup for limselsrv
#
workers.tomcat_home=/disk14/products/tomcat/appli
workers.java_home=/usr/opt/java130
ps=/
worker.list=ajp12, ajp13

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




When it comes to test the pages through apache, going to 
http://limselsrv:9000/limselControl does not work. I've a 404 apache error, 
and the following lines into mod_jk.log file:

[Mon Mar 25 15:56:52 2002]  [jk_uri_worker_map.c (447)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Mar 25 15:56:52 2002]  [jk_uri_worker_map.c (464)]: Attempting to map 
URI '/limselControl'


Any clue for my problem ??? It seems that mod_jk does not find my tomcat 
files .. :( ...





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




SV: Please help me found Jar file needed to compile Tag Handler

2002-03-21 Thread Klosa Uwe


smime.p7m
Description: application/pkcs7-mime


SV: Tomcat x Apache

2002-02-28 Thread Klosa Uwe

Hi,

I think you have to change 

WebAppConnection Tomcat_Apache warp localhost:8008

to

WebAppConnection Tomcat_Apache warp myServer:8008

and
Engine className=org.apache.catalina.connector.warp.WarpEngine
name=localhost debug=0 appBase=webapps

to

Engine className=org.apache.catalina.connector.warp.WarpEngine
name=myServer debug=0 appBase=webapps.

I don't know if both is neccesary. But try it.

Regards

Uwe


-Ursprungligt meddelande-
Från: Ion Larrañaga [mailto:[EMAIL PROTECTED]]
Skickat: den 28 februari 2002 10:20
Till: Tomcat Users List
Ämne: RE: Tomcat x Apache


Sorry for my mistake. You are right that Apache should redirect the request
to Tomcat directly. This means I should read messages more carefully ;)

Are you able to access static pages with Apache? Do you have an index.html
in /home/myDocs to test if you can access http://your.server/index.html ?

I think that maybe Apache is denying you access before sending the request
to
mod_webapp. This may be if you have only changed your DocumentRoot directive
without granting access to it. Have you changed the Directory where it
says
This should be changed to whatever you set DocumentRoot to ?

Hope it helps,

   Ion


-Mensaje original-
De: Cleber Hostalácio de Melo [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 27 de febrero de 2002 18:28
Para: Tomcat Users List
Asunto: Re: Tomcat x Apache


My  webapps directory and all its directories are read and execute free for
all users. So I don´t think this is the problem.

Any way, I think Apache should pass all the /examples requests to
Tomcat and not trying to read the directly from the file system.

It looks more that Apache is not allowed to connect to Tomcat. I´ve
already check all the possibilities but could not find any parameter(s) in
httpd.conf or server.xml that could prevent the connection.

Any other clue?

Thank you.


Ion Larranaga wrote:

 Does your apache user (nobody by default) have access
 to the physical directory? Perhaps that directory belongs
 to the user you start Tomcat with (maybe root?) and
 nobody has no read access to it.

 Hope it helps,

   Ion

 -Mensaje original-
 De: Cleber Hostalacio de Melo [mailto:[EMAIL PROTECTED]]
 Enviado el: miercoles, 27 de febrero de 2002 17:25
 Para: [EMAIL PROTECTED]
 Asunto: Tomcat x Apache

 Hi,

 I have linux  (kernel 2.4.5), apache 1.3.19 and
 Tomacat 4.0.2

 Tomcat are working well with the url:
   http://Myserv:tomcat_port/examples/jsp/index.html

 But when I try to access this application from Apache with the
 URL:

   http://Myserv/examples/jsp/index.html

 I receive the message in my browser:

 Forbidden
 You don't have permission to access /examples/jsp/index.html on this
 server.

 The corresponding entries in the Apache logs are:

 httpd/logs/access.log:
   GET /examples/jsp/index.html HTTP/1.0 403 301

 httpd/logs/error.log:
   [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot
 read directory for multi: /examples/jsp/

 There is no entry in the Tomcat logs which looks like that Apache is not

 even trying to
 connect to Tomcat.

 My configuration files are:

 httpd.com

 .
 ServerName myServer
 ServerType standalone
 ServerRoot /etc/httpd
 ..
 LoadModule 
 LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so
 ..
 AddModule
 AddModule mod_webapp.c
 ..
 DocumentRoot /home/myDocs
 ..
 WebAppConnection Tomcat_Apache warp localhost:8008
 WebAppDeploy examples Tomcat_Apache /examples/

 server.xml

 .
 Service name=Tomcat_Apache
 Connector
   className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=true
   acceptCount=10 debug=0/

   !-- Replace localhost with what your Apache ServerName is set to
 --
   Engine className=org.apache.catalina.connector.warp.WarpEngine
name=localhost debug=0 appBase=webapps
.
/Engine
 /Service

 Anyone has any idea what could be the problem?

 Thanks.

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

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



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



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

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




SV: tomcat and iis integration!

2002-02-26 Thread Klosa Uwe

Hi Ravi,

it's better to create a context to the jsp directory. If you are using  as
name so it will be the default context.
Which connector are you using

Regards,

Uwe

-Ursprungligt meddelande-
Från: ravi [mailto:[EMAIL PROTECTED]]
Skickat: den 26 februari 2002 13:19
Till: [EMAIL PROTECTED]
Ämne: tomcat and iis integration!


Dear All,

I want to integrate IIS on win2k with tomcat 4.0.1

The redirector isapi_redirect.dll filter shows green with high priority. I
have set the docbase in the server.xml file  to the directory I have JSP
pages in. I was able to run these pages on port 8080 but are not working on
port 80.

What could be the problem?

Awaiting your replies,
With Best Regards,
Ravi Naidu


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

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




SV: BIG problem with restarting Tomcat 4

2002-02-25 Thread Klosa Uwe

Hi Thomas,

I've got the same problem. I found out that I have to wait a few seconds
after I stopped catalina. 

Uwe

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 25 februari 2002 17:02
Till: [EMAIL PROTECTED]
Ämne: BIG problem with restarting Tomcat 4


Hi,

there are already messages in this forum, but: nevertheless it doesn't work.
When starting Tomcat 4 (Linux) for the first time, everything works fine.
But when stopping Tomcat and restarting there is the following message:
Catalina.start: LifecycleException:  Error creating server socket
(java.net.BindException):  java.net.BindException: Die Adresse wird bereits
verwendet
LifecycleException:  Error creating server socket (java.net.BindException):
java.net.BindException: Die Adresse wird bereits verwendet
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.ja
va:491)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
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 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -

I don't see what application should listen to some of the used ports, too
(how to find out??). And everything worked fine with Jakarta 3.3.  I tried
the -XdoCloseWithReadPending parameter, but this does#nt work (JVM doesn't
start).
Please help me - I'm at the end of the rope...No ideas any more.

Best regards and thanks in advance

Thomas


:-) As sceptical as one can be! (-:



--
Get personalised email addresses at http://another.com

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